tx · G7rzmQHAtsfUpwa9mB74gfth6zoUZETuovY4X2y2dZXb

3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS:  -0.04300000 Waves

2023.07.05 11:08 [2652358] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves

{ "type": 13, "id": "G7rzmQHAtsfUpwa9mB74gfth6zoUZETuovY4X2y2dZXb", "fee": 4300000, "feeAssetId": null, "timestamp": 1688544573760, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "5cLFfUhLwwxv64LpcaimnAbm7zgPNm94aFznUVDXzqskECiGymarXhbmK6Ro9U4rSeaeGt8uHngTaCKDGMU6T1FX" ], "script": "base64:BgKYAQgCEgcKBQgBCAEBEgMKAQgSBAoCCAgSBQoDCBgYEgUKAwgBCBIECgIIARIGCgQBCAgBEgUKAwEICBILCgkICAgICAgICAgSAwoBCBIDCgEIEgUKAwgIARIGCgQIAQgIEg4KDAgICAEEERgYEQEBGBIKCggICAgBBAgBGBIOCgwICAgBBBgYGBgYARgSCwoJCAgBAQEBAQEEagAHU0ZfUE9PTAICU0YAB1dYX1BPT0wCAldYAA9DQVBfRkVFX05PX0xPQU4CCWNhcE5vTG9hbgAMQ0FQX0ZFRV9MT0FOAgdjYXBMb2FuABRTVE9QTE9TU19GRUVfTk9fTE9BTgIOc3RvcExvc3NOb0xvYW4ADVNUT1BMT1NTX0xPQU4CDHN0b3BMb3NzTG9hbgAITE9BTl9GRUUCBGxvYW4AC05PX0xPQU5fRkVFAgZub0xvYW4ABk5PX0ZFRQIFbm9GZWUABlNDQUxFOACAwtcvAAdTQ0FMRTEwAIDIr6AlAAdTQ0FMRTE2CQC2AgEAgICE/qbe4REACkZFRV9TQ0FMRTYAwIQ9ABRrU0ZQb29sQUFzc2V0QmFsYW5jZQI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GZWVXaXRoTG9hbgkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQhwb29sQWRkcgURa1Bvb2xJbnRlcmVzdExvYW4AAAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQhwb29sQWRkcgUTa1Bvb2xJbnRlcmVzdE5vTG9hbgAACQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUFa1Bvb2wFCHBvb2xBZGRyBQR0eXBlCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgUHc2hhcmVJZAUKa1NoYXJlUG9vbAUIcG9vbEFkZHIJAMwIAgkBDEJvb2xlYW5FbnRyeQIJAKwCAgUIcG9vbEFkZHIFDmtQb29sQ2FuQm9ycm93BQljYW5Cb3Jyb3cFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXk7uSe0", "height": 2652358, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DSmQDEwe6cvm6JWEPfvNjcZ96G24VNdmTb97JJXL2GCm Next: CgZ9fEfsaxJnVmCVghdFXUhFzH71f5EBNv8Ty9iJCc6K Diff:
OldNewDifferences
403403 $Tuple5(pmtA, pmt, (pmtB - pmt), bId, lpInB)
404404 }
405405 else {
406- let pmt = parseIntValue(evalPutInA[8])
406+ let pmt = parseIntValue(evalPutInA[7])
407407 $Tuple5(pmt, pmtB, (pmtA - pmt), aId, lpInA)
408408 }
409409 }
487487 let amountToPay = $t01389114199._1
488488 let assetToPay = $t01389114199._2
489489 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
490- $Tuple2(assetToPay, fraction(amountToPayWithFee, 102, 100))
490+ $Tuple2(assetToPay, amountToPayWithFee)
491491 }
492492
493493
494494 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
495495 then {
496- let $t01456214684 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
497- let assetToPay = $t01456214684._1
498- let amountToPay = $t01456214684._2
496+ let $t01454414666 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
497+ let assetToPay = $t01454414666._1
498+ let amountToPay = $t01454414666._2
499499 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
500500 }
501501 else {
502- let $t01485914981 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
503- let assetToPay = $t01485914981._1
504- let amountToPay = $t01485914981._2
502+ let $t01484114963 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
503+ let assetToPay = $t01484114963._1
504+ let amountToPay = $t01484114963._2
505505 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
506506 }
507507
532532 }
533533 else if ((pType == WX_POOL))
534534 then {
535- let $t01558415925 = if (if ((pmtA > 0))
535+ let $t01556615907 = if (if ((pmtA > 0))
536536 then (pmtB > 0)
537537 else false)
538538 then {
539- let $t01566515791 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
540- let pmtInA = $t01566515791._1
541- let pmtInB = $t01566515791._2
542- let change = $t01566515791._3
543- let changeId = $t01566515791._4
544- let lpAmount = $t01566515791._5
539+ let $t01564715773 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
540+ let pmtInA = $t01564715773._1
541+ let pmtInB = $t01564715773._2
542+ let change = $t01564715773._3
543+ let changeId = $t01564715773._4
544+ let lpAmount = $t01564715773._5
545545 $Tuple3(change, changeId, lpAmount)
546546 }
547547 else if ((pmtA > 0))
548548 then $Tuple3(pmtA, aId, 0)
549549 else $Tuple3(pmtB, bId, 0)
550- let change = $t01558415925._1
551- let changeId = $t01558415925._2
552- let lpTwo = $t01558415925._3
553- let $t01593216148 = if ((change > 0))
550+ let change = $t01556615907._1
551+ let changeId = $t01556615907._2
552+ let lpTwo = $t01556615907._3
553+ let $t01591416130 = if ((change > 0))
554554 then {
555555 let inv = {
556556 let @ = invoke(poolAddr, "putOneTknREADONLY", [changeId, change], nil)
563563 else throw("Strict value is not equal to itself.")
564564 }
565565 else $Tuple2(0, 0)
566- let lpOne = $t01593216148._1
567- let loss = $t01593216148._2
566+ let lpOne = $t01591416130._1
567+ let loss = $t01591416130._2
568568 $Tuple2((lpTwo + lpOne), loss)
569569 }
570570 else throw("Wrong pool type")
573573
574574 func calcWithdrawLPVirt (pType,pool,lpAmount,shareId,aId,bId,balA,balB,borrowAmount,borrowAssetId) = {
575575 let poolAddr = addressFromStringValue(pool)
576- let $t01644216942 = if ((pType == SF_POOL))
576+ let $t01642416924 = if ((pType == SF_POOL))
577577 then {
578578 let inv = {
579579 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(lpAmount), toString(balA), toString(balB)]], nil)
608608 else throw("Strict value is not equal to itself.")
609609 }
610610 else throw("Wrong pool type")
611- let getAmountA = $t01644216942._1
612- let getAmountB = $t01644216942._2
611+ let getAmountA = $t01642416924._1
612+ let getAmountB = $t01642416924._2
613613 if ((borrowAmount > 0))
614614 then {
615615 let amountToGetEx = if (if ((borrowAssetId == aId))
621621 else false)
622622 then (borrowAmount - getAmountB)
623623 else 0
624- let $t01722017523 = if ((amountToGetEx > 0))
624+ let $t01720217505 = if ((amountToGetEx > 0))
625625 then if ((pType == SF_POOL))
626626 then calcAmountToPaySF(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
627627 else calcAmountToPayWX(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
628628 else $Tuple2("", 0)
629- let assetToPay = $t01722017523._1
630- let amountToPay = $t01722017523._2
629+ let assetToPay = $t01720217505._1
630+ let amountToPay = $t01720217505._2
631631 if ((borrowAssetId == aId))
632632 then $Tuple2(((getAmountA + amountToGetEx) - borrowAmount), (getAmountB - amountToPay))
633633 else $Tuple2((getAmountA - amountToPay), ((getAmountB + amountToGetEx) - borrowAmount))
674674 if ((lpBalanceBefore == lpBalanceBefore))
675675 then {
676676 let poolAddr = addressFromStringValue(pool)
677- let $t01872019136 = if (if ((pmtA > 0))
677+ let $t01870219118 = if (if ((pmtA > 0))
678678 then (pmtB > 0)
679679 else false)
680680 then {
681- let $t01878618902 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
682- let pmtInA = $t01878618902._1
683- let pmtInB = $t01878618902._2
684- let change = $t01878618902._3
685- let changeId = $t01878618902._4
681+ let $t01876818884 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
682+ let pmtInA = $t01876818884._1
683+ let pmtInB = $t01876818884._2
684+ let change = $t01876818884._3
685+ let changeId = $t01876818884._4
686686 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
687687 if ((inv == inv))
688688 then $Tuple2(change, changeId)
693693 else if ((pmtB > 0))
694694 then $Tuple2(pmtB, bId)
695695 else throw("pmts must be > 0")
696- let change = $t01872019136._1
697- let changeId = $t01872019136._2
696+ let change = $t01870219118._1
697+ let changeId = $t01870219118._2
698698 let inv = if ((change > 0))
699699 then replenishOneTokenByType(poolAddr, pType, change, changeId)
700700 else nil
722722 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
723723 let totalAmount = getPoolTotalShare(pool)
724724 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
725- let $t01999420232 = if (withLoan)
725+ let $t01997620214 = if (withLoan)
726726 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
727727 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
728- let curPoolInterest = $t01999420232._1
729- let totalStakedWithLoan = $t01999420232._2
728+ let curPoolInterest = $t01997620214._1
729+ let totalStakedWithLoan = $t01997620214._2
730730 [IntegerEntry((pool + kPoolTotal), (totalAmount + stakedAmount)), IntegerEntry((pool + kPoolTotalLoan), totalStakedWithLoan), IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserPosition), stakedAmount), IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserPositionInterest), curPoolInterest), StringEntry((((user + "_") + toString(posNum)) + kUserPositionPool), pool), IntegerEntry((user + kUserPositionNum), posNum), ScriptTransfer(moneyBox, axlyFeeAmount, fromBase58String(shareId))]
731731 }
732732
772772
773773 func capitalize (pool,pType,tokenId,tokenAmount) = {
774774 let poolAddr = Address(fromBase58String(pool))
775- let $t02258322649 = getPoolData(poolAddr, pType)
776- let AId = $t02258322649._1
777- let BId = $t02258322649._2
778- let balA = $t02258322649._3
779- let balB = $t02258322649._4
780- let shareId = $t02258322649._5
775+ let $t02256522631 = getPoolData(poolAddr, pType)
776+ let AId = $t02256522631._1
777+ let BId = $t02256522631._2
778+ let balA = $t02256522631._3
779+ let balB = $t02256522631._4
780+ let shareId = $t02256522631._5
781781 if (if ((tokenId != AId))
782782 then (tokenId != BId)
783783 else false)
784784 then throw("Wrong asset")
785785 else {
786- let $t02273422814 = if ((tokenId == AId))
786+ let $t02271622796 = if ((tokenId == AId))
787787 then $Tuple2(tokenAmount, 0)
788788 else $Tuple2(0, tokenAmount)
789- let pmtA = $t02273422814._1
790- let pmtB = $t02273422814._2
791- let $t02281722921 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
792- let stakedAmount = $t02281722921._1
793- let nf = $t02281722921._2
789+ let pmtA = $t02271622796._1
790+ let pmtB = $t02271622796._2
791+ let $t02279922903 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
792+ let stakedAmount = $t02279922903._1
793+ let nf = $t02279922903._2
794794 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
795795 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
796796 let totalShareAmount = getPoolTotalShare(pool)
817817 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
818818 let poolAddr = Address(fromBase58String(pool))
819819 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
820- let $t02468924765 = getPoolData(poolAddr, pType)
821- let assetIdA = $t02468924765._1
822- let assetIdB = $t02468924765._2
823- let balA = $t02468924765._3
824- let balB = $t02468924765._4
825- let shareId = $t02468924765._5
820+ let $t02467124747 = getPoolData(poolAddr, pType)
821+ let assetIdA = $t02467124747._1
822+ let assetIdB = $t02467124747._2
823+ let balA = $t02467124747._3
824+ let balB = $t02467124747._4
825+ let shareId = $t02467124747._5
826826 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
827827 if ((cBalABefore == cBalABefore))
828828 then {
841841 then {
842842 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
843843 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
844- let $t02532825417 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
845- let tokensAmountA = $t02532825417._1
846- let tokensAmountB = $t02532825417._2
847- let $t02542026240 = if ((debt > 0))
844+ let $t02531025399 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
845+ let tokensAmountA = $t02531025399._1
846+ let tokensAmountB = $t02531025399._2
847+ let $t02540226222 = if ((debt > 0))
848848 then {
849849 let amountToGetEx = if (if ((borrowAsset == assetIdA))
850850 then (debt > tokensAmountA)
869869 else throw("Strict value is not equal to itself.")
870870 }
871871 else $Tuple2(tokensAmountA, tokensAmountB)
872- let toUserA = $t02542026240._1
873- let toUserB = $t02542026240._2
872+ let toUserA = $t02540226222._1
873+ let toUserB = $t02540226222._2
874874 $Tuple7(toUserA, assetIdA, toUserB, assetIdB, cBalAAfter, cBalBAfter, shareId)
875875 }
876876 else throw("Strict value is not equal to itself.")
906906 else throw(($getType(@) + " couldn't be cast to Int"))
907907 }
908908 else 0
909- let $t02762827781 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
910- if (($t02762827781 == $t02762827781))
909+ let $t02761027763 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
910+ if (($t02761027763 == $t02761027763))
911911 then {
912- let shareId = $t02762827781._7
913- let cBalBAfter = $t02762827781._6
914- let cBalAAfter = $t02762827781._5
915- let assetIdB = $t02762827781._4
916- let toUserAmountB = $t02762827781._3
917- let assetIdA = $t02762827781._2
918- let toUserAmountA = $t02762827781._1
912+ let shareId = $t02761027763._7
913+ let cBalBAfter = $t02761027763._6
914+ let cBalAAfter = $t02761027763._5
915+ let assetIdB = $t02761027763._4
916+ let toUserAmountB = $t02761027763._3
917+ let assetIdA = $t02761027763._2
918+ let toUserAmountA = $t02761027763._1
919919 let closeDbtInv = if ((debt > 0))
920920 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
921921 else 0
950950 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
951951 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
952952 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
953- let $t02942129518 = if ((borrowId == aId))
953+ let $t02940329500 = if ((borrowId == aId))
954954 then $Tuple2(dPriceA, decPrA)
955955 else $Tuple2(dPriceB, decPrB)
956- let borrowPrice = $t02942129518._1
957- let borrowDecPr = $t02942129518._2
956+ let borrowPrice = $t02940329500._1
957+ let borrowDecPr = $t02940329500._2
958958 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
959959 }
960960
966966 then throw("Leverage can't be <100 and >300")
967967 else {
968968 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
969- let $t02993630026 = getPoolData(Address(fromBase58String(pool)), pType)
970- let AId = $t02993630026._1
971- let BId = $t02993630026._2
972- let balA = $t02993630026._3
973- let balB = $t02993630026._4
974- let shareId = $t02993630026._5
969+ let $t02991830008 = getPoolData(Address(fromBase58String(pool)), pType)
970+ let AId = $t02991830008._1
971+ let BId = $t02991830008._2
972+ let balA = $t02991830008._3
973+ let balB = $t02991830008._4
974+ let shareId = $t02991830008._5
975975 let borrowAmount = if ((leverage > 100))
976976 then calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
977977 else 0
978- let $t03016130268 = if ((borrowId == AId))
978+ let $t03014330250 = if ((borrowId == AId))
979979 then $Tuple2((pmtA + borrowAmount), pmtB)
980980 else $Tuple2(pmtA, (pmtB + borrowAmount))
981- let payInA = $t03016130268._1
982- let payInB = $t03016130268._2
983- let $t03027130364 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
984- let lpAmount = $t03027130364._1
985- let loss = $t03027130364._2
981+ let payInA = $t03014330250._1
982+ let payInB = $t03014330250._2
983+ let $t03025330346 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
984+ let lpAmount = $t03025330346._1
985+ let loss = $t03025330346._2
986986 let impactMod = if ((0 > loss))
987987 then (loss * -1)
988988 else loss
10121012 @Callable(i)
10131013 func getUserPositionInDollarsREADONLY (user,pools,posNum) = {
10141014 func userPos (a,pool) = {
1015- let $t03117731211 = a
1016- let totalPos = $t03117731211._1
1017- let posDebt = $t03117731211._2
1018- let index = $t03117731211._3
1015+ let $t03115931193 = a
1016+ let totalPos = $t03115931193._1
1017+ let posDebt = $t03115931193._2
1018+ let index = $t03115931193._3
10191019 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1020- let $t03130331393 = getPoolData(Address(fromBase58String(pool)), pType)
1021- let AId = $t03130331393._1
1022- let BId = $t03130331393._2
1023- let balA = $t03130331393._3
1024- let balB = $t03130331393._4
1025- let shareId = $t03130331393._5
1020+ let $t03128531375 = getPoolData(Address(fromBase58String(pool)), pType)
1021+ let AId = $t03128531375._1
1022+ let BId = $t03128531375._2
1023+ let balA = $t03128531375._3
1024+ let balB = $t03128531375._4
1025+ let shareId = $t03128531375._5
10261026 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
10271027 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
10281028 let sharePrices = getSharePrice(shareId)
10451045 }
10461046 }
10471047
1048- let $t03241332468 = {
1048+ let $t03239532450 = {
10491049 let $l = pools
10501050 let $s = size($l)
10511051 let $acc0 = $Tuple3(nil, nil, 0)
10591059
10601060 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
10611061 }
1062- let pos = $t03241332468._1
1063- let debt = $t03241332468._2
1062+ let pos = $t03239532450._1
1063+ let debt = $t03239532450._2
10641064 $Tuple2(nil, $Tuple2(pos, debt))
10651065 }
10661066
10771077 then throw("You can't borrow in this pool")
10781078 else {
10791079 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1080- let $t03290832998 = getPoolData(Address(fromBase58String(pool)), pType)
1081- let AId = $t03290832998._1
1082- let BId = $t03290832998._2
1083- let balA = $t03290832998._3
1084- let balB = $t03290832998._4
1085- let shareId = $t03290832998._5
1086- let $t03300133638 = if ((size(i.payments) == 2))
1080+ let $t03289032980 = getPoolData(Address(fromBase58String(pool)), pType)
1081+ let AId = $t03289032980._1
1082+ let BId = $t03289032980._2
1083+ let balA = $t03289032980._3
1084+ let balB = $t03289032980._4
1085+ let shareId = $t03289032980._5
1086+ let $t03298333620 = if ((size(i.payments) == 2))
10871087 then if ((assetIdToStr(i.payments[0].assetId) != AId))
10881088 then throw("Wrong payment asset A")
10891089 else if ((assetIdToStr(i.payments[1].assetId) != BId))
10961096 then $Tuple4(0, AId, i.payments[0].amount, BId)
10971097 else throw("Wrong payment")
10981098 else throw("One or two payments expected")
1099- let pmtA = $t03300133638._1
1100- let pmtAssetA = $t03300133638._2
1101- let pmtB = $t03300133638._3
1102- let pmtAssetB = $t03300133638._4
1099+ let pmtA = $t03298333620._1
1100+ let pmtAssetA = $t03298333620._2
1101+ let pmtB = $t03298333620._3
1102+ let pmtAssetB = $t03298333620._4
11031103 let newPosNum = getNewUserPositionNumber(toString(i.caller))
11041104 if ((leverage > 100))
11051105 then {
11221122 else throw("Strict value is not equal to itself.")
11231123 }
11241124 else {
1125- let $t03456634678 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126- let userStaked = $t03456634678._1
1127- let axlyFee = $t03456634678._2
1125+ let $t03454834660 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126+ let userStaked = $t03454834660._1
1127+ let axlyFee = $t03454834660._2
11281128 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
11291129 }
11301130 }
11741174
11751175 @Callable(i)
11761176 func replenishFromLand (requestId) = valueOrElse(isLandCall(i), {
1177- let $t03713537239 = parseRequest(requestId)
1178- let user = $t03713537239._1
1179- let pool = $t03713537239._2
1180- let pmtA = $t03713537239._3
1181- let AId = $t03713537239._4
1182- let pmtB = $t03713537239._5
1183- let BId = $t03713537239._6
1184- let balA = $t03713537239._7
1185- let balB = $t03713537239._8
1186- let shareId = $t03713537239._9
1187- let bwAsset = $t03713537239._10
1188- let bwAmount = $t03713537239._11
1177+ let $t03711737221 = parseRequest(requestId)
1178+ let user = $t03711737221._1
1179+ let pool = $t03711737221._2
1180+ let pmtA = $t03711737221._3
1181+ let AId = $t03711737221._4
1182+ let pmtB = $t03711737221._5
1183+ let BId = $t03711737221._6
1184+ let balA = $t03711737221._7
1185+ let balB = $t03711737221._8
1186+ let shareId = $t03711737221._9
1187+ let bwAsset = $t03711737221._10
1188+ let bwAmount = $t03711737221._11
11891189 if ((size(i.payments) != 1))
11901190 then throw("Wrong payment size")
11911191 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
11931193 else (i.payments[0].amount != bwAmount))
11941194 then throw("Wrong payment")
11951195 else {
1196- let $t03742937553 = if ((AId == bwAsset))
1196+ let $t03741137535 = if ((AId == bwAsset))
11971197 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
11981198 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
1199- let pmtAllA = $t03742937553._1
1200- let pmtAllB = $t03742937553._2
1199+ let pmtAllA = $t03741137535._1
1200+ let pmtAllB = $t03741137535._2
12011201 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
1202- let $t03763537750 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1203- let userStaked = $t03763537750._1
1204- let axlyFee = $t03763537750._2
1202+ let $t03761737732 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1203+ let userStaked = $t03761737732._1
1204+ let axlyFee = $t03761737732._2
12051205 let posNum = getNewUserPositionNumber(user)
12061206 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
12071207 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
12151215 func liquidate (user,posId,liquidateAmount) = valueOrElse(isLandCall(i), {
12161216 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
12171217 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1218- let $t03852938619 = getPoolData(Address(fromBase58String(pool)), pType)
1219- let AId = $t03852938619._1
1220- let BId = $t03852938619._2
1221- let balA = $t03852938619._3
1222- let balB = $t03852938619._4
1223- let shareId = $t03852938619._5
1218+ let $t03851138601 = getPoolData(Address(fromBase58String(pool)), pType)
1219+ let AId = $t03851138601._1
1220+ let BId = $t03851138601._2
1221+ let balA = $t03851138601._3
1222+ let balB = $t03851138601._4
1223+ let shareId = $t03851138601._5
12241224 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
12251225 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
12261226 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
12441244
12451245 @Callable(i)
12461246 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isAdminCall(i), {
1247- let $t04038240576 = if (claim)
1247+ let $t04036440558 = if (claim)
12481248 then claimFarmed(type, pool)
12491249 else {
12501250 let claimedAsset = if ((type == SF_POOL))
12521252 else WXID
12531253 $Tuple2(amountToExchange, claimedAsset)
12541254 }
1255- let claimedAmount = $t04038240576._1
1256- let claimedAsset = $t04038240576._2
1255+ let claimedAmount = $t04036440558._1
1256+ let claimedAsset = $t04036440558._2
12571257 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
12581258 let change = (claimedAmount - amountToExchange)
12591259 let changeEntry = if ((change > 0))
12661266
12671267 @Callable(i)
12681268 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isAdminCall(i), {
1269- let $t04126141455 = if (claim)
1269+ let $t04124341437 = if (claim)
12701270 then claimFarmed(type, pool)
12711271 else {
12721272 let claimedAsset = if ((type == SF_POOL))
12741274 else WXID
12751275 $Tuple2(amountToExchange, claimedAsset)
12761276 }
1277- let claimedAmount = $t04126141455._1
1278- let claimedAsset = $t04126141455._2
1277+ let claimedAmount = $t04124341437._1
1278+ let claimedAsset = $t04124341437._2
12791279 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
12801280 let change = (claimedAmount - amountToExchange)
12811281 let changeEntry = if ((change > 0))
12881288
12891289 @Callable(i)
12901290 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isAdminCall(i), {
1291- let $t04220642400 = if (claim)
1291+ let $t04218842382 = if (claim)
12921292 then claimFarmed(type, pool)
12931293 else {
12941294 let claimedAsset = if ((type == SF_POOL))
12961296 else WXID
12971297 $Tuple2(amountToExchange, claimedAsset)
12981298 }
1299- let claimedAmount = $t04220642400._1
1300- let claimedAsset = $t04220642400._2
1299+ let claimedAmount = $t04218842382._1
1300+ let claimedAsset = $t04218842382._2
13011301 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
13021302 let change = (claimedAmount - amountToExchange)
13031303 let changeEntry = if ((change > 0))
13141314 else false)
13151315 then throw("Wrong type")
13161316 else {
1317- let $t04314143235 = getPoolData(Address(fromBase58String(poolAddr)), type)
1318- let aId = $t04314143235._1
1319- let bId = $t04314143235._2
1320- let aBal = $t04314143235._3
1321- let bBal = $t04314143235._4
1322- let shareId = $t04314143235._5
1317+ let $t04312343217 = getPoolData(Address(fromBase58String(poolAddr)), type)
1318+ let aId = $t04312343217._1
1319+ let bId = $t04312343217._2
1320+ let aBal = $t04312343217._3
1321+ let bBal = $t04312343217._4
1322+ let shareId = $t04312343217._5
13231323 [IntegerEntry((poolAddr + kAxlyInFeeWithoutLoan), inFeeNoLoan), IntegerEntry((poolAddr + kAxlyInFeeWithLoan), inFeeLoan), IntegerEntry((poolAddr + kAxlyNoLoanCapFee), capFeeNoLoan), IntegerEntry((poolAddr + kAxlyWithLoanCapFee), capFeeWithLoan), IntegerEntry((poolAddr + kAxlyStopLossNoLoanFee), stoplossFeeNoLoan), IntegerEntry((poolAddr + kAxlyStopLossLoanFee), stoplossFeeWithLoan), IntegerEntry((poolAddr + kPoolInterestLoan), 0), IntegerEntry((poolAddr + kPoolInterestNoLoan), 0), StringEntry((kPool + poolAddr), type), StringEntry((shareId + kSharePool), poolAddr), BooleanEntry((poolAddr + kPoolCanBorrow), canBorrow)]
13241324 })
13251325
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SF_POOL = "SF"
55
66 let WX_POOL = "WX"
77
88 let CAP_FEE_NO_LOAN = "capNoLoan"
99
1010 let CAP_FEE_LOAN = "capLoan"
1111
1212 let STOPLOSS_FEE_NO_LOAN = "stopLossNoLoan"
1313
1414 let STOPLOSS_LOAN = "stopLossLoan"
1515
1616 let LOAN_FEE = "loan"
1717
1818 let NO_LOAN_FEE = "noLoan"
1919
2020 let NO_FEE = "noFee"
2121
2222 let SCALE8 = 100000000
2323
2424 let SCALE10 = 10000000000
2525
2626 let SCALE16 = toBigInt(10000000000000000)
2727
2828 let FEE_SCALE6 = 1000000
2929
3030 let kSFPoolAAssetBalance = "A_asset_balance"
3131
3232 let kSFPoolBAssetBalance = "B_asset_balance"
3333
3434 let kSFPoolAAssetId = "A_asset_id"
3535
3636 let kSFPoolBAssetId = "B_asset_id"
3737
3838 let kSFPoolShareId = "share_asset_id"
3939
4040 let kSFPoolShareSupply = "share_asset_supply"
4141
4242 let kSFPoolFee = "commission"
4343
4444 let kUserPosition = "_user_position"
4545
4646 let kUserPositionPool = "_user_position_pool"
4747
4848 let kUserBorrowAmount = "_user_position_borrow_amount"
4949
5050 let kUserBorrowAssetId = "_user_position_borrow_asset_id"
5151
5252 let kUserPositionNum = "_user_position_number"
5353
5454 let kUserPositionInterest = "_user_position_interest"
5555
5656 let kPoolTotal = "_pool_total"
5757
5858 let kPoolTotalLoan = "_pool_total_loan"
5959
6060 let kPoolInterestLoan = "_pool_interest_loan"
6161
6262 let kPoolInterestNoLoan = "_pool_interest_no_loan"
6363
6464 let kPoolCanBorrow = "_pool_can_borrow"
6565
6666 let kAxlyInFeeWithoutLoan = "_axly_fee_without_loan"
6767
6868 let kAxlyInFeeWithLoan = "_axly_fee_with_loan"
6969
7070 let kAxlyNoLoanCapFee = "_axly_fee_cap_with_loan"
7171
7272 let kAxlyWithLoanCapFee = "_axly_fee_cap_no_loan"
7373
7474 let kAxlyStopLossNoLoanFee = "_axly_fee_stoploss_with_loan"
7575
7676 let kAxlyStopLossLoanFee = "_axly_fee_stoploss_no_loan"
7777
7878 let kRequestId = "_request_id"
7979
8080 let kRequestIter = "requests_iter"
8181
8282 let kPool = "pool_"
8383
8484 let kSharePool = "_pool_share_id"
8585
8686 let kPoolCapChange = "_pool_cap_change"
8787
8888 let kTokenLastPrice = "last_price"
8989
9090 let kPriceInOracle = "_twap5B"
9191
9292 let kUserStopLoss = "_stop_loss"
9393
9494 let kMoneyBox = "axly_money_box"
9595
9696 let kSFFarmingAddr = "swopfi_farming_addr"
9797
9898 let kLendService = "lend_service_addr"
9999
100100 let kAdminCallPK = "admin_call_pub_key"
101101
102102 let kPriceOracle = "price_oracle"
103103
104104 let kExContract = "exchange_contract"
105105
106106 let kWxSwapContract = "wx_swap_contract"
107107
108108 let kSwopId = "swop_id"
109109
110110 let kWxId = "wx_id"
111111
112112 let moneyBox = Address(fromBase58String(valueOrErrorMessage(getString(this, kMoneyBox), "No axly moneyBox address")))
113113
114114 let exContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kExContract), "No exchange contract address")))
115115
116116 let priceOracleAddr = Address(fromBase58String(valueOrErrorMessage(getString(this, kPriceOracle), "No price oracle address")))
117117
118118 let wxSwapContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kWxSwapContract), "No wx swap address")))
119119
120120 let SWOPID = fromBase58String(valueOrErrorMessage(getString(this, kSwopId), "No swop id"))
121121
122122 let WXID = fromBase58String(valueOrErrorMessage(getString(this, kWxId), "No wx id"))
123123
124124 func getLendSrvAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kLendService), "Can't get lend service addr")))
125125
126126
127127 func getAdminCallAddr () = addressFromPublicKey(fromBase58String(valueOrErrorMessage(getString(this, kAdminCallPK), "Can't get admin addr")))
128128
129129
130130 func isAdminCall (i) = if ((i.caller == getAdminCallAddr()))
131131 then unit
132132 else throw("Only admin can call this function")
133133
134134
135135 func isSelfCall (i) = if ((i.caller == this))
136136 then unit
137137 else throw("Only contract itself can call this function")
138138
139139
140140 func isLandCall (i) = if ((i.caller == getLendSrvAddr()))
141141 then unit
142142 else throw("Only land contract can call this function")
143143
144144
145145 func accountBalance (assetId) = match assetId {
146146 case id: ByteVector =>
147147 assetBalance(this, id)
148148 case waves: Unit =>
149149 wavesBalance(this).available
150150 case _ =>
151151 throw("Match error")
152152 }
153153
154154
155155 func getSFPoolData (poolAddr) = $Tuple5(valueOrErrorMessage(getString(poolAddr, kSFPoolAAssetId), "Can't get pool A asset id"), valueOrErrorMessage(getString(poolAddr, kSFPoolBAssetId), "Can't get pool B asset id"), valueOrErrorMessage(getInteger(poolAddr, kSFPoolAAssetBalance), "Can't get pool A asset balance"), valueOrErrorMessage(getInteger(poolAddr, kSFPoolBAssetBalance), "Can't get pool B asset balance"), valueOrErrorMessage(getString(poolAddr, kSFPoolShareId), "Can't get share asset id"))
156156
157157
158158 func getWXPoolData (poolAddr) = {
159159 let cfg = {
160160 let @ = invoke(poolAddr, "getPoolConfigWrapperREADONLY", nil, nil)
161161 if ($isInstanceOf(@, "List[Any]"))
162162 then @
163163 else throw(($getType(@) + " couldn't be cast to List[Any]"))
164164 }
165165 if ((cfg == cfg))
166166 then {
167167 let aId = valueOrErrorMessage({
168168 let @ = cfg[4]
169169 if ($isInstanceOf(@, "String"))
170170 then @
171171 else unit
172172 }, "Can't get pool A asset id")
173173 let bId = valueOrErrorMessage({
174174 let @ = cfg[5]
175175 if ($isInstanceOf(@, "String"))
176176 then @
177177 else unit
178178 }, "Can't get pool B asset id")
179179 let shareId = valueOrErrorMessage({
180180 let @ = cfg[3]
181181 if ($isInstanceOf(@, "String"))
182182 then @
183183 else unit
184184 }, "Can't get pool LP asset id")
185185 let balA = {
186186 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [aId], nil)
187187 if ($isInstanceOf(@, "Int"))
188188 then @
189189 else throw(($getType(@) + " couldn't be cast to Int"))
190190 }
191191 if ((balA == balA))
192192 then {
193193 let balB = {
194194 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [bId], nil)
195195 if ($isInstanceOf(@, "Int"))
196196 then @
197197 else throw(($getType(@) + " couldn't be cast to Int"))
198198 }
199199 if ((balB == balB))
200200 then $Tuple5(aId, bId, balA, balB, shareId)
201201 else throw("Strict value is not equal to itself.")
202202 }
203203 else throw("Strict value is not equal to itself.")
204204 }
205205 else throw("Strict value is not equal to itself.")
206206 }
207207
208208
209209 func getPoolData (poolAddr,type) = if ((type == SF_POOL))
210210 then getSFPoolData(poolAddr)
211211 else if ((type == WX_POOL))
212212 then getWXPoolData(poolAddr)
213213 else throw("Wrong pool type")
214214
215215
216216 func getShareSupply (poolAddr,type,shareId) = if ((type == SF_POOL))
217217 then valueOrErrorMessage(getInteger(poolAddr, kSFPoolShareSupply), "Can't get share asset supply")
218218 else if ((type == WX_POOL))
219219 then valueOrErrorMessage(assetInfo(fromBase58String(shareId)), "Wrong ShareId").quantity
220220 else throw("Wrong pool type")
221221
222222
223223 func getPoolTotalShare (pool) = valueOrElse(getInteger(this, (pool + kPoolTotal)), 0)
224224
225225
226226 func getPoolTotalShareWithLoan (pool) = valueOrElse(getInteger(this, (pool + kPoolTotalLoan)), 0)
227227
228228
229229 func getNewUserPositionNumber (user) = (valueOrElse(getInteger(this, (user + kUserPositionNum)), 0) + 1)
230230
231231
232232 func getAxlyFee (pool,feeType) = if ((feeType == CAP_FEE_LOAN))
233233 then getIntegerValue(this, (pool + kAxlyWithLoanCapFee))
234234 else if ((feeType == CAP_FEE_NO_LOAN))
235235 then getIntegerValue(this, (pool + kAxlyNoLoanCapFee))
236236 else if ((feeType == LOAN_FEE))
237237 then getIntegerValue(this, (pool + kAxlyInFeeWithLoan))
238238 else if ((feeType == NO_LOAN_FEE))
239239 then getIntegerValue(this, (pool + kAxlyInFeeWithoutLoan))
240240 else if ((feeType == NO_FEE))
241241 then 0
242242 else throw("Wrong fee type")
243243
244244
245245 func getSFFarmingAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kSFFarmingAddr), "Can't get swopfi farming addr")))
246246
247247
248248 func getWXFarmingAddr (poolAddr) = {
249249 let fContract = Address(fromBase58String(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr")))
250250 let factroyCfg = split(valueOrErrorMessage(getString(fContract, "%s__factoryConfig"), "Can't get WX factory cfg"), "__")
251251 Address(fromBase58String(factroyCfg[1]))
252252 }
253253
254254
255255 func assetIdToStr (assetId) = match assetId {
256256 case id: ByteVector =>
257257 toBase58String(id)
258258 case waves: Unit =>
259259 "WAVES"
260260 case _ =>
261261 throw("Not Asset id")
262262 }
263263
264264
265265 func assetIdFromStr (assetId) = if ((assetId == "WAVES"))
266266 then unit
267267 else fromBase58String(assetId)
268268
269269
270270 func getAssetDecimals (assetId) = if ((assetId == "WAVES"))
271271 then 8
272272 else match assetInfo(fromBase58String(assetId)) {
273273 case asset: Asset =>
274274 asset.decimals
275275 case _ =>
276276 throw("Can't find asset")
277277 }
278278
279279
280280 func getAssetPrecition (assetId) = pow(10, 0, getAssetDecimals(assetId), 0, 0, DOWN)
281281
282282
283283 func getAssetsPrice (assetIds) = {
284284 func getPrices (a,assetId) = {
285285 let assetPrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
286286 (a :+ assetPrice)
287287 }
288288
289289 let $l = assetIds
290290 let $s = size($l)
291291 let $acc0 = nil
292292 func $f0_1 ($a,$i) = if (($i >= $s))
293293 then $a
294294 else getPrices($a, $l[$i])
295295
296296 func $f0_2 ($a,$i) = if (($i >= $s))
297297 then $a
298298 else throw("List size exceeds 50")
299299
300300 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
301301 }
302302
303303
304304 func getSharePrice (shareId) = {
305305 let pool = valueOrErrorMessage(getString(this, (shareId + kSharePool)), "Can't find pool addr by share id")
306306 let poolAddr = Address(fromBase58String(pool))
307307 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
308308 let $t092109275 = getPoolData(poolAddr, pType)
309309 let aId = $t092109275._1
310310 let bId = $t092109275._2
311311 let aBalance = $t092109275._3
312312 let bBalance = $t092109275._4
313313 let dPriceA = getIntegerValue(priceOracleAddr, (aId + kPriceInOracle))
314314 let dPriceB = getIntegerValue(priceOracleAddr, (bId + kPriceInOracle))
315315 let shareSupply = getShareSupply(poolAddr, pType, shareId)
316316 let APrecision = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
317317 let BPrecision = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
318318 let sharePrecision = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
319319 let sum = (fraction(aBalance, dPriceA, APrecision) + fraction(bBalance, dPriceB, BPrecision))
320320 fraction(sum, sharePrecision, shareSupply)
321321 }
322322
323323
324324 func getSharePrices (shareIds) = {
325325 func getPrices (a,shareId) = (a :+ getSharePrice(shareId))
326326
327327 let $l = shareIds
328328 let $s = size($l)
329329 let $acc0 = nil
330330 func $f0_1 ($a,$i) = if (($i >= $s))
331331 then $a
332332 else getPrices($a, $l[$i])
333333
334334 func $f0_2 ($a,$i) = if (($i >= $s))
335335 then $a
336336 else throw("List size exceeds 20")
337337
338338 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
339339 }
340340
341341
342342 func getCursEntries (aId,bId,shareId) = {
343343 let assetsPrices = getAssetsPrice([aId, bId])
344344 let sharePrice = getSharePrice(shareId)
345345 let prices = [toString(assetsPrices[0]), toString(assetsPrices[1]), toString(sharePrice)]
346346 [StringEntry(kTokenLastPrice, makeString(prices, ","))]
347347 }
348348
349349
350350 func calcReplenishByTwoTokens (pType,poolAddr,pmtA,aId,pmtB,bId,balA,balB) = if ((pType == SF_POOL))
351351 then {
352352 let repl = {
353353 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(pmtA), toString(pmtB)]], nil)
354354 if ($isInstanceOf(@, "List[Any]"))
355355 then @
356356 else throw(($getType(@) + " couldn't be cast to List[Any]"))
357357 }
358358 if ((repl == repl))
359359 then $Tuple5({
360360 let @ = repl[3]
361361 if ($isInstanceOf(@, "Int"))
362362 then @
363363 else throw(($getType(@) + " couldn't be cast to Int"))
364364 }, {
365365 let @ = repl[4]
366366 if ($isInstanceOf(@, "Int"))
367367 then @
368368 else throw(($getType(@) + " couldn't be cast to Int"))
369369 }, {
370370 let @ = repl[1]
371371 if ($isInstanceOf(@, "Int"))
372372 then @
373373 else throw(($getType(@) + " couldn't be cast to Int"))
374374 }, assetIdToStr(repl[2]), {
375375 let @ = repl[0]
376376 if ($isInstanceOf(@, "Int"))
377377 then @
378378 else throw(($getType(@) + " couldn't be cast to Int"))
379379 })
380380 else throw("Strict value is not equal to itself.")
381381 }
382382 else {
383383 let $t01075911009 = $Tuple2(split({
384384 let @ = invoke(poolAddr, "evaluatePutByAmountAssetREADONLY", [pmtA], nil)
385385 if ($isInstanceOf(@, "String"))
386386 then @
387387 else throw(($getType(@) + " couldn't be cast to String"))
388388 }, "__"), split({
389389 let @ = invoke(poolAddr, "evaluatePutByPriceAssetREADONLY", [pmtB], nil)
390390 if ($isInstanceOf(@, "String"))
391391 then @
392392 else throw(($getType(@) + " couldn't be cast to String"))
393393 }, "__"))
394394 if (($t01075911009 == $t01075911009))
395395 then {
396396 let evalPutInB = $t01075911009._2
397397 let evalPutInA = $t01075911009._1
398398 let lpInA = parseIntValue(evalPutInA[1])
399399 let lpInB = parseIntValue(evalPutInB[1])
400400 if ((lpInB > lpInA))
401401 then {
402402 let pmt = parseIntValue(evalPutInA[8])
403403 $Tuple5(pmtA, pmt, (pmtB - pmt), bId, lpInB)
404404 }
405405 else {
406- let pmt = parseIntValue(evalPutInA[8])
406+ let pmt = parseIntValue(evalPutInA[7])
407407 $Tuple5(pmt, pmtB, (pmtA - pmt), aId, lpInA)
408408 }
409409 }
410410 else throw("Strict value is not equal to itself.")
411411 }
412412
413413
414414 func replenishTwoTokensByType (poolAddr,pType,pmtA,aId,pmtB,bId) = {
415415 let payments = [AttachedPayment(assetIdFromStr(aId), pmtA), AttachedPayment(assetIdFromStr(bId), pmtB)]
416416 if ((pType == SF_POOL))
417417 then invoke(poolAddr, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], payments)
418418 else invoke(poolAddr, "put", [1000000, false], payments)
419419 }
420420
421421
422422 func replenishOneTokenByType (poolAddr,pType,pmt,pmtId) = {
423423 let payments = [AttachedPayment(assetIdFromStr(pmtId), pmt)]
424424 if ((pType == SF_POOL))
425425 then invoke(poolAddr, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], payments)
426426 else invoke(poolAddr, "putOneTkn", [0, false], payments)
427427 }
428428
429429
430430 func stakeLP (pool,pType,shareId,amount) = {
431431 let payments = [AttachedPayment(fromBase58String(shareId), amount)]
432432 if ((pType == SF_POOL))
433433 then invoke(getSFFarmingAddr(), "lockShareTokens", [pool, 0], payments)
434434 else invoke(getWXFarmingAddr(addressFromStringValue(pool)), "stake", nil, payments)
435435 }
436436
437437
438438 func unstakeLP (pool,pType,shareId,amount) = {
439439 let $t01249412851 = if ((pType == SF_POOL))
440440 then $Tuple3(getSFFarmingAddr(), "withdrawShareTokens", [pool, amount])
441441 else if ((pType == WX_POOL))
442442 then $Tuple3(getWXFarmingAddr(Address(fromBase58String(pool))), "unstake", [shareId, amount])
443443 else throw("Wrong pool type")
444444 let farmAddr = $t01249412851._1
445445 let fName = $t01249412851._2
446446 let params = $t01249412851._3
447447 let inv = invoke(farmAddr, fName, params, nil)
448448 if ((inv == inv))
449449 then amount
450450 else throw("Strict value is not equal to itself.")
451451 }
452452
453453
454454 func calcAmountToPaySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
455455 let poolAddr = Address(fromBase58String(pool))
456456 let feeScale6 = 1000000
457457 let fee = getIntegerValue(poolAddr, kSFPoolFee)
458458 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee))
459459 let $t01326413552 = if ((assetTokenToGet == assetIdA))
460460 then {
461461 let amountToPay = fraction(amntGetNoFee, balB, (balA - amntGetNoFee))
462462 $Tuple2(amountToPay, assetIdB)
463463 }
464464 else {
465465 let amountToPay = fraction(amntGetNoFee, balA, (balB - amntGetNoFee))
466466 $Tuple2(amountToPay, assetIdA)
467467 }
468468 let amountToPay = $t01326413552._1
469469 let assetToPay = $t01326413552._2
470470 $Tuple2(assetToPay, amountToPay)
471471 }
472472
473473
474474 func calcAmountToPayWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
475475 let prFee = getIntegerValue(wxSwapContract, "%s__protocolFee")
476476 let pFee = getIntegerValue(wxSwapContract, "%s__poolFee")
477477 let feeScale = toBigInt(100000000)
478478 let $t01389114199 = if ((assetTokenToGet == assetIdA))
479479 then {
480480 let amountToPay = fraction(amountTokenToGet, balB, (balA - amountTokenToGet))
481481 $Tuple2(amountToPay, assetIdB)
482482 }
483483 else {
484484 let amountToPay = fraction(amountTokenToGet, balA, (balB - amountTokenToGet))
485485 $Tuple2(amountToPay, assetIdA)
486486 }
487487 let amountToPay = $t01389114199._1
488488 let assetToPay = $t01389114199._2
489489 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
490- $Tuple2(assetToPay, fraction(amountToPayWithFee, 102, 100))
490+ $Tuple2(assetToPay, amountToPayWithFee)
491491 }
492492
493493
494494 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
495495 then {
496- let $t01456214684 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
497- let assetToPay = $t01456214684._1
498- let amountToPay = $t01456214684._2
496+ let $t01454414666 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
497+ let assetToPay = $t01454414666._1
498+ let amountToPay = $t01454414666._2
499499 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
500500 }
501501 else {
502- let $t01485914981 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
503- let assetToPay = $t01485914981._1
504- let amountToPay = $t01485914981._2
502+ let $t01484114963 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
503+ let assetToPay = $t01484114963._1
504+ let amountToPay = $t01484114963._2
505505 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
506506 }
507507
508508
509509 func calcReplenishLPVirt (pType,pool,pmtA,aId,pmtB,bId,balA,balB) = {
510510 let poolAddr = addressFromStringValue(pool)
511511 if ((pType == SF_POOL))
512512 then {
513513 let inv = {
514514 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishDiffPropREADONLY", [toString(pmtA), toString(pmtB), "0"]], nil)
515515 if ($isInstanceOf(@, "List[Any]"))
516516 then @
517517 else throw(($getType(@) + " couldn't be cast to List[Any]"))
518518 }
519519 if ((inv == inv))
520520 then $Tuple2({
521521 let @ = inv[0]
522522 if ($isInstanceOf(@, "Int"))
523523 then @
524524 else throw(($getType(@) + " couldn't be cast to Int"))
525525 }, {
526526 let @ = inv[1]
527527 if ($isInstanceOf(@, "Int"))
528528 then @
529529 else throw(($getType(@) + " couldn't be cast to Int"))
530530 })
531531 else throw("Strict value is not equal to itself.")
532532 }
533533 else if ((pType == WX_POOL))
534534 then {
535- let $t01558415925 = if (if ((pmtA > 0))
535+ let $t01556615907 = if (if ((pmtA > 0))
536536 then (pmtB > 0)
537537 else false)
538538 then {
539- let $t01566515791 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
540- let pmtInA = $t01566515791._1
541- let pmtInB = $t01566515791._2
542- let change = $t01566515791._3
543- let changeId = $t01566515791._4
544- let lpAmount = $t01566515791._5
539+ let $t01564715773 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
540+ let pmtInA = $t01564715773._1
541+ let pmtInB = $t01564715773._2
542+ let change = $t01564715773._3
543+ let changeId = $t01564715773._4
544+ let lpAmount = $t01564715773._5
545545 $Tuple3(change, changeId, lpAmount)
546546 }
547547 else if ((pmtA > 0))
548548 then $Tuple3(pmtA, aId, 0)
549549 else $Tuple3(pmtB, bId, 0)
550- let change = $t01558415925._1
551- let changeId = $t01558415925._2
552- let lpTwo = $t01558415925._3
553- let $t01593216148 = if ((change > 0))
550+ let change = $t01556615907._1
551+ let changeId = $t01556615907._2
552+ let lpTwo = $t01556615907._3
553+ let $t01591416130 = if ((change > 0))
554554 then {
555555 let inv = {
556556 let @ = invoke(poolAddr, "putOneTknREADONLY", [changeId, change], nil)
557557 if ($isInstanceOf(@, "(Int, Int, Int)"))
558558 then @
559559 else throw(($getType(@) + " couldn't be cast to (Int, Int, Int)"))
560560 }
561561 if ((inv == inv))
562562 then $Tuple2(inv._1, inv._3)
563563 else throw("Strict value is not equal to itself.")
564564 }
565565 else $Tuple2(0, 0)
566- let lpOne = $t01593216148._1
567- let loss = $t01593216148._2
566+ let lpOne = $t01591416130._1
567+ let loss = $t01591416130._2
568568 $Tuple2((lpTwo + lpOne), loss)
569569 }
570570 else throw("Wrong pool type")
571571 }
572572
573573
574574 func calcWithdrawLPVirt (pType,pool,lpAmount,shareId,aId,bId,balA,balB,borrowAmount,borrowAssetId) = {
575575 let poolAddr = addressFromStringValue(pool)
576- let $t01644216942 = if ((pType == SF_POOL))
576+ let $t01642416924 = if ((pType == SF_POOL))
577577 then {
578578 let inv = {
579579 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(lpAmount), toString(balA), toString(balB)]], nil)
580580 if ($isInstanceOf(@, "List[Any]"))
581581 then @
582582 else throw(($getType(@) + " couldn't be cast to List[Any]"))
583583 }
584584 if ((inv == inv))
585585 then $Tuple2({
586586 let @ = inv[0]
587587 if ($isInstanceOf(@, "Int"))
588588 then @
589589 else throw(($getType(@) + " couldn't be cast to Int"))
590590 }, {
591591 let @ = inv[1]
592592 if ($isInstanceOf(@, "Int"))
593593 then @
594594 else throw(($getType(@) + " couldn't be cast to Int"))
595595 })
596596 else throw("Strict value is not equal to itself.")
597597 }
598598 else if ((pType == WX_POOL))
599599 then {
600600 let get = split({
601601 let @ = invoke(poolAddr, "evaluateGetREADONLY", [shareId, lpAmount], nil)
602602 if ($isInstanceOf(@, "String"))
603603 then @
604604 else throw(($getType(@) + " couldn't be cast to String"))
605605 }, "__")
606606 if ((get == get))
607607 then $Tuple2(parseIntValue(get[1]), parseIntValue(get[2]))
608608 else throw("Strict value is not equal to itself.")
609609 }
610610 else throw("Wrong pool type")
611- let getAmountA = $t01644216942._1
612- let getAmountB = $t01644216942._2
611+ let getAmountA = $t01642416924._1
612+ let getAmountB = $t01642416924._2
613613 if ((borrowAmount > 0))
614614 then {
615615 let amountToGetEx = if (if ((borrowAssetId == aId))
616616 then (borrowAmount > getAmountA)
617617 else false)
618618 then (borrowAmount - getAmountA)
619619 else if (if ((borrowAssetId == bId))
620620 then (borrowAmount > getAmountB)
621621 else false)
622622 then (borrowAmount - getAmountB)
623623 else 0
624- let $t01722017523 = if ((amountToGetEx > 0))
624+ let $t01720217505 = if ((amountToGetEx > 0))
625625 then if ((pType == SF_POOL))
626626 then calcAmountToPaySF(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
627627 else calcAmountToPayWX(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
628628 else $Tuple2("", 0)
629- let assetToPay = $t01722017523._1
630- let amountToPay = $t01722017523._2
629+ let assetToPay = $t01720217505._1
630+ let amountToPay = $t01720217505._2
631631 if ((borrowAssetId == aId))
632632 then $Tuple2(((getAmountA + amountToGetEx) - borrowAmount), (getAmountB - amountToPay))
633633 else $Tuple2((getAmountA - amountToPay), ((getAmountB + amountToGetEx) - borrowAmount))
634634 }
635635 else $Tuple2(getAmountA, getAmountB)
636636 }
637637
638638
639639 func claimFarmed (type,pool) = if ((type == SF_POOL))
640640 then {
641641 let balBefore = accountBalance(SWOPID)
642642 if ((balBefore == balBefore))
643643 then {
644644 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
645645 if ((inv == inv))
646646 then {
647647 let balAfter = accountBalance(SWOPID)
648648 $Tuple2((balAfter - balBefore), SWOPID)
649649 }
650650 else throw("Strict value is not equal to itself.")
651651 }
652652 else throw("Strict value is not equal to itself.")
653653 }
654654 else if ((type == WX_POOL))
655655 then {
656656 let balBefore = accountBalance(WXID)
657657 if ((balBefore == balBefore))
658658 then {
659659 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
660660 if ((inv == inv))
661661 then {
662662 let balAfter = accountBalance(WXID)
663663 $Tuple2((balAfter - balBefore), WXID)
664664 }
665665 else throw("Strict value is not equal to itself.")
666666 }
667667 else throw("Strict value is not equal to itself.")
668668 }
669669 else throw("Wrong pool type")
670670
671671
672672 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
673673 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
674674 if ((lpBalanceBefore == lpBalanceBefore))
675675 then {
676676 let poolAddr = addressFromStringValue(pool)
677- let $t01872019136 = if (if ((pmtA > 0))
677+ let $t01870219118 = if (if ((pmtA > 0))
678678 then (pmtB > 0)
679679 else false)
680680 then {
681- let $t01878618902 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
682- let pmtInA = $t01878618902._1
683- let pmtInB = $t01878618902._2
684- let change = $t01878618902._3
685- let changeId = $t01878618902._4
681+ let $t01876818884 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
682+ let pmtInA = $t01876818884._1
683+ let pmtInB = $t01876818884._2
684+ let change = $t01876818884._3
685+ let changeId = $t01876818884._4
686686 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
687687 if ((inv == inv))
688688 then $Tuple2(change, changeId)
689689 else throw("Strict value is not equal to itself.")
690690 }
691691 else if ((pmtA > 0))
692692 then $Tuple2(pmtA, aId)
693693 else if ((pmtB > 0))
694694 then $Tuple2(pmtB, bId)
695695 else throw("pmts must be > 0")
696- let change = $t01872019136._1
697- let changeId = $t01872019136._2
696+ let change = $t01870219118._1
697+ let changeId = $t01870219118._2
698698 let inv = if ((change > 0))
699699 then replenishOneTokenByType(poolAddr, pType, change, changeId)
700700 else nil
701701 if ((inv == inv))
702702 then {
703703 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
704704 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
705705 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
706706 let userShareForStake = (totalStaked - axlyFeeAmount)
707707 if ((0 >= userShareForStake))
708708 then throw("amount of staked sharetokens must be > 0")
709709 else {
710710 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
711711 if ((invLP == invLP))
712712 then $Tuple2(userShareForStake, axlyFeeAmount)
713713 else throw("Strict value is not equal to itself.")
714714 }
715715 }
716716 else throw("Strict value is not equal to itself.")
717717 }
718718 else throw("Strict value is not equal to itself.")
719719 }
720720
721721
722722 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
723723 let totalAmount = getPoolTotalShare(pool)
724724 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
725- let $t01999420232 = if (withLoan)
725+ let $t01997620214 = if (withLoan)
726726 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
727727 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
728- let curPoolInterest = $t01999420232._1
729- let totalStakedWithLoan = $t01999420232._2
728+ let curPoolInterest = $t01997620214._1
729+ let totalStakedWithLoan = $t01997620214._2
730730 [IntegerEntry((pool + kPoolTotal), (totalAmount + stakedAmount)), IntegerEntry((pool + kPoolTotalLoan), totalStakedWithLoan), IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserPosition), stakedAmount), IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserPositionInterest), curPoolInterest), StringEntry((((user + "_") + toString(posNum)) + kUserPositionPool), pool), IntegerEntry((user + kUserPositionNum), posNum), ScriptTransfer(moneyBox, axlyFeeAmount, fromBase58String(shareId))]
731731 }
732732
733733
734734 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
735735 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
736736 if ((tokenBalanceBefore == tokenBalanceBefore))
737737 then {
738738 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
739739 if ((inv == inv))
740740 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
741741 else throw("Strict value is not equal to itself.")
742742 }
743743 else throw("Strict value is not equal to itself.")
744744 }
745745
746746
747747 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
748748 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
749749 if ((tokenBalanceBefore == tokenBalanceBefore))
750750 then {
751751 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
752752 if ((inv == inv))
753753 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
754754 else throw("Strict value is not equal to itself.")
755755 }
756756 else throw("Strict value is not equal to itself.")
757757 }
758758
759759
760760 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
761761 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
762762 if ((tokenBalanceBefore == tokenBalanceBefore))
763763 then {
764764 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
765765 if ((inv == inv))
766766 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
767767 else throw("Strict value is not equal to itself.")
768768 }
769769 else throw("Strict value is not equal to itself.")
770770 }
771771
772772
773773 func capitalize (pool,pType,tokenId,tokenAmount) = {
774774 let poolAddr = Address(fromBase58String(pool))
775- let $t02258322649 = getPoolData(poolAddr, pType)
776- let AId = $t02258322649._1
777- let BId = $t02258322649._2
778- let balA = $t02258322649._3
779- let balB = $t02258322649._4
780- let shareId = $t02258322649._5
775+ let $t02256522631 = getPoolData(poolAddr, pType)
776+ let AId = $t02256522631._1
777+ let BId = $t02256522631._2
778+ let balA = $t02256522631._3
779+ let balB = $t02256522631._4
780+ let shareId = $t02256522631._5
781781 if (if ((tokenId != AId))
782782 then (tokenId != BId)
783783 else false)
784784 then throw("Wrong asset")
785785 else {
786- let $t02273422814 = if ((tokenId == AId))
786+ let $t02271622796 = if ((tokenId == AId))
787787 then $Tuple2(tokenAmount, 0)
788788 else $Tuple2(0, tokenAmount)
789- let pmtA = $t02273422814._1
790- let pmtB = $t02273422814._2
791- let $t02281722921 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
792- let stakedAmount = $t02281722921._1
793- let nf = $t02281722921._2
789+ let pmtA = $t02271622796._1
790+ let pmtB = $t02271622796._2
791+ let $t02279922903 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
792+ let stakedAmount = $t02279922903._1
793+ let nf = $t02279922903._2
794794 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
795795 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
796796 let totalShareAmount = getPoolTotalShare(pool)
797797 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
798798 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
799799 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
800800 let stakedNoLoan = (stakedAmount - stakedLoan)
801801 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
802802 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
803803 else 0
804804 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
805805 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
806806 else 0
807807 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
808808 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
809809 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
810810 if ((axlyFee == axlyFee))
811811 then ([IntegerEntry((pool + kPoolInterestLoan), newInterestLoan), IntegerEntry((pool + kPoolInterestNoLoan), newInterestNoLoan), IntegerEntry((pool + kPoolTotal), ((totalShareAmount + stakedAmount) - axlyFee)), IntegerEntry((pool + kPoolTotalLoan), ((totalShareAmountWithLoan + stakedLoan) - axlyFeeLoan)), ScriptTransfer(moneyBox, (axlyFeeLoan + axlyFeeNoLoan), fromBase58String(shareId))] ++ getCursEntries(AId, BId, shareId))
812812 else throw("Strict value is not equal to itself.")
813813 }
814814 }
815815
816816
817817 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
818818 let poolAddr = Address(fromBase58String(pool))
819819 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
820- let $t02468924765 = getPoolData(poolAddr, pType)
821- let assetIdA = $t02468924765._1
822- let assetIdB = $t02468924765._2
823- let balA = $t02468924765._3
824- let balB = $t02468924765._4
825- let shareId = $t02468924765._5
820+ let $t02467124747 = getPoolData(poolAddr, pType)
821+ let assetIdA = $t02467124747._1
822+ let assetIdB = $t02467124747._2
823+ let balA = $t02467124747._3
824+ let balB = $t02467124747._4
825+ let shareId = $t02467124747._5
826826 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
827827 if ((cBalABefore == cBalABefore))
828828 then {
829829 let cBalBBefore = accountBalance(assetIdFromStr(assetIdB))
830830 if ((cBalBBefore == cBalBBefore))
831831 then {
832832 let inv = if ((pType == SF_POOL))
833833 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
834834 else {
835835 let inv = unstakeLP(pool, pType, shareId, userCanWithdraw)
836836 if ((inv == inv))
837837 then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
838838 else throw("Strict value is not equal to itself.")
839839 }
840840 if ((inv == inv))
841841 then {
842842 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
843843 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
844- let $t02532825417 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
845- let tokensAmountA = $t02532825417._1
846- let tokensAmountB = $t02532825417._2
847- let $t02542026240 = if ((debt > 0))
844+ let $t02531025399 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
845+ let tokensAmountA = $t02531025399._1
846+ let tokensAmountB = $t02531025399._2
847+ let $t02540226222 = if ((debt > 0))
848848 then {
849849 let amountToGetEx = if (if ((borrowAsset == assetIdA))
850850 then (debt > tokensAmountA)
851851 else false)
852852 then (debt - tokensAmountA)
853853 else if (if ((borrowAsset == assetIdB))
854854 then (debt > tokensAmountB)
855855 else false)
856856 then (debt - tokensAmountB)
857857 else 0
858858 let exInv = if ((amountToGetEx > 0))
859859 then exchangeDirectly(pType, pool, assetIdA, assetIdB, balA, balB, amountToGetEx, borrowAsset)
860860 else 0
861861 if ((exInv == exInv))
862862 then {
863863 let cBalAAfterRepay = accountBalance(assetIdFromStr(assetIdA))
864864 let cBalBAfterRepay = accountBalance(assetIdFromStr(assetIdB))
865865 if ((borrowAsset == assetIdA))
866866 then $Tuple2(((cBalAAfterRepay - cBalABefore) - debt), (cBalBAfterRepay - cBalBBefore))
867867 else $Tuple2((cBalAAfterRepay - cBalABefore), ((cBalBAfterRepay - cBalBBefore) - debt))
868868 }
869869 else throw("Strict value is not equal to itself.")
870870 }
871871 else $Tuple2(tokensAmountA, tokensAmountB)
872- let toUserA = $t02542026240._1
873- let toUserB = $t02542026240._2
872+ let toUserA = $t02540226222._1
873+ let toUserB = $t02540226222._2
874874 $Tuple7(toUserA, assetIdA, toUserB, assetIdB, cBalAAfter, cBalBAfter, shareId)
875875 }
876876 else throw("Strict value is not equal to itself.")
877877 }
878878 else throw("Strict value is not equal to itself.")
879879 }
880880 else throw("Strict value is not equal to itself.")
881881 }
882882
883883
884884 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
885885 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
886886 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
887887 let poolInterest = if (borrowed)
888888 then getIntegerValue(this, (pool + kPoolInterestLoan))
889889 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
890890 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
891891 }
892892
893893
894894 func withdrawToUser (user,pool,posId,stopLoss) = {
895895 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
896896 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0)
897897 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
898898 let poolTotalShare = getPoolTotalShare(pool)
899899 let userAddr = Address(fromBase58String(user))
900900 let borrowAsset = valueOrElse(getString(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId)), "")
901901 let debt = if ((borrowAmount > 0))
902902 then {
903903 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posId), borrowAsset], nil)
904904 if ($isInstanceOf(@, "Int"))
905905 then @
906906 else throw(($getType(@) + " couldn't be cast to Int"))
907907 }
908908 else 0
909- let $t02762827781 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
910- if (($t02762827781 == $t02762827781))
909+ let $t02761027763 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
910+ if (($t02761027763 == $t02761027763))
911911 then {
912- let shareId = $t02762827781._7
913- let cBalBAfter = $t02762827781._6
914- let cBalAAfter = $t02762827781._5
915- let assetIdB = $t02762827781._4
916- let toUserAmountB = $t02762827781._3
917- let assetIdA = $t02762827781._2
918- let toUserAmountA = $t02762827781._1
912+ let shareId = $t02761027763._7
913+ let cBalBAfter = $t02761027763._6
914+ let cBalAAfter = $t02761027763._5
915+ let assetIdB = $t02761027763._4
916+ let toUserAmountB = $t02761027763._3
917+ let assetIdA = $t02761027763._2
918+ let toUserAmountA = $t02761027763._1
919919 let closeDbtInv = if ((debt > 0))
920920 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
921921 else 0
922922 if ((closeDbtInv == closeDbtInv))
923923 then ([DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserPosition)), DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest)), IntegerEntry((pool + kPoolTotal), (poolTotalShare - userCanWithdraw)), ScriptTransfer(userAddr, toUserAmountA, assetIdFromStr(assetIdA)), ScriptTransfer(userAddr, toUserAmountB, assetIdFromStr(assetIdB))] ++ getCursEntries(assetIdA, assetIdB, shareId))
924924 else throw("Strict value is not equal to itself.")
925925 }
926926 else throw("Strict value is not equal to itself.")
927927 }
928928
929929
930930 func parseRequest (requestId) = {
931931 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
932932 let user = request[0]
933933 let pool = request[1]
934934 let pmtA = parseIntValue(request[2])
935935 let AId = request[3]
936936 let pmtB = parseIntValue(request[4])
937937 let BId = request[5]
938938 let balA = parseIntValue(request[6])
939939 let balB = parseIntValue(request[7])
940940 let shareId = request[8]
941941 let bwAsset = request[9]
942942 let bwAmount = parseIntValue(request[10])
943943 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
944944 }
945945
946946
947947 func calcBorrowAmount (pmtA,pmtB,aId,bId,leverage,borrowId) = {
948948 let dPriceA = getIntegerValue(priceOracleAddr, (aId + kPriceInOracle))
949949 let dPriceB = getIntegerValue(priceOracleAddr, (bId + kPriceInOracle))
950950 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
951951 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
952952 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
953- let $t02942129518 = if ((borrowId == aId))
953+ let $t02940329500 = if ((borrowId == aId))
954954 then $Tuple2(dPriceA, decPrA)
955955 else $Tuple2(dPriceB, decPrB)
956- let borrowPrice = $t02942129518._1
957- let borrowDecPr = $t02942129518._2
956+ let borrowPrice = $t02940329500._1
957+ let borrowDecPr = $t02940329500._2
958958 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
959959 }
960960
961961
962962 @Callable(i)
963963 func calcPriceImpactEVALONLY (pool,leverage,borrowId,pmtA,pmtB) = if (if ((100 > leverage))
964964 then true
965965 else (leverage > 300))
966966 then throw("Leverage can't be <100 and >300")
967967 else {
968968 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
969- let $t02993630026 = getPoolData(Address(fromBase58String(pool)), pType)
970- let AId = $t02993630026._1
971- let BId = $t02993630026._2
972- let balA = $t02993630026._3
973- let balB = $t02993630026._4
974- let shareId = $t02993630026._5
969+ let $t02991830008 = getPoolData(Address(fromBase58String(pool)), pType)
970+ let AId = $t02991830008._1
971+ let BId = $t02991830008._2
972+ let balA = $t02991830008._3
973+ let balB = $t02991830008._4
974+ let shareId = $t02991830008._5
975975 let borrowAmount = if ((leverage > 100))
976976 then calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
977977 else 0
978- let $t03016130268 = if ((borrowId == AId))
978+ let $t03014330250 = if ((borrowId == AId))
979979 then $Tuple2((pmtA + borrowAmount), pmtB)
980980 else $Tuple2(pmtA, (pmtB + borrowAmount))
981- let payInA = $t03016130268._1
982- let payInB = $t03016130268._2
983- let $t03027130364 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
984- let lpAmount = $t03027130364._1
985- let loss = $t03027130364._2
981+ let payInA = $t03014330250._1
982+ let payInB = $t03014330250._2
983+ let $t03025330346 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
984+ let lpAmount = $t03025330346._1
985+ let loss = $t03025330346._2
986986 let impactMod = if ((0 > loss))
987987 then (loss * -1)
988988 else loss
989989 $Tuple2(nil, [impactMod])
990990 }
991991
992992
993993
994994 @Callable(i)
995995 func getShareAssetPriceREADONLY (shareId) = {
996996 let sharePrices = getSharePrice(shareId)
997997 $Tuple2(nil, sharePrices)
998998 }
999999
10001000
10011001
10021002 @Callable(i)
10031003 func getUserPositionShareAmountREADONLY (user,posNum) = {
10041004 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
10051005 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
10061006 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
10071007 $Tuple2(nil, userCanWithdraw)
10081008 }
10091009
10101010
10111011
10121012 @Callable(i)
10131013 func getUserPositionInDollarsREADONLY (user,pools,posNum) = {
10141014 func userPos (a,pool) = {
1015- let $t03117731211 = a
1016- let totalPos = $t03117731211._1
1017- let posDebt = $t03117731211._2
1018- let index = $t03117731211._3
1015+ let $t03115931193 = a
1016+ let totalPos = $t03115931193._1
1017+ let posDebt = $t03115931193._2
1018+ let index = $t03115931193._3
10191019 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1020- let $t03130331393 = getPoolData(Address(fromBase58String(pool)), pType)
1021- let AId = $t03130331393._1
1022- let BId = $t03130331393._2
1023- let balA = $t03130331393._3
1024- let balB = $t03130331393._4
1025- let shareId = $t03130331393._5
1020+ let $t03128531375 = getPoolData(Address(fromBase58String(pool)), pType)
1021+ let AId = $t03128531375._1
1022+ let BId = $t03128531375._2
1023+ let balA = $t03128531375._3
1024+ let balB = $t03128531375._4
1025+ let shareId = $t03128531375._5
10261026 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
10271027 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
10281028 let sharePrices = getSharePrice(shareId)
10291029 let decPrShare = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
10301030 let shareD = fraction(userCanWithdraw, sharePrices, decPrShare)
10311031 if ((borrowAmount == 0))
10321032 then $Tuple3((totalPos :+ shareD), (posDebt :+ 0), (index + 1))
10331033 else {
10341034 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAssetId))
10351035 let debt = {
10361036 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posNum[index]), borrowAsset], nil)
10371037 if ($isInstanceOf(@, "Int"))
10381038 then @
10391039 else throw(($getType(@) + " couldn't be cast to Int"))
10401040 }
10411041 let borrowAssetPrice = getIntegerValue(priceOracleAddr, (borrowAsset + kPriceInOracle))
10421042 let decPrBorrowId = pow(10, 0, getAssetDecimals(borrowAsset), 0, 0, DOWN)
10431043 let debtD = fraction(debt, borrowAssetPrice, decPrBorrowId)
10441044 $Tuple3((totalPos :+ shareD), (posDebt :+ debtD), (index + 1))
10451045 }
10461046 }
10471047
1048- let $t03241332468 = {
1048+ let $t03239532450 = {
10491049 let $l = pools
10501050 let $s = size($l)
10511051 let $acc0 = $Tuple3(nil, nil, 0)
10521052 func $f0_1 ($a,$i) = if (($i >= $s))
10531053 then $a
10541054 else userPos($a, $l[$i])
10551055
10561056 func $f0_2 ($a,$i) = if (($i >= $s))
10571057 then $a
10581058 else throw("List size exceeds 20")
10591059
10601060 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
10611061 }
1062- let pos = $t03241332468._1
1063- let debt = $t03241332468._2
1062+ let pos = $t03239532450._1
1063+ let debt = $t03239532450._2
10641064 $Tuple2(nil, $Tuple2(pos, debt))
10651065 }
10661066
10671067
10681068
10691069 @Callable(i)
10701070 func replenish (pool,leverage,borrowId) = if (if ((100 > leverage))
10711071 then true
10721072 else (leverage > 300))
10731073 then throw("Leverage can't be <100 and >300")
10741074 else if (if (!(getBooleanValue(this, (pool + kPoolCanBorrow))))
10751075 then (leverage > 100)
10761076 else false)
10771077 then throw("You can't borrow in this pool")
10781078 else {
10791079 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1080- let $t03290832998 = getPoolData(Address(fromBase58String(pool)), pType)
1081- let AId = $t03290832998._1
1082- let BId = $t03290832998._2
1083- let balA = $t03290832998._3
1084- let balB = $t03290832998._4
1085- let shareId = $t03290832998._5
1086- let $t03300133638 = if ((size(i.payments) == 2))
1080+ let $t03289032980 = getPoolData(Address(fromBase58String(pool)), pType)
1081+ let AId = $t03289032980._1
1082+ let BId = $t03289032980._2
1083+ let balA = $t03289032980._3
1084+ let balB = $t03289032980._4
1085+ let shareId = $t03289032980._5
1086+ let $t03298333620 = if ((size(i.payments) == 2))
10871087 then if ((assetIdToStr(i.payments[0].assetId) != AId))
10881088 then throw("Wrong payment asset A")
10891089 else if ((assetIdToStr(i.payments[1].assetId) != BId))
10901090 then throw("Wrong payment asset B")
10911091 else $Tuple4(i.payments[0].amount, AId, i.payments[1].amount, BId)
10921092 else if ((size(i.payments) == 1))
10931093 then if ((assetIdToStr(i.payments[0].assetId) == AId))
10941094 then $Tuple4(i.payments[0].amount, AId, 0, BId)
10951095 else if ((assetIdToStr(i.payments[0].assetId) == BId))
10961096 then $Tuple4(0, AId, i.payments[0].amount, BId)
10971097 else throw("Wrong payment")
10981098 else throw("One or two payments expected")
1099- let pmtA = $t03300133638._1
1100- let pmtAssetA = $t03300133638._2
1101- let pmtB = $t03300133638._3
1102- let pmtAssetB = $t03300133638._4
1099+ let pmtA = $t03298333620._1
1100+ let pmtAssetA = $t03298333620._2
1101+ let pmtB = $t03298333620._3
1102+ let pmtAssetB = $t03298333620._4
11031103 let newPosNum = getNewUserPositionNumber(toString(i.caller))
11041104 if ((leverage > 100))
11051105 then {
11061106 let borrowAmount = calcBorrowAmount(pmtA, pmtB, pmtAssetA, pmtAssetB, leverage, borrowId)
11071107 let request = makeString([toString(i.caller), pool, toString(pmtA), pmtAssetA, toString(pmtB), pmtAssetB, toString(balA), toString(balB), shareId, borrowId, toString(borrowAmount)], ",")
11081108 let newRequestId = {
11091109 let @ = invoke(this, "createNewRequest", [request], nil)
11101110 if ($isInstanceOf(@, "Int"))
11111111 then @
11121112 else throw(($getType(@) + " couldn't be cast to Int"))
11131113 }
11141114 if ((newRequestId == newRequestId))
11151115 then {
11161116 let args = [((toString(i.caller) + "_") + toString(newPosNum)), shareId, borrowId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
11171117 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
11181118 if ((inv == inv))
11191119 then nil
11201120 else throw("Strict value is not equal to itself.")
11211121 }
11221122 else throw("Strict value is not equal to itself.")
11231123 }
11241124 else {
1125- let $t03456634678 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126- let userStaked = $t03456634678._1
1127- let axlyFee = $t03456634678._2
1125+ let $t03454834660 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126+ let userStaked = $t03454834660._1
1127+ let axlyFee = $t03454834660._2
11281128 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
11291129 }
11301130 }
11311131
11321132
11331133
11341134 @Callable(i)
11351135 func withdraw (pool,posId) = withdrawToUser(toString(i.caller), pool, toString(posId), false)
11361136
11371137
11381138
11391139 @Callable(i)
11401140 func createUpdateStopLoss (posId,poolId,assetId,price) = {
11411141 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
11421142 if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
11431143 then throw("There are no user position")
11441144 else if ((0 >= price))
11451145 then throw("Price must be greater than 0")
11461146 else if ((price > tokenOraclePrice))
11471147 then throw("Price must be less than current token price")
11481148 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
11491149 }
11501150
11511151
11521152
11531153 @Callable(i)
11541154 func deleteStopLoss (posId,poolId,assetId) = if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
11551155 then throw("No entry")
11561156 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
11571157
11581158
11591159
11601160 @Callable(i)
11611161 func init (moneyBoxAddr,sfFarmingAddr,lendAddr,priceOracleAddr,keeperExContract,wxSwapContract,swopAssetId,wxAssetId,adminPubKey) = if (isDefined(getString(kMoneyBox)))
11621162 then throw("Already inited")
11631163 else [StringEntry(kMoneyBox, moneyBoxAddr), StringEntry(kSFFarmingAddr, sfFarmingAddr), StringEntry(kLendService, lendAddr), StringEntry(kPriceOracle, priceOracleAddr), StringEntry(kExContract, keeperExContract), StringEntry(kWxSwapContract, wxSwapContract), StringEntry(kSwopId, swopAssetId), StringEntry(kWxId, wxAssetId), StringEntry(kAdminCallPK, adminPubKey)]
11641164
11651165
11661166
11671167 @Callable(i)
11681168 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
11691169 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
11701170 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
11711171 })
11721172
11731173
11741174
11751175 @Callable(i)
11761176 func replenishFromLand (requestId) = valueOrElse(isLandCall(i), {
1177- let $t03713537239 = parseRequest(requestId)
1178- let user = $t03713537239._1
1179- let pool = $t03713537239._2
1180- let pmtA = $t03713537239._3
1181- let AId = $t03713537239._4
1182- let pmtB = $t03713537239._5
1183- let BId = $t03713537239._6
1184- let balA = $t03713537239._7
1185- let balB = $t03713537239._8
1186- let shareId = $t03713537239._9
1187- let bwAsset = $t03713537239._10
1188- let bwAmount = $t03713537239._11
1177+ let $t03711737221 = parseRequest(requestId)
1178+ let user = $t03711737221._1
1179+ let pool = $t03711737221._2
1180+ let pmtA = $t03711737221._3
1181+ let AId = $t03711737221._4
1182+ let pmtB = $t03711737221._5
1183+ let BId = $t03711737221._6
1184+ let balA = $t03711737221._7
1185+ let balB = $t03711737221._8
1186+ let shareId = $t03711737221._9
1187+ let bwAsset = $t03711737221._10
1188+ let bwAmount = $t03711737221._11
11891189 if ((size(i.payments) != 1))
11901190 then throw("Wrong payment size")
11911191 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
11921192 then true
11931193 else (i.payments[0].amount != bwAmount))
11941194 then throw("Wrong payment")
11951195 else {
1196- let $t03742937553 = if ((AId == bwAsset))
1196+ let $t03741137535 = if ((AId == bwAsset))
11971197 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
11981198 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
1199- let pmtAllA = $t03742937553._1
1200- let pmtAllB = $t03742937553._2
1199+ let pmtAllA = $t03741137535._1
1200+ let pmtAllB = $t03741137535._2
12011201 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
1202- let $t03763537750 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1203- let userStaked = $t03763537750._1
1204- let axlyFee = $t03763537750._2
1202+ let $t03761737732 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1203+ let userStaked = $t03761737732._1
1204+ let axlyFee = $t03761737732._2
12051205 let posNum = getNewUserPositionNumber(user)
12061206 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
12071207 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
12081208 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId)) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
12091209 }
12101210 })
12111211
12121212
12131213
12141214 @Callable(i)
12151215 func liquidate (user,posId,liquidateAmount) = valueOrElse(isLandCall(i), {
12161216 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
12171217 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1218- let $t03852938619 = getPoolData(Address(fromBase58String(pool)), pType)
1219- let AId = $t03852938619._1
1220- let BId = $t03852938619._2
1221- let balA = $t03852938619._3
1222- let balB = $t03852938619._4
1223- let shareId = $t03852938619._5
1218+ let $t03851138601 = getPoolData(Address(fromBase58String(pool)), pType)
1219+ let AId = $t03851138601._1
1220+ let BId = $t03851138601._2
1221+ let balA = $t03851138601._3
1222+ let balB = $t03851138601._4
1223+ let shareId = $t03851138601._5
12241224 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
12251225 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
12261226 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
12271227 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
12281228 if ((borrowAmount == 0))
12291229 then throw("You can't liquidate position without borrow")
12301230 else [IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest), getIntegerValue(this, (pool + kPoolInterestLoan))), IntegerEntry((pool + kPoolTotalLoan), (getPoolTotalShareWithLoan(pool) - liquidateAmount)), IntegerEntry((pool + kPoolTotal), (getPoolTotalShare(pool) - liquidateAmount)), IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPosition), (userCanWithdraw - liquidateAmount)), ScriptTransfer(i.caller, amount, fromBase58String(shareId))]
12311231 })
12321232
12331233
12341234
12351235 @Callable(i)
12361236 func stopLoss (user,posId,pool,assetId) = valueOrElse(isAdminCall(i), {
12371237 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
12381238 if (!(isDefined(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))))
12391239 then throw("No entry")
12401240 else (withdrawToUser(toString(i.caller), pool, toString(posId), true) :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))
12411241 })
12421242
12431243
12441244
12451245 @Callable(i)
12461246 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isAdminCall(i), {
1247- let $t04038240576 = if (claim)
1247+ let $t04036440558 = if (claim)
12481248 then claimFarmed(type, pool)
12491249 else {
12501250 let claimedAsset = if ((type == SF_POOL))
12511251 then SWOPID
12521252 else WXID
12531253 $Tuple2(amountToExchange, claimedAsset)
12541254 }
1255- let claimedAmount = $t04038240576._1
1256- let claimedAsset = $t04038240576._2
1255+ let claimedAmount = $t04036440558._1
1256+ let claimedAsset = $t04036440558._2
12571257 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
12581258 let change = (claimedAmount - amountToExchange)
12591259 let changeEntry = if ((change > 0))
12601260 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
12611261 else nil
12621262 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
12631263 })
12641264
12651265
12661266
12671267 @Callable(i)
12681268 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isAdminCall(i), {
1269- let $t04126141455 = if (claim)
1269+ let $t04124341437 = if (claim)
12701270 then claimFarmed(type, pool)
12711271 else {
12721272 let claimedAsset = if ((type == SF_POOL))
12731273 then SWOPID
12741274 else WXID
12751275 $Tuple2(amountToExchange, claimedAsset)
12761276 }
1277- let claimedAmount = $t04126141455._1
1278- let claimedAsset = $t04126141455._2
1277+ let claimedAmount = $t04124341437._1
1278+ let claimedAsset = $t04124341437._2
12791279 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
12801280 let change = (claimedAmount - amountToExchange)
12811281 let changeEntry = if ((change > 0))
12821282 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
12831283 else nil
12841284 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
12851285 })
12861286
12871287
12881288
12891289 @Callable(i)
12901290 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isAdminCall(i), {
1291- let $t04220642400 = if (claim)
1291+ let $t04218842382 = if (claim)
12921292 then claimFarmed(type, pool)
12931293 else {
12941294 let claimedAsset = if ((type == SF_POOL))
12951295 then SWOPID
12961296 else WXID
12971297 $Tuple2(amountToExchange, claimedAsset)
12981298 }
1299- let claimedAmount = $t04220642400._1
1300- let claimedAsset = $t04220642400._2
1299+ let claimedAmount = $t04218842382._1
1300+ let claimedAsset = $t04218842382._2
13011301 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
13021302 let change = (claimedAmount - amountToExchange)
13031303 let changeEntry = if ((change > 0))
13041304 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
13051305 else nil
13061306 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
13071307 })
13081308
13091309
13101310
13111311 @Callable(i)
13121312 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan,canBorrow) = valueOrElse(isAdminCall(i), if (if ((type != SF_POOL))
13131313 then (type != WX_POOL)
13141314 else false)
13151315 then throw("Wrong type")
13161316 else {
1317- let $t04314143235 = getPoolData(Address(fromBase58String(poolAddr)), type)
1318- let aId = $t04314143235._1
1319- let bId = $t04314143235._2
1320- let aBal = $t04314143235._3
1321- let bBal = $t04314143235._4
1322- let shareId = $t04314143235._5
1317+ let $t04312343217 = getPoolData(Address(fromBase58String(poolAddr)), type)
1318+ let aId = $t04312343217._1
1319+ let bId = $t04312343217._2
1320+ let aBal = $t04312343217._3
1321+ let bBal = $t04312343217._4
1322+ let shareId = $t04312343217._5
13231323 [IntegerEntry((poolAddr + kAxlyInFeeWithoutLoan), inFeeNoLoan), IntegerEntry((poolAddr + kAxlyInFeeWithLoan), inFeeLoan), IntegerEntry((poolAddr + kAxlyNoLoanCapFee), capFeeNoLoan), IntegerEntry((poolAddr + kAxlyWithLoanCapFee), capFeeWithLoan), IntegerEntry((poolAddr + kAxlyStopLossNoLoanFee), stoplossFeeNoLoan), IntegerEntry((poolAddr + kAxlyStopLossLoanFee), stoplossFeeWithLoan), IntegerEntry((poolAddr + kPoolInterestLoan), 0), IntegerEntry((poolAddr + kPoolInterestNoLoan), 0), StringEntry((kPool + poolAddr), type), StringEntry((shareId + kSharePool), poolAddr), BooleanEntry((poolAddr + kPoolCanBorrow), canBorrow)]
13241324 })
13251325
13261326
13271327 @Verifier(tx)
13281328 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
13291329

github/deemru/w8io/026f985 
179.25 ms