tx · HxnMjbzrZ7chTWVGxj1D4iRCZrgKg3Tzbxpd4B8hMAEm
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.15 00:22 [495222] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "HxnMjbzrZ7chTWVGxj1D4iRCZrgKg3Tzbxpd4B8hMAEm",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550179452962,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"3r1z7fmoGhhf17TKd7xyDidViqmp2A2BkAaLiAU4DYWr9USMAv8cFQC44wjSiWmrw24UgoFY8xQtFFKHKcWtjBeb"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAA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rJhmoDZmSccAoDjrt46dTfk
Next: BUGYTChJH1aDrpaiLZDmQGBMcvjXNPQBvo7UsB1cE4CJ
Diff:
Old | New | | Differences |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | 7 | | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
8 | | - | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
9 | | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000000) |
---|
| 8 | + | if ((e.sellOrder.amount > WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC)) |
---|
| 9 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
10 | 10 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
11 | 11 | | then throw(" Минимальная цена = 1 waves") |
---|
12 | 12 | | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
13 | 13 | | then true |
---|
14 | 14 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
15 | 15 | | then true |
---|
16 | | - | else throw(" Минимальная цена = 100 waves") |
---|
| 16 | + | else true |
---|
17 | 17 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 18 | | true |
---|
19 | 19 | | 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 sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
8 | | - | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
9 | | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 3000000000) |
---|
| 8 | + | if ((e.sellOrder.amount > WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC)) |
---|
| 9 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
10 | 10 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
11 | 11 | | then throw(" Минимальная цена = 1 waves") |
---|
12 | 12 | | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
13 | 13 | | then true |
---|
14 | 14 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
15 | 15 | | then true |
---|
16 | | - | else throw(" Минимальная цена = 100 waves") |
---|
| 16 | + | else true |
---|
17 | 17 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 18 | | true |
---|
19 | 19 | | case _ => |
---|
20 | 20 | | false |
---|
21 | 21 | | } |
---|