tx · G3N9A1GEkBQbxjasRNdCi8NDvUyLa1RsQM4P4BHkveww
3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb: -1.00000000 Waves
2019.02.13 20:26 [493631] smart asset 3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb > SELF 0.00000000 zoolla
{
"type": 15,
"id": "G3N9A1GEkBQbxjasRNdCi8NDvUyLa1RsQM4P4BHkveww",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1550078802716,
"version": 1,
"sender": "3N4T8eVemVK3f4E8KZgbwvBpk8csem2bFyb",
"senderPublicKey": "6XtTAMMi9snEs1mN1TBpR3npxA2R16FMxneyWXMZdMdf",
"proofs": [
"5EP6bkTgtTs5ko5PFWYwMa9Ey38QW5uhyo3LrUGS5uLEn6qSd9SXuDxhrd6TaoVyzwoDeGAqC66jHNDGSUwQ2HWa"
],
"assetId": "7QnSodML1AAEFywANeQQkKrrjxK3voymkitfhZauWLqx",
"script": "base64:AQQAAAAIbWlucHJpY2UAAAAAAAX14QAEAAAACG1heHByaWNlAAAAAAAANu6ABAAAAAdtaW5zZWxsAAAAAABZaC8ABAAAAAptaW5hbW1vdW50AAAAAAA7msoABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAABmAAAAAgUAAAAKbWluYW1tb3VudAgIBQAAAAFlAAAACGJ1eU9yZGVyAAAABmFtb3VudAkAAAIAAAABAgAAADEg0JzQuNC90LjQvNCw0LvRjNC90L7QtSDQutC+0LvQuNGH0LXRgdGC0LLQviA9IDEwAwkAAGYAAAACBQAAAAhtaW5wcmljZQgFAAAAAWUAAAAFcHJpY2UJAAACAAAAAQIAAAAqINCc0LjQvdC40LzQsNC70YzQvdCw0Y8g0YbQtdC90LAgPSAxIHdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB9K6Kvc=",
"chainId": 84,
"height": 493631,
"spentComplexity": 0
}
View: original | compacted
Prev: EkPjBWCsYuA8CtJitWN31tUyfKsjGY4zHujCxqRPpZWs
Next: 9TC19PYYYN7sw9M3V8Vv47yUijWzRVFBGowh6zXzhyKv
Diff:
Old | New | | Differences |
---|
8 | 8 | | case e: ExchangeTransaction => |
---|
9 | 9 | | if ((minammount > e.buyOrder.amount)) |
---|
10 | 10 | | then throw(" Минимальное количество = 10") |
---|
11 | | - | else if ((e.sellOrder.amount > minsell)) |
---|
12 | | - | then throw(" Минимальное колисество продажи = 15") |
---|
13 | | - | else if ((minprice > e.price)) |
---|
14 | | - | then throw(" Минимальная цена = 1 waves") |
---|
15 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 11 | + | else if ((minprice > e.price)) |
---|
| 12 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 13 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 14 | + | then true |
---|
| 15 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
16 | 16 | | then true |
---|
17 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | | - | then true |
---|
19 | | - | else false |
---|
| 17 | + | else false |
---|
20 | 18 | | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
21 | 19 | | true |
---|
22 | 20 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let minprice = 100000000 |
---|
4 | 4 | | let maxprice = 3600000 |
---|
5 | 5 | | let minsell = 1500000000 |
---|
6 | 6 | | let minammount = 1000000000 |
---|
7 | 7 | | match tx { |
---|
8 | 8 | | case e: ExchangeTransaction => |
---|
9 | 9 | | if ((minammount > e.buyOrder.amount)) |
---|
10 | 10 | | then throw(" Минимальное количество = 10") |
---|
11 | | - | else if ((e.sellOrder.amount > minsell)) |
---|
12 | | - | then throw(" Минимальное колисество продажи = 15") |
---|
13 | | - | else if ((minprice > e.price)) |
---|
14 | | - | then throw(" Минимальная цена = 1 waves") |
---|
15 | | - | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 11 | + | else if ((minprice > e.price)) |
---|
| 12 | + | then throw(" Минимальная цена = 1 waves") |
---|
| 13 | + | else if (!(isDefined(e.buyOrder.assetPair.priceAsset))) |
---|
| 14 | + | then true |
---|
| 15 | + | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
16 | 16 | | then true |
---|
17 | | - | else if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
18 | | - | then true |
---|
19 | | - | else false |
---|
| 17 | + | else false |
---|
20 | 18 | | case tx: ExchangeTransaction|MassTransferTransaction|TransferTransaction|SetAssetScriptTransaction|BurnTransaction => |
---|
21 | 19 | | true |
---|
22 | 20 | | case _ => |
---|
23 | 21 | | false |
---|
24 | 22 | | } |
---|