tx · 7ezLxHDk3hpatzRXwXTQTZ26CDFV58GtpT9UHXxX76dr

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.01.31 21:54 [2429506] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "7ezLxHDk3hpatzRXwXTQTZ26CDFV58GtpT9UHXxX76dr", "fee": 1000000, "feeAssetId": null, "timestamp": 1675191293000, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "nZ4gYXixKjQxzGaeBvNUn5sv8TsMoyx6JReB6pvZcyPZrR4NrcsSMPCvDSHFXWavTXAsJjRPYqWSTTq6wWjfm8J" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlzZXRPcHRpb24CCHZhcmlhYmxlBXZhbHVlBAlhZG1pbkxpc3QEByRtYXRjaDAJAJ0IAgUEdGhpcwIKYWRtaW5fbGlzdAMJAAECBQckbWF0Y2gwAgRVbml0AgV1bnNldAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgJAAIBAgtNYXRjaCBlcnJvcgQQY2FsbGVyQWRkcmVzc1N0cgkApQgBCAUBaQZjYWxsZXIDCQECIT0CBQlhZG1pbkxpc3QCBXVuc2V0BAdpc0FkbWluBAckbWF0Y2gwCQCdCAIFBHRoaXMFEGNhbGxlckFkZHJlc3NTdHIDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4AwkAAQIFByRtYXRjaDACBFVuaXQCCG5vIGFkbWluCQACAQILTWF0Y2ggZXJyb3IDCQECIT0CBQdpc0FkbWluAghubyBhZG1pbgkAlAoCCQDMCAIJAQtTdHJpbmdFbnRyeQIFCHZhcmlhYmxlBQV2YWx1ZQUDbmlsBQR1bml0CQACAQkArAICCQCsAgIJAKwCAgkArAICCQCsAgICD1lvdSBub3QgYWRtaW46IAUJYWRtaW5MaXN0AgogaXNBZG1pbjogBQdpc0FkbWluAhMgY2FsbGVyQWRkcmVzc1N0cjogBRBjYWxsZXJBZGRyZXNzU3RyCQACAQIQVW5zZXQgYWRtaW4gbGlzdAECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4CQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5VeK8uw==", "height": 2429506, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CAM5PZfY8jGXYwXJKNFaZWtBwwsKUGtUsbmNRYKMYWaG Next: 3fHozuthccQphc45kWqP3bSZJes9NqTjQ4UxuYtmmJCv Diff:
OldNewDifferences
2121 then {
2222 let h = {
2323 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- }
24+ if ($isInstanceOf(e, "String"))
25+ then {
26+ let f = e
27+ f
28+ }
29+ else if ($isInstanceOf(e, "Unit"))
30+ then "no admin"
3131 else throw("Match error")
3232 }
3333 if ((h != "no admin"))
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_list")
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)
24- if ($isInstanceOf(e, "Unit"))
25- then "no admin"
26- else if ($isInstanceOf(e, "String"))
27- then {
28- let f = e
29- f
30- }
24+ if ($isInstanceOf(e, "String"))
25+ then {
26+ let f = e
27+ f
28+ }
29+ else if ($isInstanceOf(e, "Unit"))
30+ then "no admin"
3131 else throw("Match error")
3232 }
3333 if ((h != "no admin"))
3434 then $Tuple2([StringEntry(b, c)], unit)
3535 else throw(((((("You not admin: " + d) + " isAdmin: ") + h) + " callerAddressStr: ") + g))
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 
27.99 ms