tx · ECGassYDkFpMqTAKqqjMNbe591uo6jgMiJ4KzCTCpYQ
3MurpdRRFNmW3NFY6qhhpdi8Gdm9Wh8bjjZ: -1.00000000 Waves
2020.04.23 16:21 [967259] smart asset 3MurpdRRFNmW3NFY6qhhpdi8Gdm9Wh8bjjZ > SELF 0.000 SMART
{
"type": 15,
"id": "ECGassYDkFpMqTAKqqjMNbe591uo6jgMiJ4KzCTCpYQ",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1587648072354,
"version": 1,
"sender": "3MurpdRRFNmW3NFY6qhhpdi8Gdm9Wh8bjjZ",
"senderPublicKey": "2CrCTrmqqX3aW7oMLtzCN5GGCQjoGQdnizt1q3qK5dzZ",
"proofs": [
"5ncTnpjepAdWYZkfjD7UCnBbySf6dg8sT7tnaFsyXxqHPhJeh6VnSdTxdLKNPEWee1cs2ZpnPskfvor82p6SwA9D"
],
"assetId": "5K7uoBvEP5dKLYQm9Mz3ezjHde7B345kjawvxbCwGZPo",
"script": "base64:AwQAAAATd2hpdGVsaXN0ZWRBY2NvdW50MQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM013NEtSRTRnblFRbjVOSnd1aW1HSGtjbkcyeVlUYlRoVjMEAAAAE3doaXRlbGlzdGVkQWNjb3VudDIJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNNc1BuWHptWms1WFA1WHk3eU5DWUNyd25iMmRIbVdSWXBCBAAAABN3aGl0ZWxpc3RlZEFjY291bnQzCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTXllVGdVcmFxYWJiZ29uemd6WEZiaVh1Zmtib01xYmpnagQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwAwkAAAAAAAACCQAEJAAAAAEIBQAAAAJ0eAAAAAlyZWNpcGllbnQFAAAAE3doaXRlbGlzdGVkQWNjb3VudDEGCQAAAAAAAAIJAAQkAAAAAQgFAAAAAnR4AAAACXJlY2lwaWVudAUAAAATd2hpdGVsaXN0ZWRBY2NvdW50Mga1Tbxm",
"chainId": 84,
"height": 967259,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: AWykYKWtzbUkuKiLRizfQUXpGuNjZWqvdd1Fg9xVqzfN
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let whitelistedAccount1 = addressFromString("3Mw4KRE4gnQQn5NJwuimGHkcnG2yYTbThV3") |
---|
| 4 | + | let whitelistedAccount2 = addressFromString("3MsPnXzmZk5XP5Xy7yNCYCrwnb2dHmWRYpB") |
---|
| 5 | + | let whitelistedAccount3 = addressFromString("3MyeTgUraqabbgonzgzXFbiXufkboMqbjgj") |
---|
| 6 | + | match tx { |
---|
| 7 | + | case tx: TransferTransaction => |
---|
| 8 | + | if ((addressFromRecipient(tx.recipient) == whitelistedAccount1)) |
---|
| 9 | + | then true |
---|
| 10 | + | else (addressFromRecipient(tx.recipient) == whitelistedAccount2) |
---|
| 11 | + | case _ => |
---|
| 12 | + | true |
---|
| 13 | + | } |
---|