tx · 6G2CLdNyFLGjnGEAwZzNXWWqxS8BbkBpYTRctnuYkUFf

3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi:  -0.02700000 Waves

2023.03.01 16:44 [2471076] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves

{ "type": 13, "id": "6G2CLdNyFLGjnGEAwZzNXWWqxS8BbkBpYTRctnuYkUFf", "fee": 2700000, "feeAssetId": null, "timestamp": 1677678247884, "version": 2, "chainId": 84, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "3PVHD6eTbk3M2b2rK8ChQKxGA2fasCNMGJQk6Mv8dCWN7gjQN4FGAaAmiYttLhs8TCNo8nDPxk2cRPVVsjqw92Ww", "37dk7qWUvRM3zD9fHzBwQoVZcVjw6DLizxSWipRNB33eXYaa3LXS9kSbzv2fT8g8KzUk8tbFWhojcLF2StfFQYrV", "EjqBsgcJPCdQCbAgzU7xqqe83PwEuKdf4QUB4nw2PdFnk13uq4icWkhXdXGVeDEx9st62NmSWoGQygt8uNhAhLN" ], "script": "base64:AAIFAAAAAAAAADkIAhIFCgMICAESAwoBARIHCgUBAQEBARIDCgEBEgQKAgECEgMKAQESABIFCgMBAQESBwoFAQEBAQEAAAB1AAAAAAtyZXZpc2lvbk51bQIAAAAAAAAAAAlNVUxUU0NBTEUAAAAAAAAAAAgAAAAAB1NDQUxFMTYAAAAAAAAAABAAAAAAA1NFUAIAAAACX18AAAAABUhBTEY4AAAAAAAC+vCAAAAAAAhFVUxFUlgxNgkAATYAAAABAABgkqET2NV0AAAAAARUV09YCQABNgAAAAEAAAAAAAAAAAIAAAAABU1VTFQ2AAAAAAAAD0JAAAAAAAZNVUxUWDYJAAE2AAAAAQAAAAAAAA9CQAAAAAAFTVVMVDgAAAAAAAX14QAAAAAABk1VTFRYOAkAATYAAAABAAAAAAAF9e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AAAA1NFUAQAAAAQcHViS2V5QWRtaW5zTGlzdAkABLUAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAAD2NvbnRyb2xDb250cmFjdAIAAAAMJXNfX211bHRpc2lnBQAAABNwdWJLZXlBZG1pbnNMaXN0U3RyBQAAAANTRVAEAAAABWNvdW50CQAAZAAAAAIJAABkAAAAAgkAAGQAAAACAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAABAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAACAAAAAAAAAAABAAAAAAAAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMJAAJZAAAAAQkAAZEAAAACBQAAABBwdWJLZXlBZG1pbnNMaXN0AAAAAAAAAAADAAAAAAAAAAACAAAAAAAAAAAACQAAZwAAAAIFAAAABWNvdW50AAAAAAAAAAADk76XCA==", "height": 2471076, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DXLpduRhjXjtxyWPg9bK8rahT2CJCibtsK4VeMGpzFr5 Next: 3LgE7R4w5wEhwTjRbtCKAPTMBiFBrLTSVD9dsXg3nULF Diff:
OldNewDifferences
328328
329329
330330 func bR (ab) = {
331- let bQ = fromBase58String(ab)
332331 let bS = bP(ab)
333- if ((bQ == n))
334- then ao(bS, bM)
335- else {
336- let bT = valueOrElse(getInteger(ba, aa(ab)), h)
337- fraction(bS, bT, j)
338- }
332+ let bT = value(getInteger(ba, aa(ab)))
333+ fraction(bS, bT, j)
339334 }
340335
341336
346341 let bW = (bV - bU)
347342
348343 func bX () = {
349- let bY = split(valueOrElse(getString(bb, Y()), "WAVES"), d)
350- func bZ (ca,ab) = (ca + fraction(bR(ab), h, bW))
344+ let bY = split(value(getString(bb, Y())), d)
345+ func bZ (ca,ab) = (ca + bR(ab))
351346
352- let bw = bY
353- let bx = size(bw)
354- let by = 0
355- func bz (bA,bB) = if ((bB >= bx))
356- then bA
357- else bZ(bA, bw[bB])
358-
359- func bC (bA,bB) = if ((bB >= bx))
360- then bA
361- else throw("List size exceeds 10")
362-
363- bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
364- }
365-
366-
367-let cb = if ((bW == 0))
368- then 0
369- else bX()
370-
371-func cc () = {
372- let cd = valueOrElse(getString(bb, Y()), "WAVES")
373- let bY = split(cd, d)
374- func ce (ca,ab) = {
375- let bS = bP(ab)
376- let bT = valueOrElse(getInteger(ba, aa(ab)), h)
377- let cf = fraction(bS, bT, j)
378- $Tuple2((ca._1 :+ $Tuple4(ab, bS, cf, bT)), (ca._2 + cf))
379- }
380-
381- let cg = {
347+ let cb = {
382348 let bw = bY
383349 let bx = size(bw)
384- let by = $Tuple2(nil, 0)
350+ let by = 0
385351 func bz (bA,bB) = if ((bB >= bx))
386352 then bA
387- else ce(bA, bw[bB])
353+ else bZ(bA, bw[bB])
388354
389355 func bC (bA,bB) = if ((bB >= bx))
390356 then bA
392358
393359 bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394360 }
395- func ch (ca,ci) = {
396- let cj = if ((cg._2 == 0))
397- then h
398- else fraction(ci._3, h, cg._2)
399- (ca :+ makeString([ci._1, toString(cj), toString(ci._4), toString(ci._2)], ":"))
361+ fraction(cb, h, bW)
362+ }
363+
364+
365+let cc = if ((bW == 0))
366+ then 0
367+ else bX()
368+
369+func cd () = {
370+ let ce = value(getString(bb, Y()))
371+ let bY = split(ce, d)
372+ func cf (ca,ab) = {
373+ let bS = bP(ab)
374+ let bT = value(getInteger(ba, aa(ab)))
375+ let cg = fraction(bS, bT, j)
376+ $Tuple2((ca._1 :+ $Tuple4(ab, bS, cg, bT)), (ca._2 + cg))
400377 }
401378
402- let ck = if ((bW == 0))
403- then 0
404- else fraction(cg._2, h, bW)
405- $Tuple3(makeString({
406- let bw = cg._1
379+ let ch = {
380+ let bw = bY
407381 let bx = size(bw)
408- let by = nil
409- func cl (bA,bB) = if ((bB >= bx))
382+ let by = $Tuple2(nil, 0)
383+ func bz (bA,bB) = if ((bB >= bx))
410384 then bA
411- else ch(bA, bw[bB])
385+ else cf(bA, bw[bB])
412386
413- func cm (bA,bB) = if ((bB >= bx))
387+ func bC (bA,bB) = if ((bB >= bx))
414388 then bA
415389 else throw("List size exceeds 10")
416390
417- cm(cl(cl(cl(cl(cl(cl(cl(cl(cl(cl(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
418- }, "_"), ck, cg._2)
391+ bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
392+ }
393+ func ci (ca,cj) = {
394+ let ck = if ((ch._2 == 0))
395+ then h
396+ else fraction(cj._3, h, ch._2)
397+ (ca :+ makeString([cj._1, toString(ck), toString(cj._4), toString(cj._2)], ":"))
398+ }
399+
400+ let cl = if ((bW == 0))
401+ then 0
402+ else fraction(ch._2, h, bW)
403+ $Tuple3(makeString({
404+ let bw = ch._1
405+ let bx = size(bw)
406+ let by = nil
407+ func cm (bA,bB) = if ((bB >= bx))
408+ then bA
409+ else ci(bA, bw[bB])
410+
411+ func cn (bA,bB) = if ((bB >= bx))
412+ then bA
413+ else throw("List size exceeds 10")
414+
415+ cn(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
416+ }, "_"), cl, ch._2)
419417 }
420418
421419
422-@Callable(cn)
423-func constructorV1 (co,cp,cq) = if ((cn.caller != this))
420+@Callable(co)
421+func constructorV1 (cp,cq,cr) = if ((co.caller != this))
424422 then throw("not authorized")
425- else [StringEntry(K(), co), IntegerEntry(L(), cq)]
423+ else [StringEntry(K(), cp), IntegerEntry(L(), cr)]
426424
427425
428426
429-@Callable(cn)
430-func calcSwapLimitREADONLY (cr) = {
431- let cs = if ((0 >= cr))
427+@Callable(co)
428+func calcSwapLimitREADONLY (cs) = {
429+ let ct = if ((0 >= cs))
432430 then 0
433431 else {
434- let ct = toBigInt(ai(this, L()))
435- let cu = toBigInt(ai(this, M()))
436- let cv = pow(toBigInt(cr), 6, cu, 16, 8, CEILING)
437- toInt(fraction(ct, cv, l))
432+ let cu = toBigInt(ai(this, L()))
433+ let cv = toBigInt(ai(this, M()))
434+ let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
435+ toInt(fraction(cu, cw, l))
438436 }
439- let cw = if ((0 >= cr))
437+ let cx = if ((0 >= cs))
440438 then 0
441439 else {
442- let ct = toBigInt(ai(this, N()))
443- let cu = toBigInt(ai(this, O()))
444- let cx = toBigInt(cb)
445- let cv = pow(toBigInt(cr), 6, cu, 16, 8, CEILING)
446- toInt(fraction(fraction(ct, cv, l), cx, i))
440+ let cu = toBigInt(ai(this, N()))
441+ let cv = toBigInt(ai(this, O()))
442+ let cy = toBigInt(cc)
443+ let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
444+ toInt(fraction(fraction(cu, cw, l), cy, i))
447445 }
448- $Tuple2(nil, [cs, 0, cw])
446+ $Tuple2(nil, [ct, 0, cx])
449447 }
450448
451449
452450
453-@Callable(cn)
454-func calculateKREADONLY (cy,cz,an,cA,cB) = {
455- let cC = toBigInt(2718281)
456- let cD = 6
457- let cE = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
458- let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
459- let cG = ao(cy, an)
460- let cH = fraction(cG, j, cz)
461- if ((cH > 10678564816))
462- then throw((("BR=" + toString(cH)) + " > 10678.564816% will overflow exponent"))
451+@Callable(co)
452+func calculateKREADONLY (cz,cA,an,cB,cC) = {
453+ let cD = toBigInt(2718281)
454+ let cE = 6
455+ let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
456+ let cG = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
457+ let cH = ao(cz, an)
458+ let cI = fraction(cH, j, cA)
459+ if ((cI > 10678564816))
460+ then throw((("BR=" + toString(cI)) + " > 10678.564816% will overflow exponent"))
463461 else {
464- let cI = (cE * (cH - j))
465- let cJ = pow(cC, cD, toBigInt(cI), b, c, DOWN)
466- let cK = fraction(toBigInt(cF), cJ, i)
467- $Tuple2(nil, [cE, cF, cG, cH, cI, toString(cJ), toString(cK)])
462+ let cJ = (cF * (cI - j))
463+ let cK = pow(cD, cE, toBigInt(cJ), b, c, DOWN)
464+ let cL = fraction(toBigInt(cG), cK, i)
465+ $Tuple2(nil, [cF, cG, cH, cI, cJ, toString(cK), toString(cL)])
468466 }
469467 }
470468
471469
472470
473-@Callable(cn)
474-func curveFunctionREADONLY (cL) = {
475- let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
476- let an = ay(cM[v])
477- let cy = ay(cM[y])
478- let cz = ay(cM[A])
479- let cB = ay(cM[E])
480- let cA = ay(cM[F])
481- let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
482- let cK = parseBigIntValue(aA(cN[u]))
483- let cO = ao(cL, an)
484- let cP = toBigInt(cA)
485- let cQ = toBigInt((cA - cB))
486- let cR = fraction(toBigInt(cO), m, cK)
487- let cS = fraction(cR, cQ, cP)
488- let cT = toInt(fraction(cQ, cP, (cS + cP)))
489- let cU = ((cA - cB) - cT)
490- $Tuple2(nil, [cU, cO, cy, cz, cA, cB, ay(cN[o]), ay(cN[p]), ay(cN[q]), an, ay(cN[r]), ay(cN[s]), cN[t], cN[u], toString(cR), toString(cS), cT])
471+@Callable(co)
472+func curveFunctionREADONLY (cM) = {
473+ let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
474+ let an = ay(cN[v])
475+ let cz = ay(cN[y])
476+ let cA = ay(cN[A])
477+ let cC = ay(cN[E])
478+ let cB = ay(cN[F])
479+ let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
480+ let cL = parseBigIntValue(aA(cO[u]))
481+ let cP = ao(cM, an)
482+ let cQ = toBigInt(cB)
483+ let cR = toBigInt((cB - cC))
484+ let cS = fraction(toBigInt(cP), m, cL)
485+ let cT = fraction(cS, cR, cQ)
486+ let cU = toInt(fraction(cR, cQ, (cT + cQ)))
487+ let cV = ((cB - cC) - cU)
488+ $Tuple2(nil, [cV, cP, cz, cA, cB, cC, ay(cO[o]), ay(cO[p]), ay(cO[q]), an, ay(cO[r]), ay(cO[s]), cO[t], cO[u], toString(cS), toString(cT), cU])
491489 }
492490
493491
494492
495-@Callable(cn)
493+@Callable(co)
496494 func surfFunctionREADONLY (am,ab) = if ((0 > am))
497495 then throw("amount should be positive")
498496 else {
499497 let an = bL
500- let cV = toBigInt(an)
501- let cW = bP("WAVES")
502- let cX = toBigInt(cW)
503- let cY = bW
504- let cZ = toBigInt(cY)
505- if ((cb >= h))
506- then throw((("BR = " + toString(cb)) + ", cannot buy SURF"))
498+ let cW = toBigInt(an)
499+ let cX = bP("WAVES")
500+ let cY = toBigInt(cX)
501+ let cZ = bW
502+ let da = toBigInt(cZ)
503+ if ((cc >= h))
504+ then throw((("BR = " + toString(cc)) + ", cannot buy SURF"))
507505 else {
508- let da = (fraction(cY, j, an) - cW)
509- let db = (cY - fraction(cW, an, j))
510- let dc = if ((ab == bh))
511- then if ((am > db))
512- then db
506+ let db = (fraction(cZ, j, an) - cX)
507+ let dc = (cZ - fraction(cX, an, j))
508+ let dd = if ((ab == bh))
509+ then if ((am > dc))
510+ then dc
513511 else am
514512 else if ((ab == n))
515- then if ((am > da))
516- then da
513+ then if ((am > db))
514+ then db
517515 else am
518516 else 0
519- let dd = toBigInt(dc)
517+ let de = toBigInt(dd)
520518 if ((ab == bh))
521- then $Tuple2(nil, [toInt(fraction(fraction(dd, k, cV), (cZ - (dd / g)), cX)), 0, dc, cW, cY, cb, cW, (cY - dc), fraction(ao(cW, an), h, (cY - dc)), (am - dc), an])
519+ then $Tuple2(nil, [toInt(fraction(fraction(de, k, cW), (da - (de / g)), cY)), 0, dd, cX, cZ, cc, cX, (cZ - dd), fraction(ao(cX, an), h, (cZ - dd)), (am - dd), an])
522520 else if ((ab == n))
523- then $Tuple2(nil, [toInt(fraction(cZ, log(fraction((cX + dd), m, cX), 16, f, 16, 16, HALFUP), m)), dc, 0, cW, cY, cb, (cW + dc), cY, fraction(ao((cW + dc), an), h, cY), (am - dc), an])
521+ then $Tuple2(nil, [toInt(fraction(da, log(fraction((cY + de), m, cY), 16, f, 16, 16, HALFUP), m)), dd, 0, cX, cZ, cc, (cX + dd), cZ, fraction(ao((cX + dd), an), h, cZ), (am - dd), an])
524522 else throw("Unsupported asset")
525523 }
526524 }
527525
528526
529527
530-@Callable(cn)
531-func calcContractNsbtPriceSYSREADONLY (de) = {
532- let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
533- let an = ay(cM[v])
534- let cy = ay(cM[y])
535- let cz = (ay(cM[A]) - de)
536- let cB = (ay(cM[E]) + de)
537- let cA = ay(cM[F])
538- let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
539- let df = parseBigIntValue(aA(cN[u]))
540- let dg = fraction(toBigInt(cA), m, toBigInt((cA - cB)))
541- let dh = fraction(dg, dg, m)
542- let di = fraction(df, dh, m)
543- let dj = toInt(fraction(di, toBigInt(h), m))
544- let dk = fraction(dj, h, an)
545- $Tuple2(nil, [dj, dk])
528+@Callable(co)
529+func calcContractNsbtPriceSYSREADONLY (df) = {
530+ let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
531+ let an = ay(cN[v])
532+ let cz = ay(cN[y])
533+ let cA = (ay(cN[A]) - df)
534+ let cC = (ay(cN[E]) + df)
535+ let cB = ay(cN[F])
536+ let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
537+ let dg = parseBigIntValue(aA(cO[u]))
538+ let dh = fraction(toBigInt(cB), m, toBigInt((cB - cC)))
539+ let di = fraction(dh, dh, m)
540+ let dj = fraction(dg, di, m)
541+ let dk = toInt(fraction(dj, toBigInt(h), m))
542+ let dl = fraction(dk, h, an)
543+ $Tuple2(nil, [dk, dl])
546544 }
547545
548546
549547
550-@Callable(cn)
548+@Callable(co)
551549 func calcNeutinoMetricsREADONLY () = {
552- let dl = value(assetInfo(bi)).quantity
553- let dm = (dl - assetBalance(bc, bi))
554- let dn = value(assetInfo(bj)).quantity
555- let do = cc()
556- $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cb, dm, dl, dn, bG, bM, do._1, do._2, do._3])
550+ let dm = value(assetInfo(bi)).quantity
551+ let dn = (dm - assetBalance(bc, bi))
552+ let do = value(assetInfo(bj)).quantity
553+ let dp = cd()
554+ $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dn, dm, do, bG, bM, dp._1, dp._2, dp._3])
557555 }
558556
559557
560558
561-@Callable(cn)
562-func getUnstakeComissionAmountREADONLY (am,dp,dq) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dp)), j, dq), 8, 8, HALFUP), j))
559+@Callable(co)
560+func getUnstakeComissionAmountREADONLY (am,dq,dr) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dq)), j, dr), 8, 8, HALFUP), j))
563561
564562
565563
566-@Callable(cn)
567-func mergeStakesREADONLY (dr,ds,dt,du,dq) = {
568- let dv = fraction(dt, pow(2, 0, fraction((du - ds), j, dq), 8, 8, HALFUP), j)
569- let aD = fraction((dr + dt), j, (dr + dv))
570- $Tuple2(nil, (ds + ((e - (dq * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
564+@Callable(co)
565+func mergeStakesREADONLY (ds,dt,du,dv,dr) = {
566+ let dw = fraction(du, pow(2, 0, fraction((dv - dt), j, dr), 8, 8, HALFUP), j)
567+ let aD = fraction((ds + du), j, (ds + dw))
568+ $Tuple2(nil, (dt + ((e - (dr * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
571569 }
572570
573571
574-@Verifier(dw)
575-func dx () = {
576- let dy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
577- let dz = split(valueOrElse(getString(ba, "%s__multisig"), dy), d)
578- let dA = ((((if (sigVerify(dw.bodyBytes, dw.proofs[0], fromBase58String(dz[0])))
572+@Verifier(dx)
573+func dy () = {
574+ let dz = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
575+ let dA = split(valueOrElse(getString(ba, "%s__multisig"), dz), d)
576+ let dB = ((((if (sigVerify(dx.bodyBytes, dx.proofs[0], fromBase58String(dA[0])))
579577 then 1
580- else 0) + (if (sigVerify(dw.bodyBytes, dw.proofs[1], fromBase58String(dz[1])))
578+ else 0) + (if (sigVerify(dx.bodyBytes, dx.proofs[1], fromBase58String(dA[1])))
581579 then 1
582- else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[2], fromBase58String(dz[2])))
580+ else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[2], fromBase58String(dA[2])))
583581 then 1
584- else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[3], fromBase58String(dz[3])))
582+ else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[3], fromBase58String(dA[3])))
585583 then 2
586584 else 0))
587- (dA >= 3)
585+ (dB >= 3)
588586 }
589587
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = ""
55
66 let b = 8
77
88 let c = 16
99
1010 let d = "__"
1111
1212 let e = 50000000
1313
1414 let f = toBigInt(27182818284590452)
1515
1616 let g = toBigInt(2)
1717
1818 let h = 1000000
1919
2020 let i = toBigInt(1000000)
2121
2222 let j = 100000000
2323
2424 let k = toBigInt(100000000)
2525
2626 let l = toBigInt(10000000000)
2727
2828 let m = toBigInt(10000000000000000)
2929
3030 let n = fromBase58String("WAVES")
3131
3232 let o = 0
3333
3434 let p = 1
3535
3636 let q = 2
3737
3838 let r = 3
3939
4040 let s = 4
4141
4242 let t = 5
4343
4444 let u = 6
4545
4646 let v = 0
4747
4848 let w = 1
4949
5050 let x = 2
5151
5252 let y = 3
5353
5454 let z = 4
5555
5656 let A = 5
5757
5858 let B = 6
5959
6060 let C = 7
6161
6262 let D = 8
6363
6464 let E = 9
6565
6666 let F = 10
6767
6868 let G = 11
6969
7070 let H = 12
7171
7272 let I = 13
7373
7474 let J = 14
7575
7676 func K () = "%s%s__config__neutrinoAddress"
7777
7878
7979 func L () = "%s%s__config__swapAParam"
8080
8181
8282 func M () = "%s%s__config__swapBParam"
8383
8484
8585 func N () = "%s%s__config__usdnSwapAParam"
8686
8787
8888 func O () = "%s%s__config__usdnSwapBParam"
8989
9090
9191 func P () = "%s%s__priceAdj__minCoefficient"
9292
9393
9494 func Q () = "%s%s__priceAdj__arbRegulator"
9595
9696
9797 func R () = "neutrino_asset_id"
9898
9999
100100 func S () = "bond_asset_id"
101101
102102
103103 func T () = "surf_asset_id"
104104
105105
106106 func U () = "swaps_timeframe"
107107
108108
109109 func V (W) = makeString(["%s%s", "userLastQuickSwapHeight", W], d)
110110
111111
112112 func X (W) = makeString(["%s%s", "quickSwapUserSpentInPeriod", W], d)
113113
114114
115115 func Y () = "%s%s__common__basketAssets"
116116
117117
118118 func Z () = "price"
119119
120120
121121 func aa (ab) = ("%s%s%s__common__priceByAsset__" + ab)
122122
123123
124124 let ac = "rpd_balance"
125125
126126 func ad (ae,ab) = makeString([ac, ab, ae], "_")
127127
128128
129129 func af (ag,ah) = valueOrErrorMessage(getString(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
130130
131131
132132 func ai (ag,ah) = valueOrErrorMessage(getInteger(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
133133
134134
135135 func aj (ag,ah) = valueOrElse(getInteger(ag, ah), 0)
136136
137137
138138 func ak (ag,ah) = valueOrErrorMessage(getBoolean(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], ""))
139139
140140
141141 func al (am,an) = fraction(am, j, an)
142142
143143
144144 func ao (am,an) = fraction(am, an, j)
145145
146146
147147 func ap (aq,ar) = fraction(toBigInt(aq), m, toBigInt(ar))
148148
149149
150150 func as (at,au) = toInt(fraction(at, toBigInt(au), m))
151151
152152
153153 func av (at) = {
154154 let aw = at
155155 if ($isInstanceOf(aw, "List[Any]"))
156156 then {
157157 let ax = aw
158158 ax
159159 }
160160 else throw("fail to cast into List[Any]")
161161 }
162162
163163
164164 func ay (at) = {
165165 let aw = at
166166 if ($isInstanceOf(aw, "Int"))
167167 then {
168168 let az = aw
169169 az
170170 }
171171 else throw("fail to cast into Int")
172172 }
173173
174174
175175 func aA (at) = {
176176 let aw = at
177177 if ($isInstanceOf(aw, "String"))
178178 then {
179179 let aB = aw
180180 aB
181181 }
182182 else throw("fail to cast into String")
183183 }
184184
185185
186186 func aC (aD) = {
187187 let aw = aD
188188 if ($isInstanceOf(aw, "(Int, Int, Int, Int)"))
189189 then {
190190 let aE = aw
191191 aE
192192 }
193193 else throw("fail to cast into PriceSTRUCT")
194194 }
195195
196196
197197 let aF = 1
198198
199199 let aG = 2
200200
201201 let aH = 3
202202
203203 let aI = 4
204204
205205 let aJ = 5
206206
207207 let aK = 6
208208
209209 let aL = 7
210210
211211 let aM = 8
212212
213213 let aN = 9
214214
215215 let aO = 10
216216
217217 let aP = 11
218218
219219 let aQ = 12
220220
221221 let aR = 13
222222
223223 let aS = 14
224224
225225 func aT () = "%s%s__config__controlAddress"
226226
227227
228228 func aU () = "%s__controlConfig"
229229
230230
231231 func aV (aW) = split(af(aW, aU()), d)
232232
233233
234234 func aX (aY,aZ) = valueOrErrorMessage(addressFromString(aY[aZ]), ("Control cfg doesn't contain address at index " + toString(aZ)))
235235
236236
237237 let ba = addressFromStringValue(valueOrElse(getString(this, aT()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
238238
239239 let aY = aV(ba)
240240
241241 let bb = aX(aY, aF)
242242
243243 let bc = aX(aY, aG)
244244
245245 let bd = aX(aY, aJ)
246246
247247 let be = aX(aY, aH)
248248
249249 let bf = aX(aY, aS)
250250
251251 let bg = af(bb, R())
252252
253253 let bh = fromBase58String(bg)
254254
255255 let bi = fromBase58String(getStringValue(bb, S()))
256256
257257 let bj = fromBase58String(getStringValue(bc, T()))
258258
259259 func bk () = "balance_lock_"
260260
261261
262262 func bl (bm,ab) = makeString(["%s%s%s", "balanceLock", bm, ab], d)
263263
264264
265265 func bn (ab) = bl("outNeutrino", ab)
266266
267267
268268 func bo () = bl("outMulti", bg)
269269
270270
271271 func bp () = (bk() + "neutrino")
272272
273273
274274 func bq () = (bk() + "waves")
275275
276276
277277 func br () = {
278278 let bs = valueOrElse(getString(ba, "%s%s__control__outOfMarketAddressList"), "")
279279 if ((bs == ""))
280280 then 0
281281 else {
282282 func bt (bu,bv) = ((bu + valueOrElse(getInteger(be, ad(bv, bg)), 0)) + assetBalance(addressFromStringValue(bv), bh))
283283
284284 let bw = split(bs, d)
285285 let bx = size(bw)
286286 let by = 0
287287 func bz (bA,bB) = if ((bB >= bx))
288288 then bA
289289 else bt(bA, bw[bB])
290290
291291 func bC (bA,bB) = if ((bB >= bx))
292292 then bA
293293 else throw("List size exceeds 7")
294294
295295 bC(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7)
296296 }
297297 }
298298
299299
300300 func bD () = aC(invoke(bf, "price", [4], nil))._2
301301
302302
303303 func bE (bF,bG) = {
304304 let bH = valueOrElse(getInteger(this, P()), 600000)
305305 let bI = valueOrElse(getInteger(this, Q()), 150000)
306306 let bJ = max([bH, fraction((h + bI), bG, h)])
307307 let bK = min([bJ, h])
308308 fraction(bF, h, bK)
309309 }
310310
311311
312312 let bL = getIntegerValue(ba, Z())
313313
314314 let bG = bD()
315315
316316 let bM = bE(bL, bG)
317317
318318 let bN = (valueOrElse(getInteger(bb, bp()), 0) + valueOrElse(getInteger(bb, bo()), 0))
319319
320320 let bO = (valueOrElse(getInteger(bb, bq()), 0) + valueOrElse(getInteger(bb, bn("WAVES")), 0))
321321
322322 func bP (ab) = {
323323 let bQ = fromBase58String(ab)
324324 if ((bQ == n))
325325 then (wavesBalance(bb).regular - bO)
326326 else (assetBalance(bb, bQ) - valueOrElse(getInteger(bb, bn(ab)), 0))
327327 }
328328
329329
330330 func bR (ab) = {
331- let bQ = fromBase58String(ab)
332331 let bS = bP(ab)
333- if ((bQ == n))
334- then ao(bS, bM)
335- else {
336- let bT = valueOrElse(getInteger(ba, aa(ab)), h)
337- fraction(bS, bT, j)
338- }
332+ let bT = value(getInteger(ba, aa(ab)))
333+ fraction(bS, bT, j)
339334 }
340335
341336
342337 let bU = br()
343338
344339 let bV = (((bN + value(assetInfo(bh)).quantity) - assetBalance(bb, bh)) - assetBalance(bd, bh))
345340
346341 let bW = (bV - bU)
347342
348343 func bX () = {
349- let bY = split(valueOrElse(getString(bb, Y()), "WAVES"), d)
350- func bZ (ca,ab) = (ca + fraction(bR(ab), h, bW))
344+ let bY = split(value(getString(bb, Y())), d)
345+ func bZ (ca,ab) = (ca + bR(ab))
351346
352- let bw = bY
353- let bx = size(bw)
354- let by = 0
355- func bz (bA,bB) = if ((bB >= bx))
356- then bA
357- else bZ(bA, bw[bB])
358-
359- func bC (bA,bB) = if ((bB >= bx))
360- then bA
361- else throw("List size exceeds 10")
362-
363- bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
364- }
365-
366-
367-let cb = if ((bW == 0))
368- then 0
369- else bX()
370-
371-func cc () = {
372- let cd = valueOrElse(getString(bb, Y()), "WAVES")
373- let bY = split(cd, d)
374- func ce (ca,ab) = {
375- let bS = bP(ab)
376- let bT = valueOrElse(getInteger(ba, aa(ab)), h)
377- let cf = fraction(bS, bT, j)
378- $Tuple2((ca._1 :+ $Tuple4(ab, bS, cf, bT)), (ca._2 + cf))
379- }
380-
381- let cg = {
347+ let cb = {
382348 let bw = bY
383349 let bx = size(bw)
384- let by = $Tuple2(nil, 0)
350+ let by = 0
385351 func bz (bA,bB) = if ((bB >= bx))
386352 then bA
387- else ce(bA, bw[bB])
353+ else bZ(bA, bw[bB])
388354
389355 func bC (bA,bB) = if ((bB >= bx))
390356 then bA
391357 else throw("List size exceeds 10")
392358
393359 bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
394360 }
395- func ch (ca,ci) = {
396- let cj = if ((cg._2 == 0))
397- then h
398- else fraction(ci._3, h, cg._2)
399- (ca :+ makeString([ci._1, toString(cj), toString(ci._4), toString(ci._2)], ":"))
361+ fraction(cb, h, bW)
362+ }
363+
364+
365+let cc = if ((bW == 0))
366+ then 0
367+ else bX()
368+
369+func cd () = {
370+ let ce = value(getString(bb, Y()))
371+ let bY = split(ce, d)
372+ func cf (ca,ab) = {
373+ let bS = bP(ab)
374+ let bT = value(getInteger(ba, aa(ab)))
375+ let cg = fraction(bS, bT, j)
376+ $Tuple2((ca._1 :+ $Tuple4(ab, bS, cg, bT)), (ca._2 + cg))
400377 }
401378
402- let ck = if ((bW == 0))
403- then 0
404- else fraction(cg._2, h, bW)
405- $Tuple3(makeString({
406- let bw = cg._1
379+ let ch = {
380+ let bw = bY
407381 let bx = size(bw)
408- let by = nil
409- func cl (bA,bB) = if ((bB >= bx))
382+ let by = $Tuple2(nil, 0)
383+ func bz (bA,bB) = if ((bB >= bx))
410384 then bA
411- else ch(bA, bw[bB])
385+ else cf(bA, bw[bB])
412386
413- func cm (bA,bB) = if ((bB >= bx))
387+ func bC (bA,bB) = if ((bB >= bx))
414388 then bA
415389 else throw("List size exceeds 10")
416390
417- cm(cl(cl(cl(cl(cl(cl(cl(cl(cl(cl(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
418- }, "_"), ck, cg._2)
391+ bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
392+ }
393+ func ci (ca,cj) = {
394+ let ck = if ((ch._2 == 0))
395+ then h
396+ else fraction(cj._3, h, ch._2)
397+ (ca :+ makeString([cj._1, toString(ck), toString(cj._4), toString(cj._2)], ":"))
398+ }
399+
400+ let cl = if ((bW == 0))
401+ then 0
402+ else fraction(ch._2, h, bW)
403+ $Tuple3(makeString({
404+ let bw = ch._1
405+ let bx = size(bw)
406+ let by = nil
407+ func cm (bA,bB) = if ((bB >= bx))
408+ then bA
409+ else ci(bA, bw[bB])
410+
411+ func cn (bA,bB) = if ((bB >= bx))
412+ then bA
413+ else throw("List size exceeds 10")
414+
415+ cn(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
416+ }, "_"), cl, ch._2)
419417 }
420418
421419
422-@Callable(cn)
423-func constructorV1 (co,cp,cq) = if ((cn.caller != this))
420+@Callable(co)
421+func constructorV1 (cp,cq,cr) = if ((co.caller != this))
424422 then throw("not authorized")
425- else [StringEntry(K(), co), IntegerEntry(L(), cq)]
423+ else [StringEntry(K(), cp), IntegerEntry(L(), cr)]
426424
427425
428426
429-@Callable(cn)
430-func calcSwapLimitREADONLY (cr) = {
431- let cs = if ((0 >= cr))
427+@Callable(co)
428+func calcSwapLimitREADONLY (cs) = {
429+ let ct = if ((0 >= cs))
432430 then 0
433431 else {
434- let ct = toBigInt(ai(this, L()))
435- let cu = toBigInt(ai(this, M()))
436- let cv = pow(toBigInt(cr), 6, cu, 16, 8, CEILING)
437- toInt(fraction(ct, cv, l))
432+ let cu = toBigInt(ai(this, L()))
433+ let cv = toBigInt(ai(this, M()))
434+ let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
435+ toInt(fraction(cu, cw, l))
438436 }
439- let cw = if ((0 >= cr))
437+ let cx = if ((0 >= cs))
440438 then 0
441439 else {
442- let ct = toBigInt(ai(this, N()))
443- let cu = toBigInt(ai(this, O()))
444- let cx = toBigInt(cb)
445- let cv = pow(toBigInt(cr), 6, cu, 16, 8, CEILING)
446- toInt(fraction(fraction(ct, cv, l), cx, i))
440+ let cu = toBigInt(ai(this, N()))
441+ let cv = toBigInt(ai(this, O()))
442+ let cy = toBigInt(cc)
443+ let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING)
444+ toInt(fraction(fraction(cu, cw, l), cy, i))
447445 }
448- $Tuple2(nil, [cs, 0, cw])
446+ $Tuple2(nil, [ct, 0, cx])
449447 }
450448
451449
452450
453-@Callable(cn)
454-func calculateKREADONLY (cy,cz,an,cA,cB) = {
455- let cC = toBigInt(2718281)
456- let cD = 6
457- let cE = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
458- let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
459- let cG = ao(cy, an)
460- let cH = fraction(cG, j, cz)
461- if ((cH > 10678564816))
462- then throw((("BR=" + toString(cH)) + " > 10678.564816% will overflow exponent"))
451+@Callable(co)
452+func calculateKREADONLY (cz,cA,an,cB,cC) = {
453+ let cD = toBigInt(2718281)
454+ let cE = 6
455+ let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3)
456+ let cG = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10))
457+ let cH = ao(cz, an)
458+ let cI = fraction(cH, j, cA)
459+ if ((cI > 10678564816))
460+ then throw((("BR=" + toString(cI)) + " > 10678.564816% will overflow exponent"))
463461 else {
464- let cI = (cE * (cH - j))
465- let cJ = pow(cC, cD, toBigInt(cI), b, c, DOWN)
466- let cK = fraction(toBigInt(cF), cJ, i)
467- $Tuple2(nil, [cE, cF, cG, cH, cI, toString(cJ), toString(cK)])
462+ let cJ = (cF * (cI - j))
463+ let cK = pow(cD, cE, toBigInt(cJ), b, c, DOWN)
464+ let cL = fraction(toBigInt(cG), cK, i)
465+ $Tuple2(nil, [cF, cG, cH, cI, cJ, toString(cK), toString(cL)])
468466 }
469467 }
470468
471469
472470
473-@Callable(cn)
474-func curveFunctionREADONLY (cL) = {
475- let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
476- let an = ay(cM[v])
477- let cy = ay(cM[y])
478- let cz = ay(cM[A])
479- let cB = ay(cM[E])
480- let cA = ay(cM[F])
481- let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
482- let cK = parseBigIntValue(aA(cN[u]))
483- let cO = ao(cL, an)
484- let cP = toBigInt(cA)
485- let cQ = toBigInt((cA - cB))
486- let cR = fraction(toBigInt(cO), m, cK)
487- let cS = fraction(cR, cQ, cP)
488- let cT = toInt(fraction(cQ, cP, (cS + cP)))
489- let cU = ((cA - cB) - cT)
490- $Tuple2(nil, [cU, cO, cy, cz, cA, cB, ay(cN[o]), ay(cN[p]), ay(cN[q]), an, ay(cN[r]), ay(cN[s]), cN[t], cN[u], toString(cR), toString(cS), cT])
471+@Callable(co)
472+func curveFunctionREADONLY (cM) = {
473+ let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
474+ let an = ay(cN[v])
475+ let cz = ay(cN[y])
476+ let cA = ay(cN[A])
477+ let cC = ay(cN[E])
478+ let cB = ay(cN[F])
479+ let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
480+ let cL = parseBigIntValue(aA(cO[u]))
481+ let cP = ao(cM, an)
482+ let cQ = toBigInt(cB)
483+ let cR = toBigInt((cB - cC))
484+ let cS = fraction(toBigInt(cP), m, cL)
485+ let cT = fraction(cS, cR, cQ)
486+ let cU = toInt(fraction(cR, cQ, (cT + cQ)))
487+ let cV = ((cB - cC) - cU)
488+ $Tuple2(nil, [cV, cP, cz, cA, cB, cC, ay(cO[o]), ay(cO[p]), ay(cO[q]), an, ay(cO[r]), ay(cO[s]), cO[t], cO[u], toString(cS), toString(cT), cU])
491489 }
492490
493491
494492
495-@Callable(cn)
493+@Callable(co)
496494 func surfFunctionREADONLY (am,ab) = if ((0 > am))
497495 then throw("amount should be positive")
498496 else {
499497 let an = bL
500- let cV = toBigInt(an)
501- let cW = bP("WAVES")
502- let cX = toBigInt(cW)
503- let cY = bW
504- let cZ = toBigInt(cY)
505- if ((cb >= h))
506- then throw((("BR = " + toString(cb)) + ", cannot buy SURF"))
498+ let cW = toBigInt(an)
499+ let cX = bP("WAVES")
500+ let cY = toBigInt(cX)
501+ let cZ = bW
502+ let da = toBigInt(cZ)
503+ if ((cc >= h))
504+ then throw((("BR = " + toString(cc)) + ", cannot buy SURF"))
507505 else {
508- let da = (fraction(cY, j, an) - cW)
509- let db = (cY - fraction(cW, an, j))
510- let dc = if ((ab == bh))
511- then if ((am > db))
512- then db
506+ let db = (fraction(cZ, j, an) - cX)
507+ let dc = (cZ - fraction(cX, an, j))
508+ let dd = if ((ab == bh))
509+ then if ((am > dc))
510+ then dc
513511 else am
514512 else if ((ab == n))
515- then if ((am > da))
516- then da
513+ then if ((am > db))
514+ then db
517515 else am
518516 else 0
519- let dd = toBigInt(dc)
517+ let de = toBigInt(dd)
520518 if ((ab == bh))
521- then $Tuple2(nil, [toInt(fraction(fraction(dd, k, cV), (cZ - (dd / g)), cX)), 0, dc, cW, cY, cb, cW, (cY - dc), fraction(ao(cW, an), h, (cY - dc)), (am - dc), an])
519+ then $Tuple2(nil, [toInt(fraction(fraction(de, k, cW), (da - (de / g)), cY)), 0, dd, cX, cZ, cc, cX, (cZ - dd), fraction(ao(cX, an), h, (cZ - dd)), (am - dd), an])
522520 else if ((ab == n))
523- then $Tuple2(nil, [toInt(fraction(cZ, log(fraction((cX + dd), m, cX), 16, f, 16, 16, HALFUP), m)), dc, 0, cW, cY, cb, (cW + dc), cY, fraction(ao((cW + dc), an), h, cY), (am - dc), an])
521+ then $Tuple2(nil, [toInt(fraction(da, log(fraction((cY + de), m, cY), 16, f, 16, 16, HALFUP), m)), dd, 0, cX, cZ, cc, (cX + dd), cZ, fraction(ao((cX + dd), an), h, cZ), (am - dd), an])
524522 else throw("Unsupported asset")
525523 }
526524 }
527525
528526
529527
530-@Callable(cn)
531-func calcContractNsbtPriceSYSREADONLY (de) = {
532- let cM = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
533- let an = ay(cM[v])
534- let cy = ay(cM[y])
535- let cz = (ay(cM[A]) - de)
536- let cB = (ay(cM[E]) + de)
537- let cA = ay(cM[F])
538- let cN = av(invoke(this, "calculateKREADONLY", [cy, cz, an, cA, cB], nil))
539- let df = parseBigIntValue(aA(cN[u]))
540- let dg = fraction(toBigInt(cA), m, toBigInt((cA - cB)))
541- let dh = fraction(dg, dg, m)
542- let di = fraction(df, dh, m)
543- let dj = toInt(fraction(di, toBigInt(h), m))
544- let dk = fraction(dj, h, an)
545- $Tuple2(nil, [dj, dk])
528+@Callable(co)
529+func calcContractNsbtPriceSYSREADONLY (df) = {
530+ let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil))
531+ let an = ay(cN[v])
532+ let cz = ay(cN[y])
533+ let cA = (ay(cN[A]) - df)
534+ let cC = (ay(cN[E]) + df)
535+ let cB = ay(cN[F])
536+ let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil))
537+ let dg = parseBigIntValue(aA(cO[u]))
538+ let dh = fraction(toBigInt(cB), m, toBigInt((cB - cC)))
539+ let di = fraction(dh, dh, m)
540+ let dj = fraction(dg, di, m)
541+ let dk = toInt(fraction(dj, toBigInt(h), m))
542+ let dl = fraction(dk, h, an)
543+ $Tuple2(nil, [dk, dl])
546544 }
547545
548546
549547
550-@Callable(cn)
548+@Callable(co)
551549 func calcNeutinoMetricsREADONLY () = {
552- let dl = value(assetInfo(bi)).quantity
553- let dm = (dl - assetBalance(bc, bi))
554- let dn = value(assetInfo(bj)).quantity
555- let do = cc()
556- $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cb, dm, dl, dn, bG, bM, do._1, do._2, do._3])
550+ let dm = value(assetInfo(bi)).quantity
551+ let dn = (dm - assetBalance(bc, bi))
552+ let do = value(assetInfo(bj)).quantity
553+ let dp = cd()
554+ $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dn, dm, do, bG, bM, dp._1, dp._2, dp._3])
557555 }
558556
559557
560558
561-@Callable(cn)
562-func getUnstakeComissionAmountREADONLY (am,dp,dq) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dp)), j, dq), 8, 8, HALFUP), j))
559+@Callable(co)
560+func getUnstakeComissionAmountREADONLY (am,dq,dr) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dq)), j, dr), 8, 8, HALFUP), j))
563561
564562
565563
566-@Callable(cn)
567-func mergeStakesREADONLY (dr,ds,dt,du,dq) = {
568- let dv = fraction(dt, pow(2, 0, fraction((du - ds), j, dq), 8, 8, HALFUP), j)
569- let aD = fraction((dr + dt), j, (dr + dv))
570- $Tuple2(nil, (ds + ((e - (dq * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
564+@Callable(co)
565+func mergeStakesREADONLY (ds,dt,du,dv,dr) = {
566+ let dw = fraction(du, pow(2, 0, fraction((dv - dt), j, dr), 8, 8, HALFUP), j)
567+ let aD = fraction((ds + du), j, (ds + dw))
568+ $Tuple2(nil, (dt + ((e - (dr * log(aD, 8, 2, 0, 8, HALFUP))) / j)))
571569 }
572570
573571
574-@Verifier(dw)
575-func dx () = {
576- let dy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
577- let dz = split(valueOrElse(getString(ba, "%s__multisig"), dy), d)
578- let dA = ((((if (sigVerify(dw.bodyBytes, dw.proofs[0], fromBase58String(dz[0])))
572+@Verifier(dx)
573+func dy () = {
574+ let dz = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d)
575+ let dA = split(valueOrElse(getString(ba, "%s__multisig"), dz), d)
576+ let dB = ((((if (sigVerify(dx.bodyBytes, dx.proofs[0], fromBase58String(dA[0])))
579577 then 1
580- else 0) + (if (sigVerify(dw.bodyBytes, dw.proofs[1], fromBase58String(dz[1])))
578+ else 0) + (if (sigVerify(dx.bodyBytes, dx.proofs[1], fromBase58String(dA[1])))
581579 then 1
582- else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[2], fromBase58String(dz[2])))
580+ else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[2], fromBase58String(dA[2])))
583581 then 1
584- else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[3], fromBase58String(dz[3])))
582+ else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[3], fromBase58String(dA[3])))
585583 then 2
586584 else 0))
587- (dA >= 3)
585+ (dB >= 3)
588586 }
589587

github/deemru/w8io/026f985 
121.20 ms