tx · GBouABYyNQ5qo27b5P8iaJYzD4HchJFMfEodyP7GNdtZ

3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv:  -0.02700000 Waves

2022.11.03 15:21 [2300932] smart account 3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv > SELF 0.00000000 Waves

{ "type": 13, "id": "GBouABYyNQ5qo27b5P8iaJYzD4HchJFMfEodyP7GNdtZ", "fee": 2700000, "feeAssetId": null, "timestamp": 1667478089484, "version": 1, "sender": "3MvZpvvbmovEt3pvdDZKvhKRjjQxdbUD6Tv", "senderPublicKey": "39YkRD2qWXTcdNBr4CbDnm8g8SAB2FKVaDeGYahcFHHx", "proofs": [ "2VpsFJHq7k3Cv8sF5yAwMo3s3dQJUzLRnaz9pAvqcBKVYjRCArmBnccoTgyF4zM7TZwRuiYYFcn9C33S7L6xCDFX" ], "script": "base64:AAIFAAAAAAAADy0IAhIJCgcBAQEBAQgBEgASBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIAIg9nZXRTdHJpbmdPckZhaWwiA2tleSIDU0VQIghCVUZTQ0FMRSIGc2NhbGU4Igh0aHJvd0VyciIDbXNnIh1jb252ZXJ0UHJpY2VBc3NldEludG9JZG9Bc3NldCIQcHJpY2VBc3NldEFtb3VudCIOcHJpY2VBc3NldE1VTFQiBXByaWNlIglwcmljZU1VTFQiDGlkb0Fzc2V0TVVMVCIPYlByaWNlQXNzZXRNVUxUIg1iSWRvQXNzZXRNVUxUIg5iUHJpY2VBc3NldEJVRiIPYkFtb3VudEFzc2V0QlVGIg5JZHhDZmdJZG9TdGFydCIRSWR4Q2ZnSWRvRHVyYXRpb24iEElkeENmZ0NsYWltU3RhcnQiE0lkeENmZ0NsYWltRHVyYXRpb24iC0lkeENmZ1ByaWNlIg9JZHhDZmdQcmljZU11bHQiEElkeENmZ0lkb0Fzc2V0SWQiEklkeENmZ0lkb0Fzc2V0TXVsdCISSWR4Q2ZnUHJpY2VBc3NldElkIhRJZHhDZmdQcm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AAACY2YAAAAABAAAAAJjWQMJAQAAAAlpc0RlZmluZWQAAAABBQAAAAJjWAYJAAACAAAAAQIAAAASTm8gcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJjWQUAAAACY1kEAAAAAmNaAwkAAAAAAAACCAUAAAACY2gAAAAPY2FsbGVyUHVibGljS2V5CQEAAAAFdmFsdWUAAAABBQAAAAJjWAYJAAACAAAAAQIAAAAbWW91IGFyZSBub3QgcGVuZGluZyBtYW5hZ2VyAwkAAAAAAAACBQAAAAJjWgUAAAACY1oJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAAmFCAAAAAAkAAlgAAAABCQEAAAAFdmFsdWUAAAABBQAAAAJjWAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAACYUMAAAAABQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACZGEBAAAAAmRiAAAAAAQAAAACZGMEAAAAAmNkCQEAAAACY2MAAAAAAwkAAAEAAAACBQAAAAJjZAIAAAAKQnl0ZVZlY3RvcgQAAAACY2oFAAAAAmNkBQAAAAJjagMJAAABAAAAAgUAAAACY2QCAAAABFVuaXQIBQAAAAJkYQAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmRhAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACZGEAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJkY3J7HEM=", "chainId": 84, "height": 2300932, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9cSBRe14tt8CVmX5shjK7fHJFWYiuEWyaLeK3YC3xPH Next: GuP8Xv9mLH4Nfg6XJ7qwX6jG8MxyaMe8a4uKGCrTnG94 Diff:
OldNewDifferences
274274 let bK = valueOrElse(getInteger(aw(K, bC, be)), bu)
275275 let bL = valueOrElse(getInteger(az(be)), 0)
276276 let bM = min([(br + bL), bJ, bK])
277- let bN = value(getInteger(ar()))
278- let bO = e
279- let bP = {
280- let bQ = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bO, K], nil)
281- if ($isInstanceOf(bQ, "(Int, Int, Int)"))
282- then bQ
283- else throw("Couldn't cast Any to (Int, Int, Int)")
284- }
285- if ((bP == bP))
277+ let bN = (br + bL)
278+ let bO = throw(makeString([toString(br), toString(bL), toString(bN), toString(bJ), toString(bK)], c))
279+ if ((bO == bO))
286280 then {
287- let bR = bP._3
288- let bS = bP._2
289- let bT = bP._1
290- let bU = value(getString(ay()))
291- let bV = {
292- let bQ = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bU, bT], nil)
293- if ($isInstanceOf(bQ, "(Int, Int)"))
294- then bQ
295- else throw("Couldn't cast Any to (Int, Int)")
281+ let bP = value(getInteger(ar()))
282+ let bQ = e
283+ let bR = {
284+ let bS = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bQ, K], nil)
285+ if ($isInstanceOf(bS, "(Int, Int, Int)"))
286+ then bS
287+ else throw("Couldn't cast Any to (Int, Int, Int)")
296288 }
297- if ((bV == bV))
289+ if ((bR == bR))
298290 then {
299- let bW = bV._2
300- let bX = bV._1
301- let bY = fraction(bX, bO, e)
302- let bZ = (bF - height)
303- $Tuple10(bM, bJ, bK, bs, bN, bY, bZ, bC, bD, bF)
291+ let bT = bR._3
292+ let bU = bR._2
293+ let bV = bR._1
294+ let bW = value(getString(ay()))
295+ let bX = {
296+ let bS = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bW, bV], nil)
297+ if ($isInstanceOf(bS, "(Int, Int)"))
298+ then bS
299+ else throw("Couldn't cast Any to (Int, Int)")
300+ }
301+ if ((bX == bX))
302+ then {
303+ let bY = bX._2
304+ let bZ = bX._1
305+ let ca = fraction(bZ, bQ, e)
306+ let cb = (bF - height)
307+ $Tuple10(bM, bJ, bK, bs, bP, ca, cb, bC, bD, bF)
308+ }
309+ else throw("Strict value is not equal to itself.")
304310 }
305311 else throw("Strict value is not equal to itself.")
306312 }
308314 }
309315
310316
311-func ca () = {
312- let cb = getString(aB())
313- if ($isInstanceOf(cb, "String"))
317+func cc () = {
318+ let cd = getString(aB())
319+ if ($isInstanceOf(cd, "String"))
314320 then {
315- let cc = cb
316- fromBase58String(cc)
321+ let ce = cd
322+ fromBase58String(ce)
317323 }
318- else if ($isInstanceOf(cb, "Unit"))
324+ else if ($isInstanceOf(cd, "Unit"))
319325 then unit
320326 else throw("Match error")
321327 }
322328
323329
324-func cd () = {
325- let cb = getString(aC())
326- if ($isInstanceOf(cb, "String"))
330+func cf () = {
331+ let cd = getString(aC())
332+ if ($isInstanceOf(cd, "String"))
327333 then {
328- let cc = cb
329- fromBase58String(cc)
334+ let ce = cd
335+ fromBase58String(ce)
330336 }
331- else if ($isInstanceOf(cb, "Unit"))
337+ else if ($isInstanceOf(cd, "Unit"))
332338 then unit
333339 else throw("Match error")
334340 }
335341
336342
337-func ce (cf) = {
338- let cg = throw("Permission denied")
339- let cb = ca()
340- if ($isInstanceOf(cb, "ByteVector"))
343+func cg (ch) = {
344+ let ci = throw("Permission denied")
345+ let cd = cc()
346+ if ($isInstanceOf(cd, "ByteVector"))
341347 then {
342- let ch = cb
343- if ((cf.callerPublicKey == ch))
348+ let cj = cd
349+ if ((ch.callerPublicKey == cj))
344350 then true
345- else cg
351+ else ci
346352 }
347- else if ($isInstanceOf(cb, "Unit"))
348- then if ((cf.caller == this))
353+ else if ($isInstanceOf(cd, "Unit"))
354+ then if ((ch.caller == this))
349355 then true
350- else cg
356+ else ci
351357 else throw("Match error")
352358 }
353359
354360
355-@Callable(cf)
361+@Callable(ch)
356362 func constructor (D,E,F,G,k,K,M) = {
357363 let H = ((100 * 1000) * 1000)
358- let ci = (D + E)
364+ let ck = (D + E)
359365 if (isDefined(getString(ad())))
360366 then throw("already initialized")
361- else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(cf.caller)))
367+ else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(ch.caller)))
362368 then throw("not authorized")
363- else if ((size(cf.payments) != 1))
369+ else if ((size(ch.payments) != 1))
364370 then throw("exactly 1 payment must be attached")
365- else if ((ci >= F))
371+ else if ((ck >= F))
366372 then throw("claimStart must be greater than idoEnd")
367373 else {
368- let cj = value(cf.payments[0])
369- let bc = value(cj.assetId)
370- let ck = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
374+ let cl = value(ch.payments[0])
375+ let bc = value(cl.assetId)
376+ let cm = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
371377 let I = toBase58String(bc)
372- let J = pow(10, 0, ck.decimals, 0, 0, DOWN)
378+ let J = pow(10, 0, cm.decimals, 0, 0, DOWN)
373379 let bd = fromBase58String(K)
374- let cl = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
375- let L = pow(10, 0, cl.decimals, 0, 0, DOWN)
376- let cm = aG()
377- let cn = [0, 0, 0, 0]
378-[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cj.amount)), aN(ag(), cm, cn, F)]
380+ let cn = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
381+ let L = pow(10, 0, cn.decimals, 0, 0, DOWN)
382+ let co = aG()
383+ let cp = [0, 0, 0, 0]
384+[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cl.amount)), aN(ag(), co, cp, F)]
379385 }
380386 }
381387
382388
383389
384-@Callable(cf)
390+@Callable(ch)
385391 func invest () = {
386392 let ba = aD()
387393 let D = parseIntValue(ba[r])
388394 let E = parseIntValue(ba[s])
389- let ci = (D + E)
395+ let ck = (D + E)
390396 let F = parseIntValue(ba[t])
391397 let G = parseIntValue(ba[u])
392398 let k = parseIntValue(ba[v])
397403 let K = ba[z]
398404 let bd = fromBase58String(K)
399405 let L = parseIntValue(ba[A])
400- let co = parseIntValue(ba[B])
401- let af = toString(cf.caller)
406+ let cq = parseIntValue(ba[B])
407+ let af = toString(ch.caller)
402408 if ((D > height))
403409 then throw("ido has not been started yet")
404- else if ((height > ci))
410+ else if ((height > ck))
405411 then throw("ido has been already ended")
406- else if ((size(cf.payments) != 1))
412+ else if ((size(ch.payments) != 1))
407413 then throw("exactly 1 payment is expected")
408414 else {
409- let cj = value(cf.payments[0])
410- let cp = value(cj.assetId)
411- let cq = cj.amount
412- if ((cp != bd))
413- then throw((("invalid payment asset id: " + toBase58String(cp)) + " is expected"))
415+ let cl = value(ch.payments[0])
416+ let cr = value(cl.assetId)
417+ let cs = cl.amount
418+ if ((cr != bd))
419+ then throw((("invalid payment asset id: " + toBase58String(cr)) + " is expected"))
414420 else {
415- let cr = aH(af)
416- let cm = aG()
417- let cs = (parseIntValue(cm[P]) + cq)
418- let ct = (cs * 100)
419- if ((ct > assetBalance(this, bc)))
421+ let ct = aH(af)
422+ let co = aG()
423+ let cu = (parseIntValue(co[P]) + cs)
424+ let cv = (cu * 100)
425+ if ((cv > assetBalance(this, bc)))
420426 then throw("IDO asset has been - sold consider to use smaller payment")
421427 else {
422- let cn = [cq, cq, 0, 0]
423-[aN(ae(af), cr, cn, F), aN(ag(), cm, cn, F), aV(af, cq, 0, cf.transactionId)]
428+ let cp = [cs, cs, 0, 0]
429+[aN(ae(af), ct, cp, F), aN(ag(), co, cp, F), aV(af, cs, 0, ch.transactionId)]
424430 }
425431 }
426432 }
428434
429435
430436
431-@Callable(cf)
437+@Callable(ch)
432438 func claim (aZ,be) = {
433- let cu = toString(cf.caller)
434- if ((be != cu))
439+ let cw = toString(ch.caller)
440+ if ((be != cw))
435441 then throw("not authorized")
436442 else {
437443 let ba = aD()
438444 let K = ba[z]
439- let cv = aY(aZ, cf.caller, cf.transactionId)
440- let cn = cv._1
441- let br = cv._2
442- let cw = cv._3
443- let bf = cv._4
444- let bj = cv._5
445- let cx = cn[aL]
446- let cy = cn[aM]
447- let cz = if ((aZ == K))
445+ let cx = aY(aZ, ch.caller, ch.transactionId)
446+ let cp = cx._1
447+ let br = cx._2
448+ let cy = cx._3
449+ let bf = cx._4
450+ let bj = cx._5
451+ let cz = cp[aL]
452+ let cA = cp[aM]
453+ let cB = if ((aZ == K))
448454 then {
449- let cA = bq(K, be, br, cn[aL])
450- let bM = cA._1
451- let bJ = cA._2
452- let bK = cA._3
453- let bs = cA._4
454- let bN = cA._5
455- let bY = cA._6
456- let bZ = cA._7
457- let bC = cA._8
458- let bD = cA._9
459- let bF = cA._10
455+ let cC = bq(K, be, br, cp[aL])
456+ let bM = cC._1
457+ let bJ = cC._2
458+ let bK = cC._3
459+ let bs = cC._4
460+ let bP = cC._5
461+ let ca = cC._6
462+ let cb = cC._7
463+ let bC = cC._8
464+ let bD = cC._9
465+ let bF = cC._10
460466 let bp = [if ((bK > 0))
461467 then true
462468 else f("unavailable to claim because user period allowance reached"), if ((bJ > 0))
463469 then true
464470 else f("unavailable to claim because total period allowance reached"), if ((bM > 0))
465471 then true
466- else f("nothing to claim"), if ((bN > bY))
472+ else f("nothing to claim"), if ((bP > ca))
467473 then true
468474 else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")]
469475 if ((bp == bp))
470476 then {
471477 let bL = valueOrElse(getInteger(az(be)), 0)
472- let cB = (bJ - bM)
473- let cC = (bK - bM)
474- let cD = value(assetInfo(fromBase58String(aZ))).decimals
475- let cE = fraction(bM, pow(10, 0, cD, 0, 0, DOWN), e)
476- let cF = throw(makeString([toString(cD), toString(bM), toString(cE)], c))
477- if ((cF == cF))
478+ let cD = (bJ - bM)
479+ let cE = (bK - bM)
480+ let cF = value(assetInfo(fromBase58String(aZ))).decimals
481+ let cG = fraction(bM, pow(10, 0, cF, 0, 0, DOWN), e)
482+ let cH = throw(makeString([toString(cF), toString(bM), toString(cG)], c))
483+ if ((cH == cH))
478484 then {
479- let cz = if ((bL >= bM))
480- then [ScriptTransfer(cf.caller, cE, cw), IntegerEntry(az(be), (bL - bM))]
485+ let cB = if ((bL >= bM))
486+ then [ScriptTransfer(ch.caller, cG, cy), IntegerEntry(az(be), (bL - bM))]
481487 else {
482- let cG = ((bL + br) - bM)
483-[ScriptTransfer(cf.caller, cE, cw), aN(ae(be), bf, cn, bj), aN(ag(), aG(), cn, bj), IntegerEntry(az(be), cG)]
488+ let cI = ((bL + br) - bM)
489+[ScriptTransfer(ch.caller, cG, cy), aN(ae(be), bf, cp, bj), aN(ag(), aG(), cp, bj), IntegerEntry(az(be), cI)]
484490 }
485- $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bF), IntegerEntry(av(K, bC), cB), IntegerEntry(aw(K, bC, be), cC), aX(be, cE, cy, cf.transactionId)] ++ cz), unit)
491+ $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bF), IntegerEntry(av(K, bC), cD), IntegerEntry(aw(K, bC, be), cE), aX(be, cG, cA, ch.transactionId)] ++ cB), unit)
486492 }
487493 else throw("Strict value is not equal to itself.")
488494 }
489495 else throw("Strict value is not equal to itself.")
490496 }
491- else $Tuple2([ScriptTransfer(cf.caller, br, cw), IntegerEntry(az(be), 0), aN(ae(be), bf, cn, bj), aN(ag(), aG(), cn, bj), aX(be, cx, cy, cf.transactionId)], unit)
492- cz
497+ else $Tuple2([ScriptTransfer(ch.caller, br, cy), IntegerEntry(az(be), 0), aN(ae(be), bf, cp, bj), aN(ag(), aG(), cp, bj), aX(be, cz, cA, ch.transactionId)], unit)
498+ cB
493499 }
494500 }
495501
496502
497503
498-@Callable(cf)
504+@Callable(ch)
499505 func claimREADONLY (aZ,be) = {
500- let cv = aY(aZ, addressFromStringValue(be), fromBase58String(""))
501- let cn = cv._1
502- let br = cv._2
503- let cw = cv._3
504- let bf = cv._4
505- let bj = cv._5
506- let cH = cv._6
507- let cI = cH[0]
508- let cJ = cH[1]
509- $Tuple2(nil, makeString(["%s%d%d", be, toString(cI), toString(cJ)], c))
506+ let cx = aY(aZ, addressFromStringValue(be), fromBase58String(""))
507+ let cp = cx._1
508+ let br = cx._2
509+ let cy = cx._3
510+ let bf = cx._4
511+ let bj = cx._5
512+ let cJ = cx._6
513+ let cK = cJ[0]
514+ let cL = cJ[1]
515+ $Tuple2(nil, makeString(["%s%d%d", be, toString(cK), toString(cL)], c))
510516 }
511517
512518
513519
514-@Callable(cf)
520+@Callable(ch)
515521 func claimV2READONLY (aZ,be) = {
516- let cv = aY(aZ, addressFromStringValue(be), fromBase58String(""))
517- let cn = cv._1
518- let br = cv._2
519- let cw = cv._3
520- let bf = cv._4
521- let bj = cv._5
522- let cH = cv._6
523- let cI = cH[0]
524- let cJ = cH[1]
522+ let cx = aY(aZ, addressFromStringValue(be), fromBase58String(""))
523+ let cp = cx._1
524+ let br = cx._2
525+ let cy = cx._3
526+ let bf = cx._4
527+ let bj = cx._5
528+ let cJ = cx._6
529+ let cK = cJ[0]
530+ let cL = cJ[1]
525531 let ba = aD()
526532 let K = ba[z]
527533 let bL = valueOrElse(getInteger(az(be)), 0)
528- let cK = (cJ + bL)
529- let cL = bq(K, be, br, cn[aL])
530- let bM = cL._1
531- let bJ = cL._2
532- let bK = cL._3
533- let bs = cL._4
534- let bN = cL._5
535- let bY = cL._6
536- let bZ = cL._7
537- let bC = cL._8
538- let bD = cL._9
539- let bF = cL._10
540- let cM = valueOrElse(getInteger(aq(bC)), 0)
541- let cN = value(assetInfo(fromBase58String(aZ))).decimals
542- let cO = if ((height > cM))
534+ let cM = (cL + bL)
535+ let cN = bq(K, be, br, cp[aL])
536+ let bM = cN._1
537+ let bJ = cN._2
538+ let bK = cN._3
539+ let bs = cN._4
540+ let bP = cN._5
541+ let ca = cN._6
542+ let cb = cN._7
543+ let bC = cN._8
544+ let bD = cN._9
545+ let bF = cN._10
546+ let cO = valueOrElse(getInteger(aq(bC)), 0)
547+ let cP = value(assetInfo(fromBase58String(aZ))).decimals
548+ let cQ = if ((height > cO))
543549 then {
544- let cP = value(getInteger(am()))
545- let cQ = value(getInteger(au(K)))
546- let cR = value(getInteger(as(K)))
547- makeString(["%d%d%d%d%d%d", toString(cK), toString(cQ), toString(cR), toString(bN), toString(bY), toString(cP), toString(br), toString(bM), toString(bK), toString(cN)], c)
550+ let cR = value(getInteger(am()))
551+ let cS = value(getInteger(au(K)))
552+ let cT = value(getInteger(as(K)))
553+ makeString(["%d%d%d%d%d%d", toString(cM), toString(cS), toString(cT), toString(bP), toString(ca), toString(cR), toString(br), toString(bM), toString(bK), toString(cP)], c)
548554 }
549- else makeString(["%d%d%d%d%d%d", toString(cK), toString(bM), toString(bJ), toString(bN), toString(bY), toString(bZ), toString(br), toString(bM), toString(bK), toString(cN)], c)
550- $Tuple2(nil, cO)
555+ else makeString(["%d%d%d%d%d%d", toString(cM), toString(bM), toString(bJ), toString(bP), toString(ca), toString(cb), toString(br), toString(bM), toString(bK), toString(cP)], c)
556+ $Tuple2(nil, cQ)
551557 }
552558
553559
554560
555-@Callable(cf)
556-func setManager (cS) = {
557- let cT = ce(cf)
558- if ((cT == cT))
561+@Callable(ch)
562+func setManager (cU) = {
563+ let cV = cg(ch)
564+ if ((cV == cV))
559565 then {
560- let cU = fromBase58String(cS)
561- if ((cU == cU))
562- then [StringEntry(aC(), cS)]
566+ let cW = fromBase58String(cU)
567+ if ((cW == cW))
568+ then [StringEntry(aC(), cU)]
563569 else throw("Strict value is not equal to itself.")
564570 }
565571 else throw("Strict value is not equal to itself.")
567573
568574
569575
570-@Callable(cf)
576+@Callable(ch)
571577 func confirmManager () = {
572- let cV = cd()
573- let cW = if (isDefined(cV))
578+ let cX = cf()
579+ let cY = if (isDefined(cX))
574580 then true
575581 else throw("No pending manager")
576- if ((cW == cW))
582+ if ((cY == cY))
577583 then {
578- let cX = if ((cf.callerPublicKey == value(cV)))
584+ let cZ = if ((ch.callerPublicKey == value(cX)))
579585 then true
580586 else throw("You are not pending manager")
581- if ((cX == cX))
582- then [StringEntry(aB(), toBase58String(value(cV))), DeleteEntry(aC())]
587+ if ((cZ == cZ))
588+ then [StringEntry(aB(), toBase58String(value(cX))), DeleteEntry(aC())]
583589 else throw("Strict value is not equal to itself.")
584590 }
585591 else throw("Strict value is not equal to itself.")
586592 }
587593
588594
589-@Verifier(cY)
590-func cZ () = {
591- let da = {
592- let cb = ca()
593- if ($isInstanceOf(cb, "ByteVector"))
595+@Verifier(da)
596+func db () = {
597+ let dc = {
598+ let cd = cc()
599+ if ($isInstanceOf(cd, "ByteVector"))
594600 then {
595- let ch = cb
596- ch
601+ let cj = cd
602+ cj
597603 }
598- else if ($isInstanceOf(cb, "Unit"))
599- then cY.senderPublicKey
604+ else if ($isInstanceOf(cd, "Unit"))
605+ then da.senderPublicKey
600606 else throw("Match error")
601607 }
602- sigVerify(cY.bodyBytes, cY.proofs[0], da)
608+ sigVerify(da.bodyBytes, da.proofs[0], dc)
603609 }
604610
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)
207207 let bp = [if (!(if (bn)
208208 then bo
209209 else false))
210210 then true
211211 else throw("USDN claim is disabled")]
212212 if ((bp == bp))
213213 then if ((aZ == K))
214214 then $Tuple6([0, -(bl), bl, 0], bl, bd, bf, bj, [bl, bm])
215215 else if ((aZ == I))
216216 then $Tuple6([0, -(bl), 0, bm], bm, bc, bf, bj, [bl, bm])
217217 else throw(("unsupported assetId: " + aZ))
218218 else throw("Strict value is not equal to itself.")
219219 }
220220
221221
222222 func bq (K,be,br,bs) = {
223223 let bt = value(getInteger(as(K)))
224224 let bu = value(getInteger(au(K)))
225225 let bv = value(getInteger(am()))
226226 let bw = valueOrElse(getInteger(an()), 0)
227227 let bx = isDefined(getInteger(aq(0)))
228228 let by = if ((bw > 0))
229229 then {
230230 let bz = value(getInteger(ao(bw)))
231231 let bA = value(getInteger(aq(bw)))
232232 let bB = if ((height > bA))
233233 then {
234234 let bC = (bw + 1)
235235 let bD = if ((height > (bA + bv)))
236236 then {
237237 let bE = ((height - bA) % bv)
238238 if ((bE == 0))
239239 then ((height - bv) + 1)
240240 else (height - bE)
241241 }
242242 else (bA + 1)
243243 let bF = ((bD + bv) - 1)
244244 $Tuple3(bC, bD, bF)
245245 }
246246 else $Tuple3(bw, bz, bA)
247247 let bC = bB._1
248248 let bD = bB._2
249249 let bF = bB._3
250250 $Tuple3(bC, bD, bF)
251251 }
252252 else if (bx)
253253 then {
254254 let bG = value(getInteger(ao(0)))
255255 let bH = value(getInteger(aq(0)))
256256 let bI = if ((height > bH))
257257 then {
258258 let bC = (bw + 1)
259259 let bD = (bH + 1)
260260 let bF = ((bD + bv) - 1)
261261 $Tuple3(bC, bD, bF)
262262 }
263263 else $Tuple3(bw, bG, bH)
264264 let bC = bI._1
265265 let bD = bI._2
266266 let bF = bI._3
267267 $Tuple3(bC, bD, bF)
268268 }
269269 else $Tuple3(bw, valueOrElse(getInteger(ao(bw)), height), valueOrElse(getInteger(aq(bw)), ((height + bv) - 1)))
270270 let bC = by._1
271271 let bD = by._2
272272 let bF = by._3
273273 let bJ = valueOrElse(getInteger(av(K, bC)), bt)
274274 let bK = valueOrElse(getInteger(aw(K, bC, be)), bu)
275275 let bL = valueOrElse(getInteger(az(be)), 0)
276276 let bM = min([(br + bL), bJ, bK])
277- let bN = value(getInteger(ar()))
278- let bO = e
279- let bP = {
280- let bQ = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bO, K], nil)
281- if ($isInstanceOf(bQ, "(Int, Int, Int)"))
282- then bQ
283- else throw("Couldn't cast Any to (Int, Int, Int)")
284- }
285- if ((bP == bP))
277+ let bN = (br + bL)
278+ let bO = throw(makeString([toString(br), toString(bL), toString(bN), toString(bJ), toString(bK)], c))
279+ if ((bO == bO))
286280 then {
287- let bR = bP._3
288- let bS = bP._2
289- let bT = bP._1
290- let bU = value(getString(ay()))
291- let bV = {
292- let bQ = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bU, bT], nil)
293- if ($isInstanceOf(bQ, "(Int, Int)"))
294- then bQ
295- else throw("Couldn't cast Any to (Int, Int)")
281+ let bP = value(getInteger(ar()))
282+ let bQ = e
283+ let bR = {
284+ let bS = invoke(addressFromStringValue(value(getString(ax()))), "putOneTknV2WithoutTakeFeeREADONLY", [bQ, K], nil)
285+ if ($isInstanceOf(bS, "(Int, Int, Int)"))
286+ then bS
287+ else throw("Couldn't cast Any to (Int, Int, Int)")
296288 }
297- if ((bV == bV))
289+ if ((bR == bR))
298290 then {
299- let bW = bV._2
300- let bX = bV._1
301- let bY = fraction(bX, bO, e)
302- let bZ = (bF - height)
303- $Tuple10(bM, bJ, bK, bs, bN, bY, bZ, bC, bD, bF)
291+ let bT = bR._3
292+ let bU = bR._2
293+ let bV = bR._1
294+ let bW = value(getString(ay()))
295+ let bX = {
296+ let bS = invoke(addressFromStringValue(value(getString(ax()))), "getOneTknV2READONLY", [bW, bV], nil)
297+ if ($isInstanceOf(bS, "(Int, Int)"))
298+ then bS
299+ else throw("Couldn't cast Any to (Int, Int)")
300+ }
301+ if ((bX == bX))
302+ then {
303+ let bY = bX._2
304+ let bZ = bX._1
305+ let ca = fraction(bZ, bQ, e)
306+ let cb = (bF - height)
307+ $Tuple10(bM, bJ, bK, bs, bP, ca, cb, bC, bD, bF)
308+ }
309+ else throw("Strict value is not equal to itself.")
304310 }
305311 else throw("Strict value is not equal to itself.")
306312 }
307313 else throw("Strict value is not equal to itself.")
308314 }
309315
310316
311-func ca () = {
312- let cb = getString(aB())
313- if ($isInstanceOf(cb, "String"))
317+func cc () = {
318+ let cd = getString(aB())
319+ if ($isInstanceOf(cd, "String"))
314320 then {
315- let cc = cb
316- fromBase58String(cc)
321+ let ce = cd
322+ fromBase58String(ce)
317323 }
318- else if ($isInstanceOf(cb, "Unit"))
324+ else if ($isInstanceOf(cd, "Unit"))
319325 then unit
320326 else throw("Match error")
321327 }
322328
323329
324-func cd () = {
325- let cb = getString(aC())
326- if ($isInstanceOf(cb, "String"))
330+func cf () = {
331+ let cd = getString(aC())
332+ if ($isInstanceOf(cd, "String"))
327333 then {
328- let cc = cb
329- fromBase58String(cc)
334+ let ce = cd
335+ fromBase58String(ce)
330336 }
331- else if ($isInstanceOf(cb, "Unit"))
337+ else if ($isInstanceOf(cd, "Unit"))
332338 then unit
333339 else throw("Match error")
334340 }
335341
336342
337-func ce (cf) = {
338- let cg = throw("Permission denied")
339- let cb = ca()
340- if ($isInstanceOf(cb, "ByteVector"))
343+func cg (ch) = {
344+ let ci = throw("Permission denied")
345+ let cd = cc()
346+ if ($isInstanceOf(cd, "ByteVector"))
341347 then {
342- let ch = cb
343- if ((cf.callerPublicKey == ch))
348+ let cj = cd
349+ if ((ch.callerPublicKey == cj))
344350 then true
345- else cg
351+ else ci
346352 }
347- else if ($isInstanceOf(cb, "Unit"))
348- then if ((cf.caller == this))
353+ else if ($isInstanceOf(cd, "Unit"))
354+ then if ((ch.caller == this))
349355 then true
350- else cg
356+ else ci
351357 else throw("Match error")
352358 }
353359
354360
355-@Callable(cf)
361+@Callable(ch)
356362 func constructor (D,E,F,G,k,K,M) = {
357363 let H = ((100 * 1000) * 1000)
358- let ci = (D + E)
364+ let ck = (D + E)
359365 if (isDefined(getString(ad())))
360366 then throw("already initialized")
361- else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(cf.caller)))
367+ else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(ch.caller)))
362368 then throw("not authorized")
363- else if ((size(cf.payments) != 1))
369+ else if ((size(ch.payments) != 1))
364370 then throw("exactly 1 payment must be attached")
365- else if ((ci >= F))
371+ else if ((ck >= F))
366372 then throw("claimStart must be greater than idoEnd")
367373 else {
368- let cj = value(cf.payments[0])
369- let bc = value(cj.assetId)
370- let ck = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
374+ let cl = value(ch.payments[0])
375+ let bc = value(cl.assetId)
376+ let cm = valueOrErrorMessage(assetInfo(bc), "fail to load ido asset info")
371377 let I = toBase58String(bc)
372- let J = pow(10, 0, ck.decimals, 0, 0, DOWN)
378+ let J = pow(10, 0, cm.decimals, 0, 0, DOWN)
373379 let bd = fromBase58String(K)
374- let cl = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
375- let L = pow(10, 0, cl.decimals, 0, 0, DOWN)
376- let cm = aG()
377- let cn = [0, 0, 0, 0]
378-[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cj.amount)), aN(ag(), cm, cn, F)]
380+ let cn = valueOrErrorMessage(assetInfo(bd), "fail to load price asset info")
381+ let L = pow(10, 0, cn.decimals, 0, 0, DOWN)
382+ let co = aG()
383+ let cp = [0, 0, 0, 0]
384+[StringEntry(ad(), O(D, E, F, G, k, H, I, J, K, L, M, cl.amount)), aN(ag(), co, cp, F)]
379385 }
380386 }
381387
382388
383389
384-@Callable(cf)
390+@Callable(ch)
385391 func invest () = {
386392 let ba = aD()
387393 let D = parseIntValue(ba[r])
388394 let E = parseIntValue(ba[s])
389- let ci = (D + E)
395+ let ck = (D + E)
390396 let F = parseIntValue(ba[t])
391397 let G = parseIntValue(ba[u])
392398 let k = parseIntValue(ba[v])
393399 let H = parseIntValue(ba[w])
394400 let I = ba[x]
395401 let bc = fromBase58String(I)
396402 let J = parseIntValue(ba[y])
397403 let K = ba[z]
398404 let bd = fromBase58String(K)
399405 let L = parseIntValue(ba[A])
400- let co = parseIntValue(ba[B])
401- let af = toString(cf.caller)
406+ let cq = parseIntValue(ba[B])
407+ let af = toString(ch.caller)
402408 if ((D > height))
403409 then throw("ido has not been started yet")
404- else if ((height > ci))
410+ else if ((height > ck))
405411 then throw("ido has been already ended")
406- else if ((size(cf.payments) != 1))
412+ else if ((size(ch.payments) != 1))
407413 then throw("exactly 1 payment is expected")
408414 else {
409- let cj = value(cf.payments[0])
410- let cp = value(cj.assetId)
411- let cq = cj.amount
412- if ((cp != bd))
413- then throw((("invalid payment asset id: " + toBase58String(cp)) + " is expected"))
415+ let cl = value(ch.payments[0])
416+ let cr = value(cl.assetId)
417+ let cs = cl.amount
418+ if ((cr != bd))
419+ then throw((("invalid payment asset id: " + toBase58String(cr)) + " is expected"))
414420 else {
415- let cr = aH(af)
416- let cm = aG()
417- let cs = (parseIntValue(cm[P]) + cq)
418- let ct = (cs * 100)
419- if ((ct > assetBalance(this, bc)))
421+ let ct = aH(af)
422+ let co = aG()
423+ let cu = (parseIntValue(co[P]) + cs)
424+ let cv = (cu * 100)
425+ if ((cv > assetBalance(this, bc)))
420426 then throw("IDO asset has been - sold consider to use smaller payment")
421427 else {
422- let cn = [cq, cq, 0, 0]
423-[aN(ae(af), cr, cn, F), aN(ag(), cm, cn, F), aV(af, cq, 0, cf.transactionId)]
428+ let cp = [cs, cs, 0, 0]
429+[aN(ae(af), ct, cp, F), aN(ag(), co, cp, F), aV(af, cs, 0, ch.transactionId)]
424430 }
425431 }
426432 }
427433 }
428434
429435
430436
431-@Callable(cf)
437+@Callable(ch)
432438 func claim (aZ,be) = {
433- let cu = toString(cf.caller)
434- if ((be != cu))
439+ let cw = toString(ch.caller)
440+ if ((be != cw))
435441 then throw("not authorized")
436442 else {
437443 let ba = aD()
438444 let K = ba[z]
439- let cv = aY(aZ, cf.caller, cf.transactionId)
440- let cn = cv._1
441- let br = cv._2
442- let cw = cv._3
443- let bf = cv._4
444- let bj = cv._5
445- let cx = cn[aL]
446- let cy = cn[aM]
447- let cz = if ((aZ == K))
445+ let cx = aY(aZ, ch.caller, ch.transactionId)
446+ let cp = cx._1
447+ let br = cx._2
448+ let cy = cx._3
449+ let bf = cx._4
450+ let bj = cx._5
451+ let cz = cp[aL]
452+ let cA = cp[aM]
453+ let cB = if ((aZ == K))
448454 then {
449- let cA = bq(K, be, br, cn[aL])
450- let bM = cA._1
451- let bJ = cA._2
452- let bK = cA._3
453- let bs = cA._4
454- let bN = cA._5
455- let bY = cA._6
456- let bZ = cA._7
457- let bC = cA._8
458- let bD = cA._9
459- let bF = cA._10
455+ let cC = bq(K, be, br, cp[aL])
456+ let bM = cC._1
457+ let bJ = cC._2
458+ let bK = cC._3
459+ let bs = cC._4
460+ let bP = cC._5
461+ let ca = cC._6
462+ let cb = cC._7
463+ let bC = cC._8
464+ let bD = cC._9
465+ let bF = cC._10
460466 let bp = [if ((bK > 0))
461467 then true
462468 else f("unavailable to claim because user period allowance reached"), if ((bJ > 0))
463469 then true
464470 else f("unavailable to claim because total period allowance reached"), if ((bM > 0))
465471 then true
466- else f("nothing to claim"), if ((bN > bY))
472+ else f("nothing to claim"), if ((bP > ca))
467473 then true
468474 else f("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")]
469475 if ((bp == bp))
470476 then {
471477 let bL = valueOrElse(getInteger(az(be)), 0)
472- let cB = (bJ - bM)
473- let cC = (bK - bM)
474- let cD = value(assetInfo(fromBase58String(aZ))).decimals
475- let cE = fraction(bM, pow(10, 0, cD, 0, 0, DOWN), e)
476- let cF = throw(makeString([toString(cD), toString(bM), toString(cE)], c))
477- if ((cF == cF))
478+ let cD = (bJ - bM)
479+ let cE = (bK - bM)
480+ let cF = value(assetInfo(fromBase58String(aZ))).decimals
481+ let cG = fraction(bM, pow(10, 0, cF, 0, 0, DOWN), e)
482+ let cH = throw(makeString([toString(cF), toString(bM), toString(cG)], c))
483+ if ((cH == cH))
478484 then {
479- let cz = if ((bL >= bM))
480- then [ScriptTransfer(cf.caller, cE, cw), IntegerEntry(az(be), (bL - bM))]
485+ let cB = if ((bL >= bM))
486+ then [ScriptTransfer(ch.caller, cG, cy), IntegerEntry(az(be), (bL - bM))]
481487 else {
482- let cG = ((bL + br) - bM)
483-[ScriptTransfer(cf.caller, cE, cw), aN(ae(be), bf, cn, bj), aN(ag(), aG(), cn, bj), IntegerEntry(az(be), cG)]
488+ let cI = ((bL + br) - bM)
489+[ScriptTransfer(ch.caller, cG, cy), aN(ae(be), bf, cp, bj), aN(ag(), aG(), cp, bj), IntegerEntry(az(be), cI)]
484490 }
485- $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bF), IntegerEntry(av(K, bC), cB), IntegerEntry(aw(K, bC, be), cC), aX(be, cE, cy, cf.transactionId)] ++ cz), unit)
491+ $Tuple2(([IntegerEntry(an(), bC), IntegerEntry(ao(bC), bD), IntegerEntry(aq(bC), bF), IntegerEntry(av(K, bC), cD), IntegerEntry(aw(K, bC, be), cE), aX(be, cG, cA, ch.transactionId)] ++ cB), unit)
486492 }
487493 else throw("Strict value is not equal to itself.")
488494 }
489495 else throw("Strict value is not equal to itself.")
490496 }
491- else $Tuple2([ScriptTransfer(cf.caller, br, cw), IntegerEntry(az(be), 0), aN(ae(be), bf, cn, bj), aN(ag(), aG(), cn, bj), aX(be, cx, cy, cf.transactionId)], unit)
492- cz
497+ else $Tuple2([ScriptTransfer(ch.caller, br, cy), IntegerEntry(az(be), 0), aN(ae(be), bf, cp, bj), aN(ag(), aG(), cp, bj), aX(be, cz, cA, ch.transactionId)], unit)
498+ cB
493499 }
494500 }
495501
496502
497503
498-@Callable(cf)
504+@Callable(ch)
499505 func claimREADONLY (aZ,be) = {
500- let cv = aY(aZ, addressFromStringValue(be), fromBase58String(""))
501- let cn = cv._1
502- let br = cv._2
503- let cw = cv._3
504- let bf = cv._4
505- let bj = cv._5
506- let cH = cv._6
507- let cI = cH[0]
508- let cJ = cH[1]
509- $Tuple2(nil, makeString(["%s%d%d", be, toString(cI), toString(cJ)], c))
506+ let cx = aY(aZ, addressFromStringValue(be), fromBase58String(""))
507+ let cp = cx._1
508+ let br = cx._2
509+ let cy = cx._3
510+ let bf = cx._4
511+ let bj = cx._5
512+ let cJ = cx._6
513+ let cK = cJ[0]
514+ let cL = cJ[1]
515+ $Tuple2(nil, makeString(["%s%d%d", be, toString(cK), toString(cL)], c))
510516 }
511517
512518
513519
514-@Callable(cf)
520+@Callable(ch)
515521 func claimV2READONLY (aZ,be) = {
516- let cv = aY(aZ, addressFromStringValue(be), fromBase58String(""))
517- let cn = cv._1
518- let br = cv._2
519- let cw = cv._3
520- let bf = cv._4
521- let bj = cv._5
522- let cH = cv._6
523- let cI = cH[0]
524- let cJ = cH[1]
522+ let cx = aY(aZ, addressFromStringValue(be), fromBase58String(""))
523+ let cp = cx._1
524+ let br = cx._2
525+ let cy = cx._3
526+ let bf = cx._4
527+ let bj = cx._5
528+ let cJ = cx._6
529+ let cK = cJ[0]
530+ let cL = cJ[1]
525531 let ba = aD()
526532 let K = ba[z]
527533 let bL = valueOrElse(getInteger(az(be)), 0)
528- let cK = (cJ + bL)
529- let cL = bq(K, be, br, cn[aL])
530- let bM = cL._1
531- let bJ = cL._2
532- let bK = cL._3
533- let bs = cL._4
534- let bN = cL._5
535- let bY = cL._6
536- let bZ = cL._7
537- let bC = cL._8
538- let bD = cL._9
539- let bF = cL._10
540- let cM = valueOrElse(getInteger(aq(bC)), 0)
541- let cN = value(assetInfo(fromBase58String(aZ))).decimals
542- let cO = if ((height > cM))
534+ let cM = (cL + bL)
535+ let cN = bq(K, be, br, cp[aL])
536+ let bM = cN._1
537+ let bJ = cN._2
538+ let bK = cN._3
539+ let bs = cN._4
540+ let bP = cN._5
541+ let ca = cN._6
542+ let cb = cN._7
543+ let bC = cN._8
544+ let bD = cN._9
545+ let bF = cN._10
546+ let cO = valueOrElse(getInteger(aq(bC)), 0)
547+ let cP = value(assetInfo(fromBase58String(aZ))).decimals
548+ let cQ = if ((height > cO))
543549 then {
544- let cP = value(getInteger(am()))
545- let cQ = value(getInteger(au(K)))
546- let cR = value(getInteger(as(K)))
547- makeString(["%d%d%d%d%d%d", toString(cK), toString(cQ), toString(cR), toString(bN), toString(bY), toString(cP), toString(br), toString(bM), toString(bK), toString(cN)], c)
550+ let cR = value(getInteger(am()))
551+ let cS = value(getInteger(au(K)))
552+ let cT = value(getInteger(as(K)))
553+ makeString(["%d%d%d%d%d%d", toString(cM), toString(cS), toString(cT), toString(bP), toString(ca), toString(cR), toString(br), toString(bM), toString(bK), toString(cP)], c)
548554 }
549- else makeString(["%d%d%d%d%d%d", toString(cK), toString(bM), toString(bJ), toString(bN), toString(bY), toString(bZ), toString(br), toString(bM), toString(bK), toString(cN)], c)
550- $Tuple2(nil, cO)
555+ else makeString(["%d%d%d%d%d%d", toString(cM), toString(bM), toString(bJ), toString(bP), toString(ca), toString(cb), toString(br), toString(bM), toString(bK), toString(cP)], c)
556+ $Tuple2(nil, cQ)
551557 }
552558
553559
554560
555-@Callable(cf)
556-func setManager (cS) = {
557- let cT = ce(cf)
558- if ((cT == cT))
561+@Callable(ch)
562+func setManager (cU) = {
563+ let cV = cg(ch)
564+ if ((cV == cV))
559565 then {
560- let cU = fromBase58String(cS)
561- if ((cU == cU))
562- then [StringEntry(aC(), cS)]
566+ let cW = fromBase58String(cU)
567+ if ((cW == cW))
568+ then [StringEntry(aC(), cU)]
563569 else throw("Strict value is not equal to itself.")
564570 }
565571 else throw("Strict value is not equal to itself.")
566572 }
567573
568574
569575
570-@Callable(cf)
576+@Callable(ch)
571577 func confirmManager () = {
572- let cV = cd()
573- let cW = if (isDefined(cV))
578+ let cX = cf()
579+ let cY = if (isDefined(cX))
574580 then true
575581 else throw("No pending manager")
576- if ((cW == cW))
582+ if ((cY == cY))
577583 then {
578- let cX = if ((cf.callerPublicKey == value(cV)))
584+ let cZ = if ((ch.callerPublicKey == value(cX)))
579585 then true
580586 else throw("You are not pending manager")
581- if ((cX == cX))
582- then [StringEntry(aB(), toBase58String(value(cV))), DeleteEntry(aC())]
587+ if ((cZ == cZ))
588+ then [StringEntry(aB(), toBase58String(value(cX))), DeleteEntry(aC())]
583589 else throw("Strict value is not equal to itself.")
584590 }
585591 else throw("Strict value is not equal to itself.")
586592 }
587593
588594
589-@Verifier(cY)
590-func cZ () = {
591- let da = {
592- let cb = ca()
593- if ($isInstanceOf(cb, "ByteVector"))
595+@Verifier(da)
596+func db () = {
597+ let dc = {
598+ let cd = cc()
599+ if ($isInstanceOf(cd, "ByteVector"))
594600 then {
595- let ch = cb
596- ch
601+ let cj = cd
602+ cj
597603 }
598- else if ($isInstanceOf(cb, "Unit"))
599- then cY.senderPublicKey
604+ else if ($isInstanceOf(cd, "Unit"))
605+ then da.senderPublicKey
600606 else throw("Match error")
601607 }
602- sigVerify(cY.bodyBytes, cY.proofs[0], da)
608+ sigVerify(da.bodyBytes, da.proofs[0], dc)
603609 }
604610

github/deemru/w8io/026f985 
130.34 ms