tx · GgrQSJrEXEgpXuNQeGgWtrY8v7zmfBP57GKc3ecVZ2Kd

3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS:  -0.04300000 Waves

2023.06.26 16:41 [2639688] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves

{ "type": 13, "id": "GgrQSJrEXEgpXuNQeGgWtrY8v7zmfBP57GKc3ecVZ2Kd", "fee": 4300000, "feeAssetId": null, "timestamp": 1687786880433, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "ZBHgFtkq4UM5c6FQJ3wYiHgrDPXrpfaGatjRqAH7A9grwzgWwQNyqZwrYdygFd6CMcx4GNLciqyXm69Afez83Jb" ], "script": "base64:BgKKAQgCEgcKBQgBCAEBEgMKAQgSBAoCCAgSBQoDCBgYEgUKAwgBCBIECgIIARIGCgQBCAgBEgUKAwEICBIDCgEIEgMKAQgSBQoDCAgBEgYKBAgBCAgSDgoMCAgIAQQRGBgRAQEYEgoKCAgICAEECAEYEg4KDAgICAEEGBgYGBgBGBIKCggICAEBAQEBAWYAB1NGX1BPT0wCAlNGAAdXWF9QT09MAgJXWAAPQ0FQX0ZFRV9OT19MT0FOAgljYXBOb0xvYW4ADENBUF9GRUVfTE9BTgIHY2FwTG9hbgAUU1RPUExPU1NfRkVFX05PX0xPQU4CDnN0b3BMb3NzTm9Mb2FuAA1TVE9QTE9TU19MT0FOAgxzdG9wTG9zc0xvYW4ACExPQU5fRkVFAgRsb2FuAAtOT19MT0FOX0ZFRQIGbm9Mb2FuAAZOT19GRUUCBW5vRmVlAAZTQ0FMRTgAgMLXLwAHU0NBTEUxMACAyK+gJQAHU0NBTEUxNgkAtgIBAICAhP6m3uERAApGRUVfU0NBTEU2AMCEPQAUa1NGUG9vbEFBc3NldEJhbGFuY2UCD0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BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5L3vkVw==", "height": 2639688, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9rZ6DkKpqrFo4WTJJ7aMhY2ebB6E5CoBjDSS5mFP6Dym Next: DHfqMMfuipcaVH1h63yUiaGeYRdAvvHbpDjPEV8xTtF3 Diff:
OldNewDifferences
476476 let prFee = getIntegerValue(wxSwapContract, "%s__protocolFee")
477477 let pFee = getIntegerValue(wxSwapContract, "%s__poolFee")
478478 let feeScale = toBigInt(100000000)
479- let $t01359613903 = if ((assetTokenToGet == assetIdA))
479+ let $t01359613904 = if ((assetTokenToGet == assetIdA))
480480 then {
481481 let amountToPay = fraction(amountTokenToGet, balB, (balA - amountTokenToGet))
482482 $Tuple2(amountToPay, assetIdB)
485485 let amountToPay = fraction(amountTokenToGet, balA, (balB - amountTokenToGet))
486486 $Tuple2(amountToPay, assetIdA)
487487 }
488- let amountToPay = $t01359613903._1
489- let assetToPay = $t01359613903._2
488+ let amountToPay = $t01359613904._1
489+ let assetToPay = $t01359613904._2
490490 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
491- $Tuple2(assetToPay, amountToPayWithFee)
491+ $Tuple2(assetToPay, fraction(amountToPayWithFee, 102, 100))
492492 }
493493
494494
495495 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
496496 then {
497- let $t01424814370 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
498- let assetToPay = $t01424814370._1
499- let amountToPay = $t01424814370._2
497+ let $t01426714389 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
498+ let assetToPay = $t01426714389._1
499+ let amountToPay = $t01426714389._2
500500 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
501501 }
502502 else {
503- let $t01454514667 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
504- let assetToPay = $t01454514667._1
505- let amountToPay = $t01454514667._2
503+ let $t01456414686 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
504+ let assetToPay = $t01456414686._1
505+ let amountToPay = $t01456414686._2
506506 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
507507 }
508508
533533 }
534534 else if ((pType == WX_POOL))
535535 then {
536- let $t01527015611 = if (if ((pmtA > 0))
536+ let $t01528915630 = if (if ((pmtA > 0))
537537 then (pmtB > 0)
538538 else false)
539539 then {
540- let $t01535115477 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
541- let pmtInA = $t01535115477._1
542- let pmtInB = $t01535115477._2
543- let change = $t01535115477._3
544- let changeId = $t01535115477._4
545- let lpAmount = $t01535115477._5
540+ let $t01537015496 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
541+ let pmtInA = $t01537015496._1
542+ let pmtInB = $t01537015496._2
543+ let change = $t01537015496._3
544+ let changeId = $t01537015496._4
545+ let lpAmount = $t01537015496._5
546546 $Tuple3(change, changeId, lpAmount)
547547 }
548548 else if ((pmtA > 0))
549549 then $Tuple3(pmtA, aId, 0)
550550 else $Tuple3(pmtB, bId, 0)
551- let change = $t01527015611._1
552- let changeId = $t01527015611._2
553- let lpTwo = $t01527015611._3
554- let $t01561815834 = if ((change > 0))
551+ let change = $t01528915630._1
552+ let changeId = $t01528915630._2
553+ let lpTwo = $t01528915630._3
554+ let $t01563715853 = if ((change > 0))
555555 then {
556556 let inv = {
557557 let @ = invoke(poolAddr, "putOneTknREADONLY", [changeId, change], nil)
564564 else throw("Strict value is not equal to itself.")
565565 }
566566 else $Tuple2(0, 0)
567- let lpOne = $t01561815834._1
568- let loss = $t01561815834._2
567+ let lpOne = $t01563715853._1
568+ let loss = $t01563715853._2
569569 $Tuple2((lpTwo + lpOne), loss)
570570 }
571571 else throw("Wrong pool type")
574574
575575 func calcWithdrawLPVirt (pType,pool,lpAmount,shareId,aId,bId,balA,balB,borrowAmount,borrowAssetId) = {
576576 let poolAddr = addressFromStringValue(pool)
577- let $t01612816628 = if ((pType == SF_POOL))
577+ let $t01614716647 = if ((pType == SF_POOL))
578578 then {
579579 let inv = {
580580 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(lpAmount), toString(balA), toString(balB)]], nil)
609609 else throw("Strict value is not equal to itself.")
610610 }
611611 else throw("Wrong pool type")
612- let getAmountA = $t01612816628._1
613- let getAmountB = $t01612816628._2
612+ let getAmountA = $t01614716647._1
613+ let getAmountB = $t01614716647._2
614614 if ((borrowAmount > 0))
615615 then {
616616 let amountToGetEx = if (if ((borrowAssetId == aId))
622622 else false)
623623 then (borrowAmount - getAmountB)
624624 else 0
625- let $t01690617209 = if ((amountToGetEx > 0))
625+ let $t01692517228 = if ((amountToGetEx > 0))
626626 then if ((pType == SF_POOL))
627627 then calcAmountToPaySF(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
628628 else calcAmountToPayWX(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
629629 else $Tuple2("", 0)
630- let assetToPay = $t01690617209._1
631- let amountToPay = $t01690617209._2
630+ let assetToPay = $t01692517228._1
631+ let amountToPay = $t01692517228._2
632632 if ((borrowAssetId == aId))
633633 then $Tuple2(((getAmountA + amountToGetEx) - borrowAmount), (getAmountB - amountToPay))
634634 else $Tuple2((getAmountA - amountToPay), ((getAmountB + amountToGetEx) - borrowAmount))
675675 if ((lpBalanceBefore == lpBalanceBefore))
676676 then {
677677 let poolAddr = addressFromStringValue(pool)
678- let $t01840618822 = if (if ((pmtA > 0))
678+ let $t01842518841 = if (if ((pmtA > 0))
679679 then (pmtB > 0)
680680 else false)
681681 then {
682- let $t01847218588 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
683- let pmtInA = $t01847218588._1
684- let pmtInB = $t01847218588._2
685- let change = $t01847218588._3
686- let changeId = $t01847218588._4
682+ let $t01849118607 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
683+ let pmtInA = $t01849118607._1
684+ let pmtInB = $t01849118607._2
685+ let change = $t01849118607._3
686+ let changeId = $t01849118607._4
687687 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
688688 if ((inv == inv))
689689 then $Tuple2(change, changeId)
694694 else if ((pmtB > 0))
695695 then $Tuple2(pmtB, bId)
696696 else throw("pmts must be > 0")
697- let change = $t01840618822._1
698- let changeId = $t01840618822._2
697+ let change = $t01842518841._1
698+ let changeId = $t01842518841._2
699699 let inv = if ((change > 0))
700700 then replenishOneTokenByType(poolAddr, pType, change, changeId)
701701 else nil
723723 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
724724 let totalAmount = getPoolTotalShare(pool)
725725 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
726- let $t01968019918 = if (withLoan)
726+ let $t01969919937 = if (withLoan)
727727 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
728728 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
729- let curPoolInterest = $t01968019918._1
730- let totalStakedWithLoan = $t01968019918._2
729+ let curPoolInterest = $t01969919937._1
730+ let totalStakedWithLoan = $t01969919937._2
731731 [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))]
732732 }
733733
773773
774774 func capitalize (pool,pType,tokenId,tokenAmount) = {
775775 let poolAddr = Address(fromBase58String(pool))
776- let $t02226922335 = getPoolData(poolAddr, pType)
777- let AId = $t02226922335._1
778- let BId = $t02226922335._2
779- let balA = $t02226922335._3
780- let balB = $t02226922335._4
781- let shareId = $t02226922335._5
776+ let $t02228822354 = getPoolData(poolAddr, pType)
777+ let AId = $t02228822354._1
778+ let BId = $t02228822354._2
779+ let balA = $t02228822354._3
780+ let balB = $t02228822354._4
781+ let shareId = $t02228822354._5
782782 if (if ((tokenId != AId))
783783 then (tokenId != BId)
784784 else false)
785785 then throw("Wrong asset")
786786 else {
787- let $t02242022500 = if ((tokenId == AId))
787+ let $t02243922519 = if ((tokenId == AId))
788788 then $Tuple2(tokenAmount, 0)
789789 else $Tuple2(0, tokenAmount)
790- let pmtA = $t02242022500._1
791- let pmtB = $t02242022500._2
792- let $t02250322607 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
793- let stakedAmount = $t02250322607._1
794- let nf = $t02250322607._2
790+ let pmtA = $t02243922519._1
791+ let pmtB = $t02243922519._2
792+ let $t02252222626 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
793+ let stakedAmount = $t02252222626._1
794+ let nf = $t02252222626._2
795795 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
796796 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
797797 let totalShareAmount = getPoolTotalShare(pool)
818818 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
819819 let poolAddr = Address(fromBase58String(pool))
820820 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
821- let $t02437524451 = getPoolData(poolAddr, pType)
822- let assetIdA = $t02437524451._1
823- let assetIdB = $t02437524451._2
824- let balA = $t02437524451._3
825- let balB = $t02437524451._4
826- let shareId = $t02437524451._5
821+ let $t02439424470 = getPoolData(poolAddr, pType)
822+ let assetIdA = $t02439424470._1
823+ let assetIdB = $t02439424470._2
824+ let balA = $t02439424470._3
825+ let balB = $t02439424470._4
826+ let shareId = $t02439424470._5
827827 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
828828 if ((cBalABefore == cBalABefore))
829829 then {
842842 then {
843843 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
844844 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
845- let $t02501425103 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
846- let tokensAmountA = $t02501425103._1
847- let tokensAmountB = $t02501425103._2
848- let $t02510625926 = if ((debt > 0))
845+ let $t02503325122 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
846+ let tokensAmountA = $t02503325122._1
847+ let tokensAmountB = $t02503325122._2
848+ let $t02512525945 = if ((debt > 0))
849849 then {
850850 let amountToGetEx = if (if ((borrowAsset == assetIdA))
851851 then (debt > tokensAmountA)
870870 else throw("Strict value is not equal to itself.")
871871 }
872872 else $Tuple2(tokensAmountA, tokensAmountB)
873- let toUserA = $t02510625926._1
874- let toUserB = $t02510625926._2
873+ let toUserA = $t02512525945._1
874+ let toUserB = $t02512525945._2
875875 $Tuple7(toUserA, assetIdA, toUserB, assetIdB, cBalAAfter, cBalBAfter, shareId)
876876 }
877877 else throw("Strict value is not equal to itself.")
907907 else throw(($getType(@) + " couldn't be cast to Int"))
908908 }
909909 else 0
910- let $t02731427467 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
911- if (($t02731427467 == $t02731427467))
910+ let $t02733327486 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
911+ if (($t02733327486 == $t02733327486))
912912 then {
913- let shareId = $t02731427467._7
914- let cBalBAfter = $t02731427467._6
915- let cBalAAfter = $t02731427467._5
916- let assetIdB = $t02731427467._4
917- let toUserAmountB = $t02731427467._3
918- let assetIdA = $t02731427467._2
919- let toUserAmountA = $t02731427467._1
913+ let shareId = $t02733327486._7
914+ let cBalBAfter = $t02733327486._6
915+ let cBalAAfter = $t02733327486._5
916+ let assetIdB = $t02733327486._4
917+ let toUserAmountB = $t02733327486._3
918+ let assetIdA = $t02733327486._2
919+ let toUserAmountA = $t02733327486._1
920920 let closeDbtInv = if ((debt > 0))
921921 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
922922 else 0
957957 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
958958 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
959959 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
960- let $t02915329250 = if ((borrowId == aId))
960+ let $t02917229269 = if ((borrowId == aId))
961961 then $Tuple2(dPriceA, decPrA)
962962 else $Tuple2(dPriceB, decPrB)
963- let borrowPrice = $t02915329250._1
964- let borrowDecPr = $t02915329250._2
963+ let borrowPrice = $t02917229269._1
964+ let borrowDecPr = $t02917229269._2
965965 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
966966 }
967967
973973 then throw("Leverage can't be <100 and >300")
974974 else {
975975 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
976- let $t02966829758 = getPoolData(Address(fromBase58String(pool)), pType)
977- let AId = $t02966829758._1
978- let BId = $t02966829758._2
979- let balA = $t02966829758._3
980- let balB = $t02966829758._4
981- let shareId = $t02966829758._5
976+ let $t02968729777 = getPoolData(Address(fromBase58String(pool)), pType)
977+ let AId = $t02968729777._1
978+ let BId = $t02968729777._2
979+ let balA = $t02968729777._3
980+ let balB = $t02968729777._4
981+ let shareId = $t02968729777._5
982982 let borrowAmount = if ((leverage > 100))
983983 then calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
984984 else 0
985- let $t02989330000 = if ((borrowId == AId))
985+ let $t02991230019 = if ((borrowId == AId))
986986 then $Tuple2((pmtA + borrowAmount), pmtB)
987987 else $Tuple2(pmtA, (pmtB + borrowAmount))
988- let payInA = $t02989330000._1
989- let payInB = $t02989330000._2
990- let $t03000330096 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
991- let lpAmount = $t03000330096._1
992- let loss = $t03000330096._2
988+ let payInA = $t02991230019._1
989+ let payInB = $t02991230019._2
990+ let $t03002230115 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
991+ let lpAmount = $t03002230115._1
992+ let loss = $t03002230115._2
993993 let impactMod = if ((0 > loss))
994994 then (loss * -1)
995995 else loss
10191019 @Callable(i)
10201020 func getUserPositionInDollarsREADONLY (user,pools,posNum) = {
10211021 func userPos (a,pool) = {
1022- let $t03090930943 = a
1023- let totalPos = $t03090930943._1
1024- let posDebt = $t03090930943._2
1025- let index = $t03090930943._3
1022+ let $t03092830962 = a
1023+ let totalPos = $t03092830962._1
1024+ let posDebt = $t03092830962._2
1025+ let index = $t03092830962._3
10261026 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1027- let $t03103531125 = getPoolData(Address(fromBase58String(pool)), pType)
1028- let AId = $t03103531125._1
1029- let BId = $t03103531125._2
1030- let balA = $t03103531125._3
1031- let balB = $t03103531125._4
1032- let shareId = $t03103531125._5
1027+ let $t03105431144 = getPoolData(Address(fromBase58String(pool)), pType)
1028+ let AId = $t03105431144._1
1029+ let BId = $t03105431144._2
1030+ let balA = $t03105431144._3
1031+ let balB = $t03105431144._4
1032+ let shareId = $t03105431144._5
10331033 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
10341034 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
10351035 let sharePrices = getSharePrice(shareId)
10551055 }
10561056 }
10571057
1058- let $t03216832223 = {
1058+ let $t03218732242 = {
10591059 let $l = pools
10601060 let $s = size($l)
10611061 let $acc0 = $Tuple3(nil, nil, 0)
10691069
10701070 $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)
10711071 }
1072- let pos = $t03216832223._1
1073- let debt = $t03216832223._2
1072+ let pos = $t03218732242._1
1073+ let debt = $t03218732242._2
10741074 $Tuple2(nil, $Tuple2(pos, debt))
10751075 }
10761076
10831083 then throw("Leverage can't be <100 and >300")
10841084 else {
10851085 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1086- let $t03254632636 = getPoolData(Address(fromBase58String(pool)), pType)
1087- let AId = $t03254632636._1
1088- let BId = $t03254632636._2
1089- let balA = $t03254632636._3
1090- let balB = $t03254632636._4
1091- let shareId = $t03254632636._5
1092- let $t03263933276 = if ((size(i.payments) == 2))
1086+ let $t03256532655 = getPoolData(Address(fromBase58String(pool)), pType)
1087+ let AId = $t03256532655._1
1088+ let BId = $t03256532655._2
1089+ let balA = $t03256532655._3
1090+ let balB = $t03256532655._4
1091+ let shareId = $t03256532655._5
1092+ let $t03265833295 = if ((size(i.payments) == 2))
10931093 then if ((assetIdToStr(i.payments[0].assetId) != AId))
10941094 then throw("Wrong payment asset A")
10951095 else if ((assetIdToStr(i.payments[1].assetId) != BId))
11021102 then $Tuple4(0, AId, i.payments[0].amount, BId)
11031103 else throw("Wrong payment")
11041104 else throw("One or two payments expected")
1105- let pmtA = $t03263933276._1
1106- let pmtAssetA = $t03263933276._2
1107- let pmtB = $t03263933276._3
1108- let pmtAssetB = $t03263933276._4
1105+ let pmtA = $t03265833295._1
1106+ let pmtAssetA = $t03265833295._2
1107+ let pmtB = $t03265833295._3
1108+ let pmtAssetB = $t03265833295._4
11091109 let newPosNum = getNewUserPositionNumber(toString(i.caller))
11101110 if ((leverage > 100))
11111111 then {
11281128 else throw("Strict value is not equal to itself.")
11291129 }
11301130 else {
1131- let $t03420434316 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132- let userStaked = $t03420434316._1
1133- let axlyFee = $t03420434316._2
1131+ let $t03422334335 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132+ let userStaked = $t03422334335._1
1133+ let axlyFee = $t03422334335._2
11341134 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
11351135 }
11361136 }
11761176
11771177 @Callable(i)
11781178 func replenishFromLand (requestId) = valueOrElse(isLandCall(i), {
1179- let $t03606936173 = parseRequest(requestId)
1180- let user = $t03606936173._1
1181- let pool = $t03606936173._2
1182- let pmtA = $t03606936173._3
1183- let AId = $t03606936173._4
1184- let pmtB = $t03606936173._5
1185- let BId = $t03606936173._6
1186- let balA = $t03606936173._7
1187- let balB = $t03606936173._8
1188- let shareId = $t03606936173._9
1189- let bwAsset = $t03606936173._10
1190- let bwAmount = $t03606936173._11
1179+ let $t03608836192 = parseRequest(requestId)
1180+ let user = $t03608836192._1
1181+ let pool = $t03608836192._2
1182+ let pmtA = $t03608836192._3
1183+ let AId = $t03608836192._4
1184+ let pmtB = $t03608836192._5
1185+ let BId = $t03608836192._6
1186+ let balA = $t03608836192._7
1187+ let balB = $t03608836192._8
1188+ let shareId = $t03608836192._9
1189+ let bwAsset = $t03608836192._10
1190+ let bwAmount = $t03608836192._11
11911191 if ((size(i.payments) != 1))
11921192 then throw("Wrong payment size")
11931193 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
11951195 else (i.payments[0].amount != bwAmount))
11961196 then throw("Wrong payment")
11971197 else {
1198- let $t03636336487 = if ((AId == bwAsset))
1198+ let $t03638236506 = if ((AId == bwAsset))
11991199 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
12001200 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
1201- let pmtAllA = $t03636336487._1
1202- let pmtAllB = $t03636336487._2
1201+ let pmtAllA = $t03638236506._1
1202+ let pmtAllB = $t03638236506._2
12031203 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
1204- let $t03656936684 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1205- let userStaked = $t03656936684._1
1206- let axlyFee = $t03656936684._2
1204+ let $t03658836703 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1205+ let userStaked = $t03658836703._1
1206+ let axlyFee = $t03658836703._2
12071207 let posNum = getNewUserPositionNumber(user)
12081208 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
12091209 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
12171217 func liquidate (user,posId,liquidateAmount) = valueOrElse(isLandCall(i), {
12181218 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
12191219 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1220- let $t03746337553 = getPoolData(Address(fromBase58String(pool)), pType)
1221- let AId = $t03746337553._1
1222- let BId = $t03746337553._2
1223- let balA = $t03746337553._3
1224- let balB = $t03746337553._4
1225- let shareId = $t03746337553._5
1220+ let $t03748237572 = getPoolData(Address(fromBase58String(pool)), pType)
1221+ let AId = $t03748237572._1
1222+ let BId = $t03748237572._2
1223+ let balA = $t03748237572._3
1224+ let balB = $t03748237572._4
1225+ let shareId = $t03748237572._5
12261226 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
12271227 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
12281228 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
12491249
12501250 @Callable(i)
12511251 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isAdminCall(i), {
1252- let $t03933939533 = if (claim)
1252+ let $t03935839552 = if (claim)
12531253 then claimFarmed(type, pool)
12541254 else {
12551255 let claimedAsset = if ((type == SF_POOL))
12571257 else WXID
12581258 $Tuple2(amountToExchange, claimedAsset)
12591259 }
1260- let claimedAmount = $t03933939533._1
1261- let claimedAsset = $t03933939533._2
1260+ let claimedAmount = $t03935839552._1
1261+ let claimedAsset = $t03935839552._2
12621262 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
12631263 let change = (claimedAmount - amountToExchange)
12641264 let changeEntry = if ((change > 0))
12711271
12721272 @Callable(i)
12731273 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isAdminCall(i), {
1274- let $t04021840412 = if (claim)
1274+ let $t04023740431 = if (claim)
12751275 then claimFarmed(type, pool)
12761276 else {
12771277 let claimedAsset = if ((type == SF_POOL))
12791279 else WXID
12801280 $Tuple2(amountToExchange, claimedAsset)
12811281 }
1282- let claimedAmount = $t04021840412._1
1283- let claimedAsset = $t04021840412._2
1282+ let claimedAmount = $t04023740431._1
1283+ let claimedAsset = $t04023740431._2
12841284 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
12851285 let change = (claimedAmount - amountToExchange)
12861286 let changeEntry = if ((change > 0))
12931293
12941294 @Callable(i)
12951295 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isAdminCall(i), {
1296- let $t04116341357 = if (claim)
1296+ let $t04118241376 = if (claim)
12971297 then claimFarmed(type, pool)
12981298 else {
12991299 let claimedAsset = if ((type == SF_POOL))
13011301 else WXID
13021302 $Tuple2(amountToExchange, claimedAsset)
13031303 }
1304- let claimedAmount = $t04116341357._1
1305- let claimedAsset = $t04116341357._2
1304+ let claimedAmount = $t04118241376._1
1305+ let claimedAsset = $t04118241376._2
13061306 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
13071307 let change = (claimedAmount - amountToExchange)
13081308 let changeEntry = if ((change > 0))
13191319 else false)
13201320 then throw("Wrong type")
13211321 else {
1322- let $t04207842172 = getPoolData(Address(fromBase58String(poolAddr)), type)
1323- let aId = $t04207842172._1
1324- let bId = $t04207842172._2
1325- let aBal = $t04207842172._3
1326- let bBal = $t04207842172._4
1327- let shareId = $t04207842172._5
1322+ let $t04209742191 = getPoolData(Address(fromBase58String(poolAddr)), type)
1323+ let aId = $t04209742191._1
1324+ let bId = $t04209742191._2
1325+ let aBal = $t04209742191._3
1326+ let bBal = $t04209742191._4
1327+ let shareId = $t04209742191._5
13281328 [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)]
13291329 })
13301330
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 kAxlyInFeeWithoutLoan = "_axly_fee_without_loan"
6565
6666 let kAxlyInFeeWithLoan = "_axly_fee_with_loan"
6767
6868 let kAxlyNoLoanCapFee = "_axly_fee_cap_with_loan"
6969
7070 let kAxlyWithLoanCapFee = "_axly_fee_cap_no_loan"
7171
7272 let kAxlyStopLossNoLoanFee = "_axly_fee_stoploss_with_loan"
7373
7474 let kAxlyStopLossLoanFee = "_axly_fee_stoploss_no_loan"
7575
7676 let kRequestId = "_request_id"
7777
7878 let kRequestIter = "requests_iter"
7979
8080 let kPool = "pool_"
8181
8282 let kSharePool = "_pool_share_id"
8383
8484 let kPoolCapChange = "_pool_cap_change"
8585
8686 let kTokenLastPrice = "last_price"
8787
8888 let kUserStopLoss = "_stop_loss"
8989
9090 let kMoneyBox = "axly_money_box"
9191
9292 let kSFFarmingAddr = "swopfi_farming_addr"
9393
9494 let kLendService = "lend_service_addr"
9595
9696 let kAdminCallPK = "admin_call_pub_key"
9797
9898 let kPriceOracle = "price_oracle"
9999
100100 let kExContract = "exchange_contract"
101101
102102 let kWxSwapContract = "wx_swap_contract"
103103
104104 let moneyBox = Address(fromBase58String(valueOrErrorMessage(getString(this, kMoneyBox), "No axly moneyBox address")))
105105
106106 let exContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kExContract), "No exchange contract address")))
107107
108108 let priceOracleAddr = Address(fromBase58String(valueOrErrorMessage(getString(this, kPriceOracle), "No price oracle address")))
109109
110110 let wxSwapContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kWxSwapContract), "No wx swap address")))
111111
112112 let SWOPID = base58'4W19ndijcc2CsQa9HGW2dfXKTVXhnneWWttxXrtjPmEp'
113113
114114 let WXID = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc'
115115
116116 func getLendSrvAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kLendService), "Can't get lend service addr")))
117117
118118
119119 func getAdminCallAddr () = addressFromPublicKey(fromBase58String(valueOrErrorMessage(getString(this, kAdminCallPK), "Can't get admin addr")))
120120
121121
122122 func isAdminCall (i) = if ((i.caller == getAdminCallAddr()))
123123 then unit
124124 else throw("Only admin can call this function")
125125
126126
127127 func isSelfCall (i) = if ((i.caller == this))
128128 then unit
129129 else throw("Only contract itself can call this function")
130130
131131
132132 func isLandCall (i) = if ((i.caller == getLendSrvAddr()))
133133 then unit
134134 else throw("Only land contract can call this function")
135135
136136
137137 func accountBalance (assetId) = match assetId {
138138 case id: ByteVector =>
139139 assetBalance(this, id)
140140 case waves: Unit =>
141141 wavesBalance(this).available
142142 case _ =>
143143 throw("Match error")
144144 }
145145
146146
147147 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"))
148148
149149
150150 func getWXPoolData (poolAddr) = {
151151 let cfg = {
152152 let @ = invoke(poolAddr, "getPoolConfigWrapperREADONLY", nil, nil)
153153 if ($isInstanceOf(@, "List[Any]"))
154154 then @
155155 else throw(($getType(@) + " couldn't be cast to List[Any]"))
156156 }
157157 if ((cfg == cfg))
158158 then {
159159 let aId = valueOrErrorMessage({
160160 let @ = cfg[4]
161161 if ($isInstanceOf(@, "String"))
162162 then @
163163 else unit
164164 }, "Can't get pool A asset id")
165165 let bId = valueOrErrorMessage({
166166 let @ = cfg[5]
167167 if ($isInstanceOf(@, "String"))
168168 then @
169169 else unit
170170 }, "Can't get pool B asset id")
171171 let shareId = valueOrErrorMessage({
172172 let @ = cfg[3]
173173 if ($isInstanceOf(@, "String"))
174174 then @
175175 else unit
176176 }, "Can't get pool LP asset id")
177177 let balA = {
178178 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [aId], nil)
179179 if ($isInstanceOf(@, "Int"))
180180 then @
181181 else throw(($getType(@) + " couldn't be cast to Int"))
182182 }
183183 if ((balA == balA))
184184 then {
185185 let balB = {
186186 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [bId], nil)
187187 if ($isInstanceOf(@, "Int"))
188188 then @
189189 else throw(($getType(@) + " couldn't be cast to Int"))
190190 }
191191 if ((balB == balB))
192192 then $Tuple5(aId, bId, balA, balB, shareId)
193193 else throw("Strict value is not equal to itself.")
194194 }
195195 else throw("Strict value is not equal to itself.")
196196 }
197197 else throw("Strict value is not equal to itself.")
198198 }
199199
200200
201201 func getPoolData (poolAddr,type) = if ((type == SF_POOL))
202202 then getSFPoolData(poolAddr)
203203 else if ((type == WX_POOL))
204204 then getWXPoolData(poolAddr)
205205 else throw("Wrong pool type")
206206
207207
208208 func getShareSupply (poolAddr,type,shareId) = if ((type == SF_POOL))
209209 then valueOrErrorMessage(getInteger(poolAddr, kSFPoolShareSupply), "Can't get share asset supply")
210210 else if ((type == WX_POOL))
211211 then valueOrErrorMessage(assetInfo(fromBase58String(shareId)), "Wrong ShareId").quantity
212212 else throw("Wrong pool type")
213213
214214
215215 func getPoolTotalShare (pool) = valueOrElse(getInteger(this, (pool + kPoolTotal)), 0)
216216
217217
218218 func getPoolTotalShareWithLoan (pool) = valueOrElse(getInteger(this, (pool + kPoolTotalLoan)), 0)
219219
220220
221221 func getNewUserPositionNumber (user) = (valueOrElse(getInteger(this, (user + kUserPositionNum)), 0) + 1)
222222
223223
224224 func getAxlyFee (pool,feeType) = if ((feeType == CAP_FEE_LOAN))
225225 then getIntegerValue(this, (pool + kAxlyWithLoanCapFee))
226226 else if ((feeType == CAP_FEE_NO_LOAN))
227227 then getIntegerValue(this, (pool + kAxlyNoLoanCapFee))
228228 else if ((feeType == LOAN_FEE))
229229 then getIntegerValue(this, (pool + kAxlyInFeeWithLoan))
230230 else if ((feeType == NO_LOAN_FEE))
231231 then getIntegerValue(this, (pool + kAxlyInFeeWithoutLoan))
232232 else if ((feeType == NO_FEE))
233233 then 0
234234 else throw("Wrong fee type")
235235
236236
237237 func getSFFarmingAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kSFFarmingAddr), "Can't get swopfi farming addr")))
238238
239239
240240 func getWXFarmingAddr (poolAddr) = {
241241 let fContract = Address(fromBase58String(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr")))
242242 let factroyCfg = split(valueOrErrorMessage(getString(fContract, "%s__factoryConfig"), "Can't get WX factory cfg"), "__")
243243 Address(fromBase58String(factroyCfg[1]))
244244 }
245245
246246
247247 func assetIdToStr (assetId) = match assetId {
248248 case id: ByteVector =>
249249 toBase58String(id)
250250 case waves: Unit =>
251251 "WAVES"
252252 case _ =>
253253 throw("Not Asset id")
254254 }
255255
256256
257257 func assetIdFromStr (assetId) = if ((assetId == "WAVES"))
258258 then unit
259259 else fromBase58String(assetId)
260260
261261
262262 func getAssetDecimals (assetId) = if ((assetId == "WAVES"))
263263 then 8
264264 else match assetInfo(fromBase58String(assetId)) {
265265 case asset: Asset =>
266266 asset.decimals
267267 case _ =>
268268 throw("Can't find asset")
269269 }
270270
271271
272272 func getAssetPrecition (assetId) = pow(10, 0, getAssetDecimals(assetId), 0, 0, DOWN)
273273
274274
275275 func getAssetsPrice (assetIds) = {
276276 func getPrices (a,assetId) = {
277277 let assetPrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
278278 if ($isInstanceOf(@, "(Int, Int)"))
279279 then @
280280 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
281281 (a :+ assetPrice)
282282 }
283283
284284 let $l = assetIds
285285 let $s = size($l)
286286 let $acc0 = nil
287287 func $f0_1 ($a,$i) = if (($i >= $s))
288288 then $a
289289 else getPrices($a, $l[$i])
290290
291291 func $f0_2 ($a,$i) = if (($i >= $s))
292292 then $a
293293 else throw("List size exceeds 50")
294294
295295 $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)
296296 }
297297
298298
299299 func getSharePrice (shareId) = {
300300 let pool = valueOrErrorMessage(getString(this, (shareId + kSharePool)), "Can't find pool addr by share id")
301301 let poolAddr = Address(fromBase58String(pool))
302302 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
303303 let $t088698934 = getPoolData(poolAddr, pType)
304304 let aId = $t088698934._1
305305 let bId = $t088698934._2
306306 let aBalance = $t088698934._3
307307 let bBalance = $t088698934._4
308308 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [aId, false], nil)
309309 if ($isInstanceOf(@, "(Int, Int)"))
310310 then @
311311 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
312312 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [bId, false], nil)
313313 if ($isInstanceOf(@, "(Int, Int)"))
314314 then @
315315 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
316316 let shareSupply = getShareSupply(poolAddr, pType, shareId)
317317 let APrecision = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
318318 let BPrecision = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
319319 let sharePrecision = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
320320 let sum = (fraction(aBalance, dPriceA, APrecision) + fraction(bBalance, dPriceB, BPrecision))
321321 fraction(sum, sharePrecision, shareSupply)
322322 }
323323
324324
325325 func getSharePrices (shareIds) = {
326326 func getPrices (a,shareId) = (a :+ getSharePrice(shareId))
327327
328328 let $l = shareIds
329329 let $s = size($l)
330330 let $acc0 = nil
331331 func $f0_1 ($a,$i) = if (($i >= $s))
332332 then $a
333333 else getPrices($a, $l[$i])
334334
335335 func $f0_2 ($a,$i) = if (($i >= $s))
336336 then $a
337337 else throw("List size exceeds 20")
338338
339339 $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)
340340 }
341341
342342
343343 func getCursEntries (aId,bId,shareId) = {
344344 let assetsPrices = getAssetsPrice([aId, bId])
345345 let sharePrice = getSharePrice(shareId)
346346 let prices = [toString(assetsPrices[0]), toString(assetsPrices[1]), toString(sharePrice)]
347347 [StringEntry(kTokenLastPrice, makeString(prices, ","))]
348348 }
349349
350350
351351 func calcReplenishByTwoTokens (pType,poolAddr,pmtA,aId,pmtB,bId,balA,balB) = if ((pType == SF_POOL))
352352 then {
353353 let repl = {
354354 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(pmtA), toString(pmtB)]], nil)
355355 if ($isInstanceOf(@, "List[Any]"))
356356 then @
357357 else throw(($getType(@) + " couldn't be cast to List[Any]"))
358358 }
359359 if ((repl == repl))
360360 then $Tuple5({
361361 let @ = repl[3]
362362 if ($isInstanceOf(@, "Int"))
363363 then @
364364 else throw(($getType(@) + " couldn't be cast to Int"))
365365 }, {
366366 let @ = repl[4]
367367 if ($isInstanceOf(@, "Int"))
368368 then @
369369 else throw(($getType(@) + " couldn't be cast to Int"))
370370 }, {
371371 let @ = repl[1]
372372 if ($isInstanceOf(@, "Int"))
373373 then @
374374 else throw(($getType(@) + " couldn't be cast to Int"))
375375 }, assetIdToStr(repl[2]), {
376376 let @ = repl[0]
377377 if ($isInstanceOf(@, "Int"))
378378 then @
379379 else throw(($getType(@) + " couldn't be cast to Int"))
380380 })
381381 else throw("Strict value is not equal to itself.")
382382 }
383383 else {
384384 let $t01046410714 = $Tuple2(split({
385385 let @ = invoke(poolAddr, "evaluatePutByAmountAssetREADONLY", [pmtA], nil)
386386 if ($isInstanceOf(@, "String"))
387387 then @
388388 else throw(($getType(@) + " couldn't be cast to String"))
389389 }, "__"), split({
390390 let @ = invoke(poolAddr, "evaluatePutByPriceAssetREADONLY", [pmtB], nil)
391391 if ($isInstanceOf(@, "String"))
392392 then @
393393 else throw(($getType(@) + " couldn't be cast to String"))
394394 }, "__"))
395395 if (($t01046410714 == $t01046410714))
396396 then {
397397 let evalPutInB = $t01046410714._2
398398 let evalPutInA = $t01046410714._1
399399 let lpInA = parseIntValue(evalPutInA[1])
400400 let lpInB = parseIntValue(evalPutInB[1])
401401 if ((lpInB > lpInA))
402402 then {
403403 let pmt = parseIntValue(evalPutInA[8])
404404 $Tuple5(pmtA, pmt, (pmtB - pmt), bId, lpInB)
405405 }
406406 else {
407407 let pmt = parseIntValue(evalPutInA[8])
408408 $Tuple5(pmt, pmtB, (pmtA - pmt), aId, lpInA)
409409 }
410410 }
411411 else throw("Strict value is not equal to itself.")
412412 }
413413
414414
415415 func replenishTwoTokensByType (poolAddr,pType,pmtA,aId,pmtB,bId) = {
416416 let payments = [AttachedPayment(assetIdFromStr(aId), pmtA), AttachedPayment(assetIdFromStr(bId), pmtB)]
417417 if ((pType == SF_POOL))
418418 then invoke(poolAddr, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], payments)
419419 else invoke(poolAddr, "put", [1000000, false], payments)
420420 }
421421
422422
423423 func replenishOneTokenByType (poolAddr,pType,pmt,pmtId) = {
424424 let payments = [AttachedPayment(assetIdFromStr(pmtId), pmt)]
425425 if ((pType == SF_POOL))
426426 then invoke(poolAddr, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], payments)
427427 else invoke(poolAddr, "putOneTkn", [0, false], payments)
428428 }
429429
430430
431431 func stakeLP (pool,pType,shareId,amount) = {
432432 let payments = [AttachedPayment(fromBase58String(shareId), amount)]
433433 if ((pType == SF_POOL))
434434 then invoke(getSFFarmingAddr(), "lockShareTokens", [pool, 0], payments)
435435 else invoke(getWXFarmingAddr(addressFromStringValue(pool)), "stake", nil, payments)
436436 }
437437
438438
439439 func unstakeLP (pool,pType,shareId,amount) = {
440440 let $t01219912556 = if ((pType == SF_POOL))
441441 then $Tuple3(getSFFarmingAddr(), "withdrawShareTokens", [pool, amount])
442442 else if ((pType == WX_POOL))
443443 then $Tuple3(getWXFarmingAddr(Address(fromBase58String(pool))), "unstake", [shareId, amount])
444444 else throw("Wrong pool type")
445445 let farmAddr = $t01219912556._1
446446 let fName = $t01219912556._2
447447 let params = $t01219912556._3
448448 let inv = invoke(farmAddr, fName, params, nil)
449449 if ((inv == inv))
450450 then amount
451451 else throw("Strict value is not equal to itself.")
452452 }
453453
454454
455455 func calcAmountToPaySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
456456 let poolAddr = Address(fromBase58String(pool))
457457 let feeScale6 = 1000000
458458 let fee = getIntegerValue(poolAddr, kSFPoolFee)
459459 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee))
460460 let $t01296913257 = if ((assetTokenToGet == assetIdA))
461461 then {
462462 let amountToPay = fraction(amntGetNoFee, balB, (balA - amntGetNoFee))
463463 $Tuple2(amountToPay, assetIdB)
464464 }
465465 else {
466466 let amountToPay = fraction(amntGetNoFee, balA, (balB - amntGetNoFee))
467467 $Tuple2(amountToPay, assetIdA)
468468 }
469469 let amountToPay = $t01296913257._1
470470 let assetToPay = $t01296913257._2
471471 $Tuple2(assetToPay, amountToPay)
472472 }
473473
474474
475475 func calcAmountToPayWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
476476 let prFee = getIntegerValue(wxSwapContract, "%s__protocolFee")
477477 let pFee = getIntegerValue(wxSwapContract, "%s__poolFee")
478478 let feeScale = toBigInt(100000000)
479- let $t01359613903 = if ((assetTokenToGet == assetIdA))
479+ let $t01359613904 = if ((assetTokenToGet == assetIdA))
480480 then {
481481 let amountToPay = fraction(amountTokenToGet, balB, (balA - amountTokenToGet))
482482 $Tuple2(amountToPay, assetIdB)
483483 }
484484 else {
485485 let amountToPay = fraction(amountTokenToGet, balA, (balB - amountTokenToGet))
486486 $Tuple2(amountToPay, assetIdA)
487487 }
488- let amountToPay = $t01359613903._1
489- let assetToPay = $t01359613903._2
488+ let amountToPay = $t01359613904._1
489+ let assetToPay = $t01359613904._2
490490 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
491- $Tuple2(assetToPay, amountToPayWithFee)
491+ $Tuple2(assetToPay, fraction(amountToPayWithFee, 102, 100))
492492 }
493493
494494
495495 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
496496 then {
497- let $t01424814370 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
498- let assetToPay = $t01424814370._1
499- let amountToPay = $t01424814370._2
497+ let $t01426714389 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
498+ let assetToPay = $t01426714389._1
499+ let amountToPay = $t01426714389._2
500500 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
501501 }
502502 else {
503- let $t01454514667 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
504- let assetToPay = $t01454514667._1
505- let amountToPay = $t01454514667._2
503+ let $t01456414686 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
504+ let assetToPay = $t01456414686._1
505+ let amountToPay = $t01456414686._2
506506 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
507507 }
508508
509509
510510 func calcReplenishLPVirt (pType,pool,pmtA,aId,pmtB,bId,balA,balB) = {
511511 let poolAddr = addressFromStringValue(pool)
512512 if ((pType == SF_POOL))
513513 then {
514514 let inv = {
515515 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishDiffPropREADONLY", [toString(pmtA), toString(pmtB), "0"]], nil)
516516 if ($isInstanceOf(@, "List[Any]"))
517517 then @
518518 else throw(($getType(@) + " couldn't be cast to List[Any]"))
519519 }
520520 if ((inv == inv))
521521 then $Tuple2({
522522 let @ = inv[0]
523523 if ($isInstanceOf(@, "Int"))
524524 then @
525525 else throw(($getType(@) + " couldn't be cast to Int"))
526526 }, {
527527 let @ = inv[1]
528528 if ($isInstanceOf(@, "Int"))
529529 then @
530530 else throw(($getType(@) + " couldn't be cast to Int"))
531531 })
532532 else throw("Strict value is not equal to itself.")
533533 }
534534 else if ((pType == WX_POOL))
535535 then {
536- let $t01527015611 = if (if ((pmtA > 0))
536+ let $t01528915630 = if (if ((pmtA > 0))
537537 then (pmtB > 0)
538538 else false)
539539 then {
540- let $t01535115477 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
541- let pmtInA = $t01535115477._1
542- let pmtInB = $t01535115477._2
543- let change = $t01535115477._3
544- let changeId = $t01535115477._4
545- let lpAmount = $t01535115477._5
540+ let $t01537015496 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
541+ let pmtInA = $t01537015496._1
542+ let pmtInB = $t01537015496._2
543+ let change = $t01537015496._3
544+ let changeId = $t01537015496._4
545+ let lpAmount = $t01537015496._5
546546 $Tuple3(change, changeId, lpAmount)
547547 }
548548 else if ((pmtA > 0))
549549 then $Tuple3(pmtA, aId, 0)
550550 else $Tuple3(pmtB, bId, 0)
551- let change = $t01527015611._1
552- let changeId = $t01527015611._2
553- let lpTwo = $t01527015611._3
554- let $t01561815834 = if ((change > 0))
551+ let change = $t01528915630._1
552+ let changeId = $t01528915630._2
553+ let lpTwo = $t01528915630._3
554+ let $t01563715853 = if ((change > 0))
555555 then {
556556 let inv = {
557557 let @ = invoke(poolAddr, "putOneTknREADONLY", [changeId, change], nil)
558558 if ($isInstanceOf(@, "(Int, Int, Int)"))
559559 then @
560560 else throw(($getType(@) + " couldn't be cast to (Int, Int, Int)"))
561561 }
562562 if ((inv == inv))
563563 then $Tuple2(inv._1, inv._3)
564564 else throw("Strict value is not equal to itself.")
565565 }
566566 else $Tuple2(0, 0)
567- let lpOne = $t01561815834._1
568- let loss = $t01561815834._2
567+ let lpOne = $t01563715853._1
568+ let loss = $t01563715853._2
569569 $Tuple2((lpTwo + lpOne), loss)
570570 }
571571 else throw("Wrong pool type")
572572 }
573573
574574
575575 func calcWithdrawLPVirt (pType,pool,lpAmount,shareId,aId,bId,balA,balB,borrowAmount,borrowAssetId) = {
576576 let poolAddr = addressFromStringValue(pool)
577- let $t01612816628 = if ((pType == SF_POOL))
577+ let $t01614716647 = if ((pType == SF_POOL))
578578 then {
579579 let inv = {
580580 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(lpAmount), toString(balA), toString(balB)]], nil)
581581 if ($isInstanceOf(@, "List[Any]"))
582582 then @
583583 else throw(($getType(@) + " couldn't be cast to List[Any]"))
584584 }
585585 if ((inv == inv))
586586 then $Tuple2({
587587 let @ = inv[0]
588588 if ($isInstanceOf(@, "Int"))
589589 then @
590590 else throw(($getType(@) + " couldn't be cast to Int"))
591591 }, {
592592 let @ = inv[1]
593593 if ($isInstanceOf(@, "Int"))
594594 then @
595595 else throw(($getType(@) + " couldn't be cast to Int"))
596596 })
597597 else throw("Strict value is not equal to itself.")
598598 }
599599 else if ((pType == WX_POOL))
600600 then {
601601 let get = split({
602602 let @ = invoke(poolAddr, "evaluateGetREADONLY", [shareId, lpAmount], nil)
603603 if ($isInstanceOf(@, "String"))
604604 then @
605605 else throw(($getType(@) + " couldn't be cast to String"))
606606 }, "__")
607607 if ((get == get))
608608 then $Tuple2(parseIntValue(get[1]), parseIntValue(get[2]))
609609 else throw("Strict value is not equal to itself.")
610610 }
611611 else throw("Wrong pool type")
612- let getAmountA = $t01612816628._1
613- let getAmountB = $t01612816628._2
612+ let getAmountA = $t01614716647._1
613+ let getAmountB = $t01614716647._2
614614 if ((borrowAmount > 0))
615615 then {
616616 let amountToGetEx = if (if ((borrowAssetId == aId))
617617 then (borrowAmount > getAmountA)
618618 else false)
619619 then (borrowAmount - getAmountA)
620620 else if (if ((borrowAssetId == bId))
621621 then (borrowAmount > getAmountB)
622622 else false)
623623 then (borrowAmount - getAmountB)
624624 else 0
625- let $t01690617209 = if ((amountToGetEx > 0))
625+ let $t01692517228 = if ((amountToGetEx > 0))
626626 then if ((pType == SF_POOL))
627627 then calcAmountToPaySF(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
628628 else calcAmountToPayWX(pool, aId, bId, balA, balB, amountToGetEx, borrowAssetId)
629629 else $Tuple2("", 0)
630- let assetToPay = $t01690617209._1
631- let amountToPay = $t01690617209._2
630+ let assetToPay = $t01692517228._1
631+ let amountToPay = $t01692517228._2
632632 if ((borrowAssetId == aId))
633633 then $Tuple2(((getAmountA + amountToGetEx) - borrowAmount), (getAmountB - amountToPay))
634634 else $Tuple2((getAmountA - amountToPay), ((getAmountB + amountToGetEx) - borrowAmount))
635635 }
636636 else $Tuple2(getAmountA, getAmountB)
637637 }
638638
639639
640640 func claimFarmed (type,pool) = if ((type == SF_POOL))
641641 then {
642642 let balBefore = accountBalance(SWOPID)
643643 if ((balBefore == balBefore))
644644 then {
645645 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
646646 if ((inv == inv))
647647 then {
648648 let balAfter = accountBalance(SWOPID)
649649 $Tuple2((balAfter - balBefore), SWOPID)
650650 }
651651 else throw("Strict value is not equal to itself.")
652652 }
653653 else throw("Strict value is not equal to itself.")
654654 }
655655 else if ((type == WX_POOL))
656656 then {
657657 let balBefore = accountBalance(WXID)
658658 if ((balBefore == balBefore))
659659 then {
660660 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
661661 if ((inv == inv))
662662 then {
663663 let balAfter = accountBalance(WXID)
664664 $Tuple2((balAfter - balBefore), WXID)
665665 }
666666 else throw("Strict value is not equal to itself.")
667667 }
668668 else throw("Strict value is not equal to itself.")
669669 }
670670 else throw("Wrong pool type")
671671
672672
673673 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
674674 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
675675 if ((lpBalanceBefore == lpBalanceBefore))
676676 then {
677677 let poolAddr = addressFromStringValue(pool)
678- let $t01840618822 = if (if ((pmtA > 0))
678+ let $t01842518841 = if (if ((pmtA > 0))
679679 then (pmtB > 0)
680680 else false)
681681 then {
682- let $t01847218588 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
683- let pmtInA = $t01847218588._1
684- let pmtInB = $t01847218588._2
685- let change = $t01847218588._3
686- let changeId = $t01847218588._4
682+ let $t01849118607 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
683+ let pmtInA = $t01849118607._1
684+ let pmtInB = $t01849118607._2
685+ let change = $t01849118607._3
686+ let changeId = $t01849118607._4
687687 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
688688 if ((inv == inv))
689689 then $Tuple2(change, changeId)
690690 else throw("Strict value is not equal to itself.")
691691 }
692692 else if ((pmtA > 0))
693693 then $Tuple2(pmtA, aId)
694694 else if ((pmtB > 0))
695695 then $Tuple2(pmtB, bId)
696696 else throw("pmts must be > 0")
697- let change = $t01840618822._1
698- let changeId = $t01840618822._2
697+ let change = $t01842518841._1
698+ let changeId = $t01842518841._2
699699 let inv = if ((change > 0))
700700 then replenishOneTokenByType(poolAddr, pType, change, changeId)
701701 else nil
702702 if ((inv == inv))
703703 then {
704704 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
705705 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
706706 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
707707 let userShareForStake = (totalStaked - axlyFeeAmount)
708708 if ((0 >= userShareForStake))
709709 then throw("amount of staked sharetokens must be > 0")
710710 else {
711711 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
712712 if ((invLP == invLP))
713713 then $Tuple2(userShareForStake, axlyFeeAmount)
714714 else throw("Strict value is not equal to itself.")
715715 }
716716 }
717717 else throw("Strict value is not equal to itself.")
718718 }
719719 else throw("Strict value is not equal to itself.")
720720 }
721721
722722
723723 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
724724 let totalAmount = getPoolTotalShare(pool)
725725 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
726- let $t01968019918 = if (withLoan)
726+ let $t01969919937 = if (withLoan)
727727 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
728728 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
729- let curPoolInterest = $t01968019918._1
730- let totalStakedWithLoan = $t01968019918._2
729+ let curPoolInterest = $t01969919937._1
730+ let totalStakedWithLoan = $t01969919937._2
731731 [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))]
732732 }
733733
734734
735735 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
736736 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
737737 if ((tokenBalanceBefore == tokenBalanceBefore))
738738 then {
739739 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
740740 if ((inv == inv))
741741 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
742742 else throw("Strict value is not equal to itself.")
743743 }
744744 else throw("Strict value is not equal to itself.")
745745 }
746746
747747
748748 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
749749 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
750750 if ((tokenBalanceBefore == tokenBalanceBefore))
751751 then {
752752 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
753753 if ((inv == inv))
754754 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
755755 else throw("Strict value is not equal to itself.")
756756 }
757757 else throw("Strict value is not equal to itself.")
758758 }
759759
760760
761761 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
762762 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
763763 if ((tokenBalanceBefore == tokenBalanceBefore))
764764 then {
765765 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
766766 if ((inv == inv))
767767 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
768768 else throw("Strict value is not equal to itself.")
769769 }
770770 else throw("Strict value is not equal to itself.")
771771 }
772772
773773
774774 func capitalize (pool,pType,tokenId,tokenAmount) = {
775775 let poolAddr = Address(fromBase58String(pool))
776- let $t02226922335 = getPoolData(poolAddr, pType)
777- let AId = $t02226922335._1
778- let BId = $t02226922335._2
779- let balA = $t02226922335._3
780- let balB = $t02226922335._4
781- let shareId = $t02226922335._5
776+ let $t02228822354 = getPoolData(poolAddr, pType)
777+ let AId = $t02228822354._1
778+ let BId = $t02228822354._2
779+ let balA = $t02228822354._3
780+ let balB = $t02228822354._4
781+ let shareId = $t02228822354._5
782782 if (if ((tokenId != AId))
783783 then (tokenId != BId)
784784 else false)
785785 then throw("Wrong asset")
786786 else {
787- let $t02242022500 = if ((tokenId == AId))
787+ let $t02243922519 = if ((tokenId == AId))
788788 then $Tuple2(tokenAmount, 0)
789789 else $Tuple2(0, tokenAmount)
790- let pmtA = $t02242022500._1
791- let pmtB = $t02242022500._2
792- let $t02250322607 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
793- let stakedAmount = $t02250322607._1
794- let nf = $t02250322607._2
790+ let pmtA = $t02243922519._1
791+ let pmtB = $t02243922519._2
792+ let $t02252222626 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
793+ let stakedAmount = $t02252222626._1
794+ let nf = $t02252222626._2
795795 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
796796 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
797797 let totalShareAmount = getPoolTotalShare(pool)
798798 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
799799 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
800800 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
801801 let stakedNoLoan = (stakedAmount - stakedLoan)
802802 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
803803 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
804804 else 0
805805 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
806806 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
807807 else 0
808808 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
809809 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
810810 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
811811 if ((axlyFee == axlyFee))
812812 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))
813813 else throw("Strict value is not equal to itself.")
814814 }
815815 }
816816
817817
818818 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
819819 let poolAddr = Address(fromBase58String(pool))
820820 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
821- let $t02437524451 = getPoolData(poolAddr, pType)
822- let assetIdA = $t02437524451._1
823- let assetIdB = $t02437524451._2
824- let balA = $t02437524451._3
825- let balB = $t02437524451._4
826- let shareId = $t02437524451._5
821+ let $t02439424470 = getPoolData(poolAddr, pType)
822+ let assetIdA = $t02439424470._1
823+ let assetIdB = $t02439424470._2
824+ let balA = $t02439424470._3
825+ let balB = $t02439424470._4
826+ let shareId = $t02439424470._5
827827 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
828828 if ((cBalABefore == cBalABefore))
829829 then {
830830 let cBalBBefore = accountBalance(assetIdFromStr(assetIdB))
831831 if ((cBalBBefore == cBalBBefore))
832832 then {
833833 let inv = if ((pType == SF_POOL))
834834 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
835835 else {
836836 let inv = unstakeLP(pool, pType, shareId, userCanWithdraw)
837837 if ((inv == inv))
838838 then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
839839 else throw("Strict value is not equal to itself.")
840840 }
841841 if ((inv == inv))
842842 then {
843843 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
844844 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
845- let $t02501425103 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
846- let tokensAmountA = $t02501425103._1
847- let tokensAmountB = $t02501425103._2
848- let $t02510625926 = if ((debt > 0))
845+ let $t02503325122 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
846+ let tokensAmountA = $t02503325122._1
847+ let tokensAmountB = $t02503325122._2
848+ let $t02512525945 = if ((debt > 0))
849849 then {
850850 let amountToGetEx = if (if ((borrowAsset == assetIdA))
851851 then (debt > tokensAmountA)
852852 else false)
853853 then (debt - tokensAmountA)
854854 else if (if ((borrowAsset == assetIdB))
855855 then (debt > tokensAmountB)
856856 else false)
857857 then (debt - tokensAmountB)
858858 else 0
859859 let exInv = if ((amountToGetEx > 0))
860860 then exchangeDirectly(pType, pool, assetIdA, assetIdB, balA, balB, amountToGetEx, borrowAsset)
861861 else 0
862862 if ((exInv == exInv))
863863 then {
864864 let cBalAAfterRepay = accountBalance(assetIdFromStr(assetIdA))
865865 let cBalBAfterRepay = accountBalance(assetIdFromStr(assetIdB))
866866 if ((borrowAsset == assetIdA))
867867 then $Tuple2(((cBalAAfterRepay - cBalABefore) - debt), (cBalBAfterRepay - cBalBBefore))
868868 else $Tuple2((cBalAAfterRepay - cBalABefore), ((cBalBAfterRepay - cBalBBefore) - debt))
869869 }
870870 else throw("Strict value is not equal to itself.")
871871 }
872872 else $Tuple2(tokensAmountA, tokensAmountB)
873- let toUserA = $t02510625926._1
874- let toUserB = $t02510625926._2
873+ let toUserA = $t02512525945._1
874+ let toUserB = $t02512525945._2
875875 $Tuple7(toUserA, assetIdA, toUserB, assetIdB, cBalAAfter, cBalBAfter, shareId)
876876 }
877877 else throw("Strict value is not equal to itself.")
878878 }
879879 else throw("Strict value is not equal to itself.")
880880 }
881881 else throw("Strict value is not equal to itself.")
882882 }
883883
884884
885885 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
886886 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
887887 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
888888 let poolInterest = if (borrowed)
889889 then getIntegerValue(this, (pool + kPoolInterestLoan))
890890 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
891891 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
892892 }
893893
894894
895895 func withdrawToUser (user,pool,posId,stopLoss) = {
896896 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
897897 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0)
898898 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
899899 let poolTotalShare = getPoolTotalShare(pool)
900900 let userAddr = Address(fromBase58String(user))
901901 let borrowAsset = valueOrElse(getString(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId)), "")
902902 let debt = if ((borrowAmount > 0))
903903 then {
904904 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posId), borrowAsset], nil)
905905 if ($isInstanceOf(@, "Int"))
906906 then @
907907 else throw(($getType(@) + " couldn't be cast to Int"))
908908 }
909909 else 0
910- let $t02731427467 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
911- if (($t02731427467 == $t02731427467))
910+ let $t02733327486 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
911+ if (($t02733327486 == $t02733327486))
912912 then {
913- let shareId = $t02731427467._7
914- let cBalBAfter = $t02731427467._6
915- let cBalAAfter = $t02731427467._5
916- let assetIdB = $t02731427467._4
917- let toUserAmountB = $t02731427467._3
918- let assetIdA = $t02731427467._2
919- let toUserAmountA = $t02731427467._1
913+ let shareId = $t02733327486._7
914+ let cBalBAfter = $t02733327486._6
915+ let cBalAAfter = $t02733327486._5
916+ let assetIdB = $t02733327486._4
917+ let toUserAmountB = $t02733327486._3
918+ let assetIdA = $t02733327486._2
919+ let toUserAmountA = $t02733327486._1
920920 let closeDbtInv = if ((debt > 0))
921921 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
922922 else 0
923923 if ((closeDbtInv == closeDbtInv))
924924 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))
925925 else throw("Strict value is not equal to itself.")
926926 }
927927 else throw("Strict value is not equal to itself.")
928928 }
929929
930930
931931 func parseRequest (requestId) = {
932932 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
933933 let user = request[0]
934934 let pool = request[1]
935935 let pmtA = parseIntValue(request[2])
936936 let AId = request[3]
937937 let pmtB = parseIntValue(request[4])
938938 let BId = request[5]
939939 let balA = parseIntValue(request[6])
940940 let balB = parseIntValue(request[7])
941941 let shareId = request[8]
942942 let bwAsset = request[9]
943943 let bwAmount = parseIntValue(request[10])
944944 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
945945 }
946946
947947
948948 func calcBorrowAmount (pmtA,pmtB,aId,bId,leverage,borrowId) = {
949949 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [aId, false], nil)
950950 if ($isInstanceOf(@, "(Int, Int)"))
951951 then @
952952 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
953953 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [bId, false], nil)
954954 if ($isInstanceOf(@, "(Int, Int)"))
955955 then @
956956 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
957957 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
958958 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
959959 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
960- let $t02915329250 = if ((borrowId == aId))
960+ let $t02917229269 = if ((borrowId == aId))
961961 then $Tuple2(dPriceA, decPrA)
962962 else $Tuple2(dPriceB, decPrB)
963- let borrowPrice = $t02915329250._1
964- let borrowDecPr = $t02915329250._2
963+ let borrowPrice = $t02917229269._1
964+ let borrowDecPr = $t02917229269._2
965965 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
966966 }
967967
968968
969969 @Callable(i)
970970 func calcPriceImpactEVALONLY (pool,leverage,borrowId,pmtA,pmtB) = if (if ((100 > leverage))
971971 then true
972972 else (leverage > 300))
973973 then throw("Leverage can't be <100 and >300")
974974 else {
975975 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
976- let $t02966829758 = getPoolData(Address(fromBase58String(pool)), pType)
977- let AId = $t02966829758._1
978- let BId = $t02966829758._2
979- let balA = $t02966829758._3
980- let balB = $t02966829758._4
981- let shareId = $t02966829758._5
976+ let $t02968729777 = getPoolData(Address(fromBase58String(pool)), pType)
977+ let AId = $t02968729777._1
978+ let BId = $t02968729777._2
979+ let balA = $t02968729777._3
980+ let balB = $t02968729777._4
981+ let shareId = $t02968729777._5
982982 let borrowAmount = if ((leverage > 100))
983983 then calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
984984 else 0
985- let $t02989330000 = if ((borrowId == AId))
985+ let $t02991230019 = if ((borrowId == AId))
986986 then $Tuple2((pmtA + borrowAmount), pmtB)
987987 else $Tuple2(pmtA, (pmtB + borrowAmount))
988- let payInA = $t02989330000._1
989- let payInB = $t02989330000._2
990- let $t03000330096 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
991- let lpAmount = $t03000330096._1
992- let loss = $t03000330096._2
988+ let payInA = $t02991230019._1
989+ let payInB = $t02991230019._2
990+ let $t03002230115 = calcReplenishLPVirt(pType, pool, payInA, AId, payInB, BId, balA, balB)
991+ let lpAmount = $t03002230115._1
992+ let loss = $t03002230115._2
993993 let impactMod = if ((0 > loss))
994994 then (loss * -1)
995995 else loss
996996 $Tuple2(nil, [impactMod])
997997 }
998998
999999
10001000
10011001 @Callable(i)
10021002 func getShareAssetPriceREADONLY (shareId) = {
10031003 let sharePrices = getSharePrice(shareId)
10041004 $Tuple2(nil, sharePrices)
10051005 }
10061006
10071007
10081008
10091009 @Callable(i)
10101010 func getUserPositionShareAmountREADONLY (user,posNum) = {
10111011 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
10121012 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
10131013 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
10141014 $Tuple2(nil, userCanWithdraw)
10151015 }
10161016
10171017
10181018
10191019 @Callable(i)
10201020 func getUserPositionInDollarsREADONLY (user,pools,posNum) = {
10211021 func userPos (a,pool) = {
1022- let $t03090930943 = a
1023- let totalPos = $t03090930943._1
1024- let posDebt = $t03090930943._2
1025- let index = $t03090930943._3
1022+ let $t03092830962 = a
1023+ let totalPos = $t03092830962._1
1024+ let posDebt = $t03092830962._2
1025+ let index = $t03092830962._3
10261026 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1027- let $t03103531125 = getPoolData(Address(fromBase58String(pool)), pType)
1028- let AId = $t03103531125._1
1029- let BId = $t03103531125._2
1030- let balA = $t03103531125._3
1031- let balB = $t03103531125._4
1032- let shareId = $t03103531125._5
1027+ let $t03105431144 = getPoolData(Address(fromBase58String(pool)), pType)
1028+ let AId = $t03105431144._1
1029+ let BId = $t03105431144._2
1030+ let balA = $t03105431144._3
1031+ let balB = $t03105431144._4
1032+ let shareId = $t03105431144._5
10331033 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
10341034 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
10351035 let sharePrices = getSharePrice(shareId)
10361036 let decPrShare = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
10371037 let shareD = fraction(userCanWithdraw, sharePrices, decPrShare)
10381038 if ((borrowAmount == 0))
10391039 then $Tuple3((totalPos :+ shareD), (posDebt :+ 0), (index + 1))
10401040 else {
10411041 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAssetId))
10421042 let debt = {
10431043 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posNum[index]), borrowAsset], nil)
10441044 if ($isInstanceOf(@, "Int"))
10451045 then @
10461046 else throw(($getType(@) + " couldn't be cast to Int"))
10471047 }
10481048 let borrowAssetPrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [borrowAsset, false], nil)
10491049 if ($isInstanceOf(@, "(Int, Int)"))
10501050 then @
10511051 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
10521052 let decPrBorrowId = pow(10, 0, getAssetDecimals(borrowAsset), 0, 0, DOWN)
10531053 let debtD = fraction(debt, borrowAssetPrice, decPrBorrowId)
10541054 $Tuple3((totalPos :+ shareD), (posDebt :+ debtD), (index + 1))
10551055 }
10561056 }
10571057
1058- let $t03216832223 = {
1058+ let $t03218732242 = {
10591059 let $l = pools
10601060 let $s = size($l)
10611061 let $acc0 = $Tuple3(nil, nil, 0)
10621062 func $f0_1 ($a,$i) = if (($i >= $s))
10631063 then $a
10641064 else userPos($a, $l[$i])
10651065
10661066 func $f0_2 ($a,$i) = if (($i >= $s))
10671067 then $a
10681068 else throw("List size exceeds 20")
10691069
10701070 $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)
10711071 }
1072- let pos = $t03216832223._1
1073- let debt = $t03216832223._2
1072+ let pos = $t03218732242._1
1073+ let debt = $t03218732242._2
10741074 $Tuple2(nil, $Tuple2(pos, debt))
10751075 }
10761076
10771077
10781078
10791079 @Callable(i)
10801080 func replenish (pool,leverage,borrowId) = if (if ((100 > leverage))
10811081 then true
10821082 else (leverage > 300))
10831083 then throw("Leverage can't be <100 and >300")
10841084 else {
10851085 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1086- let $t03254632636 = getPoolData(Address(fromBase58String(pool)), pType)
1087- let AId = $t03254632636._1
1088- let BId = $t03254632636._2
1089- let balA = $t03254632636._3
1090- let balB = $t03254632636._4
1091- let shareId = $t03254632636._5
1092- let $t03263933276 = if ((size(i.payments) == 2))
1086+ let $t03256532655 = getPoolData(Address(fromBase58String(pool)), pType)
1087+ let AId = $t03256532655._1
1088+ let BId = $t03256532655._2
1089+ let balA = $t03256532655._3
1090+ let balB = $t03256532655._4
1091+ let shareId = $t03256532655._5
1092+ let $t03265833295 = if ((size(i.payments) == 2))
10931093 then if ((assetIdToStr(i.payments[0].assetId) != AId))
10941094 then throw("Wrong payment asset A")
10951095 else if ((assetIdToStr(i.payments[1].assetId) != BId))
10961096 then throw("Wrong payment asset B")
10971097 else $Tuple4(i.payments[0].amount, AId, i.payments[1].amount, BId)
10981098 else if ((size(i.payments) == 1))
10991099 then if ((assetIdToStr(i.payments[0].assetId) == AId))
11001100 then $Tuple4(i.payments[0].amount, AId, 0, BId)
11011101 else if ((assetIdToStr(i.payments[0].assetId) == BId))
11021102 then $Tuple4(0, AId, i.payments[0].amount, BId)
11031103 else throw("Wrong payment")
11041104 else throw("One or two payments expected")
1105- let pmtA = $t03263933276._1
1106- let pmtAssetA = $t03263933276._2
1107- let pmtB = $t03263933276._3
1108- let pmtAssetB = $t03263933276._4
1105+ let pmtA = $t03265833295._1
1106+ let pmtAssetA = $t03265833295._2
1107+ let pmtB = $t03265833295._3
1108+ let pmtAssetB = $t03265833295._4
11091109 let newPosNum = getNewUserPositionNumber(toString(i.caller))
11101110 if ((leverage > 100))
11111111 then {
11121112 let borrowAmount = calcBorrowAmount(pmtA, pmtB, pmtAssetA, pmtAssetB, leverage, borrowId)
11131113 let request = makeString([toString(i.caller), pool, toString(pmtA), pmtAssetA, toString(pmtB), pmtAssetB, toString(balA), toString(balB), shareId, borrowId, toString(borrowAmount)], ",")
11141114 let newRequestId = {
11151115 let @ = invoke(this, "createNewRequest", [request], nil)
11161116 if ($isInstanceOf(@, "Int"))
11171117 then @
11181118 else throw(($getType(@) + " couldn't be cast to Int"))
11191119 }
11201120 if ((newRequestId == newRequestId))
11211121 then {
11221122 let args = [((toString(i.caller) + "_") + toString(newPosNum)), shareId, borrowId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
11231123 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
11241124 if ((inv == inv))
11251125 then nil
11261126 else throw("Strict value is not equal to itself.")
11271127 }
11281128 else throw("Strict value is not equal to itself.")
11291129 }
11301130 else {
1131- let $t03420434316 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132- let userStaked = $t03420434316._1
1133- let axlyFee = $t03420434316._2
1131+ let $t03422334335 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132+ let userStaked = $t03422334335._1
1133+ let axlyFee = $t03422334335._2
11341134 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
11351135 }
11361136 }
11371137
11381138
11391139
11401140 @Callable(i)
11411141 func withdraw (pool,posId) = withdrawToUser(toString(i.caller), pool, toString(posId), false)
11421142
11431143
11441144
11451145 @Callable(i)
11461146 func createUpdateStopLoss (posId,poolId,assetId,price) = {
11471147 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
11481148 if ($isInstanceOf(@, "(Int, Int)"))
11491149 then @
11501150 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
11511151 if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
11521152 then throw("There are no user position")
11531153 else if ((0 >= price))
11541154 then throw("Price must be greater than 0")
11551155 else if ((price > tokenOraclePrice))
11561156 then throw("Price must be less than current token price")
11571157 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
11581158 }
11591159
11601160
11611161
11621162 @Callable(i)
11631163 func deleteStopLoss (posId,poolId,assetId) = if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
11641164 then throw("No entry")
11651165 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
11661166
11671167
11681168
11691169 @Callable(i)
11701170 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
11711171 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
11721172 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
11731173 })
11741174
11751175
11761176
11771177 @Callable(i)
11781178 func replenishFromLand (requestId) = valueOrElse(isLandCall(i), {
1179- let $t03606936173 = parseRequest(requestId)
1180- let user = $t03606936173._1
1181- let pool = $t03606936173._2
1182- let pmtA = $t03606936173._3
1183- let AId = $t03606936173._4
1184- let pmtB = $t03606936173._5
1185- let BId = $t03606936173._6
1186- let balA = $t03606936173._7
1187- let balB = $t03606936173._8
1188- let shareId = $t03606936173._9
1189- let bwAsset = $t03606936173._10
1190- let bwAmount = $t03606936173._11
1179+ let $t03608836192 = parseRequest(requestId)
1180+ let user = $t03608836192._1
1181+ let pool = $t03608836192._2
1182+ let pmtA = $t03608836192._3
1183+ let AId = $t03608836192._4
1184+ let pmtB = $t03608836192._5
1185+ let BId = $t03608836192._6
1186+ let balA = $t03608836192._7
1187+ let balB = $t03608836192._8
1188+ let shareId = $t03608836192._9
1189+ let bwAsset = $t03608836192._10
1190+ let bwAmount = $t03608836192._11
11911191 if ((size(i.payments) != 1))
11921192 then throw("Wrong payment size")
11931193 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
11941194 then true
11951195 else (i.payments[0].amount != bwAmount))
11961196 then throw("Wrong payment")
11971197 else {
1198- let $t03636336487 = if ((AId == bwAsset))
1198+ let $t03638236506 = if ((AId == bwAsset))
11991199 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
12001200 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
1201- let pmtAllA = $t03636336487._1
1202- let pmtAllB = $t03636336487._2
1201+ let pmtAllA = $t03638236506._1
1202+ let pmtAllB = $t03638236506._2
12031203 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
1204- let $t03656936684 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1205- let userStaked = $t03656936684._1
1206- let axlyFee = $t03656936684._2
1204+ let $t03658836703 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
1205+ let userStaked = $t03658836703._1
1206+ let axlyFee = $t03658836703._2
12071207 let posNum = getNewUserPositionNumber(user)
12081208 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
12091209 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
12101210 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId)) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
12111211 }
12121212 })
12131213
12141214
12151215
12161216 @Callable(i)
12171217 func liquidate (user,posId,liquidateAmount) = valueOrElse(isLandCall(i), {
12181218 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
12191219 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1220- let $t03746337553 = getPoolData(Address(fromBase58String(pool)), pType)
1221- let AId = $t03746337553._1
1222- let BId = $t03746337553._2
1223- let balA = $t03746337553._3
1224- let balB = $t03746337553._4
1225- let shareId = $t03746337553._5
1220+ let $t03748237572 = getPoolData(Address(fromBase58String(pool)), pType)
1221+ let AId = $t03748237572._1
1222+ let BId = $t03748237572._2
1223+ let balA = $t03748237572._3
1224+ let balB = $t03748237572._4
1225+ let shareId = $t03748237572._5
12261226 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
12271227 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
12281228 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
12291229 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
12301230 if ((borrowAmount == 0))
12311231 then throw("You can't liquidate position without borrow")
12321232 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))]
12331233 })
12341234
12351235
12361236
12371237 @Callable(i)
12381238 func stopLoss (user,posId,pool,assetId) = valueOrElse(isAdminCall(i), {
12391239 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
12401240 if ($isInstanceOf(@, "(Int, Int)"))
12411241 then @
12421242 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
12431243 if (!(isDefined(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))))
12441244 then throw("No entry")
12451245 else (withdrawToUser(toString(i.caller), pool, toString(posId), true) :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))
12461246 })
12471247
12481248
12491249
12501250 @Callable(i)
12511251 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isAdminCall(i), {
1252- let $t03933939533 = if (claim)
1252+ let $t03935839552 = if (claim)
12531253 then claimFarmed(type, pool)
12541254 else {
12551255 let claimedAsset = if ((type == SF_POOL))
12561256 then SWOPID
12571257 else WXID
12581258 $Tuple2(amountToExchange, claimedAsset)
12591259 }
1260- let claimedAmount = $t03933939533._1
1261- let claimedAsset = $t03933939533._2
1260+ let claimedAmount = $t03935839552._1
1261+ let claimedAsset = $t03935839552._2
12621262 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
12631263 let change = (claimedAmount - amountToExchange)
12641264 let changeEntry = if ((change > 0))
12651265 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
12661266 else nil
12671267 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
12681268 })
12691269
12701270
12711271
12721272 @Callable(i)
12731273 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isAdminCall(i), {
1274- let $t04021840412 = if (claim)
1274+ let $t04023740431 = if (claim)
12751275 then claimFarmed(type, pool)
12761276 else {
12771277 let claimedAsset = if ((type == SF_POOL))
12781278 then SWOPID
12791279 else WXID
12801280 $Tuple2(amountToExchange, claimedAsset)
12811281 }
1282- let claimedAmount = $t04021840412._1
1283- let claimedAsset = $t04021840412._2
1282+ let claimedAmount = $t04023740431._1
1283+ let claimedAsset = $t04023740431._2
12841284 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
12851285 let change = (claimedAmount - amountToExchange)
12861286 let changeEntry = if ((change > 0))
12871287 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
12881288 else nil
12891289 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
12901290 })
12911291
12921292
12931293
12941294 @Callable(i)
12951295 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isAdminCall(i), {
1296- let $t04116341357 = if (claim)
1296+ let $t04118241376 = if (claim)
12971297 then claimFarmed(type, pool)
12981298 else {
12991299 let claimedAsset = if ((type == SF_POOL))
13001300 then SWOPID
13011301 else WXID
13021302 $Tuple2(amountToExchange, claimedAsset)
13031303 }
1304- let claimedAmount = $t04116341357._1
1305- let claimedAsset = $t04116341357._2
1304+ let claimedAmount = $t04118241376._1
1305+ let claimedAsset = $t04118241376._2
13061306 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
13071307 let change = (claimedAmount - amountToExchange)
13081308 let changeEntry = if ((change > 0))
13091309 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
13101310 else nil
13111311 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
13121312 })
13131313
13141314
13151315
13161316 @Callable(i)
13171317 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan) = valueOrElse(isAdminCall(i), if (if ((type != SF_POOL))
13181318 then (type != WX_POOL)
13191319 else false)
13201320 then throw("Wrong type")
13211321 else {
1322- let $t04207842172 = getPoolData(Address(fromBase58String(poolAddr)), type)
1323- let aId = $t04207842172._1
1324- let bId = $t04207842172._2
1325- let aBal = $t04207842172._3
1326- let bBal = $t04207842172._4
1327- let shareId = $t04207842172._5
1322+ let $t04209742191 = getPoolData(Address(fromBase58String(poolAddr)), type)
1323+ let aId = $t04209742191._1
1324+ let bId = $t04209742191._2
1325+ let aBal = $t04209742191._3
1326+ let bBal = $t04209742191._4
1327+ let shareId = $t04209742191._5
13281328 [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)]
13291329 })
13301330
13311331
13321332 @Verifier(tx)
13331333 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
13341334

github/deemru/w8io/026f985 
172.44 ms