tx · 4GnBQWYX3wGtHTH2TgQ3jVHXTSPioEnhfFrB1deGpuMa
3Mzr8aQNRAGmSaY1eYwaaWCU1WdMjWD7X61: -0.01000000 Waves
2020.08.10 12:45 [1126233] smart account 3Mzr8aQNRAGmSaY1eYwaaWCU1WdMjWD7X61 > SELF 0.00000000 Waves
{
"type": 13,
"id": "4GnBQWYX3wGtHTH2TgQ3jVHXTSPioEnhfFrB1deGpuMa",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1597052716697,
"version": 1,
"sender": "3Mzr8aQNRAGmSaY1eYwaaWCU1WdMjWD7X61",
"senderPublicKey": "GbwQ943D5QCvVzUCDHiWmkZaQNH4m4M2gcM3Djn4ac1k",
"proofs": [
"2oj7GJ33uA7TEDuJEwmEKBHA7wkSn3NUdXDZZzEUj23zYwx5QExzVKZDyCWxq6CGx7Wbhi4KiTsT1XZ7RPNXNvya"
],
"script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAADnRydXN0ZWRBZGRyZXNzCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTXpyOGFRTlJBR21TYVkxZVl3YWFXQ1UxV2RNaldEN1g2MQMJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAA50cnVzdGVkQWRkcmVzcwYJAAAAAAAAAggFAAAAAXQAAAAGc2VuZGVyBQAAAA50cnVzdGVkQWRkcmVzcwfSBkYx",
"chainId": 84,
"height": 1126233,
"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 | + | match tx { |
---|
| 4 | + | case t: TransferTransaction => |
---|
| 5 | + | let trustedAddress = addressFromString("3Mzr8aQNRAGmSaY1eYwaaWCU1WdMjWD7X61") |
---|
| 6 | + | if ((t.recipient == trustedAddress)) |
---|
| 7 | + | then true |
---|
| 8 | + | else (t.sender == trustedAddress) |
---|
| 9 | + | case _ => |
---|
| 10 | + | false |
---|
| 11 | + | } |
---|