tx · GvSAtjFoKiz1KMqKYS38An11cjLWJ7AiBkoMhBGgDv22
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.15 00:40 [495238] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "GvSAtjFoKiz1KMqKYS38An11cjLWJ7AiBkoMhBGgDv22",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550180431972,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"3hWrLy7CvA9dKVt6Lk5o2knH9pQpU74HwrTRQPAodbQUaJkX8odjPZKAjm15u3vRiCPqJVmeGtFtXiZHPTgxkGLF"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRlcg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kRwgIBQAAAAFlAAAACGJ1eU9yZGVyAAAABXByaWNlCQAAAgAAAAECAAAAKiDQnNC40L3QuNC80LDQu9GM0L3QsNGPINGG0LXQvdCwID0gMSB3YXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYH3lFqww==",
"chainId": 84,
"height": 495238,
"spentComplexity": 0
}
View: original | compacted
Prev: FmGYfz8x6Uhsnu7PJ1XtrYYxxpqGgpjJNDesP5Zx5v4G
Next: B9UGbNEqda2Z7eWqTDfPN3iDFJhTtKKX9gy3UTQdR6oE
Diff:
Old | New | | Differences |
---|
12 | 12 | | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
13 | 13 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
14 | 14 | | then throw(" Минимальная цена = 1 waves") |
---|
15 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
| 15 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
16 | 16 | | then throw(" Минимальная цена = 1 waves") |
---|
17 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 17 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | 18 | | then true |
---|
19 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
20 | | - | then true |
---|
21 | | - | else true |
---|
| 19 | + | else true |
---|
22 | 20 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
23 | 21 | | true |
---|
24 | 22 | | 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 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 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
| 15 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.buyOrder.price)) |
---|
16 | 16 | | then throw(" Минимальная цена = 1 waves") |
---|
17 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 17 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | 18 | | then true |
---|
19 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
20 | | - | then true |
---|
21 | | - | else true |
---|
| 19 | + | else true |
---|
22 | 20 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
23 | 21 | | true |
---|
24 | 22 | | case _ => |
---|
25 | 23 | | false |
---|
26 | 24 | | } |
---|