fix formatting of new example
This commit is contained in:
parent
63f6ddc6e3
commit
b7282a531f
1 changed files with 36 additions and 36 deletions
72
bsip-0040.md
72
bsip-0040.md
|
@ -191,54 +191,54 @@ cut_out =[
|
||||||
]
|
]
|
||||||
|
|
||||||
either_list =
|
either_list =
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
function: attribute_assert,
|
||||||
|
argument: amount,
|
||||||
|
data: [
|
||||||
{
|
{
|
||||||
function: attribute_assert,
|
function: lt,
|
||||||
argument: amount,
|
argument: amount,
|
||||||
data: [
|
data: 10000
|
||||||
{
|
|
||||||
function: lt,
|
|
||||||
argument: amount,
|
|
||||||
data: 10000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
function: any,
|
|
||||||
argument: asset_id,
|
|
||||||
data: [ asset X ]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
function: any,
|
function: any,
|
||||||
argument: to,
|
argument: asset_id,
|
||||||
data: [ account C ]
|
data: [ asset X ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
function: any,
|
||||||
|
argument: to,
|
||||||
|
data: [ account C ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
or_list =
|
or_list =
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
function: attribute_assert,
|
||||||
|
argument: amount,
|
||||||
|
data: [
|
||||||
{
|
{
|
||||||
function: attribute_assert,
|
function: le,
|
||||||
argument: amount,
|
argument: amount,
|
||||||
data: [
|
data: 20000
|
||||||
{
|
|
||||||
function: le,
|
|
||||||
argument: amount,
|
|
||||||
data: 20000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
function: any,
|
|
||||||
argument: asset_id,
|
|
||||||
data: [ asset Y ]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
function: any,
|
function: any,
|
||||||
argument: to,
|
argument: asset_id,
|
||||||
data: [ account C ]
|
data: [ asset Y ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
function: any,
|
||||||
|
argument: to,
|
||||||
|
data: [ account C ]
|
||||||
|
}
|
||||||
|
]
|
||||||
```
|
```
|
||||||
That has the consquence now that a transfer transaction sending funds away from A can be signed with with active authority of account B if
|
That has the consquence now that a transfer transaction sending funds away from A can be signed with with active authority of account B if
|
||||||
- it sends less than 10000 of asset X to account C
|
- it sends less than 10000 of asset X to account C
|
||||||
|
|
Loading…
Reference in a new issue