tx · DaFefJWZW4EJ6L5cs2qEdsMpYZ4eXCiiWCEpHSsi9s24 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves 2019.02.15 01:58 [495316] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{ "type": 15, "id": "DaFefJWZW4EJ6L5cs2qEdsMpYZ4eXCiiWCEpHSsi9s24", "fee": 100000000, "feeAssetId": null, "timestamp": 1550185125200, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "3nqVnDAmr26DXDZFdmsEeyLbhNiPWPXjEfjLeWSZgrUAyMZE3uZnQJ519P1XEJmcHgMHZ8gwsoeDDufQ1BWMAZ8f" ], "assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx", "script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRlcg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plexity": 0 } View: original | compacted Prev: 56seVtm2DqzoSAP4gDwJem8CKd1QUkNfjfz3KswZi86j Next: G9vb4wXbbMojX184vockWGi9KLqY86gorF8MzhqW5dEW Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 | |
5 | 5 | match tx { | |
6 | 6 | case e: ExchangeTransaction => | |
7 | + | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) | |
7 | 8 | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) | |
8 | - | if (sell) | |
9 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) | |
10 | - | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) | |
11 | - | then throw(" Минимальное количество на продажу = 3 YOVI") | |
12 | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) | |
13 | - | then throw(" Минимальная цена = 1 waves") | |
14 | - | else true | |
15 | - | case e: ExchangeTransaction => | |
16 | - | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) | |
17 | - | if (buy) | |
18 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000000) | |
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 true | |
9 | + | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) | |
10 | + | then throw(" Минимальное количество на продажу = 3 YOVI") | |
11 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) | |
12 | + | then throw(" Минимальная цена = 1 waves") | |
13 | + | else true | |
24 | 14 | case tx: MassTransferTransaction|ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => | |
25 | 15 | true | |
26 | 16 | 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 | + | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) | |
7 | 8 | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) | |
8 | - | if (sell) | |
9 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) | |
10 | - | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) | |
11 | - | then throw(" Минимальное количество на продажу = 3 YOVI") | |
12 | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) | |
13 | - | then throw(" Минимальная цена = 1 waves") | |
14 | - | else true | |
15 | - | case e: ExchangeTransaction => | |
16 | - | let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey) | |
17 | - | if (buy) | |
18 | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000000) | |
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 true | |
9 | + | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) | |
10 | + | then throw(" Минимальное количество на продажу = 3 YOVI") | |
11 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) | |
12 | + | then throw(" Минимальная цена = 1 waves") | |
13 | + | else true | |
24 | 14 | case tx: MassTransferTransaction|ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => | |
25 | 15 | true | |
26 | 16 | case _ => | |
27 | 17 | false | |
28 | 18 | } |
github/deemru/w8io/026f985 32.16 ms ◑