tx · 7d4zWJNfnY7363YHbzTqA7WRKSPos6P5Ts12kAuAZZFN
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.21 03:56 [545345] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 PAR106
{
"type": 15,
"id": "7d4zWJNfnY7363YHbzTqA7WRKSPos6P5Ts12kAuAZZFN",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553129731363,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"2pmSNm191uhBZuj5rHRDSCoTBTfdUBFPkkU7yvJk6bQEDDt4YYvinm8pBgKwMauvpWcwWNLmhNcEKfcxt9gPmy5d"
],
"assetId": "3YkZtFAzGeP5hct6aUBcpyG71QJpTKosZZPGczfbHx7o",
"script": "base64:AgQAAAAFcHJpY2UAAAAAADuaygAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBAAAAA50cmFkZWRGb3JXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAAKcHJpY2VBc3NldAMFAAAADnRyYWRlZEZvcldhdmVzCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlBQAAAAVwcmljZQcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYGxTS9JQ==",
"chainId": 84,
"height": 545345,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 7j3WBS5R6FJ9aTVeN5QrS4C13y1NztoX8PB63DwtHHuH
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let price = 1000000000 |
---|
| 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|TransferTransaction => |
---|
| 14 | + | true |
---|
| 15 | + | case _ => |
---|
| 16 | + | true |
---|
| 17 | + | } |
---|