tx · 3qGRKp6MRVwx9wsMF15ynQEffnnypCfAVoz54Hu2HRWF

3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS:  -0.04100000 Waves

2023.06.02 11:51 [2604846] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves

{ "type": 13, "id": "3qGRKp6MRVwx9wsMF15ynQEffnnypCfAVoz54Hu2HRWF", "fee": 4100000, "feeAssetId": null, "timestamp": 1685695873800, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "52wp3jLGpctE5QnWTNU8qYHfdsPKDg3GucWyuRfmbU2JvsAoQYNXAn9jZC6Wmtx9gJJNVSBrG55B56qLTvTDs2NF" ], "script": "base64:BgKRAQgCEgcKBQgBCAEBEgMKAQgSBAoCCAgSBQoDCAEIEgMKAQgSBAoCCAESBgoEAQgIARIFCgMBCAgSAwoBCBIGCgQIAQgIEgUKAwgIARIOCgwICAgBBBEYGBEBARgSCgoICAgIAQQIARgSDgoMCAgIAQQYGBgYGAEYEgoKCAgIAQEBAQEBEgYKBAgICAESBAoCCAheAAdTRl9QT09MAgJTRgAHV1hfUE9PTAICV1gAD0NBUF9GRUVfTk9fTE9BTgIJY2FwTm9Mb2FuAAxDQVBfRkVFX0xPQU4CB2NhcExvYW4AFFNUT1BMT1NTX0ZFRV9OT19MT0FOAg5zdG9wTG9zc05vTG9hbgANU1RPUExPU1NfTE9BTgIMc3RvcExvc3NMb2FuAAhMT0FOX0ZFRQIEbG9hbgALTk9fTE9BTl9GRUUCBm5vTG9hbgAGTk9fRkVFAgVub0ZlZQAGU0NBTEU4AIDC1y8AB1NDQUxFMTAAgMivoCUACkZFRV9TQ0FMRTYAwIQ9ABRrU0ZQb29sQUFzc2V0QmFsYW5jZQIPQV9hc3NldF9iYWxhbmNlABRrU0ZQ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0eA9zZW5kZXJQdWJsaWNLZXmlQa9O", "height": 2604846, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GXwAxZXERgcp37f6kmjBUgwH4EZQuaKKXbwDRE1SSJau Next: 4Nmuj87oojgH7knq8avW9wWYWAHYrZ3Cj8Zqnb5s2pzf Diff:
OldNewDifferences
732732 func withdrawToUser (user,pool,posId,stopLoss) = {
733733 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
734734 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
735- let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
735+ let borrowAmount = valueOrElse(getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0)
736736 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
737737 let poolTotalShare = getPoolTotalShare(pool)
738738 let userAddr = Address(fromBase58String(user))
745745 else throw(($getType(@) + " couldn't be cast to Int"))
746746 }
747747 else 0
748- let $t02460724760 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
749- if (($t02460724760 == $t02460724760))
748+ let $t02462224775 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
749+ if (($t02462224775 == $t02462224775))
750750 then {
751- let shareId = $t02460724760._7
752- let cBalBAfter = $t02460724760._6
753- let cBalAAfter = $t02460724760._5
754- let assetIdB = $t02460724760._4
755- let toUserAmountB = $t02460724760._3
756- let assetIdA = $t02460724760._2
757- let toUserAmountA = $t02460724760._1
751+ let shareId = $t02462224775._7
752+ let cBalBAfter = $t02462224775._6
753+ let cBalAAfter = $t02462224775._5
754+ let assetIdB = $t02462224775._4
755+ let toUserAmountB = $t02462224775._3
756+ let assetIdA = $t02462224775._2
757+ let toUserAmountA = $t02462224775._1
758758 let closeDbtInv = if ((debt > 0))
759759 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
760760 else 0
790790 then throw("Leverage can't be <100 and >300")
791791 else {
792792 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
793- let $t02627226362 = getPoolData(Address(fromBase58String(pool)), pType)
794- let AId = $t02627226362._1
795- let BId = $t02627226362._2
796- let balA = $t02627226362._3
797- let balB = $t02627226362._4
798- let shareId = $t02627226362._5
793+ let $t02628726377 = getPoolData(Address(fromBase58String(pool)), pType)
794+ let AId = $t02628726377._1
795+ let BId = $t02628726377._2
796+ let balA = $t02628726377._3
797+ let balB = $t02628726377._4
798+ let shareId = $t02628726377._5
799799 let borrowAmount = if ((leverage > 100))
800800 then {
801801 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [AId, false], nil)
813813 (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
814814 }
815815 else 0
816- let $t02693327045 = if ((borrowAssetId == AId))
816+ let $t02694827060 = if ((borrowAssetId == AId))
817817 then $Tuple2((pmtA + borrowAmount), pmtB)
818818 else $Tuple2(pmtA, (pmtB + borrowAmount))
819- let payInA = $t02693327045._1
820- let payInB = $t02693327045._2
819+ let payInA = $t02694827060._1
820+ let payInB = $t02694827060._2
821821 let lpAmount = calcReplanishLPVirt(pType, pool, pmtA, AId, pmtB, BId, balA, balB)
822822 nil
823823 }
849849 then throw("Leverage can't be <100 and >300")
850850 else {
851851 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
852- let $t02857628666 = getPoolData(Address(fromBase58String(pool)), pType)
853- let AId = $t02857628666._1
854- let BId = $t02857628666._2
855- let balA = $t02857628666._3
856- let balB = $t02857628666._4
857- let shareId = $t02857628666._5
858- let $t02866929306 = if ((size(i.payments) == 2))
852+ let $t02859128681 = getPoolData(Address(fromBase58String(pool)), pType)
853+ let AId = $t02859128681._1
854+ let BId = $t02859128681._2
855+ let balA = $t02859128681._3
856+ let balB = $t02859128681._4
857+ let shareId = $t02859128681._5
858+ let $t02868429321 = if ((size(i.payments) == 2))
859859 then if ((assetIdToStr(i.payments[0].assetId) != AId))
860860 then throw("Wrong payment asset A")
861861 else if ((assetIdToStr(i.payments[1].assetId) != BId))
868868 then $Tuple4(0, AId, i.payments[0].amount, BId)
869869 else throw("Wrong payment")
870870 else throw("One or two payments expected")
871- let pmtA = $t02866929306._1
872- let pmtAssetA = $t02866929306._2
873- let pmtB = $t02866929306._3
874- let pmtAssetB = $t02866929306._4
871+ let pmtA = $t02868429321._1
872+ let pmtAssetA = $t02868429321._2
873+ let pmtB = $t02868429321._3
874+ let pmtAssetB = $t02868429321._4
875875 let newPosNum = getNewUserPositionNumber(pool, toString(i.caller))
876876 if ((leverage > 100))
877877 then {
906906 else throw("Strict value is not equal to itself.")
907907 }
908908 else {
909- let $t03068930801 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
910- let userStaked = $t03068930801._1
911- let axlyFee = $t03068930801._2
909+ let $t03070430816 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
910+ let userStaked = $t03070430816._1
911+ let axlyFee = $t03070430816._2
912912 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
913913 }
914914 }
917917
918918 @Callable(i)
919919 func replenishFromLand (requestId) = {
920- let $t03101231116 = parseRequest(requestId)
921- let user = $t03101231116._1
922- let pool = $t03101231116._2
923- let pmtA = $t03101231116._3
924- let AId = $t03101231116._4
925- let pmtB = $t03101231116._5
926- let BId = $t03101231116._6
927- let balA = $t03101231116._7
928- let balB = $t03101231116._8
929- let shareId = $t03101231116._9
930- let bwAsset = $t03101231116._10
931- let bwAmount = $t03101231116._11
920+ let $t03102731131 = parseRequest(requestId)
921+ let user = $t03102731131._1
922+ let pool = $t03102731131._2
923+ let pmtA = $t03102731131._3
924+ let AId = $t03102731131._4
925+ let pmtB = $t03102731131._5
926+ let BId = $t03102731131._6
927+ let balA = $t03102731131._7
928+ let balB = $t03102731131._8
929+ let shareId = $t03102731131._9
930+ let bwAsset = $t03102731131._10
931+ let bwAmount = $t03102731131._11
932932 if ((size(i.payments) != 1))
933933 then throw("Wrong payment size")
934934 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
936936 else (i.payments[0].amount != bwAmount))
937937 then throw("Wrong payment")
938938 else {
939- let $t03130631430 = if ((AId == bwAsset))
939+ let $t03132131445 = if ((AId == bwAsset))
940940 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
941941 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
942- let pmtAllA = $t03130631430._1
943- let pmtAllB = $t03130631430._2
942+ let pmtAllA = $t03132131445._1
943+ let pmtAllB = $t03132131445._2
944944 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
945- let $t03151231621 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
946- let userStaked = $t03151231621._1
947- let axlyFee = $t03151231621._2
945+ let $t03152731636 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
946+ let userStaked = $t03152731636._1
947+ let axlyFee = $t03152731636._2
948948 let posNum = getNewUserPositionNumber(pool, toString(i.caller))
949949 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
950950 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
10081008 func liquidate (user,posId,liquidateAmount) = {
10091009 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
10101010 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1011- let $t03440434494 = getPoolData(Address(fromBase58String(pool)), pType)
1012- let AId = $t03440434494._1
1013- let BId = $t03440434494._2
1014- let balA = $t03440434494._3
1015- let balB = $t03440434494._4
1016- let shareId = $t03440434494._5
1011+ let $t03441934509 = getPoolData(Address(fromBase58String(pool)), pType)
1012+ let AId = $t03441934509._1
1013+ let BId = $t03441934509._2
1014+ let balA = $t03441934509._3
1015+ let balB = $t03441934509._4
1016+ let shareId = $t03441934509._5
10171017 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
10181018 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
10191019 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
10271027
10281028 @Callable(i)
10291029 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
1030- let $t03583436028 = if (claim)
1030+ let $t03584936043 = if (claim)
10311031 then claimFarmed(type, pool)
10321032 else {
10331033 let claimedAsset = if ((type == SF_POOL))
10351035 else WXID
10361036 $Tuple2(amountToExchange, claimedAsset)
10371037 }
1038- let claimedAmount = $t03583436028._1
1039- let claimedAsset = $t03583436028._2
1038+ let claimedAmount = $t03584936043._1
1039+ let claimedAsset = $t03584936043._2
10401040 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
10411041 let change = (claimedAmount - amountToExchange)
10421042 let changeEntry = if ((change > 0))
10491049
10501050 @Callable(i)
10511051 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = {
1052- let $t03668536879 = if (claim)
1052+ let $t03670036894 = if (claim)
10531053 then claimFarmed(type, pool)
10541054 else {
10551055 let claimedAsset = if ((type == SF_POOL))
10571057 else WXID
10581058 $Tuple2(amountToExchange, claimedAsset)
10591059 }
1060- let claimedAmount = $t03668536879._1
1061- let claimedAsset = $t03668536879._2
1060+ let claimedAmount = $t03670036894._1
1061+ let claimedAsset = $t03670036894._2
10621062 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
10631063 let change = (claimedAmount - amountToExchange)
10641064 let changeEntry = if ((change > 0))
10711071
10721072 @Callable(i)
10731073 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
1074- let $t03760237796 = if (claim)
1074+ let $t03761737811 = if (claim)
10751075 then claimFarmed(type, pool)
10761076 else {
10771077 let claimedAsset = if ((type == SF_POOL))
10791079 else WXID
10801080 $Tuple2(amountToExchange, claimedAsset)
10811081 }
1082- let claimedAmount = $t03760237796._1
1083- let claimedAsset = $t03760237796._2
1082+ let claimedAmount = $t03761737811._1
1083+ let claimedAsset = $t03761737811._2
10841084 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
10851085 let change = (claimedAmount - amountToExchange)
10861086 let changeEntry = if ((change > 0))
10971097 else false)
10981098 then throw("Wrong type")
10991099 else {
1100- let $t03848938583 = getPoolData(Address(fromBase58String(poolAddr)), type)
1101- let aId = $t03848938583._1
1102- let bId = $t03848938583._2
1103- let aBal = $t03848938583._3
1104- let bBal = $t03848938583._4
1105- let shareId = $t03848938583._5
1100+ let $t03850438598 = getPoolData(Address(fromBase58String(poolAddr)), type)
1101+ let aId = $t03850438598._1
1102+ let bId = $t03850438598._2
1103+ let aBal = $t03850438598._3
1104+ let bBal = $t03850438598._4
1105+ let shareId = $t03850438598._5
11061106 [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)]
11071107 }
11081108
11111111 @Callable(i)
11121112 func capitalizeTest (pool,pType,tokenId,tokenAmount) = {
11131113 let poolAddr = Address(fromBase58String(pool))
1114- let $t03937939458 = getPoolData(poolAddr, pType)
1115- let AId = $t03937939458._1
1116- let BId = $t03937939458._2
1117- let balA = $t03937939458._3
1118- let balB = $t03937939458._4
1119- let shareId = $t03937939458._5
1120- let $t03946139541 = if ((tokenId == AId))
1114+ let $t03939439473 = getPoolData(poolAddr, pType)
1115+ let AId = $t03939439473._1
1116+ let BId = $t03939439473._2
1117+ let balA = $t03939439473._3
1118+ let balB = $t03939439473._4
1119+ let shareId = $t03939439473._5
1120+ let $t03947639556 = if ((tokenId == AId))
11211121 then $Tuple2(tokenAmount, 0)
11221122 else $Tuple2(0, tokenAmount)
1123- let pmtA = $t03946139541._1
1124- let pmtB = $t03946139541._2
1125- let $t03954439648 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126- let stakedAmount = $t03954439648._1
1127- let nf = $t03954439648._2
1123+ let pmtA = $t03947639556._1
1124+ let pmtB = $t03947639556._2
1125+ let $t03955939663 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126+ let stakedAmount = $t03955939663._1
1127+ let nf = $t03955939663._2
11281128 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
11291129 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
11301130 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 $t01254312659 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
424424 let pmtInA = $t01254312659._1
425425 let pmtInB = $t01254312659._2
426426 let change = $t01254312659._3
427427 let changeId = $t01254312659._4
428428 let inv = split({
429429 let @ = invoke(poolAddr, "estimatePutOperationWrapperREADONLY", [pmtInA], nil)
430430 if ($isInstanceOf(@, "String"))
431431 then @
432432 else throw(($getType(@) + " couldn't be cast to String"))
433433 }, "__")
434434 if ((inv == inv))
435435 then nil
436436 else throw("Strict value is not equal to itself.")
437437 }
438438 else throw("Wrong pool type")
439439 }
440440
441441
442442 func claimFarmed (type,pool) = if ((type == SF_POOL))
443443 then {
444444 let balBefore = accountBalance(SWOPID)
445445 if ((balBefore == balBefore))
446446 then {
447447 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
448448 if ((inv == inv))
449449 then {
450450 let balAfter = accountBalance(SWOPID)
451451 $Tuple2((balAfter - balBefore), SWOPID)
452452 }
453453 else throw("Strict value is not equal to itself.")
454454 }
455455 else throw("Strict value is not equal to itself.")
456456 }
457457 else if ((type == WX_POOL))
458458 then {
459459 let balBefore = accountBalance(WXID)
460460 if ((balBefore == balBefore))
461461 then {
462462 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
463463 if ((inv == inv))
464464 then {
465465 let balAfter = accountBalance(WXID)
466466 $Tuple2((balAfter - balBefore), WXID)
467467 }
468468 else throw("Strict value is not equal to itself.")
469469 }
470470 else throw("Strict value is not equal to itself.")
471471 }
472472 else throw("Wrong pool type")
473473
474474
475475 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
476476 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
477477 if ((lpBalanceBefore == lpBalanceBefore))
478478 then {
479479 let poolAddr = addressFromStringValue(pool)
480480 let $t01377814194 = if (if ((pmtA > 0))
481481 then (pmtB > 0)
482482 else false)
483483 then {
484484 let $t01384413960 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
485485 let pmtInA = $t01384413960._1
486486 let pmtInB = $t01384413960._2
487487 let change = $t01384413960._3
488488 let changeId = $t01384413960._4
489489 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
490490 if ((inv == inv))
491491 then $Tuple2(change, changeId)
492492 else throw("Strict value is not equal to itself.")
493493 }
494494 else if ((pmtA > 0))
495495 then $Tuple2(pmtA, aId)
496496 else if ((pmtB > 0))
497497 then $Tuple2(pmtB, bId)
498498 else throw("pmts must be > 0")
499499 let change = $t01377814194._1
500500 let changeId = $t01377814194._2
501501 let inv = if ((change > 0))
502502 then replenishOneTokenByType(poolAddr, pType, change, changeId)
503503 else nil
504504 if ((inv == inv))
505505 then {
506506 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
507507 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
508508 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
509509 let userShareForStake = (totalStaked - axlyFeeAmount)
510510 if ((0 >= userShareForStake))
511511 then throw("amount of staked sharetokens must be > 0")
512512 else {
513513 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
514514 if ((invLP == invLP))
515515 then $Tuple2(userShareForStake, axlyFeeAmount)
516516 else throw("Strict value is not equal to itself.")
517517 }
518518 }
519519 else throw("Strict value is not equal to itself.")
520520 }
521521 else throw("Strict value is not equal to itself.")
522522 }
523523
524524
525525 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
526526 let totalAmount = getPoolTotalShare(pool)
527527 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
528528 let $t01505215290 = if (withLoan)
529529 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
530530 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
531531 let curPoolInterest = $t01505215290._1
532532 let totalStakedWithLoan = $t01505215290._2
533533 [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))]
534534 }
535535
536536
537537 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
538538 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
539539 if ((tokenBalanceBefore == tokenBalanceBefore))
540540 then {
541541 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
542542 if ((inv == inv))
543543 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
544544 else throw("Strict value is not equal to itself.")
545545 }
546546 else throw("Strict value is not equal to itself.")
547547 }
548548
549549
550550 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
551551 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
552552 if ((tokenBalanceBefore == tokenBalanceBefore))
553553 then {
554554 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
555555 if ((inv == inv))
556556 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
557557 else throw("Strict value is not equal to itself.")
558558 }
559559 else throw("Strict value is not equal to itself.")
560560 }
561561
562562
563563 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
564564 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
565565 if ((tokenBalanceBefore == tokenBalanceBefore))
566566 then {
567567 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
568568 if ((inv == inv))
569569 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
570570 else throw("Strict value is not equal to itself.")
571571 }
572572 else throw("Strict value is not equal to itself.")
573573 }
574574
575575
576576 func capitalize (pool,pType,tokenId,tokenAmount) = {
577577 let poolAddr = Address(fromBase58String(pool))
578578 let $t01764117720 = getPoolData(poolAddr, pType)
579579 let AId = $t01764117720._1
580580 let BId = $t01764117720._2
581581 let balA = $t01764117720._3
582582 let balB = $t01764117720._4
583583 let shareId = $t01764117720._5
584584 let $t01772317803 = if ((tokenId == AId))
585585 then $Tuple2(tokenAmount, 0)
586586 else $Tuple2(0, tokenAmount)
587587 let pmtA = $t01772317803._1
588588 let pmtB = $t01772317803._2
589589 let $t01780617910 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
590590 let stakedAmount = $t01780617910._1
591591 let nf = $t01780617910._2
592592 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
593593 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
594594 let totalShareAmount = getPoolTotalShare(pool)
595595 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
596596 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
597597 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
598598 let stakedNoLoan = (stakedAmount - stakedLoan)
599599 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
600600 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
601601 else 0
602602 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
603603 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
604604 else 0
605605 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
606606 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
607607 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
608608 if ((axlyFee == axlyFee))
609609 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))
610610 else throw("Strict value is not equal to itself.")
611611 }
612612
613613
614614 func exchangeDirectlySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
615615 let poolAddr = Address(fromBase58String(pool))
616616 let feeScale6 = 1000000
617617 let fee = getIntegerValue(poolAddr, kSFPoolFee)
618618 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee))
619619 let $t01980020088 = if ((assetTokenToGet == assetIdA))
620620 then {
621621 let amountToPay = fraction(balA, amntGetNoFee, (balB - amntGetNoFee))
622622 $Tuple2(amountToPay, assetIdB)
623623 }
624624 else {
625625 let amountToPay = fraction(balB, amntGetNoFee, (balA - amntGetNoFee))
626626 $Tuple2(amountToPay, assetIdA)
627627 }
628628 let amountToPay = $t01980020088._1
629629 let assetToPay = $t01980020088._2
630630 invoke(poolAddr, "callFunction", ["exchange", ["1"]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
631631 }
632632
633633
634634 func exchangeDirectlyWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
635635 let poolAddr = Address(fromBase58String(pool))
636636 let prFee = getIntegerValue(wxSwapContract, "%s__protocolFee")
637637 let pFee = getIntegerValue(wxSwapContract, "%s__poolFee")
638638 let feeScale = toBigInt(100000000)
639639 let $t02056720875 = if ((assetTokenToGet == assetIdA))
640640 then {
641641 let amountToPay = fraction(balA, amountTokenToGet, (balB - amountTokenToGet))
642642 $Tuple2(amountToPay, assetIdB)
643643 }
644644 else {
645645 let amountToPay = fraction(balB, amountTokenToGet, (balA - amountTokenToGet))
646646 $Tuple2(amountToPay, assetIdA)
647647 }
648648 let amountToPay = $t02056720875._1
649649 let assetToPay = $t02056720875._2
650650 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee)))))
651651 invoke(wxSwapContract, "swap", [1, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPayWithFee)])
652652 }
653653
654654
655655 func exchangeDirectly (type,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((type == SF_POOL))
656656 then exchangeDirectlySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
657657 else exchangeDirectlyWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
658658
659659
660660 func withdrawAmountCalc (pool,userCanWithdraw,debt,borrowAsset) = {
661661 let poolAddr = Address(fromBase58String(pool))
662662 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
663663 let $t02174021816 = getPoolData(poolAddr, pType)
664664 let assetIdA = $t02174021816._1
665665 let assetIdB = $t02174021816._2
666666 let balA = $t02174021816._3
667667 let balB = $t02174021816._4
668668 let shareId = $t02174021816._5
669669 let cBalABefore = accountBalance(assetIdFromStr(assetIdA))
670670 if ((cBalABefore == cBalABefore))
671671 then {
672672 let cBalBBefore = accountBalance(assetIdFromStr(assetIdB))
673673 if ((cBalBBefore == cBalBBefore))
674674 then {
675675 let inv = if ((pType == SF_POOL))
676676 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
677677 else if ((pType == WX_POOL))
678678 then invoke(poolAddr, "unstakeAndGet", [userCanWithdraw], nil)
679679 else throw("Wrong position type")
680680 if ((inv == inv))
681681 then {
682682 let cBalAAfter = accountBalance(assetIdFromStr(assetIdA))
683683 let cBalBAfter = accountBalance(assetIdFromStr(assetIdB))
684684 let $t02232822417 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
685685 let tokensAmountA = $t02232822417._1
686686 let tokensAmountB = $t02232822417._2
687687 let $t02242023116 = if ((debt > 0))
688688 then {
689689 let amountToGetEx = if (if ((borrowAsset == assetIdA))
690690 then (debt > tokensAmountA)
691691 else false)
692692 then (debt - tokensAmountA)
693693 else if (if ((borrowAsset == assetIdB))
694694 then (debt > tokensAmountB)
695695 else false)
696696 then (debt - tokensAmountB)
697697 else 0
698698 let exInv = if ((amountToGetEx > 0))
699699 then exchangeDirectly(pType, pool, assetIdA, assetIdB, balA, balB, amountToGetEx, borrowAsset)
700700 else 0
701701 if ((exInv == exInv))
702702 then {
703703 let cBalAAfterRepay = accountBalance(assetIdFromStr(assetIdA))
704704 let cBalBAfterRepay = accountBalance(assetIdFromStr(assetIdB))
705705 $Tuple2((cBalAAfterRepay - cBalABefore), (cBalBAfterRepay - cBalBBefore))
706706 }
707707 else throw("Strict value is not equal to itself.")
708708 }
709709 else $Tuple2(tokensAmountA, tokensAmountB)
710710 let toUserAmountA = $t02242023116._1
711711 let toUserAmountB = $t02242023116._2
712712 $Tuple7(toUserAmountA, assetIdA, toUserAmountB, assetIdB, cBalAAfter, cBalBAfter, shareId)
713713 }
714714 else throw("Strict value is not equal to itself.")
715715 }
716716 else throw("Strict value is not equal to itself.")
717717 }
718718 else throw("Strict value is not equal to itself.")
719719 }
720720
721721
722722 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
723723 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
724724 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
725725 let poolInterest = if (borrowed)
726726 then getIntegerValue(this, (pool + kPoolInterestLoan))
727727 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
728728 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
729729 }
730730
731731
732732 func withdrawToUser (user,pool,posId,stopLoss) = {
733733 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
734734 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
735- let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
735+ let borrowAmount = valueOrElse(getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0)
736736 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
737737 let poolTotalShare = getPoolTotalShare(pool)
738738 let userAddr = Address(fromBase58String(user))
739739 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
740740 let debt = if ((borrowAmount > 0))
741741 then {
742742 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((((pool + "_") + user) + "_") + posId), borrowAsset], nil)
743743 if ($isInstanceOf(@, "Int"))
744744 then @
745745 else throw(($getType(@) + " couldn't be cast to Int"))
746746 }
747747 else 0
748- let $t02460724760 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
749- if (($t02460724760 == $t02460724760))
748+ let $t02462224775 = withdrawAmountCalc(pool, userCanWithdraw, debt, borrowAsset)
749+ if (($t02462224775 == $t02462224775))
750750 then {
751- let shareId = $t02460724760._7
752- let cBalBAfter = $t02460724760._6
753- let cBalAAfter = $t02460724760._5
754- let assetIdB = $t02460724760._4
755- let toUserAmountB = $t02460724760._3
756- let assetIdA = $t02460724760._2
757- let toUserAmountA = $t02460724760._1
751+ let shareId = $t02462224775._7
752+ let cBalBAfter = $t02462224775._6
753+ let cBalAAfter = $t02462224775._5
754+ let assetIdB = $t02462224775._4
755+ let toUserAmountB = $t02462224775._3
756+ let assetIdA = $t02462224775._2
757+ let toUserAmountA = $t02462224775._1
758758 let closeDbtInv = if ((debt > 0))
759759 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
760760 else 0
761761 if ((closeDbtInv == closeDbtInv))
762762 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))
763763 else throw("Strict value is not equal to itself.")
764764 }
765765 else throw("Strict value is not equal to itself.")
766766 }
767767
768768
769769 func parseRequest (requestId) = {
770770 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
771771 let user = request[0]
772772 let pool = request[1]
773773 let pmtA = parseIntValue(request[2])
774774 let AId = request[3]
775775 let pmtB = parseIntValue(request[4])
776776 let BId = request[5]
777777 let balA = parseIntValue(request[6])
778778 let balB = parseIntValue(request[7])
779779 let shareId = request[8]
780780 let bwAsset = request[9]
781781 let bwAmount = parseIntValue(request[10])
782782 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
783783 }
784784
785785
786786 @Callable(i)
787787 func replenishEVALONLY (pool,leverage,borrowAssetId,pmtA,pmtB) = if (if ((100 > leverage))
788788 then true
789789 else (leverage > 300))
790790 then throw("Leverage can't be <100 and >300")
791791 else {
792792 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
793- let $t02627226362 = getPoolData(Address(fromBase58String(pool)), pType)
794- let AId = $t02627226362._1
795- let BId = $t02627226362._2
796- let balA = $t02627226362._3
797- let balB = $t02627226362._4
798- let shareId = $t02627226362._5
793+ let $t02628726377 = getPoolData(Address(fromBase58String(pool)), pType)
794+ let AId = $t02628726377._1
795+ let BId = $t02628726377._2
796+ let balA = $t02628726377._3
797+ let balB = $t02628726377._4
798+ let shareId = $t02628726377._5
799799 let borrowAmount = if ((leverage > 100))
800800 then {
801801 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [AId, false], nil)
802802 if ($isInstanceOf(@, "(Int, Int)"))
803803 then @
804804 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
805805 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [BId, false], nil)
806806 if ($isInstanceOf(@, "(Int, Int)"))
807807 then @
808808 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
809809 let paydInDollar = (fraction(dPriceA, pmtA, pow(10, 0, getAssetDecimals(AId), 0, 0, DOWN)) + fraction(dPriceB, pmtB, pow(10, 0, getAssetDecimals(BId), 0, 0, DOWN)))
810810 let borrowPrice = if ((borrowAssetId == AId))
811811 then dPriceA
812812 else dPriceB
813813 (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
814814 }
815815 else 0
816- let $t02693327045 = if ((borrowAssetId == AId))
816+ let $t02694827060 = if ((borrowAssetId == AId))
817817 then $Tuple2((pmtA + borrowAmount), pmtB)
818818 else $Tuple2(pmtA, (pmtB + borrowAmount))
819- let payInA = $t02693327045._1
820- let payInB = $t02693327045._2
819+ let payInA = $t02694827060._1
820+ let payInB = $t02694827060._2
821821 let lpAmount = calcReplanishLPVirt(pType, pool, pmtA, AId, pmtB, BId, balA, balB)
822822 nil
823823 }
824824
825825
826826
827827 @Callable(i)
828828 func getShareAssetPriceREADONLY (shareId) = {
829829 let sharePrices = getSharePrice([shareId])
830830 $Tuple2(nil, sharePrices[0])
831831 }
832832
833833
834834
835835 @Callable(i)
836836 func getUserPositionShareAmountREADONLY (user,posNum) = {
837837 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
838838 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
839839 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
840840 $Tuple2(nil, userCanWithdraw)
841841 }
842842
843843
844844
845845 @Callable(i)
846846 func replenish (pool,leverage,borrowAssetId) = if (if ((100 > leverage))
847847 then true
848848 else (leverage > 300))
849849 then throw("Leverage can't be <100 and >300")
850850 else {
851851 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
852- let $t02857628666 = getPoolData(Address(fromBase58String(pool)), pType)
853- let AId = $t02857628666._1
854- let BId = $t02857628666._2
855- let balA = $t02857628666._3
856- let balB = $t02857628666._4
857- let shareId = $t02857628666._5
858- let $t02866929306 = if ((size(i.payments) == 2))
852+ let $t02859128681 = getPoolData(Address(fromBase58String(pool)), pType)
853+ let AId = $t02859128681._1
854+ let BId = $t02859128681._2
855+ let balA = $t02859128681._3
856+ let balB = $t02859128681._4
857+ let shareId = $t02859128681._5
858+ let $t02868429321 = if ((size(i.payments) == 2))
859859 then if ((assetIdToStr(i.payments[0].assetId) != AId))
860860 then throw("Wrong payment asset A")
861861 else if ((assetIdToStr(i.payments[1].assetId) != BId))
862862 then throw("Wrong payment asset B")
863863 else $Tuple4(i.payments[0].amount, AId, i.payments[1].amount, BId)
864864 else if ((size(i.payments) == 1))
865865 then if ((assetIdToStr(i.payments[0].assetId) == AId))
866866 then $Tuple4(i.payments[0].amount, AId, 0, BId)
867867 else if ((assetIdToStr(i.payments[0].assetId) == BId))
868868 then $Tuple4(0, AId, i.payments[0].amount, BId)
869869 else throw("Wrong payment")
870870 else throw("One or two payments expected")
871- let pmtA = $t02866929306._1
872- let pmtAssetA = $t02866929306._2
873- let pmtB = $t02866929306._3
874- let pmtAssetB = $t02866929306._4
871+ let pmtA = $t02868429321._1
872+ let pmtAssetA = $t02868429321._2
873+ let pmtB = $t02868429321._3
874+ let pmtAssetB = $t02868429321._4
875875 let newPosNum = getNewUserPositionNumber(pool, toString(i.caller))
876876 if ((leverage > 100))
877877 then {
878878 let dPriceA = ( let @ = invoke(priceOracleAddr, "getTWAP60", [pmtAssetA, false], nil)
879879 if ($isInstanceOf(@, "(Int, Int)"))
880880 then @
881881 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
882882 let dPriceB = ( let @ = invoke(priceOracleAddr, "getTWAP60", [pmtAssetB, false], nil)
883883 if ($isInstanceOf(@, "(Int, Int)"))
884884 then @
885885 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._2
886886 let paydInDollar = (fraction(dPriceA, pmtA, pow(10, 0, getAssetDecimals(pmtAssetA), 0, 0, DOWN)) + fraction(dPriceB, pmtB, pow(10, 0, getAssetDecimals(pmtAssetB), 0, 0, DOWN)))
887887 let borrowPrice = if ((borrowAssetId == AId))
888888 then dPriceA
889889 else dPriceB
890890 let borrowAmount = (fraction(paydInDollar, (leverage - 100), 100) / borrowPrice)
891891 let request = makeString([toString(i.caller), pool, toString(pmtA), pmtAssetA, toString(pmtB), pmtAssetB, toString(balA), toString(balB), shareId, borrowAssetId, toString(borrowAmount)], ",")
892892 let newRequestId = {
893893 let @ = invoke(this, "createNewRequest", [request], nil)
894894 if ($isInstanceOf(@, "Int"))
895895 then @
896896 else throw(($getType(@) + " couldn't be cast to Int"))
897897 }
898898 if ((newRequestId == newRequestId))
899899 then {
900900 let args = [((toString(i.caller) + "_") + toString(newPosNum)), shareId, borrowAssetId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
901901 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
902902 if ((inv == inv))
903903 then nil
904904 else throw("Strict value is not equal to itself.")
905905 }
906906 else throw("Strict value is not equal to itself.")
907907 }
908908 else {
909- let $t03068930801 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
910- let userStaked = $t03068930801._1
911- let axlyFee = $t03068930801._2
909+ let $t03070430816 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
910+ let userStaked = $t03070430816._1
911+ let axlyFee = $t03070430816._2
912912 (replenishEntries(pool, toString(i.caller), userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId))
913913 }
914914 }
915915
916916
917917
918918 @Callable(i)
919919 func replenishFromLand (requestId) = {
920- let $t03101231116 = parseRequest(requestId)
921- let user = $t03101231116._1
922- let pool = $t03101231116._2
923- let pmtA = $t03101231116._3
924- let AId = $t03101231116._4
925- let pmtB = $t03101231116._5
926- let BId = $t03101231116._6
927- let balA = $t03101231116._7
928- let balB = $t03101231116._8
929- let shareId = $t03101231116._9
930- let bwAsset = $t03101231116._10
931- let bwAmount = $t03101231116._11
920+ let $t03102731131 = parseRequest(requestId)
921+ let user = $t03102731131._1
922+ let pool = $t03102731131._2
923+ let pmtA = $t03102731131._3
924+ let AId = $t03102731131._4
925+ let pmtB = $t03102731131._5
926+ let BId = $t03102731131._6
927+ let balA = $t03102731131._7
928+ let balB = $t03102731131._8
929+ let shareId = $t03102731131._9
930+ let bwAsset = $t03102731131._10
931+ let bwAmount = $t03102731131._11
932932 if ((size(i.payments) != 1))
933933 then throw("Wrong payment size")
934934 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
935935 then true
936936 else (i.payments[0].amount != bwAmount))
937937 then throw("Wrong payment")
938938 else {
939- let $t03130631430 = if ((AId == bwAsset))
939+ let $t03132131445 = if ((AId == bwAsset))
940940 then $Tuple2((pmtA + i.payments[0].amount), pmtB)
941941 else $Tuple2(pmtA, (pmtB + i.payments[0].amount))
942- let pmtAllA = $t03130631430._1
943- let pmtAllB = $t03130631430._2
942+ let pmtAllA = $t03132131445._1
943+ let pmtAllB = $t03132131445._2
944944 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
945- let $t03151231621 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
946- let userStaked = $t03151231621._1
947- let axlyFee = $t03151231621._2
945+ let $t03152731636 = replenishByType(pType, pool, LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
946+ let userStaked = $t03152731636._1
947+ let axlyFee = $t03152731636._2
948948 let posNum = getNewUserPositionNumber(pool, toString(i.caller))
949949 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
950950 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
951951 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId)) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
952952 }
953953 }
954954
955955
956956
957957 @Callable(i)
958958 func withdraw (pool,posId) = withdrawToUser(toString(i.caller), pool, toString(posId), false)
959959
960960
961961
962962 @Callable(i)
963963 func createUpdateStopLoss (posId,poolId,assetId,price) = {
964964 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
965965 if ($isInstanceOf(@, "(Int, Int)"))
966966 then @
967967 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
968968 if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
969969 then throw("There are no user position")
970970 else if ((0 >= price))
971971 then throw("Price must be greater than 0")
972972 else if ((price > tokenOraclePrice))
973973 then throw("Price must be less than current token price")
974974 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
975975 }
976976
977977
978978
979979 @Callable(i)
980980 func deleteStopLoss (posId,poolId,assetId) = if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
981981 then throw("No entry")
982982 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
983983
984984
985985
986986 @Callable(i)
987987 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
988988 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
989989 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
990990 })
991991
992992
993993
994994 @Callable(i)
995995 func stopLoss (user,posId,pool,assetId) = {
996996 let tokenOraclePrice = ( let @ = invoke(priceOracleAddr, "getTWAP60", [assetId, false], nil)
997997 if ($isInstanceOf(@, "(Int, Int)"))
998998 then @
999999 else throw(($getType(@) + " couldn't be cast to (Int, Int)")))._1
10001000 if (!(isDefined(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))))
10011001 then throw("No entry")
10021002 else (withdrawToUser(toString(i.caller), pool, toString(posId), true) :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)))
10031003 }
10041004
10051005
10061006
10071007 @Callable(i)
10081008 func liquidate (user,posId,liquidateAmount) = {
10091009 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
10101010 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
1011- let $t03440434494 = getPoolData(Address(fromBase58String(pool)), pType)
1012- let AId = $t03440434494._1
1013- let BId = $t03440434494._2
1014- let balA = $t03440434494._3
1015- let balB = $t03440434494._4
1016- let shareId = $t03440434494._5
1011+ let $t03441934509 = getPoolData(Address(fromBase58String(pool)), pType)
1012+ let AId = $t03441934509._1
1013+ let BId = $t03441934509._2
1014+ let balA = $t03441934509._3
1015+ let balB = $t03441934509._4
1016+ let shareId = $t03441934509._5
10171017 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
10181018 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
10191019 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
10201020 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
10211021 if ((borrowAmount > 0))
10221022 then [IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest), getIntegerValue(this, (pool + kPoolInterestLoan))), IntegerEntry((pool + kPoolTotalLoan), (getPoolTotalShareWithLoan(pool) - liquidateAmount))]
10231023 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))])
10241024 }
10251025
10261026
10271027
10281028 @Callable(i)
10291029 func capitalizeExKeeper (pool,type,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
1030- let $t03583436028 = if (claim)
1030+ let $t03584936043 = if (claim)
10311031 then claimFarmed(type, pool)
10321032 else {
10331033 let claimedAsset = if ((type == SF_POOL))
10341034 then SWOPID
10351035 else WXID
10361036 $Tuple2(amountToExchange, claimedAsset)
10371037 }
1038- let claimedAmount = $t03583436028._1
1039- let claimedAsset = $t03583436028._2
1038+ let claimedAmount = $t03584936043._1
1039+ let claimedAsset = $t03584936043._2
10401040 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
10411041 let change = (claimedAmount - amountToExchange)
10421042 let changeEntry = if ((change > 0))
10431043 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10441044 else nil
10451045 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10461046 }
10471047
10481048
10491049
10501050 @Callable(i)
10511051 func capitalizeExPuzzle (pool,type,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = {
1052- let $t03668536879 = if (claim)
1052+ let $t03670036894 = if (claim)
10531053 then claimFarmed(type, pool)
10541054 else {
10551055 let claimedAsset = if ((type == SF_POOL))
10561056 then SWOPID
10571057 else WXID
10581058 $Tuple2(amountToExchange, claimedAsset)
10591059 }
1060- let claimedAmount = $t03668536879._1
1061- let claimedAsset = $t03668536879._2
1060+ let claimedAmount = $t03670036894._1
1061+ let claimedAsset = $t03670036894._2
10621062 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
10631063 let change = (claimedAmount - amountToExchange)
10641064 let changeEntry = if ((change > 0))
10651065 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10661066 else nil
10671067 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10681068 }
10691069
10701070
10711071
10721072 @Callable(i)
10731073 func capitalizeExSwopFi (pool,type,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
1074- let $t03760237796 = if (claim)
1074+ let $t03761737811 = if (claim)
10751075 then claimFarmed(type, pool)
10761076 else {
10771077 let claimedAsset = if ((type == SF_POOL))
10781078 then SWOPID
10791079 else WXID
10801080 $Tuple2(amountToExchange, claimedAsset)
10811081 }
1082- let claimedAmount = $t03760237796._1
1083- let claimedAsset = $t03760237796._2
1082+ let claimedAmount = $t03761737811._1
1083+ let claimedAsset = $t03761737811._2
10841084 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
10851085 let change = (claimedAmount - amountToExchange)
10861086 let changeEntry = if ((change > 0))
10871087 then [IntegerEntry((pool + kPoolCapChange), (change + valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)))]
10881088 else nil
10891089 (capitalize(pool, type, tokenToId, exchangedAmount) ++ changeEntry)
10901090 }
10911091
10921092
10931093
10941094 @Callable(i)
10951095 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan) = if (if ((type != SF_POOL))
10961096 then (type != WX_POOL)
10971097 else false)
10981098 then throw("Wrong type")
10991099 else {
1100- let $t03848938583 = getPoolData(Address(fromBase58String(poolAddr)), type)
1101- let aId = $t03848938583._1
1102- let bId = $t03848938583._2
1103- let aBal = $t03848938583._3
1104- let bBal = $t03848938583._4
1105- let shareId = $t03848938583._5
1100+ let $t03850438598 = getPoolData(Address(fromBase58String(poolAddr)), type)
1101+ let aId = $t03850438598._1
1102+ let bId = $t03850438598._2
1103+ let aBal = $t03850438598._3
1104+ let bBal = $t03850438598._4
1105+ let shareId = $t03850438598._5
11061106 [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)]
11071107 }
11081108
11091109
11101110
11111111 @Callable(i)
11121112 func capitalizeTest (pool,pType,tokenId,tokenAmount) = {
11131113 let poolAddr = Address(fromBase58String(pool))
1114- let $t03937939458 = getPoolData(poolAddr, pType)
1115- let AId = $t03937939458._1
1116- let BId = $t03937939458._2
1117- let balA = $t03937939458._3
1118- let balB = $t03937939458._4
1119- let shareId = $t03937939458._5
1120- let $t03946139541 = if ((tokenId == AId))
1114+ let $t03939439473 = getPoolData(poolAddr, pType)
1115+ let AId = $t03939439473._1
1116+ let BId = $t03939439473._2
1117+ let balA = $t03939439473._3
1118+ let balB = $t03939439473._4
1119+ let shareId = $t03939439473._5
1120+ let $t03947639556 = if ((tokenId == AId))
11211121 then $Tuple2(tokenAmount, 0)
11221122 else $Tuple2(0, tokenAmount)
1123- let pmtA = $t03946139541._1
1124- let pmtB = $t03946139541._2
1125- let $t03954439648 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126- let stakedAmount = $t03954439648._1
1127- let nf = $t03954439648._2
1123+ let pmtA = $t03947639556._1
1124+ let pmtB = $t03947639556._2
1125+ let $t03955939663 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
1126+ let stakedAmount = $t03955939663._1
1127+ let nf = $t03955939663._2
11281128 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
11291129 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
11301130 let totalShareAmount = getPoolTotalShare(pool)
11311131 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
11321132 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
11331133 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
11341134 let stakedNoLoan = (stakedAmount - stakedLoan)
11351135 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
11361136 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
11371137 else 0
11381138 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
11391139 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
11401140 else 0
11411141 let axlyFeeLoan = fraction(stakedLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
11421142 let axlyFeeNoLoan = fraction(stakedNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
11431143 let axlyFee = unstakeLP(pool, pType, shareId, (axlyFeeLoan + axlyFeeNoLoan))
11441144 if ((axlyFee == axlyFee))
11451145 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))
11461146 else throw("Strict value is not equal to itself.")
11471147 }
11481148
11491149
11501150
11511151 @Callable(i)
11521152 func claimFarmedTest (type,pool) = if ((type == SF_POOL))
11531153 then {
11541154 let balBefore = accountBalance(SWOPID)
11551155 if ((balBefore == balBefore))
11561156 then {
11571157 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
11581158 if ((inv == inv))
11591159 then {
11601160 let balAfter = accountBalance(SWOPID)
11611161 $Tuple2(nil, $Tuple2((balAfter - balBefore), SWOPID))
11621162 }
11631163 else throw("Strict value is not equal to itself.")
11641164 }
11651165 else throw("Strict value is not equal to itself.")
11661166 }
11671167 else if ((type == WX_POOL))
11681168 then {
11691169 let balBefore = accountBalance(WXID)
11701170 if ((balBefore == balBefore))
11711171 then {
11721172 let inv = invoke(getWXFarmingAddr(Address(fromBase58String(pool))), "claimWX", [pool], nil)
11731173 if ((inv == inv))
11741174 then {
11751175 let balAfter = accountBalance(WXID)
11761176 $Tuple2(nil, $Tuple2((balAfter - balBefore), WXID))
11771177 }
11781178 else throw("Strict value is not equal to itself.")
11791179 }
11801180 else throw("Strict value is not equal to itself.")
11811181 }
11821182 else throw("Wrong pool type")
11831183
11841184
11851185 @Verifier(tx)
11861186 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
11871187

github/deemru/w8io/026f985 
142.39 ms