tx · FZ9VkQAtkprPk8UUYQe7fmqCqkRJ3MPgrF2HRBLQamK8
3N4NDtSZiJvSZzMpEmQxdboWY8YeG8TFiz2: -0.01400000 Waves
2023.02.20 22:07 [2458374] smart account 3N4NDtSZiJvSZzMpEmQxdboWY8YeG8TFiz2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "FZ9VkQAtkprPk8UUYQe7fmqCqkRJ3MPgrF2HRBLQamK8",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1676920102354,
"version": 2,
"chainId": 84,
"sender": "3N4NDtSZiJvSZzMpEmQxdboWY8YeG8TFiz2",
"senderPublicKey": "92hLsfCPev7oGziuZz7ARAYr119cHtDMAEeN5jx6ka8B",
"proofs": [
"B6QFAoagjoQ6pfXeBrLQgrAHssp7N1eURCY9oTdY9XdPZzV8jgRkX4a7Npb3TekzrkUJ481GbmA45VmjZ75irvt"
],
"script": "base64:BgIHCAISAwoBAQABAWkBDHNldENvbXBsZXRlZAEJY29tcGxldGVkBAZjYWxsZXIJANgEAQgIBQFpBmNhbGxlcgVieXRlcwQFb3duZXIJARFAZXh0ck5hdGl2ZSgxMDU4KQECBU9XTkVSBANlcnIDCQECIT0CBQZjYWxsZXIFBW93bmVyCQACAQILbm90IGFsbG93ZWQFBHVuaXQDCQAAAgUDZXJyBQNlcnIJAMwIAgkBDEludGVnZXJFbnRyeQICGExBU1RfQ09NUExFVEVEX01JR1JBVElPTgUJY29tcGxldGVkBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5OlG6fA==",
"height": 2458374,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 6 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func setCompleted (b) = { |
---|
| 8 | + | let c = toBase58String(a.caller.bytes) |
---|
| 9 | + | let d = getStringValue("OWNER") |
---|
| 10 | + | let e = if ((c != d)) |
---|
| 11 | + | then throw("not allowed") |
---|
| 12 | + | else unit |
---|
| 13 | + | if ((e == e)) |
---|
| 14 | + | then [IntegerEntry("LAST_COMPLETED_MIGRATION", b)] |
---|
| 15 | + | else throw("Strict value is not equal to itself.") |
---|
| 16 | + | } |
---|
| 17 | + | |
---|
| 18 | + | |
---|
| 19 | + | @Verifier(f) |
---|
| 20 | + | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
| 21 | + | |
---|