tx · Ah2TwbVLgDyvgvXroG4QKQaLDcQgyioyp7Wtsm1AFGpX

3MudYAdb2aRxJGx7YHraAtN7v6dXCVHUFKx:  -0.04500000 Waves

2023.08.08 13:41 [2701516] smart account 3MudYAdb2aRxJGx7YHraAtN7v6dXCVHUFKx > SELF 0.00000000 Waves

{ "type": 13, "id": "Ah2TwbVLgDyvgvXroG4QKQaLDcQgyioyp7Wtsm1AFGpX", "fee": 4500000, "feeAssetId": null, "timestamp": 1691491337930, "version": 2, "chainId": 84, "sender": "3MudYAdb2aRxJGx7YHraAtN7v6dXCVHUFKx", "senderPublicKey": "FGk4k1DFjx16u4CWSy96FFccU9X7X6Q4sw1NhmDv3Vr4", "proofs": [ "2LhDwYWNw5xFmPQwFusuFddjbQG6sn9eFKEkpHbTgQ7hn2usq2PKG42XWPKFsm25i7ASXHajpy8TrDkE36Bu5L32", "2L2acYzYZuugUGHyMngC8MC69qe91JfxsY1DQnCm7oMwNRPhxU8KAr9vhTRhtt15tgWRHd6BBpmXcFvgi2PtVUAi" ], "script": "base64:BgJiCAISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERJYAAd2ZXJzaW9uAgUxLjAuMAAIa1ZlcnNpb24CB3ZlcnNpb24AB2tBY3RpdmUCBmFjdGl2ZQALa0RlcHJlY2F0ZWQCC2RlcHJlY2F0ZWRfAAlrQXNzZXRJZEECCkFfYXNzZXRfaWQACWtBc3NldElkQgIKQl9hc3NldF9pZAAJa0JhbGFuY2VBAg9BX2Fzc2V0X2JhbGFuY2UACWtCYWxhbmNlQgIPQl9hc3NldF9iYWxhbmNlAA1rQmFsYW5jZUluaXRBAgxBX2Fzc2V0X2luaXQADWtCYWxhbmNlSW5pdEICDEJfYXNzZXRfaW5pdAANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZ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Jvb2ZzAAAFDGFkbWluUHViS2V5MQABAAAEEmFkbWluUHViS2V5MlNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFDGFkbWluUHViS2V5MgABAAAEEmFkbWluUHViS2V5M1NpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFDGFkbWluUHViS2V5MwABAAAJAGcCCQBkAgkAZAIFEmFkbWluUHViS2V5MVNpZ25lZAUSYWRtaW5QdWJLZXkyU2lnbmVkBRJhZG1pblB1YktleTNTaWduZWQAAgUTbXVsdGlTaWduZWRCeUFkbWluc3cJxUE=", "height": 2701516, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 98ZUVjDaiPWp71DQnBEQ9aicCu5DqRWQiE6FhBvtBuLS Next: 9WUHP8XGV31NcEhwkJS8v5XtpnF9YBUoZnJiSL4BmKzC Diff:
OldNewDifferences
165165 else if ((aId == L2MP))
166166 then {
167167 let available = {
168- let @ = invoke(stakingL2MPAddress, "getUserAssetsREADONLY", [pool], nil)
168+ let @ = invoke(stakingL2MPAddress, "getUserAssetsREADONLY", [toString(pool)], nil)
169169 if ($isInstanceOf(@, "(Int, Int, Int, Int, Int)"))
170170 then @
171171 else throw(($getType(@) + " couldn't be cast to (Int, Int, Int, Int, Int)"))
191191
192192 func getAssetInfo (assetId) = match assetId {
193193 case id: String|ByteVector =>
194- let $t044664638 = match id {
194+ let $t044774649 = match id {
195195 case aId: ByteVector =>
196196 $Tuple2(toBase58String(aId), aId)
197197 case aId: String =>
199199 case _ =>
200200 throw("Match error")
201201 }
202- let stringId = $t044664638._1
203- let bytesId = $t044664638._2
202+ let stringId = $t044774649._1
203+ let bytesId = $t044774649._2
204204 let info = valueOrErrorMessage(assetInfo(bytesId), (("Asset " + stringId) + " doesn't exist"))
205205 $Tuple3(stringId, info.name, info.decimals)
206206 case waves: Unit =>
323323
324324
325325 func calcLPAmountReplensishTwoTokens (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,shareAssetSupply) = {
326- let $t0997910051 = getAssetInfo(pmtIdA)
327- let pmtStrAssetIdA = $t0997910051._1
328- let pmtAssetNameA = $t0997910051._2
329- let pmtDecimalsA = $t0997910051._3
330- let $t01005610128 = getAssetInfo(pmtIdB)
331- let pmtStrAssetIdB = $t01005610128._1
332- let pmtAssetNameB = $t01005610128._2
333- let pmtDecimalsB = $t01005610128._3
326+ let $t0999010062 = getAssetInfo(pmtIdA)
327+ let pmtStrAssetIdA = $t0999010062._1
328+ let pmtAssetNameA = $t0999010062._2
329+ let pmtDecimalsA = $t0999010062._3
330+ let $t01006710139 = getAssetInfo(pmtIdB)
331+ let pmtStrAssetIdB = $t01006710139._1
332+ let pmtAssetNameB = $t01006710139._2
333+ let pmtDecimalsB = $t01006710139._3
334334 let initial = ((balA + balB) == 0)
335- let $t01017110830 = if (initial)
335+ let $t01018210841 = if (initial)
336336 then $Tuple5(pmtA, pmtB, 0, pmtIdA, toBigInt(1))
337337 else {
338338 let ratioShareTokensInA = fraction(scale16, toBigInt(pmtA), toBigInt(balA))
347347 $Tuple5(pmt, pmtB, (pmtA - pmt), pmtIdA, ratioShareTokensInB)
348348 }
349349 }
350- let pmtAmountA = $t01017110830._1
351- let pmtAmountB = $t01017110830._2
352- let change = $t01017110830._3
353- let changeAssetId = $t01017110830._4
354- let shareTokenRatio = $t01017110830._5
350+ let pmtAmountA = $t01018210841._1
351+ let pmtAmountB = $t01018210841._2
352+ let change = $t01018210841._3
353+ let changeAssetId = $t01018210841._4
354+ let shareTokenRatio = $t01018210841._5
355355 let shareTokenToPayAmount = if (initial)
356356 then {
357357 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
365365 func calcLPAmountReplenishOneToken (pmtAmount,pmtAssetId,aId,bId,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = if ((pmtAssetId == aId))
366366 then {
367367 let virtPayAmount = calculateVirtPay(pmtAmount, balA, fee)
368- let $t01169411841 = calculateFees(virtPayAmount, virtGetMinAmount, balA, balB, fee, govFee, teamFee)
369- let amountWithoutFee = $t01169411841._1
370- let amountWithFee = $t01169411841._2
371- let governanceReward = $t01169411841._3
372- let tReward = $t01169411841._4
368+ let $t01170511852 = calculateFees(virtPayAmount, virtGetMinAmount, balA, balB, fee, govFee, teamFee)
369+ let amountWithoutFee = $t01170511852._1
370+ let amountWithFee = $t01170511852._2
371+ let governanceReward = $t01170511852._3
372+ let tReward = $t01170511852._4
373373 let balanceAVirt = (balA + virtPayAmount)
374374 let balanceBVirt = (((balB + amountWithoutFee) - governanceReward) - tReward)
375375 let newBalanceA = (balA + pmtAmount)
383383 }
384384 else {
385385 let virtPayAmount = calculateVirtPay(pmtAmount, balB, fee)
386- let $t01288513032 = calculateFees(virtPayAmount, virtGetMinAmount, balB, balA, fee, govFee, teamFee)
387- let amountWithoutFee = $t01288513032._1
388- let amountWithFee = $t01288513032._2
389- let governanceReward = $t01288513032._3
390- let tReward = $t01288513032._4
386+ let $t01289613043 = calculateFees(virtPayAmount, virtGetMinAmount, balB, balA, fee, govFee, teamFee)
387+ let amountWithoutFee = $t01289613043._1
388+ let amountWithFee = $t01289613043._2
389+ let governanceReward = $t01289613043._3
390+ let tReward = $t01289613043._4
391391 let balanceAVirt = (((balA + amountWithoutFee) - governanceReward) - tReward)
392392 let balanceBVirt = (balB + virtPayAmount)
393393 let newBalanceA = ((balA - governanceReward) - tReward)
402402
403403
404404 func calcLPReplenishDiffProp (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = {
405- let $t01419914347 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtIdA, pmtIdB, balA, balB, lpSupply)
406- let lpTwoAmount = $t01419914347._1
407- let change = $t01419914347._2
408- let changeAssetId = $t01419914347._3
409- let pmtAmountA = $t01419914347._4
410- let pmtAmountB = $t01419914347._5
405+ let $t01421014358 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtIdA, pmtIdB, balA, balB, lpSupply)
406+ let lpTwoAmount = $t01421014358._1
407+ let change = $t01421014358._2
408+ let changeAssetId = $t01421014358._3
409+ let pmtAmountA = $t01421014358._4
410+ let pmtAmountB = $t01421014358._5
411411 if ((change > 0))
412412 then {
413- let $t01437914613 = calcLPAmountReplenishOneToken(change, changeAssetId, pmtIdA, pmtIdB, (balA + pmtAmountA), (balB + pmtAmountB), lpSupply, fee, govFee, teamFee, virtGetMinAmount)
414- let lpOne = $t01437914613._1
415- let newBalanceA = $t01437914613._2
416- let newBalanceB = $t01437914613._3
417- let governanceReward = $t01437914613._4
418- let tReward = $t01437914613._5
419- let gId = $t01437914613._6
420- let loss = $t01437914613._7
413+ let $t01439014624 = calcLPAmountReplenishOneToken(change, changeAssetId, pmtIdA, pmtIdB, (balA + pmtAmountA), (balB + pmtAmountB), lpSupply, fee, govFee, teamFee, virtGetMinAmount)
414+ let lpOne = $t01439014624._1
415+ let newBalanceA = $t01439014624._2
416+ let newBalanceB = $t01439014624._3
417+ let governanceReward = $t01439014624._4
418+ let tReward = $t01439014624._5
419+ let gId = $t01439014624._6
420+ let loss = $t01439014624._7
421421 $Tuple7((lpTwoAmount + lpOne), loss, newBalanceA, newBalanceB, governanceReward, tReward, gId)
422422 }
423423 else $Tuple7(lpTwoAmount, 0, (balA + pmtAmountA), (balB + pmtAmountB), 0, 0, unit)
426426
427427 @Callable(i)
428428 func calcLPReplenishDiffPropREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
429- let $t01494915039 = getPoolAssets(i.caller)
430- let strAssetIdA = $t01494915039._1
431- let strAssetIdB = $t01494915039._2
432- let assetIdA = $t01494915039._3
433- let assetIdB = $t01494915039._4
434- let shareAssetId = $t01494915039._5
435- let $t01504415126 = getPoolBalances(i.caller, assetIdA, assetIdB)
436- let balA = $t01504415126._1
437- let balB = $t01504415126._2
438- let accBalA = $t01504415126._3
439- let accBalB = $t01504415126._4
429+ let $t01496015050 = getPoolAssets(i.caller)
430+ let strAssetIdA = $t01496015050._1
431+ let strAssetIdB = $t01496015050._2
432+ let assetIdA = $t01496015050._3
433+ let assetIdB = $t01496015050._4
434+ let shareAssetId = $t01496015050._5
435+ let $t01505515137 = getPoolBalances(i.caller, assetIdA, assetIdB)
436+ let balA = $t01505515137._1
437+ let balB = $t01505515137._2
438+ let accBalA = $t01505515137._3
439+ let accBalB = $t01505515137._4
440440 let lpSupply = getLpSupply(i.caller)
441441 let pmtA = parseIntValue(args[0])
442442 let pmtB = parseIntValue(args[1])
443443 let virtGetMinAmount = parseIntValue(args[2])
444- let $t01530115368 = getFeeParams(i.caller, i.originCaller)
445- let fee = $t01530115368._1
446- let govFee = $t01530115368._2
447- let teamFee = $t01530115368._3
448- let $t01537315565 = calcLPReplenishDiffProp(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply, fee, govFee, teamFee, virtGetMinAmount)
449- let lp = $t01537315565._1
450- let loss = $t01537315565._2
451- let newBalanceA = $t01537315565._3
452- let newBalanceB = $t01537315565._4
453- let governanceReward = $t01537315565._5
454- let tReward = $t01537315565._6
455- let aId = $t01537315565._7
444+ let $t01531215379 = getFeeParams(i.caller, i.originCaller)
445+ let fee = $t01531215379._1
446+ let govFee = $t01531215379._2
447+ let teamFee = $t01531215379._3
448+ let $t01538415576 = calcLPReplenishDiffProp(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply, fee, govFee, teamFee, virtGetMinAmount)
449+ let lp = $t01538415576._1
450+ let loss = $t01538415576._2
451+ let newBalanceA = $t01538415576._3
452+ let newBalanceB = $t01538415576._4
453+ let governanceReward = $t01538415576._5
454+ let tReward = $t01538415576._6
455+ let aId = $t01538415576._7
456456 $Tuple2(nil, $Tuple2(nil, [lp, loss, newBalanceA, newBalanceB, governanceReward, tReward, aId]))
457457 }
458458
460460
461461 @Callable(i)
462462 func calcLPReplenishTwoTokensREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
463- let $t01580815898 = getPoolAssets(i.caller)
464- let strAssetIdA = $t01580815898._1
465- let strAssetIdB = $t01580815898._2
466- let assetIdA = $t01580815898._3
467- let assetIdB = $t01580815898._4
468- let shareAssetId = $t01580815898._5
469- let $t01590315985 = getPoolBalances(i.caller, assetIdA, assetIdB)
470- let balA = $t01590315985._1
471- let balB = $t01590315985._2
472- let accBalA = $t01590315985._3
473- let accBalB = $t01590315985._4
463+ let $t01581915909 = getPoolAssets(i.caller)
464+ let strAssetIdA = $t01581915909._1
465+ let strAssetIdB = $t01581915909._2
466+ let assetIdA = $t01581915909._3
467+ let assetIdB = $t01581915909._4
468+ let shareAssetId = $t01581915909._5
469+ let $t01591415996 = getPoolBalances(i.caller, assetIdA, assetIdB)
470+ let balA = $t01591415996._1
471+ let balB = $t01591415996._2
472+ let accBalA = $t01591415996._3
473+ let accBalB = $t01591415996._4
474474 let lpSupply = getLpSupply(i.caller)
475475 let pmtA = parseIntValue(args[0])
476476 let pmtB = parseIntValue(args[1])
477- let $t01610916252 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
478- let lp = $t01610916252._1
479- let change = $t01610916252._2
480- let changeAssetId = $t01610916252._3
481- let pmtAmountA = $t01610916252._4
482- let pmtAmountB = $t01610916252._5
477+ let $t01612016263 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
478+ let lp = $t01612016263._1
479+ let change = $t01612016263._2
480+ let changeAssetId = $t01612016263._3
481+ let pmtAmountA = $t01612016263._4
482+ let pmtAmountB = $t01612016263._5
483483 $Tuple2(nil, $Tuple2(nil, [lp, change, changeAssetId, pmtAmountA, pmtAmountB]))
484484 }
485485
487487
488488 @Callable(i)
489489 func withdrawREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
490- let $t01646316553 = getPoolAssets(i.caller)
491- let strAssetIdA = $t01646316553._1
492- let strAssetIdB = $t01646316553._2
493- let assetIdA = $t01646316553._3
494- let assetIdB = $t01646316553._4
495- let shareAssetId = $t01646316553._5
496- let $t01655816664 = getPoolBalances(i.caller, assetIdA, assetIdB)
497- let balanceA = $t01655816664._1
498- let balanceB = $t01655816664._2
499- let accountBalanceA = $t01655816664._3
500- let accountBalanceB = $t01655816664._4
490+ let $t01647416564 = getPoolAssets(i.caller)
491+ let strAssetIdA = $t01647416564._1
492+ let strAssetIdB = $t01647416564._2
493+ let assetIdA = $t01647416564._3
494+ let assetIdB = $t01647416564._4
495+ let shareAssetId = $t01647416564._5
496+ let $t01656916675 = getPoolBalances(i.caller, assetIdA, assetIdB)
497+ let balanceA = $t01656916675._1
498+ let balanceB = $t01656916675._2
499+ let accountBalanceA = $t01656916675._3
500+ let accountBalanceB = $t01656916675._4
501501 let shareAssetSupply = getLpSupply(i.caller)
502502 let withdrawAmount = parseIntValue(args[0])
503- let $t01676716929 = if ((size(args) == 3))
503+ let $t01677816940 = if ((size(args) == 3))
504504 then $Tuple2(parseIntValue(args[1]), parseIntValue(args[2]))
505505 else $Tuple2(balanceA, balanceB)
506- let balA = $t01676716929._1
507- let balB = $t01676716929._2
506+ let balA = $t01677816940._1
507+ let balB = $t01677816940._2
508508 let amountToPayA = fraction(withdrawAmount, balA, shareAssetSupply)
509509 let amountToPayB = fraction(withdrawAmount, balB, shareAssetSupply)
510510 $Tuple2(nil, $Tuple2(nil, [amountToPayA, amountToPayB]))
515515 @Callable(i)
516516 func init (callerBytes,args,pAmounts,pAssetIds) = {
517517 let caller = Address(callerBytes)
518- let $t01728417362 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
519- let pmtAmountA = $t01728417362._1
520- let pmtAssetIdA = $t01728417362._2
521- let $t01736717445 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
522- let pmtAmountB = $t01736717445._1
523- let pmtAssetIdB = $t01736717445._2
518+ let $t01729517373 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
519+ let pmtAmountA = $t01729517373._1
520+ let pmtAssetIdA = $t01729517373._2
521+ let $t01737817456 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
522+ let pmtAmountB = $t01737817456._1
523+ let pmtAssetIdB = $t01737817456._2
524524 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
525525 then throw("Only admin can call this function")
526526 else if ((size(args) != 1))
530530 else if ((pmtAssetIdA == pmtAssetIdB))
531531 then throw("Assets must be different")
532532 else {
533- let $t01788017957 = getAssetInfo(pmtAssetIdA)
534- let pmtStrAssetIdA = $t01788017957._1
535- let pmtAssetNameA = $t01788017957._2
536- let pmtDecimalsA = $t01788017957._3
537- let $t01796618043 = getAssetInfo(pmtAssetIdB)
538- let pmtStrAssetIdB = $t01796618043._1
539- let pmtAssetNameB = $t01796618043._2
540- let pmtDecimalsB = $t01796618043._3
533+ let $t01789117968 = getAssetInfo(pmtAssetIdA)
534+ let pmtStrAssetIdA = $t01789117968._1
535+ let pmtAssetNameA = $t01789117968._2
536+ let pmtDecimalsA = $t01789117968._3
537+ let $t01797718054 = getAssetInfo(pmtAssetIdB)
538+ let pmtStrAssetIdB = $t01797718054._1
539+ let pmtAssetNameB = $t01797718054._2
540+ let pmtDecimalsB = $t01797718054._3
541541 let firstHarvest = (args[0] == "true")
542542 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
543543 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
574574 @Callable(i)
575575 func initWithInitRatio (callerBytes,args,pAmounts,pAssetIds) = {
576576 let caller = Address(callerBytes)
577- let $t02026420464 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
578- let amtAssetA = $t02026420464._1
579- let amtAssetB = $t02026420464._2
580- let assetIdAStr = $t02026420464._3
581- let assetIdBStr = $t02026420464._4
582- let firstHarvest = $t02026420464._5
577+ let $t02027520475 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
578+ let amtAssetA = $t02027520475._1
579+ let amtAssetB = $t02027520475._2
580+ let assetIdAStr = $t02027520475._3
581+ let assetIdBStr = $t02027520475._4
582+ let firstHarvest = $t02027520475._5
583583 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
584584 then throw("Only admin can call this function")
585585 else if ((size(args) != 5))
589589 else if ((assetIdAStr == assetIdBStr))
590590 then throw("Assets must be different")
591591 else {
592- let $t02089920976 = getAssetInfo(assetIdAStr)
593- let pmtStrAssetIdA = $t02089920976._1
594- let pmtAssetNameA = $t02089920976._2
595- let pmtDecimalsA = $t02089920976._3
596- let $t02098521062 = getAssetInfo(assetIdBStr)
597- let pmtStrAssetIdB = $t02098521062._1
598- let pmtAssetNameB = $t02098521062._2
599- let pmtDecimalsB = $t02098521062._3
592+ let $t02091020987 = getAssetInfo(assetIdAStr)
593+ let pmtStrAssetIdA = $t02091020987._1
594+ let pmtAssetNameA = $t02091020987._2
595+ let pmtDecimalsA = $t02091020987._3
596+ let $t02099621073 = getAssetInfo(assetIdBStr)
597+ let pmtStrAssetIdB = $t02099621073._1
598+ let pmtAssetNameB = $t02099621073._2
599+ let pmtDecimalsB = $t02099621073._3
600600 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
601601 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
602602 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
627627 @Callable(i)
628628 func exchange (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
629629 let caller = Address(callerBytes)
630- let $t02348823564 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
631- let pmtAmount = $t02348823564._1
632- let pmtAssetId = $t02348823564._2
630+ let $t02349923575 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
631+ let pmtAmount = $t02349923575._1
632+ let pmtAssetId = $t02349923575._2
633633 let minAmountToReceive = parseIntValue(args[0])
634- let $t02362923705 = getPoolAssets(i.caller)
635- let strAssetIdA = $t02362923705._1
636- let strAssetIdB = $t02362923705._2
637- let assetIdA = $t02362923705._3
638- let assetIdB = $t02362923705._4
639- let $t02371423820 = getPoolBalances(i.caller, assetIdA, assetIdB)
640- let balanceA = $t02371423820._1
641- let balanceB = $t02371423820._2
642- let accountBalanceA = $t02371423820._3
643- let accountBalanceB = $t02371423820._4
634+ let $t02364023716 = getPoolAssets(i.caller)
635+ let strAssetIdA = $t02364023716._1
636+ let strAssetIdB = $t02364023716._2
637+ let assetIdA = $t02364023716._3
638+ let assetIdB = $t02364023716._4
639+ let $t02372523831 = getPoolBalances(i.caller, assetIdA, assetIdB)
640+ let balanceA = $t02372523831._1
641+ let balanceB = $t02372523831._2
642+ let accountBalanceA = $t02372523831._3
643+ let accountBalanceB = $t02372523831._4
644644 if ((size(args) != 1))
645645 then throw("Wrong args size")
646646 else if (if ((balanceA == 0))
658658 else (balanceB > accountBalanceB))
659659 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
660660 else {
661- let $t02472024787 = getFeeParams(i.caller, i.originCaller)
662- let fee = $t02472024787._1
663- let govFee = $t02472024787._2
664- let teamFee = $t02472024787._3
665- let $t02480025151 = if ((pmtAssetId == assetIdA))
661+ let $t02473124798 = getFeeParams(i.caller, i.originCaller)
662+ let fee = $t02473124798._1
663+ let govFee = $t02473124798._2
664+ let teamFee = $t02473124798._3
665+ let $t02481125162 = if ((pmtAssetId == assetIdA))
666666 then calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, fee, govFee, teamFee)
667667 else calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, fee, govFee, teamFee)
668- let amountWithoutFee = $t02480025151._1
669- let amountWithFee = $t02480025151._2
670- let governanceReward = $t02480025151._3
671- let teamReward = $t02480025151._4
672- let $t02516525500 = if ((pmtAssetId == assetIdA))
668+ let amountWithoutFee = $t02481125162._1
669+ let amountWithFee = $t02481125162._2
670+ let governanceReward = $t02481125162._3
671+ let teamReward = $t02481125162._4
672+ let $t02517625511 = if ((pmtAssetId == assetIdA))
673673 then $Tuple3((balanceA + pmtAmount), (((balanceB - amountWithFee) - governanceReward) - teamReward), assetIdB)
674674 else $Tuple3((((balanceA - amountWithFee) - governanceReward) - teamReward), (balanceB + pmtAmount), assetIdA)
675- let newBalanceA = $t02516525500._1
676- let newBalanceB = $t02516525500._2
677- let assetIdSend = $t02516525500._3
678- let $t02551425774 = if ((pmtAssetId == assetIdA))
675+ let newBalanceA = $t02517625511._1
676+ let newBalanceB = $t02517625511._2
677+ let assetIdSend = $t02517625511._3
678+ let $t02552525785 = if ((pmtAssetId == assetIdA))
679679 then $Tuple2(pmtAmount, ((amountWithFee + governanceReward) + teamReward))
680680 else $Tuple2(((amountWithFee + governanceReward) + teamReward), pmtAmount)
681- let stakeAmountA = $t02551425774._1
682- let stakeAmountB = $t02551425774._2
681+ let stakeAmountA = $t02552525785._1
682+ let stakeAmountB = $t02552525785._2
683683 let stake1 = if (contains(stakingAssets, strAssetIdA))
684684 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdA), stakeAmountA, strAssetIdA], nil)
685685 else 0
705705 let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
706706 let stakeFarming = (args[0] == "true")
707707 let lockType = parseIntValue(args[1])
708- let $t02708927179 = getPoolAssets(i.caller)
709- let strAssetIdA = $t02708927179._1
710- let strAssetIdB = $t02708927179._2
711- let assetIdA = $t02708927179._3
712- let assetIdB = $t02708927179._4
713- let shareAssetId = $t02708927179._5
714- let $t02718827294 = getPoolBalances(i.caller, assetIdA, assetIdB)
715- let balanceA = $t02718827294._1
716- let balanceB = $t02718827294._2
717- let accountBalanceA = $t02718827294._3
718- let accountBalanceB = $t02718827294._4
708+ let $t02710027190 = getPoolAssets(i.caller)
709+ let strAssetIdA = $t02710027190._1
710+ let strAssetIdB = $t02710027190._2
711+ let assetIdA = $t02710027190._3
712+ let assetIdB = $t02710027190._4
713+ let shareAssetId = $t02710027190._5
714+ let $t02719927305 = getPoolBalances(i.caller, assetIdA, assetIdB)
715+ let balanceA = $t02719927305._1
716+ let balanceB = $t02719927305._2
717+ let accountBalanceA = $t02719927305._3
718+ let accountBalanceB = $t02719927305._4
719719 let shareAssetSupply = getLpSupply(i.caller)
720720 if ((size(args) != 2))
721721 then throw("Wrong args size")
736736 else pAssetIds[2], pAmounts[2])]
737737 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
738738 else {
739- let $t02828328481 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
740- let shareTokenToPayAmount = $t02828328481._1
741- let change = $t02828328481._2
742- let changeAssetId = $t02828328481._3
743- let pmtAmountA = $t02828328481._4
744- let pmtAmountB = $t02828328481._5
739+ let $t02829428492 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
740+ let shareTokenToPayAmount = $t02829428492._1
741+ let change = $t02829428492._2
742+ let changeAssetId = $t02829428492._3
743+ let pmtAmountA = $t02829428492._4
744+ let pmtAmountB = $t02829428492._5
745745 if ((shareTokenToPayAmount == 0))
746746 then throw("Too small amount to replenish")
747747 else if ((0 > change))
794794 let virtGetMinAmount = parseIntValue(args[0])
795795 let stakeFarming = (args[1] == "true")
796796 let lockType = parseIntValue(args[2])
797- let $t03074030830 = getPoolAssets(i.caller)
798- let strAssetIdA = $t03074030830._1
799- let strAssetIdB = $t03074030830._2
800- let assetIdA = $t03074030830._3
801- let assetIdB = $t03074030830._4
802- let shareAssetId = $t03074030830._5
803- let $t03083530941 = getPoolBalances(i.caller, assetIdA, assetIdB)
804- let balanceA = $t03083530941._1
805- let balanceB = $t03083530941._2
806- let accountBalanceA = $t03083530941._3
807- let accountBalanceB = $t03083530941._4
797+ let $t03075130841 = getPoolAssets(i.caller)
798+ let strAssetIdA = $t03075130841._1
799+ let strAssetIdB = $t03075130841._2
800+ let assetIdA = $t03075130841._3
801+ let assetIdB = $t03075130841._4
802+ let shareAssetId = $t03075130841._5
803+ let $t03084630952 = getPoolBalances(i.caller, assetIdA, assetIdB)
804+ let balanceA = $t03084630952._1
805+ let balanceB = $t03084630952._2
806+ let accountBalanceA = $t03084630952._3
807+ let accountBalanceB = $t03084630952._4
808808 let shareAssetSupply = getLpSupply(i.caller)
809809 let initial = ((balanceA + balanceB) == 0)
810810 if ((size(args) != 3))
828828 else pAssetIds[2], pAmounts[2])]
829829 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
830830 else {
831- let $t03190231969 = getFeeParams(i.caller, i.originCaller)
832- let fee = $t03190231969._1
833- let govFee = $t03190231969._2
834- let teamFee = $t03190231969._3
835- let $t03197832040 = getAssetInfo(pmtAssetId)
836- let pmtAssetIdStr = $t03197832040._1
837- let pmtAssetIdName = $t03197832040._2
838- let $t03205832303 = calcLPAmountReplenishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
839- let shareTokenToPayAmount = $t03205832303._1
840- let newBalanceA = $t03205832303._2
841- let newBalanceB = $t03205832303._3
842- let govReward = $t03205832303._4
843- let teamReward = $t03205832303._5
844- let govRewardAsset = $t03205832303._6
831+ let $t03191331980 = getFeeParams(i.caller, i.originCaller)
832+ let fee = $t03191331980._1
833+ let govFee = $t03191331980._2
834+ let teamFee = $t03191331980._3
835+ let $t03198932051 = getAssetInfo(pmtAssetId)
836+ let pmtAssetIdStr = $t03198932051._1
837+ let pmtAssetIdName = $t03198932051._2
838+ let $t03206932314 = calcLPAmountReplenishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
839+ let shareTokenToPayAmount = $t03206932314._1
840+ let newBalanceA = $t03206932314._2
841+ let newBalanceB = $t03206932314._3
842+ let govReward = $t03206932314._4
843+ let teamReward = $t03206932314._5
844+ let govRewardAsset = $t03206932314._6
845845 let govRewardAssetStr = if ((govRewardAsset == assetIdA))
846846 then strAssetIdA
847847 else strAssetIdB
890890 @Callable(i)
891891 func withdraw (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
892892 let caller = Address(callerBytes)
893- let $t03437134461 = getPoolAssets(i.caller)
894- let strAssetIdA = $t03437134461._1
895- let strAssetIdB = $t03437134461._2
896- let assetIdA = $t03437134461._3
897- let assetIdB = $t03437134461._4
898- let shareAssetId = $t03437134461._5
899- let $t03447034576 = getPoolBalances(i.caller, assetIdA, assetIdB)
900- let balanceA = $t03447034576._1
901- let balanceB = $t03447034576._2
902- let accountBalanceA = $t03447034576._3
903- let accountBalanceB = $t03447034576._4
893+ let $t03438234472 = getPoolAssets(i.caller)
894+ let strAssetIdA = $t03438234472._1
895+ let strAssetIdB = $t03438234472._2
896+ let assetIdA = $t03438234472._3
897+ let assetIdB = $t03438234472._4
898+ let shareAssetId = $t03438234472._5
899+ let $t03448134587 = getPoolBalances(i.caller, assetIdA, assetIdB)
900+ let balanceA = $t03448134587._1
901+ let balanceB = $t03448134587._2
902+ let accountBalanceA = $t03448134587._3
903+ let accountBalanceB = $t03448134587._4
904904 let shareAssetSupply = getLpSupply(i.caller)
905- let $t03463835018 = if ((size(pAmounts) == 1))
905+ let $t03464935029 = if ((size(pAmounts) == 1))
906906 then {
907907 let pAsset = parsePaymentAsset(pAssetIds[0])
908908 if ((pAsset != shareAssetId))
910910 else $Tuple2(pAmounts[0], pAsset)
911911 }
912912 else $Tuple2(0, shareAssetId)
913- let pmtAmount = $t03463835018._1
914- let pmtAssetId = $t03463835018._2
913+ let pmtAmount = $t03464935029._1
914+ let pmtAssetId = $t03464935029._2
915915 if ((size(args) != 1))
916916 then throw("Wrong args size")
917917 else if ((size(pAmounts) > 1))
956956 let withdrawAsset = if ((args[0] == ""))
957957 then unit
958958 else fromBase58String(args[0])
959- let $t03723637326 = getPoolAssets(i.caller)
960- let strAssetIdA = $t03723637326._1
961- let strAssetIdB = $t03723637326._2
962- let assetIdA = $t03723637326._3
963- let assetIdB = $t03723637326._4
964- let shareAssetId = $t03723637326._5
965- let $t03733537441 = getPoolBalances(i.caller, assetIdA, assetIdB)
966- let balanceA = $t03733537441._1
967- let balanceB = $t03733537441._2
968- let accountBalanceA = $t03733537441._3
969- let accountBalanceB = $t03733537441._4
959+ let $t03724737337 = getPoolAssets(i.caller)
960+ let strAssetIdA = $t03724737337._1
961+ let strAssetIdB = $t03724737337._2
962+ let assetIdA = $t03724737337._3
963+ let assetIdB = $t03724737337._4
964+ let shareAssetId = $t03724737337._5
965+ let $t03734637452 = getPoolBalances(i.caller, assetIdA, assetIdB)
966+ let balanceA = $t03734637452._1
967+ let balanceB = $t03734637452._2
968+ let accountBalanceA = $t03734637452._3
969+ let accountBalanceB = $t03734637452._4
970970 let shareAssetSupply = getLpSupply(i.caller)
971- let $t03750337855 = if ((size(pAmounts) == 1))
971+ let $t03751437866 = if ((size(pAmounts) == 1))
972972 then {
973973 let pAsset = parsePaymentAsset(pAssetIds[0])
974974 if ((pAsset != shareAssetId))
976976 else $Tuple2(pAmounts[0], pAsset)
977977 }
978978 else $Tuple2(0, shareAssetId)
979- let pmtAmount = $t03750337855._1
980- let pmtAssetId = $t03750337855._2
979+ let pmtAmount = $t03751437866._1
980+ let pmtAssetId = $t03751437866._2
981981 let virtMinToRecive = parseIntValue(args[1])
982982 if ((size(args) != 3))
983983 then throw("Wrong args size")
10011001 let withdrawAmount = (pmtAmount + unlockAmount)
10021002 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
10031003 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
1004- let $t03912239189 = getFeeParams(i.caller, i.originCaller)
1005- let fee = $t03912239189._1
1006- let govFee = $t03912239189._2
1007- let teamFee = $t03912239189._3
1008- let $t03920239616 = if ((withdrawAsset == assetIdA))
1004+ let $t03913339200 = getFeeParams(i.caller, i.originCaller)
1005+ let fee = $t03913339200._1
1006+ let govFee = $t03913339200._2
1007+ let teamFee = $t03913339200._3
1008+ let $t03921339627 = if ((withdrawAsset == assetIdA))
10091009 then calculateFees(amountToPayB, virtMinToRecive, (balanceB - amountToPayB), (balanceA - amountToPayA), fee, govFee, teamFee)
10101010 else calculateFees(amountToPayA, virtMinToRecive, (balanceA - amountToPayA), (balanceB - amountToPayB), fee, govFee, teamFee)
1011- let amountWithoutFee = $t03920239616._1
1012- let amountWithFee = $t03920239616._2
1013- let governanceReward = $t03920239616._3
1014- let teamReward = $t03920239616._4
1015- let $t03962940939 = if ((withdrawAsset == assetIdA))
1011+ let amountWithoutFee = $t03921339627._1
1012+ let amountWithFee = $t03921339627._2
1013+ let governanceReward = $t03921339627._3
1014+ let teamReward = $t03921339627._4
1015+ let $t03964040950 = if ((withdrawAsset == assetIdA))
10161016 then {
10171017 let unstake = if (contains(stakingAssets, strAssetIdA))
10181018 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayA + amountWithFee) + governanceReward) + teamReward), strAssetIdA], nil)
10291029 then $Tuple4(balanceA, ((((balanceB - amountToPayB) - amountWithFee) - governanceReward) - teamReward), assetIdB, [ScriptTransfer(caller, (amountToPayB + amountWithFee), assetIdB)])
10301030 else throw("Strict value is not equal to itself.")
10311031 }
1032- let newBalanceA = $t03962940939._1
1033- let newBalanceB = $t03962940939._2
1034- let govRewardAssetId = $t03962940939._3
1035- let userTransfer = $t03962940939._4
1032+ let newBalanceA = $t03964040950._1
1033+ let newBalanceB = $t03964040950._2
1034+ let govRewardAssetId = $t03964040950._3
1035+ let userTransfer = $t03964040950._4
10361036 $Tuple2([ScriptTransfer(i.caller, unlockAmount, shareAssetId)], $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(moneyBoxAddress, governanceReward, govRewardAssetId), ScriptTransfer(teamBoxAddress, teamReward, govRewardAssetId)] ++ userTransfer), nil))
10371037 }
10381038 else throw("Strict value is not equal to itself.")
10431043
10441044 @Callable(i)
10451045 func takeIntoAccountExtraFunds (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
1046- let $t04169941775 = getPoolAssets(i.caller)
1047- let strAssetIdA = $t04169941775._1
1048- let strAssetIdB = $t04169941775._2
1049- let assetIdA = $t04169941775._3
1050- let assetIdB = $t04169941775._4
1046+ let $t04171041786 = getPoolAssets(i.caller)
1047+ let strAssetIdA = $t04171041786._1
1048+ let strAssetIdB = $t04171041786._2
1049+ let assetIdA = $t04171041786._3
1050+ let assetIdB = $t04171041786._4
10511051 let claim = if (if ((assetIdA == USDN))
10521052 then true
10531053 else (assetIdB == USDN))
10551055 else nil
10561056 if ((claim == claim))
10571057 then {
1058- let $t04195942095 = getPoolBalances(i.caller, assetIdA, assetIdB)
1059- let balanceA = $t04195942095._1
1060- let balanceB = $t04195942095._2
1061- let accountBalanceA = $t04195942095._3
1062- let accountBalanceB = $t04195942095._4
1063- let stakedAmountA = $t04195942095._5
1064- let stakedAmountB = $t04195942095._6
1058+ let $t04197042106 = getPoolBalances(i.caller, assetIdA, assetIdB)
1059+ let balanceA = $t04197042106._1
1060+ let balanceB = $t04197042106._2
1061+ let accountBalanceA = $t04197042106._3
1062+ let accountBalanceB = $t04197042106._4
1063+ let stakedAmountA = $t04197042106._5
1064+ let stakedAmountB = $t04197042106._6
10651065 let amountEnrollA = (accountBalanceA - balanceA)
10661066 let amountEnrollB = (accountBalanceB - balanceB)
1067- let $t04221542529 = if ((assetIdA == L2MP))
1067+ let $t04222642540 = if ((assetIdA == L2MP))
10681068 then $Tuple2((accountBalanceA - stakedAmountA), amountEnrollB)
10691069 else if ((assetIdB == L2MP))
10701070 then $Tuple2(amountEnrollA, (accountBalanceB - stakedAmountB))
10711071 else $Tuple2(amountEnrollA, amountEnrollB)
1072- let amountToStakeA = $t04221542529._1
1073- let amountToStakeB = $t04221542529._2
1072+ let amountToStakeA = $t04222642540._1
1073+ let amountToStakeB = $t04222642540._2
10741074 if ((size(args) != 0))
10751075 then throw("Wrong args size")
10761076 else if ((moneyBoxAddress != i.originCaller))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "1.0.0"
55
66 let kVersion = "version"
77
88 let kActive = "active"
99
1010 let kDeprecated = "deprecated_"
1111
1212 let kAssetIdA = "A_asset_id"
1313
1414 let kAssetIdB = "B_asset_id"
1515
1616 let kBalanceA = "A_asset_balance"
1717
1818 let kBalanceB = "B_asset_balance"
1919
2020 let kBalanceInitA = "A_asset_init"
2121
2222 let kBalanceInitB = "B_asset_init"
2323
2424 let kShareAssetId = "share_asset_id"
2525
2626 let kShareAssetSupply = "share_asset_supply"
2727
2828 let kFee = "commission"
2929
3030 let kCause = "shutdown_cause"
3131
3232 let kFirstHarvest = "first_harvest"
3333
3434 let kFirstHarvestHeight = "first_harvest_height"
3535
3636 let kShareLimit = "share_limit_on_first_harvest"
3737
3838 let kBasePeriod = "base_period"
3939
4040 let kPeriodLength = "period_length"
4141
4242 let kStartHeight = "start_height"
4343
4444 let kUSDNAddress = "staking_usdnnsbt_address"
4545
4646 let kEURNAddress = "staking_eurn_address"
4747
4848 let kLeasingAmount = "leasing_amount"
4949
5050 let kUSDNAssetId = "usdn_asset_id"
5151
5252 let kEURNAssetId = "eurn_asset_id"
5353
5454 let kL2MPAssetId = "l2mp_asset_id"
5555
5656 let kStakingAssets = "staking_assets"
5757
5858 let kOracleActive = "active_all_contracts"
5959
6060 let kDiscounts = "discounts"
6161
6262 let kDiscountValues = "discount_values"
6363
6464 let kUserGSwopInGov = "_GSwop_amount"
6565
6666 let kUserSwopInGov = "_SWOP_amount"
6767
6868 let kOraclePool = "pool_"
6969
7070 let kAdminPubKey1 = "admin_pub_1"
7171
7272 let kAdminPubKey2 = "admin_pub_2"
7373
7474 let kAdminPubKey3 = "admin_pub_3"
7575
7676 let kAdminInvokePubKey = "admin_invoke_pub"
7777
7878 let kMoneyBoxAddress = "money_box_address"
7979
8080 let kTeamBoxAddress = "team_box_address"
8181
8282 let kVotingAddress = "voting_address"
8383
8484 let kGovAddress = "governance_address"
8585
8686 let kFarmingAddress = "farming_address"
8787
8888 let kL2MPAddress = "staking_l2mp_address"
8989
9090 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
9191
9292 func getBase58FromOracle (key) = match getString(oracle, key) {
9393 case string: String =>
9494 fromBase58String(string)
9595 case nothing =>
9696 throw((key + "is empty"))
9797 }
9898
9999
100100 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
101101
102102 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
103103
104104 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
105105
106106 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
107107
108108 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
109109
110110 let teamBoxAddress = Address(getBase58FromOracle(kTeamBoxAddress))
111111
112112 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
113113
114114 let govAddress = Address(getBase58FromOracle(kGovAddress))
115115
116116 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
117117
118118 let USDN = getBase58FromOracle(kUSDNAssetId)
119119
120120 let EURN = getBase58FromOracle(kEURNAssetId)
121121
122122 let L2MP = getBase58FromOracle(kL2MPAssetId)
123123
124124 let stakingAssets = getStringValue(oracle, kStakingAssets)
125125
126126 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
127127
128128 let stakingEURNAddress = Address(getBase58FromOracle(kEURNAddress))
129129
130130 let stakingL2MPAddress = Address(getBase58FromOracle(kL2MPAddress))
131131
132132 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
133133
134134 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
135135
136136 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
137137
138138 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
139139
140140 let active = getBooleanValue(oracle, kOracleActive)
141141
142142 let feeScale6 = 1000000
143143
144144 let scale8 = 100000000
145145
146146 let scale16 = toBigInt(10000000000000000)
147147
148148 func accountBalance (assetId,pool) = match assetId {
149149 case id: ByteVector =>
150150 assetBalance(pool, id)
151151 case waves: Unit =>
152152 wavesBalance(pool).available
153153 case _ =>
154154 throw("Match error")
155155 }
156156
157157
158158 func stakedAmount (assetId,pool) = {
159159 let stakedAmountCalculated = match assetId {
160160 case aId: ByteVector =>
161161 if ((aId == USDN))
162162 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(pool)))
163163 else if ((aId == EURN))
164164 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(pool)))
165165 else if ((aId == L2MP))
166166 then {
167167 let available = {
168- let @ = invoke(stakingL2MPAddress, "getUserAssetsREADONLY", [pool], nil)
168+ let @ = invoke(stakingL2MPAddress, "getUserAssetsREADONLY", [toString(pool)], nil)
169169 if ($isInstanceOf(@, "(Int, Int, Int, Int, Int)"))
170170 then @
171171 else throw(($getType(@) + " couldn't be cast to (Int, Int, Int, Int, Int)"))
172172 }
173173 if ((available == available))
174174 then available._2
175175 else throw("Strict value is not equal to itself.")
176176 }
177177 else 0
178178 case _: Unit =>
179179 valueOrElse(getInteger(pool, kLeasingAmount), 0)
180180 case _ =>
181181 throw("Match error")
182182 }
183183 match stakedAmountCalculated {
184184 case i: Int =>
185185 i
186186 case _ =>
187187 0
188188 }
189189 }
190190
191191
192192 func getAssetInfo (assetId) = match assetId {
193193 case id: String|ByteVector =>
194- let $t044664638 = match id {
194+ let $t044774649 = match id {
195195 case aId: ByteVector =>
196196 $Tuple2(toBase58String(aId), aId)
197197 case aId: String =>
198198 $Tuple2(aId, fromBase58String(aId))
199199 case _ =>
200200 throw("Match error")
201201 }
202- let stringId = $t044664638._1
203- let bytesId = $t044664638._2
202+ let stringId = $t044774649._1
203+ let bytesId = $t044774649._2
204204 let info = valueOrErrorMessage(assetInfo(bytesId), (("Asset " + stringId) + " doesn't exist"))
205205 $Tuple3(stringId, info.name, info.decimals)
206206 case waves: Unit =>
207207 $Tuple3("WAVES", "WAVES", 8)
208208 case _ =>
209209 throw("Match error")
210210 }
211211
212212
213213 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
214214
215215
216216 func calculateFeeDiscount (userAddr) = {
217217 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
218218 let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
219219 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
220220 let discounts = split(getStringValue(oracle, kDiscounts), ",")
221221 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
222222 then (parseIntValue(discountValues[1]) > gSwopAmount)
223223 else false)
224224 then (feeScale6 - parseIntValue(discounts[0]))
225225 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
226226 then (parseIntValue(discountValues[2]) > gSwopAmount)
227227 else false)
228228 then (feeScale6 - parseIntValue(discounts[1]))
229229 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
230230 then (parseIntValue(discountValues[3]) > gSwopAmount)
231231 else false)
232232 then (feeScale6 - parseIntValue(discounts[2]))
233233 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
234234 then (parseIntValue(discountValues[4]) > gSwopAmount)
235235 else false)
236236 then (feeScale6 - parseIntValue(discounts[3]))
237237 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
238238 then (feeScale6 - parseIntValue(discounts[4]))
239239 else feeScale6
240240 }
241241
242242
243243 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,fee,feeGov,feeTeam) = {
244244 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
245245 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fee), feeScale6)
246246 let governanceReward = fraction(amountWithoutFee, feeGov, feeScale6)
247247 let teamReward = fraction(amountWithoutFee, feeTeam, feeScale6)
248248 if ((minAmountToReceive > amountWithFee))
249249 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
250250 else $Tuple4(amountWithoutFee, amountWithFee, governanceReward, teamReward)
251251 }
252252
253253
254254 func calculateVirtPay (pmtAmount,balance,fee) = {
255255 let F = (feeScale6 - fee)
256256 let k = fraction(fee, 55, 100)
257257 let a = (scale8 + fraction((F * k), scale8, (feeScale6 * feeScale6)))
258258 let b = ((((balance + fraction(balance, F, feeScale6)) + fraction(pmtAmount, F, feeScale6)) - pmtAmount) - fraction(pmtAmount, (F * k), (feeScale6 * feeScale6)))
259259 let c = (-(toBigInt(balance)) * toBigInt(pmtAmount))
260260 let D = ((toBigInt(b) * toBigInt(b)) - fraction((toBigInt(4) * c), toBigInt(a), toBigInt(scale8)))
261261 toInt(fraction((-(toBigInt(b)) + sqrtBigInt(D, 0, 0, DOWN)), toBigInt(scale8), toBigInt((2 * a))))
262262 }
263263
264264
265265 func parsePaymentAsset (assetId) = if ((assetId == base58''))
266266 then unit
267267 else assetId
268268
269269
270270 func suspendSuspicious (accountBalanceA,accountBalanceB,balanceA,balanceB,assetIdA,assetIdB) = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(accountBalanceA)) + " ") + assetIdA) + ", ") + toString(accountBalanceB)) + " ") + assetIdB) + ". State: ") + toString(balanceA)) + " ") + assetIdA) + ", ") + toString(balanceB)) + " ") + assetIdB))
271271
272272
273273 func isActive () = if (active)
274274 then unit
275275 else throw("DApp is inactive at this moment")
276276
277277
278278 func isOraclePool (poolAddress) = if (isDefined(getString(oracle, (kOraclePool + poolAddress))))
279279 then unit
280280 else throw("DApp is not registered pool")
281281
282282
283283 func isDepricated (poolAddress) = if (!(valueOrElse(getBoolean(oracle, (kDeprecated + poolAddress)), false)))
284284 then unit
285285 else throw("Pool is deprecated. Only withdraw action allowed.")
286286
287287
288288 func getPoolBalances (pool,assetIdA,assetIdB) = {
289289 let balanceA = getIntegerValue(pool, kBalanceA)
290290 let balanceB = getIntegerValue(pool, kBalanceB)
291291 let stakedAmountA = stakedAmount(assetIdA, pool)
292292 let stakedAmountB = stakedAmount(assetIdB, pool)
293293 let accountBalanceA = (accountBalance(assetIdA, pool) + stakedAmountA)
294294 let accountBalanceB = (accountBalance(assetIdB, pool) + stakedAmountB)
295295 $Tuple6(balanceA, balanceB, accountBalanceA, accountBalanceB, stakedAmountA, stakedAmountB)
296296 }
297297
298298
299299 func getLpSupply (pool) = getIntegerValue(pool, kShareAssetSupply)
300300
301301
302302 func getPoolAssets (pool) = {
303303 let strAssetIdA = getStringValue(pool, kAssetIdA)
304304 let strAssetIdB = getStringValue(pool, kAssetIdB)
305305 let assetIdA = if ((strAssetIdA == "WAVES"))
306306 then unit
307307 else fromBase58String(strAssetIdA)
308308 let assetIdB = if ((strAssetIdB == "WAVES"))
309309 then unit
310310 else fromBase58String(strAssetIdB)
311311 let shareAssetId = fromBase58String(getStringValue(pool, kShareAssetId))
312312 $Tuple5(strAssetIdA, strAssetIdB, assetIdA, assetIdB, shareAssetId)
313313 }
314314
315315
316316 func getFeeParams (pool,caller) = {
317317 let feeDiscount = calculateFeeDiscount(caller)
318318 let fee = fraction(getIntegerValue(pool, kFee), feeDiscount, feeScale6, CEILING)
319319 let govFee = fraction(fee, 35, 100)
320320 let teamFee = fraction(fee, 10, 100)
321321 $Tuple3(fee, govFee, teamFee)
322322 }
323323
324324
325325 func calcLPAmountReplensishTwoTokens (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,shareAssetSupply) = {
326- let $t0997910051 = getAssetInfo(pmtIdA)
327- let pmtStrAssetIdA = $t0997910051._1
328- let pmtAssetNameA = $t0997910051._2
329- let pmtDecimalsA = $t0997910051._3
330- let $t01005610128 = getAssetInfo(pmtIdB)
331- let pmtStrAssetIdB = $t01005610128._1
332- let pmtAssetNameB = $t01005610128._2
333- let pmtDecimalsB = $t01005610128._3
326+ let $t0999010062 = getAssetInfo(pmtIdA)
327+ let pmtStrAssetIdA = $t0999010062._1
328+ let pmtAssetNameA = $t0999010062._2
329+ let pmtDecimalsA = $t0999010062._3
330+ let $t01006710139 = getAssetInfo(pmtIdB)
331+ let pmtStrAssetIdB = $t01006710139._1
332+ let pmtAssetNameB = $t01006710139._2
333+ let pmtDecimalsB = $t01006710139._3
334334 let initial = ((balA + balB) == 0)
335- let $t01017110830 = if (initial)
335+ let $t01018210841 = if (initial)
336336 then $Tuple5(pmtA, pmtB, 0, pmtIdA, toBigInt(1))
337337 else {
338338 let ratioShareTokensInA = fraction(scale16, toBigInt(pmtA), toBigInt(balA))
339339 let ratioShareTokensInB = fraction(scale16, toBigInt(pmtB), toBigInt(balB))
340340 if ((ratioShareTokensInB > ratioShareTokensInA))
341341 then {
342342 let pmt = fraction(pmtA, balB, balA)
343343 $Tuple5(pmtA, pmt, (pmtB - pmt), pmtIdB, ratioShareTokensInA)
344344 }
345345 else {
346346 let pmt = fraction(pmtB, balA, balB)
347347 $Tuple5(pmt, pmtB, (pmtA - pmt), pmtIdA, ratioShareTokensInB)
348348 }
349349 }
350- let pmtAmountA = $t01017110830._1
351- let pmtAmountB = $t01017110830._2
352- let change = $t01017110830._3
353- let changeAssetId = $t01017110830._4
354- let shareTokenRatio = $t01017110830._5
350+ let pmtAmountA = $t01018210841._1
351+ let pmtAmountB = $t01018210841._2
352+ let change = $t01018210841._3
353+ let changeAssetId = $t01018210841._4
354+ let shareTokenRatio = $t01018210841._5
355355 let shareTokenToPayAmount = if (initial)
356356 then {
357357 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
358358 fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
359359 }
360360 else toInt(fraction(shareTokenRatio, toBigInt(shareAssetSupply), scale16))
361361 $Tuple5(shareTokenToPayAmount, change, changeAssetId, pmtAmountA, pmtAmountB)
362362 }
363363
364364
365365 func calcLPAmountReplenishOneToken (pmtAmount,pmtAssetId,aId,bId,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = if ((pmtAssetId == aId))
366366 then {
367367 let virtPayAmount = calculateVirtPay(pmtAmount, balA, fee)
368- let $t01169411841 = calculateFees(virtPayAmount, virtGetMinAmount, balA, balB, fee, govFee, teamFee)
369- let amountWithoutFee = $t01169411841._1
370- let amountWithFee = $t01169411841._2
371- let governanceReward = $t01169411841._3
372- let tReward = $t01169411841._4
368+ let $t01170511852 = calculateFees(virtPayAmount, virtGetMinAmount, balA, balB, fee, govFee, teamFee)
369+ let amountWithoutFee = $t01170511852._1
370+ let amountWithFee = $t01170511852._2
371+ let governanceReward = $t01170511852._3
372+ let tReward = $t01170511852._4
373373 let balanceAVirt = (balA + virtPayAmount)
374374 let balanceBVirt = (((balB + amountWithoutFee) - governanceReward) - tReward)
375375 let newBalanceA = (balA + pmtAmount)
376376 let newBalanceB = ((balB - governanceReward) - tReward)
377377 let ratioShareTokensInA = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceAVirt))
378378 let ratioShareTokensInB = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceBVirt))
379379 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(lpSupply), scale16))
380380 let shareTokenToPayAmountInBoth = toInt(fraction(fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balA)), toBigInt(lpSupply), scale16))
381381 let loss = fraction((shareTokenToPayAmount - shareTokenToPayAmountInBoth), scale8, shareTokenToPayAmountInBoth)
382382 $Tuple7(shareTokenToPayAmount, newBalanceA, newBalanceB, governanceReward, tReward, bId, loss)
383383 }
384384 else {
385385 let virtPayAmount = calculateVirtPay(pmtAmount, balB, fee)
386- let $t01288513032 = calculateFees(virtPayAmount, virtGetMinAmount, balB, balA, fee, govFee, teamFee)
387- let amountWithoutFee = $t01288513032._1
388- let amountWithFee = $t01288513032._2
389- let governanceReward = $t01288513032._3
390- let tReward = $t01288513032._4
386+ let $t01289613043 = calculateFees(virtPayAmount, virtGetMinAmount, balB, balA, fee, govFee, teamFee)
387+ let amountWithoutFee = $t01289613043._1
388+ let amountWithFee = $t01289613043._2
389+ let governanceReward = $t01289613043._3
390+ let tReward = $t01289613043._4
391391 let balanceAVirt = (((balA + amountWithoutFee) - governanceReward) - tReward)
392392 let balanceBVirt = (balB + virtPayAmount)
393393 let newBalanceA = ((balA - governanceReward) - tReward)
394394 let newBalanceB = (balB + pmtAmount)
395395 let ratioShareTokensInA = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceAVirt))
396396 let ratioShareTokensInB = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceBVirt))
397397 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(lpSupply), scale16))
398398 let shareTokenToPayAmountInBoth = toInt(fraction(fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balB)), toBigInt(lpSupply), scale16))
399399 let loss = fraction((shareTokenToPayAmount - shareTokenToPayAmountInBoth), scale8, shareTokenToPayAmountInBoth)
400400 $Tuple7(shareTokenToPayAmount, newBalanceA, newBalanceB, governanceReward, tReward, aId, loss)
401401 }
402402
403403
404404 func calcLPReplenishDiffProp (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = {
405- let $t01419914347 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtIdA, pmtIdB, balA, balB, lpSupply)
406- let lpTwoAmount = $t01419914347._1
407- let change = $t01419914347._2
408- let changeAssetId = $t01419914347._3
409- let pmtAmountA = $t01419914347._4
410- let pmtAmountB = $t01419914347._5
405+ let $t01421014358 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtIdA, pmtIdB, balA, balB, lpSupply)
406+ let lpTwoAmount = $t01421014358._1
407+ let change = $t01421014358._2
408+ let changeAssetId = $t01421014358._3
409+ let pmtAmountA = $t01421014358._4
410+ let pmtAmountB = $t01421014358._5
411411 if ((change > 0))
412412 then {
413- let $t01437914613 = calcLPAmountReplenishOneToken(change, changeAssetId, pmtIdA, pmtIdB, (balA + pmtAmountA), (balB + pmtAmountB), lpSupply, fee, govFee, teamFee, virtGetMinAmount)
414- let lpOne = $t01437914613._1
415- let newBalanceA = $t01437914613._2
416- let newBalanceB = $t01437914613._3
417- let governanceReward = $t01437914613._4
418- let tReward = $t01437914613._5
419- let gId = $t01437914613._6
420- let loss = $t01437914613._7
413+ let $t01439014624 = calcLPAmountReplenishOneToken(change, changeAssetId, pmtIdA, pmtIdB, (balA + pmtAmountA), (balB + pmtAmountB), lpSupply, fee, govFee, teamFee, virtGetMinAmount)
414+ let lpOne = $t01439014624._1
415+ let newBalanceA = $t01439014624._2
416+ let newBalanceB = $t01439014624._3
417+ let governanceReward = $t01439014624._4
418+ let tReward = $t01439014624._5
419+ let gId = $t01439014624._6
420+ let loss = $t01439014624._7
421421 $Tuple7((lpTwoAmount + lpOne), loss, newBalanceA, newBalanceB, governanceReward, tReward, gId)
422422 }
423423 else $Tuple7(lpTwoAmount, 0, (balA + pmtAmountA), (balB + pmtAmountB), 0, 0, unit)
424424 }
425425
426426
427427 @Callable(i)
428428 func calcLPReplenishDiffPropREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
429- let $t01494915039 = getPoolAssets(i.caller)
430- let strAssetIdA = $t01494915039._1
431- let strAssetIdB = $t01494915039._2
432- let assetIdA = $t01494915039._3
433- let assetIdB = $t01494915039._4
434- let shareAssetId = $t01494915039._5
435- let $t01504415126 = getPoolBalances(i.caller, assetIdA, assetIdB)
436- let balA = $t01504415126._1
437- let balB = $t01504415126._2
438- let accBalA = $t01504415126._3
439- let accBalB = $t01504415126._4
429+ let $t01496015050 = getPoolAssets(i.caller)
430+ let strAssetIdA = $t01496015050._1
431+ let strAssetIdB = $t01496015050._2
432+ let assetIdA = $t01496015050._3
433+ let assetIdB = $t01496015050._4
434+ let shareAssetId = $t01496015050._5
435+ let $t01505515137 = getPoolBalances(i.caller, assetIdA, assetIdB)
436+ let balA = $t01505515137._1
437+ let balB = $t01505515137._2
438+ let accBalA = $t01505515137._3
439+ let accBalB = $t01505515137._4
440440 let lpSupply = getLpSupply(i.caller)
441441 let pmtA = parseIntValue(args[0])
442442 let pmtB = parseIntValue(args[1])
443443 let virtGetMinAmount = parseIntValue(args[2])
444- let $t01530115368 = getFeeParams(i.caller, i.originCaller)
445- let fee = $t01530115368._1
446- let govFee = $t01530115368._2
447- let teamFee = $t01530115368._3
448- let $t01537315565 = calcLPReplenishDiffProp(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply, fee, govFee, teamFee, virtGetMinAmount)
449- let lp = $t01537315565._1
450- let loss = $t01537315565._2
451- let newBalanceA = $t01537315565._3
452- let newBalanceB = $t01537315565._4
453- let governanceReward = $t01537315565._5
454- let tReward = $t01537315565._6
455- let aId = $t01537315565._7
444+ let $t01531215379 = getFeeParams(i.caller, i.originCaller)
445+ let fee = $t01531215379._1
446+ let govFee = $t01531215379._2
447+ let teamFee = $t01531215379._3
448+ let $t01538415576 = calcLPReplenishDiffProp(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply, fee, govFee, teamFee, virtGetMinAmount)
449+ let lp = $t01538415576._1
450+ let loss = $t01538415576._2
451+ let newBalanceA = $t01538415576._3
452+ let newBalanceB = $t01538415576._4
453+ let governanceReward = $t01538415576._5
454+ let tReward = $t01538415576._6
455+ let aId = $t01538415576._7
456456 $Tuple2(nil, $Tuple2(nil, [lp, loss, newBalanceA, newBalanceB, governanceReward, tReward, aId]))
457457 }
458458
459459
460460
461461 @Callable(i)
462462 func calcLPReplenishTwoTokensREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
463- let $t01580815898 = getPoolAssets(i.caller)
464- let strAssetIdA = $t01580815898._1
465- let strAssetIdB = $t01580815898._2
466- let assetIdA = $t01580815898._3
467- let assetIdB = $t01580815898._4
468- let shareAssetId = $t01580815898._5
469- let $t01590315985 = getPoolBalances(i.caller, assetIdA, assetIdB)
470- let balA = $t01590315985._1
471- let balB = $t01590315985._2
472- let accBalA = $t01590315985._3
473- let accBalB = $t01590315985._4
463+ let $t01581915909 = getPoolAssets(i.caller)
464+ let strAssetIdA = $t01581915909._1
465+ let strAssetIdB = $t01581915909._2
466+ let assetIdA = $t01581915909._3
467+ let assetIdB = $t01581915909._4
468+ let shareAssetId = $t01581915909._5
469+ let $t01591415996 = getPoolBalances(i.caller, assetIdA, assetIdB)
470+ let balA = $t01591415996._1
471+ let balB = $t01591415996._2
472+ let accBalA = $t01591415996._3
473+ let accBalB = $t01591415996._4
474474 let lpSupply = getLpSupply(i.caller)
475475 let pmtA = parseIntValue(args[0])
476476 let pmtB = parseIntValue(args[1])
477- let $t01610916252 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
478- let lp = $t01610916252._1
479- let change = $t01610916252._2
480- let changeAssetId = $t01610916252._3
481- let pmtAmountA = $t01610916252._4
482- let pmtAmountB = $t01610916252._5
477+ let $t01612016263 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
478+ let lp = $t01612016263._1
479+ let change = $t01612016263._2
480+ let changeAssetId = $t01612016263._3
481+ let pmtAmountA = $t01612016263._4
482+ let pmtAmountB = $t01612016263._5
483483 $Tuple2(nil, $Tuple2(nil, [lp, change, changeAssetId, pmtAmountA, pmtAmountB]))
484484 }
485485
486486
487487
488488 @Callable(i)
489489 func withdrawREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
490- let $t01646316553 = getPoolAssets(i.caller)
491- let strAssetIdA = $t01646316553._1
492- let strAssetIdB = $t01646316553._2
493- let assetIdA = $t01646316553._3
494- let assetIdB = $t01646316553._4
495- let shareAssetId = $t01646316553._5
496- let $t01655816664 = getPoolBalances(i.caller, assetIdA, assetIdB)
497- let balanceA = $t01655816664._1
498- let balanceB = $t01655816664._2
499- let accountBalanceA = $t01655816664._3
500- let accountBalanceB = $t01655816664._4
490+ let $t01647416564 = getPoolAssets(i.caller)
491+ let strAssetIdA = $t01647416564._1
492+ let strAssetIdB = $t01647416564._2
493+ let assetIdA = $t01647416564._3
494+ let assetIdB = $t01647416564._4
495+ let shareAssetId = $t01647416564._5
496+ let $t01656916675 = getPoolBalances(i.caller, assetIdA, assetIdB)
497+ let balanceA = $t01656916675._1
498+ let balanceB = $t01656916675._2
499+ let accountBalanceA = $t01656916675._3
500+ let accountBalanceB = $t01656916675._4
501501 let shareAssetSupply = getLpSupply(i.caller)
502502 let withdrawAmount = parseIntValue(args[0])
503- let $t01676716929 = if ((size(args) == 3))
503+ let $t01677816940 = if ((size(args) == 3))
504504 then $Tuple2(parseIntValue(args[1]), parseIntValue(args[2]))
505505 else $Tuple2(balanceA, balanceB)
506- let balA = $t01676716929._1
507- let balB = $t01676716929._2
506+ let balA = $t01677816940._1
507+ let balB = $t01677816940._2
508508 let amountToPayA = fraction(withdrawAmount, balA, shareAssetSupply)
509509 let amountToPayB = fraction(withdrawAmount, balB, shareAssetSupply)
510510 $Tuple2(nil, $Tuple2(nil, [amountToPayA, amountToPayB]))
511511 }
512512
513513
514514
515515 @Callable(i)
516516 func init (callerBytes,args,pAmounts,pAssetIds) = {
517517 let caller = Address(callerBytes)
518- let $t01728417362 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
519- let pmtAmountA = $t01728417362._1
520- let pmtAssetIdA = $t01728417362._2
521- let $t01736717445 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
522- let pmtAmountB = $t01736717445._1
523- let pmtAssetIdB = $t01736717445._2
518+ let $t01729517373 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
519+ let pmtAmountA = $t01729517373._1
520+ let pmtAssetIdA = $t01729517373._2
521+ let $t01737817456 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
522+ let pmtAmountB = $t01737817456._1
523+ let pmtAssetIdB = $t01737817456._2
524524 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
525525 then throw("Only admin can call this function")
526526 else if ((size(args) != 1))
527527 then throw("Wrong args size")
528528 else if (isDefined(getBoolean(caller, kActive)))
529529 then throw("DApp is already active")
530530 else if ((pmtAssetIdA == pmtAssetIdB))
531531 then throw("Assets must be different")
532532 else {
533- let $t01788017957 = getAssetInfo(pmtAssetIdA)
534- let pmtStrAssetIdA = $t01788017957._1
535- let pmtAssetNameA = $t01788017957._2
536- let pmtDecimalsA = $t01788017957._3
537- let $t01796618043 = getAssetInfo(pmtAssetIdB)
538- let pmtStrAssetIdB = $t01796618043._1
539- let pmtAssetNameB = $t01796618043._2
540- let pmtDecimalsB = $t01796618043._3
533+ let $t01789117968 = getAssetInfo(pmtAssetIdA)
534+ let pmtStrAssetIdA = $t01789117968._1
535+ let pmtAssetNameA = $t01789117968._2
536+ let pmtDecimalsA = $t01789117968._3
537+ let $t01797718054 = getAssetInfo(pmtAssetIdB)
538+ let pmtStrAssetIdB = $t01797718054._1
539+ let pmtAssetNameB = $t01797718054._2
540+ let pmtDecimalsB = $t01797718054._3
541541 let firstHarvest = (args[0] == "true")
542542 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
543543 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
544544 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
545545 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
546546 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
547547 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
548548 let shareInitialSupply = fraction(arg1, arg2, arg3)
549549 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
550550 let shareIssueId = calculateAssetId(shareIssue)
551551 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
552552 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
553553 else 0
554554 if ((stake1 == stake1))
555555 then {
556556 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
557557 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
558558 else 0
559559 if ((stake2 == stake2))
560560 then {
561561 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(caller, shareInitialSupply, shareIssueId)]
562562 if (firstHarvest)
563563 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
564564 else $Tuple2(nil, $Tuple2(baseEntry, nil))
565565 }
566566 else throw("Strict value is not equal to itself.")
567567 }
568568 else throw("Strict value is not equal to itself.")
569569 }
570570 }
571571
572572
573573
574574 @Callable(i)
575575 func initWithInitRatio (callerBytes,args,pAmounts,pAssetIds) = {
576576 let caller = Address(callerBytes)
577- let $t02026420464 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
578- let amtAssetA = $t02026420464._1
579- let amtAssetB = $t02026420464._2
580- let assetIdAStr = $t02026420464._3
581- let assetIdBStr = $t02026420464._4
582- let firstHarvest = $t02026420464._5
577+ let $t02027520475 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
578+ let amtAssetA = $t02027520475._1
579+ let amtAssetB = $t02027520475._2
580+ let assetIdAStr = $t02027520475._3
581+ let assetIdBStr = $t02027520475._4
582+ let firstHarvest = $t02027520475._5
583583 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
584584 then throw("Only admin can call this function")
585585 else if ((size(args) != 5))
586586 then throw("Wrong args size")
587587 else if (isDefined(getBoolean(caller, kActive)))
588588 then throw("DApp is already active")
589589 else if ((assetIdAStr == assetIdBStr))
590590 then throw("Assets must be different")
591591 else {
592- let $t02089920976 = getAssetInfo(assetIdAStr)
593- let pmtStrAssetIdA = $t02089920976._1
594- let pmtAssetNameA = $t02089920976._2
595- let pmtDecimalsA = $t02089920976._3
596- let $t02098521062 = getAssetInfo(assetIdBStr)
597- let pmtStrAssetIdB = $t02098521062._1
598- let pmtAssetNameB = $t02098521062._2
599- let pmtDecimalsB = $t02098521062._3
592+ let $t02091020987 = getAssetInfo(assetIdAStr)
593+ let pmtStrAssetIdA = $t02091020987._1
594+ let pmtAssetNameA = $t02091020987._2
595+ let pmtDecimalsA = $t02091020987._3
596+ let $t02099621073 = getAssetInfo(assetIdBStr)
597+ let pmtStrAssetIdB = $t02099621073._1
598+ let pmtAssetNameB = $t02099621073._2
599+ let pmtDecimalsB = $t02099621073._3
600600 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
601601 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
602602 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
603603 let shareInitialSupply = 0
604604 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
605605 let shareIssueId = calculateAssetId(shareIssue)
606606 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceInitA, amtAssetA), IntegerEntry(kBalanceInitB, amtAssetB), IntegerEntry(kBalanceA, 0), IntegerEntry(kBalanceB, 0), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_cpmm")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply)]
607607 if (firstHarvest)
608608 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
609609 else $Tuple2(nil, $Tuple2(baseEntry, nil))
610610 }
611611 }
612612
613613
614614
615615 @Callable(i)
616616 func keepLimitForFirstHarvest (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
617617 then throw("Only admin can call this function")
618618 else if ((size(args) != 1))
619619 then throw("Wrong args size")
620620 else {
621621 let shareLimit = parseIntValue(args[0])
622622 $Tuple2(nil, $Tuple2([IntegerEntry(kShareLimit, shareLimit)], nil))
623623 }))
624624
625625
626626
627627 @Callable(i)
628628 func exchange (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
629629 let caller = Address(callerBytes)
630- let $t02348823564 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
631- let pmtAmount = $t02348823564._1
632- let pmtAssetId = $t02348823564._2
630+ let $t02349923575 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
631+ let pmtAmount = $t02349923575._1
632+ let pmtAssetId = $t02349923575._2
633633 let minAmountToReceive = parseIntValue(args[0])
634- let $t02362923705 = getPoolAssets(i.caller)
635- let strAssetIdA = $t02362923705._1
636- let strAssetIdB = $t02362923705._2
637- let assetIdA = $t02362923705._3
638- let assetIdB = $t02362923705._4
639- let $t02371423820 = getPoolBalances(i.caller, assetIdA, assetIdB)
640- let balanceA = $t02371423820._1
641- let balanceB = $t02371423820._2
642- let accountBalanceA = $t02371423820._3
643- let accountBalanceB = $t02371423820._4
634+ let $t02364023716 = getPoolAssets(i.caller)
635+ let strAssetIdA = $t02364023716._1
636+ let strAssetIdB = $t02364023716._2
637+ let assetIdA = $t02364023716._3
638+ let assetIdB = $t02364023716._4
639+ let $t02372523831 = getPoolBalances(i.caller, assetIdA, assetIdB)
640+ let balanceA = $t02372523831._1
641+ let balanceB = $t02372523831._2
642+ let accountBalanceA = $t02372523831._3
643+ let accountBalanceB = $t02372523831._4
644644 if ((size(args) != 1))
645645 then throw("Wrong args size")
646646 else if (if ((balanceA == 0))
647647 then true
648648 else (balanceB == 0))
649649 then throw("Can't exchange with zero balance")
650650 else if ((0 >= minAmountToReceive))
651651 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
652652 else if ((size(pAmounts) != 1))
653653 then throw("One attached payment expected")
654654 else if (!(containsElement([assetIdA, assetIdB], pmtAssetId)))
655655 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
656656 else if (if ((balanceA > accountBalanceA))
657657 then true
658658 else (balanceB > accountBalanceB))
659659 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
660660 else {
661- let $t02472024787 = getFeeParams(i.caller, i.originCaller)
662- let fee = $t02472024787._1
663- let govFee = $t02472024787._2
664- let teamFee = $t02472024787._3
665- let $t02480025151 = if ((pmtAssetId == assetIdA))
661+ let $t02473124798 = getFeeParams(i.caller, i.originCaller)
662+ let fee = $t02473124798._1
663+ let govFee = $t02473124798._2
664+ let teamFee = $t02473124798._3
665+ let $t02481125162 = if ((pmtAssetId == assetIdA))
666666 then calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, fee, govFee, teamFee)
667667 else calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, fee, govFee, teamFee)
668- let amountWithoutFee = $t02480025151._1
669- let amountWithFee = $t02480025151._2
670- let governanceReward = $t02480025151._3
671- let teamReward = $t02480025151._4
672- let $t02516525500 = if ((pmtAssetId == assetIdA))
668+ let amountWithoutFee = $t02481125162._1
669+ let amountWithFee = $t02481125162._2
670+ let governanceReward = $t02481125162._3
671+ let teamReward = $t02481125162._4
672+ let $t02517625511 = if ((pmtAssetId == assetIdA))
673673 then $Tuple3((balanceA + pmtAmount), (((balanceB - amountWithFee) - governanceReward) - teamReward), assetIdB)
674674 else $Tuple3((((balanceA - amountWithFee) - governanceReward) - teamReward), (balanceB + pmtAmount), assetIdA)
675- let newBalanceA = $t02516525500._1
676- let newBalanceB = $t02516525500._2
677- let assetIdSend = $t02516525500._3
678- let $t02551425774 = if ((pmtAssetId == assetIdA))
675+ let newBalanceA = $t02517625511._1
676+ let newBalanceB = $t02517625511._2
677+ let assetIdSend = $t02517625511._3
678+ let $t02552525785 = if ((pmtAssetId == assetIdA))
679679 then $Tuple2(pmtAmount, ((amountWithFee + governanceReward) + teamReward))
680680 else $Tuple2(((amountWithFee + governanceReward) + teamReward), pmtAmount)
681- let stakeAmountA = $t02551425774._1
682- let stakeAmountB = $t02551425774._2
681+ let stakeAmountA = $t02552525785._1
682+ let stakeAmountB = $t02552525785._2
683683 let stake1 = if (contains(stakingAssets, strAssetIdA))
684684 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdA), stakeAmountA, strAssetIdA], nil)
685685 else 0
686686 if ((stake1 == stake1))
687687 then {
688688 let stake2 = if (contains(stakingAssets, strAssetIdB))
689689 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdB), stakeAmountB, strAssetIdB], nil)
690690 else 0
691691 if ((stake2 == stake2))
692692 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend), ScriptTransfer(teamBoxAddress, teamReward, assetIdSend)], [amountWithFee, assetIdSend]))
693693 else throw("Strict value is not equal to itself.")
694694 }
695695 else throw("Strict value is not equal to itself.")
696696 }
697697 })))
698698
699699
700700
701701 @Callable(i)
702702 func replenishWithTwoTokens (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
703703 let caller = Address(callerBytes)
704704 let pmtAssetIdA = parsePaymentAsset(pAssetIds[0])
705705 let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
706706 let stakeFarming = (args[0] == "true")
707707 let lockType = parseIntValue(args[1])
708- let $t02708927179 = getPoolAssets(i.caller)
709- let strAssetIdA = $t02708927179._1
710- let strAssetIdB = $t02708927179._2
711- let assetIdA = $t02708927179._3
712- let assetIdB = $t02708927179._4
713- let shareAssetId = $t02708927179._5
714- let $t02718827294 = getPoolBalances(i.caller, assetIdA, assetIdB)
715- let balanceA = $t02718827294._1
716- let balanceB = $t02718827294._2
717- let accountBalanceA = $t02718827294._3
718- let accountBalanceB = $t02718827294._4
708+ let $t02710027190 = getPoolAssets(i.caller)
709+ let strAssetIdA = $t02710027190._1
710+ let strAssetIdB = $t02710027190._2
711+ let assetIdA = $t02710027190._3
712+ let assetIdB = $t02710027190._4
713+ let shareAssetId = $t02710027190._5
714+ let $t02719927305 = getPoolBalances(i.caller, assetIdA, assetIdB)
715+ let balanceA = $t02719927305._1
716+ let balanceB = $t02719927305._2
717+ let accountBalanceA = $t02719927305._3
718+ let accountBalanceB = $t02719927305._4
719719 let shareAssetSupply = getLpSupply(i.caller)
720720 if ((size(args) != 2))
721721 then throw("Wrong args size")
722722 else if (if ((size(pAmounts) != 2))
723723 then (size(pAmounts) != 3)
724724 else false)
725725 then throw("Two or three payments expected")
726726 else if (if ((pmtAssetIdA != assetIdA))
727727 then true
728728 else (pmtAssetIdB != assetIdB))
729729 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
730730 else if (if ((balanceA > accountBalanceA))
731731 then true
732732 else (balanceB > accountBalanceB))
733733 then $Tuple2(nil, ([ScriptTransfer(caller, pAmounts[0], pmtAssetIdA), ScriptTransfer(caller, pAmounts[1], pmtAssetIdB)] ++ (if ((size(pAmounts) == 3))
734734 then [AttachedPayment(if ((pAssetIds[2] == base58''))
735735 then unit
736736 else pAssetIds[2], pAmounts[2])]
737737 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
738738 else {
739- let $t02828328481 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
740- let shareTokenToPayAmount = $t02828328481._1
741- let change = $t02828328481._2
742- let changeAssetId = $t02828328481._3
743- let pmtAmountA = $t02828328481._4
744- let pmtAmountB = $t02828328481._5
739+ let $t02829428492 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
740+ let shareTokenToPayAmount = $t02829428492._1
741+ let change = $t02829428492._2
742+ let changeAssetId = $t02829428492._3
743+ let pmtAmountA = $t02829428492._4
744+ let pmtAmountB = $t02829428492._5
745745 if ((shareTokenToPayAmount == 0))
746746 then throw("Too small amount to replenish")
747747 else if ((0 > change))
748748 then throw("Change < 0")
749749 else {
750750 let stake1 = if (contains(stakingAssets, strAssetIdA))
751751 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, strAssetIdA], nil)
752752 else 0
753753 if ((stake1 == stake1))
754754 then {
755755 let stake2 = if (contains(stakingAssets, strAssetIdB))
756756 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, strAssetIdB], nil)
757757 else 0
758758 if ((stake2 == stake2))
759759 then {
760760 let shareTokenST = if (stakeFarming)
761761 then {
762762 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 3))
763763 then [AttachedPayment(if ((pAssetIds[2] == base58''))
764764 then unit
765765 else pAssetIds[2], pAmounts[2])]
766766 else nil))
767767 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
768768 if ((reissue == reissue))
769769 then {
770770 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
771771 if ((stake3 == stake3))
772772 then nil
773773 else throw("Strict value is not equal to itself.")
774774 }
775775 else throw("Strict value is not equal to itself.")
776776 }
777777 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
778778 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(caller, change, changeAssetId)] ++ shareTokenST), nil))
779779 }
780780 else throw("Strict value is not equal to itself.")
781781 }
782782 else throw("Strict value is not equal to itself.")
783783 }
784784 }
785785 })))
786786
787787
788788
789789 @Callable(i)
790790 func replenishWithOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
791791 let caller = Address(callerBytes)
792792 let pmtAssetId = parsePaymentAsset(pAssetIds[0])
793793 let pmtAmount = pAmounts[0]
794794 let virtGetMinAmount = parseIntValue(args[0])
795795 let stakeFarming = (args[1] == "true")
796796 let lockType = parseIntValue(args[2])
797- let $t03074030830 = getPoolAssets(i.caller)
798- let strAssetIdA = $t03074030830._1
799- let strAssetIdB = $t03074030830._2
800- let assetIdA = $t03074030830._3
801- let assetIdB = $t03074030830._4
802- let shareAssetId = $t03074030830._5
803- let $t03083530941 = getPoolBalances(i.caller, assetIdA, assetIdB)
804- let balanceA = $t03083530941._1
805- let balanceB = $t03083530941._2
806- let accountBalanceA = $t03083530941._3
807- let accountBalanceB = $t03083530941._4
797+ let $t03075130841 = getPoolAssets(i.caller)
798+ let strAssetIdA = $t03075130841._1
799+ let strAssetIdB = $t03075130841._2
800+ let assetIdA = $t03075130841._3
801+ let assetIdB = $t03075130841._4
802+ let shareAssetId = $t03075130841._5
803+ let $t03084630952 = getPoolBalances(i.caller, assetIdA, assetIdB)
804+ let balanceA = $t03084630952._1
805+ let balanceB = $t03084630952._2
806+ let accountBalanceA = $t03084630952._3
807+ let accountBalanceB = $t03084630952._4
808808 let shareAssetSupply = getLpSupply(i.caller)
809809 let initial = ((balanceA + balanceB) == 0)
810810 if ((size(args) != 3))
811811 then throw("Wrong args size")
812812 else if (if ((size(pAmounts) != 1))
813813 then (size(pAmounts) != 2)
814814 else false)
815815 then throw("Two or one attached assets expected")
816816 else if (if ((pmtAssetId != assetIdA))
817817 then (pmtAssetId != assetIdB)
818818 else false)
819819 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
820820 else if (initial)
821821 then throw("For initial exchanger you need to use two tokens")
822822 else if (if ((balanceA > accountBalanceA))
823823 then true
824824 else (balanceB > accountBalanceB))
825825 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ (if ((size(pAmounts) == 2))
826826 then [AttachedPayment(if ((pAssetIds[2] == base58''))
827827 then unit
828828 else pAssetIds[2], pAmounts[2])]
829829 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
830830 else {
831- let $t03190231969 = getFeeParams(i.caller, i.originCaller)
832- let fee = $t03190231969._1
833- let govFee = $t03190231969._2
834- let teamFee = $t03190231969._3
835- let $t03197832040 = getAssetInfo(pmtAssetId)
836- let pmtAssetIdStr = $t03197832040._1
837- let pmtAssetIdName = $t03197832040._2
838- let $t03205832303 = calcLPAmountReplenishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
839- let shareTokenToPayAmount = $t03205832303._1
840- let newBalanceA = $t03205832303._2
841- let newBalanceB = $t03205832303._3
842- let govReward = $t03205832303._4
843- let teamReward = $t03205832303._5
844- let govRewardAsset = $t03205832303._6
831+ let $t03191331980 = getFeeParams(i.caller, i.originCaller)
832+ let fee = $t03191331980._1
833+ let govFee = $t03191331980._2
834+ let teamFee = $t03191331980._3
835+ let $t03198932051 = getAssetInfo(pmtAssetId)
836+ let pmtAssetIdStr = $t03198932051._1
837+ let pmtAssetIdName = $t03198932051._2
838+ let $t03206932314 = calcLPAmountReplenishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
839+ let shareTokenToPayAmount = $t03206932314._1
840+ let newBalanceA = $t03206932314._2
841+ let newBalanceB = $t03206932314._3
842+ let govReward = $t03206932314._4
843+ let teamReward = $t03206932314._5
844+ let govRewardAsset = $t03206932314._6
845845 let govRewardAssetStr = if ((govRewardAsset == assetIdA))
846846 then strAssetIdA
847847 else strAssetIdB
848848 if ((shareTokenToPayAmount == 0))
849849 then throw("Too small amount to replenish")
850850 else {
851851 let stake1 = if (contains(stakingAssets, pmtAssetIdStr))
852852 then invoke(i.caller, "stakeUnstake", [true, pmtAmount, pmtAssetIdStr], nil)
853853 else 0
854854 if ((stake1 == stake1))
855855 then {
856856 let stake2 = if (contains(stakingAssets, govRewardAssetStr))
857857 then invoke(i.caller, "stakeUnstake", [false, (govReward + teamReward), govRewardAssetStr], nil)
858858 else 0
859859 if ((stake2 == stake2))
860860 then {
861861 let shareTokenST = if (stakeFarming)
862862 then {
863863 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 2))
864864 then [AttachedPayment(if ((pAssetIds[1] == base58''))
865865 then unit
866866 else pAssetIds[1], pAmounts[1])]
867867 else nil))
868868 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
869869 if ((reissue == reissue))
870870 then {
871871 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
872872 if ((stake3 == stake3))
873873 then nil
874874 else throw("Strict value is not equal to itself.")
875875 }
876876 else throw("Strict value is not equal to itself.")
877877 }
878878 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
879879 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(moneyBoxAddress, govReward, govRewardAsset), ScriptTransfer(teamBoxAddress, teamReward, govRewardAsset)] ++ shareTokenST), nil))
880880 }
881881 else throw("Strict value is not equal to itself.")
882882 }
883883 else throw("Strict value is not equal to itself.")
884884 }
885885 }
886886 })))
887887
888888
889889
890890 @Callable(i)
891891 func withdraw (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
892892 let caller = Address(callerBytes)
893- let $t03437134461 = getPoolAssets(i.caller)
894- let strAssetIdA = $t03437134461._1
895- let strAssetIdB = $t03437134461._2
896- let assetIdA = $t03437134461._3
897- let assetIdB = $t03437134461._4
898- let shareAssetId = $t03437134461._5
899- let $t03447034576 = getPoolBalances(i.caller, assetIdA, assetIdB)
900- let balanceA = $t03447034576._1
901- let balanceB = $t03447034576._2
902- let accountBalanceA = $t03447034576._3
903- let accountBalanceB = $t03447034576._4
893+ let $t03438234472 = getPoolAssets(i.caller)
894+ let strAssetIdA = $t03438234472._1
895+ let strAssetIdB = $t03438234472._2
896+ let assetIdA = $t03438234472._3
897+ let assetIdB = $t03438234472._4
898+ let shareAssetId = $t03438234472._5
899+ let $t03448134587 = getPoolBalances(i.caller, assetIdA, assetIdB)
900+ let balanceA = $t03448134587._1
901+ let balanceB = $t03448134587._2
902+ let accountBalanceA = $t03448134587._3
903+ let accountBalanceB = $t03448134587._4
904904 let shareAssetSupply = getLpSupply(i.caller)
905- let $t03463835018 = if ((size(pAmounts) == 1))
905+ let $t03464935029 = if ((size(pAmounts) == 1))
906906 then {
907907 let pAsset = parsePaymentAsset(pAssetIds[0])
908908 if ((pAsset != shareAssetId))
909909 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
910910 else $Tuple2(pAmounts[0], pAsset)
911911 }
912912 else $Tuple2(0, shareAssetId)
913- let pmtAmount = $t03463835018._1
914- let pmtAssetId = $t03463835018._2
913+ let pmtAmount = $t03464935029._1
914+ let pmtAssetId = $t03464935029._2
915915 if ((size(args) != 1))
916916 then throw("Wrong args size")
917917 else if ((size(pAmounts) > 1))
918918 then throw("One attached payment expected")
919919 else if (if ((balanceA > accountBalanceA))
920920 then true
921921 else (balanceB > accountBalanceB))
922922 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
923923 else {
924924 let unlockAmount = parseIntValue(valueOrElse(args[0], "0"))
925925 let unlock = if ((unlockAmount > 0))
926926 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
927927 else 0
928928 if ((unlock == unlock))
929929 then {
930930 let withdrawAmount = (pmtAmount + unlockAmount)
931931 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
932932 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
933933 let stake1 = if (contains(stakingAssets, strAssetIdA))
934934 then invoke(i.caller, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
935935 else 0
936936 if ((stake1 == stake1))
937937 then {
938938 let stake2 = if (contains(stakingAssets, strAssetIdB))
939939 then invoke(i.caller, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
940940 else 0
941941 if ((stake2 == stake2))
942942 then $Tuple2([ScriptTransfer(i.caller, unlockAmount, shareAssetId)], $Tuple2([IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(caller, amountToPayA, assetIdA), ScriptTransfer(caller, amountToPayB, assetIdB)], nil))
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 }))
950950
951951
952952
953953 @Callable(i)
954954 func withdrawOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
955955 let caller = Address(callerBytes)
956956 let withdrawAsset = if ((args[0] == ""))
957957 then unit
958958 else fromBase58String(args[0])
959- let $t03723637326 = getPoolAssets(i.caller)
960- let strAssetIdA = $t03723637326._1
961- let strAssetIdB = $t03723637326._2
962- let assetIdA = $t03723637326._3
963- let assetIdB = $t03723637326._4
964- let shareAssetId = $t03723637326._5
965- let $t03733537441 = getPoolBalances(i.caller, assetIdA, assetIdB)
966- let balanceA = $t03733537441._1
967- let balanceB = $t03733537441._2
968- let accountBalanceA = $t03733537441._3
969- let accountBalanceB = $t03733537441._4
959+ let $t03724737337 = getPoolAssets(i.caller)
960+ let strAssetIdA = $t03724737337._1
961+ let strAssetIdB = $t03724737337._2
962+ let assetIdA = $t03724737337._3
963+ let assetIdB = $t03724737337._4
964+ let shareAssetId = $t03724737337._5
965+ let $t03734637452 = getPoolBalances(i.caller, assetIdA, assetIdB)
966+ let balanceA = $t03734637452._1
967+ let balanceB = $t03734637452._2
968+ let accountBalanceA = $t03734637452._3
969+ let accountBalanceB = $t03734637452._4
970970 let shareAssetSupply = getLpSupply(i.caller)
971- let $t03750337855 = if ((size(pAmounts) == 1))
971+ let $t03751437866 = if ((size(pAmounts) == 1))
972972 then {
973973 let pAsset = parsePaymentAsset(pAssetIds[0])
974974 if ((pAsset != shareAssetId))
975975 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
976976 else $Tuple2(pAmounts[0], pAsset)
977977 }
978978 else $Tuple2(0, shareAssetId)
979- let pmtAmount = $t03750337855._1
980- let pmtAssetId = $t03750337855._2
979+ let pmtAmount = $t03751437866._1
980+ let pmtAssetId = $t03751437866._2
981981 let virtMinToRecive = parseIntValue(args[1])
982982 if ((size(args) != 3))
983983 then throw("Wrong args size")
984984 else if ((size(pAmounts) > 1))
985985 then throw("One attached payment expected")
986986 else if ((pmtAssetId != shareAssetId))
987987 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
988988 else if (!(containsElement([assetIdA, assetIdB], withdrawAsset)))
989989 then throw("Incorrect withdraw asset.")
990990 else if (if ((balanceA > accountBalanceA))
991991 then true
992992 else (balanceB > accountBalanceB))
993993 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
994994 else {
995995 let unlockAmount = parseIntValue(valueOrElse(args[2], "0"))
996996 let unlock = if ((unlockAmount > 0))
997997 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
998998 else 0
999999 if ((unlock == unlock))
10001000 then {
10011001 let withdrawAmount = (pmtAmount + unlockAmount)
10021002 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
10031003 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
1004- let $t03912239189 = getFeeParams(i.caller, i.originCaller)
1005- let fee = $t03912239189._1
1006- let govFee = $t03912239189._2
1007- let teamFee = $t03912239189._3
1008- let $t03920239616 = if ((withdrawAsset == assetIdA))
1004+ let $t03913339200 = getFeeParams(i.caller, i.originCaller)
1005+ let fee = $t03913339200._1
1006+ let govFee = $t03913339200._2
1007+ let teamFee = $t03913339200._3
1008+ let $t03921339627 = if ((withdrawAsset == assetIdA))
10091009 then calculateFees(amountToPayB, virtMinToRecive, (balanceB - amountToPayB), (balanceA - amountToPayA), fee, govFee, teamFee)
10101010 else calculateFees(amountToPayA, virtMinToRecive, (balanceA - amountToPayA), (balanceB - amountToPayB), fee, govFee, teamFee)
1011- let amountWithoutFee = $t03920239616._1
1012- let amountWithFee = $t03920239616._2
1013- let governanceReward = $t03920239616._3
1014- let teamReward = $t03920239616._4
1015- let $t03962940939 = if ((withdrawAsset == assetIdA))
1011+ let amountWithoutFee = $t03921339627._1
1012+ let amountWithFee = $t03921339627._2
1013+ let governanceReward = $t03921339627._3
1014+ let teamReward = $t03921339627._4
1015+ let $t03964040950 = if ((withdrawAsset == assetIdA))
10161016 then {
10171017 let unstake = if (contains(stakingAssets, strAssetIdA))
10181018 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayA + amountWithFee) + governanceReward) + teamReward), strAssetIdA], nil)
10191019 else 0
10201020 if ((unstake == unstake))
10211021 then $Tuple4(((((balanceA - amountToPayA) - amountWithFee) - governanceReward) - teamReward), balanceB, assetIdA, [ScriptTransfer(caller, (amountToPayA + amountWithFee), assetIdA)])
10221022 else throw("Strict value is not equal to itself.")
10231023 }
10241024 else {
10251025 let unstake = if (contains(stakingAssets, strAssetIdB))
10261026 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayB + amountWithFee) + governanceReward) + teamReward), strAssetIdB], nil)
10271027 else 0
10281028 if ((unstake == unstake))
10291029 then $Tuple4(balanceA, ((((balanceB - amountToPayB) - amountWithFee) - governanceReward) - teamReward), assetIdB, [ScriptTransfer(caller, (amountToPayB + amountWithFee), assetIdB)])
10301030 else throw("Strict value is not equal to itself.")
10311031 }
1032- let newBalanceA = $t03962940939._1
1033- let newBalanceB = $t03962940939._2
1034- let govRewardAssetId = $t03962940939._3
1035- let userTransfer = $t03962940939._4
1032+ let newBalanceA = $t03964040950._1
1033+ let newBalanceB = $t03964040950._2
1034+ let govRewardAssetId = $t03964040950._3
1035+ let userTransfer = $t03964040950._4
10361036 $Tuple2([ScriptTransfer(i.caller, unlockAmount, shareAssetId)], $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), Burn(shareAssetId, withdrawAmount), ScriptTransfer(moneyBoxAddress, governanceReward, govRewardAssetId), ScriptTransfer(teamBoxAddress, teamReward, govRewardAssetId)] ++ userTransfer), nil))
10371037 }
10381038 else throw("Strict value is not equal to itself.")
10391039 }
10401040 })))
10411041
10421042
10431043
10441044 @Callable(i)
10451045 func takeIntoAccountExtraFunds (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
1046- let $t04169941775 = getPoolAssets(i.caller)
1047- let strAssetIdA = $t04169941775._1
1048- let strAssetIdB = $t04169941775._2
1049- let assetIdA = $t04169941775._3
1050- let assetIdB = $t04169941775._4
1046+ let $t04171041786 = getPoolAssets(i.caller)
1047+ let strAssetIdA = $t04171041786._1
1048+ let strAssetIdB = $t04171041786._2
1049+ let assetIdA = $t04171041786._3
1050+ let assetIdB = $t04171041786._4
10511051 let claim = if (if ((assetIdA == USDN))
10521052 then true
10531053 else (assetIdB == USDN))
10541054 then invoke(i.caller, "claimNetrinoRewards", nil, nil)
10551055 else nil
10561056 if ((claim == claim))
10571057 then {
1058- let $t04195942095 = getPoolBalances(i.caller, assetIdA, assetIdB)
1059- let balanceA = $t04195942095._1
1060- let balanceB = $t04195942095._2
1061- let accountBalanceA = $t04195942095._3
1062- let accountBalanceB = $t04195942095._4
1063- let stakedAmountA = $t04195942095._5
1064- let stakedAmountB = $t04195942095._6
1058+ let $t04197042106 = getPoolBalances(i.caller, assetIdA, assetIdB)
1059+ let balanceA = $t04197042106._1
1060+ let balanceB = $t04197042106._2
1061+ let accountBalanceA = $t04197042106._3
1062+ let accountBalanceB = $t04197042106._4
1063+ let stakedAmountA = $t04197042106._5
1064+ let stakedAmountB = $t04197042106._6
10651065 let amountEnrollA = (accountBalanceA - balanceA)
10661066 let amountEnrollB = (accountBalanceB - balanceB)
1067- let $t04221542529 = if ((assetIdA == L2MP))
1067+ let $t04222642540 = if ((assetIdA == L2MP))
10681068 then $Tuple2((accountBalanceA - stakedAmountA), amountEnrollB)
10691069 else if ((assetIdB == L2MP))
10701070 then $Tuple2(amountEnrollA, (accountBalanceB - stakedAmountB))
10711071 else $Tuple2(amountEnrollA, amountEnrollB)
1072- let amountToStakeA = $t04221542529._1
1073- let amountToStakeB = $t04221542529._2
1072+ let amountToStakeA = $t04222642540._1
1073+ let amountToStakeB = $t04222642540._2
10741074 if ((size(args) != 0))
10751075 then throw("Wrong args size")
10761076 else if ((moneyBoxAddress != i.originCaller))
10771077 then throw("Only the wallet can call this function")
10781078 else if (if ((0 > amountEnrollA))
10791079 then true
10801080 else (0 > amountEnrollB))
10811081 then suspend("Enroll amount negative")
10821082 else if (if ((amountEnrollA == 0))
10831083 then (amountEnrollB == 0)
10841084 else false)
10851085 then throw("No money to take")
10861086 else {
10871087 let stake1 = if (if (contains(stakingAssets, strAssetIdA))
10881088 then (amountToStakeA > 0)
10891089 else false)
10901090 then invoke(i.caller, "stakeUnstake", [true, amountToStakeA, strAssetIdA], nil)
10911091 else 0
10921092 if ((stake1 == stake1))
10931093 then {
10941094 let stake2 = if (if (contains(stakingAssets, strAssetIdB))
10951095 then (amountToStakeB > 0)
10961096 else false)
10971097 then invoke(i.caller, "stakeUnstake", [true, amountToStakeB, strAssetIdB], nil)
10981098 else 0
10991099 if ((stake2 == stake2))
11001100 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))], nil))
11011101 else throw("Strict value is not equal to itself.")
11021102 }
11031103 else throw("Strict value is not equal to itself.")
11041104 }
11051105 }
11061106 else throw("Strict value is not equal to itself.")
11071107 }))
11081108
11091109
11101110 @Verifier(tx)
11111111 func verify () = {
11121112 let multiSignedByAdmins = {
11131113 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
11141114 then 1
11151115 else 0
11161116 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
11171117 then 1
11181118 else 0
11191119 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
11201120 then 1
11211121 else 0
11221122 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
11231123 }
11241124 multiSignedByAdmins
11251125 }
11261126

github/deemru/w8io/026f985 
245.13 ms