From 41a2403875ec03f1254fdaac5b7b10cd27db685a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Schie=C3=9Fl?= Date: Mon, 30 Jul 2018 12:41:56 +0200 Subject: [PATCH] Update bsip-0040.md --- bsip-0040.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsip-0040.md b/bsip-0040.md index d99c14b..df77d42 100644 --- a/bsip-0040.md +++ b/bsip-0040.md @@ -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`