tx · AzQ2XWazb7c7ks8zGFpFSVjku2BZkPQbhJmUDttTqyDo

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.02.02 23:24 [2432465] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "AzQ2XWazb7c7ks8zGFpFSVjku2BZkPQbhJmUDttTqyDo", "fee": 1000000, "feeAssetId": null, "timestamp": 1675369495739, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "3nagNDqsnGLqhQrqPrryz7KTXgHKWMaLiUT83AhofD1G33vC9PyxapocAsSeKo8tdGneE7cVMLASuDgPn9cDEt22" ], "script": "base64:BgIaCAISBAoCGBgSBAoCCAgSAwoBCBIFCgMICAgABAFpAQpzZXRPcHRpb25zAgRvcHRzBHZhbHMECG9wdF9zaXplCQCQAwEFBG9wdHMDCQBnAgBkBQhvcHRfc2l6ZQQJYWRtaW5MaXN0BAckbWF0Y2gwCQCdCAIFBHRoaXMCCmFkbWluX2xpc3QDCQABAgUHJG1hdGNoMAIEVW5pdAIFdW5zZXQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IKAQ5hZGRTdHJpbmdFbnRyeQIFYWNjdW0JbmV4dFZhbHVlBAkkdDA0NzI0OTUFBWFjY3VtBAZyZXN1bHQIBQkkdDA0NzI0OTUCXzEEAWoIBQkkdDA0NzI0OTUCXzIJAJQKAgkAzQgCBQZyZXN1bHQJAQtTdHJpbmdFbnRyeQIJAJEDAgUEb3B0cwUBagUJbmV4dFZhbHVlCQBkAgUBagABBAFyCgACJGwFBHZhbHMKAAIkcwkAkAMBBQIkbAoABSRhY2MwCQCUCgIFA25pbAAACgEFJGYwXzECAiRhAiRp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5hbWUCAXwFA2lubgIBfAUEb2dybgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAwIQ9BQR1bml0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgDAhD0FBHRVU0QFA25pbAUEdW5pdAkAAgECFUNhbiBiZSB1c2VkIG9ubHkgb25jZQECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACD0RhdGFUcmFuc2FjdGlvbgQDZHR4BQckbWF0Y2gwBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tlefHDy7Q=", "height": 2432465, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9C1EmqdgC2hxdpLqhEChhjySRCMLUyNeRuSjxmxRj9yU Next: 9ApoWDviDiZiFesUQkzoGc112Gw9dBdmrmx9KEohSP8F Diff:
OldNewDifferences
166166 @Verifier(J)
167167 func K () = {
168168 let f = J
169- sigVerify(J.bodyBytes, J.proofs[0], J.senderPublicKey)
169+ if ($isInstanceOf(f, "DataTransaction"))
170+ then {
171+ let L = f
172+ false
173+ }
174+ else sigVerify(J.bodyBytes, J.proofs[0], J.senderPublicKey)
170175 }
171176
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func setOptions (b,c) = {
88 let d = size(b)
99 if ((100 >= d))
1010 then {
1111 let e = {
1212 let f = getString(this, "admin_list")
1313 if ($isInstanceOf(f, "Unit"))
1414 then "unset"
1515 else if ($isInstanceOf(f, "String"))
1616 then {
1717 let g = f
1818 g
1919 }
2020 else throw("Match error")
2121 }
2222 func h (i,j) = {
2323 let k = i
2424 let l = k._1
2525 let m = k._2
2626 $Tuple2((l :+ StringEntry(b[m], j)), (m + 1))
2727 }
2828
2929 let n = {
3030 let o = c
3131 let p = size(o)
3232 let q = $Tuple2(nil, 0)
3333 func r (s,t) = if ((t >= p))
3434 then s
3535 else h(s, o[t])
3636
3737 func u (s,t) = if ((t >= p))
3838 then s
3939 else throw("List size exceeds 100")
4040
4141 u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
4242 }
4343 let v = toString(a.caller)
4444 if ((e != "unset"))
4545 then {
4646 let w = getString(addressFromStringValue(e), v)
4747 let x = {
4848 let f = w
4949 if ($isInstanceOf(f, "String"))
5050 then {
5151 let g = f
5252 g
5353 }
5454 else if ($isInstanceOf(f, "Unit"))
5555 then "no admin"
5656 else throw("Match error")
5757 }
5858 func y (z) = {
5959 let A = split(z, "|")
6060 StringEntry(A[0], A[1])
6161 }
6262
6363 if ((x != "no admin"))
6464 then n
6565 else throw((((((("You not admin: " + e) + ", isAdmin: ") + x) + ", callerAddressStr: ") + v) + ", "))
6666 }
6767 else throw("Unset admin list")
6868 }
6969 else throw("The number of list elements must not exceed 100")
7070 }
7171
7272
7373
7474 @Callable(a)
7575 func setOption (B,C) = {
7676 let e = {
7777 let f = getString(this, "admin_list")
7878 if ($isInstanceOf(f, "Unit"))
7979 then "unset"
8080 else if ($isInstanceOf(f, "String"))
8181 then {
8282 let g = f
8383 g
8484 }
8585 else throw("Match error")
8686 }
8787 let v = toString(a.caller)
8888 if ((e != "unset"))
8989 then {
9090 let w = getString(addressFromStringValue(e), v)
9191 let x = {
9292 let f = w
9393 if ($isInstanceOf(f, "String"))
9494 then {
9595 let g = f
9696 g
9797 }
9898 else if ($isInstanceOf(f, "Unit"))
9999 then "no admin"
100100 else throw("Match error")
101101 }
102102 if ((x != "no admin"))
103103 then $Tuple2([StringEntry(B, C)], unit)
104104 else throw((((((("You not admin: " + e) + ", isAdmin: ") + x) + ", callerAddressStr: ") + v) + ", "))
105105 }
106106 else throw("Unset admin list")
107107 }
108108
109109
110110
111111 @Callable(a)
112112 func delOption (B) = {
113113 let e = {
114114 let f = getString(this, "admin_list")
115115 if ($isInstanceOf(f, "Unit"))
116116 then "unset"
117117 else if ($isInstanceOf(f, "String"))
118118 then {
119119 let g = f
120120 g
121121 }
122122 else throw("Match error")
123123 }
124124 let v = toString(a.caller)
125125 if ((e != "unset"))
126126 then {
127127 let w = getString(addressFromStringValue(e), v)
128128 let x = {
129129 let f = w
130130 if ($isInstanceOf(f, "String"))
131131 then {
132132 let g = f
133133 g
134134 }
135135 else if ($isInstanceOf(f, "Unit"))
136136 then "no admin"
137137 else throw("Match error")
138138 }
139139 if ((x != "no admin"))
140140 then $Tuple2([DeleteEntry(B)], unit)
141141 else throw((((((("You not admin: " + e) + ", isAdmin: ") + x) + ", callerAddressStr: ") + v) + ", "))
142142 }
143143 else throw("Unset admin list")
144144 }
145145
146146
147147
148148 @Callable(a)
149149 func regProvider (D,E,F) = {
150150 let G = {
151151 let f = getString(this, toBase58String(a.caller.bytes))
152152 if ($isInstanceOf(f, "String"))
153153 then {
154154 let H = f
155155 H
156156 }
157157 else "unset"
158158 }
159159 let I = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
160160 if ((G != "unset"))
161161 then $Tuple2([StringEntry(toBase58String(a.caller.bytes), ((((D + "|") + E) + "|") + F)), ScriptTransfer(a.caller, 1000000, unit), ScriptTransfer(a.caller, 1000000, I)], unit)
162162 else throw("Can be used only once")
163163 }
164164
165165
166166 @Verifier(J)
167167 func K () = {
168168 let f = J
169- sigVerify(J.bodyBytes, J.proofs[0], J.senderPublicKey)
169+ if ($isInstanceOf(f, "DataTransaction"))
170+ then {
171+ let L = f
172+ false
173+ }
174+ else sigVerify(J.bodyBytes, J.proofs[0], J.senderPublicKey)
170175 }
171176

github/deemru/w8io/169f3d6 
46.05 ms