tx · n8BZ2RUtVcqUYQx2xtChh4SyyjMWq4LnzVyVA8t8rq6

3N41jx367r3HSFV68JfLUia22bvgwfPiU8J:  -0.44000000 Waves

2023.06.24 10:50 [2636410] smart account 3N41jx367r3HSFV68JfLUia22bvgwfPiU8J > SELF 0.00000000 Waves

{ "type": 13, "id": "n8BZ2RUtVcqUYQx2xtChh4SyyjMWq4LnzVyVA8t8rq6", "fee": 44000000, "feeAssetId": null, "timestamp": 1687593111514, "version": 2, "chainId": 84, "sender": "3N41jx367r3HSFV68JfLUia22bvgwfPiU8J", "senderPublicKey": "51cTRWaywGzzBXaFt4MRPswto8Rz3Wwa1uTbaSaXqXTk", "proofs": [ "2yfmUwXceKnjK9yzEtDmGksGMpGfe9hH69rHxxNcBrRpaRoJvmzPKYerUNFHoBjG8J9ijyMAJXJEuAGRdrfESjgG", "4cswuxPNjqQDGvSKUCNXMqAxsSmX8fRTrQ3CPEXhbUCHHT5VWnsW8GZ5rmsKUr8KEoJvk7Kq7xdCPZmkZH18gUjj" ], "script": "base64:BgJiCAISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERISBgoEAhgREhIGCgQCGBESEgYKBAIYERJTAAd2ZXJzaW9uAgUxLjAuMAAIa1ZlcnNpb24CB3ZlcnNpb24AB2tBY3RpdmUCBmFjdGl2ZQALa0RlcHJlY2F0ZWQCC2RlcHJlY2F0ZWRfAAlrQXNzZXRJZEECCkFfYXNzZXRfaWQACWtBc3NldElkQgIKQl9hc3NldF9pZAAJa0JhbGFuY2VBAg9BX2Fzc2V0X2JhbGFuY2UACWtCYWxhbmNlQgIPQl9hc3NldF9iYWxhbmNlAA1rQmFsYW5jZUluaXRBAgxBX2Fzc2V0X2luaXQADWtCYWxhbmNlSW5pdEICDEJfYXNzZXRfaW5pdAANa1NoYXJlQXNzZXRJZAIOc2hhcmVfYXNzZXRfaWQAEWtTaGFyZUFzc2V0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S2V5MgABAAAEEmFkbWluUHViS2V5M1NpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFDGFkbWluUHViS2V5MwABAAAJAGcCCQBkAgkAZAIFEmFkbWluUHViS2V5MVNpZ25lZAUSYWRtaW5QdWJLZXkyU2lnbmVkBRJhZG1pblB1YktleTNTaWduZWQAAgUTbXVsdGlTaWduZWRCeUFkbWluc27JClA=", "height": 2636410, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G8PV5taoHm1WXyzqJatnTPxLBfkYKqpqoNDsBxeXRChG Next: 5Znap2GQwrJc64tMUKeB3KA9Ky9fEpDraGWj99f1pU5a Diff:
OldNewDifferences
452452 let lpSupply = $t01545715549._5
453453 let pmtA = parseIntValue(args[0])
454454 let pmtB = parseIntValue(args[1])
455- let pmtAssetIdA = parsePaymentAsset(pAssetIds[0])
456- let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
457- let virtGetMinAmount = parseIntValue(args[2])
458- let $t01579115858 = getFeeParams(i.caller, i.originCaller)
459- let fee = $t01579115858._1
460- let govFee = $t01579115858._2
461- let teamFee = $t01579115858._3
462- let $t01586316012 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtAssetIdA, pmtAssetIdB, balA, balB, lpSupply)
463- let lp = $t01586316012._1
464- let change = $t01586316012._2
465- let changeAssetId = $t01586316012._3
466- let pmtAmountA = $t01586316012._4
467- let pmtAmountB = $t01586316012._5
455+ let $t01563215775 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
456+ let lp = $t01563215775._1
457+ let change = $t01563215775._2
458+ let changeAssetId = $t01563215775._3
459+ let pmtAmountA = $t01563215775._4
460+ let pmtAmountB = $t01563215775._5
468461 $Tuple2(nil, $Tuple2(nil, [lp, change, changeAssetId, pmtAmountA, pmtAmountB]))
469462 }
470463
472465
473466 @Callable(i)
474467 func withdrawREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
475- let $t01622316313 = getPoolAssets(i.caller)
476- let strAssetIdA = $t01622316313._1
477- let strAssetIdB = $t01622316313._2
478- let assetIdA = $t01622316313._3
479- let assetIdB = $t01622316313._4
480- let shareAssetId = $t01622316313._5
481- let $t01631816442 = getPoolBalances(i.caller, assetIdA, assetIdB)
482- let balanceA = $t01631816442._1
483- let balanceB = $t01631816442._2
484- let accountBalanceA = $t01631816442._3
485- let accountBalanceB = $t01631816442._4
486- let shareAssetSupply = $t01631816442._5
468+ let $t01598616076 = getPoolAssets(i.caller)
469+ let strAssetIdA = $t01598616076._1
470+ let strAssetIdB = $t01598616076._2
471+ let assetIdA = $t01598616076._3
472+ let assetIdB = $t01598616076._4
473+ let shareAssetId = $t01598616076._5
474+ let $t01608116205 = getPoolBalances(i.caller, assetIdA, assetIdB)
475+ let balanceA = $t01608116205._1
476+ let balanceB = $t01608116205._2
477+ let accountBalanceA = $t01608116205._3
478+ let accountBalanceB = $t01608116205._4
479+ let shareAssetSupply = $t01608116205._5
487480 let withdrawAmount = parseIntValue(args[0])
488- let $t01649616658 = if ((size(args) == 3))
481+ let $t01625916421 = if ((size(args) == 3))
489482 then $Tuple2(parseIntValue(args[1]), parseIntValue(args[2]))
490483 else $Tuple2(balanceA, balanceB)
491- let balA = $t01649616658._1
492- let balB = $t01649616658._2
484+ let balA = $t01625916421._1
485+ let balB = $t01625916421._2
493486 let amountToPayA = fraction(withdrawAmount, balA, shareAssetSupply)
494487 let amountToPayB = fraction(withdrawAmount, balB, shareAssetSupply)
495488 $Tuple2(nil, $Tuple2(nil, [amountToPayA, amountToPayB]))
500493 @Callable(i)
501494 func init (callerBytes,args,pAmounts,pAssetIds) = {
502495 let caller = Address(callerBytes)
503- let $t01701317091 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
504- let pmtAmountA = $t01701317091._1
505- let pmtAssetIdA = $t01701317091._2
506- let $t01709617174 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
507- let pmtAmountB = $t01709617174._1
508- let pmtAssetIdB = $t01709617174._2
496+ let $t01677616854 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
497+ let pmtAmountA = $t01677616854._1
498+ let pmtAssetIdA = $t01677616854._2
499+ let $t01685916937 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
500+ let pmtAmountB = $t01685916937._1
501+ let pmtAssetIdB = $t01685916937._2
509502 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
510503 then throw("Only admin can call this function")
511504 else if ((size(args) != 1))
515508 else if ((pmtAssetIdA == pmtAssetIdB))
516509 then throw("Assets must be different")
517510 else {
518- let $t01760917686 = getAssetInfo(pmtAssetIdA)
519- let pmtStrAssetIdA = $t01760917686._1
520- let pmtAssetNameA = $t01760917686._2
521- let pmtDecimalsA = $t01760917686._3
522- let $t01769517772 = getAssetInfo(pmtAssetIdB)
523- let pmtStrAssetIdB = $t01769517772._1
524- let pmtAssetNameB = $t01769517772._2
525- let pmtDecimalsB = $t01769517772._3
511+ let $t01737217449 = getAssetInfo(pmtAssetIdA)
512+ let pmtStrAssetIdA = $t01737217449._1
513+ let pmtAssetNameA = $t01737217449._2
514+ let pmtDecimalsA = $t01737217449._3
515+ let $t01745817535 = getAssetInfo(pmtAssetIdB)
516+ let pmtStrAssetIdB = $t01745817535._1
517+ let pmtAssetNameB = $t01745817535._2
518+ let pmtDecimalsB = $t01745817535._3
526519 let firstHarvest = (args[0] == "true")
527520 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
528521 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
559552 @Callable(i)
560553 func initWithInitRatio (callerBytes,args,pAmounts,pAssetIds) = {
561554 let caller = Address(callerBytes)
562- let $t01999320193 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
563- let amtAssetA = $t01999320193._1
564- let amtAssetB = $t01999320193._2
565- let assetIdAStr = $t01999320193._3
566- let assetIdBStr = $t01999320193._4
567- let firstHarvest = $t01999320193._5
555+ let $t01975619956 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
556+ let amtAssetA = $t01975619956._1
557+ let amtAssetB = $t01975619956._2
558+ let assetIdAStr = $t01975619956._3
559+ let assetIdBStr = $t01975619956._4
560+ let firstHarvest = $t01975619956._5
568561 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
569562 then throw("Only admin can call this function")
570563 else if ((size(args) != 5))
574567 else if ((assetIdAStr == assetIdBStr))
575568 then throw("Assets must be different")
576569 else {
577- let $t02062820705 = getAssetInfo(assetIdAStr)
578- let pmtStrAssetIdA = $t02062820705._1
579- let pmtAssetNameA = $t02062820705._2
580- let pmtDecimalsA = $t02062820705._3
581- let $t02071420791 = getAssetInfo(assetIdBStr)
582- let pmtStrAssetIdB = $t02071420791._1
583- let pmtAssetNameB = $t02071420791._2
584- let pmtDecimalsB = $t02071420791._3
570+ let $t02039120468 = getAssetInfo(assetIdAStr)
571+ let pmtStrAssetIdA = $t02039120468._1
572+ let pmtAssetNameA = $t02039120468._2
573+ let pmtDecimalsA = $t02039120468._3
574+ let $t02047720554 = getAssetInfo(assetIdBStr)
575+ let pmtStrAssetIdB = $t02047720554._1
576+ let pmtAssetNameB = $t02047720554._2
577+ let pmtDecimalsB = $t02047720554._3
585578 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
586579 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
587580 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
612605 @Callable(i)
613606 func exchange (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
614607 let caller = Address(callerBytes)
615- let $t02321723293 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
616- let pmtAmount = $t02321723293._1
617- let pmtAssetId = $t02321723293._2
608+ let $t02298023056 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
609+ let pmtAmount = $t02298023056._1
610+ let pmtAssetId = $t02298023056._2
618611 let minAmountToReceive = parseIntValue(args[0])
619- let $t02335823434 = getPoolAssets(i.caller)
620- let strAssetIdA = $t02335823434._1
621- let strAssetIdB = $t02335823434._2
622- let assetIdA = $t02335823434._3
623- let assetIdB = $t02335823434._4
624- let $t02344323549 = getPoolBalances(i.caller, assetIdA, assetIdB)
625- let balanceA = $t02344323549._1
626- let balanceB = $t02344323549._2
627- let accountBalanceA = $t02344323549._3
628- let accountBalanceB = $t02344323549._4
612+ let $t02312123197 = getPoolAssets(i.caller)
613+ let strAssetIdA = $t02312123197._1
614+ let strAssetIdB = $t02312123197._2
615+ let assetIdA = $t02312123197._3
616+ let assetIdB = $t02312123197._4
617+ let $t02320623312 = getPoolBalances(i.caller, assetIdA, assetIdB)
618+ let balanceA = $t02320623312._1
619+ let balanceB = $t02320623312._2
620+ let accountBalanceA = $t02320623312._3
621+ let accountBalanceB = $t02320623312._4
629622 if ((size(args) != 1))
630623 then throw("Wrong args size")
631624 else if (if ((balanceA == 0))
643636 else (balanceB > accountBalanceB))
644637 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
645638 else {
646- let $t02444924516 = getFeeParams(i.caller, i.originCaller)
647- let fee = $t02444924516._1
648- let govFee = $t02444924516._2
649- let teamFee = $t02444924516._3
650- let $t02452924880 = if ((pmtAssetId == assetIdA))
639+ let $t02421224279 = getFeeParams(i.caller, i.originCaller)
640+ let fee = $t02421224279._1
641+ let govFee = $t02421224279._2
642+ let teamFee = $t02421224279._3
643+ let $t02429224643 = if ((pmtAssetId == assetIdA))
651644 then calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, fee, govFee, teamFee)
652645 else calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, fee, govFee, teamFee)
653- let amountWithoutFee = $t02452924880._1
654- let amountWithFee = $t02452924880._2
655- let governanceReward = $t02452924880._3
656- let teamReward = $t02452924880._4
657- let $t02489425229 = if ((pmtAssetId == assetIdA))
646+ let amountWithoutFee = $t02429224643._1
647+ let amountWithFee = $t02429224643._2
648+ let governanceReward = $t02429224643._3
649+ let teamReward = $t02429224643._4
650+ let $t02465724992 = if ((pmtAssetId == assetIdA))
658651 then $Tuple3((balanceA + pmtAmount), (((balanceB - amountWithFee) - governanceReward) - teamReward), assetIdB)
659652 else $Tuple3((((balanceA - amountWithFee) - governanceReward) - teamReward), (balanceB + pmtAmount), assetIdA)
660- let newBalanceA = $t02489425229._1
661- let newBalanceB = $t02489425229._2
662- let assetIdSend = $t02489425229._3
663- let $t02524325503 = if ((pmtAssetId == assetIdA))
653+ let newBalanceA = $t02465724992._1
654+ let newBalanceB = $t02465724992._2
655+ let assetIdSend = $t02465724992._3
656+ let $t02500625266 = if ((pmtAssetId == assetIdA))
664657 then $Tuple2(pmtAmount, ((amountWithFee + governanceReward) + teamReward))
665658 else $Tuple2(((amountWithFee + governanceReward) + teamReward), pmtAmount)
666- let stakeAmountA = $t02524325503._1
667- let stakeAmountB = $t02524325503._2
659+ let stakeAmountA = $t02500625266._1
660+ let stakeAmountB = $t02500625266._2
668661 let stake1 = if (contains(stakingAssets, strAssetIdA))
669662 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdA), stakeAmountA, strAssetIdA], nil)
670663 else 0
690683 let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
691684 let stakeFarming = (args[0] == "true")
692685 let lockType = parseIntValue(args[1])
693- let $t02681826908 = getPoolAssets(i.caller)
694- let strAssetIdA = $t02681826908._1
695- let strAssetIdB = $t02681826908._2
696- let assetIdA = $t02681826908._3
697- let assetIdB = $t02681826908._4
698- let shareAssetId = $t02681826908._5
699- let $t02691727041 = getPoolBalances(i.caller, assetIdA, assetIdB)
700- let balanceA = $t02691727041._1
701- let balanceB = $t02691727041._2
702- let accountBalanceA = $t02691727041._3
703- let accountBalanceB = $t02691727041._4
704- let shareAssetSupply = $t02691727041._5
686+ let $t02658126671 = getPoolAssets(i.caller)
687+ let strAssetIdA = $t02658126671._1
688+ let strAssetIdB = $t02658126671._2
689+ let assetIdA = $t02658126671._3
690+ let assetIdB = $t02658126671._4
691+ let shareAssetId = $t02658126671._5
692+ let $t02668026804 = getPoolBalances(i.caller, assetIdA, assetIdB)
693+ let balanceA = $t02668026804._1
694+ let balanceB = $t02668026804._2
695+ let accountBalanceA = $t02668026804._3
696+ let accountBalanceB = $t02668026804._4
697+ let shareAssetSupply = $t02668026804._5
705698 if ((size(args) != 2))
706699 then throw("Wrong args size")
707700 else if (if ((size(pAmounts) != 2))
721714 else pAssetIds[2], pAmounts[2])]
722715 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
723716 else {
724- let $t02797828176 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
725- let shareTokenToPayAmount = $t02797828176._1
726- let change = $t02797828176._2
727- let changeAssetId = $t02797828176._3
728- let pmtAmountA = $t02797828176._4
729- let pmtAmountB = $t02797828176._5
717+ let $t02774127939 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
718+ let shareTokenToPayAmount = $t02774127939._1
719+ let change = $t02774127939._2
720+ let changeAssetId = $t02774127939._3
721+ let pmtAmountA = $t02774127939._4
722+ let pmtAmountB = $t02774127939._5
730723 if ((shareTokenToPayAmount == 0))
731724 then throw("Too small amount to replenish")
732725 else if ((0 > change))
779772 let virtGetMinAmount = parseIntValue(args[0])
780773 let stakeFarming = (args[1] == "true")
781774 let lockType = parseIntValue(args[2])
782- let $t03043530525 = getPoolAssets(i.caller)
783- let strAssetIdA = $t03043530525._1
784- let strAssetIdB = $t03043530525._2
785- let assetIdA = $t03043530525._3
786- let assetIdB = $t03043530525._4
787- let shareAssetId = $t03043530525._5
788- let $t03053030654 = getPoolBalances(i.caller, assetIdA, assetIdB)
789- let balanceA = $t03053030654._1
790- let balanceB = $t03053030654._2
791- let accountBalanceA = $t03053030654._3
792- let accountBalanceB = $t03053030654._4
793- let shareAssetSupply = $t03053030654._5
775+ let $t03019830288 = getPoolAssets(i.caller)
776+ let strAssetIdA = $t03019830288._1
777+ let strAssetIdB = $t03019830288._2
778+ let assetIdA = $t03019830288._3
779+ let assetIdB = $t03019830288._4
780+ let shareAssetId = $t03019830288._5
781+ let $t03029330417 = getPoolBalances(i.caller, assetIdA, assetIdB)
782+ let balanceA = $t03029330417._1
783+ let balanceB = $t03029330417._2
784+ let accountBalanceA = $t03029330417._3
785+ let accountBalanceB = $t03029330417._4
786+ let shareAssetSupply = $t03029330417._5
794787 let initial = ((balanceA + balanceB) == 0)
795788 if ((size(args) != 3))
796789 then throw("Wrong args size")
813806 else pAssetIds[2], pAmounts[2])]
814807 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
815808 else {
816- let $t03156631633 = getFeeParams(i.caller, i.originCaller)
817- let fee = $t03156631633._1
818- let govFee = $t03156631633._2
819- let teamFee = $t03156631633._3
820- let $t03164231704 = getAssetInfo(pmtAssetId)
821- let pmtAssetIdStr = $t03164231704._1
822- let pmtAssetIdName = $t03164231704._2
823- let $t03172231968 = calcLPAmountReplansishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
824- let shareTokenToPayAmount = $t03172231968._1
825- let newBalanceA = $t03172231968._2
826- let newBalanceB = $t03172231968._3
827- let govReward = $t03172231968._4
828- let teamReward = $t03172231968._5
829- let govRewardAsset = $t03172231968._6
809+ let $t03132931396 = getFeeParams(i.caller, i.originCaller)
810+ let fee = $t03132931396._1
811+ let govFee = $t03132931396._2
812+ let teamFee = $t03132931396._3
813+ let $t03140531467 = getAssetInfo(pmtAssetId)
814+ let pmtAssetIdStr = $t03140531467._1
815+ let pmtAssetIdName = $t03140531467._2
816+ let $t03148531731 = calcLPAmountReplansishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
817+ let shareTokenToPayAmount = $t03148531731._1
818+ let newBalanceA = $t03148531731._2
819+ let newBalanceB = $t03148531731._3
820+ let govReward = $t03148531731._4
821+ let teamReward = $t03148531731._5
822+ let govRewardAsset = $t03148531731._6
830823 let govRewardAssetStr = if ((govRewardAsset == assetIdA))
831824 then strAssetIdA
832825 else strAssetIdB
875868 @Callable(i)
876869 func withdraw (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
877870 let caller = Address(callerBytes)
878- let $t03403634126 = getPoolAssets(i.caller)
879- let strAssetIdA = $t03403634126._1
880- let strAssetIdB = $t03403634126._2
881- let assetIdA = $t03403634126._3
882- let assetIdB = $t03403634126._4
883- let shareAssetId = $t03403634126._5
884- let $t03413534259 = getPoolBalances(i.caller, assetIdA, assetIdB)
885- let balanceA = $t03413534259._1
886- let balanceB = $t03413534259._2
887- let accountBalanceA = $t03413534259._3
888- let accountBalanceB = $t03413534259._4
889- let shareAssetSupply = $t03413534259._5
890- let $t03426834648 = if ((size(pAmounts) == 1))
871+ let $t03379933889 = getPoolAssets(i.caller)
872+ let strAssetIdA = $t03379933889._1
873+ let strAssetIdB = $t03379933889._2
874+ let assetIdA = $t03379933889._3
875+ let assetIdB = $t03379933889._4
876+ let shareAssetId = $t03379933889._5
877+ let $t03389834022 = getPoolBalances(i.caller, assetIdA, assetIdB)
878+ let balanceA = $t03389834022._1
879+ let balanceB = $t03389834022._2
880+ let accountBalanceA = $t03389834022._3
881+ let accountBalanceB = $t03389834022._4
882+ let shareAssetSupply = $t03389834022._5
883+ let $t03403134411 = if ((size(pAmounts) == 1))
891884 then {
892885 let pAsset = parsePaymentAsset(pAssetIds[0])
893886 if ((pAsset != shareAssetId))
895888 else $Tuple2(pAmounts[0], pAsset)
896889 }
897890 else $Tuple2(0, shareAssetId)
898- let pmtAmount = $t03426834648._1
899- let pmtAssetId = $t03426834648._2
891+ let pmtAmount = $t03403134411._1
892+ let pmtAssetId = $t03403134411._2
900893 if ((size(args) != 1))
901894 then throw("Wrong args size")
902895 else if ((size(pAmounts) > 1))
941934 let withdrawAsset = if ((args[0] == ""))
942935 then unit
943936 else fromBase58String(args[0])
944- let $t03686636956 = getPoolAssets(i.caller)
945- let strAssetIdA = $t03686636956._1
946- let strAssetIdB = $t03686636956._2
947- let assetIdA = $t03686636956._3
948- let assetIdB = $t03686636956._4
949- let shareAssetId = $t03686636956._5
950- let $t03696537089 = getPoolBalances(i.caller, assetIdA, assetIdB)
951- let balanceA = $t03696537089._1
952- let balanceB = $t03696537089._2
953- let accountBalanceA = $t03696537089._3
954- let accountBalanceB = $t03696537089._4
955- let shareAssetSupply = $t03696537089._5
956- let $t03709837450 = if ((size(pAmounts) == 1))
937+ let $t03662936719 = getPoolAssets(i.caller)
938+ let strAssetIdA = $t03662936719._1
939+ let strAssetIdB = $t03662936719._2
940+ let assetIdA = $t03662936719._3
941+ let assetIdB = $t03662936719._4
942+ let shareAssetId = $t03662936719._5
943+ let $t03672836852 = getPoolBalances(i.caller, assetIdA, assetIdB)
944+ let balanceA = $t03672836852._1
945+ let balanceB = $t03672836852._2
946+ let accountBalanceA = $t03672836852._3
947+ let accountBalanceB = $t03672836852._4
948+ let shareAssetSupply = $t03672836852._5
949+ let $t03686137213 = if ((size(pAmounts) == 1))
957950 then {
958951 let pAsset = parsePaymentAsset(pAssetIds[0])
959952 if ((pAsset != shareAssetId))
961954 else $Tuple2(pAmounts[0], pAsset)
962955 }
963956 else $Tuple2(0, shareAssetId)
964- let pmtAmount = $t03709837450._1
965- let pmtAssetId = $t03709837450._2
957+ let pmtAmount = $t03686137213._1
958+ let pmtAssetId = $t03686137213._2
966959 let virtMinToRecive = parseIntValue(args[1])
967960 if ((size(args) != 3))
968961 then throw("Wrong args size")
986979 let withdrawAmount = (pmtAmount + unlockAmount)
987980 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
988981 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
989- let $t03871738784 = getFeeParams(i.caller, i.originCaller)
990- let fee = $t03871738784._1
991- let govFee = $t03871738784._2
992- let teamFee = $t03871738784._3
993- let $t03879739211 = if ((withdrawAsset == assetIdA))
982+ let $t03848038547 = getFeeParams(i.caller, i.originCaller)
983+ let fee = $t03848038547._1
984+ let govFee = $t03848038547._2
985+ let teamFee = $t03848038547._3
986+ let $t03856038974 = if ((withdrawAsset == assetIdA))
994987 then calculateFees(amountToPayB, virtMinToRecive, (balanceB - amountToPayB), (balanceA - amountToPayA), fee, govFee, teamFee)
995988 else calculateFees(amountToPayA, virtMinToRecive, (balanceA - amountToPayA), (balanceB - amountToPayB), fee, govFee, teamFee)
996- let amountWithoutFee = $t03879739211._1
997- let amountWithFee = $t03879739211._2
998- let governanceReward = $t03879739211._3
999- let teamReward = $t03879739211._4
1000- let $t03922440534 = if ((withdrawAsset == assetIdA))
989+ let amountWithoutFee = $t03856038974._1
990+ let amountWithFee = $t03856038974._2
991+ let governanceReward = $t03856038974._3
992+ let teamReward = $t03856038974._4
993+ let $t03898740297 = if ((withdrawAsset == assetIdA))
1001994 then {
1002995 let unstake = if (contains(stakingAssets, strAssetIdA))
1003996 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayA + amountWithFee) + governanceReward) + teamReward), strAssetIdA], nil)
10141007 then $Tuple4(balanceA, ((((balanceB - amountToPayB) - amountWithFee) - governanceReward) - teamReward), assetIdB, [ScriptTransfer(caller, (amountToPayB + amountWithFee), assetIdB)])
10151008 else throw("Strict value is not equal to itself.")
10161009 }
1017- let newBalanceA = $t03922440534._1
1018- let newBalanceB = $t03922440534._2
1019- let govRewardAssetId = $t03922440534._3
1020- let userTransfer = $t03922440534._4
1010+ let newBalanceA = $t03898740297._1
1011+ let newBalanceB = $t03898740297._2
1012+ let govRewardAssetId = $t03898740297._3
1013+ let userTransfer = $t03898740297._4
10211014 $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))
10221015 }
10231016 else throw("Strict value is not equal to itself.")
10281021
10291022 @Callable(i)
10301023 func takeIntoAccountExtraFunds (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
1031- let $t04129441370 = getPoolAssets(i.caller)
1032- let strAssetIdA = $t04129441370._1
1033- let strAssetIdB = $t04129441370._2
1034- let assetIdA = $t04129441370._3
1035- let assetIdB = $t04129441370._4
1024+ let $t04105741133 = getPoolAssets(i.caller)
1025+ let strAssetIdA = $t04105741133._1
1026+ let strAssetIdB = $t04105741133._2
1027+ let assetIdA = $t04105741133._3
1028+ let assetIdB = $t04105741133._4
10361029 let claim = if (if ((assetIdA == USDN))
10371030 then true
10381031 else (assetIdB == USDN))
10401033 else 0
10411034 if ((claim == claim))
10421035 then {
1043- let $t04153041636 = getPoolBalances(i.caller, assetIdA, assetIdB)
1044- let balanceA = $t04153041636._1
1045- let balanceB = $t04153041636._2
1046- let accountBalanceA = $t04153041636._3
1047- let accountBalanceB = $t04153041636._4
1036+ let $t04129341399 = getPoolBalances(i.caller, assetIdA, assetIdB)
1037+ let balanceA = $t04129341399._1
1038+ let balanceB = $t04129341399._2
1039+ let accountBalanceA = $t04129341399._3
1040+ let accountBalanceB = $t04129341399._4
10481041 let amountEnrollA = (accountBalanceA - balanceA)
10491042 let amountEnrollB = (accountBalanceB - balanceB)
10501043 if ((size(args) != 0))
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 kStakingAssets = "staking_assets"
5555
5656 let kOracleActive = "active_all_contracts"
5757
5858 let kDiscounts = "discounts"
5959
6060 let kDiscountValues = "discount_values"
6161
6262 let kUserGSwopInGov = "_GSwop_amount"
6363
6464 let kUserSwopInGov = "_SWOP_amount"
6565
6666 let kOraclePool = "pool_"
6767
6868 let kAdminPubKey1 = "admin_pub_1"
6969
7070 let kAdminPubKey2 = "admin_pub_2"
7171
7272 let kAdminPubKey3 = "admin_pub_3"
7373
7474 let kAdminInvokePubKey = "admin_invoke_pub"
7575
7676 let kMoneyBoxAddress = "money_box_address"
7777
7878 let kTeamBoxAddress = "team_box_address"
7979
8080 let kVotingAddress = "voting_address"
8181
8282 let kGovAddress = "governance_address"
8383
8484 let kFarmingAddress = "farming_address"
8585
8686 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
8787
8888 func getBase58FromOracle (key) = match getString(oracle, key) {
8989 case string: String =>
9090 fromBase58String(string)
9191 case nothing =>
9292 throw((key + "is empty"))
9393 }
9494
9595
9696 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
9797
9898 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
9999
100100 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
101101
102102 let adminInvokePubKey = getBase58FromOracle(kAdminInvokePubKey)
103103
104104 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
105105
106106 let teamBoxAddress = Address(getBase58FromOracle(kTeamBoxAddress))
107107
108108 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
109109
110110 let govAddress = Address(getBase58FromOracle(kGovAddress))
111111
112112 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
113113
114114 let USDN = getBase58FromOracle(kUSDNAssetId)
115115
116116 let EURN = getBase58FromOracle(kEURNAssetId)
117117
118118 let stakingAssets = getStringValue(oracle, kStakingAssets)
119119
120120 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
121121
122122 let stakingEURNAddress = Address(getBase58FromOracle(kEURNAddress))
123123
124124 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
125125
126126 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
127127
128128 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
129129
130130 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
131131
132132 let active = getBooleanValue(oracle, kOracleActive)
133133
134134 let feeScale6 = 1000000
135135
136136 let scale8 = 100000000
137137
138138 let scale16 = toBigInt(10000000000000000)
139139
140140 func accountBalance (assetId,pool) = match assetId {
141141 case id: ByteVector =>
142142 assetBalance(pool, id)
143143 case waves: Unit =>
144144 wavesBalance(pool).available
145145 case _ =>
146146 throw("Match error")
147147 }
148148
149149
150150 func stakedAmount (assetId,pool) = {
151151 let stakedAmountCalculated = match assetId {
152152 case aId: ByteVector =>
153153 if ((aId == USDN))
154154 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(pool)))
155155 else if ((aId == EURN))
156156 then getInteger(stakingEURNAddress, ((("%s%s%s__stakingBalance__" + toBase58String(aId)) + "__") + toString(pool)))
157157 else 0
158158 case _: Unit =>
159159 valueOrElse(getInteger(pool, kLeasingAmount), 0)
160160 case _ =>
161161 throw("Match error")
162162 }
163163 match stakedAmountCalculated {
164164 case i: Int =>
165165 i
166166 case _ =>
167167 0
168168 }
169169 }
170170
171171
172172 func getAssetInfo (assetId) = match assetId {
173173 case id: String|ByteVector =>
174174 let $t040794251 = match id {
175175 case aId: ByteVector =>
176176 $Tuple2(toBase58String(aId), aId)
177177 case aId: String =>
178178 $Tuple2(aId, fromBase58String(aId))
179179 case _ =>
180180 throw("Match error")
181181 }
182182 let stringId = $t040794251._1
183183 let bytesId = $t040794251._2
184184 let info = valueOrErrorMessage(assetInfo(bytesId), (("Asset " + stringId) + " doesn't exist"))
185185 $Tuple3(stringId, info.name, info.decimals)
186186 case waves: Unit =>
187187 $Tuple3("WAVES", "WAVES", 8)
188188 case _ =>
189189 throw("Match error")
190190 }
191191
192192
193193 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
194194
195195
196196 func calculateFeeDiscount (userAddr) = {
197197 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
198198 let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
199199 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
200200 let discounts = split(getStringValue(oracle, kDiscounts), ",")
201201 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
202202 then (parseIntValue(discountValues[1]) > gSwopAmount)
203203 else false)
204204 then (feeScale6 - parseIntValue(discounts[0]))
205205 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
206206 then (parseIntValue(discountValues[2]) > gSwopAmount)
207207 else false)
208208 then (feeScale6 - parseIntValue(discounts[1]))
209209 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
210210 then (parseIntValue(discountValues[3]) > gSwopAmount)
211211 else false)
212212 then (feeScale6 - parseIntValue(discounts[2]))
213213 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
214214 then (parseIntValue(discountValues[4]) > gSwopAmount)
215215 else false)
216216 then (feeScale6 - parseIntValue(discounts[3]))
217217 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
218218 then (feeScale6 - parseIntValue(discounts[4]))
219219 else feeScale6
220220 }
221221
222222
223223 func calculateFees (pmtAmount,minAmountToReceive,tokenFrom,tokenTo,fee,feeGov,feeTeam) = {
224224 let amountWithoutFee = fraction(tokenTo, pmtAmount, (pmtAmount + tokenFrom))
225225 let amountWithFee = fraction(amountWithoutFee, (feeScale6 - fee), feeScale6)
226226 let governanceReward = fraction(amountWithoutFee, feeGov, feeScale6)
227227 let teamReward = fraction(amountWithoutFee, feeTeam, feeScale6)
228228 if ((minAmountToReceive > amountWithFee))
229229 then throw(((("Calculated amount to receive " + toString(amountWithFee)) + " is less than specified minimum ") + toString(minAmountToReceive)))
230230 else $Tuple4(amountWithoutFee, amountWithFee, governanceReward, teamReward)
231231 }
232232
233233
234234 func calculateVirtPay (pmtAmount,balance,fee) = {
235235 let F = (feeScale6 - fee)
236236 let k = fraction(fee, 55, 100)
237237 let a = (scale8 + fraction((F * k), scale8, (feeScale6 * feeScale6)))
238238 let b = ((((balance + fraction(balance, F, feeScale6)) + fraction(pmtAmount, F, feeScale6)) - pmtAmount) - fraction(pmtAmount, (F * k), (feeScale6 * feeScale6)))
239239 let c = (-(toBigInt(balance)) * toBigInt(pmtAmount))
240240 let D = ((toBigInt(b) * toBigInt(b)) - fraction((toBigInt(4) * c), toBigInt(a), toBigInt(scale8)))
241241 toInt(fraction((-(toBigInt(b)) + sqrtBigInt(D, 0, 0, DOWN)), toBigInt(scale8), toBigInt((2 * a))))
242242 }
243243
244244
245245 func parsePaymentAsset (assetId) = if ((assetId == base58''))
246246 then unit
247247 else assetId
248248
249249
250250 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))
251251
252252
253253 func isActive () = if (active)
254254 then unit
255255 else throw("DApp is inactive at this moment")
256256
257257
258258 func isOraclePool (poolAddress) = if (isDefined(getString(oracle, (kOraclePool + poolAddress))))
259259 then unit
260260 else throw("DApp is not registered pool")
261261
262262
263263 func isDepricated (poolAddress) = if (!(valueOrElse(getBoolean(oracle, (kDeprecated + poolAddress)), false)))
264264 then unit
265265 else throw("Pool is deprecated. Only withdraw action allowed.")
266266
267267
268268 func getPoolBalances (pool,assetIdA,assetIdB) = {
269269 let balanceA = getIntegerValue(pool, kBalanceA)
270270 let balanceB = getIntegerValue(pool, kBalanceB)
271271 let stakedAmountA = stakedAmount(assetIdA, pool)
272272 let stakedAmountB = stakedAmount(assetIdB, pool)
273273 let accountBalanceA = (accountBalance(assetIdA, pool) + stakedAmountA)
274274 let accountBalanceB = (accountBalance(assetIdB, pool) + stakedAmountB)
275275 let shareSupply = getIntegerValue(pool, kShareAssetSupply)
276276 $Tuple5(balanceA, balanceB, accountBalanceA, accountBalanceB, shareSupply)
277277 }
278278
279279
280280 func getPoolAssets (pool) = {
281281 let strAssetIdA = getStringValue(pool, kAssetIdA)
282282 let strAssetIdB = getStringValue(pool, kAssetIdB)
283283 let assetIdA = if ((strAssetIdA == "WAVES"))
284284 then unit
285285 else fromBase58String(strAssetIdA)
286286 let assetIdB = if ((strAssetIdB == "WAVES"))
287287 then unit
288288 else fromBase58String(strAssetIdB)
289289 let shareAssetId = fromBase58String(getStringValue(pool, kShareAssetId))
290290 $Tuple5(strAssetIdA, strAssetIdB, assetIdA, assetIdB, shareAssetId)
291291 }
292292
293293
294294 func getFeeParams (pool,caller) = {
295295 let feeDiscount = calculateFeeDiscount(caller)
296296 let fee = fraction(getIntegerValue(pool, kFee), feeDiscount, feeScale6, CEILING)
297297 let govFee = fraction(fee, 35, 100)
298298 let teamFee = fraction(fee, 10, 100)
299299 $Tuple3(fee, govFee, teamFee)
300300 }
301301
302302
303303 func calcLPAmountReplensishTwoTokens (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,shareAssetSupply) = {
304304 let $t095629634 = getAssetInfo(pmtIdA)
305305 let pmtStrAssetIdA = $t095629634._1
306306 let pmtAssetNameA = $t095629634._2
307307 let pmtDecimalsA = $t095629634._3
308308 let $t096399711 = getAssetInfo(pmtIdB)
309309 let pmtStrAssetIdB = $t096399711._1
310310 let pmtAssetNameB = $t096399711._2
311311 let pmtDecimalsB = $t096399711._3
312312 let initial = ((balA + balB) == 0)
313313 let $t0975410413 = if (initial)
314314 then $Tuple5(pmtA, pmtB, 0, pmtIdA, toBigInt(1))
315315 else {
316316 let ratioShareTokensInA = fraction(scale16, toBigInt(pmtA), toBigInt(balA))
317317 let ratioShareTokensInB = fraction(scale16, toBigInt(pmtB), toBigInt(balB))
318318 if ((ratioShareTokensInB > ratioShareTokensInA))
319319 then {
320320 let pmt = fraction(pmtA, balB, balA)
321321 $Tuple5(pmtA, pmt, (pmtB - pmt), pmtIdB, ratioShareTokensInA)
322322 }
323323 else {
324324 let pmt = fraction(pmtB, balA, balB)
325325 $Tuple5(pmt, pmtB, (pmtA - pmt), pmtIdA, ratioShareTokensInB)
326326 }
327327 }
328328 let pmtAmountA = $t0975410413._1
329329 let pmtAmountB = $t0975410413._2
330330 let change = $t0975410413._3
331331 let changeAssetId = $t0975410413._4
332332 let shareTokenRatio = $t0975410413._5
333333 let shareTokenToPayAmount = if (initial)
334334 then {
335335 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
336336 fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
337337 }
338338 else toInt(fraction(shareTokenRatio, toBigInt(shareAssetSupply), scale16))
339339 $Tuple5(shareTokenToPayAmount, change, changeAssetId, pmtAmountA, pmtAmountB)
340340 }
341341
342342
343343 func calcLPAmountReplansishOneToken (pmtAmount,pmtAssetId,aId,bId,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = if ((pmtAssetId == aId))
344344 then {
345345 let virtPayAmount = calculateVirtPay(pmtAmount, balA, fee)
346346 let $t01127811425 = calculateFees(virtPayAmount, virtGetMinAmount, balA, balB, fee, govFee, teamFee)
347347 let amountWithoutFee = $t01127811425._1
348348 let amountWithFee = $t01127811425._2
349349 let governanceReward = $t01127811425._3
350350 let tReward = $t01127811425._4
351351 let balanceAVirt = (balA + virtPayAmount)
352352 let balanceBVirt = (((balB + amountWithoutFee) - governanceReward) - tReward)
353353 let newBalanceA = (balA + pmtAmount)
354354 let newBalanceB = ((balB - governanceReward) - tReward)
355355 let ratioShareTokensInA = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceAVirt))
356356 let ratioShareTokensInB = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceBVirt))
357357 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(lpSupply), scale16))
358358 let shareTokenToPayAmountInBoth = toInt(fraction(fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balA)), toBigInt(lpSupply), scale16))
359359 let loss = fraction((shareTokenToPayAmount - shareTokenToPayAmountInBoth), scale8, shareTokenToPayAmountInBoth)
360360 $Tuple7(shareTokenToPayAmount, newBalanceA, newBalanceB, governanceReward, tReward, bId, loss)
361361 }
362362 else {
363363 let virtPayAmount = calculateVirtPay(pmtAmount, balB, fee)
364364 let $t01246912616 = calculateFees(virtPayAmount, virtGetMinAmount, balB, balA, fee, govFee, teamFee)
365365 let amountWithoutFee = $t01246912616._1
366366 let amountWithFee = $t01246912616._2
367367 let governanceReward = $t01246912616._3
368368 let tReward = $t01246912616._4
369369 let balanceAVirt = (((balA + amountWithoutFee) - governanceReward) - tReward)
370370 let balanceBVirt = (balB + virtPayAmount)
371371 let newBalanceA = ((balA - governanceReward) - tReward)
372372 let newBalanceB = (balB + pmtAmount)
373373 let ratioShareTokensInA = fraction(toBigInt(amountWithFee), scale16, toBigInt(balanceAVirt))
374374 let ratioShareTokensInB = fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balanceBVirt))
375375 let shareTokenToPayAmount = toInt(fraction(min([ratioShareTokensInA, ratioShareTokensInB]), toBigInt(lpSupply), scale16))
376376 let shareTokenToPayAmountInBoth = toInt(fraction(fraction(toBigInt((pmtAmount - virtPayAmount)), scale16, toBigInt(balB)), toBigInt(lpSupply), scale16))
377377 let loss = fraction((shareTokenToPayAmount - shareTokenToPayAmountInBoth), scale8, shareTokenToPayAmountInBoth)
378378 $Tuple7(shareTokenToPayAmount, newBalanceA, newBalanceB, governanceReward, tReward, aId, loss)
379379 }
380380
381381
382382 func calcLPReplenishDiffProp (pmtA,pmtB,pmtIdA,pmtIdB,balA,balB,lpSupply,fee,govFee,teamFee,virtGetMinAmount) = {
383383 let $t01378313931 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtIdA, pmtIdB, balA, balB, lpSupply)
384384 let lpTwoAmount = $t01378313931._1
385385 let change = $t01378313931._2
386386 let changeAssetId = $t01378313931._3
387387 let pmtAmountA = $t01378313931._4
388388 let pmtAmountB = $t01378313931._5
389389 if ((change > 0))
390390 then {
391391 let $t01396314198 = calcLPAmountReplansishOneToken(change, changeAssetId, pmtIdA, pmtIdB, (balA + pmtAmountA), (balB + pmtAmountB), lpSupply, fee, govFee, teamFee, virtGetMinAmount)
392392 let lpOne = $t01396314198._1
393393 let newBalanceA = $t01396314198._2
394394 let newBalanceB = $t01396314198._3
395395 let governanceReward = $t01396314198._4
396396 let tReward = $t01396314198._5
397397 let gId = $t01396314198._6
398398 let loss = $t01396314198._7
399399 $Tuple7((lpTwoAmount + lpOne), loss, newBalanceA, newBalanceB, governanceReward, tReward, gId)
400400 }
401401 else $Tuple7(lpTwoAmount, 0, (balA + pmtAmountA), (balB + pmtAmountB), 0, 0, unit)
402402 }
403403
404404
405405 @Callable(i)
406406 func calcLPReplenishDiffPropREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
407407 let $t01453414624 = getPoolAssets(i.caller)
408408 let strAssetIdA = $t01453414624._1
409409 let strAssetIdB = $t01453414624._2
410410 let assetIdA = $t01453414624._3
411411 let assetIdB = $t01453414624._4
412412 let shareAssetId = $t01453414624._5
413413 let $t01462914721 = getPoolBalances(i.caller, assetIdA, assetIdB)
414414 let balA = $t01462914721._1
415415 let balB = $t01462914721._2
416416 let accBalA = $t01462914721._3
417417 let accBalB = $t01462914721._4
418418 let lpSupply = $t01462914721._5
419419 let pmtA = parseIntValue(args[0])
420420 let pmtB = parseIntValue(args[1])
421421 let virtGetMinAmount = parseIntValue(args[2])
422422 let $t01485514922 = getFeeParams(i.caller, i.originCaller)
423423 let fee = $t01485514922._1
424424 let govFee = $t01485514922._2
425425 let teamFee = $t01485514922._3
426426 let $t01492715119 = calcLPReplenishDiffProp(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply, fee, govFee, teamFee, virtGetMinAmount)
427427 let lp = $t01492715119._1
428428 let loss = $t01492715119._2
429429 let newBalanceA = $t01492715119._3
430430 let newBalanceB = $t01492715119._4
431431 let governanceReward = $t01492715119._5
432432 let tReward = $t01492715119._6
433433 let aId = $t01492715119._7
434434 $Tuple2(nil, $Tuple2(nil, [lp, loss, newBalanceA, newBalanceB, governanceReward, tReward, aId]))
435435 }
436436
437437
438438
439439 @Callable(i)
440440 func calcLPReplenishTwoTokensREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
441441 let $t01536215452 = getPoolAssets(i.caller)
442442 let strAssetIdA = $t01536215452._1
443443 let strAssetIdB = $t01536215452._2
444444 let assetIdA = $t01536215452._3
445445 let assetIdB = $t01536215452._4
446446 let shareAssetId = $t01536215452._5
447447 let $t01545715549 = getPoolBalances(i.caller, assetIdA, assetIdB)
448448 let balA = $t01545715549._1
449449 let balB = $t01545715549._2
450450 let accBalA = $t01545715549._3
451451 let accBalB = $t01545715549._4
452452 let lpSupply = $t01545715549._5
453453 let pmtA = parseIntValue(args[0])
454454 let pmtB = parseIntValue(args[1])
455- let pmtAssetIdA = parsePaymentAsset(pAssetIds[0])
456- let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
457- let virtGetMinAmount = parseIntValue(args[2])
458- let $t01579115858 = getFeeParams(i.caller, i.originCaller)
459- let fee = $t01579115858._1
460- let govFee = $t01579115858._2
461- let teamFee = $t01579115858._3
462- let $t01586316012 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, pmtAssetIdA, pmtAssetIdB, balA, balB, lpSupply)
463- let lp = $t01586316012._1
464- let change = $t01586316012._2
465- let changeAssetId = $t01586316012._3
466- let pmtAmountA = $t01586316012._4
467- let pmtAmountB = $t01586316012._5
455+ let $t01563215775 = calcLPAmountReplensishTwoTokens(pmtA, pmtB, assetIdA, assetIdB, balA, balB, lpSupply)
456+ let lp = $t01563215775._1
457+ let change = $t01563215775._2
458+ let changeAssetId = $t01563215775._3
459+ let pmtAmountA = $t01563215775._4
460+ let pmtAmountB = $t01563215775._5
468461 $Tuple2(nil, $Tuple2(nil, [lp, change, changeAssetId, pmtAmountA, pmtAmountB]))
469462 }
470463
471464
472465
473466 @Callable(i)
474467 func withdrawREADONLY (callerBytes,args,pAmounts,pAssetIds) = {
475- let $t01622316313 = getPoolAssets(i.caller)
476- let strAssetIdA = $t01622316313._1
477- let strAssetIdB = $t01622316313._2
478- let assetIdA = $t01622316313._3
479- let assetIdB = $t01622316313._4
480- let shareAssetId = $t01622316313._5
481- let $t01631816442 = getPoolBalances(i.caller, assetIdA, assetIdB)
482- let balanceA = $t01631816442._1
483- let balanceB = $t01631816442._2
484- let accountBalanceA = $t01631816442._3
485- let accountBalanceB = $t01631816442._4
486- let shareAssetSupply = $t01631816442._5
468+ let $t01598616076 = getPoolAssets(i.caller)
469+ let strAssetIdA = $t01598616076._1
470+ let strAssetIdB = $t01598616076._2
471+ let assetIdA = $t01598616076._3
472+ let assetIdB = $t01598616076._4
473+ let shareAssetId = $t01598616076._5
474+ let $t01608116205 = getPoolBalances(i.caller, assetIdA, assetIdB)
475+ let balanceA = $t01608116205._1
476+ let balanceB = $t01608116205._2
477+ let accountBalanceA = $t01608116205._3
478+ let accountBalanceB = $t01608116205._4
479+ let shareAssetSupply = $t01608116205._5
487480 let withdrawAmount = parseIntValue(args[0])
488- let $t01649616658 = if ((size(args) == 3))
481+ let $t01625916421 = if ((size(args) == 3))
489482 then $Tuple2(parseIntValue(args[1]), parseIntValue(args[2]))
490483 else $Tuple2(balanceA, balanceB)
491- let balA = $t01649616658._1
492- let balB = $t01649616658._2
484+ let balA = $t01625916421._1
485+ let balB = $t01625916421._2
493486 let amountToPayA = fraction(withdrawAmount, balA, shareAssetSupply)
494487 let amountToPayB = fraction(withdrawAmount, balB, shareAssetSupply)
495488 $Tuple2(nil, $Tuple2(nil, [amountToPayA, amountToPayB]))
496489 }
497490
498491
499492
500493 @Callable(i)
501494 func init (callerBytes,args,pAmounts,pAssetIds) = {
502495 let caller = Address(callerBytes)
503- let $t01701317091 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
504- let pmtAmountA = $t01701317091._1
505- let pmtAssetIdA = $t01701317091._2
506- let $t01709617174 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
507- let pmtAmountB = $t01709617174._1
508- let pmtAssetIdB = $t01709617174._2
496+ let $t01677616854 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
497+ let pmtAmountA = $t01677616854._1
498+ let pmtAssetIdA = $t01677616854._2
499+ let $t01685916937 = $Tuple2(pAmounts[1], parsePaymentAsset(pAssetIds[1]))
500+ let pmtAmountB = $t01685916937._1
501+ let pmtAssetIdB = $t01685916937._2
509502 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
510503 then throw("Only admin can call this function")
511504 else if ((size(args) != 1))
512505 then throw("Wrong args size")
513506 else if (isDefined(getBoolean(caller, kActive)))
514507 then throw("DApp is already active")
515508 else if ((pmtAssetIdA == pmtAssetIdB))
516509 then throw("Assets must be different")
517510 else {
518- let $t01760917686 = getAssetInfo(pmtAssetIdA)
519- let pmtStrAssetIdA = $t01760917686._1
520- let pmtAssetNameA = $t01760917686._2
521- let pmtDecimalsA = $t01760917686._3
522- let $t01769517772 = getAssetInfo(pmtAssetIdB)
523- let pmtStrAssetIdB = $t01769517772._1
524- let pmtAssetNameB = $t01769517772._2
525- let pmtDecimalsB = $t01769517772._3
511+ let $t01737217449 = getAssetInfo(pmtAssetIdA)
512+ let pmtStrAssetIdA = $t01737217449._1
513+ let pmtAssetNameA = $t01737217449._2
514+ let pmtDecimalsA = $t01737217449._3
515+ let $t01745817535 = getAssetInfo(pmtAssetIdB)
516+ let pmtStrAssetIdB = $t01745817535._1
517+ let pmtAssetNameB = $t01745817535._2
518+ let pmtDecimalsB = $t01745817535._3
526519 let firstHarvest = (args[0] == "true")
527520 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
528521 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
529522 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
530523 let arg1 = pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN)
531524 let arg2 = pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN)
532525 let arg3 = pow(10, 0, shareDecimals, 0, 0, DOWN)
533526 let shareInitialSupply = fraction(arg1, arg2, arg3)
534527 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
535528 let shareIssueId = calculateAssetId(shareIssue)
536529 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
537530 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
538531 else 0
539532 if ((stake1 == stake1))
540533 then {
541534 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
542535 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
543536 else 0
544537 if ((stake2 == stake2))
545538 then {
546539 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)]
547540 if (firstHarvest)
548541 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
549542 else $Tuple2(nil, $Tuple2(baseEntry, nil))
550543 }
551544 else throw("Strict value is not equal to itself.")
552545 }
553546 else throw("Strict value is not equal to itself.")
554547 }
555548 }
556549
557550
558551
559552 @Callable(i)
560553 func initWithInitRatio (callerBytes,args,pAmounts,pAssetIds) = {
561554 let caller = Address(callerBytes)
562- let $t01999320193 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
563- let amtAssetA = $t01999320193._1
564- let amtAssetB = $t01999320193._2
565- let assetIdAStr = $t01999320193._3
566- let assetIdBStr = $t01999320193._4
567- let firstHarvest = $t01999320193._5
555+ let $t01975619956 = $Tuple5(parseIntValue(args[0]), parseIntValue(args[1]), args[2], args[3], (args[4] == "true"))
556+ let amtAssetA = $t01975619956._1
557+ let amtAssetB = $t01975619956._2
558+ let assetIdAStr = $t01975619956._3
559+ let assetIdBStr = $t01975619956._4
560+ let firstHarvest = $t01975619956._5
568561 if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
569562 then throw("Only admin can call this function")
570563 else if ((size(args) != 5))
571564 then throw("Wrong args size")
572565 else if (isDefined(getBoolean(caller, kActive)))
573566 then throw("DApp is already active")
574567 else if ((assetIdAStr == assetIdBStr))
575568 then throw("Assets must be different")
576569 else {
577- let $t02062820705 = getAssetInfo(assetIdAStr)
578- let pmtStrAssetIdA = $t02062820705._1
579- let pmtAssetNameA = $t02062820705._2
580- let pmtDecimalsA = $t02062820705._3
581- let $t02071420791 = getAssetInfo(assetIdBStr)
582- let pmtStrAssetIdB = $t02071420791._1
583- let pmtAssetNameB = $t02071420791._2
584- let pmtDecimalsB = $t02071420791._3
570+ let $t02039120468 = getAssetInfo(assetIdAStr)
571+ let pmtStrAssetIdA = $t02039120468._1
572+ let pmtAssetNameA = $t02039120468._2
573+ let pmtDecimalsA = $t02039120468._3
574+ let $t02047720554 = getAssetInfo(assetIdBStr)
575+ let pmtStrAssetIdB = $t02047720554._1
576+ let pmtAssetNameB = $t02047720554._2
577+ let pmtDecimalsB = $t02047720554._3
585578 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
586579 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
587580 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
588581 let shareInitialSupply = 0
589582 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
590583 let shareIssueId = calculateAssetId(shareIssue)
591584 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)]
592585 if (firstHarvest)
593586 then $Tuple2(nil, $Tuple2((baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))]), nil))
594587 else $Tuple2(nil, $Tuple2(baseEntry, nil))
595588 }
596589 }
597590
598591
599592
600593 @Callable(i)
601594 func keepLimitForFirstHarvest (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), if (!(containsElement([adminPubKey1, adminPubKey2, adminPubKey3, adminInvokePubKey], i.originCallerPublicKey)))
602595 then throw("Only admin can call this function")
603596 else if ((size(args) != 1))
604597 then throw("Wrong args size")
605598 else {
606599 let shareLimit = parseIntValue(args[0])
607600 $Tuple2(nil, $Tuple2([IntegerEntry(kShareLimit, shareLimit)], nil))
608601 }))
609602
610603
611604
612605 @Callable(i)
613606 func exchange (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
614607 let caller = Address(callerBytes)
615- let $t02321723293 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
616- let pmtAmount = $t02321723293._1
617- let pmtAssetId = $t02321723293._2
608+ let $t02298023056 = $Tuple2(pAmounts[0], parsePaymentAsset(pAssetIds[0]))
609+ let pmtAmount = $t02298023056._1
610+ let pmtAssetId = $t02298023056._2
618611 let minAmountToReceive = parseIntValue(args[0])
619- let $t02335823434 = getPoolAssets(i.caller)
620- let strAssetIdA = $t02335823434._1
621- let strAssetIdB = $t02335823434._2
622- let assetIdA = $t02335823434._3
623- let assetIdB = $t02335823434._4
624- let $t02344323549 = getPoolBalances(i.caller, assetIdA, assetIdB)
625- let balanceA = $t02344323549._1
626- let balanceB = $t02344323549._2
627- let accountBalanceA = $t02344323549._3
628- let accountBalanceB = $t02344323549._4
612+ let $t02312123197 = getPoolAssets(i.caller)
613+ let strAssetIdA = $t02312123197._1
614+ let strAssetIdB = $t02312123197._2
615+ let assetIdA = $t02312123197._3
616+ let assetIdB = $t02312123197._4
617+ let $t02320623312 = getPoolBalances(i.caller, assetIdA, assetIdB)
618+ let balanceA = $t02320623312._1
619+ let balanceB = $t02320623312._2
620+ let accountBalanceA = $t02320623312._3
621+ let accountBalanceB = $t02320623312._4
629622 if ((size(args) != 1))
630623 then throw("Wrong args size")
631624 else if (if ((balanceA == 0))
632625 then true
633626 else (balanceB == 0))
634627 then throw("Can't exchange with zero balance")
635628 else if ((0 >= minAmountToReceive))
636629 then throw(("Minimal amount to receive must be positive. Actual: " + toString(minAmountToReceive)))
637630 else if ((size(pAmounts) != 1))
638631 then throw("One attached payment expected")
639632 else if (!(containsElement([assetIdA, assetIdB], pmtAssetId)))
640633 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
641634 else if (if ((balanceA > accountBalanceA))
642635 then true
643636 else (balanceB > accountBalanceB))
644637 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
645638 else {
646- let $t02444924516 = getFeeParams(i.caller, i.originCaller)
647- let fee = $t02444924516._1
648- let govFee = $t02444924516._2
649- let teamFee = $t02444924516._3
650- let $t02452924880 = if ((pmtAssetId == assetIdA))
639+ let $t02421224279 = getFeeParams(i.caller, i.originCaller)
640+ let fee = $t02421224279._1
641+ let govFee = $t02421224279._2
642+ let teamFee = $t02421224279._3
643+ let $t02429224643 = if ((pmtAssetId == assetIdA))
651644 then calculateFees(pmtAmount, minAmountToReceive, balanceA, balanceB, fee, govFee, teamFee)
652645 else calculateFees(pmtAmount, minAmountToReceive, balanceB, balanceA, fee, govFee, teamFee)
653- let amountWithoutFee = $t02452924880._1
654- let amountWithFee = $t02452924880._2
655- let governanceReward = $t02452924880._3
656- let teamReward = $t02452924880._4
657- let $t02489425229 = if ((pmtAssetId == assetIdA))
646+ let amountWithoutFee = $t02429224643._1
647+ let amountWithFee = $t02429224643._2
648+ let governanceReward = $t02429224643._3
649+ let teamReward = $t02429224643._4
650+ let $t02465724992 = if ((pmtAssetId == assetIdA))
658651 then $Tuple3((balanceA + pmtAmount), (((balanceB - amountWithFee) - governanceReward) - teamReward), assetIdB)
659652 else $Tuple3((((balanceA - amountWithFee) - governanceReward) - teamReward), (balanceB + pmtAmount), assetIdA)
660- let newBalanceA = $t02489425229._1
661- let newBalanceB = $t02489425229._2
662- let assetIdSend = $t02489425229._3
663- let $t02524325503 = if ((pmtAssetId == assetIdA))
653+ let newBalanceA = $t02465724992._1
654+ let newBalanceB = $t02465724992._2
655+ let assetIdSend = $t02465724992._3
656+ let $t02500625266 = if ((pmtAssetId == assetIdA))
664657 then $Tuple2(pmtAmount, ((amountWithFee + governanceReward) + teamReward))
665658 else $Tuple2(((amountWithFee + governanceReward) + teamReward), pmtAmount)
666- let stakeAmountA = $t02524325503._1
667- let stakeAmountB = $t02524325503._2
659+ let stakeAmountA = $t02500625266._1
660+ let stakeAmountB = $t02500625266._2
668661 let stake1 = if (contains(stakingAssets, strAssetIdA))
669662 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdA), stakeAmountA, strAssetIdA], nil)
670663 else 0
671664 if ((stake1 == stake1))
672665 then {
673666 let stake2 = if (contains(stakingAssets, strAssetIdB))
674667 then invoke(i.caller, "stakeUnstake", [(pmtAssetId == assetIdB), stakeAmountB, strAssetIdB], nil)
675668 else 0
676669 if ((stake2 == stake2))
677670 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), ScriptTransfer(caller, amountWithFee, assetIdSend), ScriptTransfer(moneyBoxAddress, governanceReward, assetIdSend), ScriptTransfer(teamBoxAddress, teamReward, assetIdSend)], [amountWithFee, assetIdSend]))
678671 else throw("Strict value is not equal to itself.")
679672 }
680673 else throw("Strict value is not equal to itself.")
681674 }
682675 })))
683676
684677
685678
686679 @Callable(i)
687680 func replenishWithTwoTokens (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
688681 let caller = Address(callerBytes)
689682 let pmtAssetIdA = parsePaymentAsset(pAssetIds[0])
690683 let pmtAssetIdB = parsePaymentAsset(pAssetIds[1])
691684 let stakeFarming = (args[0] == "true")
692685 let lockType = parseIntValue(args[1])
693- let $t02681826908 = getPoolAssets(i.caller)
694- let strAssetIdA = $t02681826908._1
695- let strAssetIdB = $t02681826908._2
696- let assetIdA = $t02681826908._3
697- let assetIdB = $t02681826908._4
698- let shareAssetId = $t02681826908._5
699- let $t02691727041 = getPoolBalances(i.caller, assetIdA, assetIdB)
700- let balanceA = $t02691727041._1
701- let balanceB = $t02691727041._2
702- let accountBalanceA = $t02691727041._3
703- let accountBalanceB = $t02691727041._4
704- let shareAssetSupply = $t02691727041._5
686+ let $t02658126671 = getPoolAssets(i.caller)
687+ let strAssetIdA = $t02658126671._1
688+ let strAssetIdB = $t02658126671._2
689+ let assetIdA = $t02658126671._3
690+ let assetIdB = $t02658126671._4
691+ let shareAssetId = $t02658126671._5
692+ let $t02668026804 = getPoolBalances(i.caller, assetIdA, assetIdB)
693+ let balanceA = $t02668026804._1
694+ let balanceB = $t02668026804._2
695+ let accountBalanceA = $t02668026804._3
696+ let accountBalanceB = $t02668026804._4
697+ let shareAssetSupply = $t02668026804._5
705698 if ((size(args) != 2))
706699 then throw("Wrong args size")
707700 else if (if ((size(pAmounts) != 2))
708701 then (size(pAmounts) != 3)
709702 else false)
710703 then throw("Two or three payments expected")
711704 else if (if ((pmtAssetIdA != assetIdA))
712705 then true
713706 else (pmtAssetIdB != assetIdB))
714707 then throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
715708 else if (if ((balanceA > accountBalanceA))
716709 then true
717710 else (balanceB > accountBalanceB))
718711 then $Tuple2(nil, ([ScriptTransfer(caller, pAmounts[0], pmtAssetIdA), ScriptTransfer(caller, pAmounts[1], pmtAssetIdB)] ++ (if ((size(pAmounts) == 3))
719712 then [AttachedPayment(if ((pAssetIds[2] == base58''))
720713 then unit
721714 else pAssetIds[2], pAmounts[2])]
722715 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
723716 else {
724- let $t02797828176 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
725- let shareTokenToPayAmount = $t02797828176._1
726- let change = $t02797828176._2
727- let changeAssetId = $t02797828176._3
728- let pmtAmountA = $t02797828176._4
729- let pmtAmountB = $t02797828176._5
717+ let $t02774127939 = calcLPAmountReplensishTwoTokens(pAmounts[0], pAmounts[1], pmtAssetIdA, pmtAssetIdB, balanceA, balanceB, shareAssetSupply)
718+ let shareTokenToPayAmount = $t02774127939._1
719+ let change = $t02774127939._2
720+ let changeAssetId = $t02774127939._3
721+ let pmtAmountA = $t02774127939._4
722+ let pmtAmountB = $t02774127939._5
730723 if ((shareTokenToPayAmount == 0))
731724 then throw("Too small amount to replenish")
732725 else if ((0 > change))
733726 then throw("Change < 0")
734727 else {
735728 let stake1 = if (contains(stakingAssets, strAssetIdA))
736729 then invoke(i.caller, "stakeUnstake", [true, pmtAmountA, strAssetIdA], nil)
737730 else 0
738731 if ((stake1 == stake1))
739732 then {
740733 let stake2 = if (contains(stakingAssets, strAssetIdB))
741734 then invoke(i.caller, "stakeUnstake", [true, pmtAmountB, strAssetIdB], nil)
742735 else 0
743736 if ((stake2 == stake2))
744737 then {
745738 let shareTokenST = if (stakeFarming)
746739 then {
747740 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 3))
748741 then [AttachedPayment(if ((pAssetIds[2] == base58''))
749742 then unit
750743 else pAssetIds[2], pAmounts[2])]
751744 else nil))
752745 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
753746 if ((reissue == reissue))
754747 then {
755748 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
756749 if ((stake3 == stake3))
757750 then nil
758751 else throw("Strict value is not equal to itself.")
759752 }
760753 else throw("Strict value is not equal to itself.")
761754 }
762755 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
763756 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(caller, change, changeAssetId)] ++ shareTokenST), nil))
764757 }
765758 else throw("Strict value is not equal to itself.")
766759 }
767760 else throw("Strict value is not equal to itself.")
768761 }
769762 }
770763 })))
771764
772765
773766
774767 @Callable(i)
775768 func replenishWithOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
776769 let caller = Address(callerBytes)
777770 let pmtAssetId = parsePaymentAsset(pAssetIds[0])
778771 let pmtAmount = pAmounts[0]
779772 let virtGetMinAmount = parseIntValue(args[0])
780773 let stakeFarming = (args[1] == "true")
781774 let lockType = parseIntValue(args[2])
782- let $t03043530525 = getPoolAssets(i.caller)
783- let strAssetIdA = $t03043530525._1
784- let strAssetIdB = $t03043530525._2
785- let assetIdA = $t03043530525._3
786- let assetIdB = $t03043530525._4
787- let shareAssetId = $t03043530525._5
788- let $t03053030654 = getPoolBalances(i.caller, assetIdA, assetIdB)
789- let balanceA = $t03053030654._1
790- let balanceB = $t03053030654._2
791- let accountBalanceA = $t03053030654._3
792- let accountBalanceB = $t03053030654._4
793- let shareAssetSupply = $t03053030654._5
775+ let $t03019830288 = getPoolAssets(i.caller)
776+ let strAssetIdA = $t03019830288._1
777+ let strAssetIdB = $t03019830288._2
778+ let assetIdA = $t03019830288._3
779+ let assetIdB = $t03019830288._4
780+ let shareAssetId = $t03019830288._5
781+ let $t03029330417 = getPoolBalances(i.caller, assetIdA, assetIdB)
782+ let balanceA = $t03029330417._1
783+ let balanceB = $t03029330417._2
784+ let accountBalanceA = $t03029330417._3
785+ let accountBalanceB = $t03029330417._4
786+ let shareAssetSupply = $t03029330417._5
794787 let initial = ((balanceA + balanceB) == 0)
795788 if ((size(args) != 3))
796789 then throw("Wrong args size")
797790 else if (if ((size(pAmounts) != 1))
798791 then (size(pAmounts) != 2)
799792 else false)
800793 then throw("Two or one attached assets expected")
801794 else if (if ((pmtAssetId != assetIdA))
802795 then (pmtAssetId != assetIdB)
803796 else false)
804797 then throw(((("Incorrect asset attached. Expected: " + strAssetIdA) + " or ") + strAssetIdB))
805798 else if (initial)
806799 then throw("For initial exchanger you need to use two tokens")
807800 else if (if ((balanceA > accountBalanceA))
808801 then true
809802 else (balanceB > accountBalanceB))
810803 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ (if ((size(pAmounts) == 2))
811804 then [AttachedPayment(if ((pAssetIds[2] == base58''))
812805 then unit
813806 else pAssetIds[2], pAmounts[2])]
814807 else (nil ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))))
815808 else {
816- let $t03156631633 = getFeeParams(i.caller, i.originCaller)
817- let fee = $t03156631633._1
818- let govFee = $t03156631633._2
819- let teamFee = $t03156631633._3
820- let $t03164231704 = getAssetInfo(pmtAssetId)
821- let pmtAssetIdStr = $t03164231704._1
822- let pmtAssetIdName = $t03164231704._2
823- let $t03172231968 = calcLPAmountReplansishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
824- let shareTokenToPayAmount = $t03172231968._1
825- let newBalanceA = $t03172231968._2
826- let newBalanceB = $t03172231968._3
827- let govReward = $t03172231968._4
828- let teamReward = $t03172231968._5
829- let govRewardAsset = $t03172231968._6
809+ let $t03132931396 = getFeeParams(i.caller, i.originCaller)
810+ let fee = $t03132931396._1
811+ let govFee = $t03132931396._2
812+ let teamFee = $t03132931396._3
813+ let $t03140531467 = getAssetInfo(pmtAssetId)
814+ let pmtAssetIdStr = $t03140531467._1
815+ let pmtAssetIdName = $t03140531467._2
816+ let $t03148531731 = calcLPAmountReplansishOneToken(pmtAmount, pmtAssetId, assetIdA, assetIdB, balanceA, balanceB, shareAssetSupply, fee, govFee, teamFee, virtGetMinAmount)
817+ let shareTokenToPayAmount = $t03148531731._1
818+ let newBalanceA = $t03148531731._2
819+ let newBalanceB = $t03148531731._3
820+ let govReward = $t03148531731._4
821+ let teamReward = $t03148531731._5
822+ let govRewardAsset = $t03148531731._6
830823 let govRewardAssetStr = if ((govRewardAsset == assetIdA))
831824 then strAssetIdA
832825 else strAssetIdB
833826 if ((shareTokenToPayAmount == 0))
834827 then throw("Too small amount to replenish")
835828 else {
836829 let stake1 = if (contains(stakingAssets, pmtAssetIdStr))
837830 then invoke(i.caller, "stakeUnstake", [true, pmtAmount, pmtAssetIdStr], nil)
838831 else 0
839832 if ((stake1 == stake1))
840833 then {
841834 let stake2 = if (contains(stakingAssets, govRewardAssetStr))
842835 then invoke(i.caller, "stakeUnstake", [false, (govReward + teamReward), govRewardAssetStr], nil)
843836 else 0
844837 if ((stake2 == stake2))
845838 then {
846839 let shareTokenST = if (stakeFarming)
847840 then {
848841 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(pAmounts) == 2))
849842 then [AttachedPayment(if ((pAssetIds[1] == base58''))
850843 then unit
851844 else pAssetIds[1], pAmounts[1])]
852845 else nil))
853846 let reissue = invoke(i.caller, "reissueShareToken", [shareTokenToPayAmount], nil)
854847 if ((reissue == reissue))
855848 then {
856849 let stake3 = invoke(farmingAddress, "lockShareTokensFromPool", [callerBytes, toString(i.caller), lockType], stPayments)
857850 if ((stake3 == stake3))
858851 then nil
859852 else throw("Strict value is not equal to itself.")
860853 }
861854 else throw("Strict value is not equal to itself.")
862855 }
863856 else [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(caller, shareTokenToPayAmount, shareAssetId)]
864857 $Tuple2(nil, $Tuple2(([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), ScriptTransfer(moneyBoxAddress, govReward, govRewardAsset), ScriptTransfer(teamBoxAddress, teamReward, govRewardAsset)] ++ shareTokenST), nil))
865858 }
866859 else throw("Strict value is not equal to itself.")
867860 }
868861 else throw("Strict value is not equal to itself.")
869862 }
870863 }
871864 })))
872865
873866
874867
875868 @Callable(i)
876869 func withdraw (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
877870 let caller = Address(callerBytes)
878- let $t03403634126 = getPoolAssets(i.caller)
879- let strAssetIdA = $t03403634126._1
880- let strAssetIdB = $t03403634126._2
881- let assetIdA = $t03403634126._3
882- let assetIdB = $t03403634126._4
883- let shareAssetId = $t03403634126._5
884- let $t03413534259 = getPoolBalances(i.caller, assetIdA, assetIdB)
885- let balanceA = $t03413534259._1
886- let balanceB = $t03413534259._2
887- let accountBalanceA = $t03413534259._3
888- let accountBalanceB = $t03413534259._4
889- let shareAssetSupply = $t03413534259._5
890- let $t03426834648 = if ((size(pAmounts) == 1))
871+ let $t03379933889 = getPoolAssets(i.caller)
872+ let strAssetIdA = $t03379933889._1
873+ let strAssetIdB = $t03379933889._2
874+ let assetIdA = $t03379933889._3
875+ let assetIdB = $t03379933889._4
876+ let shareAssetId = $t03379933889._5
877+ let $t03389834022 = getPoolBalances(i.caller, assetIdA, assetIdB)
878+ let balanceA = $t03389834022._1
879+ let balanceB = $t03389834022._2
880+ let accountBalanceA = $t03389834022._3
881+ let accountBalanceB = $t03389834022._4
882+ let shareAssetSupply = $t03389834022._5
883+ let $t03403134411 = if ((size(pAmounts) == 1))
891884 then {
892885 let pAsset = parsePaymentAsset(pAssetIds[0])
893886 if ((pAsset != shareAssetId))
894887 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
895888 else $Tuple2(pAmounts[0], pAsset)
896889 }
897890 else $Tuple2(0, shareAssetId)
898- let pmtAmount = $t03426834648._1
899- let pmtAssetId = $t03426834648._2
891+ let pmtAmount = $t03403134411._1
892+ let pmtAssetId = $t03403134411._2
900893 if ((size(args) != 1))
901894 then throw("Wrong args size")
902895 else if ((size(pAmounts) > 1))
903896 then throw("One attached payment expected")
904897 else if (if ((balanceA > accountBalanceA))
905898 then true
906899 else (balanceB > accountBalanceB))
907900 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
908901 else {
909902 let unlockAmount = parseIntValue(valueOrElse(args[0], "0"))
910903 let unlock = if ((unlockAmount > 0))
911904 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
912905 else 0
913906 if ((unlock == unlock))
914907 then {
915908 let withdrawAmount = (pmtAmount + unlockAmount)
916909 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
917910 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
918911 let stake1 = if (contains(stakingAssets, strAssetIdA))
919912 then invoke(i.caller, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
920913 else 0
921914 if ((stake1 == stake1))
922915 then {
923916 let stake2 = if (contains(stakingAssets, strAssetIdB))
924917 then invoke(i.caller, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
925918 else 0
926919 if ((stake2 == stake2))
927920 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))
928921 else throw("Strict value is not equal to itself.")
929922 }
930923 else throw("Strict value is not equal to itself.")
931924 }
932925 else throw("Strict value is not equal to itself.")
933926 }
934927 }))
935928
936929
937930
938931 @Callable(i)
939932 func withdrawOneToken (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isDepricated(toString(i.caller)), valueOrElse(isActive(), {
940933 let caller = Address(callerBytes)
941934 let withdrawAsset = if ((args[0] == ""))
942935 then unit
943936 else fromBase58String(args[0])
944- let $t03686636956 = getPoolAssets(i.caller)
945- let strAssetIdA = $t03686636956._1
946- let strAssetIdB = $t03686636956._2
947- let assetIdA = $t03686636956._3
948- let assetIdB = $t03686636956._4
949- let shareAssetId = $t03686636956._5
950- let $t03696537089 = getPoolBalances(i.caller, assetIdA, assetIdB)
951- let balanceA = $t03696537089._1
952- let balanceB = $t03696537089._2
953- let accountBalanceA = $t03696537089._3
954- let accountBalanceB = $t03696537089._4
955- let shareAssetSupply = $t03696537089._5
956- let $t03709837450 = if ((size(pAmounts) == 1))
937+ let $t03662936719 = getPoolAssets(i.caller)
938+ let strAssetIdA = $t03662936719._1
939+ let strAssetIdB = $t03662936719._2
940+ let assetIdA = $t03662936719._3
941+ let assetIdB = $t03662936719._4
942+ let shareAssetId = $t03662936719._5
943+ let $t03672836852 = getPoolBalances(i.caller, assetIdA, assetIdB)
944+ let balanceA = $t03672836852._1
945+ let balanceB = $t03672836852._2
946+ let accountBalanceA = $t03672836852._3
947+ let accountBalanceB = $t03672836852._4
948+ let shareAssetSupply = $t03672836852._5
949+ let $t03686137213 = if ((size(pAmounts) == 1))
957950 then {
958951 let pAsset = parsePaymentAsset(pAssetIds[0])
959952 if ((pAsset != shareAssetId))
960953 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
961954 else $Tuple2(pAmounts[0], pAsset)
962955 }
963956 else $Tuple2(0, shareAssetId)
964- let pmtAmount = $t03709837450._1
965- let pmtAssetId = $t03709837450._2
957+ let pmtAmount = $t03686137213._1
958+ let pmtAssetId = $t03686137213._2
966959 let virtMinToRecive = parseIntValue(args[1])
967960 if ((size(args) != 3))
968961 then throw("Wrong args size")
969962 else if ((size(pAmounts) > 1))
970963 then throw("One attached payment expected")
971964 else if ((pmtAssetId != shareAssetId))
972965 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
973966 else if (!(containsElement([assetIdA, assetIdB], withdrawAsset)))
974967 then throw("Incorrect withdraw asset.")
975968 else if (if ((balanceA > accountBalanceA))
976969 then true
977970 else (balanceB > accountBalanceB))
978971 then $Tuple2(nil, ([ScriptTransfer(caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious(accountBalanceA, accountBalanceB, balanceA, balanceB, strAssetIdA, strAssetIdB)))
979972 else {
980973 let unlockAmount = parseIntValue(valueOrElse(args[2], "0"))
981974 let unlock = if ((unlockAmount > 0))
982975 then invoke(farmingAddress, "withdrawShareTokensFromPool", [callerBytes, toString(i.caller), unlockAmount], nil)
983976 else 0
984977 if ((unlock == unlock))
985978 then {
986979 let withdrawAmount = (pmtAmount + unlockAmount)
987980 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
988981 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
989- let $t03871738784 = getFeeParams(i.caller, i.originCaller)
990- let fee = $t03871738784._1
991- let govFee = $t03871738784._2
992- let teamFee = $t03871738784._3
993- let $t03879739211 = if ((withdrawAsset == assetIdA))
982+ let $t03848038547 = getFeeParams(i.caller, i.originCaller)
983+ let fee = $t03848038547._1
984+ let govFee = $t03848038547._2
985+ let teamFee = $t03848038547._3
986+ let $t03856038974 = if ((withdrawAsset == assetIdA))
994987 then calculateFees(amountToPayB, virtMinToRecive, (balanceB - amountToPayB), (balanceA - amountToPayA), fee, govFee, teamFee)
995988 else calculateFees(amountToPayA, virtMinToRecive, (balanceA - amountToPayA), (balanceB - amountToPayB), fee, govFee, teamFee)
996- let amountWithoutFee = $t03879739211._1
997- let amountWithFee = $t03879739211._2
998- let governanceReward = $t03879739211._3
999- let teamReward = $t03879739211._4
1000- let $t03922440534 = if ((withdrawAsset == assetIdA))
989+ let amountWithoutFee = $t03856038974._1
990+ let amountWithFee = $t03856038974._2
991+ let governanceReward = $t03856038974._3
992+ let teamReward = $t03856038974._4
993+ let $t03898740297 = if ((withdrawAsset == assetIdA))
1001994 then {
1002995 let unstake = if (contains(stakingAssets, strAssetIdA))
1003996 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayA + amountWithFee) + governanceReward) + teamReward), strAssetIdA], nil)
1004997 else 0
1005998 if ((unstake == unstake))
1006999 then $Tuple4(((((balanceA - amountToPayA) - amountWithFee) - governanceReward) - teamReward), balanceB, assetIdA, [ScriptTransfer(caller, (amountToPayA + amountWithFee), assetIdA)])
10071000 else throw("Strict value is not equal to itself.")
10081001 }
10091002 else {
10101003 let unstake = if (contains(stakingAssets, strAssetIdB))
10111004 then invoke(i.caller, "stakeUnstake", [false, (((amountToPayB + amountWithFee) + governanceReward) + teamReward), strAssetIdB], nil)
10121005 else 0
10131006 if ((unstake == unstake))
10141007 then $Tuple4(balanceA, ((((balanceB - amountToPayB) - amountWithFee) - governanceReward) - teamReward), assetIdB, [ScriptTransfer(caller, (amountToPayB + amountWithFee), assetIdB)])
10151008 else throw("Strict value is not equal to itself.")
10161009 }
1017- let newBalanceA = $t03922440534._1
1018- let newBalanceB = $t03922440534._2
1019- let govRewardAssetId = $t03922440534._3
1020- let userTransfer = $t03922440534._4
1010+ let newBalanceA = $t03898740297._1
1011+ let newBalanceB = $t03898740297._2
1012+ let govRewardAssetId = $t03898740297._3
1013+ let userTransfer = $t03898740297._4
10211014 $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))
10221015 }
10231016 else throw("Strict value is not equal to itself.")
10241017 }
10251018 })))
10261019
10271020
10281021
10291022 @Callable(i)
10301023 func takeIntoAccountExtraFunds (callerBytes,args,pAmounts,pAssetIds) = valueOrElse(isOraclePool(toString(i.caller)), valueOrElse(isActive(), {
1031- let $t04129441370 = getPoolAssets(i.caller)
1032- let strAssetIdA = $t04129441370._1
1033- let strAssetIdB = $t04129441370._2
1034- let assetIdA = $t04129441370._3
1035- let assetIdB = $t04129441370._4
1024+ let $t04105741133 = getPoolAssets(i.caller)
1025+ let strAssetIdA = $t04105741133._1
1026+ let strAssetIdB = $t04105741133._2
1027+ let assetIdA = $t04105741133._3
1028+ let assetIdB = $t04105741133._4
10361029 let claim = if (if ((assetIdA == USDN))
10371030 then true
10381031 else (assetIdB == USDN))
10391032 then invoke(i.caller, "claimNetrinoRewards", nil, nil)
10401033 else 0
10411034 if ((claim == claim))
10421035 then {
1043- let $t04153041636 = getPoolBalances(i.caller, assetIdA, assetIdB)
1044- let balanceA = $t04153041636._1
1045- let balanceB = $t04153041636._2
1046- let accountBalanceA = $t04153041636._3
1047- let accountBalanceB = $t04153041636._4
1036+ let $t04129341399 = getPoolBalances(i.caller, assetIdA, assetIdB)
1037+ let balanceA = $t04129341399._1
1038+ let balanceB = $t04129341399._2
1039+ let accountBalanceA = $t04129341399._3
1040+ let accountBalanceB = $t04129341399._4
10481041 let amountEnrollA = (accountBalanceA - balanceA)
10491042 let amountEnrollB = (accountBalanceB - balanceB)
10501043 if ((size(args) != 0))
10511044 then throw("Wrong args size")
10521045 else if ((moneyBoxAddress != i.originCaller))
10531046 then throw("Only the wallet can call this function")
10541047 else if (if ((0 > amountEnrollA))
10551048 then true
10561049 else (0 > amountEnrollB))
10571050 then suspend("Enroll amount negative")
10581051 else if (if ((amountEnrollA == 0))
10591052 then (amountEnrollB == 0)
10601053 else false)
10611054 then throw("No money to take")
10621055 else {
10631056 let stake1 = if (if (contains(stakingAssets, strAssetIdA))
10641057 then (amountEnrollA > 0)
10651058 else false)
10661059 then invoke(i.caller, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
10671060 else 0
10681061 if ((stake1 == stake1))
10691062 then {
10701063 let stake2 = if (if (contains(stakingAssets, strAssetIdB))
10711064 then (amountEnrollB > 0)
10721065 else false)
10731066 then invoke(i.caller, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
10741067 else 0
10751068 if ((stake2 == stake2))
10761069 then $Tuple2(nil, $Tuple2([IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))], nil))
10771070 else throw("Strict value is not equal to itself.")
10781071 }
10791072 else throw("Strict value is not equal to itself.")
10801073 }
10811074 }
10821075 else throw("Strict value is not equal to itself.")
10831076 }))
10841077
10851078
10861079 @Verifier(tx)
10871080 func verify () = {
10881081 let multiSignedByAdmins = {
10891082 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
10901083 then 1
10911084 else 0
10921085 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
10931086 then 1
10941087 else 0
10951088 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
10961089 then 1
10971090 else 0
10981091 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
10991092 }
11001093 multiSignedByAdmins
11011094 }
11021095

github/deemru/w8io/026f985 
192.07 ms