tx · CSXAFvpixsrG54vgKsu3qKke7tsu6znHnngp4R8hqbkx
3Ms6jp75u5qnfmAgWpxbt9xHv7znBp7RHnq: -1.00000000 Waves
2022.09.09 16:09 [2221603] smart asset 3Ms6jp75u5qnfmAgWpxbt9xHv7znBp7RHnq > SELF 0 AssetWithScript
{
"type": 15,
"id": "CSXAFvpixsrG54vgKsu3qKke7tsu6znHnngp4R8hqbkx",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1662728962675,
"version": 3,
"chainId": 84,
"sender": "3Ms6jp75u5qnfmAgWpxbt9xHv7znBp7RHnq",
"senderPublicKey": "ASA4fMdz5FirDREfB34PPi67QxLHMt8tvzRQDT64juiM",
"proofs": [
"54VHCk5tAR6trUB9yuzmo7s71mvTQe5443XU3hDk2QGKPjUdAShZqVwAYguYoLQJT3z9NfiChRAakFKn44xHyvfX"
],
"assetId": "CVwsbXjXmdYF2q4RCPuQKf7sLGpzhk7BNnYsxGZZJMym",
"script": "base64:AgQAAAAHbWFzdGVyMQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAQMzMzbWFzdGVyQWRkcmVzcwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAAF0AAAABnNlbmRlcgUAAAAHbWFzdGVyMQYJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAAdtYXN0ZXIxAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACbXQFAAAAByRtYXRjaDAJAAAAAAAAAggFAAAAAm10AAAABnNlbmRlcgUAAAAHbWFzdGVyMQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgcGFLbwIw==",
"height": 2221603,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 4dVuf9WEouDAk8wsVGdBnACbMZ5RkBhqDy9fRRaVtzau
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let master1 = addressFromString("333masterAddress") |
---|
| 4 | + | match tx { |
---|
| 5 | + | case t: TransferTransaction => |
---|
| 6 | + | if ((t.sender == master1)) |
---|
| 7 | + | then true |
---|
| 8 | + | else (t.recipient == master1) |
---|
| 9 | + | case mt: MassTransferTransaction => |
---|
| 10 | + | (mt.sender == master1) |
---|
| 11 | + | case _: ExchangeTransaction => |
---|
| 12 | + | false |
---|
| 13 | + | case _ => |
---|
| 14 | + | true |
---|
| 15 | + | } |
---|