tx · B9UGbNEqda2Z7eWqTDfPN3iDFJhTtKKX9gy3UTQdR6oE
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.15 00:56 [495253] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "B9UGbNEqda2Z7eWqTDfPN3iDFJhTtKKX9gy3UTQdR6oE",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550181421762,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"4kFXtE8edwWZCXE7aFbQGsLQCreSQa81WFGK9a1NY77ABDWwckg9uEHwMiL7i6PSq1PhrQVvhBJrKnitMtfSUwRv"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcm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YS38An11cjLWJ7AiBkoMhBGgDv22
Next: Bc7eCESuZRRcT4oZMWr6ZBC9a8e1UDCPvACdHWEXdavU
Diff:
Old | New | | Differences |
---|
12 | 12 | | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
13 | 13 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
14 | 14 | | then throw(" Минимальная цена = 1 waves") |
---|
15 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
16 | | - | then throw(" Минимальная цена = 1 waves") |
---|
17 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | | - | then true |
---|
19 | | - | else true |
---|
| 15 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 16 | + | then true |
---|
| 17 | + | else if (buy) |
---|
| 18 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
| 19 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.buyOrder.amount)) |
---|
| 20 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 21 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
| 22 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 23 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 24 | + | then true |
---|
| 25 | + | else false |
---|
20 | 26 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
21 | 27 | | true |
---|
22 | 28 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG = 100000000 |
---|
4 | 4 | | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | 7 | | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) |
---|
8 | 8 | | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
9 | 9 | | if (sell) |
---|
10 | 10 | | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
11 | 11 | | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
12 | 12 | | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
13 | 13 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
14 | 14 | | then throw(" Минимальная цена = 1 waves") |
---|
15 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
16 | | - | then throw(" Минимальная цена = 1 waves") |
---|
17 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | | - | then true |
---|
19 | | - | else true |
---|
| 15 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 16 | + | then true |
---|
| 17 | + | else if (buy) |
---|
| 18 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
| 19 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.buyOrder.amount)) |
---|
| 20 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 21 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
| 22 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 23 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 24 | + | then true |
---|
| 25 | + | else false |
---|
20 | 26 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
21 | 27 | | true |
---|
22 | 28 | | case _ => |
---|
23 | 29 | | false |
---|
24 | 30 | | } |
---|