tx · D9cc7dBLnwgC4zjRtmFnpTt763v1WCt5C8xfhxT42T61 3Mv4GT8TbGER1YKugQ7YZL641rx8t81PkhB: -0.01000000 Waves 2021.05.06 04:22 [1513167] smart account 3Mv4GT8TbGER1YKugQ7YZL641rx8t81PkhB > SELF 0.00000000 Waves
{ "type": 13, "id": "D9cc7dBLnwgC4zjRtmFnpTt763v1WCt5C8xfhxT42T61", "fee": 1000000, "feeAssetId": null, "timestamp": 1620264156713, "version": 2, "chainId": 84, "sender": "3Mv4GT8TbGER1YKugQ7YZL641rx8t81PkhB", "senderPublicKey": "31WBcCdu3hy8BoC49Ppj2ZPpj6VQLVsCMLAWQgqnehxY", "proofs": [ "5chmKmmjAm8XgynR6NgbTVBV9Sds1Nsjv2v7PG6BuYFHQZmyg6HR4QctMwsnGTrUCCbrCgCeer2a9n4FB5i3Ry1g" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIBCAAAAAEAAAAABnBhcjdJZAEAAAAgl51uEP4PAsqEAH8fboNjHhm/rGl87nuQzc5I5dIHQSMAAAABAAAAAWkBAAAAD3N0YWtpbmdXaXRoZHJhdwAAAAIAAAAOd2l0aGRyYXdBbW91bnQAAAAHYXNzZXRJZAQAAAAKY3VycmVudEtleQkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA5jdXJyZW50QXNzZXRJZAkAAlkAAAABBQAAAAdhc3NldElkBAAAAA1jdXJyZW50QW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAACHN0YWtpbmdfBQAAAAdhc3NldElkAgAAAAFfBQAAAApjdXJyZW50S2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAADCQAAZgAAAAIAAAAAAAAAAAAFAAAADWN1cnJlbnRBbW91bnQJAAACAAAAAQIAAAAeQ2FuJ3Qgd2l0aGRyYXcgbmVnYXRpdmUgYW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAhzdGFraW5nXwUAAAAHYXNzZXRJZAIAAAABXwUAAAAKY3VycmVudEtleQAAAAAAAAAAAAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAADWN1cnJlbnRBbW91bnQFAAAADmN1cnJlbnRBc3NldElkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tlecEmlME=", "height": 1513167, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'BCqo4hvDBB2dzmidJQKkVtQtkgEQVVwMy1jjV4R4tNB4' | |
5 | + | ||
6 | + | @Callable(b) | |
7 | + | func stakingWithdraw (c,d) = { | |
8 | + | let e = toBase58String(b.caller.bytes) | |
9 | + | let f = fromBase58String(d) | |
10 | + | let g = { | |
11 | + | let h = getInteger(this, ((("staking_" + d) + "_") + e)) | |
12 | + | if ($isInstanceOf(h, "Int")) | |
13 | + | then { | |
14 | + | let i = h | |
15 | + | i | |
16 | + | } | |
17 | + | else 0 | |
18 | + | } | |
19 | + | if ((0 > g)) | |
20 | + | then throw("Can't withdraw negative amount") | |
21 | + | else [IntegerEntry(((("staking_" + d) + "_") + e), 0), ScriptTransfer(b.caller, g, f)] | |
22 | + | } | |
23 | + | ||
24 | + | ||
25 | + | @Verifier(j) | |
26 | + | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) | |
27 | + |
github/deemru/w8io/169f3d6 31.21 ms ◑