tx · Be3BEo29WKnXRfKLq5mgfk6S7zhx8zqkPFw1mwVXtkDB

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.03.09 04:39 [2481905] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
39.70 ms