tx · 5W8me79ju9vr22gKggeGKTHUvDDc2gnGH7wsLsZTbiku

3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS:  -0.05300000 Waves

2023.08.09 19:57 [2703331] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves

{ "type": 13, "id": "5W8me79ju9vr22gKggeGKTHUvDDc2gnGH7wsLsZTbiku", "fee": 5300000, "feeAssetId": null, "timestamp": 1691600258575, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "65x9HktEpBzMjA45ynuehoBimtSosPj2nDM9UHgXVrAqi9JEYhqaVNv4FaYGr6WDU5no12ruZV1yuuakcb36Qkpf" ], "script": "base64:BgLBAQgCEgMKAQgSAwoBCBIECgIICBIFCgMIGBgSBQoDCAEIEgQKAggBEgYKBAEICAESBQoDAQgIEg8KDQgICAgICAgICAgICAgSAwoBCBIDCgEIEgUKAwgIARIGCgQIAQgIEg0KCwgIAQQRGBgYAQEYEgkKBwgIAQQIARgSDQoLCAgBBBgYGBgYARgSBQoDCAQBEgsKCQgIAQEBAQEBBBIJCgcIAQEBAQEBEgASABIAEgASABIAEgASABIDCgEIEgMKAQiBAQAHU0ZfUE9PTAICU0YAB1dYX1BPT0wCAldYAA9DQVBfRkVFX05PX0xPQU4CCWNhcE5vTG9hbgAMQ0FQX0ZFRV9MT0FOAgdjYXBMb2FuABRTVE9QTE9TU19GRUVfTk9fTE9BTgIOc3RvcExvc3NOb0xvYW4ADVNUT1BMT1NTX0xPQU4CDHN0b3BMb3NzTG9hbgAITE9BTl9GRUUCBGxvYW4AC05PX0xPQU5fRkVFAgZub0xvYW4ABk5PX0ZFRQIFbm9GZWUABlNDQUxFOACAwtcvAAdTQ0FMRTEwAIDIr6AlAAdTQ0FMRTE2CQC2AgEAgICE/qbe4REACk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YWx1ZU9yRWxzZQIJAQtpc0FkbWluQ2FsbAEFAWkDCQEBIQEJAQlpc0RlZmluZWQBCQCdCAIFBHRoaXMJAKwCAgUFa1Bvb2wFBHBvb2wJAAIBAgxVbmtub3duIHBvb2wDCQEBIQEJAQt2YWx1ZU9yRWxzZQIJAJsIAgUEdGhpcwkArAICBQRwb29sBQtrUG9vbEFjdGl2ZQYJAAIBAhVQb29sIGFscmVhZHkgc2h1dGRvd24JAMwIAgkBDEJvb2xlYW5FbnRyeQIJAKwCAgUEcG9vbAULa1Bvb2xBY3RpdmUHBQNuaWwAu303DA==", "height": 2703331, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4opCmweNFJvfGjV1kBC5K5Kgyr2up5W19rX3J8B4rERv Next: CUiARNrn5WceECGMy34NycbZ3AfeBxHLYWXWzM8bYR5u Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SF_POOL = "SF"
55
66 let WX_POOL = "WX"
77
88 let CAP_FEE_NO_LOAN = "capNoLoan"
99
1010 let CAP_FEE_LOAN = "capLoan"
1111
1212 let STOPLOSS_FEE_NO_LOAN = "stopLossNoLoan"
1313
1414 let STOPLOSS_LOAN = "stopLossLoan"
1515
1616 let LOAN_FEE = "loan"
1717
1818 let NO_LOAN_FEE = "noLoan"
1919
2020 let NO_FEE = "noFee"
2121
2222 let SCALE8 = 100000000
2323
2424 let SCALE10 = 10000000000
2525
2626 let SCALE16 = toBigInt(10000000000000000)
2727
2828 let FEE_SCALE6 = 1000000
2929
3030 let kSFPoolAAssetBalance = "A_asset_balance"
3131
3232 let kSFPoolBAssetBalance = "B_asset_balance"
3333
3434 let kSFPoolAAssetId = "A_asset_id"
3535
3636 let kSFPoolBAssetId = "B_asset_id"
3737
3838 let kSFPoolShareId = "share_asset_id"
3939
4040 let kSFPoolShareSupply = "share_asset_supply"
4141
4242 let kSFPoolFee = "commission"
4343
4444 let kUserPosition = "_userPosition"
4545
4646 let kUserPositionPool = "_userPositionPool"
4747
4848 let kUserBorrowAmount = "_userPositionBorrowAmount"
4949
5050 let kUserBorrowAssetId = "_userPositionBorrowAssetId"
5151
5252 let kUserPositionNum = "_userPositionNumber"
5353
5454 let kUserPositionInterest = "_userPositionInterest"
5555
5656 let kPoolTotal = "_poolTotal"
5757
5858 let kPoolTotalLoan = "_poolTotalLoan"
5959
6060 let kPoolInterestLoan = "_poolInterestLoan"
6161
6262 let kPoolInterestNoLoan = "_poolInterestNoLoan"
6363
6464 let kPoolCanBorrow = "_poolCanBorrow"
6565
6666 let kAxlyInFeeWithoutLoan = "_axlyFeeNoLoan"
6767
6868 let kAxlyInFeeWithLoan = "_axlyFeeWithLoan"
6969
7070 let kAxlyNoLoanCapFee = "_axlyFeeCapNoLoan"
7171
7272 let kAxlyWithLoanCapFee = "_axlyFeeCapWithLoan"
7373
7474 let kAxlyStopLossNoLoanFee = "_axlyFeeStoplossWithLoan"
7575
7676 let kAxlyStopLossLoanFee = "_axlyFeeStoplossNoLoan"
7777
7878 let kRequestId = "_request_id"
7979
8080 let kRequestIter = "requests_iter"
8181
8282 let kPool = "pool_"
8383
8484 let kSharePool = "_poolShareId"
8585
8686 let kPoolCapChange = "_poolCapChange"
8787
8888 let kTokenLastPrice = "last_price"
8989
9090 let kPriceInOracle = "_twap5B"
9191
9292 let kActive = "active"
9393
9494 let kActiveUsers = "activeUsers"
9595
9696 let kActiveSFWX = "_active"
9797
9898 let kPoolActive = "_activePool"
9999
100100 let kUserStopLoss = "_stopLoss"
101101
102102 let kMoneyBox = "axly_money_box"
103103
104104 let kSFFarmingAddr = "swopfi_farming_addr"
105105
106106 let kLendService = "lend_service_addr"
107107
108108 let kOperatorCallPK = "admin_call_pub_key"
109109
110110 let kPriceOracle = "price_oracle"
111111
112112 let kExContract = "exchange_contract"
113113
114114 let kWxSwapContract = "wx_swap_contract"
115115
116116 let kSwopId = "swop_id"
117117
118118 let kWxId = "wx_id"
119119
120120 let kGroup1Admin1PK = "group1_admin1_pub_key"
121121
122122 let kGroup1Admin2PK = "group1_admin2_pub_key"
123123
124124 let kGroup2Admin1PK = "group2_admin1_pub_key"
125125
126126 let kGroup2Admin2PK = "group2_admin2_pub_key"
127127
128128 let moneyBox = Address(fromBase58String(valueOrErrorMessage(getString(this, kMoneyBox), "No axly moneyBox address")))
129129
130130 let exContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kExContract), "No exchange contract address")))
131131
132132 let priceOracleAddr = Address(fromBase58String(valueOrErrorMessage(getString(this, kPriceOracle), "No price oracle address")))
133133
134134 let wxSwapContract = Address(fromBase58String(valueOrErrorMessage(getString(this, kWxSwapContract), "No wx swap address")))
135135
136136 let SWOPID = fromBase58String(valueOrErrorMessage(getString(this, kSwopId), "No swop id"))
137137
138138 let WXID = fromBase58String(valueOrErrorMessage(getString(this, kWxId), "No wx id"))
139139
140140 let group1Admin1PK = fromBase58String(valueOrErrorMessage(getString(this, kGroup1Admin1PK), "Can't get kGroup1Admin1PK"))
141141
142142 let group1Admin2PK = fromBase58String(valueOrErrorMessage(getString(this, kGroup1Admin2PK), "Can't get kGroup1Admin2PK"))
143143
144144 let group2Admin1PK = fromBase58String(valueOrErrorMessage(getString(this, kGroup2Admin1PK), "Can't get kGroup2Admin1PK"))
145145
146146 let group2Admin2PK = fromBase58String(valueOrErrorMessage(getString(this, kGroup2Admin2PK), "Can't get kGroup2Admin1PK"))
147147
148148 let operatorPK = fromBase58String(valueOrErrorMessage(getString(this, kOperatorCallPK), "Can't get operatorPK"))
149149
150150 func unknownPoolType () = throw("Wrong pool type")
151151
152152
153153 func getLendSrvAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kLendService), "Can't get lend service addr")))
154154
155155
156156 func isOperatorCall (i) = if ((i.callerPublicKey == i.callerPublicKey))
157157 then unit
158158 else throw("Only operator can call this function")
159159
160160
161161 func isAdminCall (i) = if (if ((i.callerPublicKey == i.callerPublicKey))
162162 then true
163163 else (i.callerPublicKey == i.callerPublicKey))
164164 then unit
165165 else throw("Only admin group1 can call this function")
166166
167167
168168 func isSelfCall (i) = if ((i.caller == this))
169169 then unit
170170 else throw("Only contract itself can call this function")
171171
172172
173173 func isLandCall (i) = if ((i.caller == getLendSrvAddr()))
174174 then unit
175175 else throw("Only land contract can call this function")
176176
177177
178178 func isActive () = if ((valueOrElse(getBoolean(this, kActive), true) == true))
179179 then unit
180180 else throw("DApp is inactive at this moment")
181181
182182
183183 func isActiveForUsers () = if (if (valueOrElse(getBoolean(this, kActive), true))
184184 then (valueOrElse(getBoolean(this, kActiveUsers), true) == true)
185185 else false)
186186 then unit
187187 else throw("DApp is inactive for users at this moment")
188188
189189
190190 func isPoolActive (pool,type) = {
191191 let WXSFActive = valueOrElse(getBoolean(this, (type + kActiveSFWX)), true)
192192 let poolActive = valueOrElse(getBoolean(this, (pool + kPoolActive)), true)
193193 if (if (WXSFActive)
194194 then poolActive
195195 else false)
196196 then true
197197 else false
198198 }
199199
200200
201201 func accountBalance (assetId) = match assetId {
202202 case id: ByteVector =>
203203 assetBalance(this, id)
204204 case waves: Unit =>
205205 wavesBalance(this).available
206206 case _ =>
207207 throw("Match error")
208208 }
209209
210210
211211 func getSFPoolBalances (poolAddr) = $Tuple2(valueOrErrorMessage(getInteger(poolAddr, kSFPoolAAssetBalance), "Can't get pool A asset balance"), valueOrErrorMessage(getInteger(poolAddr, kSFPoolBAssetBalance), "Can't get pool B asset balance"))
212212
213213
214214 func getWXPoolBalances (poolAddr,aId,bId) = $Tuple2({
215215 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [aId], nil)
216216 if ($isInstanceOf(@, "Int"))
217217 then @
218218 else throw(($getType(@) + " couldn't be cast to Int"))
219219 }, {
220220 let @ = invoke(poolAddr, "getAccBalanceWrapperREADONLY", [bId], nil)
221221 if ($isInstanceOf(@, "Int"))
222222 then @
223223 else throw(($getType(@) + " couldn't be cast to Int"))
224224 })
225225
226226
227227 func getPoolBalances (poolAddr,type,aId,bId) = if ((type == SF_POOL))
228228 then getSFPoolBalances(poolAddr)
229229 else if ((type == WX_POOL))
230230 then getWXPoolBalances(poolAddr, aId, bId)
231231 else unknownPoolType()
232232
233233
234234 func getSFPoolData (poolAddr) = {
235235 let $t079127961 = getSFPoolBalances(poolAddr)
236236 if (($t079127961 == $t079127961))
237237 then {
238238 let balB = $t079127961._2
239239 let balA = $t079127961._1
240240 $Tuple5(valueOrErrorMessage(getString(poolAddr, kSFPoolAAssetId), "Can't get pool A asset id"), valueOrErrorMessage(getString(poolAddr, kSFPoolBAssetId), "Can't get pool B asset id"), balA, balB, valueOrErrorMessage(getString(poolAddr, kSFPoolShareId), "Can't get share asset id"))
241241 }
242242 else throw("Strict value is not equal to itself.")
243243 }
244244
245245
246246 func getWXPoolData (poolAddr) = {
247247 let cfg = {
248248 let @ = invoke(poolAddr, "getPoolConfigWrapperREADONLY", nil, nil)
249249 if ($isInstanceOf(@, "List[Any]"))
250250 then @
251251 else throw(($getType(@) + " couldn't be cast to List[Any]"))
252252 }
253253 if ((cfg == cfg))
254254 then {
255255 let aId = valueOrErrorMessage({
256256 let @ = cfg[4]
257257 if ($isInstanceOf(@, "String"))
258258 then @
259259 else unit
260260 }, "Can't get pool A asset id")
261261 let bId = valueOrErrorMessage({
262262 let @ = cfg[5]
263263 if ($isInstanceOf(@, "String"))
264264 then @
265265 else unit
266266 }, "Can't get pool B asset id")
267267 let shareId = valueOrErrorMessage({
268268 let @ = cfg[3]
269269 if ($isInstanceOf(@, "String"))
270270 then @
271271 else unit
272272 }, "Can't get pool LP asset id")
273273 let $t086588717 = getWXPoolBalances(poolAddr, aId, bId)
274274 if (($t086588717 == $t086588717))
275275 then {
276276 let balB = $t086588717._2
277277 let balA = $t086588717._1
278278 $Tuple5(aId, bId, balA, balB, shareId)
279279 }
280280 else throw("Strict value is not equal to itself.")
281281 }
282282 else throw("Strict value is not equal to itself.")
283283 }
284284
285285
286286 func getPoolData (poolAddr,type) = if ((type == SF_POOL))
287287 then getSFPoolData(poolAddr)
288288 else if ((type == WX_POOL))
289289 then getWXPoolData(poolAddr)
290290 else unknownPoolType()
291291
292292
293293 func getShareSupply (poolAddr,type,shareId) = if ((type == SF_POOL))
294294 then valueOrErrorMessage(getInteger(poolAddr, kSFPoolShareSupply), "Can't get share asset supply")
295295 else if ((type == WX_POOL))
296296 then valueOrErrorMessage(assetInfo(fromBase58String(shareId)), "Wrong ShareId").quantity
297297 else unknownPoolType()
298298
299299
300300 func getPoolTotalShare (pool) = valueOrElse(getInteger(this, (pool + kPoolTotal)), 0)
301301
302302
303303 func getPoolTotalShareWithLoan (pool) = valueOrElse(getInteger(this, (pool + kPoolTotalLoan)), 0)
304304
305305
306306 func getNewUserPositionNumber (user) = (valueOrElse(getInteger(this, (user + kUserPositionNum)), 0) + 1)
307307
308308
309309 func getAxlyFee (pool,feeType) = if ((feeType == CAP_FEE_LOAN))
310310 then getIntegerValue(this, (pool + kAxlyWithLoanCapFee))
311311 else if ((feeType == CAP_FEE_NO_LOAN))
312312 then getIntegerValue(this, (pool + kAxlyNoLoanCapFee))
313313 else if ((feeType == LOAN_FEE))
314314 then getIntegerValue(this, (pool + kAxlyInFeeWithLoan))
315315 else if ((feeType == NO_LOAN_FEE))
316316 then getIntegerValue(this, (pool + kAxlyInFeeWithoutLoan))
317317 else if ((feeType == NO_FEE))
318318 then 0
319319 else throw("Wrong fee type")
320320
321321
322322 func getSFFarmingAddr () = Address(fromBase58String(valueOrErrorMessage(getString(this, kSFFarmingAddr), "Can't get swopfi farming addr")))
323323
324324
325325 func getWXFarmingAddr (poolAddr) = {
326326 let fContract = Address(fromBase58String(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr")))
327327 let factroyCfg = split(valueOrErrorMessage(getString(fContract, "%s__factoryConfig"), "Can't get WX factory cfg"), "__")
328328 Address(fromBase58String(factroyCfg[1]))
329329 }
330330
331331
332332 func assetIdToStr (assetId) = match assetId {
333333 case id: ByteVector =>
334334 toBase58String(id)
335335 case waves: Unit =>
336336 "WAVES"
337337 case _ =>
338338 throw("Not Asset id")
339339 }
340340
341341
342342 func assetIdFromStr (assetId) = if ((assetId == "WAVES"))
343343 then unit
344344 else fromBase58String(assetId)
345345
346346
347347 func getAssetDecimals (assetId) = if ((assetId == "WAVES"))
348348 then 8
349349 else match assetInfo(fromBase58String(assetId)) {
350350 case asset: Asset =>
351351 asset.decimals
352352 case _ =>
353353 throw("Can't find asset")
354354 }
355355
356356
357357 func getAssetPrecition (assetId) = pow(10, 0, getAssetDecimals(assetId), 0, 0, DOWN)
358358
359359
360360 func getAssetsPrice (assetIds) = {
361361 func getPrices (a,assetId) = {
362362 let assetPrice = valueOrElse(getInteger(priceOracleAddr, (assetId + kPriceInOracle)), -1)
363363 (a :+ assetPrice)
364364 }
365365
366366 let $l = assetIds
367367 let $s = size($l)
368368 let $acc0 = nil
369369 func $f0_1 ($a,$i) = if (($i >= $s))
370370 then $a
371371 else getPrices($a, $l[$i])
372372
373373 func $f0_2 ($a,$i) = if (($i >= $s))
374374 then $a
375375 else throw("List size exceeds 50")
376376
377377 $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)
378378 }
379379
380380
381381 func getSharePrice (shareId) = {
382382 let pool = valueOrErrorMessage(getString(this, (shareId + kSharePool)), "Can't find pool addr by share id")
383383 let poolAddr = Address(fromBase58String(pool))
384384 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
385385 let $t01170611771 = getPoolData(poolAddr, pType)
386386 let aId = $t01170611771._1
387387 let bId = $t01170611771._2
388388 let aBalance = $t01170611771._3
389389 let bBalance = $t01170611771._4
390390 let prices = getAssetsPrice([aId, bId])
391391 let dPriceA = prices[0]
392392 let dPriceB = prices[1]
393393 if (if ((0 > dPriceA))
394394 then true
395395 else (0 > dPriceB))
396396 then -1
397397 else {
398398 let shareSupply = getShareSupply(poolAddr, pType, shareId)
399399 let APrecision = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
400400 let BPrecision = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
401401 let sharePrecision = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
402402 let sum = (fraction(aBalance, dPriceA, APrecision) + fraction(bBalance, dPriceB, BPrecision))
403403 fraction(sum, sharePrecision, shareSupply)
404404 }
405405 }
406406
407407
408408 func getSharePrices (shareIds) = {
409409 func getPrices (a,shareId) = (a :+ getSharePrice(shareId))
410410
411411 let $l = shareIds
412412 let $s = size($l)
413413 let $acc0 = nil
414414 func $f0_1 ($a,$i) = if (($i >= $s))
415415 then $a
416416 else getPrices($a, $l[$i])
417417
418418 func $f0_2 ($a,$i) = if (($i >= $s))
419419 then $a
420420 else throw("List size exceeds 20")
421421
422422 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
423423 }
424424
425425
426426 func getCursEntries (aId,bId,shareId,wAmounts) = {
427427 let assetsPrices = getAssetsPrice([aId, bId])
428428 let sharePrice = getSharePrice(shareId)
429429 let prices = ([toString(assetsPrices[0]), toString(assetsPrices[1]), toString(sharePrice)] ++ wAmounts)
430430 [StringEntry(kTokenLastPrice, makeString(prices, ","))]
431431 }
432432
433433
434434 func calcReplenishByTwoTokens (pType,poolAddr,pmtA,aId,pmtB,bId,balA,balB) = if ((pType == SF_POOL))
435435 then {
436436 let repl = {
437437 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(pmtA), toString(pmtB)]], nil)
438438 if ($isInstanceOf(@, "List[Any]"))
439439 then @
440440 else throw(($getType(@) + " couldn't be cast to List[Any]"))
441441 }
442442 if ((repl == repl))
443443 then $Tuple5({
444444 let @ = repl[3]
445445 if ($isInstanceOf(@, "Int"))
446446 then @
447447 else throw(($getType(@) + " couldn't be cast to Int"))
448448 }, {
449449 let @ = repl[4]
450450 if ($isInstanceOf(@, "Int"))
451451 then @
452452 else throw(($getType(@) + " couldn't be cast to Int"))
453453 }, {
454454 let @ = repl[1]
455455 if ($isInstanceOf(@, "Int"))
456456 then @
457457 else throw(($getType(@) + " couldn't be cast to Int"))
458458 }, assetIdToStr(repl[2]), {
459459 let @ = repl[0]
460460 if ($isInstanceOf(@, "Int"))
461461 then @
462462 else throw(($getType(@) + " couldn't be cast to Int"))
463463 })
464464 else throw("Strict value is not equal to itself.")
465465 }
466466 else if ((pType == WX_POOL))
467467 then {
468468 let $t01331513565 = $Tuple2(split({
469469 let @ = invoke(poolAddr, "evaluatePutByAmountAssetREADONLY", [pmtA], nil)
470470 if ($isInstanceOf(@, "String"))
471471 then @
472472 else throw(($getType(@) + " couldn't be cast to String"))
473473 }, "__"), split({
474474 let @ = invoke(poolAddr, "evaluatePutByPriceAssetREADONLY", [pmtB], nil)
475475 if ($isInstanceOf(@, "String"))
476476 then @
477477 else throw(($getType(@) + " couldn't be cast to String"))
478478 }, "__"))
479479 if (($t01331513565 == $t01331513565))
480480 then {
481481 let evalPutInB = $t01331513565._2
482482 let evalPutInA = $t01331513565._1
483483 let lpInA = parseIntValue(evalPutInA[1])
484484 let lpInB = parseIntValue(evalPutInB[1])
485485 if ((lpInB > lpInA))
486486 then {
487487 let pmt = parseIntValue(evalPutInA[8])
488488 $Tuple5(pmtA, pmt, (pmtB - pmt), bId, lpInB)
489489 }
490490 else {
491491 let pmt = parseIntValue(evalPutInB[7])
492492 $Tuple5(pmt, pmtB, (pmtA - pmt), aId, lpInA)
493493 }
494494 }
495495 else throw("Strict value is not equal to itself.")
496496 }
497497 else unknownPoolType()
498498
499499
500500 func replenishTwoTokensByType (poolAddr,pType,pmtA,aId,pmtB,bId) = {
501501 let payments = [AttachedPayment(assetIdFromStr(aId), pmtA), AttachedPayment(assetIdFromStr(bId), pmtB)]
502502 if ((pType == SF_POOL))
503503 then invoke(poolAddr, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], payments)
504504 else if ((pType == WX_POOL))
505505 then invoke(poolAddr, "put", [1000000, false], payments)
506506 else unknownPoolType()
507507 }
508508
509509
510510 func replenishOneTokenByType (poolAddr,pType,pmt,pmtId) = {
511511 let payments = [AttachedPayment(assetIdFromStr(pmtId), pmt)]
512512 if ((pType == SF_POOL))
513513 then invoke(poolAddr, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], payments)
514514 else if ((pType == WX_POOL))
515515 then invoke(poolAddr, "putOneTkn", [0, false], payments)
516516 else unknownPoolType()
517517 }
518518
519519
520520 func stakeLP (pool,pType,shareId,amount) = {
521521 let payments = [AttachedPayment(fromBase58String(shareId), amount)]
522522 if ((pType == SF_POOL))
523523 then invoke(getSFFarmingAddr(), "lockShareTokens", [pool, 0], payments)
524524 else if ((pType == WX_POOL))
525525 then invoke(getWXFarmingAddr(addressFromStringValue(pool)), "stake", nil, payments)
526526 else unknownPoolType()
527527 }
528528
529529
530530 func unstakeLP (pool,pType,shareId,amount) = {
531531 let $t01522415574 = if ((pType == SF_POOL))
532532 then $Tuple3(getSFFarmingAddr(), "withdrawShareTokens", [pool, amount])
533533 else if ((pType == WX_POOL))
534534 then $Tuple3(getWXFarmingAddr(Address(fromBase58String(pool))), "unstake", [shareId, amount])
535535 else unknownPoolType()
536536 let farmAddr = $t01522415574._1
537537 let fName = $t01522415574._2
538538 let params = $t01522415574._3
539539 let inv = invoke(farmAddr, fName, params, nil)
540540 if ((inv == inv))
541541 then amount
542542 else throw("Strict value is not equal to itself.")
543543 }
544544
545545
546546 func calcAmountToPaySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
547547 let poolAddr = Address(fromBase58String(pool))
548548 let feeScale6 = 1000000
549549 let fee = getIntegerValue(poolAddr, kSFPoolFee)
550550 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee), CEILING)
551551 let $t01599616302 = if ((assetTokenToGet == assetIdA))
552552 then {
553553 let amountToPay = fraction(amntGetNoFee, balB, (balA - amntGetNoFee), CEILING)
554554 $Tuple2(amountToPay, assetIdB)
555555 }
556556 else {
557557 let amountToPay = fraction(amntGetNoFee, balA, (balB - amntGetNoFee), CEILING)
558558 $Tuple2(amountToPay, assetIdA)
559559 }
560560 let amountToPay = $t01599616302._1
561561 let assetToPay = $t01599616302._2
562562 $Tuple2(assetToPay, amountToPay)
563563 }
564564
565565
566566 func getWXSwapFees (pool) = {
567567 let poolAddr = addressFromStringValue(pool)
568568 let fContract = addressFromStringValue(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr"))
569569 let poolFeeDefault = value(getInteger(wxSwapContract, "%s__poolFee"))
570570 let protocolFeeDefault = value(getInteger(wxSwapContract, "%s__protocolFee"))
571571 match invoke(fContract, "getSwapFeeREADONLY", [toString(poolAddr)], nil) {
572572 case fees: (Int, Int) =>
573573 $Tuple2(fees._1, fees._2)
574574 case _ =>
575575 $Tuple2(poolFeeDefault, protocolFeeDefault)
576576 }
577577 }
578578
579579
580580 func calcAmountToPayWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
581581 let $t01704217081 = getWXSwapFees(pool)
582582 let pFee = $t01704217081._1
583583 let prFee = $t01704217081._2
584584 let feeScale = toBigInt(100000000)
585585 let $t01712117429 = if ((assetTokenToGet == assetIdA))
586586 then {
587587 let amountToPay = fraction(amountTokenToGet, balB, (balA - amountTokenToGet))
588588 $Tuple2(amountToPay, assetIdB)
589589 }
590590 else {
591591 let amountToPay = fraction(amountTokenToGet, balA, (balB - amountTokenToGet))
592592 $Tuple2(amountToPay, assetIdA)
593593 }
594594 let amountToPay = $t01712117429._1
595595 let assetToPay = $t01712117429._2
596596 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
597597 $Tuple2(assetToPay, amountToPayWithFee)
598598 }
599599
600600
601601 func exchangeDirectly (pType,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((pType == SF_POOL))
602602 then {
603603 let $t01777617898 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
604604 let assetToPay = $t01777617898._1
605605 let amountToPay = $t01777617898._2
606606 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
607607 }
608608 else if ((pType == WX_POOL))
609609 then {
610610 let $t01809818220 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
611611 let assetToPay = $t01809818220._1
612612 let amountToPay = $t01809818220._2
613613 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
614614 }
615615 else unknownPoolType()
616616
617617
618618 func calcWithdrawLPFromPoolVirt (poolAddr,pType,shareId,userCanWithdraw) = {
619619 let $t01850718971 = if ((pType == SF_POOL))
620620 then {
621621 let inv = {
622622 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(userCanWithdraw)]], nil)
623623 if ($isInstanceOf(@, "List[Any]"))
624624 then @
625625 else throw(($getType(@) + " couldn't be cast to List[Any]"))
626626 }
627627 if ((inv == inv))
628628 then $Tuple2({
629629 let @ = inv[0]
630630 if ($isInstanceOf(@, "Int"))
631631 then @
632632 else throw(($getType(@) + " couldn't be cast to Int"))
633633 }, {
634634 let @ = inv[1]
635635 if ($isInstanceOf(@, "Int"))
636636 then @
637637 else throw(($getType(@) + " couldn't be cast to Int"))
638638 })
639639 else throw("Strict value is not equal to itself.")
640640 }
641641 else if ((pType == WX_POOL))
642642 then {
643643 let inv = split({
644644 let @ = invoke(poolAddr, "evaluateGetREADONLY", [shareId, userCanWithdraw], nil)
645645 if ($isInstanceOf(@, "String"))
646646 then @
647647 else throw(($getType(@) + " couldn't be cast to String"))
648648 }, "__")
649649 if ((inv == inv))
650650 then $Tuple2(parseIntValue(inv[1]), parseIntValue(inv[2]))
651651 else throw("Strict value is not equal to itself.")
652652 }
653653 else unknownPoolType()
654654 let amountA = $t01850718971._1
655655 let amountB = $t01850718971._2
656656 $Tuple2(amountA, amountB)
657657 }
658658
659659
660660 func claimFarmed (pType,pool) = if ((pType == SF_POOL))
661661 then {
662662 let balBefore = accountBalance(SWOPID)
663663 if ((balBefore == balBefore))
664664 then {
665665 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
666666 if ((inv == inv))
667667 then {
668668 let balAfter = accountBalance(SWOPID)
669669 $Tuple2((balAfter - balBefore), SWOPID)
670670 }
671671 else throw("Strict value is not equal to itself.")
672672 }
673673 else throw("Strict value is not equal to itself.")
674674 }
675675 else if ((pType == WX_POOL))
676676 then {
677677 let $t01933919418 = getWXPoolData(addressFromStringValue(pool))
678678 let aId = $t01933919418._1
679679 let bId = $t01933919418._2
680680 let aBal = $t01933919418._3
681681 let bBal = $t01933919418._4
682682 let lpId = $t01933919418._5
683683 let balBefore = accountBalance(WXID)
684684 if ((balBefore == balBefore))
685685 then {
686686 let inv = invoke(getWXFarmingAddr(addressFromStringValue(pool)), "claimWx", [lpId], nil)
687687 if ((inv == inv))
688688 then {
689689 let balAfter = accountBalance(WXID)
690690 $Tuple2((balAfter - balBefore), WXID)
691691 }
692692 else throw("Strict value is not equal to itself.")
693693 }
694694 else throw("Strict value is not equal to itself.")
695695 }
696696 else unknownPoolType()
697697
698698
699699 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
700700 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
701701 if ((lpBalanceBefore == lpBalanceBefore))
702702 then {
703703 let poolAddr = addressFromStringValue(pool)
704704 let $t02001620432 = if (if ((pmtA > 0))
705705 then (pmtB > 0)
706706 else false)
707707 then {
708708 let $t02008220198 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
709709 let pmtInA = $t02008220198._1
710710 let pmtInB = $t02008220198._2
711711 let change = $t02008220198._3
712712 let changeId = $t02008220198._4
713713 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
714714 if ((inv == inv))
715715 then $Tuple2(change, changeId)
716716 else throw("Strict value is not equal to itself.")
717717 }
718718 else if ((pmtA > 0))
719719 then $Tuple2(pmtA, aId)
720720 else if ((pmtB > 0))
721721 then $Tuple2(pmtB, bId)
722722 else throw("pmts must be > 0")
723723 let change = $t02001620432._1
724724 let changeId = $t02001620432._2
725725 let inv = if ((change > 0))
726726 then replenishOneTokenByType(poolAddr, pType, change, changeId)
727727 else nil
728728 if ((inv == inv))
729729 then {
730730 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
731731 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
732732 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
733733 let userShareForStake = (totalStaked - axlyFeeAmount)
734734 if ((0 >= userShareForStake))
735735 then throw("amount of staked sharetokens must be > 0")
736736 else {
737737 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
738738 if ((invLP == invLP))
739739 then $Tuple2(userShareForStake, axlyFeeAmount)
740740 else throw("Strict value is not equal to itself.")
741741 }
742742 }
743743 else throw("Strict value is not equal to itself.")
744744 }
745745 else throw("Strict value is not equal to itself.")
746746 }
747747
748748
749749 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
750750 let totalAmount = getPoolTotalShare(pool)
751751 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
752752 let $t02128921527 = if (withLoan)
753753 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
754754 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
755755 let curPoolInterest = $t02128921527._1
756756 let totalStakedWithLoan = $t02128921527._2
757757 [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))]
758758 }
759759
760760
761761 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
762762 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
763763 if ((tokenBalanceBefore == tokenBalanceBefore))
764764 then {
765765 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
766766 if ((inv == inv))
767767 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
768768 else throw("Strict value is not equal to itself.")
769769 }
770770 else throw("Strict value is not equal to itself.")
771771 }
772772
773773
774774 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
775775 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
776776 if ((tokenBalanceBefore == tokenBalanceBefore))
777777 then {
778778 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
779779 if ((inv == inv))
780780 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
781781 else throw("Strict value is not equal to itself.")
782782 }
783783 else throw("Strict value is not equal to itself.")
784784 }
785785
786786
787787 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
788788 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
789789 if ((tokenBalanceBefore == tokenBalanceBefore))
790790 then {
791791 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
792792 if ((inv == inv))
793793 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
794794 else throw("Strict value is not equal to itself.")
795795 }
796796 else throw("Strict value is not equal to itself.")
797797 }
798798
799799
800800 func capitalize (pool,pType,tokenId,tokenAmount) = {
801801 let poolAddr = Address(fromBase58String(pool))
802802 let $t02388123947 = getPoolData(poolAddr, pType)
803803 let AId = $t02388123947._1
804804 let BId = $t02388123947._2
805805 let balA = $t02388123947._3
806806 let balB = $t02388123947._4
807807 let shareId = $t02388123947._5
808808 if (if ((tokenId != AId))
809809 then (tokenId != BId)
810810 else false)
811811 then throw("Wrong asset")
812812 else {
813813 let totalShareAmount = getPoolTotalShare(pool)
814814 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
815815 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
816816 let tokensForFeeLoan = fraction(tokenAmount, loanPercent, SCALE8)
817817 let tokensForFeeNoLoan = (tokenAmount - tokensForFeeLoan)
818818 let axlyFeeLoan = fraction(tokensForFeeLoan, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
819819 let axlyFeeNoLoan = fraction(tokensForFeeNoLoan, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
820820 let axlyFee = (axlyFeeLoan + axlyFeeNoLoan)
821821 let $t02458724687 = if ((tokenId == AId))
822822 then $Tuple2((tokenAmount - axlyFee), 0)
823823 else $Tuple2(0, (tokenAmount - axlyFee))
824824 let pmtA = $t02458724687._1
825825 let pmtB = $t02458724687._2
826826 let $t02469024794 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
827827 let stakedAmount = $t02469024794._1
828828 let nf = $t02469024794._2
829829 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
830830 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
831831 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
832832 let stakedNoLoan = (stakedAmount - stakedLoan)
833833 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
834834 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
835835 else 0
836836 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
837837 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
838838 else 0
839839 ([IntegerEntry((pool + kPoolInterestLoan), newInterestLoan), IntegerEntry((pool + kPoolInterestNoLoan), newInterestNoLoan), IntegerEntry((pool + kPoolTotal), (totalShareAmount + stakedAmount)), IntegerEntry((pool + kPoolTotalLoan), (totalShareAmountWithLoan + stakedLoan)), ScriptTransfer(moneyBox, axlyFee, fromBase58String(tokenId))] ++ getCursEntries(AId, BId, shareId, nil))
840840 }
841841 }
842842
843843
844844 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
845845 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
846846 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
847847 let poolInterest = if (borrowed)
848848 then getIntegerValue(this, (pool + kPoolInterestLoan))
849849 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
850850 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
851851 }
852852
853853
854854 func calcStopLossFee (pool,isBorrowed,stopLoss,lpWithdraw) = {
855855 let feeType = if (isBorrowed)
856856 then STOPLOSS_LOAN
857857 else STOPLOSS_FEE_NO_LOAN
858858 if (stopLoss)
859859 then fraction(lpWithdraw, getAxlyFee(pool, feeType), FEE_SCALE6)
860860 else 0
861861 }
862862
863863
864864 func withdrawToUser (user,pool,posId,stopLoss) = {
865865 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
866866 let isBorrowed = (valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0) > 0)
867867 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, isBorrowed)
868868 let poolTotalShare = getPoolTotalShare(pool)
869869 let poolTotalShareLoan = getPoolTotalShareWithLoan(pool)
870870 let userAddr = Address(fromBase58String(user))
871871 let poolAddr = Address(fromBase58String(pool))
872872 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
873873 let $t02732527397 = getPoolData(poolAddr, pType)
874874 let idAStr = $t02732527397._1
875875 let idBStr = $t02732527397._2
876876 let balA = $t02732527397._3
877877 let balB = $t02732527397._4
878878 let shareId = $t02732527397._5
879879 let $t02740027467 = $Tuple2(assetIdFromStr(idAStr), assetIdFromStr(idBStr))
880880 let idA = $t02740027467._1
881881 let idB = $t02740027467._2
882882 let stopLossFee = calcStopLossFee(pool, isBorrowed, stopLoss, userCanWithdraw)
883883 let cBalABefore = accountBalance(idA)
884884 if ((cBalABefore == cBalABefore))
885885 then {
886886 let cBalBBefore = accountBalance(idB)
887887 if ((cBalBBefore == cBalBBefore))
888888 then {
889889 let inv = if ((pType == SF_POOL))
890890 then {
891891 let inv = unstakeLP(pool, pType, shareId, stopLossFee)
892892 if ((inv == inv))
893893 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
894894 else throw("Strict value is not equal to itself.")
895895 }
896896 else if ((pType == WX_POOL))
897897 then {
898898 let inv = unstakeLP(pool, pType, shareId, (userCanWithdraw + stopLossFee))
899899 if ((inv == inv))
900900 then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
901901 else throw("Strict value is not equal to itself.")
902902 }
903903 else unknownPoolType()
904904 if ((inv == inv))
905905 then {
906906 let cBalAAfter = accountBalance(idA)
907907 if ((cBalAAfter == cBalAAfter))
908908 then {
909909 let cBalBAfter = accountBalance(idB)
910910 if ((cBalBAfter == cBalBAfter))
911911 then {
912912 let $t02816228251 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
913913 let tokensAmountA = $t02816228251._1
914914 let tokensAmountB = $t02816228251._2
915915 let $t02825429490 = if (isBorrowed)
916916 then {
917917 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
918918 let debt = {
919919 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posId), borrowAsset], nil)
920920 if ($isInstanceOf(@, "Int"))
921921 then @
922922 else throw(($getType(@) + " couldn't be cast to Int"))
923923 }
924924 if ((debt == debt))
925925 then {
926926 let amountToGetEx = if (if ((borrowAsset == idAStr))
927927 then (debt > tokensAmountA)
928928 else false)
929929 then (debt - tokensAmountA)
930930 else if (if ((borrowAsset == idBStr))
931931 then (debt > tokensAmountB)
932932 else false)
933933 then (debt - tokensAmountB)
934934 else 0
935935 let exInv = if ((amountToGetEx > 0))
936936 then exchangeDirectly(pType, pool, idAStr, idBStr, (balA - tokensAmountA), (balB - tokensAmountB), amountToGetEx, borrowAsset)
937937 else nil
938938 if ((exInv == exInv))
939939 then {
940940 let cBalAAfterRepay = accountBalance(idA)
941941 if ((cBalAAfterRepay == cBalAAfterRepay))
942942 then {
943943 let cBalBAfterRepay = accountBalance(idB)
944944 if ((cBalBAfterRepay == cBalBAfterRepay))
945945 then {
946946 let closeDbtInv = if ((debt > 0))
947947 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
948948 else 0
949949 if ((closeDbtInv == closeDbtInv))
950950 then if ((borrowAsset == idAStr))
951951 then $Tuple2(((cBalAAfterRepay - cBalABefore) - debt), (cBalBAfterRepay - cBalBBefore))
952952 else $Tuple2((cBalAAfterRepay - cBalABefore), ((cBalBAfterRepay - cBalBBefore) - debt))
953953 else throw("Strict value is not equal to itself.")
954954 }
955955 else throw("Strict value is not equal to itself.")
956956 }
957957 else throw("Strict value is not equal to itself.")
958958 }
959959 else throw("Strict value is not equal to itself.")
960960 }
961961 else throw("Strict value is not equal to itself.")
962962 }
963963 else $Tuple2(tokensAmountA, tokensAmountB)
964964 let toUserA = $t02825429490._1
965965 let toUserB = $t02825429490._2
966966 let poolTotalLoanEntries = if (isBorrowed)
967967 then [IntegerEntry((pool + kPoolTotalLoan), ((poolTotalShareLoan - userCanWithdraw) - stopLossFee))]
968968 else nil
969969 let entries = (([DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserPosition)), DeleteEntry((((user + "_") + posId) + kUserPositionPool)), DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId)), DeleteEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest)), IntegerEntry((pool + kPoolTotal), ((poolTotalShare - userCanWithdraw) - stopLossFee)), ScriptTransfer(userAddr, toUserA, idA), ScriptTransfer(userAddr, toUserB, idB), ScriptTransfer(moneyBox, stopLossFee, fromBase58String(shareId))] ++ poolTotalLoanEntries) ++ getCursEntries(idAStr, idBStr, shareId, nil))
970970 $Tuple2(entries, [toUserA, toUserB])
971971 }
972972 else throw("Strict value is not equal to itself.")
973973 }
974974 else throw("Strict value is not equal to itself.")
975975 }
976976 else throw("Strict value is not equal to itself.")
977977 }
978978 else throw("Strict value is not equal to itself.")
979979 }
980980 else throw("Strict value is not equal to itself.")
981981 }
982982
983983
984984 func parseRequest (requestId) = {
985985 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
986986 let user = request[0]
987987 let pool = request[1]
988988 let pmtA = parseIntValue(request[2])
989989 let AId = request[3]
990990 let pmtB = parseIntValue(request[4])
991991 let BId = request[5]
992992 let balA = parseIntValue(request[6])
993993 let balB = parseIntValue(request[7])
994994 let shareId = request[8]
995995 let bwAsset = request[9]
996996 let bwAmount = parseIntValue(request[10])
997997 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
998998 }
999999
10001000
10011001 func calcBorrowAmount (pmtA,pmtB,aId,bId,leverage,borrowId) = if (if ((borrowId != aId))
10021002 then (borrowId != bId)
10031003 else false)
10041004 then throw("Wrong borrow asset")
10051005 else {
10061006 let dPriceA = getIntegerValue(priceOracleAddr, (aId + kPriceInOracle))
10071007 let dPriceB = getIntegerValue(priceOracleAddr, (bId + kPriceInOracle))
10081008 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
10091009 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
10101010 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
10111011 let $t03147231569 = if ((borrowId == aId))
10121012 then $Tuple2(dPriceA, decPrA)
10131013 else $Tuple2(dPriceB, decPrB)
10141014 let borrowPrice = $t03147231569._1
10151015 let borrowDecPr = $t03147231569._2
10161016 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
10171017 }
10181018
10191019
10201020 func parseReplenishPmts (pmts,AId,BId) = if ((size(pmts) == 2))
10211021 then if ((assetIdToStr(pmts[0].assetId) != AId))
10221022 then throw("Wrong payment asset A")
10231023 else if ((assetIdToStr(pmts[1].assetId) != BId))
10241024 then throw("Wrong payment asset B")
10251025 else $Tuple2(pmts[0].amount, pmts[1].amount)
10261026 else if ((size(pmts) == 1))
10271027 then if ((assetIdToStr(pmts[0].assetId) == AId))
10281028 then $Tuple2(pmts[0].amount, 0)
10291029 else if ((assetIdToStr(pmts[0].assetId) == BId))
10301030 then $Tuple2(0, pmts[0].amount)
10311031 else throw("Wrong payment")
10321032 else throw("One or two payments expected")
10331033
10341034
10351035 func calcPriceImpact (balA,balB,newBalA,newBalB) = {
10361036 let pri = ((SCALE8 - fraction(fraction(balB, SCALE8, balA), SCALE8, fraction(newBalB, SCALE8, newBalA))) * 100)
10371037 if ((0 > pri))
10381038 then (pri * -1)
10391039 else pri
10401040 }
10411041
10421042
10431043 func claimAndCheckAmnt (pool,pType,claim,amount,change) = {
10441044 let $t03256932828 = if (claim)
10451045 then claimFarmed(pType, pool)
10461046 else {
10471047 let claimedAsset = if ((pType == SF_POOL))
10481048 then SWOPID
10491049 else if ((pType == WX_POOL))
10501050 then WXID
10511051 else unknownPoolType()
10521052 $Tuple2(amount, claimedAsset)
10531053 }
10541054 let claimAmount = $t03256932828._1
10551055 let claimAsset = $t03256932828._2
10561056 let bal = accountBalance(claimAsset)
10571057 if (if ((amount > (claimAmount + change)))
10581058 then true
10591059 else (amount > bal))
10601060 then throw("To big amount to exchange")
10611061 else $Tuple2(claimAmount, claimAsset)
10621062 }
10631063
10641064
10651065 @Callable(i)
10661066 func getPoolInfoREADONLY (pool) = {
10671067 let poolAddr = addressFromStringValue(pool)
10681068 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
10691069 let $t03322533315 = getPoolData(Address(fromBase58String(pool)), pType)
10701070 let AId = $t03322533315._1
10711071 let BId = $t03322533315._2
10721072 let balA = $t03322533315._3
10731073 let balB = $t03322533315._4
10741074 let shareId = $t03322533315._5
10751075 let shareSupply = getShareSupply(poolAddr, pType, shareId)
10761076 $Tuple2(nil, $Tuple6(AId, BId, shareId, balA, balB, shareSupply))
10771077 }
10781078
10791079
10801080
10811081 @Callable(i)
10821082 func getShareAssetPriceREADONLY (shareId) = {
10831083 let sharePrices = getSharePrice(shareId)
10841084 $Tuple2(nil, sharePrices)
10851085 }
10861086
10871087
10881088
10891089 @Callable(i)
10901090 func getUserPositionShareAmountREADONLY (user,posNum) = {
10911091 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
10921092 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
10931093 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
10941094 $Tuple2(nil, userCanWithdraw)
10951095 }
10961096
10971097
10981098
10991099 @Callable(i)
11001100 func getUserPositionREADONLY (user,pools,posNum) = {
11011101 func userPos (a,pool) = {
11021102 let $t03418834258 = a
11031103 let wAmountsA = $t03418834258._1
11041104 let wAmountsB = $t03418834258._2
11051105 let debts = $t03418834258._3
11061106 let eqWAmountsA = $t03418834258._4
11071107 let eqWAmountsB = $t03418834258._5
11081108 let index = $t03418834258._6
11091109 if (!(isDefined(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserPosition)))))
11101110 then $Tuple6((wAmountsA :+ 0), (wAmountsB :+ 0), (debts :+ 0), (eqWAmountsA :+ 0), (eqWAmountsB :+ 0), (index + 1))
11111111 else {
11121112 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
11131113 let $t03453734627 = getPoolData(Address(fromBase58String(pool)), pType)
11141114 let AId = $t03453734627._1
11151115 let BId = $t03453734627._2
11161116 let balA = $t03453734627._3
11171117 let balB = $t03453734627._4
11181118 let shareId = $t03453734627._5
11191119 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
11201120 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
11211121 let $t03484334963 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userCanWithdraw)
11221122 let wAmountA = $t03484334963._1
11231123 let wAmountB = $t03484334963._2
11241124 if ((borrowAmount > 0))
11251125 then {
11261126 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAssetId))
11271127 let debt = {
11281128 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posNum[index]), borrowAsset], nil)
11291129 if ($isInstanceOf(@, "Int"))
11301130 then @
11311131 else throw(($getType(@) + " couldn't be cast to Int"))
11321132 }
11331133 if ((debt == debt))
11341134 then {
11351135 let amountToGetEx = if (if ((borrowAsset == AId))
11361136 then (debt > wAmountA)
11371137 else false)
11381138 then (debt - wAmountA)
11391139 else if (if ((borrowAsset == BId))
11401140 then (debt > wAmountB)
11411141 else false)
11421142 then (debt - wAmountB)
11431143 else 0
11441144 let amountToPay = if ((amountToGetEx > 0))
11451145 then if ((pType == SF_POOL))
11461146 then {
11471147 let ex = calcAmountToPaySF(pool, AId, BId, balA, balB, amountToGetEx, borrowAsset)
11481148 ex._2
11491149 }
11501150 else if ((pType == WX_POOL))
11511151 then {
11521152 let ex = calcAmountToPayWX(pool, AId, BId, balA, balB, amountToGetEx, borrowAsset)
11531153 ex._2
11541154 }
11551155 else unknownPoolType()
11561156 else 0
11571157 let $t03587536094 = if ((borrowAsset == AId))
11581158 then $Tuple2(((wAmountA + amountToGetEx) - debt), (wAmountB - amountToPay))
11591159 else $Tuple2((wAmountA - amountToPay), ((wAmountB + amountToGetEx) - debt))
11601160 let eqWAmountA = $t03587536094._1
11611161 let eqWAmountB = $t03587536094._2
11621162 $Tuple6((wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), (debts :+ debt), (eqWAmountsA :+ eqWAmountA), (eqWAmountsB :+ eqWAmountB), (index + 1))
11631163 }
11641164 else throw("Strict value is not equal to itself.")
11651165 }
11661166 else $Tuple6((wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), debts, (wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), (index + 1))
11671167 }
11681168 }
11691169
11701170 let $t03634936460 = {
11711171 let $l = pools
11721172 let $s = size($l)
11731173 let $acc0 = $Tuple6(nil, nil, nil, nil, nil, 0)
11741174 func $f0_1 ($a,$i) = if (($i >= $s))
11751175 then $a
11761176 else userPos($a, $l[$i])
11771177
11781178 func $f0_2 ($a,$i) = if (($i >= $s))
11791179 then $a
11801180 else throw("List size exceeds 20")
11811181
11821182 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
11831183 }
11841184 let wAmountsA = $t03634936460._1
11851185 let wAmountsB = $t03634936460._2
11861186 let debts = $t03634936460._3
11871187 let eqWAmountsA = $t03634936460._4
11881188 let eqWAmountsB = $t03634936460._5
11891189 $Tuple2(nil, $Tuple5(wAmountsA, wAmountsB, debts, eqWAmountsA, eqWAmountsB))
11901190 }
11911191
11921192
11931193
11941194 @Callable(i)
11951195 func replenish (pool,leverage,borrowId) = valueOrElse(isActiveForUsers(), {
11961196 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
11971197 if (!(isPoolActive(pool, pType)))
11981198 then throw("Pool not active at this moment")
11991199 else if (if ((100 > leverage))
12001200 then true
12011201 else (leverage > 300))
12021202 then throw("Leverage can't be <100 and >300")
12031203 else if (if (!(getBooleanValue(this, (pool + kPoolCanBorrow))))
12041204 then (leverage > 100)
12051205 else false)
12061206 then throw("You can't borrow in this pool")
12071207 else {
12081208 let $t03705837148 = getPoolData(Address(fromBase58String(pool)), pType)
12091209 let AId = $t03705837148._1
12101210 let BId = $t03705837148._2
12111211 let balA = $t03705837148._3
12121212 let balB = $t03705837148._4
12131213 let shareId = $t03705837148._5
12141214 if (if ((borrowId != AId))
12151215 then (borrowId != BId)
12161216 else false)
12171217 then throw("Wrong borrow asset")
12181218 else {
12191219 let $t03722937288 = parseReplenishPmts(i.payments, AId, BId)
12201220 let pmtA = $t03722937288._1
12211221 let pmtB = $t03722937288._2
12221222 let user = toString(i.caller)
12231223 let newPosNum = getNewUserPositionNumber(user)
12241224 if ((leverage > 100))
12251225 then {
12261226 let borrowAmount = calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
12271227 let request = makeString([user, pool, toString(pmtA), AId, toString(pmtB), BId, toString(balA), toString(balB), shareId, borrowId, toString(borrowAmount)], ",")
12281228 let newRequestId = {
12291229 let @ = invoke(this, "createNewRequest", [request], nil)
12301230 if ($isInstanceOf(@, "Int"))
12311231 then @
12321232 else throw(($getType(@) + " couldn't be cast to Int"))
12331233 }
12341234 if ((newRequestId == newRequestId))
12351235 then {
12361236 let args = [((user + "_") + toString(newPosNum)), shareId, borrowId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
12371237 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
12381238 if ((inv == inv))
12391239 then {
12401240 let userStaked = getIntegerValue(this, (((((pool + "_") + user) + "_") + toString(newPosNum)) + kUserPosition))
12411241 let $t03827738371 = getPoolBalances(Address(fromBase58String(pool)), pType, AId, BId)
12421242 if (($t03827738371 == $t03827738371))
12431243 then {
12441244 let newBalB = $t03827738371._2
12451245 let newBalA = $t03827738371._1
12461246 let prImpact = calcPriceImpact(balA, balB, newBalA, newBalB)
12471247 let $t03844138556 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
12481248 let wAmountA = $t03844138556._1
12491249 let wAmountB = $t03844138556._2
12501250 $Tuple2(nil, [prImpact, wAmountA, wAmountB])
12511251 }
12521252 else throw("Strict value is not equal to itself.")
12531253 }
12541254 else throw("Strict value is not equal to itself.")
12551255 }
12561256 else throw("Strict value is not equal to itself.")
12571257 }
12581258 else {
12591259 let $t03860938724 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
12601260 if (($t03860938724 == $t03860938724))
12611261 then {
12621262 let axlyFee = $t03860938724._2
12631263 let userStaked = $t03860938724._1
12641264 let $t03873038824 = getPoolBalances(Address(fromBase58String(pool)), pType, AId, BId)
12651265 if (($t03873038824 == $t03873038824))
12661266 then {
12671267 let newBalB = $t03873038824._2
12681268 let newBalA = $t03873038824._1
12691269 let prImpact = calcPriceImpact(balA, balB, newBalA, newBalB)
12701270 let $t03889439009 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
12711271 let wAmountA = $t03889439009._1
12721272 let wAmountB = $t03889439009._2
12731273 $Tuple2((replenishEntries(pool, user, userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId, [toString(wAmountA), toString(wAmountB)])), [prImpact, wAmountA, wAmountB])
12741274 }
12751275 else throw("Strict value is not equal to itself.")
12761276 }
12771277 else throw("Strict value is not equal to itself.")
12781278 }
12791279 }
12801280 }
12811281 })
12821282
12831283
12841284
12851285 @Callable(i)
12861286 func withdraw (pool,posId) = valueOrElse(isActiveForUsers(), {
12871287 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
12881288 if (!(isPoolActive(pool, pType)))
12891289 then throw("Pool not active at this moment")
12901290 else withdrawToUser(toString(i.caller), pool, toString(posId), false)
12911291 })
12921292
12931293
12941294
12951295 @Callable(i)
12961296 func createUpdateStopLoss (posId,poolId,assetId,price) = valueOrElse(isActiveForUsers(), {
12971297 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
12981298 let pType = valueOrErrorMessage(getString(this, (kPool + poolId)), "Pool is not inited")
12991299 if (!(isPoolActive(poolId, pType)))
13001300 then throw("Pool not active at this moment")
13011301 else if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
13021302 then throw("There are no user position")
13031303 else if ((0 >= price))
13041304 then throw("Price must be greater than 0")
13051305 else if ((price > tokenOraclePrice))
13061306 then throw("Price must be less than current token price")
13071307 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
13081308 })
13091309
13101310
13111311
13121312 @Callable(i)
13131313 func deleteStopLoss (posId,poolId,assetId) = valueOrElse(isActiveForUsers(), {
13141314 let pType = valueOrErrorMessage(getString(this, (kPool + poolId)), "Pool is not inited")
13151315 if (!(isPoolActive(poolId, pType)))
13161316 then throw("Pool not active at this moment")
13171317 else if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
13181318 then throw("No entry")
13191319 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
13201320 })
13211321
13221322
13231323
13241324 @Callable(i)
13251325 func init (moneyBoxAddr,sfFarmingAddr,lendAddr,priceOracleAddr,keeperExContract,wxSwapContract,swopAssetId,wxAssetId,operatorPubKey,group1Admin1PubKey,group1Admin2PubKey,group2Admin1PubKey,group2Admin2PubKey) = valueOrElse(isSelfCall(i), if (isDefined(getString(kOperatorCallPK)))
13261326 then throw("Already inited")
13271327 else if (!(isDefined(addressFromString(moneyBoxAddr))))
13281328 then throw("moneyBoxAddr is not correct address")
13291329 else if (!(isDefined(addressFromString(sfFarmingAddr))))
13301330 then throw("sfFarmingAddr is not correct address")
13311331 else if (!(isDefined(addressFromString(lendAddr))))
13321332 then throw("lendAddr is not correct address")
13331333 else if (!(isDefined(addressFromString(priceOracleAddr))))
13341334 then throw("priceOracleAddr is not correct address")
13351335 else if (!(isDefined(addressFromString(keeperExContract))))
13361336 then throw("keeperExContract is not correct address")
13371337 else if (!(isDefined(assetInfo(fromBase58String(swopAssetId)))))
13381338 then throw("swopAssetId is not correct asset id")
13391339 else if (!(isDefined(assetInfo(fromBase58String(wxAssetId)))))
13401340 then throw("swopAssetId is not correct asset id")
13411341 else if ((size(fromBase58String(operatorPubKey)) != 32))
13421342 then throw("operatorPubKey is not correct")
13431343 else if ((size(fromBase58String(group1Admin1PubKey)) != 32))
13441344 then throw("group1Admin1PubKey is not correct")
13451345 else if ((size(fromBase58String(group1Admin2PubKey)) != 32))
13461346 then throw("group1Admin2PubKey is not correct")
13471347 else if ((size(fromBase58String(group2Admin1PubKey)) != 32))
13481348 then throw("group2Admin1PubKey is not correct")
13491349 else if ((size(fromBase58String(group2Admin2PubKey)) != 32))
13501350 then throw("group2Admin2PubKey is not correct")
13511351 else [StringEntry(kMoneyBox, moneyBoxAddr), StringEntry(kSFFarmingAddr, sfFarmingAddr), StringEntry(kLendService, lendAddr), StringEntry(kPriceOracle, priceOracleAddr), StringEntry(kExContract, keeperExContract), StringEntry(kWxSwapContract, wxSwapContract), StringEntry(kSwopId, swopAssetId), StringEntry(kWxId, wxAssetId), StringEntry(kOperatorCallPK, operatorPubKey), StringEntry(kGroup1Admin1PK, group1Admin1PubKey), StringEntry(kGroup1Admin2PK, group1Admin2PubKey), StringEntry(kGroup2Admin1PK, group2Admin1PubKey), StringEntry(kGroup2Admin2PK, group2Admin2PubKey)])
13521352
13531353
13541354
13551355 @Callable(i)
13561356 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
13571357 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
13581358 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
13591359 })
13601360
13611361
13621362
13631363 @Callable(i)
13641364 func replenishFromLand (requestId) = valueOrElse(isActive(), valueOrElse(isLandCall(i), {
13651365 let $t04384843952 = parseRequest(requestId)
13661366 let user = $t04384843952._1
13671367 let pool = $t04384843952._2
13681368 let pmtA = $t04384843952._3
13691369 let AId = $t04384843952._4
13701370 let pmtB = $t04384843952._5
13711371 let BId = $t04384843952._6
13721372 let balA = $t04384843952._7
13731373 let balB = $t04384843952._8
13741374 let shareId = $t04384843952._9
13751375 let bwAsset = $t04384843952._10
13761376 let bwAmount = $t04384843952._11
13771377 if ((size(i.payments) != 1))
13781378 then throw("Wrong payment size")
13791379 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
13801380 then true
13811381 else (i.payments[0].amount != bwAmount))
13821382 then throw("Wrong payment")
13831383 else {
13841384 let $t04414244242 = if ((AId == bwAsset))
13851385 then $Tuple2((pmtA + bwAmount), pmtB)
13861386 else $Tuple2(pmtA, (pmtB + bwAmount))
13871387 let pmtAllA = $t04414244242._1
13881388 let pmtAllB = $t04414244242._2
13891389 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
13901390 let $t04432444439 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
13911391 let userStaked = $t04432444439._1
13921392 let axlyFee = $t04432444439._2
13931393 let posNum = getNewUserPositionNumber(user)
13941394 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
13951395 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
13961396 let $t04479944914 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
13971397 let wAmountA = $t04479944914._1
13981398 let wAmountB = $t04479944914._2
13991399 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId, [toString(wAmountA), toString(wAmountB)])) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
14001400 }
14011401 }))
14021402
14031403
14041404
14051405 @Callable(i)
14061406 func liquidate (user,posId,liquidateAmount) = valueOrElse(isActive(), valueOrElse(isLandCall(i), {
14071407 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
14081408 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
14091409 let $t04543545525 = getPoolData(Address(fromBase58String(pool)), pType)
14101410 let AId = $t04543545525._1
14111411 let BId = $t04543545525._2
14121412 let balA = $t04543545525._3
14131413 let balB = $t04543545525._4
14141414 let shareId = $t04543545525._5
14151415 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
14161416 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
14171417 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
14181418 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
14191419 if ((liquidateAmount > userCanWithdraw))
14201420 then throw("You can't liquidate more than user have")
14211421 else if ((borrowAmount == 0))
14221422 then throw("You can't liquidate position without borrow")
14231423 else [IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPositionInterest), getIntegerValue(this, (pool + kPoolInterestLoan))), IntegerEntry((pool + kPoolTotalLoan), (getPoolTotalShareWithLoan(pool) - liquidateAmount)), IntegerEntry((pool + kPoolTotal), (getPoolTotalShare(pool) - liquidateAmount)), IntegerEntry((((((pool + "_") + user) + "_") + posId) + kUserPosition), (userCanWithdraw - liquidateAmount)), ScriptTransfer(i.caller, amount, fromBase58String(shareId))]
14241424 }))
14251425
14261426
14271427
14281428 @Callable(i)
14291429 func stopLoss (user,posId,pool,assetId) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14301430 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
14311431 let stopLossPrice = valueOrErrorMessage(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)), "No entry")
14321432 if ((tokenOraclePrice > stopLossPrice))
14331433 then throw("Token price greater stop loss price")
14341434 else {
14351435 let res = withdrawToUser(user, pool, toString(posId), true)
14361436 $Tuple2((res._1 :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss))), res._2)
14371437 }
14381438 }))
14391439
14401440
14411441
14421442 @Callable(i)
14431443 func capitalizeExKeeper (pool,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14441444 let pType = getStringValue(this, (kPool + pool))
14451445 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14461446 let $t04767447773 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14471447 let claimedAmount = $t04767447773._1
14481448 let claimedAsset = $t04767447773._2
14491449 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
14501450 let newChange = ((claimedAmount + change) - amountToExchange)
14511451 let changeEntry = if ((newChange >= 0))
14521452 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14531453 else throw("Negative change")
14541454 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14551455 }))
14561456
14571457
14581458
14591459 @Callable(i)
14601460 func capitalizeExPuzzle (pool,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14611461 let pType = getStringValue(this, (kPool + pool))
14621462 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14631463 let $t04857348672 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14641464 let claimedAmount = $t04857348672._1
14651465 let claimedAsset = $t04857348672._2
14661466 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
14671467 let newChange = ((claimedAmount + change) - amountToExchange)
14681468 let changeEntry = if ((newChange >= 0))
14691469 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14701470 else nil
14711471 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14721472 }))
14731473
14741474
14751475
14761476 @Callable(i)
14771477 func capitalizeExSwopFi (pool,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14781478 let pType = getStringValue(this, (kPool + pool))
14791479 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14801480 let $t04951749616 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14811481 let claimedAmount = $t04951749616._1
14821482 let claimedAsset = $t04951749616._2
14831483 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
14841484 let newChange = ((claimedAmount + change) - amountToExchange)
14851485 let changeEntry = if ((newChange >= 0))
14861486 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14871487 else nil
14881488 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14891489 }))
14901490
14911491
14921492
14931493 @Callable(i)
14941494 func capitalizeNoEx (pool,claim,amountFromBalance) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14951495 let pType = getStringValue(this, (kPool + pool))
14961496 let $t05021350308 = claimAndCheckAmnt(pool, pType, claim, amountFromBalance, 0)
14971497 let claimedAmount = $t05021350308._1
14981498 let claimedAsset = $t05021350308._2
14991499 capitalize(pool, pType, assetIdToStr(claimedAsset), (claimedAmount + amountFromBalance))
15001500 }))
15011501
15021502
15031503
15041504 @Callable(i)
15051505 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan,canBorrow) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), if (if ((type != SF_POOL))
15061506 then (type != WX_POOL)
15071507 else false)
15081508 then throw("Wrong type")
15091509 else {
15101510 let $t05073450828 = getPoolData(Address(fromBase58String(poolAddr)), type)
15111511 let aId = $t05073450828._1
15121512 let bId = $t05073450828._2
15131513 let aBal = $t05073450828._3
15141514 let bBal = $t05073450828._4
15151515 let shareId = $t05073450828._5
15161516 if ((0 > inFeeNoLoan))
15171517 then throw("inFeeNoLoan must be greater than 0")
15181518 else if ((0 > inFeeLoan))
15191519 then throw("inFeeLoan must be greater than 0")
15201520 else if ((0 > capFeeNoLoan))
15211521 then throw("capFeeNoLoan must be greater than 0")
15221522 else if ((0 > capFeeWithLoan))
15231523 then throw("capFeeWithLoan must be greater than 0")
15241524 else if ((0 > stoplossFeeNoLoan))
15251525 then throw("stoplossFeeNoLoan must be greater than 0")
15261526 else if ((0 > stoplossFeeWithLoan))
15271527 then throw("stoplossFeeWithLoan must be greater than 0")
15281528 else [IntegerEntry((poolAddr + kAxlyInFeeWithoutLoan), inFeeNoLoan), IntegerEntry((poolAddr + kAxlyInFeeWithLoan), inFeeLoan), IntegerEntry((poolAddr + kAxlyNoLoanCapFee), capFeeNoLoan), IntegerEntry((poolAddr + kAxlyWithLoanCapFee), capFeeWithLoan), IntegerEntry((poolAddr + kAxlyStopLossNoLoanFee), stoplossFeeNoLoan), IntegerEntry((poolAddr + kAxlyStopLossLoanFee), stoplossFeeWithLoan), IntegerEntry((poolAddr + kPoolInterestLoan), 0), IntegerEntry((poolAddr + kPoolInterestNoLoan), 0), StringEntry((kPool + poolAddr), type), StringEntry((shareId + kSharePool), poolAddr), BooleanEntry((poolAddr + kPoolCanBorrow), canBorrow)]
15291529 }))
15301530
15311531
15321532
15331533 @Callable(i)
15341534 func updatePoolFees (poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), if (!(isDefined(getString(this, (kPool + poolAddr)))))
15351535 then throw(("Can't find pool with addr " + poolAddr))
15361536 else if ((0 > inFeeNoLoan))
15371537 then throw("inFeeNoLoan must be greater than 0")
15381538 else if ((0 > inFeeLoan))
15391539 then throw("inFeeLoan must be greater than 0")
15401540 else if ((0 > capFeeNoLoan))
15411541 then throw("capFeeNoLoan must be greater than 0")
15421542 else if ((0 > capFeeWithLoan))
15431543 then throw("capFeeWithLoan must be greater than 0")
15441544 else if ((0 > stoplossFeeNoLoan))
15451545 then throw("stoplossFeeNoLoan must be greater than 0")
15461546 else if ((0 > stoplossFeeWithLoan))
15471547 then throw("stoplossFeeWithLoan must be greater than 0")
15481548 else [IntegerEntry((poolAddr + kAxlyInFeeWithoutLoan), inFeeNoLoan), IntegerEntry((poolAddr + kAxlyInFeeWithLoan), inFeeLoan), IntegerEntry((poolAddr + kAxlyNoLoanCapFee), capFeeNoLoan), IntegerEntry((poolAddr + kAxlyWithLoanCapFee), capFeeWithLoan), IntegerEntry((poolAddr + kAxlyStopLossNoLoanFee), stoplossFeeNoLoan), IntegerEntry((poolAddr + kAxlyStopLossLoanFee), stoplossFeeWithLoan)]))
15491549
15501550
15511551
15521552 @Callable(i)
15531553 func activate () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, kActive), true))
15541554 then throw("dApp already active")
15551555 else [BooleanEntry(kActive, true)])
15561556
15571557
15581558
15591559 @Callable(i)
15601560 func shutdown () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, kActive), true)))
15611561 then throw("dApp already shutdown")
15621562 else [BooleanEntry(kActive, false)])
15631563
15641564
15651565
15661566 @Callable(i)
15671567 func activateForUsers () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, kActiveUsers), true))
15681568 then throw("dApp already active for users")
15691569 else [BooleanEntry(kActiveUsers, true)])
15701570
15711571
15721572
15731573 @Callable(i)
15741574 func shutdownForUsers () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, kActiveUsers), true)))
15751575 then throw("dApp already shutdown for users")
15761576 else [BooleanEntry(kActiveUsers, false)])
15771577
15781578
15791579
15801580 @Callable(i)
15811581 func activateSF () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, (SF_POOL + kActiveSFWX)), true))
15821582 then throw("SWOPFI already active")
15831583 else [BooleanEntry((SF_POOL + kActiveSFWX), true)])
15841584
15851585
15861586
15871587 @Callable(i)
15881588 func shutdownSF () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, (SF_POOL + kActiveSFWX)), true)))
15891589 then throw("SWOPFI already shutdown")
15901590 else [BooleanEntry((SF_POOL + kActiveSFWX), false)])
15911591
15921592
15931593
15941594 @Callable(i)
15951595 func activateWX () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, (WX_POOL + kActiveSFWX)), true))
15961596 then throw("WX already active")
15971597 else [BooleanEntry((WX_POOL + kActiveSFWX), true)])
15981598
15991599
16001600
16011601 @Callable(i)
16021602 func shutdownWX () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, (WX_POOL + kActiveSFWX)), true)))
16031603 then throw("WX already shutdown")
16041604 else [BooleanEntry((WX_POOL + kActiveSFWX), false)])
16051605
16061606
16071607
16081608 @Callable(i)
16091609 func activatePool (pool) = valueOrElse(isAdminCall(i), if (!(isDefined(getString(this, (kPool + pool)))))
16101610 then throw("Unknown pool")
16111611 else if (valueOrElse(getBoolean(this, (pool + kPoolActive)), true))
16121612 then throw("Pool already active")
16131613 else [BooleanEntry((pool + kPoolActive), true)])
16141614
16151615
16161616
16171617 @Callable(i)
16181618 func shutdownPool (pool) = valueOrElse(isAdminCall(i), if (!(isDefined(getString(this, (kPool + pool)))))
16191619 then throw("Unknown pool")
16201620 else if (!(valueOrElse(getBoolean(this, (pool + kPoolActive)), true)))
16211621 then throw("Pool already shutdown")
16221622 else [BooleanEntry((pool + kPoolActive), false)])
16231623
16241624

github/deemru/w8io/026f985 
317.75 ms