tx · 4Z6VgyAwoC8ZRisjURsqEsxYYQzU3mCNdJ8LwXxhV3Lc
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.15 02:23 [495345] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "4Z6VgyAwoC8ZRisjURsqEsxYYQzU3mCNdJ8LwXxhV3Lc",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550186614844,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"3izj9M7DqCh2issMPAZiD1c7dn1guNd2iqwrLLHQRbzZJb5EqgsvJtymug8jt5e7EYtyVA9UQEvER6eJENsbyShH"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABaV1daUmRHUkhDQVVBQUFBQlpRQUFBQVZ3Y21salpRa0FBQUlBQUFBQkFnQUFBQ29nMEp6UXVOQzkwTGpRdk5DdzBMdlJqTkM5MExEUmp5RFJodEMxMEwzUXNDAAAAAAAR4aMABAAAAFxJWW5WNVQzSmtaWElBQUFBR1lXMXZkVzUwQ1FBQUFnQUFBQUVDQUFBQVdDRFFuTkM0MEwzUXVOQzgwTERRdTlHTTBMM1F2dEMxSU5DNjBMN1F1OUM0MFlmUXRkRwAAAAAABfXhAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAAA2J1eQkAAfQAAAADCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAhidXlPcmRl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vdW50CQAAAgAAAAECAAAASSDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdGB0YLQstC+INC90LAg0L/RgNC+0LTQsNC20YMgPSAzIFlPVkkDCQAAZgAAAAIFAAAAXElZblY1VDNKa1pYSUFBQUFHWVcxdmRXNTBDUUFBQWdBQUFBRUNBQUFBV0NEUW5OQzQwTDNRdU5DODBMRFF1OUdNMEwzUXZ0QzFJTkM2MEw3UXU5QzQwWWZRdGRHCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlCQAAAgAAAAECAAAAKiDQnNC40L3QuNC80LDQu9GM0L3QsNGPINGG0LXQvdCwID0gMSB3YXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgcHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQnVyblRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYH2BeDnA==",
"chainId": 84,
"height": 495345,
"spentComplexity": 0
}
View: original | compacted
Prev: Av8K7vkbAo6rPwQCYLDFcLYNjkGR28jkcahVepx8umMu
Next: FChqQKMcDmDrS1bEE8v1XMEnp26cVZ2iAvXNKkz5EPqZ
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
3 | 4 | | let IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG = 100000000 |
---|
4 | 5 | | match tx { |
---|
5 | 6 | | case e: ExchangeTransaction => |
---|
6 | | - | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
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 | | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
11 | | - | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 10 | + | then if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
12 | 11 | | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
13 | 12 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
14 | 13 | | then throw(" Минимальная цена = 1 waves") |
---|
15 | 14 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
16 | 15 | | then true |
---|
17 | 16 | | else false |
---|
| 17 | + | else if (buy) |
---|
| 18 | + | then if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 19 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 20 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
| 21 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 22 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 23 | + | then true |
---|
| 24 | + | else false |
---|
| 25 | + | else false |
---|
18 | 26 | | case tx: MassTransferTransaction|ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
19 | 27 | | true |
---|
20 | 28 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
3 | 4 | | let IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG = 100000000 |
---|
4 | 5 | | match tx { |
---|
5 | 6 | | case e: ExchangeTransaction => |
---|
6 | | - | let WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC = 300000000 |
---|
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 | | - | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
11 | | - | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 10 | + | then if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
12 | 11 | | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
13 | 12 | | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
14 | 13 | | then throw(" Минимальная цена = 1 waves") |
---|
15 | 14 | | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
16 | 15 | | then true |
---|
17 | 16 | | else false |
---|
| 17 | + | else if (buy) |
---|
| 18 | + | then if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 19 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 20 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.sellOrder.price)) |
---|
| 21 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 22 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 23 | + | then true |
---|
| 24 | + | else false |
---|
| 25 | + | else false |
---|
18 | 26 | | case tx: MassTransferTransaction|ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
19 | 27 | | true |
---|
20 | 28 | | case _ => |
---|
21 | 29 | | false |
---|
22 | 30 | | } |
---|