Update bsip-0040.md

bsip53
Stefan Schießl 2018-07-30 12:41:56 +02:00 committed by GitHub
parent 6c7a90a097
commit 41a2403875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -115,8 +115,7 @@ Stateless assert, all argument types. `Argument value` must NOT be equal to any
#### `lt, le, gt, ge`
Stateless assert. Allows explicit type converstion:
- `int` type: use as is
- `string` type: user `length` as `argument value`
- `price` struct `{base = {amount, asset_id}, quote = {amount, asset_id}}`: convert to float price `argument value = base.amount/quote.amount`
- `string` type: use `length` of string as `argument value`
The different asserts read as:
- `lt`: `Argument value` must be less than `comparative`