tx · G7M1LU25oTuV78ygesZh9Vma3KeDGnJtSXX8BewXjGAP

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.03.09 06:47 [2482033] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "G7M1LU25oTuV78ygesZh9Vma3KeDGnJtSXX8BewXjGAP", "fee": 1000000, "feeAssetId": null, "timestamp": 1678333670546, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "2FTDQqtvdBTcYd4exoyK5XgWMhBzm3t6rUSXYvd3kUERhHSpeMJpgt3E6yhxXmLa5CnPgFn3quD6FWhA1RgAaU8A" ], "script": "base64:BgIqCAISAwoBARIDCgEBEgQKAggBEgQKAhgYEgQKAggIEgMKAQgSBQoDCAgIAwAMb3B0aW9uc19hZGRyCQEHQWRkcmVzcwEBGgFUQVv4K/YX6iqhy8SK8fvHu7IgYTH+hyDBAAR0UlVCASC/sjUsSP99LidkAYSZbjbP+8r3id96Io3Tx/DtrpTZmwAEdFVTRAEgqyRKarZCRuvS/ON5sGG6w65pV01SespFHKdAHRGwKQ4HAWkBEXJlaXNzdWVGb3JSZWdQcm92AQhxdWFudGl0eQQJYWRtaW5MaXN0BAckbWF0Y2gwCQCdCAIFDG9wdGlvbnNfYWRkcgIKYWRtaW5fbGlzdAMJAAECBQckbWF0Y2gwAgRVbml0AgV1bnNldAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXgFByRtYXRjaDAFAXgJAAIBAgtNYXRjaCBlcnJvcgQQY2FsbGVyQWRkcmVzc1N0cgkApQgBCAUBaQZjYWxsZXIDCQECIT0CBQlhZG1pbkxpc3QCBXVuc2V0BAR0ZXN0CQCdCAIJARFAZXh0ck5hdGl2ZSgxMDYyKQEFCWFkbWluTGl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U3RyaW5nBARoaXN0BQckbWF0Y2gwBQRoaXN0AgV1bnNldAMJAQIhPQIFDWlzS25vd25DYWxsZXICBXVuc2V0CQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzCQCsAgIJAKwCAgkArAICCQCsAgIFBG5hbWUCAXwFA2lubgIBfAUEb2dybgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZjYWxsZXIAwIQ9BQR1bml0CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgDAhD0FBHRVU0QFA25pbAUEdW5pdAkAAgECFUNhbiBiZSB1c2VkIG9ubHkgb25jZQECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACD0RhdGFUcmFuc2FjdGlvbgQDZHR4BQckbWF0Y2gwBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleclFCtE=", "height": 2482033, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Be3BEo29WKnXRfKLq5mgfk6S7zhx8zqkPFw1mwVXtkDB Next: GLRv4H2cV4qr8RCT6nyUdYX7LBwsBHei6mR4tg29uAzc Diff:
OldNewDifferences
66 let b = base58'DuJUjEZJWmpFUo3bubFX8tomUVitqZZNAPuhd6KWgJNE'
77
88 let c = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
9+
10+@Callable(d)
11+func reissueForRegProv (e) = {
12+ let f = {
13+ let g = getString(a, "admin_list")
14+ if ($isInstanceOf(g, "Unit"))
15+ then "unset"
16+ else if ($isInstanceOf(g, "String"))
17+ then {
18+ let h = g
19+ h
20+ }
21+ else throw("Match error")
22+ }
23+ let i = toString(d.caller)
24+ if ((f != "unset"))
25+ then {
26+ let j = getString(addressFromStringValue(f), i)
27+ let k = {
28+ let g = j
29+ if ($isInstanceOf(g, "String"))
30+ then {
31+ let h = g
32+ h
33+ }
34+ else if ($isInstanceOf(g, "Unit"))
35+ then "no admin"
36+ else throw("Match error")
37+ }
38+ if ((k != "no admin"))
39+ then {
40+ let l = Reissue(c, e, true)
41+ if ((l == l))
42+ then $Tuple2([l, ScriptTransfer(d.caller, e, b)], "Reissue called")
43+ else throw("Strict value is not equal to itself.")
44+ }
45+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
46+ }
47+ else throw("Unset admin list")
48+ }
49+
50+
951
1052 @Callable(d)
1153 func reissueForDepAddr (e) = {
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'
9+
10+@Callable(d)
11+func reissueForRegProv (e) = {
12+ let f = {
13+ let g = getString(a, "admin_list")
14+ if ($isInstanceOf(g, "Unit"))
15+ then "unset"
16+ else if ($isInstanceOf(g, "String"))
17+ then {
18+ let h = g
19+ h
20+ }
21+ else throw("Match error")
22+ }
23+ let i = toString(d.caller)
24+ if ((f != "unset"))
25+ then {
26+ let j = getString(addressFromStringValue(f), i)
27+ let k = {
28+ let g = j
29+ if ($isInstanceOf(g, "String"))
30+ then {
31+ let h = g
32+ h
33+ }
34+ else if ($isInstanceOf(g, "Unit"))
35+ then "no admin"
36+ else throw("Match error")
37+ }
38+ if ((k != "no admin"))
39+ then {
40+ let l = Reissue(c, e, true)
41+ if ((l == l))
42+ then $Tuple2([l, ScriptTransfer(d.caller, e, b)], "Reissue called")
43+ else throw("Strict value is not equal to itself.")
44+ }
45+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
46+ }
47+ else throw("Unset admin list")
48+ }
49+
50+
951
1052 @Callable(d)
1153 func reissueForDepAddr (e) = {
1254 let f = {
1355 let g = getString(a, "admin_list")
1456 if ($isInstanceOf(g, "Unit"))
1557 then "unset"
1658 else if ($isInstanceOf(g, "String"))
1759 then {
1860 let h = g
1961 h
2062 }
2163 else throw("Match error")
2264 }
2365 let i = toString(d.caller)
2466 if ((f != "unset"))
2567 then {
2668 let j = getString(addressFromStringValue(f), i)
2769 let k = {
2870 let g = j
2971 if ($isInstanceOf(g, "String"))
3072 then {
3173 let h = g
3274 h
3375 }
3476 else if ($isInstanceOf(g, "Unit"))
3577 then "no admin"
3678 else throw("Match error")
3779 }
3880 if ((k != "no admin"))
3981 then {
4082 let l = Reissue(b, e, true)
4183 if ((l == l))
4284 then $Tuple2([l, ScriptTransfer(d.caller, e, b)], "Reissue called")
4385 else throw("Strict value is not equal to itself.")
4486 }
4587 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4688 }
4789 else throw("Unset admin list")
4890 }
4991
5092
5193
5294 @Callable(d)
5395 func reissueTokens (m,e) = {
5496 let f = {
5597 let g = getString(a, "admin_list")
5698 if ($isInstanceOf(g, "Unit"))
5799 then "unset"
58100 else if ($isInstanceOf(g, "String"))
59101 then {
60102 let h = g
61103 h
62104 }
63105 else throw("Match error")
64106 }
65107 let i = toString(d.caller)
66108 if ((f != "unset"))
67109 then {
68110 let j = getString(addressFromStringValue(f), i)
69111 let k = {
70112 let g = j
71113 if ($isInstanceOf(g, "String"))
72114 then {
73115 let h = g
74116 h
75117 }
76118 else if ($isInstanceOf(g, "Unit"))
77119 then "no admin"
78120 else throw("Match error")
79121 }
80122 if ((k != "no admin"))
81123 then {
82124 let l = Reissue(fromBase58String(m), e, true)
83125 $Tuple2([l], (((((((("Reissue error for param: token => " + m) + ", quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
84126 }
85127 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
86128 }
87129 else throw("Unset admin list")
88130 }
89131
90132
91133
92134 @Callable(d)
93135 func setOptions (n,o) = {
94136 let p = size(n)
95137 if ((100 >= p))
96138 then {
97139 let f = {
98140 let g = getString(this, "admin_list")
99141 if ($isInstanceOf(g, "Unit"))
100142 then "unset"
101143 else if ($isInstanceOf(g, "String"))
102144 then {
103145 let h = g
104146 h
105147 }
106148 else throw("Match error")
107149 }
108150 func q (r,s) = {
109151 let t = r
110152 let u = t._1
111153 let v = t._2
112154 $Tuple2((u :+ StringEntry(n[v], s)), (v + 1))
113155 }
114156
115157 let w = {
116158 let x = o
117159 let y = size(x)
118160 let z = $Tuple2(nil, 0)
119161 func A (B,C) = if ((C >= y))
120162 then B
121163 else q(B, x[C])
122164
123165 func D (B,C) = if ((C >= y))
124166 then B
125167 else throw("List size exceeds 100")
126168
127169 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)
128170 }
129171 let i = toString(d.caller)
130172 if ((f != "unset"))
131173 then {
132174 let j = getString(addressFromStringValue(f), i)
133175 let k = {
134176 let g = j
135177 if ($isInstanceOf(g, "String"))
136178 then {
137179 let h = g
138180 h
139181 }
140182 else if ($isInstanceOf(g, "Unit"))
141183 then "no admin"
142184 else throw("Match error")
143185 }
144186 func E (F) = {
145187 let G = split(F, "|")
146188 StringEntry(G[0], G[1])
147189 }
148190
149191 if ((k != "no admin"))
150192 then w
151193 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
152194 }
153195 else throw("Unset admin list")
154196 }
155197 else throw("The number of list elements must not exceed 100")
156198 }
157199
158200
159201
160202 @Callable(d)
161203 func setOption (H,I) = {
162204 let f = {
163205 let g = getString(this, "admin_list")
164206 if ($isInstanceOf(g, "Unit"))
165207 then "unset"
166208 else if ($isInstanceOf(g, "String"))
167209 then {
168210 let h = g
169211 h
170212 }
171213 else throw("Match error")
172214 }
173215 let i = toString(d.caller)
174216 if ((f != "unset"))
175217 then {
176218 let j = getString(addressFromStringValue(f), i)
177219 let k = {
178220 let g = j
179221 if ($isInstanceOf(g, "String"))
180222 then {
181223 let h = g
182224 h
183225 }
184226 else if ($isInstanceOf(g, "Unit"))
185227 then "no admin"
186228 else throw("Match error")
187229 }
188230 if ((k != "no admin"))
189231 then $Tuple2([StringEntry(H, I)], unit)
190232 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
191233 }
192234 else throw("Unset admin list")
193235 }
194236
195237
196238
197239 @Callable(d)
198240 func delOption (H) = {
199241 let f = {
200242 let g = getString(this, "admin_list")
201243 if ($isInstanceOf(g, "Unit"))
202244 then "unset"
203245 else if ($isInstanceOf(g, "String"))
204246 then {
205247 let h = g
206248 h
207249 }
208250 else throw("Match error")
209251 }
210252 let i = toString(d.caller)
211253 if ((f != "unset"))
212254 then {
213255 let j = getString(addressFromStringValue(f), i)
214256 let k = {
215257 let g = j
216258 if ($isInstanceOf(g, "String"))
217259 then {
218260 let h = g
219261 h
220262 }
221263 else if ($isInstanceOf(g, "Unit"))
222264 then "no admin"
223265 else throw("Match error")
224266 }
225267 if ((k != "no admin"))
226268 then $Tuple2([DeleteEntry(H)], unit)
227269 else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
228270 }
229271 else throw("Unset admin list")
230272 }
231273
232274
233275
234276 @Callable(d)
235277 func regProvider (J,K,L) = {
236278 let M = {
237279 let g = getString(this, toBase58String(d.caller.bytes))
238280 if ($isInstanceOf(g, "String"))
239281 then {
240282 let N = g
241283 N
242284 }
243285 else "unset"
244286 }
245287 if ((M != "unset"))
246288 then $Tuple2([StringEntry(toBase58String(d.caller.bytes), ((((J + "|") + K) + "|") + L)), ScriptTransfer(d.caller, 1000000, unit), ScriptTransfer(d.caller, 1000000, c)], unit)
247289 else throw("Can be used only once")
248290 }
249291
250292
251293 @Verifier(O)
252294 func P () = {
253295 let g = O
254296 if ($isInstanceOf(g, "DataTransaction"))
255297 then {
256298 let Q = g
257299 false
258300 }
259301 else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
260302 }
261303

github/deemru/w8io/169f3d6 
47.24 ms