tx · 2pnjdaYCkKuioqh1E5BKFERj19MFE1fup1iyyf3ZK5sF

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.01.31 21:46 [2429498] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "2pnjdaYCkKuioqh1E5BKFERj19MFE1fup1iyyf3ZK5sF", "fee": 1000000, "feeAssetId": null, "timestamp": 1675190878556, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "U5pqorYu9rbVFzVJsxmNeZ4gNwLjHfEzsJZ8hfaQwCbj3XfAmboNMF3Aako74fPK42YrQdtr29ki4gYT4APJNEy" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlzZXRPcHRpb24CCHZhcmlhYmxlBXZhbHVlBAlhZG1pbkxpc3QEByRtYXRjaDAJAJ0IAgUEdGhpcwILYWRtaW5fbGlzdDIDCQABAgUHJG1hdGNoMAIEVW5pdAIFdW5zZXQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IEEGNhbGxlckFkZHJlc3NTdHIJAKUIAQgFAWkGY2FsbGVyAwkBAiE9AgUJYWRtaW5MaXN0AgV1bnNldAQHaXNBZG1pbgQHJG1hdGNoMAkAnQgCBQR0aGlzBRBjYWxsZXJBZGRyZXNzU3RyAwkAAQIFByRtYXRjaDACBFVuaXQCCG5vIGFkbWluAwkAAQIFByRtYXRjaDACBlN0cmluZwQBeAUHJG1hdGNoMAUBeAkAAgECC01hdGNoIGVycm9yAwkBAiE9AgUHaXNBZG1pbgIIbm8gYWRtaW4JAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCBQh2YXJpYWJsZQUFdmFsdWUFA25pbAUEdW5pdAkAAgEJAKwCAgkArAICCQCsAgICD1lvdSBub3QgYWRtaW46IAUJYWRtaW5MaXN0AgogaXNBZG1pbjogBQdpc0FkbWluCQACAQIQVW5zZXQgYWRtaW4gbGlzdAECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4CQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V54+93qw==", "height": 2429498, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8a6P6FgzRNXrJ9kubmGLYLhf8d5xFHt5fHjPF4GF2Thi Next: 6Us1Y71BiT38Uwi9PYnADJYfM7GeJ3GJDdHEEjKajFEk Diff:
OldNewDifferences
3232 }
3333 if ((h != "no admin"))
3434 then $Tuple2([StringEntry(b, c)], unit)
35- else throw(("You not admin: " + d))
35+ else throw(((("You not admin: " + d) + " isAdmin: ") + h))
3636 }
3737 else throw("Unset admin list")
3838 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func setOption (b,c) = {
88 let d = {
99 let e = getString(this, "admin_list2")
1010 if ($isInstanceOf(e, "Unit"))
1111 then "unset"
1212 else if ($isInstanceOf(e, "String"))
1313 then {
1414 let f = e
1515 f
1616 }
1717 else throw("Match error")
1818 }
1919 let g = toString(a.caller)
2020 if ((d != "unset"))
2121 then {
2222 let h = {
2323 let e = getString(this, g)
2424 if ($isInstanceOf(e, "Unit"))
2525 then "no admin"
2626 else if ($isInstanceOf(e, "String"))
2727 then {
2828 let f = e
2929 f
3030 }
3131 else throw("Match error")
3232 }
3333 if ((h != "no admin"))
3434 then $Tuple2([StringEntry(b, c)], unit)
35- else throw(("You not admin: " + d))
35+ else throw(((("You not admin: " + d) + " isAdmin: ") + h))
3636 }
3737 else throw("Unset admin list")
3838 }
3939
4040
4141 @Verifier(i)
4242 func j () = {
4343 let e = i
4444 sigVerify(i.bodyBytes, i.proofs[0], i.senderPublicKey)
4545 }
4646

github/deemru/w8io/169f3d6 
39.48 ms