tx · 2G3Ah5J1sAnN5YqyRjrRM3vkHAs6XEE81uiWGRrUMu6k 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves 2019.02.15 01:26 [495285] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{ "type": 15, "id": "2G3Ah5J1sAnN5YqyRjrRM3vkHAs6XEE81uiWGRrUMu6k", "fee": 100000000, "feeAssetId": null, "timestamp": 1550183245382, "version": 1, "sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb", "senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf", "proofs": [ "NuPhYPYpYNBa1g4zPHJdDtMriShJ97MLrBmvjmpAd9faRh2sY54sqvP6Y6GYe9Vom1XVSjY15JiQSa3jdXfUf4q" ], "assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx", "script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRlcgAAAA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1YwpRJRXjQe Next: GG5DfcX8A7bzVFqWtuVSsSYYwQBTLvDk3HcBm4wNXAdF 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 | 15 | else if (buy) | |
16 | 16 | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000000) | |
17 | 17 | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.buyOrder.amount)) | |
18 | 18 | then throw(" Минимальное количество на продажу = 3 YOVI") | |
19 | 19 | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) | |
20 | 20 | then throw(" Минимальная цена = 1 waves") | |
21 | 21 | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) | |
22 | 22 | then true | |
23 | 23 | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) | |
24 | 24 | then true | |
25 | 25 | else false | |
26 | 26 | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => | |
27 | 27 | true | |
28 | 28 | case _ => | |
29 | 29 | false | |
30 | 30 | } |
github/deemru/w8io/169f3d6 69.82 ms ◑