tx · Gvfk6cHzo7xA4Rx7tL1qq1fdLpEGRa9766AsEL9XRqMA
3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o: -0.01400000 Waves
2024.10.26 02:09 [3343018] smart account 3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o > SELF 0.00000000 Waves
{
"type": 13,
"id": "Gvfk6cHzo7xA4Rx7tL1qq1fdLpEGRa9766AsEL9XRqMA",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1729897808674,
"version": 2,
"chainId": 84,
"sender": "3MrUq9EfPswce9uMpUskkHQfaQFc8HpMa5o",
"senderPublicKey": "HEt4sJfhY3gxce9ydCS4ZB16nX6NJ4SJP63rGtHFPxfh",
"proofs": [
"bPCveD7THjEQSu4ekFBZNfWjfNShqvtR3AzCcRvdhykb4GHgDKstBo5szuiWZiWceC2fboPtQvPKW2s2GMkBidM"
],
"script": "base64:AAIEAAAAAAAAAAkIAhIDCgEBEgAAAAAAAAAAAgAAAAFpAQAAAAp3cml0ZVZhbHVlAAAAAQAAAAhuZXdWYWx1ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAHc29tZUtleQUAAAAIbmV3VmFsdWUFAAAAA25pbAAAAAFpAQAAAApyZWFkT3JaZXJvAAAAAAQAAAALcmVzdWx0VmFsdWUJAAQaAAAAAgUAAAAEdGhpcwIAAAAHc29tZUtleQQAAAAHJG1hdGNoMAUAAAALcmVzdWx0VmFsdWUDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGcmVzdWx0BQAAAAFhBQAAAANuaWwJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABnJlc3VsdAAAAAAAAAAAAAUAAAADbmlsAAAAAQAAAAJ0eAEAAAARdmVyaWZ5VHJhbnNhY3Rpb24AAAAABoONOcY=",
"height": 3343018,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3488io7K2zgUApUsnED4h3b4eJBTvvKsxrXp1v8i9kuT
Next: 42rVchGWbDGtj3ghSH5w8D2Q7X7dKc9aFuMwjWdVsYh3
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func writeValue (newValue) = [IntegerEntry("someKey", newValue)] |
---|
| 8 | + | |
---|
| 9 | + | |
---|
| 10 | + | |
---|
| 11 | + | @Callable(i) |
---|
| 12 | + | func readOrZero () = { |
---|
| 13 | + | let resultValue = getInteger(this, "someKey") |
---|
| 14 | + | match resultValue { |
---|
| 15 | + | case a: Int => |
---|
| 16 | + | [IntegerEntry("result", a)] |
---|
| 17 | + | case _ => |
---|
| 18 | + | [IntegerEntry("result", 0)] |
---|
| 19 | + | } |
---|
| 20 | + | } |
---|
| 21 | + | |
---|
| 22 | + | |
---|
| 23 | + | @Verifier(tx) |
---|
| 24 | + | func verifyTransaction () = true |
---|
| 25 | + | |
---|