tx · 2BnbJsVSqKn6toyunoqagUYWKHrEnBa4oAKTCfNYaTwS
3MzUsvrJjHVxk8yv73YZ7FoztA9T5poYmSZ: -0.01000000 Waves
2022.12.18 23:54 [2366242] smart account 3MzUsvrJjHVxk8yv73YZ7FoztA9T5poYmSZ > SELF 0.00000000 Waves
{
"type": 13,
"id": "2BnbJsVSqKn6toyunoqagUYWKHrEnBa4oAKTCfNYaTwS",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671396876690,
"version": 2,
"chainId": 84,
"sender": "3MzUsvrJjHVxk8yv73YZ7FoztA9T5poYmSZ",
"senderPublicKey": "45xmj1sBVfB5PcktVWPnfCNKcFk2vdLJQkT4DRJrtPLT",
"proofs": [
"3Vrfsnrox1Sts7sBi3MBFYypSR2eQDVVgs4FAP87qAUBWvmrEASTdbtRBfkBVcSTu6B1sWbeEgpoafBkzAHW9KWa"
],
"script": "base64:BQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAACWFsbG93bGlzdAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVG83dsDSb6NPfS72/eF8+YXZ8uIhtbUP2AkBAAAAEUBleHRyTmF0aXZlKDEwNTEpAAAAAgUAAAAJYWxsb3dsaXN0CQACWAAAAAEICQAEJAAAAAEIBQAAAAF0AAAACXJlY2lwaWVudAAAAAVieXRlcweFtQw8",
"height": 2366242,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Fj9VvA8NaH5jzKs1wvF5rYBT2QEhehqrBecnWvqtnuJS
Next: none
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | | - | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | | - | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | func calc () = 42 |
---|
5 | | - | |
---|
6 | | - | |
---|
7 | | - | func do () = { |
---|
8 | | - | let a = calc() |
---|
9 | | - | true |
---|
10 | | - | } |
---|
11 | | - | |
---|
12 | | - | |
---|
13 | | - | |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | match tx { |
---|
| 4 | + | case t: TransferTransaction => |
---|
| 5 | + | let allowlist = Address(base58'3Mz49Duq1vq2LefQr5snKEPBV54kAqUQWHV') |
---|
| 6 | + | getBooleanValue(allowlist, toBase58String(addressFromRecipient(t.recipient).bytes)) |
---|
| 7 | + | case _ => |
---|
| 8 | + | false |
---|
| 9 | + | } |
---|