tx · EaGGGjLrCT3DkFNFyUuhqFRPA3gG3UTH1tESfxDz79Sj
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.24 11:00 [550157] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 ccccc
{
"type": 15,
"id": "EaGGGjLrCT3DkFNFyUuhqFRPA3gG3UTH1tESfxDz79Sj",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553414380231,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"3k97oTNFMvghHudvbcmHiPqic7VxJPMGyTEZqJEF7RhzZeaYt32yB3ueLgmAg2vQqqEJfmJDcfE1kBKwQanrNW8c"
],
"assetId": "6a8EtSnqp87GTjKdTvh4QrKUmvunv4VCtSh8Sv3vMbbS",
"script": "base64:AgQAAAAGUEFSN0lkAQAAACAV1H/l5cWNjbkUNHs7Af1VBfGHG5yTzOl2QaphBQ5sUAQAAAAFUHJpY2UAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwkAAAAAAAACCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAUAAAAGUEFSN0lkBgkAAAIAAAABAgAAAEJOb3cgeW91IGNhbiBvbmx5IGV4Y2hhbmdlIHN3YXAgUEFSNyAhIFRoYW5rIHlvdSBmb3IgeW91ciBwYXRpZW5jZS4G3TbN2A==",
"chainId": 84,
"height": 550157,
"spentComplexity": 0
}
View: original | compacted
Prev: A3Pi4XXP1PG8QLaw87pEoaCJm2TqcX8GgueVhMkNH4RV
Next: 9rkPgLQBbWzcjSmYgZdghKozkaTmSSu4V6AEZnCSvmCW
Diff:
Old | New | | Differences |
---|
4 | 4 | | let Price = 1000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if (if ((e.sellOrder.price == Price)) |
---|
8 | | - | then (e.sellOrder.assetPair.priceAsset == PAR7Id) |
---|
9 | | - | else false) |
---|
| 7 | + | if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
10 | 8 | | then true |
---|
11 | 9 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
12 | | - | case t: SetAssetScriptTransaction => |
---|
| 10 | + | case _ => |
---|
13 | 11 | | true |
---|
14 | | - | case _ => |
---|
15 | | - | if (false) |
---|
16 | | - | then true |
---|
17 | | - | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
18 | 12 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let PAR7Id = base58'2UDVrBQuBpyVayA8giH4NjPE5F31WxkD7CzMvNRzZXHh' |
---|
4 | 4 | | let Price = 1000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if (if ((e.sellOrder.price == Price)) |
---|
8 | | - | then (e.sellOrder.assetPair.priceAsset == PAR7Id) |
---|
9 | | - | else false) |
---|
| 7 | + | if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
10 | 8 | | then true |
---|
11 | 9 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
12 | | - | case t: SetAssetScriptTransaction => |
---|
| 10 | + | case _ => |
---|
13 | 11 | | true |
---|
14 | | - | case _ => |
---|
15 | | - | if (false) |
---|
16 | | - | then true |
---|
17 | | - | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
18 | 12 | | } |
---|