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