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 =
|
||||
[
|
||||
[
|
||||
{
|
||||
function: attribute_assert,
|
||||
argument: amount,
|
||||
data: [
|
||||
{
|
||||
function: attribute_assert,
|
||||
argument: amount,
|
||||
data: [
|
||||
{
|
||||
function: lt,
|
||||
argument: amount,
|
||||
data: 10000
|
||||
},
|
||||
{
|
||||
function: any,
|
||||
argument: asset_id,
|
||||
data: [ asset X ]
|
||||
}
|
||||
]
|
||||
function: lt,
|
||||
argument: amount,
|
||||
data: 10000
|
||||
},
|
||||
{
|
||||
function: any,
|
||||
argument: to,
|
||||
data: [ account C ]
|
||||
function: any,
|
||||
argument: asset_id,
|
||||
data: [ asset X ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
function: any,
|
||||
argument: to,
|
||||
data: [ account C ]
|
||||
}
|
||||
]
|
||||
|
||||
or_list =
|
||||
[
|
||||
[
|
||||
{
|
||||
function: attribute_assert,
|
||||
argument: amount,
|
||||
data: [
|
||||
{
|
||||
function: attribute_assert,
|
||||
argument: amount,
|
||||
data: [
|
||||
{
|
||||
function: le,
|
||||
argument: amount,
|
||||
data: 20000
|
||||
},
|
||||
{
|
||||
function: any,
|
||||
argument: asset_id,
|
||||
data: [ asset Y ]
|
||||
}
|
||||
]
|
||||
function: le,
|
||||
argument: amount,
|
||||
data: 20000
|
||||
},
|
||||
{
|
||||
function: any,
|
||||
argument: to,
|
||||
data: [ account C ]
|
||||
function: any,
|
||||
argument: asset_id,
|
||||
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
|
||||
- it sends less than 10000 of asset X to account C
|
||||
|
|
Loading…
Reference in a new issue