tx · GfZCTRHQFL13gPqe2DmzqWHQ5y8XErWRRaP6NKcGSBjV

3MwK9LnnPa74fhkd46WQzyEWo2CGSsqLtQi:  -0.05500000 Waves

2023.07.31 16:58 [2690142] smart account 3MwK9LnnPa74fhkd46WQzyEWo2CGSsqLtQi > SELF 0.00000000 Waves

{ "type": 13, "id": "GfZCTRHQFL13gPqe2DmzqWHQ5y8XErWRRaP6NKcGSBjV", "fee": 5500000, "feeAssetId": null, "timestamp": 1690811879897, "version": 2, "chainId": 84, "sender": "3MwK9LnnPa74fhkd46WQzyEWo2CGSsqLtQi", "senderPublicKey": "BbZ6o9SpTxGQ8uCEj3KWwmTGey1bYou2uVeyeFq1J7Hd", "proofs": [ "5Dz7U83wFpsrGjmZCNFptfZ32j3J6fczPxJG73UuMVJtwqcWAPAVfQXdpMkPioUkxDfCUz9v6P8RKQNuXuK6kkHR", "5B6mTSfsNbZ4QqUpR9436W3oS8oQYjSfz6SgGWo1cuLa8wcWMLfEf6srHJk26N2BtYcaejQKmgxkANubryprTErR" ], "script": "base64:BgKxAQgCEgMKAQgSBAoCCAgSBQoDCBgYEgUKAwgBCBIECgIIARIGCgQBCAgBEgUKAwEICBIPCg0ICAgICAgICAgICAgIEgMKAQgSAwoBCBIFCgMICAESBgoECAEICBINCgsICAEEERgYGAEBGBIJCgcICAEECAEYEg0KCwgIAQQYGBgYGAEYEgUKAwgEARILCgkICAEBAQEBAQQSABIAEgASABIAEgASABIAEgMKAQgSAwoBCIEBAAdTRl9QT09MAgJTRgAHV1hfUE9PTAICV1gAD0NBUF9GRUVfTk9fTE9BTgIJY2FwTm9Mb2FuAAxDQVBfRkVFX0xPQU4CB2NhcExvYW4AFFNUT1BMT1NTX0ZFRV9OT19MT0FOAg5zdG9wTG9zc05vTG9hbgANU1RPUExPU1NfTE9BTgIMc3RvcExvc3NMb2FuAAhMT0FOX0ZFRQIEbG9hbgALTk9fTE9BTl9GRUUCBm5vTG9hbgAGTk9fRkVFAgVub0ZlZQAGU0NB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JYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUOZ3JvdXAxQWRtaW4yUEsAAQAABAxncm91cDJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQ5ncm91cDJBZG1pbjFQSwABCQBkAgAAAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUOZ3JvdXAyQWRtaW4yUEsAAQAACQAAAgkAZAIFDGdyb3VwMVNpZ25lZAUMZ3JvdXAyU2lnbmVkAAJDKEwK", "height": 2690142, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 271h5FG9hXHYHTbxT3saassCkJGiBgZzE3yPsXrF2qpL Next: none 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 = "_axlyFeeCapWithLoan"
7171
7272 let kAxlyWithLoanCapFee = "_axlyFeeCapNoLoan"
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 == operatorPK))
157157 then unit
158158 else throw("Only operator can call this function")
159159
160160
161161 func isAdminCall (i) = if (if ((i.callerPublicKey == group1Admin1PK))
162162 then true
163163 else (i.callerPublicKey == group1Admin2PK))
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 $t078997948 = getSFPoolBalances(poolAddr)
236236 if (($t078997948 == $t078997948))
237237 then {
238238 let balB = $t078997948._2
239239 let balA = $t078997948._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 $t086458704 = getWXPoolBalances(poolAddr, aId, bId)
274274 if (($t086458704 == $t086458704))
275275 then {
276276 let balB = $t086458704._2
277277 let balA = $t086458704._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 = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
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 $t01168211747 = getPoolData(poolAddr, pType)
386386 let aId = $t01168211747._1
387387 let bId = $t01168211747._2
388388 let aBalance = $t01168211747._3
389389 let bBalance = $t01168211747._4
390390 let dPriceA = getIntegerValue(priceOracleAddr, (aId + kPriceInOracle))
391391 let dPriceB = getIntegerValue(priceOracleAddr, (bId + kPriceInOracle))
392392 let shareSupply = getShareSupply(poolAddr, pType, shareId)
393393 let APrecision = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
394394 let BPrecision = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
395395 let sharePrecision = pow(10, 0, getAssetDecimals(shareId), 0, 0, DOWN)
396396 let sum = (fraction(aBalance, dPriceA, APrecision) + fraction(bBalance, dPriceB, BPrecision))
397397 fraction(sum, sharePrecision, shareSupply)
398398 }
399399
400400
401401 func getSharePrices (shareIds) = {
402402 func getPrices (a,shareId) = (a :+ getSharePrice(shareId))
403403
404404 let $l = shareIds
405405 let $s = size($l)
406406 let $acc0 = nil
407407 func $f0_1 ($a,$i) = if (($i >= $s))
408408 then $a
409409 else getPrices($a, $l[$i])
410410
411411 func $f0_2 ($a,$i) = if (($i >= $s))
412412 then $a
413413 else throw("List size exceeds 20")
414414
415415 $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)
416416 }
417417
418418
419419 func getCursEntries (aId,bId,shareId,wAmounts) = {
420420 let assetsPrices = getAssetsPrice([aId, bId])
421421 let sharePrice = getSharePrice(shareId)
422422 let prices = ([toString(assetsPrices[0]), toString(assetsPrices[1]), toString(sharePrice)] ++ wAmounts)
423423 [StringEntry(kTokenLastPrice, makeString(prices, ","))]
424424 }
425425
426426
427427 func calcReplenishByTwoTokens (pType,poolAddr,pmtA,aId,pmtB,bId,balA,balB) = if ((pType == SF_POOL))
428428 then {
429429 let repl = {
430430 let @ = invoke(poolAddr, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(pmtA), toString(pmtB)]], nil)
431431 if ($isInstanceOf(@, "List[Any]"))
432432 then @
433433 else throw(($getType(@) + " couldn't be cast to List[Any]"))
434434 }
435435 if ((repl == repl))
436436 then $Tuple5({
437437 let @ = repl[3]
438438 if ($isInstanceOf(@, "Int"))
439439 then @
440440 else throw(($getType(@) + " couldn't be cast to Int"))
441441 }, {
442442 let @ = repl[4]
443443 if ($isInstanceOf(@, "Int"))
444444 then @
445445 else throw(($getType(@) + " couldn't be cast to Int"))
446446 }, {
447447 let @ = repl[1]
448448 if ($isInstanceOf(@, "Int"))
449449 then @
450450 else throw(($getType(@) + " couldn't be cast to Int"))
451451 }, assetIdToStr(repl[2]), {
452452 let @ = repl[0]
453453 if ($isInstanceOf(@, "Int"))
454454 then @
455455 else throw(($getType(@) + " couldn't be cast to Int"))
456456 })
457457 else throw("Strict value is not equal to itself.")
458458 }
459459 else if ((pType == WX_POOL))
460460 then {
461461 let $t01329213542 = $Tuple2(split({
462462 let @ = invoke(poolAddr, "evaluatePutByAmountAssetREADONLY", [pmtA], nil)
463463 if ($isInstanceOf(@, "String"))
464464 then @
465465 else throw(($getType(@) + " couldn't be cast to String"))
466466 }, "__"), split({
467467 let @ = invoke(poolAddr, "evaluatePutByPriceAssetREADONLY", [pmtB], nil)
468468 if ($isInstanceOf(@, "String"))
469469 then @
470470 else throw(($getType(@) + " couldn't be cast to String"))
471471 }, "__"))
472472 if (($t01329213542 == $t01329213542))
473473 then {
474474 let evalPutInB = $t01329213542._2
475475 let evalPutInA = $t01329213542._1
476476 let lpInA = parseIntValue(evalPutInA[1])
477477 let lpInB = parseIntValue(evalPutInB[1])
478478 if ((lpInB > lpInA))
479479 then {
480480 let pmt = parseIntValue(evalPutInA[8])
481481 $Tuple5(pmtA, pmt, (pmtB - pmt), bId, lpInB)
482482 }
483483 else {
484484 let pmt = parseIntValue(evalPutInB[7])
485485 $Tuple5(pmt, pmtB, (pmtA - pmt), aId, lpInA)
486486 }
487487 }
488488 else throw("Strict value is not equal to itself.")
489489 }
490490 else unknownPoolType()
491491
492492
493493 func replenishTwoTokensByType (poolAddr,pType,pmtA,aId,pmtB,bId) = {
494494 let payments = [AttachedPayment(assetIdFromStr(aId), pmtA), AttachedPayment(assetIdFromStr(bId), pmtB)]
495495 if ((pType == SF_POOL))
496496 then invoke(poolAddr, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], payments)
497497 else if ((pType == WX_POOL))
498498 then invoke(poolAddr, "put", [1000000, false], payments)
499499 else unknownPoolType()
500500 }
501501
502502
503503 func replenishOneTokenByType (poolAddr,pType,pmt,pmtId) = {
504504 let payments = [AttachedPayment(assetIdFromStr(pmtId), pmt)]
505505 if ((pType == SF_POOL))
506506 then invoke(poolAddr, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], payments)
507507 else if ((pType == WX_POOL))
508508 then invoke(poolAddr, "putOneTkn", [0, false], payments)
509509 else unknownPoolType()
510510 }
511511
512512
513513 func stakeLP (pool,pType,shareId,amount) = {
514514 let payments = [AttachedPayment(fromBase58String(shareId), amount)]
515515 if ((pType == SF_POOL))
516516 then invoke(getSFFarmingAddr(), "lockShareTokens", [pool, 0], payments)
517517 else if ((pType == WX_POOL))
518518 then invoke(getWXFarmingAddr(addressFromStringValue(pool)), "stake", nil, payments)
519519 else unknownPoolType()
520520 }
521521
522522
523523 func unstakeLP (pool,pType,shareId,amount) = {
524524 let $t01520115551 = if ((pType == SF_POOL))
525525 then $Tuple3(getSFFarmingAddr(), "withdrawShareTokens", [pool, amount])
526526 else if ((pType == WX_POOL))
527527 then $Tuple3(getWXFarmingAddr(Address(fromBase58String(pool))), "unstake", [shareId, amount])
528528 else unknownPoolType()
529529 let farmAddr = $t01520115551._1
530530 let fName = $t01520115551._2
531531 let params = $t01520115551._3
532532 let inv = invoke(farmAddr, fName, params, nil)
533533 if ((inv == inv))
534534 then amount
535535 else throw("Strict value is not equal to itself.")
536536 }
537537
538538
539539 func calcAmountToPaySF (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
540540 let poolAddr = Address(fromBase58String(pool))
541541 let feeScale6 = 1000000
542542 let fee = getIntegerValue(poolAddr, kSFPoolFee)
543543 let amntGetNoFee = fraction(amountTokenToGet, feeScale6, (feeScale6 - fee), CEILING)
544544 let $t01597316279 = if ((assetTokenToGet == assetIdA))
545545 then {
546546 let amountToPay = fraction(amntGetNoFee, balB, (balA - amntGetNoFee), CEILING)
547547 $Tuple2(amountToPay, assetIdB)
548548 }
549549 else {
550550 let amountToPay = fraction(amntGetNoFee, balA, (balB - amntGetNoFee), CEILING)
551551 $Tuple2(amountToPay, assetIdA)
552552 }
553553 let amountToPay = $t01597316279._1
554554 let assetToPay = $t01597316279._2
555555 $Tuple2(assetToPay, amountToPay)
556556 }
557557
558558
559559 func getWXSwapFees (pool) = {
560560 let poolAddr = addressFromStringValue(pool)
561561 let fContract = addressFromStringValue(valueOrErrorMessage(getString(poolAddr, "%s__factoryContract"), "Can't get WX factory contract addr"))
562562 let poolFeeDefault = value(getInteger(wxSwapContract, "%s__poolFee"))
563563 let protocolFeeDefault = value(getInteger(wxSwapContract, "%s__protocolFee"))
564564 match invoke(fContract, "getSwapFeeREADONLY", [toString(poolAddr)], nil) {
565565 case fees: (Int, Int) =>
566566 $Tuple2(fees._1, fees._2)
567567 case _ =>
568568 $Tuple2(poolFeeDefault, protocolFeeDefault)
569569 }
570570 }
571571
572572
573573 func calcAmountToPayWX (pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = {
574574 let $t01701917058 = getWXSwapFees(pool)
575575 let pFee = $t01701917058._1
576576 let prFee = $t01701917058._2
577577 let feeScale = toBigInt(100000000)
578578 let $t01709817406 = if ((assetTokenToGet == assetIdA))
579579 then {
580580 let amountToPay = fraction(amountTokenToGet, balB, (balA - amountTokenToGet))
581581 $Tuple2(amountToPay, assetIdB)
582582 }
583583 else {
584584 let amountToPay = fraction(amountTokenToGet, balA, (balB - amountTokenToGet))
585585 $Tuple2(amountToPay, assetIdA)
586586 }
587587 let amountToPay = $t01709817406._1
588588 let assetToPay = $t01709817406._2
589589 let amountToPayWithFee = toInt(fraction(toBigInt(amountToPay), feeScale, (feeScale - toBigInt((prFee + pFee))), CEILING))
590590 $Tuple2(assetToPay, amountToPayWithFee)
591591 }
592592
593593
594594 func exchangeDirectly (pType,pool,assetIdA,assetIdB,balA,balB,amountTokenToGet,assetTokenToGet) = if ((pType == SF_POOL))
595595 then {
596596 let $t01775317875 = calcAmountToPaySF(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
597597 let assetToPay = $t01775317875._1
598598 let amountToPay = $t01775317875._2
599599 invoke(addressFromStringValue(pool), "callFunction", ["exchange", [toString(amountTokenToGet)]], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
600600 }
601601 else if ((pType == WX_POOL))
602602 then {
603603 let $t01807518197 = calcAmountToPayWX(pool, assetIdA, assetIdB, balA, balB, amountTokenToGet, assetTokenToGet)
604604 let assetToPay = $t01807518197._1
605605 let amountToPay = $t01807518197._2
606606 invoke(wxSwapContract, "swap", [amountTokenToGet, assetTokenToGet, toString(this)], [AttachedPayment(assetIdFromStr(assetToPay), amountToPay)])
607607 }
608608 else unknownPoolType()
609609
610610
611611 func calcWithdrawLPFromPoolVirt (poolAddr,pType,shareId,userCanWithdraw) = {
612612 let $t01848418948 = if ((pType == SF_POOL))
613613 then {
614614 let inv = {
615615 let @ = invoke(poolAddr, "callFunction", ["withdrawREADONLY", [toString(userCanWithdraw)]], nil)
616616 if ($isInstanceOf(@, "List[Any]"))
617617 then @
618618 else throw(($getType(@) + " couldn't be cast to List[Any]"))
619619 }
620620 if ((inv == inv))
621621 then $Tuple2({
622622 let @ = inv[0]
623623 if ($isInstanceOf(@, "Int"))
624624 then @
625625 else throw(($getType(@) + " couldn't be cast to Int"))
626626 }, {
627627 let @ = inv[1]
628628 if ($isInstanceOf(@, "Int"))
629629 then @
630630 else throw(($getType(@) + " couldn't be cast to Int"))
631631 })
632632 else throw("Strict value is not equal to itself.")
633633 }
634634 else if ((pType == WX_POOL))
635635 then {
636636 let inv = split({
637637 let @ = invoke(poolAddr, "evaluateGetREADONLY", [shareId, userCanWithdraw], nil)
638638 if ($isInstanceOf(@, "String"))
639639 then @
640640 else throw(($getType(@) + " couldn't be cast to String"))
641641 }, "__")
642642 if ((inv == inv))
643643 then $Tuple2(parseIntValue(inv[1]), parseIntValue(inv[2]))
644644 else throw("Strict value is not equal to itself.")
645645 }
646646 else unknownPoolType()
647647 let amountA = $t01848418948._1
648648 let amountB = $t01848418948._2
649649 $Tuple2(amountA, amountB)
650650 }
651651
652652
653653 func claimFarmed (pType,pool) = if ((pType == SF_POOL))
654654 then {
655655 let balBefore = accountBalance(SWOPID)
656656 if ((balBefore == balBefore))
657657 then {
658658 let inv = invoke(getSFFarmingAddr(), "claim", [pool], nil)
659659 if ((inv == inv))
660660 then {
661661 let balAfter = accountBalance(SWOPID)
662662 $Tuple2((balAfter - balBefore), SWOPID)
663663 }
664664 else throw("Strict value is not equal to itself.")
665665 }
666666 else throw("Strict value is not equal to itself.")
667667 }
668668 else if ((pType == WX_POOL))
669669 then {
670670 let $t01931619395 = getWXPoolData(addressFromStringValue(pool))
671671 let aId = $t01931619395._1
672672 let bId = $t01931619395._2
673673 let aBal = $t01931619395._3
674674 let bBal = $t01931619395._4
675675 let lpId = $t01931619395._5
676676 let balBefore = accountBalance(WXID)
677677 if ((balBefore == balBefore))
678678 then {
679679 let inv = invoke(getWXFarmingAddr(addressFromStringValue(pool)), "claimWx", [lpId], nil)
680680 if ((inv == inv))
681681 then {
682682 let balAfter = accountBalance(WXID)
683683 $Tuple2((balAfter - balBefore), WXID)
684684 }
685685 else throw("Strict value is not equal to itself.")
686686 }
687687 else throw("Strict value is not equal to itself.")
688688 }
689689 else unknownPoolType()
690690
691691
692692 func replenishByType (pType,pool,feeType,pmtA,aId,pmtB,bId,balA,balB,LPId) = {
693693 let lpBalanceBefore = accountBalance(fromBase58String(LPId))
694694 if ((lpBalanceBefore == lpBalanceBefore))
695695 then {
696696 let poolAddr = addressFromStringValue(pool)
697697 let $t01999320409 = if (if ((pmtA > 0))
698698 then (pmtB > 0)
699699 else false)
700700 then {
701701 let $t02005920175 = calcReplenishByTwoTokens(pType, poolAddr, pmtA, aId, pmtB, bId, balA, balB)
702702 let pmtInA = $t02005920175._1
703703 let pmtInB = $t02005920175._2
704704 let change = $t02005920175._3
705705 let changeId = $t02005920175._4
706706 let inv = replenishTwoTokensByType(poolAddr, pType, pmtInA, aId, pmtInB, bId)
707707 if ((inv == inv))
708708 then $Tuple2(change, changeId)
709709 else throw("Strict value is not equal to itself.")
710710 }
711711 else if ((pmtA > 0))
712712 then $Tuple2(pmtA, aId)
713713 else if ((pmtB > 0))
714714 then $Tuple2(pmtB, bId)
715715 else throw("pmts must be > 0")
716716 let change = $t01999320409._1
717717 let changeId = $t01999320409._2
718718 let inv = if ((change > 0))
719719 then replenishOneTokenByType(poolAddr, pType, change, changeId)
720720 else nil
721721 if ((inv == inv))
722722 then {
723723 let lpBalanceAfter = accountBalance(fromBase58String(LPId))
724724 let totalStaked = (lpBalanceAfter - lpBalanceBefore)
725725 let axlyFeeAmount = fraction(totalStaked, getAxlyFee(pool, feeType), FEE_SCALE6)
726726 let userShareForStake = (totalStaked - axlyFeeAmount)
727727 if ((0 >= userShareForStake))
728728 then throw("amount of staked sharetokens must be > 0")
729729 else {
730730 let invLP = stakeLP(pool, pType, LPId, userShareForStake)
731731 if ((invLP == invLP))
732732 then $Tuple2(userShareForStake, axlyFeeAmount)
733733 else throw("Strict value is not equal to itself.")
734734 }
735735 }
736736 else throw("Strict value is not equal to itself.")
737737 }
738738 else throw("Strict value is not equal to itself.")
739739 }
740740
741741
742742 func replenishEntries (pool,user,stakedAmount,axlyFeeAmount,posNum,shareId,type,withLoan) = {
743743 let totalAmount = getPoolTotalShare(pool)
744744 let totalAmountLoan = getPoolTotalShareWithLoan(pool)
745745 let $t02126721505 = if (withLoan)
746746 then $Tuple2(getIntegerValue(this, (pool + kPoolInterestLoan)), (totalAmountLoan + stakedAmount))
747747 else $Tuple2(getIntegerValue(this, (pool + kPoolInterestNoLoan)), totalAmountLoan)
748748 let curPoolInterest = $t02126721505._1
749749 let totalStakedWithLoan = $t02126721505._2
750750 [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))]
751751 }
752752
753753
754754 func exchangeKeeper (toToken,pmtAmount,pmtAsset,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = {
755755 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
756756 if ((tokenBalanceBefore == tokenBalanceBefore))
757757 then {
758758 let inv = invoke(exContract, "swap", [amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options], [AttachedPayment(pmtAsset, pmtAmount)])
759759 if ((inv == inv))
760760 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
761761 else throw("Strict value is not equal to itself.")
762762 }
763763 else throw("Strict value is not equal to itself.")
764764 }
765765
766766
767767 func exchangePuzzle (toToken,pmtAmount,pmtAsset,routesStr,minToReceive,options) = {
768768 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
769769 if ((tokenBalanceBefore == tokenBalanceBefore))
770770 then {
771771 let inv = invoke(exContract, "puzzleSwap", [routesStr, minToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
772772 if ((inv == inv))
773773 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
774774 else throw("Strict value is not equal to itself.")
775775 }
776776 else throw("Strict value is not equal to itself.")
777777 }
778778
779779
780780 func exchangeSwopFi (toToken,pmtAmount,pmtAsset,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = {
781781 let tokenBalanceBefore = accountBalance(assetIdFromStr(toToken))
782782 if ((tokenBalanceBefore == tokenBalanceBefore))
783783 then {
784784 let inv = invoke(exContract, "swopfiSwap", [exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options], [AttachedPayment(pmtAsset, pmtAmount)])
785785 if ((inv == inv))
786786 then (accountBalance(assetIdFromStr(toToken)) - tokenBalanceBefore)
787787 else throw("Strict value is not equal to itself.")
788788 }
789789 else throw("Strict value is not equal to itself.")
790790 }
791791
792792
793793 func capitalize (pool,pType,tokenId,tokenAmount) = {
794794 let poolAddr = Address(fromBase58String(pool))
795795 let $t02385923925 = getPoolData(poolAddr, pType)
796796 let AId = $t02385923925._1
797797 let BId = $t02385923925._2
798798 let balA = $t02385923925._3
799799 let balB = $t02385923925._4
800800 let shareId = $t02385923925._5
801801 if (if ((tokenId != AId))
802802 then (tokenId != BId)
803803 else false)
804804 then throw("Wrong asset")
805805 else {
806806 let axlyFeeLoan = fraction(tokenAmount, getAxlyFee(pool, CAP_FEE_LOAN), FEE_SCALE6)
807807 let axlyFeeNoLoan = fraction(tokenAmount, getAxlyFee(pool, CAP_FEE_NO_LOAN), FEE_SCALE6)
808808 let axlyFee = (axlyFeeLoan + axlyFeeNoLoan)
809809 let $t02423124331 = if ((tokenId == AId))
810810 then $Tuple2((tokenAmount - axlyFee), 0)
811811 else $Tuple2(0, (tokenAmount - axlyFee))
812812 let pmtA = $t02423124331._1
813813 let pmtB = $t02423124331._2
814814 let $t02433424438 = replenishByType(pType, pool, NO_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
815815 let stakedAmount = $t02433424438._1
816816 let nf = $t02433424438._2
817817 let curPoolInterestLoan = valueOrElse(getInteger(this, (pool + kPoolInterestLoan)), 0)
818818 let curPoolInterestNoLoan = valueOrElse(getInteger(this, (pool + kPoolInterestNoLoan)), 0)
819819 let totalShareAmount = getPoolTotalShare(pool)
820820 let totalShareAmountWithLoan = getPoolTotalShareWithLoan(pool)
821821 let loanPercent = fraction(totalShareAmountWithLoan, SCALE8, totalShareAmount)
822822 let stakedLoan = fraction(stakedAmount, loanPercent, SCALE8)
823823 let stakedNoLoan = (stakedAmount - stakedLoan)
824824 let newInterestLoan = if ((totalShareAmountWithLoan > 0))
825825 then (curPoolInterestLoan + fraction(stakedLoan, SCALE10, totalShareAmountWithLoan))
826826 else 0
827827 let newInterestNoLoan = if (((totalShareAmount - totalShareAmountWithLoan) > 0))
828828 then (curPoolInterestNoLoan + fraction(stakedNoLoan, SCALE10, (totalShareAmount - totalShareAmountWithLoan)))
829829 else 0
830830 ([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))
831831 }
832832 }
833833
834834
835835 func userCanWithdrawShareCalc (user,pool,posId,borrowed) = {
836836 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
837837 let userInterest = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserPositionInterest))
838838 let poolInterest = if (borrowed)
839839 then getIntegerValue(this, (pool + kPoolInterestLoan))
840840 else getIntegerValue(this, (pool + kPoolInterestNoLoan))
841841 (pAmount + fraction(pAmount, (poolInterest - userInterest), SCALE10))
842842 }
843843
844844
845845 func calcStopLossFee (pool,isBorrowed,stopLoss,lpWithdraw) = {
846846 let feeType = if (isBorrowed)
847847 then STOPLOSS_LOAN
848848 else STOPLOSS_FEE_NO_LOAN
849849 if (stopLoss)
850850 then fraction(lpWithdraw, getAxlyFee(pool, feeType), FEE_SCALE6)
851851 else 0
852852 }
853853
854854
855855 func withdrawToUser (user,pool,posId,stopLoss) = {
856856 let pAmount = valueOrErrorMessage(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserPosition)), "Unknown position")
857857 let isBorrowed = (valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount)), 0) > 0)
858858 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, isBorrowed)
859859 let poolTotalShare = getPoolTotalShare(pool)
860860 let userAddr = Address(fromBase58String(user))
861861 let poolAddr = Address(fromBase58String(pool))
862862 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
863863 let $t02710827180 = getPoolData(poolAddr, pType)
864864 let idAStr = $t02710827180._1
865865 let idBStr = $t02710827180._2
866866 let balA = $t02710827180._3
867867 let balB = $t02710827180._4
868868 let shareId = $t02710827180._5
869869 let $t02718327250 = $Tuple2(assetIdFromStr(idAStr), assetIdFromStr(idBStr))
870870 let idA = $t02718327250._1
871871 let idB = $t02718327250._2
872872 let stopLossFee = calcStopLossFee(pool, isBorrowed, stopLoss, userCanWithdraw)
873873 let cBalABefore = accountBalance(idA)
874874 if ((cBalABefore == cBalABefore))
875875 then {
876876 let cBalBBefore = accountBalance(idB)
877877 if ((cBalBBefore == cBalBBefore))
878878 then {
879879 let inv = if ((pType == SF_POOL))
880880 then {
881881 let inv = unstakeLP(pool, pType, shareId, stopLossFee)
882882 if ((inv == inv))
883883 then invoke(poolAddr, "callFunction", ["withdraw", [toString(userCanWithdraw)]], nil)
884884 else throw("Strict value is not equal to itself.")
885885 }
886886 else if ((pType == WX_POOL))
887887 then {
888888 let inv = unstakeLP(pool, pType, shareId, (userCanWithdraw + stopLossFee))
889889 if ((inv == inv))
890890 then invoke(poolAddr, "get", nil, [AttachedPayment(assetIdFromStr(shareId), userCanWithdraw)])
891891 else throw("Strict value is not equal to itself.")
892892 }
893893 else unknownPoolType()
894894 if ((inv == inv))
895895 then {
896896 let cBalAAfter = accountBalance(idA)
897897 if ((cBalAAfter == cBalAAfter))
898898 then {
899899 let cBalBAfter = accountBalance(idB)
900900 if ((cBalBAfter == cBalBAfter))
901901 then {
902902 let $t02794528034 = $Tuple2((cBalAAfter - cBalABefore), (cBalBAfter - cBalBBefore))
903903 let tokensAmountA = $t02794528034._1
904904 let tokensAmountB = $t02794528034._2
905905 let $t02803729273 = if (isBorrowed)
906906 then {
907907 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
908908 let debt = {
909909 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posId), borrowAsset], nil)
910910 if ($isInstanceOf(@, "Int"))
911911 then @
912912 else throw(($getType(@) + " couldn't be cast to Int"))
913913 }
914914 if ((debt == debt))
915915 then {
916916 let amountToGetEx = if (if ((borrowAsset == idAStr))
917917 then (debt > tokensAmountA)
918918 else false)
919919 then (debt - tokensAmountA)
920920 else if (if ((borrowAsset == idBStr))
921921 then (debt > tokensAmountB)
922922 else false)
923923 then (debt - tokensAmountB)
924924 else 0
925925 let exInv = if ((amountToGetEx > 0))
926926 then exchangeDirectly(pType, pool, idAStr, idBStr, (balA - tokensAmountA), (balB - tokensAmountB), amountToGetEx, borrowAsset)
927927 else nil
928928 if ((exInv == exInv))
929929 then {
930930 let cBalAAfterRepay = accountBalance(idA)
931931 if ((cBalAAfterRepay == cBalAAfterRepay))
932932 then {
933933 let cBalBAfterRepay = accountBalance(idB)
934934 if ((cBalBAfterRepay == cBalBAfterRepay))
935935 then {
936936 let closeDbtInv = if ((debt > 0))
937937 then invoke(getLendSrvAddr(), "repayFor", [((user + "_") + posId)], [AttachedPayment(assetIdFromStr(borrowAsset), debt)])
938938 else 0
939939 if ((closeDbtInv == closeDbtInv))
940940 then if ((borrowAsset == idAStr))
941941 then $Tuple2(((cBalAAfterRepay - cBalABefore) - debt), (cBalBAfterRepay - cBalBBefore))
942942 else $Tuple2((cBalAAfterRepay - cBalABefore), ((cBalBAfterRepay - cBalBBefore) - debt))
943943 else throw("Strict value is not equal to itself.")
944944 }
945945 else throw("Strict value is not equal to itself.")
946946 }
947947 else throw("Strict value is not equal to itself.")
948948 }
949949 else throw("Strict value is not equal to itself.")
950950 }
951951 else throw("Strict value is not equal to itself.")
952952 }
953953 else $Tuple2(tokensAmountA, tokensAmountB)
954954 let toUserA = $t02803729273._1
955955 let toUserB = $t02803729273._2
956956 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))] ++ getCursEntries(idAStr, idBStr, shareId, nil))
957957 $Tuple2(entries, [toUserA, toUserB])
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 throw("Strict value is not equal to itself.")
964964 }
965965 else throw("Strict value is not equal to itself.")
966966 }
967967 else throw("Strict value is not equal to itself.")
968968 }
969969
970970
971971 func parseRequest (requestId) = {
972972 let request = split(valueOrErrorMessage(getString(this, (requestId + kRequestId)), ("No request with id " + requestId)), ",")
973973 let user = request[0]
974974 let pool = request[1]
975975 let pmtA = parseIntValue(request[2])
976976 let AId = request[3]
977977 let pmtB = parseIntValue(request[4])
978978 let BId = request[5]
979979 let balA = parseIntValue(request[6])
980980 let balB = parseIntValue(request[7])
981981 let shareId = request[8]
982982 let bwAsset = request[9]
983983 let bwAmount = parseIntValue(request[10])
984984 $Tuple11(user, pool, pmtA, AId, pmtB, BId, balA, balB, shareId, bwAsset, bwAmount)
985985 }
986986
987987
988988 func calcBorrowAmount (pmtA,pmtB,aId,bId,leverage,borrowId) = if (if ((borrowId != aId))
989989 then (borrowId != bId)
990990 else false)
991991 then throw("Wrong borrow asset")
992992 else {
993993 let dPriceA = getIntegerValue(priceOracleAddr, (aId + kPriceInOracle))
994994 let dPriceB = getIntegerValue(priceOracleAddr, (bId + kPriceInOracle))
995995 let decPrA = pow(10, 0, getAssetDecimals(aId), 0, 0, DOWN)
996996 let decPrB = pow(10, 0, getAssetDecimals(bId), 0, 0, DOWN)
997997 let paydInDollar = (fraction(dPriceA, pmtA, decPrA) + fraction(dPriceB, pmtB, decPrB))
998998 let $t03108831185 = if ((borrowId == aId))
999999 then $Tuple2(dPriceA, decPrA)
10001000 else $Tuple2(dPriceB, decPrB)
10011001 let borrowPrice = $t03108831185._1
10021002 let borrowDecPr = $t03108831185._2
10031003 fraction(fraction(paydInDollar, (leverage - 100), 100), borrowDecPr, borrowPrice)
10041004 }
10051005
10061006
10071007 func parseReplenishPmts (pmts,AId,BId) = if ((size(pmts) == 2))
10081008 then if ((assetIdToStr(pmts[0].assetId) != AId))
10091009 then throw("Wrong payment asset A")
10101010 else if ((assetIdToStr(pmts[1].assetId) != BId))
10111011 then throw("Wrong payment asset B")
10121012 else $Tuple2(pmts[0].amount, pmts[1].amount)
10131013 else if ((size(pmts) == 1))
10141014 then if ((assetIdToStr(pmts[0].assetId) == AId))
10151015 then $Tuple2(pmts[0].amount, 0)
10161016 else if ((assetIdToStr(pmts[0].assetId) == BId))
10171017 then $Tuple2(0, pmts[0].amount)
10181018 else throw("Wrong payment")
10191019 else throw("One or two payments expected")
10201020
10211021
10221022 func calcPriceImpact (balA,balB,newBalA,newBalB) = {
10231023 let pri = ((SCALE8 - fraction(fraction(balB, SCALE8, balA), SCALE8, fraction(newBalB, SCALE8, newBalA))) * 100)
10241024 if ((0 > pri))
10251025 then (pri * -1)
10261026 else pri
10271027 }
10281028
10291029
10301030 func claimAndCheckAmnt (pool,pType,claim,amount,change) = {
10311031 let $t03218532444 = if (claim)
10321032 then claimFarmed(pType, pool)
10331033 else {
10341034 let claimedAsset = if ((pType == SF_POOL))
10351035 then SWOPID
10361036 else if ((pType == WX_POOL))
10371037 then WXID
10381038 else unknownPoolType()
10391039 $Tuple2(amount, claimedAsset)
10401040 }
10411041 let claimAmount = $t03218532444._1
10421042 let claimAsset = $t03218532444._2
10431043 let bal = accountBalance(claimAsset)
10441044 if (if ((amount > (claimAmount + change)))
10451045 then true
10461046 else (amount > bal))
10471047 then throw("To big amount to exchange")
10481048 else $Tuple2(claimAmount, claimAsset)
10491049 }
10501050
10511051
10521052 @Callable(i)
10531053 func getShareAssetPriceREADONLY (shareId) = {
10541054 let sharePrices = getSharePrice(shareId)
10551055 $Tuple2(nil, sharePrices)
10561056 }
10571057
10581058
10591059
10601060 @Callable(i)
10611061 func getUserPositionShareAmountREADONLY (user,posNum) = {
10621062 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posNum) + kUserPositionPool)), "Unknown position")
10631063 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posNum) + kUserBorrowAmount))
10641064 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum, (borrowAmount > 0))
10651065 $Tuple2(nil, userCanWithdraw)
10661066 }
10671067
10681068
10691069
10701070 @Callable(i)
10711071 func getUserPositionREADONLY (user,pools,posNum) = {
10721072 func userPos (a,pool) = {
10731073 let $t03340633476 = a
10741074 let wAmountsA = $t03340633476._1
10751075 let wAmountsB = $t03340633476._2
10761076 let debts = $t03340633476._3
10771077 let eqWAmountsA = $t03340633476._4
10781078 let eqWAmountsB = $t03340633476._5
10791079 let index = $t03340633476._6
10801080 if (!(isDefined(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserPosition)))))
10811081 then $Tuple6((wAmountsA :+ 0), (wAmountsB :+ 0), (debts :+ 0), (eqWAmountsA :+ 0), (eqWAmountsB :+ 0), (index + 1))
10821082 else {
10831083 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
10841084 let $t03375533845 = getPoolData(Address(fromBase58String(pool)), pType)
10851085 let AId = $t03375533845._1
10861086 let BId = $t03375533845._2
10871087 let balA = $t03375533845._3
10881088 let balB = $t03375533845._4
10891089 let shareId = $t03375533845._5
10901090 let borrowAmount = valueOrElse(getInteger(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAmount)), 0)
10911091 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posNum[index], (borrowAmount > 0))
10921092 let $t03406134181 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userCanWithdraw)
10931093 let wAmountA = $t03406134181._1
10941094 let wAmountB = $t03406134181._2
10951095 if ((borrowAmount > 0))
10961096 then {
10971097 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posNum[index]) + kUserBorrowAssetId))
10981098 let debt = {
10991099 let @ = invoke(getLendSrvAddr(), "getAssetDebt", [false, ((user + "_") + posNum[index]), borrowAsset], nil)
11001100 if ($isInstanceOf(@, "Int"))
11011101 then @
11021102 else throw(($getType(@) + " couldn't be cast to Int"))
11031103 }
11041104 if ((debt == debt))
11051105 then {
11061106 let $t03446534749 = if ((pType == SF_POOL))
11071107 then calcAmountToPaySF(pool, AId, BId, balA, balB, debt, borrowAsset)
11081108 else if ((pType == WX_POOL))
11091109 then calcAmountToPayWX(pool, AId, BId, balA, balB, debt, borrowAsset)
11101110 else unknownPoolType()
11111111 let assetToPay = $t03446534749._1
11121112 let amountToPay = $t03446534749._2
11131113 let $t03475634902 = if ((assetToPay == BId))
11141114 then $Tuple2((wAmountA - debt), (wAmountB - amountToPay))
11151115 else $Tuple2((wAmountA - amountToPay), (wAmountB - debt))
11161116 let eqWAmountA = $t03475634902._1
11171117 let eqWAmountB = $t03475634902._2
11181118 $Tuple6((wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), (debts :+ debt), (eqWAmountsA :+ eqWAmountA), (eqWAmountsB :+ eqWAmountB), (index + 1))
11191119 }
11201120 else throw("Strict value is not equal to itself.")
11211121 }
11221122 else $Tuple6((wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), debts, (wAmountsA :+ wAmountA), (wAmountsB :+ wAmountB), (index + 1))
11231123 }
11241124 }
11251125
11261126 let $t03515735268 = {
11271127 let $l = pools
11281128 let $s = size($l)
11291129 let $acc0 = $Tuple6(nil, nil, nil, nil, nil, 0)
11301130 func $f0_1 ($a,$i) = if (($i >= $s))
11311131 then $a
11321132 else userPos($a, $l[$i])
11331133
11341134 func $f0_2 ($a,$i) = if (($i >= $s))
11351135 then $a
11361136 else throw("List size exceeds 20")
11371137
11381138 $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)
11391139 }
11401140 let wAmountsA = $t03515735268._1
11411141 let wAmountsB = $t03515735268._2
11421142 let debts = $t03515735268._3
11431143 let eqWAmountsA = $t03515735268._4
11441144 let eqWAmountsB = $t03515735268._5
11451145 $Tuple2(nil, $Tuple5(wAmountsA, wAmountsB, debts, eqWAmountsA, eqWAmountsB))
11461146 }
11471147
11481148
11491149
11501150 @Callable(i)
11511151 func replenish (pool,leverage,borrowId) = valueOrElse(isActiveForUsers(), {
11521152 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
11531153 if (!(isPoolActive(pool, pType)))
11541154 then throw("Pool not active at this moment")
11551155 else if (if ((100 > leverage))
11561156 then true
11571157 else (leverage > 300))
11581158 then throw("Leverage can't be <100 and >300")
11591159 else if (if (!(getBooleanValue(this, (pool + kPoolCanBorrow))))
11601160 then (leverage > 100)
11611161 else false)
11621162 then throw("You can't borrow in this pool")
11631163 else {
11641164 let $t03586635956 = getPoolData(Address(fromBase58String(pool)), pType)
11651165 let AId = $t03586635956._1
11661166 let BId = $t03586635956._2
11671167 let balA = $t03586635956._3
11681168 let balB = $t03586635956._4
11691169 let shareId = $t03586635956._5
11701170 if (if ((borrowId != AId))
11711171 then (borrowId != BId)
11721172 else false)
11731173 then throw("Wrong borrow asset")
11741174 else {
11751175 let $t03603736096 = parseReplenishPmts(i.payments, AId, BId)
11761176 let pmtA = $t03603736096._1
11771177 let pmtB = $t03603736096._2
11781178 let user = toString(i.caller)
11791179 let newPosNum = getNewUserPositionNumber(user)
11801180 if ((leverage > 100))
11811181 then {
11821182 let borrowAmount = calcBorrowAmount(pmtA, pmtB, AId, BId, leverage, borrowId)
11831183 let request = makeString([user, pool, toString(pmtA), AId, toString(pmtB), BId, toString(balA), toString(balB), shareId, borrowId, toString(borrowAmount)], ",")
11841184 let newRequestId = {
11851185 let @ = invoke(this, "createNewRequest", [request], nil)
11861186 if ($isInstanceOf(@, "Int"))
11871187 then @
11881188 else throw(($getType(@) + " couldn't be cast to Int"))
11891189 }
11901190 if ((newRequestId == newRequestId))
11911191 then {
11921192 let args = [((user + "_") + toString(newPosNum)), shareId, borrowId, borrowAmount, toString(this), "replenishFromLand", toString(valueOrErrorMessage(newRequestId, "Can't create new request"))]
11931193 let inv = reentrantInvoke(getLendSrvAddr(), "flashPosition", args, nil)
11941194 if ((inv == inv))
11951195 then {
11961196 let userStaked = getIntegerValue(this, (((((pool + "_") + user) + "_") + toString(newPosNum)) + kUserPosition))
11971197 let $t03708537179 = getPoolBalances(Address(fromBase58String(pool)), pType, AId, BId)
11981198 if (($t03708537179 == $t03708537179))
11991199 then {
12001200 let newBalB = $t03708537179._2
12011201 let newBalA = $t03708537179._1
12021202 let prImpact = calcPriceImpact(balA, balB, newBalA, newBalB)
12031203 let $t03724937364 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
12041204 let wAmountA = $t03724937364._1
12051205 let wAmountB = $t03724937364._2
12061206 $Tuple2(nil, [prImpact, wAmountA, wAmountB])
12071207 }
12081208 else throw("Strict value is not equal to itself.")
12091209 }
12101210 else throw("Strict value is not equal to itself.")
12111211 }
12121212 else throw("Strict value is not equal to itself.")
12131213 }
12141214 else {
12151215 let $t03741737532 = replenishByType(pType, pool, NO_LOAN_FEE, pmtA, AId, pmtB, BId, balA, balB, shareId)
12161216 if (($t03741737532 == $t03741737532))
12171217 then {
12181218 let axlyFee = $t03741737532._2
12191219 let userStaked = $t03741737532._1
12201220 let $t03753837632 = getPoolBalances(Address(fromBase58String(pool)), pType, AId, BId)
12211221 if (($t03753837632 == $t03753837632))
12221222 then {
12231223 let newBalB = $t03753837632._2
12241224 let newBalA = $t03753837632._1
12251225 let prImpact = calcPriceImpact(balA, balB, newBalA, newBalB)
12261226 let $t03770237817 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
12271227 let wAmountA = $t03770237817._1
12281228 let wAmountB = $t03770237817._2
12291229 $Tuple2((replenishEntries(pool, user, userStaked, axlyFee, newPosNum, shareId, pType, false) ++ getCursEntries(AId, BId, shareId, [toString(wAmountA), toString(wAmountB)])), [prImpact, wAmountA, wAmountB])
12301230 }
12311231 else throw("Strict value is not equal to itself.")
12321232 }
12331233 else throw("Strict value is not equal to itself.")
12341234 }
12351235 }
12361236 }
12371237 })
12381238
12391239
12401240
12411241 @Callable(i)
12421242 func withdraw (pool,posId) = valueOrElse(isActiveForUsers(), {
12431243 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
12441244 if (!(isPoolActive(pool, pType)))
12451245 then throw("Pool not active at this moment")
12461246 else withdrawToUser(toString(i.caller), pool, toString(posId), false)
12471247 })
12481248
12491249
12501250
12511251 @Callable(i)
12521252 func createUpdateStopLoss (posId,poolId,assetId,price) = valueOrElse(isActiveForUsers(), {
12531253 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
12541254 let pType = valueOrErrorMessage(getString(this, (kPool + poolId)), "Pool is not inited")
12551255 if (!(isPoolActive(poolId, pType)))
12561256 then throw("Pool not active at this moment")
12571257 else if (!(isDefined(getInteger(this, (((((poolId + "_") + toString(i.caller)) + "_") + toString(posId)) + kUserPosition)))))
12581258 then throw("There are no user position")
12591259 else if ((0 >= price))
12601260 then throw("Price must be greater than 0")
12611261 else if ((price > tokenOraclePrice))
12621262 then throw("Price must be less than current token price")
12631263 else [IntegerEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss), price)]
12641264 })
12651265
12661266
12671267
12681268 @Callable(i)
12691269 func deleteStopLoss (posId,poolId,assetId) = valueOrElse(isActiveForUsers(), {
12701270 let pType = valueOrErrorMessage(getString(this, (kPool + poolId)), "Pool is not inited")
12711271 if (!(isPoolActive(poolId, pType)))
12721272 then throw("Pool not active at this moment")
12731273 else if (!(isDefined(getInteger(this, (((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss)))))
12741274 then throw("No entry")
12751275 else [DeleteEntry((((((((toString(i.caller) + "_") + toString(posId)) + "_") + poolId) + "_") + assetId) + kUserStopLoss))]
12761276 })
12771277
12781278
12791279
12801280 @Callable(i)
12811281 func init (moneyBoxAddr,sfFarmingAddr,lendAddr,priceOracleAddr,keeperExContract,wxSwapContract,swopAssetId,wxAssetId,operatorPubKey,group1Admin1PubKey,group1Admin2PubKey,group2Admin1PubKey,group2Admin2PubKey) = valueOrElse(isSelfCall(i), if (isDefined(getString(kOperatorCallPK)))
12821282 then throw("Already inited")
12831283 else if (!(isDefined(addressFromString(moneyBoxAddr))))
12841284 then throw("moneyBoxAddr is not correct address")
12851285 else if (!(isDefined(addressFromString(sfFarmingAddr))))
12861286 then throw("sfFarmingAddr is not correct address")
12871287 else if (!(isDefined(addressFromString(lendAddr))))
12881288 then throw("lendAddr is not correct address")
12891289 else if (!(isDefined(addressFromString(priceOracleAddr))))
12901290 then throw("priceOracleAddr is not correct address")
12911291 else if (!(isDefined(addressFromString(keeperExContract))))
12921292 then throw("keeperExContract is not correct address")
12931293 else if (!(isDefined(assetInfo(fromBase58String(swopAssetId)))))
12941294 then throw("swopAssetId is not correct asset id")
12951295 else if (!(isDefined(assetInfo(fromBase58String(wxAssetId)))))
12961296 then throw("swopAssetId is not correct asset id")
12971297 else if ((size(fromBase58String(operatorPubKey)) != 32))
12981298 then throw("operatorPubKey is not correct")
12991299 else if ((size(fromBase58String(group1Admin1PubKey)) != 32))
13001300 then throw("operatorPubKey is not correct")
13011301 else if ((size(fromBase58String(group1Admin2PubKey)) != 32))
13021302 then throw("operatorPubKey is not correct")
13031303 else if ((size(fromBase58String(group2Admin1PubKey)) != 32))
13041304 then throw("operatorPubKey is not correct")
13051305 else if ((size(fromBase58String(group2Admin2PubKey)) != 32))
13061306 then throw("operatorPubKey is not correct")
13071307 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)])
13081308
13091309
13101310
13111311 @Callable(i)
13121312 func createNewRequest (params) = valueOrElse(isSelfCall(i), {
13131313 let newRequestId = (valueOrElse(getInteger(this, kRequestIter), 0) + 1)
13141314 $Tuple2([StringEntry((toString(newRequestId) + kRequestId), params), IntegerEntry(kRequestIter, newRequestId)], newRequestId)
13151315 })
13161316
13171317
13181318
13191319 @Callable(i)
13201320 func replenishFromLand (requestId) = valueOrElse(isActive(), valueOrElse(isLandCall(i), {
13211321 let $t04264042744 = parseRequest(requestId)
13221322 let user = $t04264042744._1
13231323 let pool = $t04264042744._2
13241324 let pmtA = $t04264042744._3
13251325 let AId = $t04264042744._4
13261326 let pmtB = $t04264042744._5
13271327 let BId = $t04264042744._6
13281328 let balA = $t04264042744._7
13291329 let balB = $t04264042744._8
13301330 let shareId = $t04264042744._9
13311331 let bwAsset = $t04264042744._10
13321332 let bwAmount = $t04264042744._11
13331333 if ((size(i.payments) != 1))
13341334 then throw("Wrong payment size")
13351335 else if (if ((assetIdToStr(i.payments[0].assetId) != bwAsset))
13361336 then true
13371337 else (i.payments[0].amount != bwAmount))
13381338 then throw("Wrong payment")
13391339 else {
13401340 let $t04293443034 = if ((AId == bwAsset))
13411341 then $Tuple2((pmtA + bwAmount), pmtB)
13421342 else $Tuple2(pmtA, (pmtB + bwAmount))
13431343 let pmtAllA = $t04293443034._1
13441344 let pmtAllB = $t04293443034._2
13451345 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Unknown pool")
13461346 let $t04311643231 = replenishByType(pType, pool, LOAN_FEE, pmtAllA, AId, pmtAllB, BId, balA, balB, shareId)
13471347 let userStaked = $t04311643231._1
13481348 let axlyFee = $t04311643231._2
13491349 let posNum = getNewUserPositionNumber(user)
13501350 let borrowEntries = [IntegerEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAmount), bwAmount), StringEntry((((((pool + "_") + user) + "_") + toString(posNum)) + kUserBorrowAssetId), bwAsset)]
13511351 let entries = replenishEntries(pool, user, userStaked, axlyFee, posNum, shareId, pType, true)
13521352 let $t04359143706 = calcWithdrawLPFromPoolVirt(Address(fromBase58String(pool)), pType, shareId, userStaked)
13531353 let wAmountA = $t04359143706._1
13541354 let wAmountB = $t04359143706._2
13551355 $Tuple2((((entries ++ getCursEntries(AId, BId, shareId, [toString(wAmountA), toString(wAmountB)])) ++ borrowEntries) :+ DeleteEntry((requestId + kRequestId))), userStaked)
13561356 }
13571357 }))
13581358
13591359
13601360
13611361 @Callable(i)
13621362 func liquidate (user,posId,liquidateAmount) = valueOrElse(isActive(), valueOrElse(isLandCall(i), {
13631363 let pool = valueOrErrorMessage(getString(this, (((user + "_") + posId) + kUserPositionPool)), "no position")
13641364 let pType = valueOrErrorMessage(getString(this, (kPool + pool)), "Pool is not inited")
13651365 let $t04422744317 = getPoolData(Address(fromBase58String(pool)), pType)
13661366 let AId = $t04422744317._1
13671367 let BId = $t04422744317._2
13681368 let balA = $t04422744317._3
13691369 let balB = $t04422744317._4
13701370 let shareId = $t04422744317._5
13711371 let amount = unstakeLP(pool, pType, shareId, liquidateAmount)
13721372 let borrowAmount = getIntegerValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAmount))
13731373 let borrowAsset = getStringValue(this, (((((pool + "_") + user) + "_") + posId) + kUserBorrowAssetId))
13741374 let userCanWithdraw = userCanWithdrawShareCalc(user, pool, posId, (borrowAmount > 0))
13751375 if ((liquidateAmount > userCanWithdraw))
13761376 then throw("You can't liquidate more than user have")
13771377 else if ((borrowAmount == 0))
13781378 then throw("You can't liquidate position without borrow")
13791379 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))]
13801380 }))
13811381
13821382
13831383
13841384 @Callable(i)
13851385 func stopLoss (user,posId,pool,assetId) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
13861386 let tokenOraclePrice = getIntegerValue(priceOracleAddr, (assetId + kPriceInOracle))
13871387 let stopLossPrice = valueOrErrorMessage(getInteger(this, (((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss)), "No entry")
13881388 if ((tokenOraclePrice > stopLossPrice))
13891389 then throw("Token price greater stop loss price")
13901390 else {
13911391 let res = withdrawToUser(user, pool, toString(posId), true)
13921392 $Tuple2((res._1 :+ DeleteEntry((((((((user + "_") + toString(posId)) + "_") + pool) + "_") + assetId) + kUserStopLoss))), res._2)
13931393 }
13941394 }))
13951395
13961396
13971397
13981398 @Callable(i)
13991399 func capitalizeExKeeper (pool,tokenToId,amountToExchange,claim,amountsIn,addresses,assetsToReceive,estReceived,slippageTolerance,minReceived,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14001400 let pType = getStringValue(this, (kPool + pool))
14011401 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14021402 let $t04646946568 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14031403 let claimedAmount = $t04646946568._1
14041404 let claimedAsset = $t04646946568._2
14051405 let exchangedAmount = exchangeKeeper(tokenToId, amountToExchange, claimedAsset, amountsIn, addresses, assetsToReceive, estReceived, slippageTolerance, minReceived, options)
14061406 let newChange = ((claimedAmount + change) - amountToExchange)
14071407 let changeEntry = if ((newChange >= 0))
14081408 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14091409 else throw("Negative change")
14101410 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14111411 }))
14121412
14131413
14141414
14151415 @Callable(i)
14161416 func capitalizeExPuzzle (pool,tokenToId,amountToExchange,claim,routesStr,minToReceive,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14171417 let pType = getStringValue(this, (kPool + pool))
14181418 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14191419 let $t04736847467 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14201420 let claimedAmount = $t04736847467._1
14211421 let claimedAsset = $t04736847467._2
14221422 let exchangedAmount = exchangePuzzle(tokenToId, amountToExchange, claimedAsset, routesStr, minToReceive, options)
14231423 let newChange = ((claimedAmount + change) - amountToExchange)
14241424 let changeEntry = if ((newChange >= 0))
14251425 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14261426 else nil
14271427 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14281428 }))
14291429
14301430
14311431
14321432 @Callable(i)
14331433 func capitalizeExSwopFi (pool,tokenToId,amountToExchange,claim,exchangers,exchangersType,args1,args2,routingAssetsKeys,minAmountToReceive,options) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14341434 let pType = getStringValue(this, (kPool + pool))
14351435 let change = valueOrElse(getInteger(this, (pool + kPoolCapChange)), 0)
14361436 let $t04831248411 = claimAndCheckAmnt(pool, pType, claim, amountToExchange, change)
14371437 let claimedAmount = $t04831248411._1
14381438 let claimedAsset = $t04831248411._2
14391439 let exchangedAmount = exchangeSwopFi(tokenToId, amountToExchange, claimedAsset, exchangers, exchangersType, args1, args2, routingAssetsKeys, minAmountToReceive, options)
14401440 let newChange = ((claimedAmount + change) - amountToExchange)
14411441 let changeEntry = if ((newChange >= 0))
14421442 then [IntegerEntry((pool + kPoolCapChange), newChange)]
14431443 else nil
14441444 (capitalize(pool, pType, tokenToId, exchangedAmount) ++ changeEntry)
14451445 }))
14461446
14471447
14481448
14491449 @Callable(i)
14501450 func capitalizeNoEx (pool,claim,amountFromBalance) = valueOrElse(isActive(), valueOrElse(isOperatorCall(i), {
14511451 let pType = getStringValue(this, (kPool + pool))
14521452 let $t04900849103 = claimAndCheckAmnt(pool, pType, claim, amountFromBalance, 0)
14531453 let claimedAmount = $t04900849103._1
14541454 let claimedAsset = $t04900849103._2
14551455 capitalize(pool, pType, assetIdToStr(claimedAsset), amountFromBalance)
14561456 }))
14571457
14581458
14591459
14601460 @Callable(i)
14611461 func initNewPool (type,poolAddr,inFeeNoLoan,inFeeLoan,capFeeNoLoan,capFeeWithLoan,stoplossFeeNoLoan,stoplossFeeWithLoan,canBorrow) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), if (if ((type != SF_POOL))
14621462 then (type != WX_POOL)
14631463 else false)
14641464 then throw("Wrong type")
14651465 else {
14661466 let $t04951349607 = getPoolData(Address(fromBase58String(poolAddr)), type)
14671467 let aId = $t04951349607._1
14681468 let bId = $t04951349607._2
14691469 let aBal = $t04951349607._3
14701470 let bBal = $t04951349607._4
14711471 let shareId = $t04951349607._5
14721472 if ((0 > inFeeNoLoan))
14731473 then throw("inFeeNoLoan must be greater than 0")
14741474 else if ((0 > inFeeLoan))
14751475 then throw("inFeeLoan must be greater than 0")
14761476 else if ((0 > capFeeNoLoan))
14771477 then throw("capFeeNoLoan must be greater than 0")
14781478 else if ((0 > capFeeWithLoan))
14791479 then throw("capFeeWithLoan must be greater than 0")
14801480 else if ((0 > stoplossFeeNoLoan))
14811481 then throw("stoplossFeeNoLoan must be greater than 0")
14821482 else if ((0 > stoplossFeeWithLoan))
14831483 then throw("stoplossFeeWithLoan must be greater than 0")
14841484 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)]
14851485 }))
14861486
14871487
14881488
14891489 @Callable(i)
14901490 func activate () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, kActive), true))
14911491 then throw("dApp already active")
14921492 else [BooleanEntry(kActive, true)])
14931493
14941494
14951495
14961496 @Callable(i)
14971497 func shutdown () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, kActive), true)))
14981498 then throw("dApp already shutdown")
14991499 else [BooleanEntry(kActive, false)])
15001500
15011501
15021502
15031503 @Callable(i)
15041504 func activateForUsers () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, kActiveUsers), true))
15051505 then throw("dApp already active for users")
15061506 else [BooleanEntry(kActiveUsers, true)])
15071507
15081508
15091509
15101510 @Callable(i)
15111511 func shutdownForUsers () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, kActiveUsers), true)))
15121512 then throw("dApp already shutdown for users")
15131513 else [BooleanEntry(kActiveUsers, false)])
15141514
15151515
15161516
15171517 @Callable(i)
15181518 func activateSF () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, (SF_POOL + kActiveSFWX)), true))
15191519 then throw("SWOPFI already active")
15201520 else [BooleanEntry((SF_POOL + kActiveSFWX), true)])
15211521
15221522
15231523
15241524 @Callable(i)
15251525 func shutdownSF () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, (SF_POOL + kActiveSFWX)), true)))
15261526 then throw("SWOPFI already shutdown")
15271527 else [BooleanEntry((SF_POOL + kActiveSFWX), false)])
15281528
15291529
15301530
15311531 @Callable(i)
15321532 func activateWX () = valueOrElse(isAdminCall(i), if (valueOrElse(getBoolean(this, (WX_POOL + kActiveSFWX)), true))
15331533 then throw("WX already active")
15341534 else [BooleanEntry((WX_POOL + kActiveSFWX), true)])
15351535
15361536
15371537
15381538 @Callable(i)
15391539 func shutdownWX () = valueOrElse(isAdminCall(i), if (!(valueOrElse(getBoolean(this, (WX_POOL + kActiveSFWX)), true)))
15401540 then throw("WX already shutdown")
15411541 else [BooleanEntry((WX_POOL + kActiveSFWX), false)])
15421542
15431543
15441544
15451545 @Callable(i)
15461546 func activatePool (pool) = valueOrElse(isAdminCall(i), if (!(isDefined(getString(this, (kPool + pool)))))
15471547 then throw("Unknown pool")
15481548 else if (valueOrElse(getBoolean(this, (pool + kPoolActive)), true))
15491549 then throw("Pool already active")
15501550 else [BooleanEntry((pool + kPoolActive), true)])
15511551
15521552
15531553
15541554 @Callable(i)
15551555 func shutdownPool (pool) = valueOrElse(isAdminCall(i), if (!(isDefined(getString(this, (kPool + pool)))))
15561556 then throw("Unknown pool")
15571557 else if (!(valueOrElse(getBoolean(this, (pool + kPoolActive)), true)))
15581558 then throw("Pool already shutdown")
15591559 else [BooleanEntry((pool + kPoolActive), false)])
15601560
15611561
15621562 @Verifier(tx)
15631563 func verify () = match tx {
15641564 case inv: InvokeScriptTransaction =>
15651565 let isRightFee = if ((inv.fee == 900000))
15661566 then (inv.feeAssetId == unit)
15671567 else false
15681568 let isInitCall = (inv.function == "init")
15691569 if (isRightFee)
15701570 then isInitCall
15711571 else false
15721572 case _ =>
15731573 let group1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], group1Admin1PK))
15741574 then 1
15751575 else (0 + (if (sigVerify(tx.bodyBytes, tx.proofs[0], group1Admin2PK))
15761576 then 1
15771577 else 0))
15781578 let group2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], group2Admin1PK))
15791579 then 1
15801580 else (0 + (if (sigVerify(tx.bodyBytes, tx.proofs[1], group2Admin2PK))
15811581 then 1
15821582 else 0))
15831583 ((group1Signed + group2Signed) == 2)
15841584 }
15851585

github/deemru/w8io/169f3d6 
125.04 ms