tx · 9iyRDGq9AmPAw1V1xH1xFRY8BWWqf1ayj2G8E8o3remX

3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS:  -0.04100000 Waves

2023.06.02 12:52 [2604906] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves

{ "type": 13, "id": "9iyRDGq9AmPAw1V1xH1xFRY8BWWqf1ayj2G8E8o3remX", "fee": 4100000, "feeAssetId": null, "timestamp": 1685699575528, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "2BpceNoxicbvH84Q4TZCckpXvYXuhks1dPgSASMyq5rQ5qL4AFXGAW6k3YYXQG113vKFdkxt5K39ueF24SR7jf5S" ], "script": "base64:BgKRAQgCEgcKBQgBCAEBEgMKAQgSBAoCCAgSBQoDCAEIEgMKAQgSBAoCCAESBgoEAQgIARIFCgMBCAgSAwoBCBIGCgQIAQgIEgUKAwgIARIOCgwICAgBBBEYGBEBARgSCgoICAgIAQQIARgSDgoMCAgIAQQYGBgYGAEYEgoKCAgIAQEBAQEBEgYKBAgICAESBAoCCAheAAdTRl9QT09MAgJTRgAHV1hfUE9PTAICV1gAD0NBUF9GRUVfTk9fTE9BTgIJY2FwTm9Mb2FuAAxDQVBfRkVFX0xPQU4CB2NhcExvYW4AFFNUT1BMT1NTX0ZFRV9OT19MT0FOAg5zdG9wTG9zc05vTG9hbgANU1RPUExPU1NfTE9BTgIMc3RvcExvc3NMb2FuAAhMT0FOX0ZFRQIEbG9hbgALTk9fTE9BTl9GRUUCBm5vTG9hbgAGTk9fRkVFAgVub0ZlZQAGU0NBTEU4AIDC1y8AB1NDQUxFMTAAgMivoCUACkZFRV9TQ0FMRTYAwIQ9ABRrU0ZQb29sQUFzc2V0QmFsYW5jZQIPQV9hc3NldF9iYWxhbmNlABRrU0ZQb29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CQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleWFi8HE=", "height": 2604906, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 941vrTeUjwWmL1cCBdmzvQU4WwwqG8qJFJ286qfdzUos Next: 2szVvhZHxNDWnGNY8y6Hv96vaFUt1Td7q715sDs8LFzT Diff:
OldNewDifferences
677677 then {
678678 let inv = if ((pType == SF_POOL))
679679 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
680- else if ((pType == WX_POOL))
681- then invoke(poolAddr, "unstakeAndGet", [userCanWithdraw], nil)
682- else throw("Wrong position type")
680+ else {
681+ let inv = unstakeLP(pool, pType, shareId, userCanWithdraw)
682+ if ((inv == inv))
683+ then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
684+ else throw("Strict value is not equal to itself.")
685+ }
683686 if ((inv == inv))
684687 then {
685688 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
686689 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
687- let $t02241922508 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
688- let tokensAmountA = $t02241922508._1
689- let tokensAmountB = $t02241922508._2
690- let $t02251123207 = if ((debt > 0))
690+ let $t02247022559 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
691+ let tokensAmountA = $t02247022559._1
692+ let tokensAmountB = $t02247022559._2
693+ let $t02256223258 = if ((debt > 0))
691694 then {
692695 let amountToGetEx = if (if ((borrowAsset == assetIdA))
693696 then (debt > tokensAmountA)
710713 else throw("Strict value is not equal to itself.")
711714 }
712715 else $Tuple2(tokensAmountA, tokensAmountB)
713- let toUserAmountA = $t02251123207._1
714- let toUserAmountB = $t02251123207._2
716+ let toUserAmountA = $t02256223258._1
717+ let toUserAmountB = $t02256223258._2
715718 $Tuple7(toUserAmountA, assetIdA, toUserAmountB, assetIdB, cBalAAfter, cBalBAfter, shareId)
716719 }
717720 else throw("Strict value is not equal to itself.")
748751 else throw(($getType(@) + " couldn't be cast to Int"))
749752 }
750753 else 0
751- let $t02471924872 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
752- if (($t02471924872 == $t02471924872))
754+ let $t02477024923 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
755+ if (($t02477024923 == $t02477024923))
753756 then {
754- let shareId = $t02471924872._7
755- let cBalBAfter = $t02471924872._6
756- let cBalAAfter = $t02471924872._5
757- let assetIdB = $t02471924872._4
758- let toUserAmountB = $t02471924872._3
759- let assetIdA = $t02471924872._2
760- let toUserAmountA = $t02471924872._1
757+ let shareId = $t02477024923._7
758+ let cBalBAfter = $t02477024923._6
759+ let cBalAAfter = $t02477024923._5
760+ let assetIdB = $t02477024923._4
761+ let toUserAmountB = $t02477024923._3
762+ let assetIdA = $t02477024923._2
763+ let toUserAmountA = $t02477024923._1
761764 let closeDbtInv = if ((debt > 0))
762765 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
763766 else 0
793796 then throw("Leverage can't be <100 and >300")
794797 else {
795798 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
796- let $t02638426474 = getPoolData(Address(fromBase58String(pool)), pType)
797- let AId = $t02638426474._1
798- let BId = $t02638426474._2
799- let balA = $t02638426474._3
800- let balB = $t02638426474._4
801- let shareId = $t02638426474._5
799+ let $t02643526525 = getPoolData(Address(fromBase58String(pool)), pType)
800+ let AId = $t02643526525._1
801+ let BId = $t02643526525._2
802+ let balA = $t02643526525._3
803+ let balB = $t02643526525._4
804+ let shareId = $t02643526525._5
802805 let borrowAmount = if ((leverage > 100))
803806 then {
804807 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [AId, false], nil)
816819 (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
817820 }
818821 else 0
819- let $t02704527157 = if ((borrowAssetId == AId))
822+ let $t02709627208 = if ((borrowAssetId == AId))
820823 then $Tuple2((pmtA + borrowAmount), pmtB)
821824 else $Tuple2(pmtA, (pmtB + borrowAmount))
822- let payInA = $t02704527157._1
823- let payInB = $t02704527157._2
825+ let payInA = $t02709627208._1
826+ let payInB = $t02709627208._2
824827 let lpAmount = calcReplanishLPVirt(pType, pool, pmtA, AId, pmtB, BId, balA, balB)
825828 nil
826829 }
852855 then throw("Leverage can't be <100 and >300")
853856 else {
854857 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
855- let $t02868828778 = getPoolData(Address(fromBase58String(pool)), pType)
856- let AId = $t02868828778._1
857- let BId = $t02868828778._2
858- let balA = $t02868828778._3
859- let balB = $t02868828778._4
860- let shareId = $t02868828778._5
861- let $t02878129418 = if ((size(i.payments) == 2))
858+ let $t02873928829 = getPoolData(Address(fromBase58String(pool)), pType)
859+ let AId = $t02873928829._1
860+ let BId = $t02873928829._2
861+ let balA = $t02873928829._3
862+ let balB = $t02873928829._4
863+ let shareId = $t02873928829._5
864+ let $t02883229469 = if ((size(i.payments) == 2))
862865 then if ((assetIdToStr(i.payments[0].assetId) != AId))
863866 then throw("Wrong payment asset A")
864867 else if ((assetIdToStr(i.payments[1].assetId) != BId))
871874 then $Tuple4(0, AId, i.payments[0].amount, BId)
872875 else throw("Wrong payment")
873876 else throw("One or two payments expected")
874- let pmtA = $t02878129418._1
875- let pmtAssetA = $t02878129418._2
876- let pmtB = $t02878129418._3
877- let pmtAssetB = $t02878129418._4
877+ let pmtA = $t02883229469._1
878+ let pmtAssetA = $t02883229469._2
879+ let pmtB = $t02883229469._3
880+ let pmtAssetB = $t02883229469._4
878881 let newPosNum = getNewUserPositionNumber(pool, toString(i.caller))
879882 if ((leverage > 100))
880883 then {
909912 else throw("Strict value is not equal to itself.")
910913 }
911914 else {
912- let $t03080130913 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
913- let userStaked = $t03080130913._1
914- let axlyFee = $t03080130913._2
915+ let $t03085230964 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
916+ let userStaked = $t03085230964._1
917+ let axlyFee = $t03085230964._2
915918 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
916919 }
917920 }
920923
921924 @Callable(i)
922925 func replenishFromLand (requestId) = {
923- let $t03112431228 = parseRequest(requestId)
924- let user = $t03112431228._1
925- let pool = $t03112431228._2
926- let pmtA = $t03112431228._3
927- let AId = $t03112431228._4
928- let pmtB = $t03112431228._5
929- let BId = $t03112431228._6
930- let balA = $t03112431228._7
931- let balB = $t03112431228._8
932- let shareId = $t03112431228._9
933- let bwAsset = $t03112431228._10
934- let bwAmount = $t03112431228._11
926+ let $t03117531279 = parseRequest(requestId)
927+ let user = $t03117531279._1
928+ let pool = $t03117531279._2
929+ let pmtA = $t03117531279._3
930+ let AId = $t03117531279._4
931+ let pmtB = $t03117531279._5
932+ let BId = $t03117531279._6
933+ let balA = $t03117531279._7
934+ let balB = $t03117531279._8
935+ let shareId = $t03117531279._9
936+ let bwAsset = $t03117531279._10
937+ let bwAmount = $t03117531279._11
935938 if ((size(i.payments) != 1))
936939 then throw("Wrong payment size")
937940 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
939942 else (i.payments[0].amount != bwAmount))
940943 then throw("Wrong payment")
941944 else {
942- let $t03141831542 = if ((AId == bwAsset))
945+ let $t03146931593 = if ((AId == bwAsset))
943946 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
944947 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
945- let pmtAllA = $t03141831542._1
946- let pmtAllB = $t03141831542._2
948+ let pmtAllA = $t03146931593._1
949+ let pmtAllB = $t03146931593._2
947950 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
948- let $t03162431733 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
949- let userStaked = $t03162431733._1
950- let axlyFee = $t03162431733._2
951+ let $t03167531784 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
952+ let userStaked = $t03167531784._1
953+ let axlyFee = $t03167531784._2
951954 let posNum = getNewUserPositionNumber(pool, toString(i.caller))
952955 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
953956 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
10111014 func liquidate (user,posId,liquidateAmount) = {
10121015 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
10131016 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1014- let $t03451634606 = getPoolData(Address(fromBase58String(pool)), pType)
1015- let AId = $t03451634606._1
1016- let BId = $t03451634606._2
1017- let balA = $t03451634606._3
1018- let balB = $t03451634606._4
1019- let shareId = $t03451634606._5
1017+ let $t03456734657 = getPoolData(Address(fromBase58String(pool)), pType)
1018+ let AId = $t03456734657._1
1019+ let BId = $t03456734657._2
1020+ let balA = $t03456734657._3
1021+ let balB = $t03456734657._4
1022+ let shareId = $t03456734657._5
10201023 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
10211024 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
10221025 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
10301033
10311034 @Callable(i)
10321035 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
1033- let $t03594636140 = if (claim)
1036+ let $t03599736191 = if (claim)
10341037 then claimFarmed(type, pool)
10351038 else {
10361039 let claimedAsset = if ((type == SF_POOL))
10381041 else WXID
10391042 $Tuple2(amountToExchange, claimedAsset)
10401043 }
1041- let claimedAmount = $t03594636140._1
1042- let claimedAsset = $t03594636140._2
1044+ let claimedAmount = $t03599736191._1
1045+ let claimedAsset = $t03599736191._2
10431046 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
10441047 let change = (claimedAmount - amountToExchange)
10451048 let changeEntry = if ((change > 0))
10521055
10531056 @Callable(i)
10541057 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = {
1055- let $t03679736991 = if (claim)
1058+ let $t03684837042 = if (claim)
10561059 then claimFarmed(type, pool)
10571060 else {
10581061 let claimedAsset = if ((type == SF_POOL))
10601063 else WXID
10611064 $Tuple2(amountToExchange, claimedAsset)
10621065 }
1063- let claimedAmount = $t03679736991._1
1064- let claimedAsset = $t03679736991._2
1066+ let claimedAmount = $t03684837042._1
1067+ let claimedAsset = $t03684837042._2
10651068 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
10661069 let change = (claimedAmount - amountToExchange)
10671070 let changeEntry = if ((change > 0))
10741077
10751078 @Callable(i)
10761079 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
1077- let $t03771437908 = if (claim)
1080+ let $t03776537959 = if (claim)
10781081 then claimFarmed(type, pool)
10791082 else {
10801083 let claimedAsset = if ((type == SF_POOL))
10821085 else WXID
10831086 $Tuple2(amountToExchange, claimedAsset)
10841087 }
1085- let claimedAmount = $t03771437908._1
1086- let claimedAsset = $t03771437908._2
1088+ let claimedAmount = $t03776537959._1
1089+ let claimedAsset = $t03776537959._2
10871090 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
10881091 let change = (claimedAmount - amountToExchange)
10891092 let changeEntry = if ((change > 0))
11001103 else false)
11011104 then throw("Wrong type")
11021105 else {
1103- let $t03860138695 = getPoolData(Address(fromBase58String(poolAddr)), type)
1104- let aId = $t03860138695._1
1105- let bId = $t03860138695._2
1106- let aBal = $t03860138695._3
1107- let bBal = $t03860138695._4
1108- let shareId = $t03860138695._5
1106+ let $t03865238746 = getPoolData(Address(fromBase58String(poolAddr)), type)
1107+ let aId = $t03865238746._1
1108+ let bId = $t03865238746._2
1109+ let aBal = $t03865238746._3
1110+ let bBal = $t03865238746._4
1111+ let shareId = $t03865238746._5
11091112 [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)]
11101113 }
11111114
11141117 @Callable(i)
11151118 func capitalizeTest (pool,pType,tokenId,tokenAmount) = {
11161119 let poolAddr = Address(fromBase58String(pool))
1117- let $t03949139570 = getPoolData(poolAddr, pType)
1118- let AId = $t03949139570._1
1119- let BId = $t03949139570._2
1120- let balA = $t03949139570._3
1121- let balB = $t03949139570._4
1122- let shareId = $t03949139570._5
1123- let $t03957339653 = if ((tokenId == AId))
1120+ let $t03954239621 = getPoolData(poolAddr, pType)
1121+ let AId = $t03954239621._1
1122+ let BId = $t03954239621._2
1123+ let balA = $t03954239621._3
1124+ let balB = $t03954239621._4
1125+ let shareId = $t03954239621._5
1126+ let $t03962439704 = if ((tokenId == AId))
11241127 then $Tuple2(tokenAmount, 0)
11251128 else $Tuple2(0, tokenAmount)
1126- let pmtA = $t03957339653._1
1127- let pmtB = $t03957339653._2
1128- let $t03965639760 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1129- let stakedAmount = $t03965639760._1
1130- let nf = $t03965639760._2
1129+ let pmtA = $t03962439704._1
1130+ let pmtB = $t03962439704._2
1131+ let $t03970739811 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132+ let stakedAmount = $t03970739811._1
1133+ let nf = $t03970739811._2
11311134 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
11321135 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
11331136 let totalShareAmount = getPoolTotalShare(pool)
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 FEE_SCALE6 = 1000000
2727
2828 let kSFPoolAAssetBalance = "A_asset_balance"
2929
3030 let kSFPoolBAssetBalance = "B_asset_balance"
3131
3232 let kSFPoolAAssetId = "A_asset_id"
3333
3434 let kSFPoolBAssetId = "B_asset_id"
3535
3636 let kSFPoolShareId = "share_asset_id"
3737
3838 let kSFPoolShareSupply = "share_asset_supply"
3939
4040 let kSFPoolFee = "commission"
4141
4242 let kUserPosition = "_user_position"
4343
4444 let kUserPositionPool = "_user_position_pool"
4545
4646 let kUserBorrowAmount = "_user_position_borrow_amount"
4747
4848 let kUserBorrowAssetId = "_user_position_borrow_asset_id"
4949
5050 let kUserPositionNum = "_user_position_number"
5151
5252 let kUserPositionInterest = "_user_position_interest"
5353
5454 let kPoolTotal = "_pool_total"
5555
5656 let kPoolTotalLoan = "_pool_total_loan"
5757
5858 let kPoolInterestLoan = "_pool_interest_loan"
5959
6060 let kPoolInterestNoLoan = "_pool_interest_no_loan"
6161
6262 let kAxlyInFeeWithoutLoan = "_axly_fee_without_loan"
6363
6464 let kAxlyInFeeWithLoan = "_axly_fee_with_loan"
6565
6666 let kAxlyNoLoanCapFee = "_axly_fee_cap_with_loan"
6767
6868 let kAxlyWithLoanCapFee = "_axly_fee_cap_no_loan"
6969
7070 let kAxlyStopLossNoLoanFee = "_axly_fee_stoploss_with_loan"
7171
7272 let kAxlyStopLossLoanFee = "_axly_fee_stoploss_no_loan"
7373
7474 let kRequestId = "_request_id"
7575
7676 let kRequestIter = "requests_iter"
7777
7878 let kPool = "pool_"
7979
8080 let kSharePool = "_pool_share_id"
8181
8282 let kPoolCapChange = "_pool_cap_change"
8383
8484 let kTokenLastPrice = "_last_price"
8585
8686 let kUserStopLoss = "_stop_loss"
8787
8888 let kMoneyBox = "axly_money_box"
8989
9090 let kSFFarmingAddr = "swopfi_farming_addr"
9191
9292 let kLendService = "lend_service_addr"
9393
9494 let kPriceOracle = "price_oracle"
9595
9696 let kExContract = "exchange_contract"
9797
9898 let kWxSwapContract = "wx_swap_contract"
9999
100100 let moneyBox = Address(fromBase58String(valueOrErrorMessage(getString(this, kMoneyBox), "No axly moneyBox address")))
101101
102102 let exContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kExContract), "No exchange contract address")))
103103
104104 let priceOracleAddr = Address(fromBase58String(valueOrErrorMessage(getString(this, kPriceOracle), "No price oracle address")))
105105
106106 let wxSwapContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kWxSwapContract), "No wx swap address")))
107107
108108 let SWOPID = base58'4W19ndijcc2CsQa9HGW2dfXKTVXhnneWWttxXrtjPmEp'
109109
110110 let WXID = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc'
111111
112112 func isSelfCall (i) = if ((i.caller == this))
113113 then unit
114114 else throw("Only contract itself can call this function")
115115
116116
117117 func accountBalance (assetId) = match assetId {
118118 case id: ByteVector =>
119119 assetBalance(this, id)
120120 case waves: Unit =>
121121 wavesBalance(this).available
122122 case _ =>
123123 throw("Match error")
124124 }
125125
126126
127127 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"))
128128
129129
130130 func getWXPoolData (poolAddr) = {
131131 let cfg = {
132132 let @ = invoke(poolAddr, "getPoolConfigWrapperREADONLY", nil, nil)
133133 if ($isInstanceOf(@, "List[Any]"))
134134 then @
135135 else throw(($getType(@) + " couldn't be cast to List[Any]"))
136136 }
137137 if ((cfg == cfg))
138138 then {
139139 let aId = valueOrErrorMessage({
140140 let @ = cfg[4]
141141 if ($isInstanceOf(@, "String"))
142142 then @
143143 else unit
144144 }, "Can't get pool A asset id")
145145 let bId = valueOrErrorMessage({
146146 let @ = cfg[5]
147147 if ($isInstanceOf(@, "String"))
148148 then @
149149 else unit
150150 }, "Can't get pool B asset id")
151151 let shareId = valueOrErrorMessage({
152152 let @ = cfg[3]
153153 if ($isInstanceOf(@, "String"))
154154 then @
155155 else unit
156156 }, "Can't get pool LP asset id")
157157 let balA = {
158158 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [aId], nil)
159159 if ($isInstanceOf(@, "Int"))
160160 then @
161161 else throw(($getType(@) + " couldn't be cast to Int"))
162162 }
163163 if ((balA == balA))
164164 then {
165165 let balB = {
166166 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [bId], nil)
167167 if ($isInstanceOf(@, "Int"))
168168 then @
169169 else throw(($getType(@) + " couldn't be cast to Int"))
170170 }
171171 if ((balB == balB))
172172 then $Tuple5(aId, bId, balA, balB, shareId)
173173 else throw("Strict value is not equal to itself.")
174174 }
175175 else throw("Strict value is not equal to itself.")
176176 }
177177 else throw("Strict value is not equal to itself.")
178178 }
179179
180180
181181 func getPoolData (poolAddr,type) = if ((type == SF_POOL))
182182 then getSFPoolData(poolAddr)
183183 else if ((type == WX_POOL))
184184 then getWXPoolData(poolAddr)
185185 else throw("Wrong pool type")
186186
187187
188188 func getShareSupply (poolAddr,type,shareId) = if ((type == SF_POOL))
189189 then valueOrErrorMessage(getInteger(poolAddr, kSFPoolShareSupply), "Can't get share asset supply")
190190 else if ((type == WX_POOL))
191191 then valueOrErrorMessage(assetInfo(fromBase58String(shareId)), "Wrong ShareId").quantity
192192 else throw("Wrong pool type")
193193
194194
195195 func getPoolTotalShare (pool) = valueOrElse(getInteger(this, (pool + kPoolTotal)), 0)
196196
197197
198198 func getPoolTotalShareWithLoan (pool) = valueOrElse(getInteger(this, (pool + kPoolTotalLoan)), 0)
199199
200200
201201 func getNewUserPositionNumber (pool,user) = (valueOrElse(getInteger(this, (user + kUserPositionNum)), 0) + 1)
202202
203203
204204 func getAxlyFee (pool,feeType) = if ((feeType == CAP_FEE_LOAN))
205205 then getIntegerValue(this, (pool + kAxlyWithLoanCapFee))
206206 else if ((feeType == CAP_FEE_NO_LOAN))
207207 then getIntegerValue(this, (pool + kAxlyNoLoanCapFee))
208208 else if ((feeType == LOAN_FEE))
209209 then getIntegerValue(this, (pool + kAxlyInFeeWithLoan))
210210 else if ((feeType == NO_LOAN_FEE))
211211 then getIntegerValue(this, (pool + kAxlyInFeeWithoutLoan))
212212 else if ((feeType == NO_FEE))
213213 then 0
214214 else throw("Wrong fee type")
215215
216216
217217 func getSFFarmingAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kSFFarmingAddr), "Can't get swopfi farming addr")))
218218
219219
220220 func getWXFarmingAddr (poolAddr) = {
221221 let fContract = Address(fromBase58String(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr")))
222222 let factroyCfg = split(valueOrErrorMessage(getString(fContract, "%s__factoryConfig"), "Can't get WX factory cfg"), "__")
223223 Address(fromBase58String(factroyCfg[1]))
224224 }
225225
226226
227227 func getLendSrvAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kLendService), "Can't get lend service addr")))
228228
229229
230230 func assetIdToStr (assetId) = match assetId {
231231 case id: ByteVector =>
232232 toBase58String(id)
233233 case waves: Unit =>
234234 "WAVES"
235235 case _ =>
236236 throw("Match error")
237237 }
238238
239239
240240 func assetIdFromStr (assetId) = if ((assetId == "WAVES"))
241241 then unit
242242 else fromBase58String(assetId)
243243
244244
245245 func getAssetDecimals (assetId) = if ((assetId == "WAVES"))
246246 then 8
247247 else match assetInfo(fromBase58String(assetId)) {
248248 case asset: Asset =>
249249 asset.decimals
250250 case _ =>
251251 throw("Can't find asset")
252252 }
253253
254254
255255 func getAssetPrecition (assetId) = pow(10, 0, getAssetDecimals(assetId), 0, 0, DOWN)
256256
257257
258258 func getAssetsPrice (assetIds) = {
259259 func getPrices (a,assetId) = {
260260 let assetPrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
261261 if ($isInstanceOf(@, "(Int, Int)"))
262262 then @
263263 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
264264 (a :+ assetPrice)
265265 }
266266
267267 let $l = assetIds
268268 let $s = size($l)
269269 let $acc0 = nil
270270 func $f0_1 ($a,$i) = if (($i >= $s))
271271 then $a
272272 else getPrices($a, $l[$i])
273273
274274 func $f0_2 ($a,$i) = if (($i >= $s))
275275 then $a
276276 else throw("List size exceeds 100")
277277
278278 $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($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), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
279279 }
280280
281281
282282 func getSharePrice (shareIds) = {
283283 func getPrices (a,shareId) = {
284284 let pool = valueOrErrorMessage(getString(this, (shareId + kSharePool)), "Can't find pool addr by share id")
285285 let poolAddr = Address(fromBase58String(pool))
286286 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
287287 let $t084298494 = getPoolData(poolAddr, pType)
288288 let aId = $t084298494._1
289289 let bId = $t084298494._2
290290 let aBalance = $t084298494._3
291291 let bBalance = $t084298494._4
292292 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [aId, false], nil)
293293 if ($isInstanceOf(@, "(Int, Int)"))
294294 then @
295295 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
296296 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [bId, false], nil)
297297 if ($isInstanceOf(@, "(Int, Int)"))
298298 then @
299299 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
300300 let shareSupply = getShareSupply(poolAddr, pType, shareId)
301301 let APrecision = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
302302 let BPrecision = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
303303 let sharePrecision = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
304304 let sum = (fraction(aBalance, dPriceA, APrecision) + fraction(bBalance, dPriceB, BPrecision))
305305 let sharePrice = fraction(sum, sharePrecision, shareSupply)
306306 (a :+ sharePrice)
307307 }
308308
309309 let $l = shareIds
310310 let $s = size($l)
311311 let $acc0 = nil
312312 func $f0_1 ($a,$i) = if (($i >= $s))
313313 then $a
314314 else getPrices($a, $l[$i])
315315
316316 func $f0_2 ($a,$i) = if (($i >= $s))
317317 then $a
318318 else throw("List size exceeds 50")
319319
320320 $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)
321321 }
322322
323323
324324 func getCursEntries (aId,bId,shareId) = {
325325 let assetsPrices = getAssetsPrice([aId, bId])
326326 let sharePrice = getSharePrice([shareId])
327327 [IntegerEntry((aId + kTokenLastPrice), assetsPrices[0]), IntegerEntry((bId + kTokenLastPrice), assetsPrices[1]), IntegerEntry((shareId + kTokenLastPrice), sharePrice[0])]
328328 }
329329
330330
331331 func calcReplenishByTwoTokens (pType,poolAddr,pmtA,aId,pmtB,bId,balA,balB) = {
332332 let $t096669971 = if ((pType == SF_POOL))
333333 then $Tuple2(nil, nil)
334334 else $Tuple2(split({
335335 let @ = invoke(poolAddr, "evaluatePutByAmountAssetREADONLY", [pmtA], nil)
336336 if ($isInstanceOf(@, "String"))
337337 then @
338338 else throw(($getType(@) + " couldn't be cast to String"))
339339 }, "__"), split({
340340 let @ = invoke(poolAddr, "evaluatePutByPriceAssetREADONLY", [pmtB], nil)
341341 if ($isInstanceOf(@, "String"))
342342 then @
343343 else throw(($getType(@) + " couldn't be cast to String"))
344344 }, "__"))
345345 if (($t096669971 == $t096669971))
346346 then {
347347 let evalPutInB = $t096669971._2
348348 let evalPutInA = $t096669971._1
349349 let $t0998110177 = if ((pType == SF_POOL))
350350 then $Tuple2(fraction(SCALE8, pmtA, balA), fraction(SCALE8, pmtB, balB))
351351 else $Tuple2(parseIntValue(evalPutInA[1]), parseIntValue(evalPutInB[1]))
352352 let ratioA = $t0998110177._1
353353 let ratioB = $t0998110177._2
354354 let $t01018310646 = if ((ratioB > ratioA))
355355 then {
356356 let pmt = if ((pType == SF_POOL))
357357 then fraction(balB, ratioA, SCALE8, CEILING)
358358 else parseIntValue(evalPutInA[8])
359359 $Tuple4(pmtA, pmt, (pmtB - pmt), bId)
360360 }
361361 else {
362362 let pmt = if ((pType == SF_POOL))
363363 then fraction(balA, ratioB, SCALE8, CEILING)
364364 else parseIntValue(evalPutInB[8])
365365 $Tuple4(pmtA, pmtB, (pmtA - pmt), aId)
366366 }
367367 let pmtInA = $t01018310646._1
368368 let pmtInB = $t01018310646._2
369369 let change = $t01018310646._3
370370 let changeAssetId = $t01018310646._4
371371 $Tuple4(pmtInA, pmtInB, change, changeAssetId)
372372 }
373373 else throw("Strict value is not equal to itself.")
374374 }
375375
376376
377377 func replenishTwoTokensByType (poolAddr,pType,pmtA,aId,pmtB,bId) = {
378378 let payments = [AttachedPayment(assetIdFromStr(aId), pmtA), AttachedPayment(assetIdFromStr(bId), pmtB)]
379379 if ((pType == SF_POOL))
380380 then invoke(poolAddr, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], payments)
381381 else invoke(poolAddr, "put", [1000000, false], payments)
382382 }
383383
384384
385385 func replenishOneTokenByType (poolAddr,pType,pmt,pmtId) = {
386386 let payments = [AttachedPayment(assetIdFromStr(pmtId), pmt)]
387387 if ((pType == SF_POOL))
388388 then invoke(poolAddr, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], payments)
389389 else invoke(poolAddr, "putOneTkn", [0, false], payments)
390390 }
391391
392392
393393 func stakeLP (pool,pType,shareId,amount) = {
394394 let payments = [AttachedPayment(fromBase58String(shareId), amount)]
395395 if ((pType == SF_POOL))
396396 then invoke(getSFFarmingAddr(), "lockShareTokens", [pool, 0], payments)
397397 else invoke(getWXFarmingAddr(addressFromStringValue(pool)), "stake", nil, payments)
398398 }
399399
400400
401401 func unstakeLP (pool,pType,shareId,amount) = {
402402 let $t01187212229 = if ((pType == SF_POOL))
403403 then $Tuple3(getSFFarmingAddr(), "withdrawShareTokens", [pool, amount])
404404 else if ((pType == WX_POOL))
405405 then $Tuple3(getWXFarmingAddr(Address(fromBase58String(pool))), "unstake", [shareId, amount])
406406 else throw("Wrong pool type")
407407 let farmAddr = $t01187212229._1
408408 let fName = $t01187212229._2
409409 let params = $t01187212229._3
410410 let inv = invoke(farmAddr, fName, params, nil)
411411 if ((inv == inv))
412412 then amount
413413 else throw("Strict value is not equal to itself.")
414414 }
415415
416416
417417 func calcReplanishLPVirt (pType,pool,pmtA,aId,pmtB,bId,balA,balB) = {
418418 let poolAddr = addressFromStringValue(pool)
419419 if ((pType == SF_POOL))
420420 then nil
421421 else if ((pType == WX_POOL))
422422 then {
423423 let $t01255112859 = if (if ((pmtA > 0))
424424 then (pmtB > 0)
425425 else false)
426426 then {
427427 let $t01262512741 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
428428 let pmtInA = $t01262512741._1
429429 let pmtInB = $t01262512741._2
430430 let change = $t01262512741._3
431431 let changeId = $t01262512741._4
432432 $Tuple2(change, changeId)
433433 }
434434 else if ((pmtA > 0))
435435 then $Tuple2(pmtA, aId)
436436 else $Tuple2(pmtB, bId)
437437 let change = $t01255112859._1
438438 let changeId = $t01255112859._2
439439 nil
440440 }
441441 else throw("Wrong pool type")
442442 }
443443
444444
445445 func claimFarmed (type,pool) = if ((type == SF_POOL))
446446 then {
447447 let balBefore = accountBalance(SWOPID)
448448 if ((balBefore == balBefore))
449449 then {
450450 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
451451 if ((inv == inv))
452452 then {
453453 let balAfter = accountBalance(SWOPID)
454454 $Tuple2((balAfter - balBefore), SWOPID)
455455 }
456456 else throw("Strict value is not equal to itself.")
457457 }
458458 else throw("Strict value is not equal to itself.")
459459 }
460460 else if ((type == WX_POOL))
461461 then {
462462 let balBefore = accountBalance(WXID)
463463 if ((balBefore == balBefore))
464464 then {
465465 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
466466 if ((inv == inv))
467467 then {
468468 let balAfter = accountBalance(WXID)
469469 $Tuple2((balAfter - balBefore), WXID)
470470 }
471471 else throw("Strict value is not equal to itself.")
472472 }
473473 else throw("Strict value is not equal to itself.")
474474 }
475475 else throw("Wrong pool type")
476476
477477
478478 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
479479 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
480480 if ((lpBalanceBefore == lpBalanceBefore))
481481 then {
482482 let poolAddr = addressFromStringValue(pool)
483483 let $t01386914285 = if (if ((pmtA > 0))
484484 then (pmtB > 0)
485485 else false)
486486 then {
487487 let $t01393514051 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
488488 let pmtInA = $t01393514051._1
489489 let pmtInB = $t01393514051._2
490490 let change = $t01393514051._3
491491 let changeId = $t01393514051._4
492492 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
493493 if ((inv == inv))
494494 then $Tuple2(change, changeId)
495495 else throw("Strict value is not equal to itself.")
496496 }
497497 else if ((pmtA > 0))
498498 then $Tuple2(pmtA, aId)
499499 else if ((pmtB > 0))
500500 then $Tuple2(pmtB, bId)
501501 else throw("pmts must be > 0")
502502 let change = $t01386914285._1
503503 let changeId = $t01386914285._2
504504 let inv = if ((change > 0))
505505 then replenishOneTokenByType(poolAddr, pType, change, changeId)
506506 else nil
507507 if ((inv == inv))
508508 then {
509509 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
510510 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
511511 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
512512 let userShareForStake = (totalStaked - axlyFeeAmount)
513513 if ((0 >= userShareForStake))
514514 then throw("amount of staked sharetokens must be > 0")
515515 else {
516516 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
517517 if ((invLP == invLP))
518518 then $Tuple2(userShareForStake, axlyFeeAmount)
519519 else throw("Strict value is not equal to itself.")
520520 }
521521 }
522522 else throw("Strict value is not equal to itself.")
523523 }
524524 else throw("Strict value is not equal to itself.")
525525 }
526526
527527
528528 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
529529 let totalAmount = getPoolTotalShare(pool)
530530 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
531531 let $t01514315381 = if (withLoan)
532532 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
533533 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
534534 let curPoolInterest = $t01514315381._1
535535 let totalStakedWithLoan = $t01514315381._2
536536 [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))]
537537 }
538538
539539
540540 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
541541 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
542542 if ((tokenBalanceBefore == tokenBalanceBefore))
543543 then {
544544 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
545545 if ((inv == inv))
546546 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
547547 else throw("Strict value is not equal to itself.")
548548 }
549549 else throw("Strict value is not equal to itself.")
550550 }
551551
552552
553553 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
554554 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
555555 if ((tokenBalanceBefore == tokenBalanceBefore))
556556 then {
557557 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
558558 if ((inv == inv))
559559 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
560560 else throw("Strict value is not equal to itself.")
561561 }
562562 else throw("Strict value is not equal to itself.")
563563 }
564564
565565
566566 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
567567 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
568568 if ((tokenBalanceBefore == tokenBalanceBefore))
569569 then {
570570 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
571571 if ((inv == inv))
572572 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
573573 else throw("Strict value is not equal to itself.")
574574 }
575575 else throw("Strict value is not equal to itself.")
576576 }
577577
578578
579579 func capitalize (pool,pType,tokenId,tokenAmount) = {
580580 let poolAddr = Address(fromBase58String(pool))
581581 let $t01773217811 = getPoolData(poolAddr, pType)
582582 let AId = $t01773217811._1
583583 let BId = $t01773217811._2
584584 let balA = $t01773217811._3
585585 let balB = $t01773217811._4
586586 let shareId = $t01773217811._5
587587 let $t01781417894 = if ((tokenId == AId))
588588 then $Tuple2(tokenAmount, 0)
589589 else $Tuple2(0, tokenAmount)
590590 let pmtA = $t01781417894._1
591591 let pmtB = $t01781417894._2
592592 let $t01789718001 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
593593 let stakedAmount = $t01789718001._1
594594 let nf = $t01789718001._2
595595 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
596596 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
597597 let totalShareAmount = getPoolTotalShare(pool)
598598 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
599599 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
600600 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
601601 let stakedNoLoan = (stakedAmount - stakedLoan)
602602 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
603603 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
604604 else 0
605605 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
606606 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
607607 else 0
608608 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
609609 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
610610 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
611611 if ((axlyFee == axlyFee))
612612 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))
613613 else throw("Strict value is not equal to itself.")
614614 }
615615
616616
617617 func exchangeDirectlySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
618618 let poolAddr = Address(fromBase58String(pool))
619619 let feeScale6 = 1000000
620620 let fee = getIntegerValue(poolAddr, kSFPoolFee)
621621 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee))
622622 let $t01989120179 = if ((assetTokenToGet == assetIdA))
623623 then {
624624 let amountToPay = fraction(balA, amntGetNoFee, (balB - amntGetNoFee))
625625 $Tuple2(amountToPay, assetIdB)
626626 }
627627 else {
628628 let amountToPay = fraction(balB, amntGetNoFee, (balA - amntGetNoFee))
629629 $Tuple2(amountToPay, assetIdA)
630630 }
631631 let amountToPay = $t01989120179._1
632632 let assetToPay = $t01989120179._2
633633 invoke(poolAddr, "callFunction", ["exchange", ["1"]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
634634 }
635635
636636
637637 func exchangeDirectlyWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
638638 let poolAddr = Address(fromBase58String(pool))
639639 let prFee = getIntegerValue(wxSwapContract, "%s__protocolFee")
640640 let pFee = getIntegerValue(wxSwapContract, "%s__poolFee")
641641 let feeScale = toBigInt(100000000)
642642 let $t02065820966 = if ((assetTokenToGet == assetIdA))
643643 then {
644644 let amountToPay = fraction(balA, amountTokenToGet, (balB - amountTokenToGet))
645645 $Tuple2(amountToPay, assetIdB)
646646 }
647647 else {
648648 let amountToPay = fraction(balB, amountTokenToGet, (balA - amountTokenToGet))
649649 $Tuple2(amountToPay, assetIdA)
650650 }
651651 let amountToPay = $t02065820966._1
652652 let assetToPay = $t02065820966._2
653653 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee)))))
654654 invoke(wxSwapContract, "swap", [1, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPayWithFee)])
655655 }
656656
657657
658658 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
659659 then exchangeDirectlySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
660660 else exchangeDirectlyWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
661661
662662
663663 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
664664 let poolAddr = Address(fromBase58String(pool))
665665 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
666666 let $t02183121907 = getPoolData(poolAddr, pType)
667667 let assetIdA = $t02183121907._1
668668 let assetIdB = $t02183121907._2
669669 let balA = $t02183121907._3
670670 let balB = $t02183121907._4
671671 let shareId = $t02183121907._5
672672 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
673673 if ((cBalABefore == cBalABefore))
674674 then {
675675 let cBalBBefore = accountBalance(assetIdFromStr(assetIdB))
676676 if ((cBalBBefore == cBalBBefore))
677677 then {
678678 let inv = if ((pType == SF_POOL))
679679 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
680- else if ((pType == WX_POOL))
681- then invoke(poolAddr, "unstakeAndGet", [userCanWithdraw], nil)
682- else throw("Wrong position type")
680+ else {
681+ let inv = unstakeLP(pool, pType, shareId, userCanWithdraw)
682+ if ((inv == inv))
683+ then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
684+ else throw("Strict value is not equal to itself.")
685+ }
683686 if ((inv == inv))
684687 then {
685688 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
686689 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
687- let $t02241922508 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
688- let tokensAmountA = $t02241922508._1
689- let tokensAmountB = $t02241922508._2
690- let $t02251123207 = if ((debt > 0))
690+ let $t02247022559 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
691+ let tokensAmountA = $t02247022559._1
692+ let tokensAmountB = $t02247022559._2
693+ let $t02256223258 = if ((debt > 0))
691694 then {
692695 let amountToGetEx = if (if ((borrowAsset == assetIdA))
693696 then (debt > tokensAmountA)
694697 else false)
695698 then (debt - tokensAmountA)
696699 else if (if ((borrowAsset == assetIdB))
697700 then (debt > tokensAmountB)
698701 else false)
699702 then (debt - tokensAmountB)
700703 else 0
701704 let exInv = if ((amountToGetEx > 0))
702705 then exchangeDirectly(pType, pool, assetIdA, assetIdB, balA, balB, amountToGetEx, borrowAsset)
703706 else 0
704707 if ((exInv == exInv))
705708 then {
706709 let cBalAAfterRepay = accountBalance(assetIdFromStr(assetIdA))
707710 let cBalBAfterRepay = accountBalance(assetIdFromStr(assetIdB))
708711 $Tuple2((cBalAAfterRepay - cBalABefore), (cBalBAfterRepay - cBalBBefore))
709712 }
710713 else throw("Strict value is not equal to itself.")
711714 }
712715 else $Tuple2(tokensAmountA, tokensAmountB)
713- let toUserAmountA = $t02251123207._1
714- let toUserAmountB = $t02251123207._2
716+ let toUserAmountA = $t02256223258._1
717+ let toUserAmountB = $t02256223258._2
715718 $Tuple7(toUserAmountA, assetIdA, toUserAmountB, assetIdB, cBalAAfter, cBalBAfter, shareId)
716719 }
717720 else throw("Strict value is not equal to itself.")
718721 }
719722 else throw("Strict value is not equal to itself.")
720723 }
721724 else throw("Strict value is not equal to itself.")
722725 }
723726
724727
725728 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
726729 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
727730 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
728731 let poolInterest = if (borrowed)
729732 then getIntegerValue(this, (pool + kPoolInterestLoan))
730733 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
731734 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
732735 }
733736
734737
735738 func withdrawToUser (user,pool,posId,stopLoss) = {
736739 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
737740 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
738741 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0)
739742 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
740743 let poolTotalShare = getPoolTotalShare(pool)
741744 let userAddr = Address(fromBase58String(user))
742745 let borrowAsset = valueOrElse(getString(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId)), "")
743746 let debt = if ((borrowAmount > 0))
744747 then {
745748 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((((pool + "_") + user) + "_") + posId), borrowAsset], nil)
746749 if ($isInstanceOf(@, "Int"))
747750 then @
748751 else throw(($getType(@) + " couldn't be cast to Int"))
749752 }
750753 else 0
751- let $t02471924872 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
752- if (($t02471924872 == $t02471924872))
754+ let $t02477024923 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
755+ if (($t02477024923 == $t02477024923))
753756 then {
754- let shareId = $t02471924872._7
755- let cBalBAfter = $t02471924872._6
756- let cBalAAfter = $t02471924872._5
757- let assetIdB = $t02471924872._4
758- let toUserAmountB = $t02471924872._3
759- let assetIdA = $t02471924872._2
760- let toUserAmountA = $t02471924872._1
757+ let shareId = $t02477024923._7
758+ let cBalBAfter = $t02477024923._6
759+ let cBalAAfter = $t02477024923._5
760+ let assetIdB = $t02477024923._4
761+ let toUserAmountB = $t02477024923._3
762+ let assetIdA = $t02477024923._2
763+ let toUserAmountA = $t02477024923._1
761764 let closeDbtInv = if ((debt > 0))
762765 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
763766 else 0
764767 if ((closeDbtInv == closeDbtInv))
765768 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))
766769 else throw("Strict value is not equal to itself.")
767770 }
768771 else throw("Strict value is not equal to itself.")
769772 }
770773
771774
772775 func parseRequest (requestId) = {
773776 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
774777 let user = request[0]
775778 let pool = request[1]
776779 let pmtA = parseIntValue(request[2])
777780 let AId = request[3]
778781 let pmtB = parseIntValue(request[4])
779782 let BId = request[5]
780783 let balA = parseIntValue(request[6])
781784 let balB = parseIntValue(request[7])
782785 let shareId = request[8]
783786 let bwAsset = request[9]
784787 let bwAmount = parseIntValue(request[10])
785788 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
786789 }
787790
788791
789792 @Callable(i)
790793 func replenishEVALONLY (pool,leverage,borrowAssetId,pmtA,pmtB) = if (if ((100 > leverage))
791794 then true
792795 else (leverage > 300))
793796 then throw("Leverage can't be <100 and >300")
794797 else {
795798 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
796- let $t02638426474 = getPoolData(Address(fromBase58String(pool)), pType)
797- let AId = $t02638426474._1
798- let BId = $t02638426474._2
799- let balA = $t02638426474._3
800- let balB = $t02638426474._4
801- let shareId = $t02638426474._5
799+ let $t02643526525 = getPoolData(Address(fromBase58String(pool)), pType)
800+ let AId = $t02643526525._1
801+ let BId = $t02643526525._2
802+ let balA = $t02643526525._3
803+ let balB = $t02643526525._4
804+ let shareId = $t02643526525._5
802805 let borrowAmount = if ((leverage > 100))
803806 then {
804807 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [AId, false], nil)
805808 if ($isInstanceOf(@, "(Int, Int)"))
806809 then @
807810 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
808811 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [BId, false], nil)
809812 if ($isInstanceOf(@, "(Int, Int)"))
810813 then @
811814 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
812815 let paydInDollar = (fraction(dPriceA, pmtA, pow(10, 0, getAssetDecimals(AId), 0, 0, DOWN)) + fraction(dPriceB, pmtB, pow(10, 0, getAssetDecimals(BId), 0, 0, DOWN)))
813816 let borrowPrice = if ((borrowAssetId == AId))
814817 then dPriceA
815818 else dPriceB
816819 (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
817820 }
818821 else 0
819- let $t02704527157 = if ((borrowAssetId == AId))
822+ let $t02709627208 = if ((borrowAssetId == AId))
820823 then $Tuple2((pmtA + borrowAmount), pmtB)
821824 else $Tuple2(pmtA, (pmtB + borrowAmount))
822- let payInA = $t02704527157._1
823- let payInB = $t02704527157._2
825+ let payInA = $t02709627208._1
826+ let payInB = $t02709627208._2
824827 let lpAmount = calcReplanishLPVirt(pType, pool, pmtA, AId, pmtB, BId, balA, balB)
825828 nil
826829 }
827830
828831
829832
830833 @Callable(i)
831834 func getShareAssetPriceREADONLY (shareId) = {
832835 let sharePrices = getSharePrice([shareId])
833836 $Tuple2(nil, sharePrices[0])
834837 }
835838
836839
837840
838841 @Callable(i)
839842 func getUserPositionShareAmountREADONLY (user,posNum) = {
840843 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
841844 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
842845 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
843846 $Tuple2(nil, userCanWithdraw)
844847 }
845848
846849
847850
848851 @Callable(i)
849852 func replenish (pool,leverage,borrowAssetId) = if (if ((100 > leverage))
850853 then true
851854 else (leverage > 300))
852855 then throw("Leverage can't be <100 and >300")
853856 else {
854857 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
855- let $t02868828778 = getPoolData(Address(fromBase58String(pool)), pType)
856- let AId = $t02868828778._1
857- let BId = $t02868828778._2
858- let balA = $t02868828778._3
859- let balB = $t02868828778._4
860- let shareId = $t02868828778._5
861- let $t02878129418 = if ((size(i.payments) == 2))
858+ let $t02873928829 = getPoolData(Address(fromBase58String(pool)), pType)
859+ let AId = $t02873928829._1
860+ let BId = $t02873928829._2
861+ let balA = $t02873928829._3
862+ let balB = $t02873928829._4
863+ let shareId = $t02873928829._5
864+ let $t02883229469 = if ((size(i.payments) == 2))
862865 then if ((assetIdToStr(i.payments[0].assetId) != AId))
863866 then throw("Wrong payment asset A")
864867 else if ((assetIdToStr(i.payments[1].assetId) != BId))
865868 then throw("Wrong payment asset B")
866869 else $Tuple4(i.payments[0].amount, AId, i.payments[1].amount, BId)
867870 else if ((size(i.payments) == 1))
868871 then if ((assetIdToStr(i.payments[0].assetId) == AId))
869872 then $Tuple4(i.payments[0].amount, AId, 0, BId)
870873 else if ((assetIdToStr(i.payments[0].assetId) == BId))
871874 then $Tuple4(0, AId, i.payments[0].amount, BId)
872875 else throw("Wrong payment")
873876 else throw("One or two payments expected")
874- let pmtA = $t02878129418._1
875- let pmtAssetA = $t02878129418._2
876- let pmtB = $t02878129418._3
877- let pmtAssetB = $t02878129418._4
877+ let pmtA = $t02883229469._1
878+ let pmtAssetA = $t02883229469._2
879+ let pmtB = $t02883229469._3
880+ let pmtAssetB = $t02883229469._4
878881 let newPosNum = getNewUserPositionNumber(pool, toString(i.caller))
879882 if ((leverage > 100))
880883 then {
881884 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [pmtAssetA, false], nil)
882885 if ($isInstanceOf(@, "(Int, Int)"))
883886 then @
884887 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
885888 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [pmtAssetB, false], nil)
886889 if ($isInstanceOf(@, "(Int, Int)"))
887890 then @
888891 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
889892 let paydInDollar = (fraction(dPriceA, pmtA, pow(10, 0, getAssetDecimals(pmtAssetA), 0, 0, DOWN)) + fraction(dPriceB, pmtB, pow(10, 0, getAssetDecimals(pmtAssetB), 0, 0, DOWN)))
890893 let borrowPrice = if ((borrowAssetId == AId))
891894 then dPriceA
892895 else dPriceB
893896 let borrowAmount = (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
894897 let request = makeString([toString(i.caller), pool, toString(pmtA), pmtAssetA, toString(pmtB), pmtAssetB, toString(balA), toString(balB), shareId, borrowAssetId, toString(borrowAmount)], ",")
895898 let newRequestId = {
896899 let @ = invoke(this, "createNewRequest", [request], nil)
897900 if ($isInstanceOf(@, "Int"))
898901 then @
899902 else throw(($getType(@) + " couldn't be cast to Int"))
900903 }
901904 if ((newRequestId == newRequestId))
902905 then {
903906 let args = [((toString(i.caller) + "_") + toString(newPosNum)), shareId, borrowAssetId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
904907 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
905908 if ((inv == inv))
906909 then nil
907910 else throw("Strict value is not equal to itself.")
908911 }
909912 else throw("Strict value is not equal to itself.")
910913 }
911914 else {
912- let $t03080130913 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
913- let userStaked = $t03080130913._1
914- let axlyFee = $t03080130913._2
915+ let $t03085230964 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
916+ let userStaked = $t03085230964._1
917+ let axlyFee = $t03085230964._2
915918 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
916919 }
917920 }
918921
919922
920923
921924 @Callable(i)
922925 func replenishFromLand (requestId) = {
923- let $t03112431228 = parseRequest(requestId)
924- let user = $t03112431228._1
925- let pool = $t03112431228._2
926- let pmtA = $t03112431228._3
927- let AId = $t03112431228._4
928- let pmtB = $t03112431228._5
929- let BId = $t03112431228._6
930- let balA = $t03112431228._7
931- let balB = $t03112431228._8
932- let shareId = $t03112431228._9
933- let bwAsset = $t03112431228._10
934- let bwAmount = $t03112431228._11
926+ let $t03117531279 = parseRequest(requestId)
927+ let user = $t03117531279._1
928+ let pool = $t03117531279._2
929+ let pmtA = $t03117531279._3
930+ let AId = $t03117531279._4
931+ let pmtB = $t03117531279._5
932+ let BId = $t03117531279._6
933+ let balA = $t03117531279._7
934+ let balB = $t03117531279._8
935+ let shareId = $t03117531279._9
936+ let bwAsset = $t03117531279._10
937+ let bwAmount = $t03117531279._11
935938 if ((size(i.payments) != 1))
936939 then throw("Wrong payment size")
937940 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
938941 then true
939942 else (i.payments[0].amount != bwAmount))
940943 then throw("Wrong payment")
941944 else {
942- let $t03141831542 = if ((AId == bwAsset))
945+ let $t03146931593 = if ((AId == bwAsset))
943946 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
944947 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
945- let pmtAllA = $t03141831542._1
946- let pmtAllB = $t03141831542._2
948+ let pmtAllA = $t03146931593._1
949+ let pmtAllB = $t03146931593._2
947950 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
948- let $t03162431733 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
949- let userStaked = $t03162431733._1
950- let axlyFee = $t03162431733._2
951+ let $t03167531784 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
952+ let userStaked = $t03167531784._1
953+ let axlyFee = $t03167531784._2
951954 let posNum = getNewUserPositionNumber(pool, toString(i.caller))
952955 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
953956 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
954957 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId)) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
955958 }
956959 }
957960
958961
959962
960963 @Callable(i)
961964 func withdraw (pool,posId) = withdrawToUser(toString(i.caller), pool, toString(posId), false)
962965
963966
964967
965968 @Callable(i)
966969 func createUpdateStopLoss (posId,poolId,assetId,price) = {
967970 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
968971 if ($isInstanceOf(@, "(Int, Int)"))
969972 then @
970973 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
971974 if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
972975 then throw("There are no user position")
973976 else if ((0 >= price))
974977 then throw("Price must be greater than 0")
975978 else if ((price > tokenOraclePrice))
976979 then throw("Price must be less than current token price")
977980 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
978981 }
979982
980983
981984
982985 @Callable(i)
983986 func deleteStopLoss (posId,poolId,assetId) = if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
984987 then throw("No entry")
985988 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
986989
987990
988991
989992 @Callable(i)
990993 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
991994 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
992995 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
993996 })
994997
995998
996999
9971000 @Callable(i)
9981001 func stopLoss (user,posId,pool,assetId) = {
9991002 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
10001003 if ($isInstanceOf(@, "(Int, Int)"))
10011004 then @
10021005 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
10031006 if (!(isDefined(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))))
10041007 then throw("No entry")
10051008 else (withdrawToUser(toString(i.caller), pool, toString(posId), true) :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))
10061009 }
10071010
10081011
10091012
10101013 @Callable(i)
10111014 func liquidate (user,posId,liquidateAmount) = {
10121015 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
10131016 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1014- let $t03451634606 = getPoolData(Address(fromBase58String(pool)), pType)
1015- let AId = $t03451634606._1
1016- let BId = $t03451634606._2
1017- let balA = $t03451634606._3
1018- let balB = $t03451634606._4
1019- let shareId = $t03451634606._5
1017+ let $t03456734657 = getPoolData(Address(fromBase58String(pool)), pType)
1018+ let AId = $t03456734657._1
1019+ let BId = $t03456734657._2
1020+ let balA = $t03456734657._3
1021+ let balB = $t03456734657._4
1022+ let shareId = $t03456734657._5
10201023 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
10211024 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
10221025 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
10231026 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
10241027 if ((borrowAmount > 0))
10251028 then [IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest), getIntegerValue(this, (pool + kPoolInterestLoan))), IntegerEntry((pool + kPoolTotalLoan), (getPoolTotalShareWithLoan(pool) - liquidateAmount))]
10261029 else ([IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest), getIntegerValue(this, (pool + kPoolInterestNoLoan)))] ++ [IntegerEntry((pool + kPoolTotal), (getPoolTotalShare(pool) - liquidateAmount)), IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPosition), (userCanWithdraw - liquidateAmount)), ScriptTransfer(i.caller, amount, fromBase58String(shareId))])
10271030 }
10281031
10291032
10301033
10311034 @Callable(i)
10321035 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
1033- let $t03594636140 = if (claim)
1036+ let $t03599736191 = if (claim)
10341037 then claimFarmed(type, pool)
10351038 else {
10361039 let claimedAsset = if ((type == SF_POOL))
10371040 then SWOPID
10381041 else WXID
10391042 $Tuple2(amountToExchange, claimedAsset)
10401043 }
1041- let claimedAmount = $t03594636140._1
1042- let claimedAsset = $t03594636140._2
1044+ let claimedAmount = $t03599736191._1
1045+ let claimedAsset = $t03599736191._2
10431046 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
10441047 let change = (claimedAmount - amountToExchange)
10451048 let changeEntry = if ((change > 0))
10461049 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10471050 else nil
10481051 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10491052 }
10501053
10511054
10521055
10531056 @Callable(i)
10541057 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = {
1055- let $t03679736991 = if (claim)
1058+ let $t03684837042 = if (claim)
10561059 then claimFarmed(type, pool)
10571060 else {
10581061 let claimedAsset = if ((type == SF_POOL))
10591062 then SWOPID
10601063 else WXID
10611064 $Tuple2(amountToExchange, claimedAsset)
10621065 }
1063- let claimedAmount = $t03679736991._1
1064- let claimedAsset = $t03679736991._2
1066+ let claimedAmount = $t03684837042._1
1067+ let claimedAsset = $t03684837042._2
10651068 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
10661069 let change = (claimedAmount - amountToExchange)
10671070 let changeEntry = if ((change > 0))
10681071 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10691072 else nil
10701073 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10711074 }
10721075
10731076
10741077
10751078 @Callable(i)
10761079 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
1077- let $t03771437908 = if (claim)
1080+ let $t03776537959 = if (claim)
10781081 then claimFarmed(type, pool)
10791082 else {
10801083 let claimedAsset = if ((type == SF_POOL))
10811084 then SWOPID
10821085 else WXID
10831086 $Tuple2(amountToExchange, claimedAsset)
10841087 }
1085- let claimedAmount = $t03771437908._1
1086- let claimedAsset = $t03771437908._2
1088+ let claimedAmount = $t03776537959._1
1089+ let claimedAsset = $t03776537959._2
10871090 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
10881091 let change = (claimedAmount - amountToExchange)
10891092 let changeEntry = if ((change > 0))
10901093 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10911094 else nil
10921095 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10931096 }
10941097
10951098
10961099
10971100 @Callable(i)
10981101 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan) = if (if ((type != SF_POOL))
10991102 then (type != WX_POOL)
11001103 else false)
11011104 then throw("Wrong type")
11021105 else {
1103- let $t03860138695 = getPoolData(Address(fromBase58String(poolAddr)), type)
1104- let aId = $t03860138695._1
1105- let bId = $t03860138695._2
1106- let aBal = $t03860138695._3
1107- let bBal = $t03860138695._4
1108- let shareId = $t03860138695._5
1106+ let $t03865238746 = getPoolData(Address(fromBase58String(poolAddr)), type)
1107+ let aId = $t03865238746._1
1108+ let bId = $t03865238746._2
1109+ let aBal = $t03865238746._3
1110+ let bBal = $t03865238746._4
1111+ let shareId = $t03865238746._5
11091112 [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)]
11101113 }
11111114
11121115
11131116
11141117 @Callable(i)
11151118 func capitalizeTest (pool,pType,tokenId,tokenAmount) = {
11161119 let poolAddr = Address(fromBase58String(pool))
1117- let $t03949139570 = getPoolData(poolAddr, pType)
1118- let AId = $t03949139570._1
1119- let BId = $t03949139570._2
1120- let balA = $t03949139570._3
1121- let balB = $t03949139570._4
1122- let shareId = $t03949139570._5
1123- let $t03957339653 = if ((tokenId == AId))
1120+ let $t03954239621 = getPoolData(poolAddr, pType)
1121+ let AId = $t03954239621._1
1122+ let BId = $t03954239621._2
1123+ let balA = $t03954239621._3
1124+ let balB = $t03954239621._4
1125+ let shareId = $t03954239621._5
1126+ let $t03962439704 = if ((tokenId == AId))
11241127 then $Tuple2(tokenAmount, 0)
11251128 else $Tuple2(0, tokenAmount)
1126- let pmtA = $t03957339653._1
1127- let pmtB = $t03957339653._2
1128- let $t03965639760 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1129- let stakedAmount = $t03965639760._1
1130- let nf = $t03965639760._2
1129+ let pmtA = $t03962439704._1
1130+ let pmtB = $t03962439704._2
1131+ let $t03970739811 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1132+ let stakedAmount = $t03970739811._1
1133+ let nf = $t03970739811._2
11311134 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
11321135 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
11331136 let totalShareAmount = getPoolTotalShare(pool)
11341137 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
11351138 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
11361139 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
11371140 let stakedNoLoan = (stakedAmount - stakedLoan)
11381141 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
11391142 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
11401143 else 0
11411144 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
11421145 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
11431146 else 0
11441147 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
11451148 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
11461149 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
11471150 if ((axlyFee == axlyFee))
11481151 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))
11491152 else throw("Strict value is not equal to itself.")
11501153 }
11511154
11521155
11531156
11541157 @Callable(i)
11551158 func claimFarmedTest (type,pool) = if ((type == SF_POOL))
11561159 then {
11571160 let balBefore = accountBalance(SWOPID)
11581161 if ((balBefore == balBefore))
11591162 then {
11601163 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
11611164 if ((inv == inv))
11621165 then {
11631166 let balAfter = accountBalance(SWOPID)
11641167 $Tuple2(nil, $Tuple2((balAfter - balBefore), SWOPID))
11651168 }
11661169 else throw("Strict value is not equal to itself.")
11671170 }
11681171 else throw("Strict value is not equal to itself.")
11691172 }
11701173 else if ((type == WX_POOL))
11711174 then {
11721175 let balBefore = accountBalance(WXID)
11731176 if ((balBefore == balBefore))
11741177 then {
11751178 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
11761179 if ((inv == inv))
11771180 then {
11781181 let balAfter = accountBalance(WXID)
11791182 $Tuple2(nil, $Tuple2((balAfter - balBefore), WXID))
11801183 }
11811184 else throw("Strict value is not equal to itself.")
11821185 }
11831186 else throw("Strict value is not equal to itself.")
11841187 }
11851188 else throw("Wrong pool type")
11861189
11871190
11881191 @Verifier(tx)
11891192 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
11901193

github/deemru/w8io/026f985 
151.68 ms