tx · BR6LCyqwwpeHrgtDhxiwFnRo5dq2wYNAiZFa4Z9ewiyk
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.14 17:26 [494847] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "BR6LCyqwwpeHrgtDhxiwFnRo5dq2wYNAiZFa4Z9ewiyk",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550154364993,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"2P9zVzvovc9uhJvNjViS9xymuTQatnnQCKyz4gP4LFxct4M7ErKfxqb97EW25EevnUxv5JVYxectecxNV3moCXMp"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAZgAAAAIFAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZhbW91bnQJAAACAAAAAQIAAABJINCc0LjQvdC40LzQsNC70YzQvdC+0LUg0LrQvtC70LjRh9C10YHRgtCy0L4g0L3QsCDQv9GA0L7QtNCw0LbRgyA9IDMgWU9WSQMJAABmAAAAAgUAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcIBQAAAAFlAAAABXByaWNlCQAAAgAAAAECAAAAKiDQnNC40L3QuNC80LDQu9GM0L3QsNGPINGG0LXQvdCwID0gMSB3YXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGBgMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgeXJRF1",
"chainId": 84,
"height": 494847,
"spentComplexity": 0
}
View: original | compacted
Prev: EaroBDX1rCkYrCYdpYADr3ugXzyx8imw2cEETZBz5M6U
Next: 8iG8Y1DqUm5m8trbSYKojFzEbYfBizuZojuHTBh4yBja
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let minprice = 100000000 |
---|
4 | | - | let minammount = 600000000 |
---|
| 3 | + | let IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG = 100000000 |
---|
| 4 | + | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if ((minammount > e.buyOrder.amount)) |
---|
8 | | - | then throw(" Минимальное количество на покупку/продажу = 6 YOVI") |
---|
9 | | - | else if ((minprice > e.price)) |
---|
| 7 | + | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 8 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 9 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
10 | 10 | | then throw(" Минимальная цена = 1 waves") |
---|
11 | 11 | | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
14 | 14 | | then true |
---|
15 | 15 | | else true |
---|
16 | | - | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
| 16 | + | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
17 | 17 | | true |
---|
18 | 18 | | case _ => |
---|
19 | 19 | | false |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let minprice = 100000000 |
---|
4 | | - | let minammount = 600000000 |
---|
| 3 | + | let IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG = 100000000 |
---|
| 4 | + | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if ((minammount > e.buyOrder.amount)) |
---|
8 | | - | then throw(" Минимальное количество на покупку/продажу = 6 YOVI") |
---|
9 | | - | else if ((minprice > e.price)) |
---|
| 7 | + | if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 8 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 9 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
10 | 10 | | then throw(" Минимальная цена = 1 waves") |
---|
11 | 11 | | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
14 | 14 | | then true |
---|
15 | 15 | | else true |
---|
16 | | - | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
| 16 | + | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
17 | 17 | | true |
---|
18 | 18 | | case _ => |
---|
19 | 19 | | false |
---|
20 | 20 | | } |
---|