tx · ysGhs6RRNT7Pviy1geShijGAp1tUAo77ZChyUg33sxx

3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx:  -0.01600000 Waves

2023.08.18 12:45 [2715873] smart account 3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx > SELF 0.00000000 Waves

{ "type": 13, "id": "ysGhs6RRNT7Pviy1geShijGAp1tUAo77ZChyUg33sxx", "fee": 1600000, "feeAssetId": null, "timestamp": 1692351925677, "version": 1, "sender": "3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx", "senderPublicKey": "62CHk4MqTdq3LqeUycy7TPnpvwrjgerSa2FqAY2EafXn", "proofs": [ "2nr6zaE7dKmjmEgsWZ3pmL8zGqicVFHecTBSNePNwF1NoeXAz4rHZ1togdEt11TGwNy6UBC7i8qX8aCBxdzcEC1j" ], "script": "base64:BwKLAQgCEgQKAggIEgQKAggBEgQKAggEEgQKAggCEgMKAQgSAwoBARIDCgEBEgUKAwIBAhIFCgMCGBgSBAoCAgESBAoCAgESBgoEAQEBARIGCgQBAQEBEgASABIDCgEIEgMKARgSABIAEgMKAQgSABIECgIICBIECgIIGBIFCgMICAESBQoDAgIBEgMKAQg3AANTRVACAl9fAAVXQVZFUwIFV0FWRVMAEGNvbnRyYWN0RmlsZW5hbWUCDGZhY3RvcnkucmlkZQEHd3JhcEVycgEBcwkArAICCQCsAgIFEGNvbnRyYWN0RmlsZW5hbWUCAjogBQFzAQh0aHJvd0VycgEBcwkAAgEJAQd3cmFwRXJyAQUBcwEPc3RyaW5nVG9Bc3NldElkAQFzAwkAAAIFAXMFBVdBVkVTBQR1bml0CQDZBAEFAXMAD0FETUlOX0xJU1RfU0laRQAFAAZRVU9SVU0AAwARVFhJRF9CWVRFU19MRU5HVEgAIAEYa2V5QWxsb3dlZFR4SWRWb3RlUHJlZml4AQR0eElkCQC5CQIJAMwIAgIGJXMlcyVzCQDMCAICCWFsbG93VHhJZAkAzAgCBQR0eElkBQNuaWwFA1NFUA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pbmdSZXN1bHRBZGRyZXNzT3B0aW9uAwkAAQIFByRtYXRjaDACB0FkZHJlc3MED3Byb3Bvc2FsQWRkcmVzcwUHJG1hdGNoMAkBC3ZhbHVlT3JFbHNlAgkAmwgCBQ9wcm9wb3NhbEFkZHJlc3MJARlrZXlQcm9wb3NhbEFsbG93QnJvYWRjYXN0AgUEdGhpcwgFAnR4AmlkBwcECGJ5QWRtaW5zCQAAAggFAnR4AmlkCQDZBAEJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwkBDmtleUFsbG93ZWRUeElkAAIABAdieU93bmVyAwkAZwIJAJADAQkBDWdldEFkbWluc0xpc3QABQZRVU9SVU0HCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5AwMFCmJ5UHJvcG9zYWwGBQhieUFkbWlucwYFB2J5T3duZXJdPFs0", "chainId": 84, "height": 2715873, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FXb26Pv6teioqW9FFDbAUvLnz3dVykkrUj1zwCuwhn4k Next: 5v7c3o9Gc5sUGvX6nshxUZ6hhS9gnuRNerTFrzswEt47 Diff:
OldNewDifferences
441441
442442
443443 @Callable(aH)
444+func rewardSplitREADONLY () = $Tuple2(nil, reentrantInvoke(aj, "rewardSplitREADONLY", nil, nil))
445+
446+
447+
448+@Callable(aH)
444449 func claimLP () = $Tuple2(nil, reentrantInvoke(aj, "claimLP", [aH.caller.bytes], aH.payments))
445450
446451
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "WAVES"
77
88 let c = "factory.ride"
99
1010 func d (e) = ((c + ": ") + e)
1111
1212
1313 func f (e) = throw(d(e))
1414
1515
1616 func g (e) = if ((e == b))
1717 then unit
1818 else fromBase58String(e)
1919
2020
2121 let h = 5
2222
2323 let i = 3
2424
2525 let j = 32
2626
2727 func k (l) = makeString(["%s%s%s", "allowTxId", l], a)
2828
2929
3030 func m (n,o) = makeString([n, o], a)
3131
3232
3333 func p () = makeString(["%s", "adminAddressList"], a)
3434
3535
3636 func q () = makeString(["%s", "txId"], a)
3737
3838
3939 func r (n,s) = {
4040 let t = m(n, s)
4141 valueOrElse(getInteger(t), 0)
4242 }
4343
4444
4545 func u () = {
4646 let v = getString(this, p())
4747 if ($isInstanceOf(v, "String"))
4848 then {
4949 let e = v
5050 split(e, a)
5151 }
5252 else nil
5353 }
5454
5555
5656 func w (x) = containsElement(u(), x)
5757
5858
5959 func y (z,o) = {
6060 let A = z
6161 let B = A._1
6262 let n = A._2
6363 $Tuple2((B :+ m(n, o)), n)
6464 }
6565
6666
6767 func C (D) = {
6868 let E = p()
6969 let F = {
7070 let G = u()
7171 let H = size(G)
7272 let I = $Tuple2(nil, D)
7373 func J (K,L) = if ((L >= H))
7474 then K
7575 else y(K, G[L])
7676
7777 func M (K,L) = if ((L >= H))
7878 then K
7979 else throw("List size exceeds 5")
8080
8181 M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5)
8282 }
8383 let B = F._1
8484 let n = F._2
8585 B
8686 }
8787
8888
8989 func N (B,t) = (B + valueOrElse(getInteger(t), 0))
9090
9191
9292 func O (n) = {
9393 let P = C(n)
9494 let G = P
9595 let H = size(G)
9696 let I = 0
9797 func J (K,L) = if ((L >= H))
9898 then K
9999 else N(K, G[L])
100100
101101 func M (K,L) = if ((L >= H))
102102 then K
103103 else throw("List size exceeds 5")
104104
105105 M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5)
106106 }
107107
108108
109109 func Q (B,R) = (B :+ DeleteEntry(R))
110110
111111
112112 func S (n) = {
113113 let P = C(n)
114114 let G = P
115115 let H = size(G)
116116 let I = nil
117117 func J (K,L) = if ((L >= H))
118118 then K
119119 else Q(K, G[L])
120120
121121 func M (K,L) = if ((L >= H))
122122 then K
123123 else throw("List size exceeds 5")
124124
125125 M(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5)
126126 }
127127
128128
129129 func T (U,D,V,W) = {
130130 let t = m(D, U)
131131 let X = r(D, U)
132132 let Y = if (!(w(U)))
133133 then f((("Address: " + U) + " not in Admin list"))
134134 else if ((X == 1))
135135 then f((t + " you already voted"))
136136 else unit
137137 if ((Y == Y))
138138 then {
139139 let P = O(D)
140140 if (((P + 1) >= V))
141141 then {
142142 let Z = S(D)
143143 (Z ++ W)
144144 }
145145 else [IntegerEntry(t, 1)]
146146 }
147147 else throw("Strict value is not equal to itself.")
148148 }
149149
150150
151151 func aa () = "%s__calculator"
152152
153153
154154 func ab () = "%s__proxyTreasury"
155155
156156
157157 func ac () = "%s__powerContract"
158158
159159
160160 func ad () = "%s__swapContract"
161161
162162
163163 func ae () = "%s__child"
164164
165165
166166 func af () = "%s__blockProcessingReward"
167167
168168
169169 func ag () = "%s__nextBlockToProcess"
170170
171171
172172 func ah () = "%s__lpAssetId"
173173
174174
175175 let ai = {
176176 let v = getString(this, aa())
177177 if ($isInstanceOf(v, "String"))
178178 then {
179179 let e = v
180180 addressFromString(e)
181181 }
182182 else if ($isInstanceOf(v, "Unit"))
183183 then unit
184184 else throw("Match error")
185185 }
186186
187187 let aj = valueOrErrorMessage(ai, d("invalid calculator address"))
188188
189189 let ak = {
190190 let v = getString(this, ab())
191191 if ($isInstanceOf(v, "String"))
192192 then {
193193 let e = v
194194 addressFromString(e)
195195 }
196196 else if ($isInstanceOf(v, "Unit"))
197197 then unit
198198 else throw("Match error")
199199 }
200200
201201 let al = valueOrErrorMessage(ak, d("invalid proxy treasury address"))
202202
203203 let am = {
204204 let v = getString(this, ac())
205205 if ($isInstanceOf(v, "String"))
206206 then {
207207 let e = v
208208 addressFromString(e)
209209 }
210210 else if ($isInstanceOf(v, "Unit"))
211211 then unit
212212 else throw("Match error")
213213 }
214214
215215 let an = valueOrErrorMessage(am, d("invalid power contract address"))
216216
217217 let ao = {
218218 let v = getString(this, ad())
219219 if ($isInstanceOf(v, "String"))
220220 then {
221221 let e = v
222222 addressFromString(e)
223223 }
224224 else if ($isInstanceOf(v, "Unit"))
225225 then unit
226226 else throw("Match error")
227227 }
228228
229229 let ap = valueOrErrorMessage(ao, d("invalid swap contract address"))
230230
231231 func aq () = "%s__config"
232232
233233
234234 func ar () = "contract_children"
235235
236236
237237 func as () = "contract_voting_result"
238238
239239
240240 func at (x,l) = ((("proposal_allow_broadcast_" + toString(x)) + "_") + toBase58String(l))
241241
242242
243243 func au (av,aw) = makeString(["investor", toString(av), toString(aw)], "_")
244244
245245
246246 let ax = {
247247 let v = getString(this, aq())
248248 if ($isInstanceOf(v, "String"))
249249 then {
250250 let e = v
251251 addressFromString(e)
252252 }
253253 else if ($isInstanceOf(v, "Unit"))
254254 then unit
255255 else throw("Match error")
256256 }
257257
258258 let ay = valueOrErrorMessage(ax, d("invalid config address"))
259259
260260 let az = {
261261 let v = ax
262262 if ($isInstanceOf(v, "Address"))
263263 then {
264264 let z = v
265265 let aA = getString(z, as())
266266 if ($isInstanceOf(aA, "String"))
267267 then {
268268 let e = aA
269269 addressFromString(e)
270270 }
271271 else if ($isInstanceOf(aA, "Unit"))
272272 then unit
273273 else throw("Match error")
274274 }
275275 else if ($isInstanceOf(v, "Unit"))
276276 then unit
277277 else throw("Match error")
278278 }
279279
280280 let aB = valueOrErrorMessage(az, d("invalid voting result address"))
281281
282282 let aC = {
283283 let v = ax
284284 if ($isInstanceOf(v, "Address"))
285285 then {
286286 let z = v
287287 let aA = getString(z, ar())
288288 if ($isInstanceOf(aA, "String"))
289289 then {
290290 let e = aA
291291 addressFromString(e)
292292 }
293293 else if ($isInstanceOf(aA, "Unit"))
294294 then unit
295295 else throw("Match error")
296296 }
297297 else if ($isInstanceOf(v, "Unit"))
298298 then unit
299299 else throw("Match error")
300300 }
301301
302302 let aD = valueOrErrorMessage(aC, d("invalid children address"))
303303
304304 let aE = {
305305 let v = getString(this, ah())
306306 if ($isInstanceOf(v, "String"))
307307 then {
308308 let e = v
309309 fromBase58String(e)
310310 }
311311 else if ($isInstanceOf(v, "Unit"))
312312 then unit
313313 else throw("Match error")
314314 }
315315
316316 let aF = valueOrErrorMessage(aE, d("invalid lpAssetId"))
317317
318318 func aG (aH,x) = if ((aH.caller == x))
319319 then true
320320 else f("permission denied")
321321
322322
323323 func aI (aH) = aG(aH, this)
324324
325325
326326 func aJ (aH) = aG(aH, aj)
327327
328328
329329 @Callable(aH)
330330 func stringEntry (R,aK) = if (aJ(aH))
331331 then $Tuple2([StringEntry(R, aK)], R)
332332 else $Tuple2(nil, unit)
333333
334334
335335
336336 @Callable(aH)
337337 func integerEntry (R,aK) = if (aJ(aH))
338338 then $Tuple2([IntegerEntry(R, aK)], R)
339339 else $Tuple2(nil, unit)
340340
341341
342342
343343 @Callable(aH)
344344 func booleanEntry (R,aK) = if (aJ(aH))
345345 then $Tuple2([BooleanEntry(R, aK)], R)
346346 else $Tuple2(nil, unit)
347347
348348
349349
350350 @Callable(aH)
351351 func binaryEntry (R,aK) = if (aJ(aH))
352352 then $Tuple2([BinaryEntry(R, aK)], R)
353353 else $Tuple2(nil, unit)
354354
355355
356356
357357 @Callable(aH)
358358 func deleteEntry (R) = if (aJ(aH))
359359 then $Tuple2([DeleteEntry(R)], R)
360360 else $Tuple2(nil, unit)
361361
362362
363363
364364 @Callable(aH)
365365 func reissue (aL) = if (aJ(aH))
366366 then $Tuple2([Reissue(aF, aL, true)], aL)
367367 else $Tuple2(nil, unit)
368368
369369
370370
371371 @Callable(aH)
372372 func burn (aL) = if (aJ(aH))
373373 then $Tuple2([Burn(aF, aL)], aL)
374374 else $Tuple2(nil, unit)
375375
376376
377377
378378 @Callable(aH)
379379 func transferAsset (aM,aL,aN) = if (aJ(aH))
380380 then $Tuple2([ScriptTransfer(Address(aM), aL, aN)], aL)
381381 else $Tuple2(nil, unit)
382382
383383
384384
385385 @Callable(aH)
386386 func transferAssets (aM,aO,aP) = if (aJ(aH))
387387 then {
388388 func aQ (aR,aS) = {
389389 let aT = aR
390390 let aU = aT._1
391391 let aV = aT._2
392392 let aW = ScriptTransfer(Address(aM), parseIntValue(aP[aV]), g(aO[aV]))
393393 let aX = (aU :+ aW)
394394 $Tuple2(aX, (aV + 1))
395395 }
396396
397397 let aY = {
398398 let G = aO
399399 let H = size(G)
400400 let I = $Tuple2(nil, 0)
401401 func J (K,L) = if ((L >= H))
402402 then K
403403 else aQ(K, G[L])
404404
405405 func M (K,L) = if ((L >= H))
406406 then K
407407 else throw("List size exceeds 10")
408408
409409 M(J(J(J(J(J(J(J(J(J(J(I, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
410410 }
411411 let aZ = aY._1
412412 let ba = aY._2
413413 $Tuple2(aZ, unit)
414414 }
415415 else $Tuple2(nil, unit)
416416
417417
418418
419419 @Callable(aH)
420420 func transferWaves (aM,aL) = if (aJ(aH))
421421 then $Tuple2([ScriptTransfer(Address(aM), aL, unit)], aL)
422422 else $Tuple2(nil, unit)
423423
424424
425425
426426 @Callable(aH)
427427 func transferFromProxyTreasury (aM,bb) = if (aJ(aH))
428428 then $Tuple2(nil, invoke(al, "transferWaves", [aM, bb], nil))
429429 else $Tuple2(nil, unit)
430430
431431
432432
433433 @Callable(aH)
434434 func finalize (bc,bd,be,bf) = $Tuple2(nil, reentrantInvoke(aj, "finalize", [aH.caller.bytes, bc, bd, be, bf], aH.payments))
435435
436436
437437
438438 @Callable(aH)
439439 func finalizeREADONLY (bc,bd,be,bf) = $Tuple2(nil, reentrantInvoke(aj, "finalizeREADONLY", [bc, bd, be, bf], nil))
440440
441441
442442
443443 @Callable(aH)
444+func rewardSplitREADONLY () = $Tuple2(nil, reentrantInvoke(aj, "rewardSplitREADONLY", nil, nil))
445+
446+
447+
448+@Callable(aH)
444449 func claimLP () = $Tuple2(nil, reentrantInvoke(aj, "claimLP", [aH.caller.bytes], aH.payments))
445450
446451
447452
448453 @Callable(aH)
449454 func claimCollateral (bg) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateral", [aH.caller.bytes, bg], aH.payments))
450455
451456
452457
453458 @Callable(aH)
454459 func claimCollateralBulk (bh) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralBulk", [aH.caller.bytes, bh], aH.payments))
455460
456461
457462
458463 @Callable(aH)
459464 func invest () = $Tuple2(nil, reentrantInvoke(aj, "invest", [aH.caller.bytes], aH.payments))
460465
461466
462467
463468 @Callable(aH)
464469 func withdraw () = $Tuple2(nil, reentrantInvoke(aj, "withdraw", [aH.caller.bytes], aH.payments))
465470
466471
467472
468473 @Callable(aH)
469474 func cancelWithdraw (bg) = $Tuple2(nil, reentrantInvoke(aj, "cancelWithdraw", [aH.caller.bytes, fromBase58String(bg)], aH.payments))
470475
471476
472477
473478 @Callable(aH)
474479 func processBlocks () = $Tuple2(nil, reentrantInvoke(aj, "processBlocks", [aH.caller.bytes], aH.payments))
475480
476481
477482
478483 @Callable(aH)
479484 func claimCollateralREADONLY (aw,bg) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralREADONLY", [fromBase58String(aw), bg], nil))
480485
481486
482487
483488 @Callable(aH)
484489 func claimCollateralBulkREADONLY (aw,bh) = $Tuple2(nil, reentrantInvoke(aj, "claimCollateralBulkREADONLY", [fromBase58String(aw), bh], nil))
485490
486491
487492
488493 @Callable(aH)
489494 func swap (aN,bi,bj) = {
490495 let bk = [aJ(aH)]
491496 if ((bk == bk))
492497 then {
493498 let bl = if ((bi == "WAVES"))
494499 then unit
495500 else fromBase58String(bi)
496501 let bm = if ((aN == "WAVES"))
497502 then wavesBalance(this).available
498503 else assetBalance(this, fromBase58String(aN))
499504 if ((bm == bm))
500505 then {
501506 let bn = invoke(ap, "swap", [0, aN, toString(this)], [AttachedPayment(bl, bj)])
502507 if ((bn == bn))
503508 then {
504509 let bo = if ((aN == "WAVES"))
505510 then wavesBalance(this).available
506511 else assetBalance(this, fromBase58String(aN))
507512 if ((bo == bo))
508513 then $Tuple2(nil, (bo - bm))
509514 else throw("Strict value is not equal to itself.")
510515 }
511516 else throw("Strict value is not equal to itself.")
512517 }
513518 else throw("Strict value is not equal to itself.")
514519 }
515520 else throw("Strict value is not equal to itself.")
516521 }
517522
518523
519524
520525 @Callable(aH)
521526 func powerStake (aM,bp,aL) = if (aJ(aH))
522527 then $Tuple2(nil, invoke(an, "commitForMiner", [toString(Address(aM))], [AttachedPayment(bp, aL)]))
523528 else $Tuple2(nil, unit)
524529
525530
526531
527532 @Callable(aH)
528533 func voteForTxId (l) = {
529534 let U = toBase58String(aH.caller.bytes)
530535 let D = k(l)
531536 let B = [StringEntry(q(), l)]
532537 let bq = getString(this, q())
533538 let Y = [if ((size(fromBase58String(l)) == j))
534539 then true
535540 else f((l + " is not valid txId")), if (if ((bq == unit))
536541 then true
537542 else (value(bq) != l))
538543 then true
539544 else f((l + " is already allowed"))]
540545 if ((Y == Y))
541546 then T(U, D, i, B)
542547 else throw("Strict value is not equal to itself.")
543548 }
544549
545550
546551 @Verifier(br)
547552 func bs () = {
548553 let bt = {
549554 let v = az
550555 if ($isInstanceOf(v, "Address"))
551556 then {
552557 let bu = v
553558 valueOrElse(getBoolean(bu, at(this, br.id)), false)
554559 }
555560 else false
556561 }
557562 let bv = (br.id == fromBase58String(valueOrElse(getString(this, q()), "")))
558563 let bw = if ((size(u()) >= i))
559564 then false
560565 else sigVerify(br.bodyBytes, br.proofs[0], br.senderPublicKey)
561566 if (if (bt)
562567 then true
563568 else bv)
564569 then true
565570 else bw
566571 }
567572

github/deemru/w8io/169f3d6 
59.48 ms