tx · 3RdmLavYzrSLH9Q1236PXqtuf94fcD1ub876xxcQUaER
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 03:44 [545333] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR103
{
"type": 15,
"id": "3RdmLavYzrSLH9Q1236PXqtuf94fcD1ub876xxcQUaER",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553129006968,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"48vzxvjpaecXdJe8w38x8HShmFGAubFwhTrPErcfKif8AzSKy6PZQHtauBaLkXZX8T7UmJeHitGXNwB3DPDsGWsp"
],
"assetId": "AjMsB32YZ3vpT51LgW6EUqvLGJGcqXQbq6qbwe9GpQeZ",
"script": "base64:AgQAAAAFcHJpY2UAAAAAAAX14QAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAMFAAAADnRyYWRlZEZvcldhdmVzCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlBQAAAAVwcmljZQcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBwZpX3bG",
"chainId": 84,
"height": 545333,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let price = 100000000 |
---|
| 4 | + | match tx { |
---|
| 5 | + | case e: ExchangeTransaction => |
---|
| 6 | + | let pair = e.buyOrder.assetPair |
---|
| 7 | + | let tradedForWaves = if (!(isDefined(pair.amountAsset))) |
---|
| 8 | + | then true |
---|
| 9 | + | else !(isDefined(pair.priceAsset)) |
---|
| 10 | + | if (tradedForWaves) |
---|
| 11 | + | then (e.price == price) |
---|
| 12 | + | else false |
---|
| 13 | + | case _: MassTransferTransaction => |
---|
| 14 | + | false |
---|
| 15 | + | case _ => |
---|
| 16 | + | true |
---|
| 17 | + | } |
---|