tx · 3phkkfXfjqtua1pxYrG2qtNA8hUQBnz8sSS7FMSD27Ew
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 10:08 [545724] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR7777
{
"type": 15,
"id": "3phkkfXfjqtua1pxYrG2qtNA8hUQBnz8sSS7FMSD27Ew",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553152118120,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"UJNvzTMH98tx4mKMQX7ZHtZpH5c2gG9t8Qas32pEcF8t2V8MgZaakzNGxAw5JJKQ347uZ5VzbgEL7BTAz4ZR2C1"
],
"assetId": "2M1AS3FfpEpUXoHMBGoBH7MxVTMNVt4GcSvFQtcjxaGY",
"script": "base64:AgQAAAAFcHJpY2UAAAAAADuaygAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAMFAAAADnRyYWRlZEZvcldhdmVzCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlBQAAAAVwcmljZQcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24GB21EJjw=",
"chainId": 84,
"height": 545724,
"spentComplexity": 0
}
View: original | compacted
Prev: 3AM81A1eCL2mx7rxLU1FELDn6yeYybzsSgeDfcgxDhgt
Next: A9De8wEAr3avG27aecpYcJZzTp2Au5tW1DZcgYiZAttj
Diff:
Old | New | | Differences |
---|
8 | 8 | | then true |
---|
9 | 9 | | else !(isDefined(pair.priceAsset)) |
---|
10 | 10 | | if (tradedForWaves) |
---|
11 | | - | then (e.buyOrder.price >= price) |
---|
| 11 | + | then (e.price == price) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _: SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
14 | 14 | | true |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let price = 1000000000 |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case e: ExchangeTransaction => |
---|
6 | 6 | | let pair = e.buyOrder.assetPair |
---|
7 | 7 | | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
8 | 8 | | then true |
---|
9 | 9 | | else !(isDefined(pair.priceAsset)) |
---|
10 | 10 | | if (tradedForWaves) |
---|
11 | | - | then (e.buyOrder.price >= price) |
---|
| 11 | + | then (e.price == price) |
---|
12 | 12 | | else false |
---|
13 | 13 | | case _: SetAssetScriptTransaction|MassTransferTransaction|TransferTransaction => |
---|
14 | 14 | | true |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | false |
---|
17 | 17 | | } |
---|