tx · GvqEWtExcy2cBvBqEmZTRRCVCXZRUgkedXGNm2M1CNaB

3NArKFmd5fWLrVxbETPLbtzUAyW1qEiVSDT:  -0.01000000 Waves

2022.06.26 17:24 [2113515] smart account 3NArKFmd5fWLrVxbETPLbtzUAyW1qEiVSDT > SELF 0.00000000 Waves

{ "type": 13, "id": "GvqEWtExcy2cBvBqEmZTRRCVCXZRUgkedXGNm2M1CNaB", "fee": 1000000, "feeAssetId": null, "timestamp": 1656253499094, "version": 2, "chainId": 84, "sender": "3NArKFmd5fWLrVxbETPLbtzUAyW1qEiVSDT", "senderPublicKey": "tSzBEc64eZoV3zMWD7nj2wNNzf3qXvFDD8syi1DvMKw", "proofs": [ "4kFcpWQQQcPwcny7egbxCVpuDEJKpmhubgaic9R9JgszT3sfNSKyKHDwxXtVh4DZJAAV4S8pehi7DztJP6v3u4v2" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAJY2xhaW1Ecm9wAAAAAQAAAA5tYWlubmV0QWRkcmVzcwQAAAAOdGVzdG5ldEFkZHJlc3MJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAwMJAQAAAAIhPQAAAAIJAAExAAAAAQUAAAAObWFpbm5ldEFkZHJlc3MAAAAAAAAAACMJAQAAAAIhPQAAAAIJAAEvAAAAAgUAAAAObWFpbm5ldEFkZHJlc3MAAAAAAAAAAAICAAAAAjNQBwkAAAIAAAABAgAAAA9JbnZhbGlkIGFkZHJlc3MEAAAABXJlYWR5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQgAAAAAQkAASwAAAACAgAAAA1rX2Ryb3BfcmVhZHlfBQAAAA50ZXN0bmV0QWRkcmVzcwIAAAAVTm90IGVsaWdpYmxlIGZvciBkcm9wAwUAAAAFcmVhZHkEAAAABGRvbmUJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQiAAAAAQkAASwAAAACAgAAAAxrX2Ryb3BfZG9uZV8FAAAADnRlc3RuZXRBZGRyZXNzAgAAAAADCQAAAAAAAAIFAAAABGRvbmUCAAAAAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAADGtfZHJvcF9kb25lXwUAAAAOdGVzdG5ldEFkZHJlc3MFAAAADm1haW5uZXRBZGRyZXNzBQAAAANuaWwJAAACAAAAAQIAAAARRHJvcCBhbHJlYWR5IGRvbmUJAAACAAAAAQIAAAAVTm90IGVsaWdpYmxlIGZvciBkcm9wAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmJwchW", "height": 2113515, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(a)
7+func claimDrop (b) = {
8+ let c = toString(a.caller)
9+ if (if ((size(b) != 35))
10+ then (take(b, 2) != "3P")
11+ else false)
12+ then throw("Invalid address")
13+ else {
14+ let d = valueOrErrorMessage(getBoolean(("k_drop_ready_" + c)), "Not eligible for drop")
15+ if (d)
16+ then {
17+ let e = valueOrElse(getString(("k_drop_done_" + c)), "")
18+ if ((e == ""))
19+ then [StringEntry(("k_drop_done_" + c), b)]
20+ else throw("Drop already done")
21+ }
22+ else throw("Not eligible for drop")
23+ }
24+ }
25+
26+
27+@Verifier(f)
28+func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
29+

github/deemru/w8io/169f3d6 
15.23 ms