tx · AxEfEyEs8YwBVVDzHc6ehgNVkhK9mTwTX7Zx7cLsYXDg

3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX:  -0.14000000 Waves

2022.12.05 18:12 [2347216] smart account 3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX > SELF 0.00000000 Waves

{ "type": 13, "id": "AxEfEyEs8YwBVVDzHc6ehgNVkhK9mTwTX7Zx7cLsYXDg", "fee": 14000000, "feeAssetId": null, "timestamp": 1670253140071, "version": 2, "chainId": 84, "sender": "3MpygN8qm376tUAHB6mhC5BxG5NKYortiyX", "senderPublicKey": "BjnLnkAMaJLYAK36vQqSepUNjGeMDHfZGfmdYwGcLbmg", "proofs": [ "3ZtjwQTEQWD9SRgbmtTV753xndgCHtwQsGzuCuZD44246BBDketvJqoShrByTQ4RjkSdkAsGahF9z1CB86vDLYaT", "25ENpETff7LF2Yp8UW2SzBvAtq5QFtQ3Fi7rMMzuK2EvuHU7wJqdpKXQhnr3DJfiVaN5hzxJXHEX8UEKRELVvvR2" ], "script": "base64:BgJJCAISAwoBBBIECgIEARIGCgQBAQQBEgMKAQESBgoEAQgBARIECgIBARIDCgEBEgASABIAEgMKAQESBQoDBAEIEgASBAoCAQESAGsAB3ZlcnNpb24CBTIuMC4wAAhrVmVyc2lvbgIHdmVyc2lvbgAHa0FjdGl2ZQIGYWN0aXZlAAtrQWN0aXZlR2xvYgIUYWN0aXZlX2FsbF9jb250cmFjdHMACWtBc3NldElkQQIKQV9hc3NldF9pZAAJa0Fzc2V0SWRCAgpCX2Fzc2V0X2lkAAlrQmFsYW5jZUECD0FfYXNzZXRfYmFsYW5jZQAJa0JhbGFuY2VCAg9CX2Fzc2V0X2JhbGFuY2UADWtTaGFyZUFzc2V0SWQCDnNoYXJlX2Fzc2V0X2lkABFrU2hhcmVBc3NldFN1cHBseQISc2hhcmVfYXNzZXRfc3VwcGx5AARrRmVlAgpjb21taXNzaW9uAAprSW52YXJpYW50AglpbnZhcmlhbnQABmtDYXVzZQIO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jaDAEE2NhbGxUYWtlSW50b0FjY291bnQDCQAAAggFA2ludgRkQXBwBQR0aGlzCQAAAggFA2ludghmdW5jdGlvbgIZdGFrZUludG9BY2NvdW50RXh0cmFGdW5kcwcEDXNpZ25lZEJ5QWRtaW4DAwMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MQYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MgYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFDGFkbWluUHViS2V5MwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFEWFkbWluUHViS2V5SW52b2tlAwMFE2NhbGxUYWtlSW50b0FjY291bnQFDXNpZ25lZEJ5QWRtaW4HBgUTbXVsdGlTaWduZWRCeUFkbWlucwUTbXVsdGlTaWduZWRCeUFkbWlucyVbCH4=", "height": 2347216, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CPJBNgiqCoi4X64H6kPiZV8k5jRgYMuRPHtNh9CMpnJ4 Next: EKSesAnP68WHkuQ7YVvgEicae27p2jtHiVbgJ3s3rZkg Diff:
OldNewDifferences
381381
382382 func calculateFeeDiscount (userAddr) = {
383383 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
384- let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), 0)
384+ let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
385385 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
386386 let discounts = split(getStringValue(oracle, kDiscounts), ",")
387387 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
411411 let pmtAssetIdB = i.payments[1].assetId
412412 let ratioShareTokensInA = fraction(scale8, i.payments[0].amount, balanceA)
413413 let ratioShareTokensInB = fraction(scale8, i.payments[1].amount, balanceB)
414- let $t01230412381 = getAssetInfo(pmtAssetIdA)
415- let pmtStrAssetIdA = $t01230412381._1
416- let pmtAssetNameA = $t01230412381._2
417- let pmtDecimalsA = $t01230412381._3
418- let $t01238612503 = getAssetInfo(pmtAssetIdB)
419- let pmtStrAssetIdB = $t01238612503._1
420- let pmtAssetNameB = $t01238612503._2
421- let pmtDecimalsB = $t01238612503._3
422- let $t01250813012 = if ((ratioShareTokensInB > ratioShareTokensInA))
414+ let $t01231312390 = getAssetInfo(pmtAssetIdA)
415+ let pmtStrAssetIdA = $t01231312390._1
416+ let pmtAssetNameA = $t01231312390._2
417+ let pmtDecimalsA = $t01231312390._3
418+ let $t01239512512 = getAssetInfo(pmtAssetIdB)
419+ let pmtStrAssetIdB = $t01239512512._1
420+ let pmtAssetNameB = $t01239512512._2
421+ let pmtDecimalsB = $t01239512512._3
422+ let $t01251713021 = if ((ratioShareTokensInB > ratioShareTokensInA))
423423 then {
424424 let pmt = fraction(balanceB, ratioShareTokensInA, scale8, CEILING)
425425 $Tuple5(i.payments[0].amount, pmt, (i.payments[1].amount - pmt), pmtAssetIdB, ratioShareTokensInA)
428428 let pmt = fraction(balanceA, ratioShareTokensInB, scale8, CEILING)
429429 $Tuple5(pmt, i.payments[1].amount, (i.payments[0].amount - pmt), pmtAssetIdA, ratioShareTokensInB)
430430 }
431- let pmtAmountA = $t01250813012._1
432- let pmtAmountB = $t01250813012._2
433- let change = $t01250813012._3
434- let changeAssetId = $t01250813012._4
435- let shareTokenRatio = $t01250813012._5
431+ let pmtAmountA = $t01251713021._1
432+ let pmtAmountB = $t01251713021._2
433+ let change = $t01251713021._3
434+ let changeAssetId = $t01251713021._4
435+ let shareTokenRatio = $t01251713021._5
436436 let shareTokenToPayAmount = fraction(shareTokenRatio, shareAssetSupply, scale8)
437437 if (if ((size(i.payments) != 2))
438438 then (size(i.payments) != 3)
487487
488488
489489 func replenishWithOneTokenCalc (i,virtualSwapTokenPay,virtualSwapTokenGet,stakeFarming,lockType) = {
490- let $t01540215477 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
491- let pmtAmount = $t01540215477._1
492- let pmtAssetId = $t01540215477._2
493- let $t01548215555 = getAssetInfo(pmtAssetId)
494- let pmtStrAssetId = $t01548215555._1
495- let pmtAssetName = $t01548215555._2
496- let pmtDecimals = $t01548215555._3
490+ let $t01541115486 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
491+ let pmtAmount = $t01541115486._1
492+ let pmtAssetId = $t01541115486._2
493+ let $t01549115564 = getAssetInfo(pmtAssetId)
494+ let pmtStrAssetId = $t01549115564._1
495+ let pmtAssetName = $t01549115564._2
496+ let pmtDecimals = $t01549115564._3
497497 let pmtMinThreshold = 5000000
498498 let thresholdValueForMinTolerance = 50000000
499499 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
515515 else false)
516516 then throwAssets()
517517 else {
518- let $t01656217204 = if ((pmtAssetId == assetIdA))
518+ let $t01657117213 = if ((pmtAssetId == assetIdA))
519519 then $Tuple6((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), (balanceA + pmtAmount), balanceB)
520520 else $Tuple6(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), balanceA, (balanceB + pmtAmount))
521- let virtualReplenishA = $t01656217204._1
522- let virtualReplenishB = $t01656217204._2
523- let balanceAfterSwapA = $t01656217204._3
524- let balanceAfterSwapB = $t01656217204._4
525- let newBalanceA = $t01656217204._5
526- let newBalanceB = $t01656217204._6
521+ let virtualReplenishA = $t01657117213._1
522+ let virtualReplenishB = $t01657117213._2
523+ let balanceAfterSwapA = $t01657117213._3
524+ let balanceAfterSwapB = $t01657117213._4
525+ let newBalanceA = $t01657117213._5
526+ let newBalanceB = $t01657117213._6
527527 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
528528 let ratioVirtualBalanceToVirtualReplenish = (fraction(scale16, balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
529529 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
547547 let shareTokenGovernanceReward = fraction(shareTokenToPayAmount, (feeGovernance / 2), feeScale6)
548548 let governanceRewardTokenA = fraction(shareTokenGovernanceReward, balanceA, shareAssetSupply)
549549 let governanceRewardTokenB = fraction(shareTokenGovernanceReward, balanceB, shareAssetSupply)
550- let $t01919419489 = if ((pmtStrAssetId == strAssetIdA))
550+ let $t01920319498 = if ((pmtStrAssetId == strAssetIdA))
551551 then $Tuple3((pmtAmount - governanceRewardTokenA), governanceRewardTokenB, strAssetIdB)
552552 else $Tuple3((pmtAmount - governanceRewardTokenB), governanceRewardTokenA, strAssetIdA)
553- let stakeAmount = $t01919419489._1
554- let unstakeAmount = $t01919419489._2
555- let unstakeAsset = $t01919419489._3
553+ let stakeAmount = $t01920319498._1
554+ let unstakeAmount = $t01920319498._2
555+ let unstakeAsset = $t01920319498._3
556556 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
557557 then invoke(this, "stakeUnstake", [true, stakeAmount, pmtStrAssetId], nil)
558558 else 0
592592
593593
594594 func withdrawCalc (i,unlockAmount) = {
595- let $t02147621811 = if ((size(i.payments) == 1))
595+ let $t02148521820 = if ((size(i.payments) == 1))
596596 then if ((i.payments[0].assetId != shareAssetId))
597597 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
598598 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
599599 else $Tuple2(0, shareAssetId)
600- let pmtAmount = $t02147621811._1
601- let pmtAssetId = $t02147621811._2
600+ let pmtAmount = $t02148521820._1
601+ let pmtAssetId = $t02148521820._2
602602 if (!(hasEnoughBalance))
603603 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
604604 else {
632632
633633 @Callable(i)
634634 func init (firstHarvest) = {
635- let $t02336323440 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
636- let pmtAmountA = $t02336323440._1
637- let pmtAssetIdA = $t02336323440._2
638- let $t02344523522 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
639- let pmtAmountB = $t02344523522._1
640- let pmtAssetIdB = $t02344523522._2
641- let $t02352723604 = getAssetInfo(pmtAssetIdA)
642- let pmtStrAssetIdA = $t02352723604._1
643- let pmtAssetNameA = $t02352723604._2
644- let pmtDecimalsA = $t02352723604._3
645- let $t02360923686 = getAssetInfo(pmtAssetIdB)
646- let pmtStrAssetIdB = $t02360923686._1
647- let pmtAssetNameB = $t02360923686._2
648- let pmtDecimalsB = $t02360923686._3
635+ let $t02337223449 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
636+ let pmtAmountA = $t02337223449._1
637+ let pmtAssetIdA = $t02337223449._2
638+ let $t02345423531 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
639+ let pmtAmountB = $t02345423531._1
640+ let pmtAssetIdB = $t02345423531._2
641+ let $t02353623613 = getAssetInfo(pmtAssetIdA)
642+ let pmtStrAssetIdA = $t02353623613._1
643+ let pmtAssetNameA = $t02353623613._2
644+ let pmtDecimalsA = $t02353623613._3
645+ let $t02361823695 = getAssetInfo(pmtAssetIdB)
646+ let pmtStrAssetIdB = $t02361823695._1
647+ let pmtAssetNameB = $t02361823695._2
648+ let pmtDecimalsB = $t02361823695._3
649649 if (isDefined(getBoolean(this, kActive)))
650650 then throwIsActive()
651651 else if ((pmtAssetIdA == pmtAssetIdB))
698698
699699 @Callable(i)
700700 func withdrawOneToken (unlockAmount,withdrawAsset,estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), {
701- let $t02705627391 = if ((size(i.payments) == 1))
701+ let $t02706527400 = if ((size(i.payments) == 1))
702702 then if ((i.payments[0].assetId != shareAssetId))
703703 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
704704 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
705705 else $Tuple2(0, shareAssetId)
706- let pmtAmount = $t02705627391._1
707- let pmtAssetId = $t02705627391._2
706+ let pmtAmount = $t02706527400._1
707+ let pmtAssetId = $t02706527400._2
708708 let withdrawAmount = (pmtAmount + unlockAmount)
709709 if (if ((withdrawAsset != strAssetIdA))
710710 then (withdrawAsset != strAssetIdB)
730730 else calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, amountToPayA, assetIdA, newVirtBalcA, newVirtBalcB, invariantCalc(newVirtBalcA, newVirtBalcB))
731731 let govReward = fraction(amountExchangedWithFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
732732 let amountExchanged = fraction(amountExchangedWithFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
733- let $t02899429323 = if ((withdrawAsset == strAssetIdA))
733+ let $t02900329332 = if ((withdrawAsset == strAssetIdA))
734734 then $Tuple3((amountToPayA + amountExchanged), (((balanceA - amountToPayA) - amountExchanged) - govReward), balanceB)
735735 else $Tuple3((amountToPayB + amountExchanged), balanceA, (((balanceB - amountToPayB) - amountExchanged) - govReward))
736- let amountToPay = $t02899429323._1
737- let balanceANew = $t02899429323._2
738- let balanceBNew = $t02899429323._3
736+ let amountToPay = $t02900329332._1
737+ let balanceANew = $t02900329332._2
738+ let balanceBNew = $t02900329332._3
739739 let invariantCalculated = invariantCalc(balanceANew, balanceBNew)
740740 let stake1 = if (contains(stakingAssets, withdrawAsset))
741741 then invoke(this, "stakeUnstake", [false, (amountToPay + govReward), withdrawAsset], nil)
752752
753753 @Callable(i)
754754 func exchange (estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), {
755- let $t03019630271 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
756- let pmtAmount = $t03019630271._1
757- let pmtAssetId = $t03019630271._2
755+ let $t03020530280 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
756+ let pmtAmount = $t03020530280._1
757+ let pmtAssetId = $t03020530280._2
758758 if ((0 >= estimatedAmountToReceive))
759759 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
760760 else if ((minAmountToReceive > estimatedAmountToReceive))
781781 let feeDiscount = calculateFeeDiscount(i.originCaller)
782782 let governanceReward = fraction(amount, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
783783 let amountMinusFee = fraction(amount, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
784- let $t03175532017 = if ((pmtAssetId == assetIdA))
784+ let $t03176432026 = if ((pmtAssetId == assetIdA))
785785 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
786786 else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
787- let newBalanceA = $t03175532017._1
788- let newBalanceB = $t03175532017._2
787+ let newBalanceA = $t03176432026._1
788+ let newBalanceB = $t03176432026._2
789789 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
790790 if (if ((dAppThresholdAmount > newBalanceA))
791791 then true
792792 else (dAppThresholdAmount > newBalanceB))
793793 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
794794 else {
795- let $t03231632389 = getAssetInfo(pmtAssetId)
796- let pmtStrAssetId = $t03231632389._1
797- let pmtAssetName = $t03231632389._2
798- let pmtDecimals = $t03231632389._3
799- let $t03240232479 = getAssetInfo(sendAssetId)
800- let sendStrAssetId = $t03240232479._1
801- let sendAssetName = $t03240232479._2
802- let sendDecimals = $t03240232479._3
795+ let $t03232532398 = getAssetInfo(pmtAssetId)
796+ let pmtStrAssetId = $t03232532398._1
797+ let pmtAssetName = $t03232532398._2
798+ let pmtDecimals = $t03232532398._3
799+ let $t03241132488 = getAssetInfo(sendAssetId)
800+ let sendStrAssetId = $t03241132488._1
801+ let sendAssetName = $t03241132488._2
802+ let sendDecimals = $t03241132488._3
803803 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
804804 then invoke(this, "stakeUnstake", [true, pmtAmount, pmtStrAssetId], nil)
805805 else 0
885885 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
886886 then throw("Only contract itself can invoke this function")
887887 else {
888- let $t03578135884 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
889- let call = $t03578135884._1
890- let addr = $t03578135884._2
891- let params = $t03578135884._3
892- let payments = $t03578135884._4
888+ let $t03579035893 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
889+ let call = $t03579035893._1
890+ let addr = $t03579035893._2
891+ let params = $t03579035893._3
892+ let payments = $t03579035893._4
893893 let inv = invoke(addr, call, params, payments)
894894 if ((inv == inv))
895895 then nil
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let version = "2.0.0"
55
66 let kVersion = "version"
77
88 let kActive = "active"
99
1010 let kActiveGlob = "active_all_contracts"
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 kShareAssetId = "share_asset_id"
2121
2222 let kShareAssetSupply = "share_asset_supply"
2323
2424 let kFee = "commission"
2525
2626 let kInvariant = "invariant"
2727
2828 let kCause = "shutdown_cause"
2929
3030 let kUSDNAddress = "staking_usdnnsbt_address"
3131
3232 let kEURNAddress = "staking_eurn_address"
3333
3434 let kDiscounts = "discounts"
3535
3636 let kDiscountValues = "discount_values"
3737
3838 let kUserSwopInGov = "_SWOP_amount"
3939
4040 let kUserGSwopInGov = "_GSwop_amount"
4141
4242 let kFirstHarvest = "first_harvest"
4343
4444 let kFirstHarvestHeight = "first_harvest_height"
4545
4646 let kShareLimit = "share_limit_on_first_harvest"
4747
4848 let kBasePeriod = "base_period"
4949
5050 let kPeriodLength = "period_length"
5151
5252 let kStartHeight = "start_height"
5353
5454 let kAdminPubKey1 = "admin_pub_1"
5555
5656 let kAdminPubKey2 = "admin_pub_2"
5757
5858 let kAdminPubKey3 = "admin_pub_3"
5959
6060 let kAdminInvokePubKey = "admin_invoke_pub"
6161
6262 let kMoneyBoxAddress = "money_box_address"
6363
6464 let kGovAddress = "governance_address"
6565
6666 let kFarmingAddress = "farming_address"
6767
6868 let kVotingAddress = "voting_address"
6969
7070 let kUSDNAssetId = "usdn_asset_id"
7171
7272 let kStakingAssets = "staking_assets"
7373
7474 let oracle = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
7575
7676 func getBase58FromOracle (key) = match getString(oracle, key) {
7777 case string: String =>
7878 fromBase58String(string)
7979 case nothing =>
8080 throw((key + "is empty"))
8181 }
8282
8383
8484 let adminPubKey1 = getBase58FromOracle(kAdminPubKey1)
8585
8686 let adminPubKey2 = getBase58FromOracle(kAdminPubKey2)
8787
8888 let adminPubKey3 = getBase58FromOracle(kAdminPubKey3)
8989
9090 let adminPubKeyInvoke = getBase58FromOracle(kAdminInvokePubKey)
9191
9292 let moneyBoxAddress = Address(getBase58FromOracle(kMoneyBoxAddress))
9393
9494 let govAddress = Address(getBase58FromOracle(kGovAddress))
9595
9696 let stakingUSDNAddress = Address(getBase58FromOracle(kUSDNAddress))
9797
9898 let votingAddress = Address(getBase58FromOracle(kVotingAddress))
9999
100100 let farmingAddress = Address(getBase58FromOracle(kFarmingAddress))
101101
102102 let USDN = getBase58FromOracle(kUSDNAssetId)
103103
104104 let stakingAssets = getStringValue(oracle, kStakingAssets)
105105
106106 let basePeriod = valueOrErrorMessage(getInteger(votingAddress, kBasePeriod), "Empty kBasePeriod")
107107
108108 let startHeight = valueOrErrorMessage(getInteger(votingAddress, kStartHeight), "Empty kStartHeight")
109109
110110 let periodLength = valueOrErrorMessage(getInteger(votingAddress, kPeriodLength), "Empty kPeriodLength")
111111
112112 let firstHarvestEndPeriod = ((basePeriod + ((height - startHeight) / periodLength)) + 3)
113113
114114 let active = getBooleanValue(this, kActive)
115115
116116 let activeGlob = valueOrElse(getBoolean(oracle, kActiveGlob), true)
117117
118118 let strAssetIdA = getStringValue(this, kAssetIdA)
119119
120120 let strAssetIdB = getStringValue(this, kAssetIdB)
121121
122122 let assetIdA = if ((strAssetIdA == "WAVES"))
123123 then unit
124124 else fromBase58String(strAssetIdA)
125125
126126 let assetIdB = if ((strAssetIdB == "WAVES"))
127127 then unit
128128 else fromBase58String(strAssetIdB)
129129
130130 let assetNameA = match assetIdA {
131131 case id: ByteVector =>
132132 value(assetInfo(id)).name
133133 case waves: Unit =>
134134 "WAVES"
135135 case _ =>
136136 throw("Match error")
137137 }
138138
139139 let assetNameB = match assetIdB {
140140 case id: ByteVector =>
141141 value(assetInfo(id)).name
142142 case waves: Unit =>
143143 "WAVES"
144144 case _ =>
145145 throw("Match error")
146146 }
147147
148148 let balanceA = getIntegerValue(this, kBalanceA)
149149
150150 let balanceB = getIntegerValue(this, kBalanceB)
151151
152152 let shareAssetId = fromBase58String(getStringValue(this, kShareAssetId))
153153
154154 let shareAssetSupply = getIntegerValue(this, kShareAssetSupply)
155155
156156 let invariant = getIntegerValue(this, kInvariant)
157157
158158 let fee = getIntegerValue(this, kFee)
159159
160160 let feeGovernance = fraction(fee, 40, 100)
161161
162162 let feeScale6 = 1000000
163163
164164 let scale3 = 1000
165165
166166 let scale8 = 100000000
167167
168168 let scale16 = 10000000000000000
169169
170170 let digits8 = 8
171171
172172 let dAppThreshold = 50
173173
174174 let dAppThresholdScale2 = 100
175175
176176 let exchangeRatioLimitMin = 90000000
177177
178178 let exchangeRatioLimitMax = 110000000
179179
180180 let alpha = 50
181181
182182 let alphaDigits = 2
183183
184184 let beta = 4600000000000000
185185
186186 func accountBalance (assetId) = match assetId {
187187 case id: ByteVector =>
188188 assetBalance(this, id)
189189 case waves: Unit =>
190190 wavesBalance(this).available
191191 case _ =>
192192 throw("Match error")
193193 }
194194
195195
196196 func stakedAmount (assetId) = {
197197 let stakedAmountCalculated = match assetId {
198198 case aId: ByteVector =>
199199 if ((aId == USDN))
200200 then getInteger(stakingUSDNAddress, ((("rpd_balance_" + toBase58String(aId)) + "_") + toString(this)))
201201 else 0
202202 case _: Unit =>
203203 0
204204 case _ =>
205205 throw("Match error")
206206 }
207207 match stakedAmountCalculated {
208208 case i: Int =>
209209 i
210210 case _ =>
211211 0
212212 }
213213 }
214214
215215
216216 let stakedAmountA = stakedAmount(assetIdA)
217217
218218 let stakedAmountB = stakedAmount(assetIdB)
219219
220220 let availableBalanceA = (balanceA - stakedAmountA)
221221
222222 let availableBalanceB = (balanceB - stakedAmountB)
223223
224224 let accountBalanceWithStakedA = (accountBalance(assetIdA) + stakedAmountA)
225225
226226 let accountBalanceWithStakedB = (accountBalance(assetIdB) + stakedAmountB)
227227
228228 let hasEnoughBalance = if ((accountBalanceWithStakedA >= balanceA))
229229 then (accountBalanceWithStakedB >= balanceB)
230230 else false
231231
232232 func skewness (x,y) = ((fraction(scale16, x, y) + fraction(scale16, y, x)) / 2)
233233
234234
235235 func invariantCalc (x,y) = {
236236 let sk = skewness(x, y)
237237 (fraction((x + y), scale16, pow(sk, digits8, alpha, alphaDigits, digits8, CEILING)) + (2 * fraction(toInt(pow(fraction(toBigInt(x), toBigInt(y), toBigInt(scale8)), 0, toBigInt(5), 1, (digits8 / 2), DOWN)), pow((sk - beta), digits8, alpha, alphaDigits, digits8, DOWN), scale8)))
238238 }
239239
240240
241241 func calculateSendAmount (amountToSendEstimated,minTokenReceiveAmount,tokenReceiveAmount,tokenId,balcA,balcB,invCur) = {
242242 let worstAllowedNewInvariantRatio = (scale16 - ((scale16 * 1) / 10000000))
243243 let deltaBetweenMaxAndMinSendValue = (amountToSendEstimated - minTokenReceiveAmount)
244244 let x = (balcA + tokenReceiveAmount)
245245 let y = (balcB + tokenReceiveAmount)
246246 func getStepAmount (acc,step) = if ((acc._1 == -1))
247247 then {
248248 let amountToSend = (amountToSendEstimated - (((step * deltaBetweenMaxAndMinSendValue) / 3) / scale3))
249249 let stepInvariant = if ((tokenId == assetIdA))
250250 then invariantCalc(x, (balcB - amountToSend))
251251 else invariantCalc((balcA - amountToSend), y)
252252 if ((stepInvariant > invCur))
253253 then $Tuple2(amountToSend, stepInvariant)
254254 else $Tuple2(-1, 0)
255255 }
256256 else acc
257257
258258 let amountToSendMin = getStepAmount($Tuple2(-1, 0), 3000)
259259 if ((0 > amountToSendMin._1))
260260 then throw("Price is worse than minReceived")
261261 else {
262262 let invEstimated = if ((tokenId == assetIdA))
263263 then invariantCalc(x, (balcB - amountToSendEstimated))
264264 else if ((tokenId == assetIdB))
265265 then invariantCalc((balcA - amountToSendEstimated), y)
266266 else throw("Wrong asset in payment")
267267 if ((invCur > invEstimated))
268268 then if ((worstAllowedNewInvariantRatio >= fraction(scale16, invCur, invEstimated)))
269269 then throw("The requested price is too not profitable for user")
270270 else {
271271 let a = {
272272 let $l = [25, 200, 500]
273273 let $s = size($l)
274274 let $acc0 = $Tuple2(-1, 0)
275275 func $f0_1 ($a,$i) = if (($i >= $s))
276276 then $a
277277 else getStepAmount($a, $l[$i])
278278
279279 func $f0_2 ($a,$i) = if (($i >= $s))
280280 then $a
281281 else throw("List size exceeds 3")
282282
283283 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
284284 }
285285 if ((0 > a._1))
286286 then amountToSendMin._1
287287 else a._1
288288 }
289289 else {
290290 let a = {
291291 let $l = [-500, -200, -25]
292292 let $s = size($l)
293293 let $acc0 = $Tuple2(-1, 0)
294294 func $f0_1 ($a,$i) = if (($i >= $s))
295295 then $a
296296 else getStepAmount($a, $l[$i])
297297
298298 func $f0_2 ($a,$i) = if (($i >= $s))
299299 then $a
300300 else throw("List size exceeds 3")
301301
302302 $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3)
303303 }
304304 let tupleSendBetter = if ((0 > a._1))
305305 then $Tuple2(amountToSendEstimated, invEstimated)
306306 else a
307307 if ((worstAllowedNewInvariantRatio >= fraction(scale16, invCur, tupleSendBetter._2)))
308308 then throw("The requested price is too not profitable for user")
309309 else tupleSendBetter._1
310310 }
311311 }
312312 }
313313
314314
315315 func getAssetInfo (assetId) = match assetId {
316316 case id: ByteVector =>
317317 let stringId = toBase58String(id)
318318 let info = valueOrErrorMessage(assetInfo(id), (("Asset " + stringId) + " doesn't exist"))
319319 $Tuple3(stringId, info.name, info.decimals)
320320 case waves: Unit =>
321321 $Tuple3("WAVES", "WAVES", 8)
322322 case _ =>
323323 throw("Match error")
324324 }
325325
326326
327327 func suspend (cause) = [BooleanEntry(kActive, false), StringEntry(kCause, cause)]
328328
329329
330330 func throwIsActive () = throw("DApp is already active")
331331
332332
333333 func isActive () = if (if (active)
334334 then activeGlob
335335 else false)
336336 then unit
337337 else throw("DApp is inactive at this moment")
338338
339339
340340 func isAdminCall (i) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
341341 then unit
342342 else throw("Only admin can call this function")
343343
344344
345345 func isSelfCall (i) = if ((this == i.caller))
346346 then unit
347347 else throw("Only contract itself can call this function")
348348
349349
350350 func throwAssets () = throw(((("Incorrect assets attached. Expected: " + strAssetIdA) + " and ") + strAssetIdB))
351351
352352
353353 func throwOnePayment () = throw("One attached payment expected")
354354
355355
356356 func throwThreshold (threshold,amountA,amountB) = throw(((((((((("New balance in assets of the DApp is less than threshold " + toString(threshold)) + ": ") + toString(amountA)) + " ") + assetNameA) + ", ") + toString(amountB)) + " ") + assetNameB))
357357
358358
359359 func suspendSuspicious () = suspend(((((((((((((((("Suspicious state. Actual balances: " + toString(balanceA)) + " ") + assetNameA) + ", ") + toString(balanceB)) + " ") + assetNameB) + ". State: ") + toString(accountBalance(assetIdA))) + " ") + assetNameA) + ", ") + toString(accountBalance(assetIdB))) + " ") + assetNameB))
360360
361361
362362 func calcStakingFuncAndAddres (stake,assetId) = if (stake)
363363 then $Tuple2("lockNeutrino", stakingUSDNAddress)
364364 else $Tuple2("unlockNeutrino", stakingUSDNAddress)
365365
366366
367367 func calcStakingParams (stake,amount,assetId) = if (stake)
368368 then {
369369 let $t01050410570 = calcStakingFuncAndAddres(stake, assetId)
370370 let call = $t01050410570._1
371371 let stakingAddr = $t01050410570._2
372372 $Tuple4(call, stakingAddr, nil, [AttachedPayment(assetId, amount)])
373373 }
374374 else {
375375 let $t01065610722 = calcStakingFuncAndAddres(stake, assetId)
376376 let call = $t01065610722._1
377377 let stakingAddr = $t01065610722._2
378378 $Tuple4(call, stakingAddr, [amount, toBase58String(assetId)], nil)
379379 }
380380
381381
382382 func calculateFeeDiscount (userAddr) = {
383383 let swopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserSwopInGov)), 0)
384- let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), 0)
384+ let gSwopAmount = valueOrElse(getInteger(govAddress, (toString(userAddr) + kUserGSwopInGov)), swopAmount)
385385 let discountValues = split(getStringValue(oracle, kDiscountValues), ",")
386386 let discounts = split(getStringValue(oracle, kDiscounts), ",")
387387 if (if ((gSwopAmount >= parseIntValue(discountValues[0])))
388388 then (parseIntValue(discountValues[1]) > gSwopAmount)
389389 else false)
390390 then (feeScale6 - parseIntValue(discounts[0]))
391391 else if (if ((gSwopAmount >= parseIntValue(discountValues[1])))
392392 then (parseIntValue(discountValues[2]) > gSwopAmount)
393393 else false)
394394 then (feeScale6 - parseIntValue(discounts[1]))
395395 else if (if ((gSwopAmount >= parseIntValue(discountValues[2])))
396396 then (parseIntValue(discountValues[3]) > gSwopAmount)
397397 else false)
398398 then (feeScale6 - parseIntValue(discounts[2]))
399399 else if (if ((gSwopAmount >= parseIntValue(discountValues[3])))
400400 then (parseIntValue(discountValues[4]) > gSwopAmount)
401401 else false)
402402 then (feeScale6 - parseIntValue(discounts[3]))
403403 else if ((gSwopAmount >= parseIntValue(discountValues[4])))
404404 then (feeScale6 - parseIntValue(discounts[4]))
405405 else feeScale6
406406 }
407407
408408
409409 func replenishWithTwoTokensCalc (i,stakeFarming,lockType) = {
410410 let pmtAssetIdA = i.payments[0].assetId
411411 let pmtAssetIdB = i.payments[1].assetId
412412 let ratioShareTokensInA = fraction(scale8, i.payments[0].amount, balanceA)
413413 let ratioShareTokensInB = fraction(scale8, i.payments[1].amount, balanceB)
414- let $t01230412381 = getAssetInfo(pmtAssetIdA)
415- let pmtStrAssetIdA = $t01230412381._1
416- let pmtAssetNameA = $t01230412381._2
417- let pmtDecimalsA = $t01230412381._3
418- let $t01238612503 = getAssetInfo(pmtAssetIdB)
419- let pmtStrAssetIdB = $t01238612503._1
420- let pmtAssetNameB = $t01238612503._2
421- let pmtDecimalsB = $t01238612503._3
422- let $t01250813012 = if ((ratioShareTokensInB > ratioShareTokensInA))
414+ let $t01231312390 = getAssetInfo(pmtAssetIdA)
415+ let pmtStrAssetIdA = $t01231312390._1
416+ let pmtAssetNameA = $t01231312390._2
417+ let pmtDecimalsA = $t01231312390._3
418+ let $t01239512512 = getAssetInfo(pmtAssetIdB)
419+ let pmtStrAssetIdB = $t01239512512._1
420+ let pmtAssetNameB = $t01239512512._2
421+ let pmtDecimalsB = $t01239512512._3
422+ let $t01251713021 = if ((ratioShareTokensInB > ratioShareTokensInA))
423423 then {
424424 let pmt = fraction(balanceB, ratioShareTokensInA, scale8, CEILING)
425425 $Tuple5(i.payments[0].amount, pmt, (i.payments[1].amount - pmt), pmtAssetIdB, ratioShareTokensInA)
426426 }
427427 else {
428428 let pmt = fraction(balanceA, ratioShareTokensInB, scale8, CEILING)
429429 $Tuple5(pmt, i.payments[1].amount, (i.payments[0].amount - pmt), pmtAssetIdA, ratioShareTokensInB)
430430 }
431- let pmtAmountA = $t01250813012._1
432- let pmtAmountB = $t01250813012._2
433- let change = $t01250813012._3
434- let changeAssetId = $t01250813012._4
435- let shareTokenRatio = $t01250813012._5
431+ let pmtAmountA = $t01251713021._1
432+ let pmtAmountB = $t01251713021._2
433+ let change = $t01251713021._3
434+ let changeAssetId = $t01251713021._4
435+ let shareTokenRatio = $t01251713021._5
436436 let shareTokenToPayAmount = fraction(shareTokenRatio, shareAssetSupply, scale8)
437437 if (if ((size(i.payments) != 2))
438438 then (size(i.payments) != 3)
439439 else false)
440440 then throw("Two or three payments expected")
441441 else if (if ((pmtAssetIdA != assetIdA))
442442 then true
443443 else (pmtAssetIdB != assetIdB))
444444 then throwAssets()
445445 else if ((shareTokenToPayAmount == 0))
446446 then throw("Too small amount to replenish")
447447 else if ((0 > change))
448448 then throw("Change < 0")
449449 else if (!(hasEnoughBalance))
450450 then ([ScriptTransfer(i.caller, pmtAmountA, pmtAssetIdA), ScriptTransfer(i.caller, pmtAmountB, pmtAssetIdB)] ++ suspendSuspicious())
451451 else {
452452 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
453453 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
454454 else 0
455455 if ((stake1 == stake1))
456456 then {
457457 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
458458 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
459459 else 0
460460 if ((stake2 == stake2))
461461 then {
462462 let scriptActions = [IntegerEntry(kBalanceA, (balanceA + pmtAmountA)), IntegerEntry(kBalanceB, (balanceB + pmtAmountB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmount)), IntegerEntry(kInvariant, invariantCalc((balanceA + pmtAmountA), (balanceB + pmtAmountB))), ScriptTransfer(i.caller, change, changeAssetId)]
463463 if (stakeFarming)
464464 then {
465465 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmount)] ++ (if ((size(i.payments) == 3))
466466 then [AttachedPayment(if ((i.payments[2].assetId == base58''))
467467 then unit
468468 else i.payments[2].assetId, i.payments[2].amount)]
469469 else nil))
470470 let re = invoke(this, "reissueShare", [shareTokenToPayAmount], nil)
471471 if ((re == re))
472472 then {
473473 let s = invoke(farmingAddress, "lockShareTokensFromPool", [i.caller.bytes, toString(this), lockType], stPayments)
474474 if ((s == s))
475475 then scriptActions
476476 else throw("Strict value is not equal to itself.")
477477 }
478478 else throw("Strict value is not equal to itself.")
479479 }
480480 else (scriptActions ++ [Reissue(shareAssetId, shareTokenToPayAmount, true), ScriptTransfer(i.caller, shareTokenToPayAmount, shareAssetId)])
481481 }
482482 else throw("Strict value is not equal to itself.")
483483 }
484484 else throw("Strict value is not equal to itself.")
485485 }
486486 }
487487
488488
489489 func replenishWithOneTokenCalc (i,virtualSwapTokenPay,virtualSwapTokenGet,stakeFarming,lockType) = {
490- let $t01540215477 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
491- let pmtAmount = $t01540215477._1
492- let pmtAssetId = $t01540215477._2
493- let $t01548215555 = getAssetInfo(pmtAssetId)
494- let pmtStrAssetId = $t01548215555._1
495- let pmtAssetName = $t01548215555._2
496- let pmtDecimals = $t01548215555._3
490+ let $t01541115486 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
491+ let pmtAmount = $t01541115486._1
492+ let pmtAssetId = $t01541115486._2
493+ let $t01549115564 = getAssetInfo(pmtAssetId)
494+ let pmtStrAssetId = $t01549115564._1
495+ let pmtAssetName = $t01549115564._2
496+ let pmtDecimals = $t01549115564._3
497497 let pmtMinThreshold = 5000000
498498 let thresholdValueForMinTolerance = 50000000
499499 let tolerance = if ((thresholdValueForMinTolerance > pmtAmount))
500500 then 100000
501501 else 1
502502 let slippageValueMinForReplenish = (scale8 - ((scale8 * tolerance) / 10000000))
503503 let slippageValueMaxForReplenish = (scale8 + ((scale8 * tolerance) / 10000000))
504504 let slippageValueMinForSwap = (scale8 - ((scale8 * 1) / 10000000))
505505 if ((pmtMinThreshold > pmtAmount))
506506 then throw((((("Payment amount " + toString(pmtAmount)) + " does not exceed the minimum amount of ") + toString(pmtMinThreshold)) + " tokens"))
507507 else if (if ((size(i.payments) != 1))
508508 then (size(i.payments) != 2)
509509 else false)
510510 then throw("One or two payments expected")
511511 else if (!(hasEnoughBalance))
512512 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
513513 else if (if ((pmtAssetId != assetIdA))
514514 then (pmtAssetId != assetIdB)
515515 else false)
516516 then throwAssets()
517517 else {
518- let $t01656217204 = if ((pmtAssetId == assetIdA))
518+ let $t01657117213 = if ((pmtAssetId == assetIdA))
519519 then $Tuple6((pmtAmount - virtualSwapTokenPay), virtualSwapTokenGet, (balanceA + virtualSwapTokenPay), (balanceB - virtualSwapTokenGet), (balanceA + pmtAmount), balanceB)
520520 else $Tuple6(virtualSwapTokenGet, (pmtAmount - virtualSwapTokenPay), (balanceA - virtualSwapTokenGet), (balanceB + virtualSwapTokenPay), balanceA, (balanceB + pmtAmount))
521- let virtualReplenishA = $t01656217204._1
522- let virtualReplenishB = $t01656217204._2
523- let balanceAfterSwapA = $t01656217204._3
524- let balanceAfterSwapB = $t01656217204._4
525- let newBalanceA = $t01656217204._5
526- let newBalanceB = $t01656217204._6
521+ let virtualReplenishA = $t01657117213._1
522+ let virtualReplenishB = $t01657117213._2
523+ let balanceAfterSwapA = $t01657117213._3
524+ let balanceAfterSwapB = $t01657117213._4
525+ let newBalanceA = $t01657117213._5
526+ let newBalanceB = $t01657117213._6
527527 let invariantNew = invariantCalc(balanceAfterSwapA, balanceAfterSwapB)
528528 let ratioVirtualBalanceToVirtualReplenish = (fraction(scale16, balanceAfterSwapA, balanceAfterSwapB) / fraction(scale8, virtualReplenishA, virtualReplenishB))
529529 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
530530 if (if ((slippageValueMinForSwap >= fraction(scale8, invariant, invariantNew)))
531531 then true
532532 else (invariant > invariantNew))
533533 then throw("Incorrect virtualSwapTokenPay or virtualSwapTokenGet value")
534534 else if (if ((slippageValueMinForReplenish > ratioVirtualBalanceToVirtualReplenish))
535535 then true
536536 else (ratioVirtualBalanceToVirtualReplenish > slippageValueMaxForReplenish))
537537 then throw("Swap with virtualSwapTokenPay and virtualSwapTokenGet is possible, but ratio after virtual swap is incorrect")
538538 else if (if ((dAppThresholdAmount > newBalanceA))
539539 then true
540540 else (dAppThresholdAmount > newBalanceB))
541541 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
542542 else {
543543 let ratioShareTokensInA = fraction(virtualReplenishA, scale8, balanceAfterSwapA)
544544 let ratioShareTokensInB = fraction(virtualReplenishB, scale8, balanceAfterSwapB)
545545 let shareTokenToPayAmount = fraction(min([ratioShareTokensInA, ratioShareTokensInB]), shareAssetSupply, scale8)
546546 let shareTokenToPayAmountAfterFee = fraction(shareTokenToPayAmount, (feeScale6 - (fee / 2)), feeScale6)
547547 let shareTokenGovernanceReward = fraction(shareTokenToPayAmount, (feeGovernance / 2), feeScale6)
548548 let governanceRewardTokenA = fraction(shareTokenGovernanceReward, balanceA, shareAssetSupply)
549549 let governanceRewardTokenB = fraction(shareTokenGovernanceReward, balanceB, shareAssetSupply)
550- let $t01919419489 = if ((pmtStrAssetId == strAssetIdA))
550+ let $t01920319498 = if ((pmtStrAssetId == strAssetIdA))
551551 then $Tuple3((pmtAmount - governanceRewardTokenA), governanceRewardTokenB, strAssetIdB)
552552 else $Tuple3((pmtAmount - governanceRewardTokenB), governanceRewardTokenA, strAssetIdA)
553- let stakeAmount = $t01919419489._1
554- let unstakeAmount = $t01919419489._2
555- let unstakeAsset = $t01919419489._3
553+ let stakeAmount = $t01920319498._1
554+ let unstakeAmount = $t01920319498._2
555+ let unstakeAsset = $t01920319498._3
556556 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
557557 then invoke(this, "stakeUnstake", [true, stakeAmount, pmtStrAssetId], nil)
558558 else 0
559559 if ((stake1 == stake1))
560560 then {
561561 let stake2 = if (contains(stakingAssets, unstakeAsset))
562562 then invoke(this, "stakeUnstake", [false, unstakeAmount, unstakeAsset], nil)
563563 else 0
564564 if ((stake2 == stake2))
565565 then {
566566 let scriptActions = [IntegerEntry(kBalanceA, (newBalanceA - governanceRewardTokenA)), IntegerEntry(kBalanceB, (newBalanceB - governanceRewardTokenB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply + shareTokenToPayAmountAfterFee)), IntegerEntry(kInvariant, invariantCalc((newBalanceA - governanceRewardTokenA), (newBalanceB - governanceRewardTokenB))), ScriptTransfer(moneyBoxAddress, governanceRewardTokenA, assetIdA), ScriptTransfer(moneyBoxAddress, governanceRewardTokenB, assetIdB)]
567567 if (stakeFarming)
568568 then {
569569 let stPayments = ([AttachedPayment(shareAssetId, shareTokenToPayAmountAfterFee)] ++ (if ((size(i.payments) == 2))
570570 then [AttachedPayment(if ((i.payments[1].assetId == base58''))
571571 then unit
572572 else i.payments[1].assetId, i.payments[1].amount)]
573573 else nil))
574574 let re = invoke(this, "reissueShare", [shareTokenToPayAmountAfterFee], nil)
575575 if ((re == re))
576576 then {
577577 let s = invoke(farmingAddress, "lockShareTokensFromPool", [i.caller.bytes, toString(this), lockType], stPayments)
578578 if ((s == s))
579579 then scriptActions
580580 else throw("Strict value is not equal to itself.")
581581 }
582582 else throw("Strict value is not equal to itself.")
583583 }
584584 else (scriptActions ++ [Reissue(shareAssetId, shareTokenToPayAmountAfterFee, true), ScriptTransfer(i.caller, shareTokenToPayAmountAfterFee, shareAssetId)])
585585 }
586586 else throw("Strict value is not equal to itself.")
587587 }
588588 else throw("Strict value is not equal to itself.")
589589 }
590590 }
591591 }
592592
593593
594594 func withdrawCalc (i,unlockAmount) = {
595- let $t02147621811 = if ((size(i.payments) == 1))
595+ let $t02148521820 = if ((size(i.payments) == 1))
596596 then if ((i.payments[0].assetId != shareAssetId))
597597 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
598598 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
599599 else $Tuple2(0, shareAssetId)
600- let pmtAmount = $t02147621811._1
601- let pmtAssetId = $t02147621811._2
600+ let pmtAmount = $t02148521820._1
601+ let pmtAssetId = $t02148521820._2
602602 if (!(hasEnoughBalance))
603603 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
604604 else {
605605 let unlock = if ((unlockAmount > 0))
606606 then invoke(farmingAddress, "withdrawShareTokensFromPool", [i.caller.bytes, toString(this), unlockAmount], nil)
607607 else 0
608608 if ((unlock == unlock))
609609 then {
610610 let withdrawAmount = (pmtAmount + unlockAmount)
611611 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
612612 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
613613 let invariantCalculated = invariantCalc((balanceA - amountToPayA), (balanceB - amountToPayB))
614614 let stake1 = if (contains(stakingAssets, strAssetIdA))
615615 then invoke(this, "stakeUnstake", [false, amountToPayA, strAssetIdA], nil)
616616 else 0
617617 if ((stake1 == stake1))
618618 then {
619619 let stake2 = if (contains(stakingAssets, strAssetIdB))
620620 then invoke(this, "stakeUnstake", [false, amountToPayB, strAssetIdB], nil)
621621 else 0
622622 if ((stake2 == stake2))
623623 then [IntegerEntry(kBalanceA, (balanceA - amountToPayA)), IntegerEntry(kBalanceB, (balanceB - amountToPayB)), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), IntegerEntry(kInvariant, invariantCalculated), Burn(shareAssetId, withdrawAmount), ScriptTransfer(i.caller, amountToPayA, assetIdA), ScriptTransfer(i.caller, amountToPayB, assetIdB)]
624624 else throw("Strict value is not equal to itself.")
625625 }
626626 else throw("Strict value is not equal to itself.")
627627 }
628628 else throw("Strict value is not equal to itself.")
629629 }
630630 }
631631
632632
633633 @Callable(i)
634634 func init (firstHarvest) = {
635- let $t02336323440 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
636- let pmtAmountA = $t02336323440._1
637- let pmtAssetIdA = $t02336323440._2
638- let $t02344523522 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
639- let pmtAmountB = $t02344523522._1
640- let pmtAssetIdB = $t02344523522._2
641- let $t02352723604 = getAssetInfo(pmtAssetIdA)
642- let pmtStrAssetIdA = $t02352723604._1
643- let pmtAssetNameA = $t02352723604._2
644- let pmtDecimalsA = $t02352723604._3
645- let $t02360923686 = getAssetInfo(pmtAssetIdB)
646- let pmtStrAssetIdB = $t02360923686._1
647- let pmtAssetNameB = $t02360923686._2
648- let pmtDecimalsB = $t02360923686._3
635+ let $t02337223449 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
636+ let pmtAmountA = $t02337223449._1
637+ let pmtAssetIdA = $t02337223449._2
638+ let $t02345423531 = $Tuple2(i.payments[1].amount, i.payments[1].assetId)
639+ let pmtAmountB = $t02345423531._1
640+ let pmtAssetIdB = $t02345423531._2
641+ let $t02353623613 = getAssetInfo(pmtAssetIdA)
642+ let pmtStrAssetIdA = $t02353623613._1
643+ let pmtAssetNameA = $t02353623613._2
644+ let pmtDecimalsA = $t02353623613._3
645+ let $t02361823695 = getAssetInfo(pmtAssetIdB)
646+ let pmtStrAssetIdB = $t02361823695._1
647+ let pmtAssetNameB = $t02361823695._2
648+ let pmtDecimalsB = $t02361823695._3
649649 if (isDefined(getBoolean(this, kActive)))
650650 then throwIsActive()
651651 else if ((pmtAssetIdA == pmtAssetIdB))
652652 then throw("Assets must be different")
653653 else {
654654 let shareName = ((("s" + take(pmtAssetNameA, 7)) + "_") + take(pmtAssetNameB, 7))
655655 let shareDescription = ((((("ShareToken of SwopFi protocol for " + pmtAssetNameA) + " and ") + pmtAssetNameB) + " at address ") + toString(this))
656656 let shareDecimals = ((pmtDecimalsA + pmtDecimalsB) / 2)
657657 let shareInitialSupply = fraction(pow(pmtAmountA, pmtDecimalsA, 5, 1, pmtDecimalsA, DOWN), pow(pmtAmountB, pmtDecimalsB, 5, 1, pmtDecimalsB, DOWN), pow(10, 0, shareDecimals, 0, 0, DOWN))
658658 let shareIssue = Issue(shareName, shareDescription, shareInitialSupply, shareDecimals, true)
659659 let shareIssueId = calculateAssetId(shareIssue)
660660 let invariantCalculated = invariantCalc(pmtAmountA, pmtAmountB)
661661 let stake1 = if (contains(stakingAssets, pmtStrAssetIdA))
662662 then invoke(this, "stakeUnstake", [true, pmtAmountA, pmtStrAssetIdA], nil)
663663 else 0
664664 if ((stake1 == stake1))
665665 then {
666666 let stake2 = if (contains(stakingAssets, pmtStrAssetIdB))
667667 then invoke(this, "stakeUnstake", [true, pmtAmountB, pmtStrAssetIdB], nil)
668668 else 0
669669 if ((stake2 == stake2))
670670 then {
671671 let baseEntry = [StringEntry(kVersion, version), BooleanEntry(kActive, true), StringEntry(kAssetIdA, pmtStrAssetIdA), StringEntry(kAssetIdB, pmtStrAssetIdB), IntegerEntry(kBalanceA, pmtAmountA), IntegerEntry(kBalanceB, pmtAmountB), IntegerEntry(kInvariant, invariantCalculated), IntegerEntry(kFee, getIntegerValue(oracle, "base_fee_flat")), shareIssue, StringEntry(kShareAssetId, toBase58String(shareIssueId)), IntegerEntry(kShareAssetSupply, shareInitialSupply), ScriptTransfer(i.caller, shareInitialSupply, shareIssueId)]
672672 if (firstHarvest)
673673 then (baseEntry ++ [BooleanEntry(kFirstHarvest, firstHarvest), IntegerEntry(kFirstHarvestHeight, (startHeight + (firstHarvestEndPeriod * periodLength)))])
674674 else baseEntry
675675 }
676676 else throw("Strict value is not equal to itself.")
677677 }
678678 else throw("Strict value is not equal to itself.")
679679 }
680680 }
681681
682682
683683
684684 @Callable(i)
685685 func replenishWithTwoTokensV2 (stakeFarming,lockType) = valueOrElse(isActive(), replenishWithTwoTokensCalc(i, stakeFarming, lockType))
686686
687687
688688
689689 @Callable(i)
690690 func replenishWithOneTokenV2 (virtualSwapTokenPay,virtualSwapTokenGet,stakeFarming,lockType) = valueOrElse(isActive(), replenishWithOneTokenCalc(i, virtualSwapTokenPay, virtualSwapTokenGet, stakeFarming, lockType))
691691
692692
693693
694694 @Callable(i)
695695 func withdrawV2 (unlockAmount) = valueOrElse(isActive(), withdrawCalc(i, unlockAmount))
696696
697697
698698
699699 @Callable(i)
700700 func withdrawOneToken (unlockAmount,withdrawAsset,estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), {
701- let $t02705627391 = if ((size(i.payments) == 1))
701+ let $t02706527400 = if ((size(i.payments) == 1))
702702 then if ((i.payments[0].assetId != shareAssetId))
703703 then throw(("Incorrect asset attached. Expected: " + toBase58String(shareAssetId)))
704704 else $Tuple2(i.payments[0].amount, i.payments[0].assetId)
705705 else $Tuple2(0, shareAssetId)
706- let pmtAmount = $t02705627391._1
707- let pmtAssetId = $t02705627391._2
706+ let pmtAmount = $t02706527400._1
707+ let pmtAssetId = $t02706527400._2
708708 let withdrawAmount = (pmtAmount + unlockAmount)
709709 if (if ((withdrawAsset != strAssetIdA))
710710 then (withdrawAsset != strAssetIdB)
711711 else false)
712712 then throw("Incorrect withdraw asset")
713713 else if ((0 >= withdrawAmount))
714714 then throw("withdraw amount must be grater than 0")
715715 else if (!(hasEnoughBalance))
716716 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
717717 else {
718718 let unlock = if ((unlockAmount > 0))
719719 then invoke(farmingAddress, "withdrawShareTokensFromPool", [i.caller.bytes, toString(this), unlockAmount], nil)
720720 else 0
721721 if ((unlock == unlock))
722722 then {
723723 let amountToPayA = fraction(withdrawAmount, balanceA, shareAssetSupply)
724724 let amountToPayB = fraction(withdrawAmount, balanceB, shareAssetSupply)
725725 let newVirtBalcA = (balanceA - amountToPayA)
726726 let newVirtBalcB = (balanceB - amountToPayB)
727727 let feeDiscount = calculateFeeDiscount(i.originCaller)
728728 let amountExchangedWithFee = if ((withdrawAsset == strAssetIdA))
729729 then calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, amountToPayB, assetIdB, newVirtBalcA, newVirtBalcB, invariantCalc(newVirtBalcA, newVirtBalcB))
730730 else calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, amountToPayA, assetIdA, newVirtBalcA, newVirtBalcB, invariantCalc(newVirtBalcA, newVirtBalcB))
731731 let govReward = fraction(amountExchangedWithFee, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
732732 let amountExchanged = fraction(amountExchangedWithFee, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
733- let $t02899429323 = if ((withdrawAsset == strAssetIdA))
733+ let $t02900329332 = if ((withdrawAsset == strAssetIdA))
734734 then $Tuple3((amountToPayA + amountExchanged), (((balanceA - amountToPayA) - amountExchanged) - govReward), balanceB)
735735 else $Tuple3((amountToPayB + amountExchanged), balanceA, (((balanceB - amountToPayB) - amountExchanged) - govReward))
736- let amountToPay = $t02899429323._1
737- let balanceANew = $t02899429323._2
738- let balanceBNew = $t02899429323._3
736+ let amountToPay = $t02900329332._1
737+ let balanceANew = $t02900329332._2
738+ let balanceBNew = $t02900329332._3
739739 let invariantCalculated = invariantCalc(balanceANew, balanceBNew)
740740 let stake1 = if (contains(stakingAssets, withdrawAsset))
741741 then invoke(this, "stakeUnstake", [false, (amountToPay + govReward), withdrawAsset], nil)
742742 else 0
743743 if ((stake1 == stake1))
744744 then [IntegerEntry(kBalanceA, balanceANew), IntegerEntry(kBalanceB, balanceBNew), IntegerEntry(kShareAssetSupply, (shareAssetSupply - withdrawAmount)), IntegerEntry(kInvariant, invariantCalculated), Burn(shareAssetId, withdrawAmount), ScriptTransfer(i.caller, amountToPay, fromBase58String(withdrawAsset)), ScriptTransfer(moneyBoxAddress, govReward, fromBase58String(withdrawAsset))]
745745 else throw("Strict value is not equal to itself.")
746746 }
747747 else throw("Strict value is not equal to itself.")
748748 }
749749 })
750750
751751
752752
753753 @Callable(i)
754754 func exchange (estimatedAmountToReceive,minAmountToReceive) = valueOrElse(isActive(), {
755- let $t03019630271 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
756- let pmtAmount = $t03019630271._1
757- let pmtAssetId = $t03019630271._2
755+ let $t03020530280 = $Tuple2(i.payments[0].amount, i.payments[0].assetId)
756+ let pmtAmount = $t03020530280._1
757+ let pmtAssetId = $t03020530280._2
758758 if ((0 >= estimatedAmountToReceive))
759759 then throw(("Estimated amount must be positive. Actual: " + toString(estimatedAmountToReceive)))
760760 else if ((minAmountToReceive > estimatedAmountToReceive))
761761 then throw("Minimal amount can't be greater than estimated.")
762762 else if ((size(i.payments) != 1))
763763 then throwOnePayment()
764764 else if (!(hasEnoughBalance))
765765 then ([ScriptTransfer(i.caller, pmtAmount, pmtAssetId)] ++ suspendSuspicious())
766766 else if (if ((pmtAssetId != assetIdA))
767767 then (pmtAssetId != assetIdB)
768768 else false)
769769 then throwAssets()
770770 else if ((10000000 > pmtAmount))
771771 then throw("Only swap of 10.000000 or more tokens is allowed")
772772 else if (if ((exchangeRatioLimitMin > fraction(scale8, minAmountToReceive, pmtAmount)))
773773 then true
774774 else (fraction(scale8, estimatedAmountToReceive, pmtAmount) > exchangeRatioLimitMax))
775775 then throw("Incorrect args and pmt ratio")
776776 else {
777777 let sendAssetId = if ((pmtAssetId == assetIdA))
778778 then assetIdB
779779 else assetIdA
780780 let amount = calculateSendAmount(estimatedAmountToReceive, minAmountToReceive, pmtAmount, pmtAssetId, balanceA, balanceB, invariant)
781781 let feeDiscount = calculateFeeDiscount(i.originCaller)
782782 let governanceReward = fraction(amount, fraction(feeGovernance, feeDiscount, feeScale6, CEILING), feeScale6)
783783 let amountMinusFee = fraction(amount, (feeScale6 - fraction(fee, feeDiscount, feeScale6, CEILING)), feeScale6)
784- let $t03175532017 = if ((pmtAssetId == assetIdA))
784+ let $t03176432026 = if ((pmtAssetId == assetIdA))
785785 then $Tuple2((balanceA + pmtAmount), ((balanceB - amountMinusFee) - governanceReward))
786786 else $Tuple2(((balanceA - amountMinusFee) - governanceReward), (balanceB + pmtAmount))
787- let newBalanceA = $t03175532017._1
788- let newBalanceB = $t03175532017._2
787+ let newBalanceA = $t03176432026._1
788+ let newBalanceB = $t03176432026._2
789789 let dAppThresholdAmount = fraction((newBalanceA + newBalanceB), dAppThreshold, (2 * dAppThresholdScale2))
790790 if (if ((dAppThresholdAmount > newBalanceA))
791791 then true
792792 else (dAppThresholdAmount > newBalanceB))
793793 then throwThreshold(dAppThresholdAmount, newBalanceA, newBalanceB)
794794 else {
795- let $t03231632389 = getAssetInfo(pmtAssetId)
796- let pmtStrAssetId = $t03231632389._1
797- let pmtAssetName = $t03231632389._2
798- let pmtDecimals = $t03231632389._3
799- let $t03240232479 = getAssetInfo(sendAssetId)
800- let sendStrAssetId = $t03240232479._1
801- let sendAssetName = $t03240232479._2
802- let sendDecimals = $t03240232479._3
795+ let $t03232532398 = getAssetInfo(pmtAssetId)
796+ let pmtStrAssetId = $t03232532398._1
797+ let pmtAssetName = $t03232532398._2
798+ let pmtDecimals = $t03232532398._3
799+ let $t03241132488 = getAssetInfo(sendAssetId)
800+ let sendStrAssetId = $t03241132488._1
801+ let sendAssetName = $t03241132488._2
802+ let sendDecimals = $t03241132488._3
803803 let stake1 = if (contains(stakingAssets, pmtStrAssetId))
804804 then invoke(this, "stakeUnstake", [true, pmtAmount, pmtStrAssetId], nil)
805805 else 0
806806 if ((stake1 == stake1))
807807 then {
808808 let stake2 = if (contains(stakingAssets, sendStrAssetId))
809809 then invoke(this, "stakeUnstake", [false, (amountMinusFee + governanceReward), sendStrAssetId], nil)
810810 else 0
811811 if ((stake2 == stake2))
812812 then $Tuple2([IntegerEntry(kBalanceA, newBalanceA), IntegerEntry(kBalanceB, newBalanceB), IntegerEntry(kInvariant, invariantCalc(newBalanceA, newBalanceB)), ScriptTransfer(i.caller, amountMinusFee, sendAssetId), ScriptTransfer(moneyBoxAddress, governanceReward, sendAssetId)], [amountMinusFee, sendAssetId])
813813 else throw("Strict value is not equal to itself.")
814814 }
815815 else throw("Strict value is not equal to itself.")
816816 }
817817 }
818818 })
819819
820820
821821
822822 @Callable(msg)
823823 func reissueShare (amount) = valueOrElse(isSelfCall(msg), [Reissue(shareAssetId, amount, true)])
824824
825825
826826
827827 @Callable(i)
828828 func shutdown () = valueOrElse(isAdminCall(i), if (!(active))
829829 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, kCause), "the cause wasn't specified")))
830830 else suspend("Paused by admin"))
831831
832832
833833
834834 @Callable(i)
835835 func activate () = valueOrElse(isAdminCall(i), if (active)
836836 then throwIsActive()
837837 else [BooleanEntry(kActive, true), DeleteEntry(kCause)])
838838
839839
840840
841841 @Callable(i)
842842 func takeIntoAccountExtraFunds () = valueOrElse(isActive(), {
843843 let amountEnrollA = (accountBalanceWithStakedA - balanceA)
844844 let amountEnrollB = (accountBalanceWithStakedB - balanceB)
845845 let invariantNew = invariantCalc((balanceA + amountEnrollA), (balanceB + amountEnrollB))
846846 if ((i.caller != moneyBoxAddress))
847847 then throw("Only the money box can call this function")
848848 else if (if ((0 > amountEnrollA))
849849 then true
850850 else (0 > amountEnrollB))
851851 then suspend("Enroll amount negative")
852852 else if (if ((amountEnrollA == 0))
853853 then (amountEnrollB == 0)
854854 else false)
855855 then throw("No money to take")
856856 else {
857857 let stake1 = if (if (contains(stakingAssets, strAssetIdA))
858858 then (amountEnrollA > 0)
859859 else false)
860860 then invoke(this, "stakeUnstake", [true, amountEnrollA, strAssetIdA], nil)
861861 else 0
862862 if ((stake1 == stake1))
863863 then {
864864 let stake2 = if (if (contains(stakingAssets, strAssetIdB))
865865 then (amountEnrollB > 0)
866866 else false)
867867 then invoke(this, "stakeUnstake", [true, amountEnrollB, strAssetIdB], nil)
868868 else 0
869869 if ((stake2 == stake2))
870870 then [IntegerEntry(kInvariant, invariantNew), IntegerEntry(kBalanceA, (balanceA + amountEnrollA)), IntegerEntry(kBalanceB, (balanceB + amountEnrollB))]
871871 else throw("Strict value is not equal to itself.")
872872 }
873873 else throw("Strict value is not equal to itself.")
874874 }
875875 })
876876
877877
878878
879879 @Callable(i)
880880 func keepLimitForFirstHarvest (shareLimit) = valueOrElse(isActive(), valueOrElse(isAdminCall(i), [IntegerEntry(kShareLimit, shareLimit)]))
881881
882882
883883
884884 @Callable(i)
885885 func stakeUnstake (stake,amount,assetIdString) = if ((i.caller != this))
886886 then throw("Only contract itself can invoke this function")
887887 else {
888- let $t03578135884 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
889- let call = $t03578135884._1
890- let addr = $t03578135884._2
891- let params = $t03578135884._3
892- let payments = $t03578135884._4
888+ let $t03579035893 = calcStakingParams(stake, amount, fromBase58String(assetIdString))
889+ let call = $t03579035893._1
890+ let addr = $t03579035893._2
891+ let params = $t03579035893._3
892+ let payments = $t03579035893._4
893893 let inv = invoke(addr, call, params, payments)
894894 if ((inv == inv))
895895 then nil
896896 else throw("Strict value is not equal to itself.")
897897 }
898898
899899
900900
901901 @Callable(i)
902902 func replenishWithTwoTokens () = valueOrElse(isActive(), replenishWithTwoTokensCalc(i, false, 0))
903903
904904
905905
906906 @Callable(i)
907907 func replenishWithOneToken (virtualSwapTokenPay,virtualSwapTokenGet) = valueOrElse(isActive(), replenishWithOneTokenCalc(i, virtualSwapTokenPay, virtualSwapTokenGet, false, 0))
908908
909909
910910
911911 @Callable(i)
912912 func withdraw () = valueOrElse(isActive(), withdrawCalc(i, 0))
913913
914914
915915 @Verifier(tx)
916916 func verify () = {
917917 let multiSignedByAdmins = {
918918 let adminPubKey1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
919919 then 1
920920 else 0
921921 let adminPubKey2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
922922 then 1
923923 else 0
924924 let adminPubKey3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
925925 then 1
926926 else 0
927927 (((adminPubKey1Signed + adminPubKey2Signed) + adminPubKey3Signed) >= 2)
928928 }
929929 match tx {
930930 case inv: InvokeScriptTransaction =>
931931 let callTakeIntoAccount = if ((inv.dApp == this))
932932 then (inv.function == "takeIntoAccountExtraFunds")
933933 else false
934934 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
935935 then true
936936 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
937937 then true
938938 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey3))
939939 then true
940940 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKeyInvoke)
941941 if (if (callTakeIntoAccount)
942942 then signedByAdmin
943943 else false)
944944 then true
945945 else multiSignedByAdmins
946946 case _ =>
947947 multiSignedByAdmins
948948 }
949949 }
950950

github/deemru/w8io/026f985 
180.88 ms