tx · 5skf8CndkAFADhnL9cHsKLMtQSpeeYuqLowaanmBB4k9

3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv:  -0.02600000 Waves

2022.11.02 22:08 [2299895] smart account 3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv > SELF 0.00000000 Waves

{ "type": 13, "id": "5skf8CndkAFADhnL9cHsKLMtQSpeeYuqLowaanmBB4k9", "fee": 2600000, "feeAssetId": null, "timestamp": 1667416174196, "version": 1, "sender": "3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv", "senderPublicKey": "39YkRD2qWXTcdNBr4CbDnm8g8SAB2FKVaDeGYahcFHHx", "proofs": [ "1z3BQUvgMMunds4YbDhH4PSjZpnCt7hV1BWy1WxiWqQRWcuPu4eVvvc2hJ85ukTPYyikpeRrwCZEYGLKwaWM349" ], "script": "base64:AAIFAAAAAAAADogIAhIJCgcBAQEBAQgBEgASBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIAIg9nZXRTdHJpbmdPckZhaWwiA2tleSIDU0VQIghCVUZTQ0FMRSIGc2NhbGU4Igh0aHJvd0VyciIDbXNnIh1jb252ZXJ0UHJpY2VBc3NldEludG9JZG9Bc3NldCIQcHJpY2VBc3NldEFtb3VudCIOcHJpY2VBc3NldE1VTFQiBXByaWNlIglwcmljZU1VTFQiDGlkb0Fzc2V0TVVMVCIPYlByaWNlQXNzZXRNVUxUIg1iSWRvQXNzZXRNVUxUIg5iUHJpY2VBc3NldEJVRiIPYkFtb3VudEFzc2V0QlVGIg5JZHhDZmdJZG9TdGFydCIRSWR4Q2ZnSWRvRHVyYXRpb24iEElkeENmZ0NsYWltU3RhcnQiE0lkeENmZ0NsYWltRHVyYXRpb24iC0lkeENmZ1ByaWNlIg9JZHhDZmdQcmljZU11bHQiEElkeENmZ0lkb0Fzc2V0SWQiEklkeENmZ0lkb0Fzc2V0TXVsdCISSWR4Q2ZnUHJpY2VBc3NldElkIhRJZHhDZmdQcmljZUFzc2V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uYWdlcgMJAAAAAAAAAgUAAAACY1IFAAAAAmNSCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAJhQgAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACY1AJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAAmFDAAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAmNTAQAAAAJjVAAAAAAEAAAAAmNVBAAAAAJjYQkBAAAAAmJaAAAAAAMJAAABAAAAAgUAAAACY2ECAAAACkJ5dGVWZWN0b3IEAAAAAmNnBQAAAAJjYQUAAAACY2cDCQAAAQAAAAIFAAAAAmNhAgAAAARVbml0CAUAAAACY1MAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJjUwAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmNTAAAABnByb29mcwAAAAAAAAAAAAUAAAACY1Wk2t/W", "chainId": 84, "height": 2299895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 59ScimVV9rdyddhpeKirTdauibTBLhEQFL2usea7BG5p Next: HfgW1eUAcygZBBWAFJ7YDE5gu44KCN8qU1NQB7AVn8US Diff:
OldNewDifferences
204204 let bm = h(bl, L, k, H, J)
205205 let bn = (aZ == K)
206206 let bo = valueOrElse(getBoolean(ak()), false)
207- let bp = {
208- let bq = getInteger(al())
209- if ($isInstanceOf(bq, "Int"))
210- then {
211- let br = bq
212- (height > br)
213- }
214- else if ($isInstanceOf(bq, "Unit"))
215- then false
216- else throw("Match error")
217- }
218- let bs = [if (!(if (bn)
207+ let bp = [if (!(if (bn)
219208 then bo
220209 else false))
221210 then true
222- else throw("USDN claim is disabled"), if (!(if (bn)
223- then bp
224- else false))
225- then true
226- else throw("USDN claim is ended")]
227- if ((bs == bs))
211+ else throw("USDN claim is disabled")]
212+ if ((bp == bp))
228213 then if ((aZ == K))
229214 then $Tuple6([0, -(bl), bl, 0], bl, bd, bf, bj, [bl, bm])
230215 else if ((aZ == I))
234219 }
235220
236221
237-func bt (K,be,bu,bv) = {
238- let bw = value(getInteger(as(K)))
239- let bx = value(getInteger(au(K)))
240- let by = value(getInteger(am()))
241- let bz = valueOrElse(getInteger(an()), 0)
242- let bA = isDefined(getInteger(aq(0)))
243- let bB = if ((bz > 0))
222+func bq (K,be,br,bs) = {
223+ let bt = value(getInteger(as(K)))
224+ let bu = value(getInteger(au(K)))
225+ let bv = value(getInteger(am()))
226+ let bw = valueOrElse(getInteger(an()), 0)
227+ let bx = isDefined(getInteger(aq(0)))
228+ let by = if ((bw > 0))
244229 then {
245- let bC = value(getInteger(ao((bz - 1))))
246- let bD = value(getInteger(aq((bz - 1))))
247- let bE = if ((height > bD))
230+ let bz = value(getInteger(ao((bw - 1))))
231+ let bA = value(getInteger(aq((bw - 1))))
232+ let bB = if ((height > bA))
248233 then {
249- let bF = (bz + 1)
250- let bG = (bD + 1)
251- let bH = ((bG + by) - 1)
252- $Tuple3(bF, bG, bH)
234+ let bC = (bw + 1)
235+ let bD = (bA + 1)
236+ let bE = ((bD + bv) - 1)
237+ $Tuple3(bC, bD, bE)
253238 }
254- else $Tuple3(bz, bC, bD)
255- let bF = bE._1
256- let bG = bE._2
257- let bH = bE._3
258- $Tuple3(bF, bG, bH)
239+ else $Tuple3(bw, bz, bA)
240+ let bC = bB._1
241+ let bD = bB._2
242+ let bE = bB._3
243+ $Tuple3(bC, bD, bE)
259244 }
260- else if (bA)
245+ else if (bx)
261246 then {
262- let bI = value(getInteger(ao(0)))
263- let bJ = value(getInteger(aq(0)))
264- let bK = if ((height > bJ))
247+ let bF = value(getInteger(ao(0)))
248+ let bG = value(getInteger(aq(0)))
249+ let bH = if ((height > bG))
265250 then {
266- let bF = (bz + 1)
267- let bG = (bJ + 1)
268- let bH = ((bG + by) - 1)
269- $Tuple3(bF, bG, bH)
251+ let bC = (bw + 1)
252+ let bD = (bG + 1)
253+ let bE = ((bD + bv) - 1)
254+ $Tuple3(bC, bD, bE)
270255 }
271- else $Tuple3(bz, bI, bJ)
272- let bF = bK._1
273- let bG = bK._2
274- let bH = bK._3
275- $Tuple3(bF, bG, bH)
256+ else $Tuple3(bw, bF, bG)
257+ let bC = bH._1
258+ let bD = bH._2
259+ let bE = bH._3
260+ $Tuple3(bC, bD, bE)
276261 }
277- else $Tuple3(bz, valueOrElse(getInteger(ao(bz)), height), valueOrElse(getInteger(aq(bz)), ((height + by) - 1)))
278- let bF = bB._1
279- let bG = bB._2
280- let bH = bB._3
281- let bL = valueOrElse(getInteger(av(K, bF)), bw)
282- let bM = valueOrElse(getInteger(aw(K, bF, be)), bx)
283- let bN = valueOrElse(getInteger(az(be)), 0)
284- let bO = min([(bu + bN), bL, bM])
285- let bP = value(getInteger(ar()))
286- let bQ = e
287- let bR = {
288- let bS = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bQ, K], nil)
289- if ($isInstanceOf(bS, "(Int, Int, Int)"))
290- then bS
262+ else $Tuple3(bw, valueOrElse(getInteger(ao(bw)), height), valueOrElse(getInteger(aq(bw)), ((height + bv) - 1)))
263+ let bC = by._1
264+ let bD = by._2
265+ let bE = by._3
266+ let bI = valueOrElse(getInteger(av(K, bC)), bt)
267+ let bJ = valueOrElse(getInteger(aw(K, bC, be)), bu)
268+ let bK = valueOrElse(getInteger(az(be)), 0)
269+ let bL = min([(br + bK), bI, bJ])
270+ let bM = value(getInteger(ar()))
271+ let bN = e
272+ let bO = {
273+ let bP = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bN, K], nil)
274+ if ($isInstanceOf(bP, "(Int, Int, Int)"))
275+ then bP
291276 else throw("Couldn't cast Any to (Int, Int, Int)")
292277 }
293- if ((bR == bR))
278+ if ((bO == bO))
294279 then {
295- let bT = bR._3
296- let bU = bR._2
297- let bV = bR._1
298- let bW = value(getString(ay()))
299- let bX = {
300- let bS = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bW, bV], nil)
301- if ($isInstanceOf(bS, "(Int, Int)"))
302- then bS
280+ let bQ = bO._3
281+ let bR = bO._2
282+ let bS = bO._1
283+ let bT = value(getString(ay()))
284+ let bU = {
285+ let bP = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bT, bS], nil)
286+ if ($isInstanceOf(bP, "(Int, Int)"))
287+ then bP
303288 else throw("Couldn't cast Any to (Int, Int)")
304289 }
305- if ((bX == bX))
290+ if ((bU == bU))
306291 then {
307- let bY = bX._2
308- let bZ = bX._1
309- let ca = fraction(bZ, bQ, e)
310- let cb = (bH - height)
311- $Tuple10(bO, bL, bM, bv, bP, ca, cb, bF, bG, bH)
292+ let bV = bU._2
293+ let bW = bU._1
294+ let bX = fraction(bW, bN, e)
295+ let bY = (bE - height)
296+ $Tuple10(bL, bI, bJ, bs, bM, bX, bY, bC, bD, bE)
312297 }
313298 else throw("Strict value is not equal to itself.")
314299 }
316301 }
317302
318303
319-func cc () = {
320- let bq = getString(aB())
321- if ($isInstanceOf(bq, "String"))
304+func bZ () = {
305+ let ca = getString(aB())
306+ if ($isInstanceOf(ca, "String"))
322307 then {
323- let cd = bq
324- fromBase58String(cd)
308+ let cb = ca
309+ fromBase58String(cb)
325310 }
326- else if ($isInstanceOf(bq, "Unit"))
311+ else if ($isInstanceOf(ca, "Unit"))
327312 then unit
328313 else throw("Match error")
329314 }
330315
331316
332-func ce () = {
333- let bq = getString(aC())
334- if ($isInstanceOf(bq, "String"))
317+func cc () = {
318+ let ca = getString(aC())
319+ if ($isInstanceOf(ca, "String"))
335320 then {
336- let cd = bq
337- fromBase58String(cd)
321+ let cb = ca
322+ fromBase58String(cb)
338323 }
339- else if ($isInstanceOf(bq, "Unit"))
324+ else if ($isInstanceOf(ca, "Unit"))
340325 then unit
341326 else throw("Match error")
342327 }
343328
344329
345-func cf (cg) = {
346- let ch = throw("Permission denied")
347- let bq = cc()
348- if ($isInstanceOf(bq, "ByteVector"))
330+func cd (ce) = {
331+ let cf = throw("Permission denied")
332+ let ca = bZ()
333+ if ($isInstanceOf(ca, "ByteVector"))
349334 then {
350- let ci = bq
351- if ((cg.callerPublicKey == ci))
335+ let cg = ca
336+ if ((ce.callerPublicKey == cg))
352337 then true
353- else ch
338+ else cf
354339 }
355- else if ($isInstanceOf(bq, "Unit"))
356- then if ((cg.caller == this))
340+ else if ($isInstanceOf(ca, "Unit"))
341+ then if ((ce.caller == this))
357342 then true
358- else ch
343+ else cf
359344 else throw("Match error")
360345 }
361346
362347
363-@Callable(cg)
348+@Callable(ce)
364349 func constructor (D,E,F,G,k,K,M) = {
365350 let H = ((100 * 1000) * 1000)
366- let cj = (D + E)
351+ let ch = (D + E)
367352 if (isDefined(getString(ad())))
368353 then throw("already initialized")
369- else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(cg.caller)))
354+ else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(ce.caller)))
370355 then throw("not authorized")
371- else if ((size(cg.payments) != 1))
356+ else if ((size(ce.payments) != 1))
372357 then throw("exactly 1 payment must be attached")
373- else if ((cj >= F))
358+ else if ((ch >= F))
374359 then throw("claimStart must be greater than idoEnd")
375360 else {
376- let ck = value(cg.payments[0])
377- let bc = value(ck.assetId)
378- let cl = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
361+ let ci = value(ce.payments[0])
362+ let bc = value(ci.assetId)
363+ let cj = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
379364 let I = toBase58String(bc)
380- let J = pow(10, 0, cl.decimals, 0, 0, DOWN)
365+ let J = pow(10, 0, cj.decimals, 0, 0, DOWN)
381366 let bd = fromBase58String(K)
382- let cm = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
383- let L = pow(10, 0, cm.decimals, 0, 0, DOWN)
384- let cn = aG()
385- let co = [0, 0, 0, 0]
386-[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, ck.amount)), aN(ag(), cn, co, F)]
367+ let ck = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
368+ let L = pow(10, 0, ck.decimals, 0, 0, DOWN)
369+ let cl = aG()
370+ let cm = [0, 0, 0, 0]
371+[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, ci.amount)), aN(ag(), cl, cm, F)]
387372 }
388373 }
389374
390375
391376
392-@Callable(cg)
377+@Callable(ce)
393378 func invest () = {
394379 let ba = aD()
395380 let D = parseIntValue(ba[r])
396381 let E = parseIntValue(ba[s])
397- let cj = (D + E)
382+ let ch = (D + E)
398383 let F = parseIntValue(ba[t])
399384 let G = parseIntValue(ba[u])
400385 let k = parseIntValue(ba[v])
405390 let K = ba[z]
406391 let bd = fromBase58String(K)
407392 let L = parseIntValue(ba[A])
408- let cp = parseIntValue(ba[B])
409- let af = toString(cg.caller)
393+ let cn = parseIntValue(ba[B])
394+ let af = toString(ce.caller)
410395 if ((D > height))
411396 then throw("ido has not been started yet")
412- else if ((height > cj))
397+ else if ((height > ch))
413398 then throw("ido has been already ended")
414- else if ((size(cg.payments) != 1))
399+ else if ((size(ce.payments) != 1))
415400 then throw("exactly 1 payment is expected")
416401 else {
417- let ck = value(cg.payments[0])
418- let cq = value(ck.assetId)
419- let cr = ck.amount
420- if ((cq != bd))
421- then throw((("invalid payment asset id: " + toBase58String(cq)) + " is expected"))
402+ let ci = value(ce.payments[0])
403+ let co = value(ci.assetId)
404+ let cp = ci.amount
405+ if ((co != bd))
406+ then throw((("invalid payment asset id: " + toBase58String(co)) + " is expected"))
422407 else {
423- let cs = aH(af)
424- let cn = aG()
425- let ct = (parseIntValue(cn[P]) + cr)
426- let cu = (ct * 100)
427- if ((cu > assetBalance(this, bc)))
408+ let cq = aH(af)
409+ let cl = aG()
410+ let cr = (parseIntValue(cl[P]) + cp)
411+ let cs = (cr * 100)
412+ if ((cs > assetBalance(this, bc)))
428413 then throw("IDO asset has been - sold consider to use smaller payment")
429414 else {
430- let co = [cr, cr, 0, 0]
431-[aN(ae(af), cs, co, F), aN(ag(), cn, co, F), aV(af, cr, 0, cg.transactionId)]
415+ let cm = [cp, cp, 0, 0]
416+[aN(ae(af), cq, cm, F), aN(ag(), cl, cm, F), aV(af, cp, 0, ce.transactionId)]
432417 }
433418 }
434419 }
436421
437422
438423
439-@Callable(cg)
424+@Callable(ce)
440425 func claim (aZ,be) = {
441- let cv = toString(cg.caller)
442- if ((be != cv))
426+ let ct = toString(ce.caller)
427+ if ((be != ct))
443428 then throw("not authorized")
444429 else {
445430 let ba = aD()
446431 let K = ba[z]
447- let cw = aY(aZ, cg.caller, cg.transactionId)
448- let co = cw._1
449- let bu = cw._2
450- let cx = cw._3
451- let bf = cw._4
452- let bj = cw._5
453- let cy = co[aL]
454- let cz = co[aM]
455- let cA = if ((aZ == K))
432+ let cu = aY(aZ, ce.caller, ce.transactionId)
433+ let cm = cu._1
434+ let br = cu._2
435+ let cv = cu._3
436+ let bf = cu._4
437+ let bj = cu._5
438+ let cw = cm[aL]
439+ let cx = cm[aM]
440+ let cy = if ((aZ == K))
456441 then {
457- let cB = bt(K, be, bu, co[aL])
458- let bO = cB._1
459- let bL = cB._2
460- let bM = cB._3
461- let bv = cB._4
462- let bP = cB._5
463- let ca = cB._6
464- let cb = cB._7
465- let bF = cB._8
466- let bG = cB._9
467- let bH = cB._10
468- let bs = [if ((bO > 0))
442+ let cz = bq(K, be, br, cm[aL])
443+ let bL = cz._1
444+ let bI = cz._2
445+ let bJ = cz._3
446+ let bs = cz._4
447+ let bM = cz._5
448+ let bX = cz._6
449+ let bY = cz._7
450+ let bC = cz._8
451+ let bD = cz._9
452+ let bE = cz._10
453+ let bp = [if ((bL > 0))
469454 then true
470- else f(makeString(["nothing to claim", toString(bO), toString(bL), toString(bM), toString(bv), toString(bP), toString(ca), toString(cb), toString(bF), toString(bG), toString(bH)], c)), if ((bM > 0))
455+ else f(makeString(["nothing to claim", toString(bL), toString(bI), toString(bJ), toString(bs), toString(bM), toString(bX), toString(bY), toString(bC), toString(bD), toString(bE)], c)), if ((bJ > 0))
471456 then true
472- else f("unavailable to claim because user period allowance reached"), if ((bL > 0))
457+ else f("unavailable to claim because user period allowance reached"), if ((bI > 0))
473458 then true
474- else f("unavailable to claim because total period allowance reached"), if ((bP > ca))
459+ else f("unavailable to claim because total period allowance reached"), if ((bM > bX))
475460 then true
476461 else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")]
477- if ((bs == bs))
462+ if ((bp == bp))
478463 then {
479- let bN = valueOrElse(getInteger(az(be)), 0)
480- let cC = (bL - bO)
481- let cD = (bM - bO)
482- let cA = if ((bN >= bO))
483- then [ScriptTransfer(cg.caller, bO, cx), IntegerEntry(az(be), (bN - bO))]
464+ let bK = valueOrElse(getInteger(az(be)), 0)
465+ let cA = (bI - bL)
466+ let cB = (bJ - bL)
467+ let cy = if ((bK >= bL))
468+ then [ScriptTransfer(ce.caller, bL, cv), IntegerEntry(az(be), (bK - bL))]
484469 else {
485- let cE = ((bN + bu) - bO)
486-[ScriptTransfer(cg.caller, bO, cx), aN(ae(be), bf, co, bj), aN(ag(), aG(), co, bj), IntegerEntry(az(be), cE)]
470+ let cC = ((bK + br) - bL)
471+[ScriptTransfer(ce.caller, bL, cv), aN(ae(be), bf, cm, bj), aN(ag(), aG(), cm, bj), IntegerEntry(az(be), cC)]
487472 }
488- $Tuple2(([IntegerEntry(an(), bF), IntegerEntry(ao(bF), bG), IntegerEntry(aq(bF), bH), IntegerEntry(av(K, bF), cC), IntegerEntry(aw(K, bF, be), cD), aX(be, bO, cz, cg.transactionId)] ++ cA), unit)
473+ $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bE), IntegerEntry(av(K, bC), cA), IntegerEntry(aw(K, bC, be), cB), aX(be, bL, cx, ce.transactionId)] ++ cy), unit)
489474 }
490475 else throw("Strict value is not equal to itself.")
491476 }
492- else $Tuple2([ScriptTransfer(cg.caller, bu, cx), aN(ae(be), bf, co, bj), aN(ag(), aG(), co, bj), aX(be, cy, cz, cg.transactionId)], unit)
493- cA
477+ else $Tuple2([ScriptTransfer(ce.caller, br, cv), aN(ae(be), bf, cm, bj), aN(ag(), aG(), cm, bj), aX(be, cw, cx, ce.transactionId)], unit)
478+ cy
494479 }
495480 }
496481
497482
498483
499-@Callable(cg)
484+@Callable(ce)
500485 func claimREADONLY (aZ,be) = {
501- let cw = aY(aZ, addressFromStringValue(be), fromBase58String(""))
502- let co = cw._1
503- let bu = cw._2
504- let cx = cw._3
505- let bf = cw._4
506- let bj = cw._5
507- let cF = cw._6
508- let cG = cF[0]
509- let cH = cF[1]
510- $Tuple2(nil, makeString(["%s%d%d", be, toString(cG), toString(cH)], c))
486+ let cu = aY(aZ, addressFromStringValue(be), fromBase58String(""))
487+ let cm = cu._1
488+ let br = cu._2
489+ let cv = cu._3
490+ let bf = cu._4
491+ let bj = cu._5
492+ let cD = cu._6
493+ let cE = cD[0]
494+ let cF = cD[1]
495+ $Tuple2(nil, makeString(["%s%d%d", be, toString(cE), toString(cF)], c))
511496 }
512497
513498
514499
515-@Callable(cg)
500+@Callable(ce)
516501 func claimV2READONLY (aZ,be) = {
517- let cw = aY(aZ, addressFromStringValue(be), fromBase58String(""))
518- let co = cw._1
519- let bu = cw._2
520- let cx = cw._3
521- let bf = cw._4
522- let bj = cw._5
523- let cF = cw._6
524- let cG = cF[0]
525- let cH = cF[1]
502+ let cu = aY(aZ, addressFromStringValue(be), fromBase58String(""))
503+ let cm = cu._1
504+ let br = cu._2
505+ let cv = cu._3
506+ let bf = cu._4
507+ let bj = cu._5
508+ let cD = cu._6
509+ let cE = cD[0]
510+ let cF = cD[1]
526511 let ba = aD()
527512 let K = ba[z]
528- let cI = bt(K, be, bu, co[aL])
529- let bO = cI._1
530- let bL = cI._2
531- let bM = cI._3
532- let bv = cI._4
533- let bP = cI._5
534- let ca = cI._6
535- let cb = cI._7
536- let bF = cI._8
537- let bG = cI._9
538- let bH = cI._10
539- let cJ = value(getInteger(aq(bF)))
540- let cK = if ((height > cJ))
513+ let cG = bq(K, be, br, cm[aL])
514+ let bL = cG._1
515+ let bI = cG._2
516+ let bJ = cG._3
517+ let bs = cG._4
518+ let bM = cG._5
519+ let bX = cG._6
520+ let bY = cG._7
521+ let bC = cG._8
522+ let bD = cG._9
523+ let bE = cG._10
524+ let cH = value(getInteger(aq(bC)))
525+ let cI = if ((height > cH))
541526 then {
542- let cL = value(getInteger(am()))
543- let cM = value(getInteger(au(K)))
544- let cN = value(getInteger(as(K)))
545- makeString(["%d%d%d%d%d%d", toString(cH), toString(cM), toString(cN), toString(bP), toString(ca), toString(cL)], c)
527+ let cJ = value(getInteger(am()))
528+ let cK = value(getInteger(au(K)))
529+ let cL = value(getInteger(as(K)))
530+ makeString(["%d%d%d%d%d%d", toString(cF), toString(cK), toString(cL), toString(bM), toString(bX), toString(cJ)], c)
546531 }
547- else makeString(["%d%d%d%d%d%d", toString(cH), toString(bO), toString(bL), toString(bP), toString(ca), toString(cb)], c)
548- $Tuple2(nil, cK)
532+ else makeString(["%d%d%d%d%d%d", toString(cF), toString(bL), toString(bI), toString(bM), toString(bX), toString(bY)], c)
533+ $Tuple2(nil, cI)
549534 }
550535
551536
552537
553-@Callable(cg)
554-func setManager (cO) = {
555- let cP = cf(cg)
556- if ((cP == cP))
538+@Callable(ce)
539+func setManager (cM) = {
540+ let cN = cd(ce)
541+ if ((cN == cN))
557542 then {
558- let cQ = fromBase58String(cO)
559- if ((cQ == cQ))
560- then [StringEntry(aC(), cO)]
543+ let cO = fromBase58String(cM)
544+ if ((cO == cO))
545+ then [StringEntry(aC(), cM)]
561546 else throw("Strict value is not equal to itself.")
562547 }
563548 else throw("Strict value is not equal to itself.")
565550
566551
567552
568-@Callable(cg)
553+@Callable(ce)
569554 func confirmManager () = {
570- let cR = ce()
571- let cS = if (isDefined(cR))
555+ let cP = cc()
556+ let cQ = if (isDefined(cP))
572557 then true
573558 else throw("No pending manager")
574- if ((cS == cS))
559+ if ((cQ == cQ))
575560 then {
576- let cT = if ((cg.callerPublicKey == value(cR)))
561+ let cR = if ((ce.callerPublicKey == value(cP)))
577562 then true
578563 else throw("You are not pending manager")
579- if ((cT == cT))
580- then [StringEntry(aB(), toBase58String(value(cR))), DeleteEntry(aC())]
564+ if ((cR == cR))
565+ then [StringEntry(aB(), toBase58String(value(cP))), DeleteEntry(aC())]
581566 else throw("Strict value is not equal to itself.")
582567 }
583568 else throw("Strict value is not equal to itself.")
584569 }
585570
586571
587-@Verifier(cU)
588-func cV () = {
589- let cW = {
590- let bq = cc()
591- if ($isInstanceOf(bq, "ByteVector"))
572+@Verifier(cS)
573+func cT () = {
574+ let cU = {
575+ let ca = bZ()
576+ if ($isInstanceOf(ca, "ByteVector"))
592577 then {
593- let ci = bq
594- ci
578+ let cg = ca
579+ cg
595580 }
596- else if ($isInstanceOf(bq, "Unit"))
597- then cU.senderPublicKey
581+ else if ($isInstanceOf(ca, "Unit"))
582+ then cS.senderPublicKey
598583 else throw("Match error")
599584 }
600- sigVerify(cU.bodyBytes, cU.proofs[0], cW)
585+ sigVerify(cS.bodyBytes, cS.proofs[0], cU)
601586 }
602587
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = valueOrErrorMessage(getString(b), (("mandatory this." + b) + " is not defined"))
55
66
77 let c = "__"
88
99 let d = toBigInt(1000000000000000000)
1010
1111 let e = 100000000
1212
1313 func f (g) = throw(makeString(["ido.ride:", g], " "))
1414
1515
1616 func h (i,j,k,l,m) = {
1717 let n = toBigInt(j)
1818 let o = toBigInt(m)
1919 let p = fraction(toBigInt(i), d, n)
2020 let q = fraction(p, toBigInt(l), toBigInt(k))
2121 toInt(fraction(q, toBigInt(m), d))
2222 }
2323
2424
2525 let r = 1
2626
2727 let s = 2
2828
2929 let t = 3
3030
3131 let u = 4
3232
3333 let v = 5
3434
3535 let w = 6
3636
3737 let x = 7
3838
3939 let y = 8
4040
4141 let z = 9
4242
4343 let A = 10
4444
4545 let B = 11
4646
4747 func C (D,E,F,G,k,H,I,J,K,L,M,N) = makeString(["%d%d%d%d%d%d%s%d%s%d%d%d", D, E, F, G, k, H, I, J, K, L, M, N], c)
4848
4949
5050 func O (D,E,F,G,k,H,I,J,K,L,M,N) = C(toString(D), toString(E), toString(F), toString(G), toString(k), toString(H), I, toString(J), K, toString(L), toString(M), toString(N))
5151
5252
5353 let P = 1
5454
5555 let Q = 2
5656
5757 let R = 3
5858
5959 let S = 4
6060
6161 let T = 5
6262
6363 func U (V,W,X,Y,Z) = makeString(["%d%d%d%d%d", V, W, X, Y, Z], c)
6464
6565
6666 func aa (V,W,X,Y,Z) = U(toString(V), toString(W), toString(X), toString(Y), toString(Z))
6767
6868
6969 func ab (i,ac) = makeString(["%d%d%d%d", toString(height), toString(lastBlock.timestamp), toString(i), toString(ac)], c)
7070
7171
7272 func ad () = "%s__config"
7373
7474
7575 func ae (af) = ("%s__" + af)
7676
7777
7878 func ag () = "%s__totals"
7979
8080
8181 func ah (ai,af,aj) = makeString(["%s%s%s%s__history", ai, af, aj], c)
8282
8383
8484 func ak () = "%s__usdnClaimDisabled"
8585
8686
8787 func al () = "%s__usdnClaimEndHeight"
8888
8989
9090 func am () = makeString(["%s", "periodLength"], c)
9191
9292
9393 func an () = makeString(["%s", "currentPeriod"], c)
9494
9595
9696 func ao (ap) = makeString(["%s%s", "periodStartHeight", toString(ap)], c)
9797
9898
9999 func aq (ap) = makeString(["%s%s", "periodEndHeight", toString(ap)], c)
100100
101101
102102 func ar () = makeString(["%s", "usdtPriceAssetAllowableRatio"], c)
103103
104104
105105 func as (at) = makeString(["%s%s", "totalPeriodAllowance", at], c)
106106
107107
108108 func au (at) = makeString(["%s%s", "userPeriodAllowance", at], c)
109109
110110
111111 func av (at,ap) = makeString(["%s%s%s", "periodTotalAvailableToClaim", at, toString(ap)], c)
112112
113113
114114 func aw (at,ap,af) = makeString(["%s%s%s%s", "periodUserAvailableToClaim", at, toString(ap), af], c)
115115
116116
117117 func ax () = makeString(["%s", "usdtPriceAssetStablePool"], c)
118118
119119
120120 func ay () = makeString(["%s", "usdtAssetId"], c)
121121
122122
123123 func az (aA) = makeString(["%s%s", "priceAssetBalance", aA], c)
124124
125125
126126 func aB () = "%s__managerPublicKey"
127127
128128
129129 func aC () = "%s__pendingManagerPublicKey"
130130
131131
132132 func aD () = split(a(ad()), c)
133133
134134
135135 func aE (aF) = split(valueOrElse(getString(aF), U("0", "0", "0", "0", "0")), c)
136136
137137
138138 func aG () = aE(ag())
139139
140140
141141 func aH (af) = aE(ae(af))
142142
143143
144144 func aI (af) = split(a(ae(af)), c)
145145
146146
147147 let aJ = 0
148148
149149 let aK = 1
150150
151151 let aL = 2
152152
153153 let aM = 3
154154
155155 func aN (b,aO,aP,aQ) = {
156156 let V = parseIntValue(aO[P])
157157 let W = parseIntValue(aO[Q])
158158 let X = parseIntValue(aO[R])
159159 let Y = parseIntValue(aO[S])
160160 let Z = parseIntValue(aO[T])
161161 let aR = (V + aP[aJ])
162162 let aS = (W + aP[aK])
163163 let aT = (X + aP[aL])
164164 let aU = (Y + aP[aM])
165165 if ((0 > aS))
166166 then throw("invalid math")
167167 else StringEntry(b, aa(aR, aS, aT, aU, aQ))
168168 }
169169
170170
171171 func aV (af,i,ac,aW) = StringEntry(ah("invest", af, toBase58String(aW)), ab(i, ac))
172172
173173
174174 func aX (af,i,ac,aW) = StringEntry(ah("claim", af, toBase58String(aW)), ab(i, ac))
175175
176176
177177 func aY (aZ,af,aW) = {
178178 let ba = aD()
179179 let F = parseIntValue(ba[t])
180180 let G = parseIntValue(ba[u])
181181 let bb = (F + G)
182182 let k = parseIntValue(ba[v])
183183 let H = parseIntValue(ba[w])
184184 let I = ba[x]
185185 let bc = fromBase58String(I)
186186 let J = parseIntValue(ba[y])
187187 let K = ba[z]
188188 let bd = fromBase58String(K)
189189 let L = parseIntValue(ba[A])
190190 let be = toString(af)
191191 let bf = aI(be)
192192 let bg = parseIntValue(bf[P])
193193 let bh = parseIntValue(bf[T])
194194 let bi = if ((F >= bh))
195195 then F
196196 else bh
197197 let bj = if ((height > bb))
198198 then bb
199199 else if ((F > height))
200200 then F
201201 else height
202202 let bk = (bj - bi)
203203 let bl = fraction(bg, bk, G)
204204 let bm = h(bl, L, k, H, J)
205205 let bn = (aZ == K)
206206 let bo = valueOrElse(getBoolean(ak()), false)
207- let bp = {
208- let bq = getInteger(al())
209- if ($isInstanceOf(bq, "Int"))
210- then {
211- let br = bq
212- (height > br)
213- }
214- else if ($isInstanceOf(bq, "Unit"))
215- then false
216- else throw("Match error")
217- }
218- let bs = [if (!(if (bn)
207+ let bp = [if (!(if (bn)
219208 then bo
220209 else false))
221210 then true
222- else throw("USDN claim is disabled"), if (!(if (bn)
223- then bp
224- else false))
225- then true
226- else throw("USDN claim is ended")]
227- if ((bs == bs))
211+ else throw("USDN claim is disabled")]
212+ if ((bp == bp))
228213 then if ((aZ == K))
229214 then $Tuple6([0, -(bl), bl, 0], bl, bd, bf, bj, [bl, bm])
230215 else if ((aZ == I))
231216 then $Tuple6([0, -(bl), 0, bm], bm, bc, bf, bj, [bl, bm])
232217 else throw(("unsupported assetId: " + aZ))
233218 else throw("Strict value is not equal to itself.")
234219 }
235220
236221
237-func bt (K,be,bu,bv) = {
238- let bw = value(getInteger(as(K)))
239- let bx = value(getInteger(au(K)))
240- let by = value(getInteger(am()))
241- let bz = valueOrElse(getInteger(an()), 0)
242- let bA = isDefined(getInteger(aq(0)))
243- let bB = if ((bz > 0))
222+func bq (K,be,br,bs) = {
223+ let bt = value(getInteger(as(K)))
224+ let bu = value(getInteger(au(K)))
225+ let bv = value(getInteger(am()))
226+ let bw = valueOrElse(getInteger(an()), 0)
227+ let bx = isDefined(getInteger(aq(0)))
228+ let by = if ((bw > 0))
244229 then {
245- let bC = value(getInteger(ao((bz - 1))))
246- let bD = value(getInteger(aq((bz - 1))))
247- let bE = if ((height > bD))
230+ let bz = value(getInteger(ao((bw - 1))))
231+ let bA = value(getInteger(aq((bw - 1))))
232+ let bB = if ((height > bA))
248233 then {
249- let bF = (bz + 1)
250- let bG = (bD + 1)
251- let bH = ((bG + by) - 1)
252- $Tuple3(bF, bG, bH)
234+ let bC = (bw + 1)
235+ let bD = (bA + 1)
236+ let bE = ((bD + bv) - 1)
237+ $Tuple3(bC, bD, bE)
253238 }
254- else $Tuple3(bz, bC, bD)
255- let bF = bE._1
256- let bG = bE._2
257- let bH = bE._3
258- $Tuple3(bF, bG, bH)
239+ else $Tuple3(bw, bz, bA)
240+ let bC = bB._1
241+ let bD = bB._2
242+ let bE = bB._3
243+ $Tuple3(bC, bD, bE)
259244 }
260- else if (bA)
245+ else if (bx)
261246 then {
262- let bI = value(getInteger(ao(0)))
263- let bJ = value(getInteger(aq(0)))
264- let bK = if ((height > bJ))
247+ let bF = value(getInteger(ao(0)))
248+ let bG = value(getInteger(aq(0)))
249+ let bH = if ((height > bG))
265250 then {
266- let bF = (bz + 1)
267- let bG = (bJ + 1)
268- let bH = ((bG + by) - 1)
269- $Tuple3(bF, bG, bH)
251+ let bC = (bw + 1)
252+ let bD = (bG + 1)
253+ let bE = ((bD + bv) - 1)
254+ $Tuple3(bC, bD, bE)
270255 }
271- else $Tuple3(bz, bI, bJ)
272- let bF = bK._1
273- let bG = bK._2
274- let bH = bK._3
275- $Tuple3(bF, bG, bH)
256+ else $Tuple3(bw, bF, bG)
257+ let bC = bH._1
258+ let bD = bH._2
259+ let bE = bH._3
260+ $Tuple3(bC, bD, bE)
276261 }
277- else $Tuple3(bz, valueOrElse(getInteger(ao(bz)), height), valueOrElse(getInteger(aq(bz)), ((height + by) - 1)))
278- let bF = bB._1
279- let bG = bB._2
280- let bH = bB._3
281- let bL = valueOrElse(getInteger(av(K, bF)), bw)
282- let bM = valueOrElse(getInteger(aw(K, bF, be)), bx)
283- let bN = valueOrElse(getInteger(az(be)), 0)
284- let bO = min([(bu + bN), bL, bM])
285- let bP = value(getInteger(ar()))
286- let bQ = e
287- let bR = {
288- let bS = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bQ, K], nil)
289- if ($isInstanceOf(bS, "(Int, Int, Int)"))
290- then bS
262+ else $Tuple3(bw, valueOrElse(getInteger(ao(bw)), height), valueOrElse(getInteger(aq(bw)), ((height + bv) - 1)))
263+ let bC = by._1
264+ let bD = by._2
265+ let bE = by._3
266+ let bI = valueOrElse(getInteger(av(K, bC)), bt)
267+ let bJ = valueOrElse(getInteger(aw(K, bC, be)), bu)
268+ let bK = valueOrElse(getInteger(az(be)), 0)
269+ let bL = min([(br + bK), bI, bJ])
270+ let bM = value(getInteger(ar()))
271+ let bN = e
272+ let bO = {
273+ let bP = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bN, K], nil)
274+ if ($isInstanceOf(bP, "(Int, Int, Int)"))
275+ then bP
291276 else throw("Couldn't cast Any to (Int, Int, Int)")
292277 }
293- if ((bR == bR))
278+ if ((bO == bO))
294279 then {
295- let bT = bR._3
296- let bU = bR._2
297- let bV = bR._1
298- let bW = value(getString(ay()))
299- let bX = {
300- let bS = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bW, bV], nil)
301- if ($isInstanceOf(bS, "(Int, Int)"))
302- then bS
280+ let bQ = bO._3
281+ let bR = bO._2
282+ let bS = bO._1
283+ let bT = value(getString(ay()))
284+ let bU = {
285+ let bP = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bT, bS], nil)
286+ if ($isInstanceOf(bP, "(Int, Int)"))
287+ then bP
303288 else throw("Couldn't cast Any to (Int, Int)")
304289 }
305- if ((bX == bX))
290+ if ((bU == bU))
306291 then {
307- let bY = bX._2
308- let bZ = bX._1
309- let ca = fraction(bZ, bQ, e)
310- let cb = (bH - height)
311- $Tuple10(bO, bL, bM, bv, bP, ca, cb, bF, bG, bH)
292+ let bV = bU._2
293+ let bW = bU._1
294+ let bX = fraction(bW, bN, e)
295+ let bY = (bE - height)
296+ $Tuple10(bL, bI, bJ, bs, bM, bX, bY, bC, bD, bE)
312297 }
313298 else throw("Strict value is not equal to itself.")
314299 }
315300 else throw("Strict value is not equal to itself.")
316301 }
317302
318303
319-func cc () = {
320- let bq = getString(aB())
321- if ($isInstanceOf(bq, "String"))
304+func bZ () = {
305+ let ca = getString(aB())
306+ if ($isInstanceOf(ca, "String"))
322307 then {
323- let cd = bq
324- fromBase58String(cd)
308+ let cb = ca
309+ fromBase58String(cb)
325310 }
326- else if ($isInstanceOf(bq, "Unit"))
311+ else if ($isInstanceOf(ca, "Unit"))
327312 then unit
328313 else throw("Match error")
329314 }
330315
331316
332-func ce () = {
333- let bq = getString(aC())
334- if ($isInstanceOf(bq, "String"))
317+func cc () = {
318+ let ca = getString(aC())
319+ if ($isInstanceOf(ca, "String"))
335320 then {
336- let cd = bq
337- fromBase58String(cd)
321+ let cb = ca
322+ fromBase58String(cb)
338323 }
339- else if ($isInstanceOf(bq, "Unit"))
324+ else if ($isInstanceOf(ca, "Unit"))
340325 then unit
341326 else throw("Match error")
342327 }
343328
344329
345-func cf (cg) = {
346- let ch = throw("Permission denied")
347- let bq = cc()
348- if ($isInstanceOf(bq, "ByteVector"))
330+func cd (ce) = {
331+ let cf = throw("Permission denied")
332+ let ca = bZ()
333+ if ($isInstanceOf(ca, "ByteVector"))
349334 then {
350- let ci = bq
351- if ((cg.callerPublicKey == ci))
335+ let cg = ca
336+ if ((ce.callerPublicKey == cg))
352337 then true
353- else ch
338+ else cf
354339 }
355- else if ($isInstanceOf(bq, "Unit"))
356- then if ((cg.caller == this))
340+ else if ($isInstanceOf(ca, "Unit"))
341+ then if ((ce.caller == this))
357342 then true
358- else ch
343+ else cf
359344 else throw("Match error")
360345 }
361346
362347
363-@Callable(cg)
348+@Callable(ce)
364349 func constructor (D,E,F,G,k,K,M) = {
365350 let H = ((100 * 1000) * 1000)
366- let cj = (D + E)
351+ let ch = (D + E)
367352 if (isDefined(getString(ad())))
368353 then throw("already initialized")
369- else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(cg.caller)))
354+ else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(ce.caller)))
370355 then throw("not authorized")
371- else if ((size(cg.payments) != 1))
356+ else if ((size(ce.payments) != 1))
372357 then throw("exactly 1 payment must be attached")
373- else if ((cj >= F))
358+ else if ((ch >= F))
374359 then throw("claimStart must be greater than idoEnd")
375360 else {
376- let ck = value(cg.payments[0])
377- let bc = value(ck.assetId)
378- let cl = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
361+ let ci = value(ce.payments[0])
362+ let bc = value(ci.assetId)
363+ let cj = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
379364 let I = toBase58String(bc)
380- let J = pow(10, 0, cl.decimals, 0, 0, DOWN)
365+ let J = pow(10, 0, cj.decimals, 0, 0, DOWN)
381366 let bd = fromBase58String(K)
382- let cm = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
383- let L = pow(10, 0, cm.decimals, 0, 0, DOWN)
384- let cn = aG()
385- let co = [0, 0, 0, 0]
386-[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, ck.amount)), aN(ag(), cn, co, F)]
367+ let ck = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
368+ let L = pow(10, 0, ck.decimals, 0, 0, DOWN)
369+ let cl = aG()
370+ let cm = [0, 0, 0, 0]
371+[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, ci.amount)), aN(ag(), cl, cm, F)]
387372 }
388373 }
389374
390375
391376
392-@Callable(cg)
377+@Callable(ce)
393378 func invest () = {
394379 let ba = aD()
395380 let D = parseIntValue(ba[r])
396381 let E = parseIntValue(ba[s])
397- let cj = (D + E)
382+ let ch = (D + E)
398383 let F = parseIntValue(ba[t])
399384 let G = parseIntValue(ba[u])
400385 let k = parseIntValue(ba[v])
401386 let H = parseIntValue(ba[w])
402387 let I = ba[x]
403388 let bc = fromBase58String(I)
404389 let J = parseIntValue(ba[y])
405390 let K = ba[z]
406391 let bd = fromBase58String(K)
407392 let L = parseIntValue(ba[A])
408- let cp = parseIntValue(ba[B])
409- let af = toString(cg.caller)
393+ let cn = parseIntValue(ba[B])
394+ let af = toString(ce.caller)
410395 if ((D > height))
411396 then throw("ido has not been started yet")
412- else if ((height > cj))
397+ else if ((height > ch))
413398 then throw("ido has been already ended")
414- else if ((size(cg.payments) != 1))
399+ else if ((size(ce.payments) != 1))
415400 then throw("exactly 1 payment is expected")
416401 else {
417- let ck = value(cg.payments[0])
418- let cq = value(ck.assetId)
419- let cr = ck.amount
420- if ((cq != bd))
421- then throw((("invalid payment asset id: " + toBase58String(cq)) + " is expected"))
402+ let ci = value(ce.payments[0])
403+ let co = value(ci.assetId)
404+ let cp = ci.amount
405+ if ((co != bd))
406+ then throw((("invalid payment asset id: " + toBase58String(co)) + " is expected"))
422407 else {
423- let cs = aH(af)
424- let cn = aG()
425- let ct = (parseIntValue(cn[P]) + cr)
426- let cu = (ct * 100)
427- if ((cu > assetBalance(this, bc)))
408+ let cq = aH(af)
409+ let cl = aG()
410+ let cr = (parseIntValue(cl[P]) + cp)
411+ let cs = (cr * 100)
412+ if ((cs > assetBalance(this, bc)))
428413 then throw("IDO asset has been - sold consider to use smaller payment")
429414 else {
430- let co = [cr, cr, 0, 0]
431-[aN(ae(af), cs, co, F), aN(ag(), cn, co, F), aV(af, cr, 0, cg.transactionId)]
415+ let cm = [cp, cp, 0, 0]
416+[aN(ae(af), cq, cm, F), aN(ag(), cl, cm, F), aV(af, cp, 0, ce.transactionId)]
432417 }
433418 }
434419 }
435420 }
436421
437422
438423
439-@Callable(cg)
424+@Callable(ce)
440425 func claim (aZ,be) = {
441- let cv = toString(cg.caller)
442- if ((be != cv))
426+ let ct = toString(ce.caller)
427+ if ((be != ct))
443428 then throw("not authorized")
444429 else {
445430 let ba = aD()
446431 let K = ba[z]
447- let cw = aY(aZ, cg.caller, cg.transactionId)
448- let co = cw._1
449- let bu = cw._2
450- let cx = cw._3
451- let bf = cw._4
452- let bj = cw._5
453- let cy = co[aL]
454- let cz = co[aM]
455- let cA = if ((aZ == K))
432+ let cu = aY(aZ, ce.caller, ce.transactionId)
433+ let cm = cu._1
434+ let br = cu._2
435+ let cv = cu._3
436+ let bf = cu._4
437+ let bj = cu._5
438+ let cw = cm[aL]
439+ let cx = cm[aM]
440+ let cy = if ((aZ == K))
456441 then {
457- let cB = bt(K, be, bu, co[aL])
458- let bO = cB._1
459- let bL = cB._2
460- let bM = cB._3
461- let bv = cB._4
462- let bP = cB._5
463- let ca = cB._6
464- let cb = cB._7
465- let bF = cB._8
466- let bG = cB._9
467- let bH = cB._10
468- let bs = [if ((bO > 0))
442+ let cz = bq(K, be, br, cm[aL])
443+ let bL = cz._1
444+ let bI = cz._2
445+ let bJ = cz._3
446+ let bs = cz._4
447+ let bM = cz._5
448+ let bX = cz._6
449+ let bY = cz._7
450+ let bC = cz._8
451+ let bD = cz._9
452+ let bE = cz._10
453+ let bp = [if ((bL > 0))
469454 then true
470- else f(makeString(["nothing to claim", toString(bO), toString(bL), toString(bM), toString(bv), toString(bP), toString(ca), toString(cb), toString(bF), toString(bG), toString(bH)], c)), if ((bM > 0))
455+ else f(makeString(["nothing to claim", toString(bL), toString(bI), toString(bJ), toString(bs), toString(bM), toString(bX), toString(bY), toString(bC), toString(bD), toString(bE)], c)), if ((bJ > 0))
471456 then true
472- else f("unavailable to claim because user period allowance reached"), if ((bL > 0))
457+ else f("unavailable to claim because user period allowance reached"), if ((bI > 0))
473458 then true
474- else f("unavailable to claim because total period allowance reached"), if ((bP > ca))
459+ else f("unavailable to claim because total period allowance reached"), if ((bM > bX))
475460 then true
476461 else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")]
477- if ((bs == bs))
462+ if ((bp == bp))
478463 then {
479- let bN = valueOrElse(getInteger(az(be)), 0)
480- let cC = (bL - bO)
481- let cD = (bM - bO)
482- let cA = if ((bN >= bO))
483- then [ScriptTransfer(cg.caller, bO, cx), IntegerEntry(az(be), (bN - bO))]
464+ let bK = valueOrElse(getInteger(az(be)), 0)
465+ let cA = (bI - bL)
466+ let cB = (bJ - bL)
467+ let cy = if ((bK >= bL))
468+ then [ScriptTransfer(ce.caller, bL, cv), IntegerEntry(az(be), (bK - bL))]
484469 else {
485- let cE = ((bN + bu) - bO)
486-[ScriptTransfer(cg.caller, bO, cx), aN(ae(be), bf, co, bj), aN(ag(), aG(), co, bj), IntegerEntry(az(be), cE)]
470+ let cC = ((bK + br) - bL)
471+[ScriptTransfer(ce.caller, bL, cv), aN(ae(be), bf, cm, bj), aN(ag(), aG(), cm, bj), IntegerEntry(az(be), cC)]
487472 }
488- $Tuple2(([IntegerEntry(an(), bF), IntegerEntry(ao(bF), bG), IntegerEntry(aq(bF), bH), IntegerEntry(av(K, bF), cC), IntegerEntry(aw(K, bF, be), cD), aX(be, bO, cz, cg.transactionId)] ++ cA), unit)
473+ $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bE), IntegerEntry(av(K, bC), cA), IntegerEntry(aw(K, bC, be), cB), aX(be, bL, cx, ce.transactionId)] ++ cy), unit)
489474 }
490475 else throw("Strict value is not equal to itself.")
491476 }
492- else $Tuple2([ScriptTransfer(cg.caller, bu, cx), aN(ae(be), bf, co, bj), aN(ag(), aG(), co, bj), aX(be, cy, cz, cg.transactionId)], unit)
493- cA
477+ else $Tuple2([ScriptTransfer(ce.caller, br, cv), aN(ae(be), bf, cm, bj), aN(ag(), aG(), cm, bj), aX(be, cw, cx, ce.transactionId)], unit)
478+ cy
494479 }
495480 }
496481
497482
498483
499-@Callable(cg)
484+@Callable(ce)
500485 func claimREADONLY (aZ,be) = {
501- let cw = aY(aZ, addressFromStringValue(be), fromBase58String(""))
502- let co = cw._1
503- let bu = cw._2
504- let cx = cw._3
505- let bf = cw._4
506- let bj = cw._5
507- let cF = cw._6
508- let cG = cF[0]
509- let cH = cF[1]
510- $Tuple2(nil, makeString(["%s%d%d", be, toString(cG), toString(cH)], c))
486+ let cu = aY(aZ, addressFromStringValue(be), fromBase58String(""))
487+ let cm = cu._1
488+ let br = cu._2
489+ let cv = cu._3
490+ let bf = cu._4
491+ let bj = cu._5
492+ let cD = cu._6
493+ let cE = cD[0]
494+ let cF = cD[1]
495+ $Tuple2(nil, makeString(["%s%d%d", be, toString(cE), toString(cF)], c))
511496 }
512497
513498
514499
515-@Callable(cg)
500+@Callable(ce)
516501 func claimV2READONLY (aZ,be) = {
517- let cw = aY(aZ, addressFromStringValue(be), fromBase58String(""))
518- let co = cw._1
519- let bu = cw._2
520- let cx = cw._3
521- let bf = cw._4
522- let bj = cw._5
523- let cF = cw._6
524- let cG = cF[0]
525- let cH = cF[1]
502+ let cu = aY(aZ, addressFromStringValue(be), fromBase58String(""))
503+ let cm = cu._1
504+ let br = cu._2
505+ let cv = cu._3
506+ let bf = cu._4
507+ let bj = cu._5
508+ let cD = cu._6
509+ let cE = cD[0]
510+ let cF = cD[1]
526511 let ba = aD()
527512 let K = ba[z]
528- let cI = bt(K, be, bu, co[aL])
529- let bO = cI._1
530- let bL = cI._2
531- let bM = cI._3
532- let bv = cI._4
533- let bP = cI._5
534- let ca = cI._6
535- let cb = cI._7
536- let bF = cI._8
537- let bG = cI._9
538- let bH = cI._10
539- let cJ = value(getInteger(aq(bF)))
540- let cK = if ((height > cJ))
513+ let cG = bq(K, be, br, cm[aL])
514+ let bL = cG._1
515+ let bI = cG._2
516+ let bJ = cG._3
517+ let bs = cG._4
518+ let bM = cG._5
519+ let bX = cG._6
520+ let bY = cG._7
521+ let bC = cG._8
522+ let bD = cG._9
523+ let bE = cG._10
524+ let cH = value(getInteger(aq(bC)))
525+ let cI = if ((height > cH))
541526 then {
542- let cL = value(getInteger(am()))
543- let cM = value(getInteger(au(K)))
544- let cN = value(getInteger(as(K)))
545- makeString(["%d%d%d%d%d%d", toString(cH), toString(cM), toString(cN), toString(bP), toString(ca), toString(cL)], c)
527+ let cJ = value(getInteger(am()))
528+ let cK = value(getInteger(au(K)))
529+ let cL = value(getInteger(as(K)))
530+ makeString(["%d%d%d%d%d%d", toString(cF), toString(cK), toString(cL), toString(bM), toString(bX), toString(cJ)], c)
546531 }
547- else makeString(["%d%d%d%d%d%d", toString(cH), toString(bO), toString(bL), toString(bP), toString(ca), toString(cb)], c)
548- $Tuple2(nil, cK)
532+ else makeString(["%d%d%d%d%d%d", toString(cF), toString(bL), toString(bI), toString(bM), toString(bX), toString(bY)], c)
533+ $Tuple2(nil, cI)
549534 }
550535
551536
552537
553-@Callable(cg)
554-func setManager (cO) = {
555- let cP = cf(cg)
556- if ((cP == cP))
538+@Callable(ce)
539+func setManager (cM) = {
540+ let cN = cd(ce)
541+ if ((cN == cN))
557542 then {
558- let cQ = fromBase58String(cO)
559- if ((cQ == cQ))
560- then [StringEntry(aC(), cO)]
543+ let cO = fromBase58String(cM)
544+ if ((cO == cO))
545+ then [StringEntry(aC(), cM)]
561546 else throw("Strict value is not equal to itself.")
562547 }
563548 else throw("Strict value is not equal to itself.")
564549 }
565550
566551
567552
568-@Callable(cg)
553+@Callable(ce)
569554 func confirmManager () = {
570- let cR = ce()
571- let cS = if (isDefined(cR))
555+ let cP = cc()
556+ let cQ = if (isDefined(cP))
572557 then true
573558 else throw("No pending manager")
574- if ((cS == cS))
559+ if ((cQ == cQ))
575560 then {
576- let cT = if ((cg.callerPublicKey == value(cR)))
561+ let cR = if ((ce.callerPublicKey == value(cP)))
577562 then true
578563 else throw("You are not pending manager")
579- if ((cT == cT))
580- then [StringEntry(aB(), toBase58String(value(cR))), DeleteEntry(aC())]
564+ if ((cR == cR))
565+ then [StringEntry(aB(), toBase58String(value(cP))), DeleteEntry(aC())]
581566 else throw("Strict value is not equal to itself.")
582567 }
583568 else throw("Strict value is not equal to itself.")
584569 }
585570
586571
587-@Verifier(cU)
588-func cV () = {
589- let cW = {
590- let bq = cc()
591- if ($isInstanceOf(bq, "ByteVector"))
572+@Verifier(cS)
573+func cT () = {
574+ let cU = {
575+ let ca = bZ()
576+ if ($isInstanceOf(ca, "ByteVector"))
592577 then {
593- let ci = bq
594- ci
578+ let cg = ca
579+ cg
595580 }
596- else if ($isInstanceOf(bq, "Unit"))
597- then cU.senderPublicKey
581+ else if ($isInstanceOf(ca, "Unit"))
582+ then cS.senderPublicKey
598583 else throw("Match error")
599584 }
600- sigVerify(cU.bodyBytes, cU.proofs[0], cW)
585+ sigVerify(cS.bodyBytes, cS.proofs[0], cU)
601586 }
602587

github/deemru/w8io/026f985 
148.92 ms