tx · 6vUFbjfbpUZS49RSnUMy2XHomoFJWoNuCo2ip5RpCmUQ

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.01.31 22:38 [2429550] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "6vUFbjfbpUZS49RSnUMy2XHomoFJWoNuCo2ip5RpCmUQ", "fee": 1000000, "feeAssetId": null, "timestamp": 1675193976567, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "2daHfUedipm8jWnBEtuWEutKr1H1jXRooowAE1NWLjD69TZop9gTtx5mvJtJmtoN4bkLi2HkgH2ad88k78eabuNq" ], "script": "base64:BgIICAISBAoCCAgAAQFpAQlzZXRPcHRpb24CCHZhcmlhYmxlBXZhbHVlBAlhZG1pbkxpc3QEByRtYXRjaDAJAJ0IAgUEdGhpcwIKYWRtaW5fbGlzdAMJAAECBQckbWF0Y2gwAgRVbml0AgV1bnNldAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgJAAIBAgtNYXRjaCBlcnJvcgQQY2FsbGVyQWRkcmVzc1N0cgkApQgBCAUBaQZjYWxsZXIDCQECIT0CBQlhZG1pbkxpc3QCBXVuc2V0BAR0ZXN0CQCdCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCWFkbWluTGlzdAUQY2FsbGVyQWRkcmVzc1N0cgQHaXNBZG1pbgQHJG1hdGNoMAUEdGVzdAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgDCQABAgUHJG1hdGNoMAIEVW5pdAIIbm8gYWRtaW4JAAIBAgtNYXRjaCBlcnJvcgMJAQIhPQIFB2lzQWRtaW4CCG5vIGFkbWluCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgUIdmFyaWFibGUFBXZhbHVlBQNuaWwFBHVuaXQJAAIBCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICAg9Zb3Ugbm90IGFkbWluOiAFCWFkbWluTGlzdAILLCBpc0FkbWluOiAFB2lzQWRtaW4CFCwgY2FsbGVyQWRkcmVzc1N0cjogBRBjYWxsZXJBZGRyZXNzU3RyAgIsIAkAAgECEFVuc2V0IGFkbWluIGxpc3QBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleY5TUKM=", "height": 2429550, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DgCJEjFWeAztV7XxKPFApK3QpSVGMWsHLSVmJ339PffL Next: 7tADDsjGjKL2YsTUVbYEAZrjX6P2EYc2sVPsXqr7R6YD Diff:
OldNewDifferences
1717 else throw("Match error")
1818 }
1919 let g = toString(a.caller)
20- let h = base58'3N6qFzWmhjoTvsk1bC2iN38i2qH95pqc6S7'
2120 if ((d != "unset"))
2221 then {
23- let i = getString(Address(h), g)
24- let j = {
25- let e = i
22+ let h = getString(addressFromStringValue(d), g)
23+ let i = {
24+ let e = h
2625 if ($isInstanceOf(e, "String"))
2726 then {
2827 let f = e
3231 then "no admin"
3332 else throw("Match error")
3433 }
35- if ((j != "no admin"))
34+ if ((i != "no admin"))
3635 then $Tuple2([StringEntry(b, c)], unit)
37- else throw((((((("You not admin: " + d) + ", isAdmin: ") + j) + ", callerAddressStr: ") + g) + ", "))
36+ else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
3837 }
3938 else throw("Unset admin list")
4039 }
4140
4241
43-@Verifier(k)
44-func l () = {
45- let e = k
46- sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
42+@Verifier(j)
43+func k () = {
44+ let e = j
45+ sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
4746 }
4847
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)
20- let h = base58'3N6qFzWmhjoTvsk1bC2iN38i2qH95pqc6S7'
2120 if ((d != "unset"))
2221 then {
23- let i = getString(Address(h), g)
24- let j = {
25- let e = i
22+ let h = getString(addressFromStringValue(d), g)
23+ let i = {
24+ let e = h
2625 if ($isInstanceOf(e, "String"))
2726 then {
2827 let f = e
2928 f
3029 }
3130 else if ($isInstanceOf(e, "Unit"))
3231 then "no admin"
3332 else throw("Match error")
3433 }
35- if ((j != "no admin"))
34+ if ((i != "no admin"))
3635 then $Tuple2([StringEntry(b, c)], unit)
37- else throw((((((("You not admin: " + d) + ", isAdmin: ") + j) + ", callerAddressStr: ") + g) + ", "))
36+ else throw((((((("You not admin: " + d) + ", isAdmin: ") + i) + ", callerAddressStr: ") + g) + ", "))
3837 }
3938 else throw("Unset admin list")
4039 }
4140
4241
43-@Verifier(k)
44-func l () = {
45- let e = k
46- sigVerify(k.bodyBytes, k.proofs[0], k.senderPublicKey)
42+@Verifier(j)
43+func k () = {
44+ let e = j
45+ sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey)
4746 }
4847

github/deemru/w8io/169f3d6 
38.32 ms