tx · C8q679QND49iekVWNm7eeEXnLKhZiZrapBQeP4GKzGvh

3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj:  -0.01100000 Waves

2023.01.22 04:37 [2415513] smart account 3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj > SELF 0.00000000 Waves

{ "type": 13, "id": "C8q679QND49iekVWNm7eeEXnLKhZiZrapBQeP4GKzGvh", "fee": 1100000, "feeAssetId": null, "timestamp": 1674351558475, "version": 2, "chainId": 84, "sender": "3N8xXaYjE27Aa79d5hHrhHu9HaFoTBmhDEj", "senderPublicKey": "A2m227AHcq7gWfSU59Q3UJaqkEa7SccFYmJuWHbFrrKE", "proofs": [ "4xcAgZxaoEMADScUYJoSxxzmUAooGaisTxJ5saFgqciSPyZCx4b2qTAR9HMXX25xiHvgDr3qZAwEEA3PE8rw6WT4" ], "script": "base64:BgJNCAISBAoCCAgSBAoCBAgSAwoBBBIICgYICAgIAQgSCAoGCAgICAEIEgQKAggIEgYKBAgICAgSAwoBCBIGCgQICAEBEgQKAggIEgMKAQgoAAdWRVJTSU9OAgMxLjUBDmdldFN0cmluZ0J5S2V5AQNrZXkJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwUDa2V5AgABD2dldEJvb2xlYW5CeUtleQEDa2V5CQELdmFsdWVPckVsc2UCCQCbCAIFBHRoaXMFA2tleQcBD2dldEludGVnZXJCeUtleQEDa2V5CQELdmFsdWVPckVsc2UCCQCaCAIFBHRoaXMFA2tleQAAAAVjaHJpcwkBDmdldFN0cmluZ0J5S2V5AQIMY29uZl9hZG1pbl8xAA5kYXBwUnVubmluZ0tleQIUY29uZl9kYXBwX2lzX3J1bm5pbmcAEW1haW50ZW5hbmNlTVNHS2V5AhRjb25mX21haW50ZW5hbmNlX21zZwASd2hpdGVsaXN0ZWRvbmx5S2V5AhVjb25mX3doaXRlbGlzdGVkX29ubHkAC2RhcHBSdW5uaW5nCQELdmFsdWVPckVsc2UCCQCbCAIFBHRoaXMF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JAAACCAUDaW52CmZlZUFzc2V0SWQFBHVuaXQHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACQDZBAEJAQhhc1N0cmluZwEJAJEDAggFA2ludgRhcmdzAAIJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXnJ0O/q", "height": 2415513, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GDaHvZ6GS1kABSw8Y1AfUReJ5K4My1sMXnevVLiH7R9 Next: 6JFcVEWo1PbA3P5YrPgfZgsSM9LtjLBdu3JJHDTdALoD Diff:
OldNewDifferences
320320 let w = toString(am.caller)
321321 if (containsElement([f, toString(this)], w))
322322 then if ((size(U) == 0))
323- then {
324- let X = b(B(W))
325- if ((X != ""))
326- then [StringEntry(B(W), X), StringEntry(("user_note_" + W), aC), StringEntry(("user_label_" + W), aD)]
327- else throw("No current status")
328- }
323+ then [StringEntry(("user_note_" + W), aC), StringEntry(("user_label_" + W), aD)]
329324 else {
330325 let X = b(B(W))
331326 let Z = V(U, W, X)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "1.5"
55
66 func b (c) = valueOrElse(getString(this, c), "")
77
88
99 func d (c) = valueOrElse(getBoolean(this, c), false)
1010
1111
1212 func e (c) = valueOrElse(getInteger(this, c), 0)
1313
1414
1515 let f = b("conf_admin_1")
1616
1717 let g = "conf_dapp_is_running"
1818
1919 let h = "conf_maintenance_msg"
2020
2121 let i = "conf_whitelisted_only"
2222
2323 let j = valueOrElse(getBoolean(this, g), true)
2424
2525 let k = valueOrElse(getString(this, h), "")
2626
2727 let l = valueOrElse(getBoolean(this, i), true)
2828
2929 let m = value(addressFromString(b("conf_whitelist_dapp")))
3030
3131 let n = "ALLOWED"
3232
3333 let o = "REGISTERED"
3434
3535 let p = "VERIFIED"
3636
3737 let q = "SUSPENDED"
3838
3939 let r = "REMOVED"
4040
4141 let s = "CHANGE_REQUIRED"
4242
4343 let t = "UNREGISTERED"
4444
4545 let u = "RESET"
4646
4747 func v (w) = ("user_" + w)
4848
4949
5050 func x (w) = ("user_name_" + w)
5151
5252
5353 func y (w) = ("user_desc_" + w)
5454
5555
5656 func z (w) = ("user_social_" + w)
5757
5858
5959 func A (w) = ("user_thumb_" + w)
6060
6161
6262 func B (w) = ("user_status_" + w)
6363
6464
6565 func C (w) = ("user_royalties_" + w)
6666
6767
6868 func D (w) = ("user_date_" + w)
6969
7070
7171 func E (w) = ("user_ERC20_" + w)
7272
7373
7474 func F (G) = ("artist_agent_" + G)
7575
7676
7777 func H (I,G) = ((("agent_" + I) + "_") + G)
7878
7979
8080 func J (G) = ("artist_agent_primary_" + G)
8181
8282
8383 func K (G) = ("artist_agent_secondary_" + G)
8484
8585
8686 func L (c) = valueOrElse(getInteger(m, c), 0)
8787
8888
8989 func M (N) = if (contains(N, "/"))
9090 then if (if ((76 > size(N)))
9191 then (size(split(N, "/")[0]) == 59)
9292 else false)
9393 then (16 > size(split(N, "/")[1]))
9494 else false
9595 else false
9696
9797
9898 func O (w,P,Q,R,S) = {
9999 let T = if ((size(R) != 0))
100100 then M(R)
101101 else true
102102 if (!(T))
103103 then throw("CID don't match requirement!")
104104 else if (if ((P == ""))
105105 then true
106106 else (Q == ""))
107107 then throw("Name and description cannot be empty")
108108 else if ((size(Q) > 600))
109109 then throw("600 Char. max description")
110110 else if ((size(P) > 45))
111111 then throw("45 Char. max name")
112112 else {
113113 let U = b(B(w))
114114 if (if ((U == q))
115115 then true
116116 else (U == r))
117117 then throw("Account suspended/ removed.")
118118 else if (if (!(S))
119119 then (U == o)
120120 else false)
121121 then throw("Already registered")
122122 else if (if (if (!(S))
123123 then (U == "")
124124 else false)
125125 then l
126126 else false)
127127 then throw("Can't register, get approved first.")
128128 else if (if (if (S)
129129 then (U == "")
130130 else false)
131131 then true
132132 else if (S)
133133 then (U == n)
134134 else false)
135135 then throw("Register first")
136136 else true
137137 }
138138 }
139139
140140
141141 func V (U,W,X) = {
142142 let Y = [p, o, q, r, n, s]
143143 let Z = if (containsElement(Y, U))
144144 then U
145145 else if (if ((U == u))
146146 then (X == n)
147147 else false)
148148 then ""
149149 else throw("Unknown status")
150150 let aa = e(D(W))
151151 if (if ((aa == 0))
152152 then (Z != n)
153153 else false)
154154 then throw("You cant set this status, user is not registered.")
155155 else if (if ((X == n))
156156 then (Z == n)
157157 else false)
158158 then throw("User already allowed")
159159 else if (if ((X == o))
160160 then (Z == n)
161161 else false)
162162 then throw("User already allowed & registered")
163163 else if (if ((X == p))
164164 then (Z == n)
165165 else false)
166166 then throw("User already allowed & verified")
167167 else Z
168168 }
169169
170170
171171 func ab (P,R,ac) = (((((("{\"user_name\": \"" + P) + "\", \"user_thumb\":\"") + R) + "\",\"user_date\":\"") + ac) + "\"}")
172172
173173
174174 func ad (ae) = {
175175 let af = ae
176176 if ($isInstanceOf(af, "String"))
177177 then {
178178 let ag = af
179179 ag
180180 }
181181 else throw("Sponsored Public Key String expected")
182182 }
183183
184184
185185 func ah (ai,aj) = {
186186 let ak = if ((aj != ""))
187187 then valueOrElse(L((toString(addressFromPublicKey(fromBase58String(aj))) + "_free_txs")), 0)
188188 else 0
189189 let w = if (if ((toBase58String(ai.caller.bytes) == toString(this)))
190190 then (ak > 0)
191191 else false)
192192 then toString(addressFromPublicKey(fromBase58String(aj)))
193193 else toBase58String(ai.caller.bytes)
194194 let al = if ((aj != ""))
195195 then invoke(m, "useFreeTx", [toString(addressFromPublicKey(fromBase58String(aj)))], nil)
196196 else unit
197197 if ((al == al))
198198 then $Tuple2(w, (ak > 0))
199199 else throw("Strict value is not equal to itself.")
200200 }
201201
202202
203203 @Callable(am)
204204 func setConf (c,an) = {
205205 let w = toString(am.caller)
206206 if (containsElement([f, toString(this)], w))
207207 then [StringEntry(c, an)]
208208 else throw("You are not allowed to change this")
209209 }
210210
211211
212212
213213 @Callable(am)
214214 func appRunning (ao,ap) = {
215215 let w = toString(am.caller)
216216 if (containsElement([f, toString(this)], w))
217217 then [BooleanEntry(g, ao), StringEntry(h, ap)]
218218 else throw("You are not allowed to change this")
219219 }
220220
221221
222222
223223 @Callable(am)
224224 func registrationMode (aq) = {
225225 let w = toString(am.caller)
226226 if (containsElement([f, toString(this)], w))
227227 then [BooleanEntry(i, aq)]
228228 else throw("You are not allowed to change this")
229229 }
230230
231231
232232
233233 @Callable(am)
234234 func registerUser (P,Q,R,ar,as,aj) = if (!(j))
235235 then throw(k)
236236 else {
237237 let at = ah(am, aj)
238238 let w = at._1
239239 let ak = at._2
240240 let au = toBase58String(am.transactionId)
241241 let av = lastBlock.timestamp
242242 if (!(O(w, P, Q, R, false)))
243243 then throw("Something went wrong")
244244 else {
245245 let aw = ab(toBase64String(toBytes(P)), toBase64String(toBytes(R)), toString(av))
246246 if (if ((0 > as))
247247 then true
248248 else (as > 1000))
249249 then throw("Royalties cannot be less than 0% or higher than 10%")
250250 else {
251251 let ax = if (ak)
252252 then [ScriptTransfer(Address(fromBase58String(w)), 0, unit)]
253253 else nil
254254 ([IntegerEntry(D(w), av), StringEntry(v(w), ((au + "_") + toString(av))), StringEntry(x(w), P), StringEntry(y(w), Q), StringEntry(z(w), ar), StringEntry(A(w), R), StringEntry(B(w), o), IntegerEntry(C(w), as), DeleteEntry(("ALLOWED_" + w)), StringEntry(((o + "_") + w), aw)] ++ ax)
255255 }
256256 }
257257 }
258258
259259
260260
261261 @Callable(am)
262262 func updateUser (P,Q,R,ar,as,aj) = if (!(j))
263263 then throw(k)
264264 else {
265265 let ay = ah(am, aj)
266266 let w = ay._1
267267 let ak = ay._2
268268 let U = b(B(w))
269269 if (!(O(w, P, Q, R, true)))
270270 then throw("Something went wrong")
271271 else {
272272 let ac = e(D(w))
273273 let aw = ab(toBase64String(toBytes(P)), toBase64String(toBytes(R)), toString(ac))
274274 if (if ((0 > as))
275275 then true
276276 else (as > 1000))
277277 then throw("Royalties cannot be less than 0% or higher than 10%")
278278 else {
279279 let ax = if (ak)
280280 then [ScriptTransfer(Address(fromBase58String(w)), 0, unit)]
281281 else nil
282282 ([StringEntry(x(w), P), StringEntry(y(w), Q), StringEntry(z(w), ar), StringEntry(A(w), R), IntegerEntry(C(w), as), StringEntry(((U + "_") + w), aw)] ++ ax)
283283 }
284284 }
285285 }
286286
287287
288288
289289 @Callable(am)
290290 func setERC20User (az,aj) = if (!(j))
291291 then throw(k)
292292 else {
293293 let aA = ah(am, aj)
294294 let w = aA._1
295295 let ak = aA._2
296296 let U = b(B(w))
297297 if (if ((U != o))
298298 then (U != p)
299299 else false)
300300 then throw("Not allowed to set ERC20 address")
301301 else {
302302 let aB = take(az, 2)
303303 if (if ((aB != "0x"))
304304 then true
305305 else (size(az) != 42))
306306 then throw("This is not an erc20 address")
307307 else {
308308 let ax = if (ak)
309309 then [ScriptTransfer(Address(fromBase58String(w)), 0, unit)]
310310 else nil
311311 ([StringEntry(E(w), az)] ++ ax)
312312 }
313313 }
314314 }
315315
316316
317317
318318 @Callable(am)
319319 func changeUserStatus (W,U,aC,aD) = {
320320 let w = toString(am.caller)
321321 if (containsElement([f, toString(this)], w))
322322 then if ((size(U) == 0))
323- then {
324- let X = b(B(W))
325- if ((X != ""))
326- then [StringEntry(B(W), X), StringEntry(("user_note_" + W), aC), StringEntry(("user_label_" + W), aD)]
327- else throw("No current status")
328- }
323+ then [StringEntry(("user_note_" + W), aC), StringEntry(("user_label_" + W), aD)]
329324 else {
330325 let X = b(B(W))
331326 let Z = V(U, W, X)
332327 let P = toBase64String(toBytes(b(x(W))))
333328 let R = toBase64String(toBytes(b(A(W))))
334329 let ac = e(D(W))
335330 let aw = ab(P, R, toString(ac))
336331 [StringEntry(B(W), Z), DeleteEntry(((X + "_") + W)), StringEntry(((Z + "_") + W), aw), StringEntry(("user_note_" + W), aC), StringEntry(("user_label_" + W), aD)]
337332 }
338333 else throw("Not allowed to change user status")
339334 }
340335
341336
342337
343338 @Callable(am)
344339 func deleteUser (W) = {
345340 let w = toString(am.caller)
346341 let X = b(B(W))
347342 if (containsElement([f, toString(this)], w))
348343 then [DeleteEntry(D(W)), DeleteEntry(v(W)), DeleteEntry(x(W)), DeleteEntry(y(W)), DeleteEntry(z(W)), DeleteEntry(A(W)), DeleteEntry(("user_note_" + W)), DeleteEntry(((X + "_") + W)), DeleteEntry(C(W)), StringEntry(B(W), r)]
349344 else throw("Not allowed")
350345 }
351346
352347
353348
354349 @Callable(ai)
355350 func setAgent (G,I,aE,aF) = if (!(j))
356351 then throw(k)
357352 else {
358353 let w = toString(ai.caller)
359354 if (containsElement([f, toString(this)], w))
360355 then if (if ((size(G) != 35))
361356 then true
362357 else (size(I) != 35))
363358 then throw("Wrong address")
364359 else [StringEntry(F(G), I), StringEntry(H(I, G), G), IntegerEntry(J(G), aE), IntegerEntry(K(G), aF)]
365360 else throw("You are not allowed")
366361 }
367362
368363
369364
370365 @Callable(ai)
371366 func unsetAgent (G,I) = if (!(j))
372367 then throw(k)
373368 else {
374369 let w = toString(ai.caller)
375370 if (containsElement([f, toString(this)], w))
376371 then if (if ((size(G) != 35))
377372 then true
378373 else (size(I) != 35))
379374 then throw("Wrong address")
380375 else [DeleteEntry(F(G)), DeleteEntry(H(I, G)), DeleteEntry(J(G)), DeleteEntry(K(G))]
381376 else throw("You are not allowed")
382377 }
383378
384379
385380
386381 @Callable(ai)
387382 func deleteEntry (aG) = {
388383 let w = toString(ai.caller)
389384 if ((w == f))
390385 then [DeleteEntry(aG)]
391386 else throw("no")
392387 }
393388
394389
395390 @Verifier(aH)
396391 func aI () = {
397392 let af = aH
398393 if ($isInstanceOf(af, "InvokeScriptTransaction"))
399394 then {
400395 let aJ = af
401396 if (if (if (if ((aJ.function == "registerUser"))
402397 then (aJ.dApp == this)
403398 else false)
404399 then (aJ.fee == 500000)
405400 else false)
406401 then (aJ.feeAssetId == unit)
407402 else false)
408403 then sigVerify(aH.bodyBytes, aH.proofs[0], fromBase58String(ad(aJ.args[5])))
409404 else if (if (if (if ((aJ.function == "updateUser"))
410405 then (aJ.dApp == this)
411406 else false)
412407 then (aJ.fee == 500000)
413408 else false)
414409 then (aJ.feeAssetId == unit)
415410 else false)
416411 then sigVerify(aH.bodyBytes, aH.proofs[0], fromBase58String(ad(aJ.args[5])))
417412 else if (if (if (if ((aJ.function == "setERC20User"))
418413 then (aJ.dApp == this)
419414 else false)
420415 then (aJ.fee == 500000)
421416 else false)
422417 then (aJ.feeAssetId == unit)
423418 else false)
424419 then sigVerify(aH.bodyBytes, aH.proofs[0], fromBase58String(ad(aJ.args[2])))
425420 else sigVerify(aH.bodyBytes, aH.proofs[0], aH.senderPublicKey)
426421 }
427422 else sigVerify(aH.bodyBytes, aH.proofs[0], aH.senderPublicKey)
428423 }
429424

github/deemru/w8io/026f985 
76.10 ms