tx · 7xJQ1uhGCqGLXDZ8uJYfiRCzhyUV3Bur8wFkfcVpESCv

3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb:  -0.01000000 Waves

2023.02.14 20:11 [2449575] smart account 3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb > SELF 0.00000000 Waves

{ "type": 13, "id": "7xJQ1uhGCqGLXDZ8uJYfiRCzhyUV3Bur8wFkfcVpESCv", "fee": 1000000, "feeAssetId": null, "timestamp": 1676394791141, "version": 2, "chainId": 84, "sender": "3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb", "senderPublicKey": "GWpjPX6mt3HRdUusZGysPeTyNhb6kELXVYQRJny11i59", "proofs": [ "3CAmrejvrGDfFs4dFrgGueKsErmnEaFixCdBttkM1rsYZrbQmJy6uoCM6qkzxHcMk1L6HqSgbibF7VvWc7T9Uram" ], "script": "base64:AAIFAAAAAAAAAA0IAhIDCgEIEgQKAggIAAAAAAAAAAIAAAABaQEAAAAJYWNjZXB0UmVnAAAAAQAAAA1wcm92aWRlcl9hZGRyBAAAAAxvcHRpb25zX2FkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRBW/gr9hfqKqHLxIrx+8e7siBhMf6HIMEEAAAACWFkbWluTGlzdAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAxvcHRpb25zX2FkZHICAAAACmFkbWluX2xpc3QDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQCAAAABXVuc2V0AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXgFAAAAByRtYXRjaDAFAAAAAXgJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IEAAAAEGNhbGxlckFkZHJlc3NTdHIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyAwkBAAAAAiE9AAAAAgUAAAAJYWRtaW5MaXN0AgAAAAV1bnNldAQAAAAEdGVzdAkABB0AAAACCQEAAAARQGV4dHJOYXRpdmUo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449575, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6kk8y4UsjTjk2Z4mpJ67yRHET1M8LFg37zD9TVMPTCbV Next: Hwu5a59LmVmQnvrTbdKaAi2noCH4d4zAu9iQo9ZxwcSu Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func setOption (b,c) = {
7+func acceptReg (b) = {
8+ let c = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
89 let d = {
9- let e = getString(this, "admin_list")
10+ let e = getString(c, "admin_list")
1011 if ($isInstanceOf(e, "Unit"))
1112 then "unset"
1213 else if ($isInstanceOf(e, "String"))
3233 else throw("Match error")
3334 }
3435 if ((i != "no admin"))
35- then $Tuple2([StringEntry(b, c)], unit)
36+ then $Tuple2([StringEntry(b, "")], unit)
3637 else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
3738 }
3839 else throw("Unset admin list")
4142
4243
4344 @Callable(a)
44-func delOption (b) = {
45+func rejectReg (b,j) = {
46+ let c = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
4547 let d = {
46- let e = getString(this, "admin_list")
48+ let e = getString(c, "admin_list")
4749 if ($isInstanceOf(e, "Unit"))
4850 then "unset"
4951 else if ($isInstanceOf(e, "String"))
6971 else throw("Match error")
7072 }
7173 if ((i != "no admin"))
72- then $Tuple2([DeleteEntry(b)], unit)
74+ then $Tuple2([StringEntry(b, j)], unit)
7375 else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
7476 }
7577 else throw("Unset admin list")
7678 }
7779
7880
79-@Verifier(j)
80-func k () = {
81- let e = j
82- sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
81+@Verifier(k)
82+func l () = {
83+ let e = k
84+ sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
8385 }
8486
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func setOption (b,c) = {
7+func acceptReg (b) = {
8+ let c = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
89 let d = {
9- let e = getString(this, "admin_list")
10+ let e = getString(c, "admin_list")
1011 if ($isInstanceOf(e, "Unit"))
1112 then "unset"
1213 else if ($isInstanceOf(e, "String"))
1314 then {
1415 let f = e
1516 f
1617 }
1718 else throw("Match error")
1819 }
1920 let g = toString(a.caller)
2021 if ((d != "unset"))
2122 then {
2223 let h = getString(addressFromStringValue(d), g)
2324 let i = {
2425 let e = h
2526 if ($isInstanceOf(e, "String"))
2627 then {
2728 let f = e
2829 f
2930 }
3031 else if ($isInstanceOf(e, "Unit"))
3132 then "no admin"
3233 else throw("Match error")
3334 }
3435 if ((i != "no admin"))
35- then $Tuple2([StringEntry(b, c)], unit)
36+ then $Tuple2([StringEntry(b, "")], unit)
3637 else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
3738 }
3839 else throw("Unset admin list")
3940 }
4041
4142
4243
4344 @Callable(a)
44-func delOption (b) = {
45+func rejectReg (b,j) = {
46+ let c = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
4547 let d = {
46- let e = getString(this, "admin_list")
48+ let e = getString(c, "admin_list")
4749 if ($isInstanceOf(e, "Unit"))
4850 then "unset"
4951 else if ($isInstanceOf(e, "String"))
5052 then {
5153 let f = e
5254 f
5355 }
5456 else throw("Match error")
5557 }
5658 let g = toString(a.caller)
5759 if ((d != "unset"))
5860 then {
5961 let h = getString(addressFromStringValue(d), g)
6062 let i = {
6163 let e = h
6264 if ($isInstanceOf(e, "String"))
6365 then {
6466 let f = e
6567 f
6668 }
6769 else if ($isInstanceOf(e, "Unit"))
6870 then "no admin"
6971 else throw("Match error")
7072 }
7173 if ((i != "no admin"))
72- then $Tuple2([DeleteEntry(b)], unit)
74+ then $Tuple2([StringEntry(b, j)], unit)
7375 else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
7476 }
7577 else throw("Unset admin list")
7678 }
7779
7880
79-@Verifier(j)
80-func k () = {
81- let e = j
82- sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
81+@Verifier(k)
82+func l () = {
83+ let e = k
84+ sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
8385 }
8486

github/deemru/w8io/169f3d6 
41.99 ms