tx · CggdF6N8cWFKKRAfnDCkMuwPDrUxwAnbvxLh5WfQ5wvH 3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok: -0.05000000 Waves 2019.11.16 21:50 [768053] smart account 3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok > SELF 0.00000000 Waves
{ "type": 13, "id": "CggdF6N8cWFKKRAfnDCkMuwPDrUxwAnbvxLh5WfQ5wvH", "fee": 5000000, "feeAssetId": null, "timestamp": 1573930267236, "version": 1, "sender": "3N7b5RREJBhrQwb5AiKUB2upCxMSfNw4nok", "senderPublicKey": "DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4", "proofs": [ "3awDvKyjdJsyqtSpEj2P2vYftpiRgWYKU2NM4oJYautaLuduPthhnYDtwyg5tmYfKDVY97Uzx3FKF2tNcjymPEJc" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAHZGVwb3NpdAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50AwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACFjYW4gaG9kbCB3YXZlcyBvbmx5IGF0IHRoZSBtb21lbnQEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAASeHh4SW52ZXN0b3JCYWxhbmNlCQABLAAAAAIJAAEsAAAAAgUAAAAKY3VycmVudEtleQIAAAABXwIAAAACaWIEAAAADWN1cnJlbnRBbW91bnQEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAASeHh4SW52ZXN0b3JCYWxhbmNlAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAA1jdXJyZW50QW1vdW50CAUAAAADcG10AAAABmFtb3VudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAASeHh4SW52ZXN0b3JCYWxhbmNlBQAAAAluZXdBbW91bnQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAABAAAAIL2jxyJU0IPzlMOvX4LXlVwprrVDcb7ygzhBXavVadALByHFpMc=", "chainId": 84, "height": 768053, "spentComplexity": 0 } View: original | compacted Prev: 6hKwxmd38NzqLtEC2vuGtpwup1eYwbcrfstb5cAwrk2a Next: 5mtGMHUQqKkywwAm26ttJ4mmoocUqYVLQn3g9FxnQYcN Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func deposit () = { | |
8 | 8 | let b = extract(a.payment) | |
9 | 9 | if (isDefined(b.assetId)) | |
10 | 10 | then throw("can hodl waves only at the moment") | |
11 | 11 | else { | |
12 | 12 | let c = toBase58String(a.caller.bytes) | |
13 | 13 | let d = ((c + "_") + "ib") | |
14 | 14 | let e = { | |
15 | 15 | let f = getInteger(this, d) | |
16 | 16 | if ($isInstanceOf(f, "Int")) | |
17 | 17 | then { | |
18 | 18 | let g = f | |
19 | 19 | g | |
20 | 20 | } | |
21 | 21 | else 0 | |
22 | 22 | } | |
23 | 23 | let h = (e + b.amount) | |
24 | 24 | WriteSet([DataEntry(d, h)]) | |
25 | 25 | } | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | @Verifier(i) | |
30 | 30 | func j () = { | |
31 | 31 | let f = i | |
32 | 32 | if ($isInstanceOf(f, "SetScriptTransaction")) | |
33 | 33 | then { | |
34 | 34 | let k = f | |
35 | 35 | sigVerify(i.bodyBytes, i.proofs[0], base58'DmGuFUH4FowzKombiviDc5zueFtTtRAcEYoEs9d8Rmd4') | |
36 | 36 | } | |
37 | 37 | else false | |
38 | 38 | } | |
39 | 39 |
github/deemru/w8io/026f985 26.75 ms ◑