tx · J1vhaCPRnMrrRAf1BKTMrHimbcLecqtNbWFqmjrhqdNY

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.03.09 02:05 [2481742] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "J1vhaCPRnMrrRAf1BKTMrHimbcLecqtNbWFqmjrhqdNY", "fee": 1000000, "feeAssetId": null, "timestamp": 1678316693671, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "5HbBkUNPiUGmQ6dQLMARCGopSfkFMYQsQpFkRNtYHPhckoug2eVQnkvSdVxnGad9oQzbySgfNgfP5av2ptK79BqV" ], "script": "base64:BgIlCAISAwoBARIECgIIARIECgIYGBIECgIICBIDCgEIEgUKAwgICAMADG9wdGlvbnNfYWRkcgkBB0FkZHJlc3MBARoBVEFb+Cv2F+oqocvEivH7x7uyIGEx/ocgwQAEdFJVQgEgv7I1LEj/fS4nZAGEmW42z/vK94nfeiKN08fw7a6U2ZsABHRVU0QBIKskSmq2Qkbr0vzjebBhusOuaVdNUnrKRRynQB0RsCkOBgFpARFyZWlzc3VlRm9yRGVwQWRkcgEIcXVhbnRpdHkECWFkbWluTGlzdAQHJG1hdGNoMAkAnQgCBQxvcHRpb25zX2FkZHICCmFkbWluX2xpc3QDCQABAgUHJG1hdGNoMAIEVW5pdAIFdW5zZXQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IEEGNhbGxlckFkZHJlc3NTdHIJAKUIAQgFAWkGY2FsbGVyAwkBAiE9AgUJYWRtaW5MaXN0AgV1bnNldAQEdGVzdAkAnQgCCQERQGV4dHJOYXRpdmUoMTA2MikBBQlhZG1pbkxpc3QFEGNhbGxlckFk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oMAkAnQgCBQR0aGlzCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMDCQABAgUHJG1hdGNoMAIGU3RyaW5nBARoaXN0BQckbWF0Y2gwBQRoaXN0AgV1bnNldAMJAQIhPQIFDWlzS25vd25DYWxsZXICBXVuc2V0CQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzCQCsAgIJAKwCAgkArAICCQCsAgIFBG5hbWUCAXwFA2lubgIBfAUEb2dybgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAwIQ9BQR1bml0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgDAhD0FBHRVU0QFA25pbAUEdW5pdAkAAgECFUNhbiBiZSB1c2VkIG9ubHkgb25jZQECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACD0RhdGFUcmFuc2FjdGlvbgQDZHR4BQckbWF0Y2gwBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleXzDrx0=", "height": 2481742, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FYeMVKrH18nYqyey541apASFftx2qbSjVAbHwMD1oGD9 Next: 7qrDyWvjsiuoLanhbcFvzGxuvfAuBoBjbrJyLbaKuRex Diff:
OldNewDifferences
3838 if ((k != "no admin"))
3939 then {
4040 let l = Reissue(b, e, true)
41- $Tuple2([l], (((((("Reissue error for param: token => quantity:" + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
41+ $Tuple2([l], (((((((("Reissue error for param: token =>" + toUtf8String(b)) + " quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
4242 }
4343 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4444 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
55
66 let b = base58'DuJUjEZJWmpFUo3bubFX8tomUVitqZZNAPuhd6KWgJNE'
77
88 let c = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
99
1010 @Callable(d)
1111 func reissueForDepAddr (e) = {
1212 let f = {
1313 let g = getString(a, "admin_list")
1414 if ($isInstanceOf(g, "Unit"))
1515 then "unset"
1616 else if ($isInstanceOf(g, "String"))
1717 then {
1818 let h = g
1919 h
2020 }
2121 else throw("Match error")
2222 }
2323 let i = toString(d.caller)
2424 if ((f != "unset"))
2525 then {
2626 let j = getString(addressFromStringValue(f), i)
2727 let k = {
2828 let g = j
2929 if ($isInstanceOf(g, "String"))
3030 then {
3131 let h = g
3232 h
3333 }
3434 else if ($isInstanceOf(g, "Unit"))
3535 then "no admin"
3636 else throw("Match error")
3737 }
3838 if ((k != "no admin"))
3939 then {
4040 let l = Reissue(b, e, true)
41- $Tuple2([l], (((((("Reissue error for param: token => quantity:" + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
41+ $Tuple2([l], (((((((("Reissue error for param: token =>" + toUtf8String(b)) + " quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
4242 }
4343 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4444 }
4545 else throw("Unset admin list")
4646 }
4747
4848
4949
5050 @Callable(d)
5151 func reissueTokens (m,e) = {
5252 let f = {
5353 let g = getString(a, "admin_list")
5454 if ($isInstanceOf(g, "Unit"))
5555 then "unset"
5656 else if ($isInstanceOf(g, "String"))
5757 then {
5858 let h = g
5959 h
6060 }
6161 else throw("Match error")
6262 }
6363 let i = toString(d.caller)
6464 if ((f != "unset"))
6565 then {
6666 let j = getString(addressFromStringValue(f), i)
6767 let k = {
6868 let g = j
6969 if ($isInstanceOf(g, "String"))
7070 then {
7171 let h = g
7272 h
7373 }
7474 else if ($isInstanceOf(g, "Unit"))
7575 then "no admin"
7676 else throw("Match error")
7777 }
7878 if ((k != "no admin"))
7979 then {
8080 let l = Reissue(fromBase58String(m), e, true)
8181 $Tuple2([l], (((((((("Reissue error for param: token => " + m) + ", quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
8282 }
8383 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
8484 }
8585 else throw("Unset admin list")
8686 }
8787
8888
8989
9090 @Callable(d)
9191 func setOptions (n,o) = {
9292 let p = size(n)
9393 if ((100 >= p))
9494 then {
9595 let f = {
9696 let g = getString(this, "admin_list")
9797 if ($isInstanceOf(g, "Unit"))
9898 then "unset"
9999 else if ($isInstanceOf(g, "String"))
100100 then {
101101 let h = g
102102 h
103103 }
104104 else throw("Match error")
105105 }
106106 func q (r,s) = {
107107 let t = r
108108 let u = t._1
109109 let v = t._2
110110 $Tuple2((u :+ StringEntry(n[v], s)), (v + 1))
111111 }
112112
113113 let w = {
114114 let x = o
115115 let y = size(x)
116116 let z = $Tuple2(nil, 0)
117117 func A (B,C) = if ((C >= y))
118118 then B
119119 else q(B, x[C])
120120
121121 func D (B,C) = if ((C >= y))
122122 then B
123123 else throw("List size exceeds 100")
124124
125125 D(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(z, 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)
126126 }
127127 let i = toString(d.caller)
128128 if ((f != "unset"))
129129 then {
130130 let j = getString(addressFromStringValue(f), i)
131131 let k = {
132132 let g = j
133133 if ($isInstanceOf(g, "String"))
134134 then {
135135 let h = g
136136 h
137137 }
138138 else if ($isInstanceOf(g, "Unit"))
139139 then "no admin"
140140 else throw("Match error")
141141 }
142142 func E (F) = {
143143 let G = split(F, "|")
144144 StringEntry(G[0], G[1])
145145 }
146146
147147 if ((k != "no admin"))
148148 then w
149149 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
150150 }
151151 else throw("Unset admin list")
152152 }
153153 else throw("The number of list elements must not exceed 100")
154154 }
155155
156156
157157
158158 @Callable(d)
159159 func setOption (H,I) = {
160160 let f = {
161161 let g = getString(this, "admin_list")
162162 if ($isInstanceOf(g, "Unit"))
163163 then "unset"
164164 else if ($isInstanceOf(g, "String"))
165165 then {
166166 let h = g
167167 h
168168 }
169169 else throw("Match error")
170170 }
171171 let i = toString(d.caller)
172172 if ((f != "unset"))
173173 then {
174174 let j = getString(addressFromStringValue(f), i)
175175 let k = {
176176 let g = j
177177 if ($isInstanceOf(g, "String"))
178178 then {
179179 let h = g
180180 h
181181 }
182182 else if ($isInstanceOf(g, "Unit"))
183183 then "no admin"
184184 else throw("Match error")
185185 }
186186 if ((k != "no admin"))
187187 then $Tuple2([StringEntry(H, I)], unit)
188188 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
189189 }
190190 else throw("Unset admin list")
191191 }
192192
193193
194194
195195 @Callable(d)
196196 func delOption (H) = {
197197 let f = {
198198 let g = getString(this, "admin_list")
199199 if ($isInstanceOf(g, "Unit"))
200200 then "unset"
201201 else if ($isInstanceOf(g, "String"))
202202 then {
203203 let h = g
204204 h
205205 }
206206 else throw("Match error")
207207 }
208208 let i = toString(d.caller)
209209 if ((f != "unset"))
210210 then {
211211 let j = getString(addressFromStringValue(f), i)
212212 let k = {
213213 let g = j
214214 if ($isInstanceOf(g, "String"))
215215 then {
216216 let h = g
217217 h
218218 }
219219 else if ($isInstanceOf(g, "Unit"))
220220 then "no admin"
221221 else throw("Match error")
222222 }
223223 if ((k != "no admin"))
224224 then $Tuple2([DeleteEntry(H)], unit)
225225 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
226226 }
227227 else throw("Unset admin list")
228228 }
229229
230230
231231
232232 @Callable(d)
233233 func regProvider (J,K,L) = {
234234 let M = {
235235 let g = getString(this, toBase58String(d.caller.bytes))
236236 if ($isInstanceOf(g, "String"))
237237 then {
238238 let N = g
239239 N
240240 }
241241 else "unset"
242242 }
243243 if ((M != "unset"))
244244 then $Tuple2([StringEntry(toBase58String(d.caller.bytes), ((((J + "|") + K) + "|") + L)), ScriptTransfer(d.caller, 1000000, unit), ScriptTransfer(d.caller, 1000000, c)], unit)
245245 else throw("Can be used only once")
246246 }
247247
248248
249249 @Verifier(O)
250250 func P () = {
251251 let g = O
252252 if ($isInstanceOf(g, "DataTransaction"))
253253 then {
254254 let Q = g
255255 false
256256 }
257257 else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
258258 }
259259

github/deemru/w8io/169f3d6 
54.22 ms