tx · DYSGuFMDgwgtrkjyEQyWqhAvoXXXTYGxP6e47D7h52Jc 3Mxja9dzJwYYcgQLNS6srMSE57o4xEuLubp: -0.00100000 Waves 2022.12.19 13:00 [2367028] smart account 3Mxja9dzJwYYcgQLNS6srMSE57o4xEuLubp > SELF 0.00000000 Waves
{ "type": 13, "id": "DYSGuFMDgwgtrkjyEQyWqhAvoXXXTYGxP6e47D7h52Jc", "fee": 100000, "feeAssetId": null, "timestamp": 1671444080481, "version": 2, "chainId": 84, "sender": "3Mxja9dzJwYYcgQLNS6srMSE57o4xEuLubp", "senderPublicKey": "494P1nGfsVKLpZQB1RZiM37znqRG58QQSHckhgaR52M7", "proofs": [ "Kvt6JmvAJbpP6g7Wa5VMpVZNhM14fvDut1E64WkrRdawRQ3ZQRqM19acqFjQi6oB4MykBwYoNssM1w8vRz57nLG" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHBQAAAARkYXRhAAAAAQAAAAFpAQAAAAtyZWZ1bmRXYXZlcwAAAAIAAAAJdGltZXN0YW1wAAAABGNvc3QEAAAAA2tleQkAASwAAAACCQABLAAAAAIFAAAACXRpbWVzdGFtcAIAAAABLgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABGRhdGEJAQAAAAdnZXREYXRhAAAAAgUAAAAEdGhpcwUAAAADa2V5AwUAAAAEZGF0YQkAAAIAAAABAgAAABlXdXJkZSBiZXJlaXRzIGF1c2dlemFobHQuCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAANrZXkGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAEY29zdAUAAAAEdW5pdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmSchO+", "height": 2367028, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: HWCUpbrTeeUtmJsgjvk47E3wNcC1yVSDgXVcdLNLMi8D Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func getData (adr,key) = { | |
5 | + | let data = match getBoolean(adr, key) { | |
6 | + | case a: Boolean => | |
7 | + | a | |
8 | + | case _ => | |
9 | + | false | |
10 | + | } | |
11 | + | data | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | @Callable(i) | |
16 | + | func refundWaves (timestamp,cost) = { | |
17 | + | let key = ((timestamp + ".") + toBase58String(i.callerPublicKey)) | |
18 | + | let data = getData(this, key) | |
19 | + | if (data) | |
20 | + | then throw("Wurde bereits ausgezahlt.") | |
21 | + | else [BooleanEntry(key, true), ScriptTransfer(i.caller, cost, unit)] | |
22 | + | } | |
23 | + | ||
24 | + | ||
25 | + | @Verifier(tx) | |
26 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
27 | + |
github/deemru/w8io/169f3d6 18.88 ms ◑