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