tx · Bc7eCESuZRRcT4oZMWr6ZBC9a8e1UDCPvACdHWEXdavU 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves 2019.02.15 01:10 [495267] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{ "type": 15, "id": "Bc7eCESuZRRcT4oZMWr6ZBC9a8e1UDCPvACdHWEXdavU", "fee": 100000000, "feeAssetId": null, "timestamp": 1550182278812, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "gUfNgfAMdoZWqCdg3h1d4iLUsHMXSieviS6aipW5HxHkGsj9PGGLbDGEzQVHsPkSaS5AzaeHLtmMYFRBFxkJJDw" ], "assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx", "script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRlcgAAAA9z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M1FzQwAAAAAAEeGjAAMJAABmAAAAAgUAAABaV1daUmRHUkhDQVVBQUFBQlpRQUFBQVZ3Y21salpRa0FBQUlBQUFBQkFnQUFBQ29nMEp6UXVOQzkwTGpRdk5DdzBMdlJqTkM5MExEUmp5RFJodEMxMEwzUXNDCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAASSDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdGB0YLQstC+INC90LAg0L/RgNC+0LTQsNC20YMgPSAzIFlPVkkDCQAAZgAAAAIFAAAAXElZblY1VDNKa1pYSUFBQUFHWVcxdmRXNTBDUUFBQWdBQUFBRUNBQUFBV0NEUW5OQzQwTDNRdU5DODBMRFF1OUdNMEwzUXZ0QzFJTkM2MEw3UXU5QzQwWWZRdGRHCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAFcHJpY2UJAAACAAAAAQIAAAAqINCc0LjQvdC40LzQsNC70YzQvdCw0Y8g0YbQtdC90LAgPSAxIHdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBw83jpY=", "chainId": 84, "height": 495267, "spentComplexity": 0 } View: original | compacted Prev: B9UGbNEqda2Z7eWqTDfPN3iDFJhTtKKX9gy3UTQdR6oE Next: 8HoEW16MvTb5YVxQdnezo3TSr9x6THFfDSnRrJWik4JL Diff:
Old | New | Differences | |
---|---|---|---|
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 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == | |
10 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000) | |
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 (!(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 | |
15 | + | else if (buy) | |
16 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) | |
17 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.buyOrder.amount)) | |
18 | + | then throw(" Минимальное количество на продажу = 3 YOVI") | |
19 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) | |
20 | + | then throw(" Минимальная цена = 1 waves") | |
21 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) | |
22 | + | then true | |
23 | + | else false | |
26 | 24 | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => | |
27 | 25 | true | |
28 | 26 | case _ => |
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 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == | |
10 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000) | |
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 (!(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 | |
15 | + | else if (buy) | |
16 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) | |
17 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.buyOrder.amount)) | |
18 | + | then throw(" Минимальное количество на продажу = 3 YOVI") | |
19 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) | |
20 | + | then throw(" Минимальная цена = 1 waves") | |
21 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) | |
22 | + | then true | |
23 | + | else false | |
26 | 24 | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => | |
27 | 25 | true | |
28 | 26 | case _ => | |
29 | 27 | false | |
30 | 28 | } |
github/deemru/w8io/169f3d6 64.79 ms ◑