Update bsip-0040.md
This commit is contained in:
parent
6c7a90a097
commit
41a2403875
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ Stateless assert, all argument types. `Argument value` must NOT be equal to any
|
||||||
#### `lt, le, gt, ge`
|
#### `lt, le, gt, ge`
|
||||||
Stateless assert. Allows explicit type converstion:
|
Stateless assert. Allows explicit type converstion:
|
||||||
- `int` type: use as is
|
- `int` type: use as is
|
||||||
- `string` type: user `length` as `argument value`
|
- `string` type: use `length` of string as `argument value`
|
||||||
- `price` struct `{base = {amount, asset_id}, quote = {amount, asset_id}}`: convert to float price `argument value = base.amount/quote.amount`
|
|
||||||
|
|
||||||
The different asserts read as:
|
The different asserts read as:
|
||||||
- `lt`: `Argument value` must be less than `comparative`
|
- `lt`: `Argument value` must be less than `comparative`
|
||||||
|
|
Loading…
Reference in a new issue