tx · 6vG3fd2SVnVqisKBrjJkDdvEc6k5byYzmDaKL746ZU8t
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.15 00:30 [495228] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "6vG3fd2SVnVqisKBrjJkDdvEc6k5byYzmDaKL746ZU8t",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550179842964,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"5xH8JUVcAPvHADrmNjJLifDSDHqHGqEL98xB8kmB4pqmDyYUtLahg5g3ARQWSS1Bj6NaxhovEDpc52LUaUxT5PVv"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAABcSVluVjVUM0prWlhJQUFBQUdZVzF2ZFc1MENRQUFBZ0FBQUFFQ0FBQUFXQ0RRbk5DNDBMM1F1TkM4MExEUXU5R00wTDNRdnRDMUlOQzYwTDdRdTlDNDBZZlF0ZEcAAAAAAAX14QAEAAAAWldXWlJkR1JIQ0FVQUFBQUJaUUFBQUFWd2NtbGpaUWtBQUFJQUFBQUJBZ0FBQUNvZzBKelF1TkM5MExqUXZOQ3cwTHZSak5DOTBMRFJqeURSaHRDMTBMM1FzQwAAAAAAEeGjAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABHNlbGwJAAH0AAAAAwgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAICAUAAAABZQAAAAlzZWx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aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgcQh+nb",
"chainId": 84,
"height": 495228,
"spentComplexity": 0
}
View: original | compacted
Prev: BUGYTChJH1aDrpaiLZDmQGBMcvjXNPQBvo7UsB1cE4CJ
Next: G4enqSnJFRUFkBkaVvugWscNSXZUsj4yTzWMxkkJP1bx
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 throw(" Минимальное количество на продажу = 3 YOVI") |
---|
10 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
11 | | - | then throw(" Минимальная цена = 1 waves") |
---|
12 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
13 | | - | then true |
---|
14 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 8 | + | if (sell) |
---|
| 9 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
| 10 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 11 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 12 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
| 13 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 14 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
15 | 15 | | then true |
---|
16 | | - | else true |
---|
| 16 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 17 | + | then true |
---|
| 18 | + | else true |
---|
17 | 19 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 20 | | true |
---|
19 | 21 | | 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 throw(" Минимальное количество на продажу = 3 YOVI") |
---|
10 | | - | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
11 | | - | then throw(" Минимальная цена = 1 waves") |
---|
12 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
13 | | - | then true |
---|
14 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 8 | + | if (sell) |
---|
| 9 | + | then (WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC == 300000000) |
---|
| 10 | + | else if ((WWZRdGRHCAUAAAABZQAAAAVwcmljZQkAAAIAAAABAgAAACog0JzQuNC90LjQvNCw0LvRjNC90LDRjyDRhtC10L3QsC > e.sellOrder.amount)) |
---|
| 11 | + | then throw(" Минимальное количество на продажу = 3 YOVI") |
---|
| 12 | + | else if ((IYnV5T3JkZXIAAAAGYW1vdW50CQAAAgAAAAECAAAAWCDQnNC40L3QuNC80LDQu9GM0L3QvtC1INC60L7Qu9C40YfQtdG > e.price)) |
---|
| 13 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 14 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
15 | 15 | | then true |
---|
16 | | - | else true |
---|
| 16 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 17 | + | then true |
---|
| 18 | + | else true |
---|
17 | 19 | | case tx: ExchangeTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
18 | 20 | | true |
---|
19 | 21 | | case _ => |
---|
20 | 22 | | false |
---|
21 | 23 | | } |
---|