tx · 9QYfmA4WzV6TinvWxxaxspfLsjeP3zBGkHDmHewjN5sD
3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn: -0.01000000 Waves
2022.12.24 17:31 [2374496] smart account 3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn > SELF 0.00000000 Waves
{
"type": 13,
"id": "9QYfmA4WzV6TinvWxxaxspfLsjeP3zBGkHDmHewjN5sD",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1671892330449,
"version": 2,
"chainId": 84,
"sender": "3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn",
"senderPublicKey": "ANZCXjtTY8AvbcpEgzETgb9RjHTwRFwxAuepKXsuWb1P",
"proofs": [
"2E3wJtMPXTEKqFHCsJLXzY8oT2vyNTCkFgjXxWbisGmY1eY937q3Sqr719X1rK9iCkThDpDyjjABCDAmgjnren27"
],
"script": "base64:BQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAZgAAAAIIBQAAAAF0AAAABmFtb3VudAAAAAAAAAAAZAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHB8E9kxI=",
"height": 2374496,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 4HjQPC9Cnwx1Z5LQ39bQc5RGSRhQCJ1xDVRsDD7hkMFu
Next: none
Diff:
Old | New | | Differences |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | | - | let allowlist = Address(base58'3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn') |
---|
6 | | - | getBooleanValue(allowlist, toBase58String(addressFromRecipient(t.recipient).bytes)) |
---|
| 5 | + | if ((t.amount > 100)) |
---|
| 6 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 7 | + | else false |
---|
7 | 8 | | case _ => |
---|
8 | | - | true |
---|
| 9 | + | false |
---|
9 | 10 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | | - | let allowlist = Address(base58'3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn') |
---|
6 | | - | getBooleanValue(allowlist, toBase58String(addressFromRecipient(t.recipient).bytes)) |
---|
| 5 | + | if ((t.amount > 100)) |
---|
| 6 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
| 7 | + | else false |
---|
7 | 8 | | case _ => |
---|
8 | | - | true |
---|
| 9 | + | false |
---|
9 | 10 | | } |
---|