tx · D7aJkQb2AQDfQ93LXYkGnmKUis9fb7YKeaW8aJSj7N9x

3MxvJx8XiWkCvZzpusprD9H9kyhcvQTcmX8:  -0.01000000 Waves

2023.01.31 21:34 [2429485] smart account 3MxvJx8XiWkCvZzpusprD9H9kyhcvQTcmX8 > SELF 0.00000000 Waves

{ "type": 13, "id": "D7aJkQb2AQDfQ93LXYkGnmKUis9fb7YKeaW8aJSj7N9x", "fee": 1000000, "feeAssetId": null, "timestamp": 1675190108151, "version": 2, "chainId": 84, "sender": "3MxvJx8XiWkCvZzpusprD9H9kyhcvQTcmX8", "senderPublicKey": "48qfJdp84ZnZXHJRQbqYm2peuKvphT6kQf3WSBE46T2t", "proofs": [ "2LkSxvG54Dh46DeUbtkcPGptHYhQFJsXPQjAYSHJtQazgULh5cWLaZ6pqNYpd7c2zTyasvsWW6kDDAoYuWEDLaWt", "gcnnSiYtew6BVhvs3oVqUHGP7FfbXB5v6zwo7S8DZRSkpGf4B7xm6K4kL5JUbL5hkgDe8kQ9F7xAm7tEMrGWaKv" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlzZXRPcHRpb24CCHZhcmlhYmxlBXZhbHVlBAlhZG1pbkxpc3QEByRtYXRjaDAJAJ0IAgUEdGhpcwIKYWRtaW5fbGlzdAMJAAECBQckbWF0Y2gwAgRVbml0AgV1bnNldAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgJAAIBAgtNYXRjaCBlcnJvcgQQY2FsbGVyQWRkcmVzc1N0cgkApQgBCAUBaQZjYWxsZXIDCQECIT0CBQlhZG1pbkxpc3QCBXVuc2V0BAdpc0FkbWluBAckbWF0Y2gwCQCdCAIFBHRoaXMFEGNhbGxlckFkZHJlc3NTdHIDCQABAgUHJG1hdGNoMAIEVW5pdAIIbm8gYWRtaW4DCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IDCQECIT0CBQdpc0FkbWluAghubyBhZG1pbgkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIFCHZhcmlhYmxlBQV2YWx1ZQUDbmlsBQR1bml0CQACAQkArAICAg9Zb3Ugbm90IGFkbWluOiAFCWFkbWluTGlzdAkAAgECEFVuc2V0IGFkbWluIGxpc3QBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleY03cRE=", "height": 2429485, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CWE7PdoUSwzPkcTDHWRTPyLYyCpnHxpQbvh3Qv4bMoZo Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
3-match tx {
4- case _ =>
5- sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
6-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(a)
7+func setOption (b,c) = {
8+ let d = {
9+ let e = getString(this, "admin_list")
10+ if ($isInstanceOf(e, "Unit"))
11+ then "unset"
12+ else if ($isInstanceOf(e, "String"))
13+ then {
14+ let f = e
15+ f
16+ }
17+ else throw("Match error")
18+ }
19+ let g = toString(a.caller)
20+ if ((d != "unset"))
21+ then {
22+ let h = {
23+ let e = getString(this, g)
24+ if ($isInstanceOf(e, "Unit"))
25+ then "no admin"
26+ else if ($isInstanceOf(e, "String"))
27+ then {
28+ let f = e
29+ f
30+ }
31+ else throw("Match error")
32+ }
33+ if ((h != "no admin"))
34+ then $Tuple2([StringEntry(b, c)], unit)
35+ else throw(("You not admin: " + d))
36+ }
37+ else throw("Unset admin list")
38+ }
39+
40+
41+@Verifier(i)
42+func j () = {
43+ let e = i
44+ sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
45+ }
46+

github/deemru/w8io/169f3d6 
38.37 ms