tx · 86ZVKStZY9JnyWPGmrvrvrk4pFXhkFvvHNfrNUyiVy5s
3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o: -0.01400000 Waves
2024.10.20 21:43 [3335529] smart account 3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o > SELF 0.00000000 Waves
{
"type": 13,
"id": "86ZVKStZY9JnyWPGmrvrvrk4pFXhkFvvHNfrNUyiVy5s",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1729449884390,
"version": 2,
"chainId": 84,
"sender": "3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o",
"senderPublicKey": "HEt4sJfhY3gxce9ydCS4ZB16nX6NJ4SJP63rGtHFPxfh",
"proofs": [
"P2R5G31iWjzjsNNp8UgEUb5QJZ5Ztr2D1GBLC5gsiroPZNYvmGw6WNfyHBNPBSPkw48L4WrVnUqMyR1i7usosKV"
],
"script": "base64:CAICCAIBAQpyZWFkT3JaZXJvAAQLcmVzdWx0VmFsdWUJAJoIAgUEdGhpcwIHc29tZUtleQQHJG1hdGNoMAULcmVzdWx0VmFsdWUDCQABAgUHJG1hdGNoMAIDSW50BAFhBQckbWF0Y2gwBQFhAAAAAQJ0eAERdmVyaWZ5VHJhbnNhY3Rpb24ABAZyZXN1bHQJAQpyZWFkT3JaZXJvAAYduduu",
"height": 3335529,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DQymkhSma1QGUyjVFZHGJjGfQvEKtYT3qPq4xfJwTB5Z
Next: GpAUeAEJx2643hZHdRVHySEHAJZQnWG1drbWQjMncFpM
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 8 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | func readOrZero () = { |
---|
| 5 | + | let resultValue = getInteger(this, "someKey") |
---|
| 6 | + | match resultValue { |
---|
| 7 | + | case a: Int => |
---|
| 8 | + | a |
---|
| 9 | + | case _ => |
---|
| 10 | + | 0 |
---|
| 11 | + | } |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | |
---|
| 16 | + | @Verifier(tx) |
---|
| 17 | + | func verifyTransaction () = { |
---|
| 18 | + | let result = readOrZero() |
---|
| 19 | + | true |
---|
| 20 | + | } |
---|
| 21 | + | |
---|