tx · Ghsicc12DsCvCxzNC25qv4NJDcCGSfBhumehe17chRH8

3N741fxwNaFiPTbxasJGdim7iXzqfrw8PtV:  -0.02800000 Waves

2023.06.25 16:47 [2638242] smart account 3N741fxwNaFiPTbxasJGdim7iXzqfrw8PtV > SELF 0.00000000 Waves

{ "type": 13, "id": "Ghsicc12DsCvCxzNC25qv4NJDcCGSfBhumehe17chRH8", "fee": 2800000, "feeAssetId": null, "timestamp": 1687700895363, "version": 2, "chainId": 84, "sender": "3N741fxwNaFiPTbxasJGdim7iXzqfrw8PtV", "senderPublicKey": "BYJtStgz4pzc7ojDddMGjsJNymV3sppzN7d8yetWGTqs", "proofs": [ "2qRNCGhm11Jz6BcRSXmseMo3u4bfUHewRS6eJYyoL2tzFPDHTZQmNE8jQgHMUXq2ZTcxGB1c9z1V788gwZWGjuKB" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHBQAAAARkYXRhAAAAAQAAAAFpAQAAAAtyZWZ1bmRXYXZlcwAAAAIAAAAJdGltZXN0YW1wAAAABGNvc3QEAAAAA2tleQkAASwAAAACCQABLAAAAAIFAAAACXRpbWVzdGFtcAIAAAABLgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABGRhdGEJAQAAAAdnZXREYXRhAAAAAgUAAAAEdGhpcwUAAAADa2V5AwUAAAAEZGF0YQkAAAIAAAABAgAAABlXdXJkZSBiZXJlaXRzIGF1c2dlemFobHQuCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAANrZXkGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAEY29zdAUAAAAEdW5pdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmSchO+", "height": 2638242, "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+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/026f985 
15.26 ms