tx · HxcPzQPZHn5tgkqU36w6eoiDp6tVboMAVWhBVcAvw9ca 3N999QeyWVbYUiUDtPSGFbWVnpJuQmophhV: -0.01000000 Waves 2022.11.25 19:52 [2332886] smart account 3N999QeyWVbYUiUDtPSGFbWVnpJuQmophhV > SELF 0.00000000 Waves
{ "type": 13, "id": "HxcPzQPZHn5tgkqU36w6eoiDp6tVboMAVWhBVcAvw9ca", "fee": 1000000, "feeAssetId": null, "timestamp": 1669395132846, "version": 2, "chainId": 84, "sender": "3N999QeyWVbYUiUDtPSGFbWVnpJuQmophhV", "senderPublicKey": "fLkmrmMyKsNm5vMsi5P67zt5Jx5c5z9aiWSCs9S5dKJ", "proofs": [ "4kEtvN9Gz53tg9D5Tx8Zao6uDn7tKbXnyvpBgioTnadbNZWBcybLyFTmJ6qF7Fg2BvUpCcFgAhUkhnzxzvxnnqnd" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAUAAAAEZGF0YQAAAAEAAAABaQEAAAALcmVmdW5kV2F2ZXMAAAACAAAACXRpbWVzdGFtcAAAAARjb3N0BAAAAANrZXkJAAEsAAAAAgkAASwAAAACBQAAAAl0aW1lc3RhbXACAAAAAS4JAASwAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5BAAAAARkYXRhCQEAAAARQGV4dHJOYXRpdmUoMTA1MSkAAAACBQAAAAR0aGlzBQAAAANrZXkDBQAAAARkYXRhCQAAAgAAAAECAAAAGVd1cmRlIGJlcmVpdHMgYXVzZ2V6YWhsdC4JAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAAA2tleQYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAARjb3N0BQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUCiEQ8=", "height": 2332886, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 5cBm2cS7DDXjHf28nTN7UX9Fr9tF2en99i5H7DVHpJuN 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 getBinary(adr, key) { | |
6 | + | case a: ByteVector => | |
7 | + | a | |
8 | + | case _ => | |
9 | + | "" | |
10 | + | } | |
11 | + | data | |
12 | + | } | |
13 | + | ||
14 | + | ||
15 | + | @Callable(i) | |
16 | + | func refundWaves (timestamp,cost) = { | |
17 | + | let key = ((timestamp + ".") + toUtf8String(i.callerPublicKey)) | |
18 | + | let data = getBooleanValue(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 21.85 ms ◑