tx · 5kysFUKjUgCt1gk6YNhjiRMhGLu4cgbyidyRrEiRtzNB

3N8QXkBJ9Cw5SKQN9XrAvj6TQm3LQTJXMik:  -0.01000000 Waves

2022.12.12 02:48 [2356356] smart account 3N8QXkBJ9Cw5SKQN9XrAvj6TQm3LQTJXMik > SELF 0.00000000 Waves

{ "type": 13, "id": "5kysFUKjUgCt1gk6YNhjiRMhGLu4cgbyidyRrEiRtzNB", "fee": 1000000, "feeAssetId": null, "timestamp": 1670802521872, "version": 2, "chainId": 84, "sender": "3N8QXkBJ9Cw5SKQN9XrAvj6TQm3LQTJXMik", "senderPublicKey": "3k1UfguhLASyNRUsyixsBqDL7EMm2UZqEsUMcZf9yQoW", "proofs": [ "4iP55X6yZVqrKP2a1i5hoS4WEUabkEXw6nmyWpB9SctxapxVS3AVKgdmHZuusSRnBLLwYt2XLQZTTyyKHebvFXpk" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIIAQAAAAEBAAAAB2dldERhdGEAAAACAAAAA2FkcgAAAANrZXkEAAAABGRhdGEEAAAAByRtYXRjaDAJAAQbAAAAAgUAAAADYWRyBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHBQAAAARkYXRhAAAAAQAAAAFpAQAAAAtyZWZ1bmRXYXZlcwAAAAIAAAAJdGltZXN0YW1wAAAABGNvc3QEAAAAA2tleQkAASwAAAACCQABLAAAAAIFAAAACXRpbWVzdGFtcAIAAAABLgkAAlgAAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAABGRhdGEJAQAAAAdnZXREYXRhAAAAAgUAAAAEdGhpcwUAAAADa2V5AwUAAAAEZGF0YQkAAAIAAAABAgAAABlXdXJkZSBiZXJlaXRzIGF1c2dlemFobHQuCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAANrZXkGCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAAEY29zdAUAAAAEdW5pdAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmSchO+", "height": 2356356, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 9fK4VBQBZfUTLuKaYcRH15oqrF3u1MRnbKVGRyxpu5gv 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 
14.55 ms