tx · 3q7xnhswPATX5w8FWga5wgHhTvJVorEVuH8w6oaFyp1d
3MvHg9Vrq47YeAYYDPtA2auzDzfwkSobjk3: -0.01000000 Waves
2023.02.05 23:47 [2436827] smart account 3MvHg9Vrq47YeAYYDPtA2auzDzfwkSobjk3 > SELF 0.00000000 Waves
{
"type": 13,
"id": "3q7xnhswPATX5w8FWga5wgHhTvJVorEVuH8w6oaFyp1d",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1675630086487,
"version": 2,
"chainId": 84,
"sender": "3MvHg9Vrq47YeAYYDPtA2auzDzfwkSobjk3",
"senderPublicKey": "2tCvSZny2ERPGwzbHPFPtC9Gr8hdRuiWHat5vd9fLqVZ",
"proofs": [
"2HsdRVLvsaAYFAf7ZWDUYkLUm2hhWQ4ddeQcM9udsuWUJNq92mVvdoejJSB4iKeEbnHAE3ZnbQxvdsRxkqiEAdRh"
],
"script": "base64:AwQAAAAHd2FsbGV0MQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVAPyxSX1d+qbJzfjViVLGcA2W0oOrP8WewQAAAAHd2FsbGV0MgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVAPyxSX1d+qbJzfjViVLGcA2W0oOrP8WewQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADAwMJAAAAAAAAAggFAAAAAXQAAAAGYW1vdW50AAAAAAAAAAAKCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAAHd2FsbGV0MQcGAwkAAAAAAAACCAUAAAABdAAAAAZhbW91bnQAAAAAAAAAABQJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAAd3YWxsZXQyBwYHB+9A7lg=",
"height": 2436827,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let wallet1 = Address(base58'3MpGxdTaQWb9VwWcZtVhxAsqdGpW4kBpdFg') |
---|
| 4 | + | let wallet2 = Address(base58'3MpGxdTaQWb9VwWcZtVhxAsqdGpW4kBpdFg') |
---|
| 5 | + | match tx { |
---|
| 6 | + | case t: TransferTransaction => |
---|
| 7 | + | if (if (if ((t.amount == 10)) |
---|
| 8 | + | then (t.recipient == wallet1) |
---|
| 9 | + | else false) |
---|
| 10 | + | then true |
---|
| 11 | + | else if ((t.amount == 20)) |
---|
| 12 | + | then (t.recipient == wallet2) |
---|
| 13 | + | else false) |
---|
| 14 | + | then true |
---|
| 15 | + | else false |
---|
| 16 | + | case _ => |
---|
| 17 | + | false |
---|
| 18 | + | } |
---|