tx · 6Dbj6Cqjh5iQYaKgXPDgpiznXtt9in6FPH84RBxyAF1w

3MtEvVnBT3Fqc8qHhG3C4ohsc1RZ8JDCn4w:  -0.02800000 Waves

2023.10.06 00:00 [2785836] smart account 3MtEvVnBT3Fqc8qHhG3C4ohsc1RZ8JDCn4w > SELF 0.00000000 Waves

{ "type": 13, "id": "6Dbj6Cqjh5iQYaKgXPDgpiznXtt9in6FPH84RBxyAF1w", "fee": 2800000, "feeAssetId": null, "timestamp": 1696539659229, "version": 2, "chainId": 84, "sender": "3MtEvVnBT3Fqc8qHhG3C4ohsc1RZ8JDCn4w", "senderPublicKey": "6ADZS4Bx87tCz9xMfPC2KkPpbwbNxvy466cMt8dkXM2s", "proofs": [ "3mgAW8gSy5LGXNKUo9CAqwY5WWDfviBjCmCn975J3mXTZamFfNRNBPwgfzJ7vaKTd9i8MQa5EyXxoEFxJ4nyAg27" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAgEAAAAHZ2V0RGF0YQAAAAIAAAADYWRyAAAAA2tleQQAAAAEZGF0YQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAANhZHIFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAAFAAAABGRhdGEBAAAACGF1dGhVc2VyAAAAAQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAAE2NhbGxlclB1YmxpY0tleUhhc2gJAAJYAAAAAQkAAfcAAAABBQAAAA9jYWxsZXJQdWJsaWNLZXkEAAAACWRhdGFWYWx1ZQkBAAAAB2dldERhdGEAAAACBQAAAAR0aGlzCQABLAAAAAIJAAEsAAAAAgIAAAALY29ubmVjdGlvbi4FAAAAE2NhbGxlclB1YmxpY0tleUhhc2gCAAAABy5zY3JpcHQEAAAADWV4cGVjdGVkVmFsdWUCAAAACmF1dGhvcml6ZWQDCQAAAAAAAAIFAAAACWRhdGFWYWx1ZQUAAAANZXhwZWN0ZWRWYWx1ZQYHAAAAAQAAAAFpAQAAAAtyZWZ1bmRXYXZlcwAAAAEAAAAEY29zdAQAAAANYXV0aGVudGljYXRlZAkBAAAACGF1dGhVc2VyAAAAAQgFAAAAAWkAAAAPY2FsbGVyUHVibGljS2V5AwkBAAAAASEAAAABBQAAAA1hdXRoZW50aWNhdGVkCQAAAgAAAAECAAAAPUFjY291bnQgaGF0IG5pY2h0IGRpZSBuw7Z0aWdlIEJlcmVjaHRpZ3VuZyBmw7xyIGRpZXNlIEFrdGlvbi4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAARjb3N0BQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleagB5D8=", "height": 2785836, "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 a (b,c) = {
5+ let d = {
6+ let e = getString(b, c)
7+ if ($isInstanceOf(e, "String"))
8+ then {
9+ let f = e
10+ f
11+ }
12+ else ""
13+ }
14+ d
15+ }
16+
17+
18+func g (h) = {
19+ let i = toBase58String(sha256(h))
20+ let j = a(this, (("connection." + i) + ".script"))
21+ let k = "authorized"
22+ if ((j == k))
23+ then true
24+ else false
25+ }
26+
27+
28+@Callable(l)
29+func refundWaves (m) = {
30+ let n = g(l.callerPublicKey)
31+ if (!(n))
32+ then throw("Account hat nicht die nötige Berechtigung für diese Aktion.")
33+ else [ScriptTransfer(l.caller, m, unit)]
34+ }
35+
36+
37+@Verifier(o)
38+func p () = sigVerify(o.bodyBytes, o.proofs[0], o.senderPublicKey)
39+

github/deemru/w8io/169f3d6 
17.48 ms