@pendle/core-v2 0.12.1-testnet → 0.13.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json +48 -0
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +1084 -0
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +32 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +4 -0
- package/build/artifacts/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → LiquidityMining/libraries}/VeBalanceLib.sol/VeBalanceLib.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → LiquidityMining/libraries}/VeHistoryLib.sol/CheckpointHelper.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → LiquidityMining/libraries}/VeHistoryLib.sol/Checkpoints.json +3 -3
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/math → LiquidityMining/libraries}/WeekMath.sol/WeekMath.json +3 -3
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/math → core/Market}/MarketMathCore.sol/MarketMathCore.json +3 -3
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/Market}/OracleLib.sol/OracleLib.json +3 -3
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +4 -0
- package/build/artifacts/contracts/core/{LiquidityMining → Market}/PendleGauge.sol/PendleGauge.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +4 -4
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/RewardManager}/RewardManager.sol/RewardManager.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/RewardManager}/RewardManagerAbstract.sol/RewardManagerAbstract.json +1 -1
- package/build/artifacts/contracts/core/SuperComposableYield/PYIndex.sol/PYIndexLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/SuperComposableYield}/PYIndex.sol/PYIndexLib.json +3 -3
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBase.sol/SCYBase.dbg.json +4 -0
- package/build/artifacts/contracts/{SuperComposableYield/base-implementations → core/SuperComposableYield}/SCYBase.sol/SCYBase.json +1 -1
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +4 -0
- package/build/artifacts/contracts/{SuperComposableYield/base-implementations → core/SuperComposableYield}/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +1 -1
- package/build/artifacts/contracts/core/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/SCY → core/SuperComposableYield}/SCYUtils.sol/SCYUtils.json +3 -3
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +3 -3
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +1007 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +1030 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +1025 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
- package/build/artifacts/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +1 -1
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +3 -3
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +851 -0
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +4 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +254 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/ArrayLib.sol/ArrayLib.json +3 -3
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +3 -3
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/BaseSplitCodeFactory.sol/CodeDeployer.json +3 -3
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +4 -0
- package/build/artifacts/contracts/{periphery → core/libraries}/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +4 -0
- package/build/artifacts/contracts/{periphery → core/libraries}/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +3 -3
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/libraries}/Errors.sol/Errors.json +31 -5
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/ExpiryUtilsLib.sol/ExpiryUtils.json +3 -3
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/MiniHelpers.sol/MiniHelpers.json +3 -3
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/helpers → core/libraries}/TokenHelper.sol/TokenHelper.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/libraries}/math/LogExpMath.sol/LogExpMath.json +3 -3
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → core/libraries}/math/Math.sol/Math.json +3 -3
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +31 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +28 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +60 -89
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +1237 -0
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions → router}/ActionCallback.sol/ActionCallback.json +3 -3
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions → router}/ActionMintRedeem.sol/ActionMintRedeem.json +5 -5
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions → router}/ActionMisc.sol/ActionMisc.json +3 -3
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +698 -0
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +317 -0
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +645 -0
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +4 -0
- package/build/artifacts/contracts/{core → router}/PendleRouter.sol/PendleRouter.json +3 -3
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions → router}/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{core/actions → router}/base/CallbackHelper.sol/CallbackHelper.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/math → router/base}/MarketApproxLib.sol/MarketApproxPtInLib.json +3 -3
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries/math → router/base}/MarketApproxLib.sol/MarketApproxPtOutLib.json +3 -3
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +35 -0
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → router}/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +4 -0
- package/build/artifacts/contracts/{libraries → router}/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +1 -1
- package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +6 -6
- package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgReceiverAppUpg.sol +5 -5
- package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgSendEndpointUpg.sol +5 -5
- package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgSenderAppUpg.sol +4 -4
- package/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/EpochResultManager.sol +7 -7
- package/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/PendleFeeDistributor.sol +14 -11
- package/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/PendleFeeDistributorFactory.sol +6 -4
- package/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerBaseUpg.sol +14 -11
- package/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerMainchainUpg.sol +2 -2
- package/contracts/{core/LiquidityMining → LiquidityMining}/GaugeController/PendleGaugeControllerSidechainUpg.sol +1 -1
- package/contracts/{core/LiquidityMining → LiquidityMining}/README.md +0 -0
- package/contracts/{core/LiquidityMining → LiquidityMining}/VotingController/PendleVotingControllerUpg.sol +6 -5
- package/contracts/{core/LiquidityMining → LiquidityMining}/VotingController/VotingControllerStorageUpg.sol +16 -12
- package/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowPendleMainchain.sol +11 -7
- package/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowPendleSidechain.sol +9 -4
- package/contracts/{core/LiquidityMining → LiquidityMining}/VotingEscrow/VotingEscrowTokenBase.sol +9 -7
- package/contracts/{libraries → LiquidityMining/libraries}/VeBalanceLib.sol +3 -3
- package/contracts/{libraries → LiquidityMining/libraries}/VeHistoryLib.sol +2 -2
- package/contracts/{libraries/math → LiquidityMining/libraries}/WeekMath.sol +2 -2
- package/contracts/{libraries/math → core/Market}/MarketMathCore.sol +17 -19
- package/contracts/{libraries → core/Market}/OracleLib.sol +2 -2
- package/contracts/core/{LiquidityMining → Market}/PendleGauge.sol +4 -6
- package/contracts/core/Market/PendleMarket.sol +4 -12
- package/contracts/core/Market/PendleMarketFactory.sol +5 -5
- package/contracts/{libraries → core/RewardManager}/RewardManager.sol +2 -4
- package/contracts/{libraries → core/RewardManager}/RewardManagerAbstract.sol +9 -4
- package/contracts/{libraries/helpers → core/SuperComposableYield}/PYIndex.sol +4 -3
- package/contracts/{SuperComposableYield/base-implementations → core/SuperComposableYield}/SCYBase.sol +11 -8
- package/contracts/{SuperComposableYield/base-implementations → core/SuperComposableYield}/SCYBaseWithRewards.sol +5 -4
- package/contracts/{libraries/SCY → core/SuperComposableYield}/SCYUtils.sol +1 -1
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/BenQi/PendleQiTokenHelper.sol +2 -2
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/BenQi/PendleQiTokenSCY.sol +6 -6
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +2 -2
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +1 -1
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol +5 -5
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/Convex/Pendle3CrvHelper.sol +2 -2
- package/contracts/{SuperComposableYield/SCY-implementations → core/SuperComposableYield/implementations}/PendleWstEthSCY.sol +6 -5
- package/contracts/core/YieldContracts/InterestManagerYT.sol +5 -5
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -4
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +6 -7
- package/contracts/core/YieldContracts/PendleYieldToken.sol +11 -10
- package/contracts/core/{PendleERC20.sol → erc20/PendleERC20.sol} +0 -0
- package/contracts/core/{PendleERC20Permit.sol → erc20/PendleERC20Permit.sol} +0 -0
- package/contracts/{libraries/helpers → core/libraries}/ArrayLib.sol +0 -0
- package/contracts/{libraries/helpers → core/libraries}/BaseSplitCodeFactory.sol +1 -1
- package/contracts/{periphery → core/libraries}/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/{libraries → core/libraries}/Errors.sol +6 -2
- package/contracts/{libraries/helpers → core/libraries}/ExpiryUtilsLib.sol +1 -1
- package/contracts/{libraries/helpers → core/libraries}/MiniHelpers.sol +1 -1
- package/contracts/{libraries/helpers → core/libraries}/TokenHelper.sol +1 -16
- package/contracts/{libraries → core/libraries}/math/LogExpMath.sol +1 -1
- package/contracts/{libraries → core/libraries}/math/Math.sol +2 -2
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +1 -1
- package/contracts/interfaces/ConvexCurve/ICvxCrv.sol +1 -1
- package/contracts/interfaces/ConvexCurve/IRewards.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +1 -1
- package/contracts/interfaces/IAToken.sol +1 -1
- package/contracts/interfaces/IAavePool.sol +1 -1
- package/contracts/interfaces/IAaveRewardsController.sol +1 -1
- package/contracts/interfaces/IBenQiComptroller.sol +1 -1
- package/contracts/interfaces/IBenQiInterestRateModel.sol +1 -1
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +1 -1
- package/contracts/interfaces/IERC4626.sol +1 -1
- package/contracts/interfaces/IEulerEToken.sol +1 -1
- package/contracts/interfaces/IEulerMarkets.sol +1 -1
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +3 -3
- package/contracts/interfaces/IPActionMintRedeem.sol +3 -3
- package/contracts/interfaces/IPActionMisc.sol +1 -1
- package/contracts/interfaces/IPActionSwapPT.sol +3 -3
- package/contracts/interfaces/IPActionSwapPTYT.sol +3 -3
- package/contracts/interfaces/IPActionSwapYT.sol +3 -3
- package/contracts/interfaces/IPAllAction.sol +1 -1
- package/contracts/interfaces/IPFeeDistributor.sol +1 -1
- package/contracts/interfaces/IPFeeDistributorFactory.sol +1 -1
- package/contracts/interfaces/IPGauge.sol +1 -1
- package/contracts/interfaces/IPGaugeController.sol +1 -1
- package/contracts/interfaces/IPGaugeControllerMainchain.sol +1 -1
- package/contracts/interfaces/IPGovernanceManager.sol +1 -1
- package/contracts/interfaces/IPInterestManagerYT.sol +1 -1
- package/contracts/interfaces/IPMarket.sol +2 -2
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -1
- package/contracts/interfaces/IPPermissionsV2Upg.sol +1 -1
- package/contracts/interfaces/IPPrincipalToken.sol +1 -1
- package/contracts/interfaces/IPVeToken.sol +1 -1
- package/contracts/interfaces/IPVotingController.sol +5 -3
- package/contracts/interfaces/IPVotingEscrowMainchain.sol +3 -3
- package/contracts/interfaces/IPYieldContractFactory.sol +1 -1
- package/contracts/interfaces/IPYieldToken.sol +1 -1
- package/contracts/interfaces/IQiAvax.sol +1 -1
- package/contracts/interfaces/IQiErc20.sol +1 -1
- package/contracts/interfaces/IQiToken.sol +1 -1
- package/contracts/interfaces/IREDACTEDStaking.sol +1 -1
- package/contracts/interfaces/IRewardManager.sol +1 -1
- package/contracts/interfaces/ISAvax.sol +1 -1
- package/contracts/interfaces/ISJoe.sol +1 -1
- package/contracts/interfaces/IStETH.sol +1 -1
- package/contracts/interfaces/IStargateLPStaking.sol +1 -1
- package/contracts/interfaces/IStargatePool.sol +1 -1
- package/contracts/interfaces/IStargateRouter.sol +1 -1
- package/contracts/interfaces/ISuperComposableYield.sol +1 -1
- package/contracts/interfaces/IWAvax.sol +1 -1
- package/contracts/interfaces/IWETH.sol +1 -1
- package/contracts/interfaces/IWXBTRFLY.sol +1 -1
- package/contracts/interfaces/IWstETH.sol +1 -1
- package/contracts/interfaces/IYearnVault.sol +1 -1
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -3
- package/contracts/offchain-helpers/MarketMathStatic.sol +7 -7
- package/contracts/offchain-helpers/RouterStatic.sol +7 -14
- package/contracts/{core/actions → router}/ActionAddRemoveLiq.sol +5 -5
- package/contracts/{core/actions → router}/ActionCallback.sol +7 -7
- package/contracts/{core/actions → router}/ActionMintRedeem.sol +4 -4
- package/contracts/{core/actions → router}/ActionMisc.sol +4 -4
- package/contracts/{core/actions → router}/ActionSwapPT.sol +5 -5
- package/contracts/{core/actions → router}/ActionSwapPTYT.sol +5 -5
- package/contracts/{core/actions → router}/ActionSwapYT.sol +5 -5
- package/contracts/{core → router}/PendleRouter.sol +3 -3
- package/contracts/{core/actions → router}/base/ActionBaseMintRedeem.sol +6 -6
- package/contracts/{core/actions → router}/base/CallbackHelper.sol +1 -1
- package/contracts/{libraries/math → router/base}/MarketApproxLib.sol +191 -229
- package/contracts/{libraries → router}/kyberswap/AggregationRouterHelper.sol +1 -1
- package/contracts/{libraries → router}/kyberswap/IMultihopRouter.sol +0 -0
- package/contracts/{libraries → router}/kyberswap/KyberSwapHelper.sol +3 -4
- package/deployments/kovan.json +31 -0
- package/package.json +4 -4
- package/typechain-types/IPVotingController.ts +18 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +3 -128
- package/typechain-types/PendleVotingControllerUpg.ts +18 -0
- package/typechain-types/RouterStatic.ts +0 -45
- package/typechain-types/VotingControllerStorageUpg.ts +18 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +30 -4
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +4 -4
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +27 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +30 -4
- package/typechain-types/factories/ActionSwapYT__factory.ts +30 -4
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +29 -3
- package/typechain-types/factories/IPVotingController__factory.ts +31 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +27 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +4 -4
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +0 -75
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +3 -3
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +32 -1
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -30
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +31 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -414
- package/typechain-types/index.ts +56 -56
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +0 -1007
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +0 -1030
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +0 -1025
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +0 -851
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json +0 -123
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -1053
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +0 -254
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +0 -329
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +0 -1211
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +0 -672
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -291
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +0 -619
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/Errors.sol/Errors.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -35
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +0 -4
- package/deployments/43113-core.json +0 -16
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/deployments/43113-testenv.json +0 -22
- package/deployments/80001-core.json +0 -15
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/deployments/80001-testenv.json +0 -22
|
@@ -1,619 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ActionSwapYT",
|
|
4
|
-
"sourceName": "contracts/core/actions/ActionSwapYT.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "_kyberSwapRouter",
|
|
11
|
-
"type": "address"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"stateMutability": "nonpayable",
|
|
15
|
-
"type": "constructor"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"inputs": [
|
|
19
|
-
{
|
|
20
|
-
"internalType": "int256",
|
|
21
|
-
"name": "exchangeRate",
|
|
22
|
-
"type": "int256"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"name": "MarketExchangeRateBelowOne",
|
|
26
|
-
"type": "error"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"inputs": [],
|
|
30
|
-
"name": "MarketExpired",
|
|
31
|
-
"type": "error"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"inputs": [],
|
|
35
|
-
"name": "MarketProportionMustNotEqualOne",
|
|
36
|
-
"type": "error"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"inputs": [
|
|
40
|
-
{
|
|
41
|
-
"internalType": "int256",
|
|
42
|
-
"name": "proportion",
|
|
43
|
-
"type": "int256"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"internalType": "int256",
|
|
47
|
-
"name": "maxProportion",
|
|
48
|
-
"type": "int256"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"name": "MarketProportionTooHigh",
|
|
52
|
-
"type": "error"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"inputs": [
|
|
56
|
-
{
|
|
57
|
-
"internalType": "int256",
|
|
58
|
-
"name": "rateScalar",
|
|
59
|
-
"type": "int256"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"name": "MarketRateScalarBelowZero",
|
|
63
|
-
"type": "error"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"inputs": [
|
|
67
|
-
{
|
|
68
|
-
"internalType": "int256",
|
|
69
|
-
"name": "totalPt",
|
|
70
|
-
"type": "int256"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"internalType": "int256",
|
|
74
|
-
"name": "totalAsset",
|
|
75
|
-
"type": "int256"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"name": "MarketZeroTotalPtOrTotalAsset",
|
|
79
|
-
"type": "error"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"inputs": [
|
|
83
|
-
{
|
|
84
|
-
"internalType": "uint256",
|
|
85
|
-
"name": "actualYtIn",
|
|
86
|
-
"type": "uint256"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"internalType": "uint256",
|
|
90
|
-
"name": "limitYtIn",
|
|
91
|
-
"type": "uint256"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
"name": "RouterExceededLimitYtIn",
|
|
95
|
-
"type": "error"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"inputs": [
|
|
99
|
-
{
|
|
100
|
-
"internalType": "uint256",
|
|
101
|
-
"name": "actualTokenOut",
|
|
102
|
-
"type": "uint256"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"internalType": "uint256",
|
|
106
|
-
"name": "requiredTokenOut",
|
|
107
|
-
"type": "uint256"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"name": "RouterInsufficientTokenOut",
|
|
111
|
-
"type": "error"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"inputs": [
|
|
115
|
-
{
|
|
116
|
-
"internalType": "uint256",
|
|
117
|
-
"name": "actualYtOut",
|
|
118
|
-
"type": "uint256"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"internalType": "uint256",
|
|
122
|
-
"name": "requiredYtOut",
|
|
123
|
-
"type": "uint256"
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"name": "RouterInsufficientYtOut",
|
|
127
|
-
"type": "error"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"anonymous": false,
|
|
131
|
-
"inputs": [
|
|
132
|
-
{
|
|
133
|
-
"indexed": true,
|
|
134
|
-
"internalType": "address",
|
|
135
|
-
"name": "caller",
|
|
136
|
-
"type": "address"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"indexed": true,
|
|
140
|
-
"internalType": "address",
|
|
141
|
-
"name": "market",
|
|
142
|
-
"type": "address"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"indexed": true,
|
|
146
|
-
"internalType": "address",
|
|
147
|
-
"name": "receiver",
|
|
148
|
-
"type": "address"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"indexed": false,
|
|
152
|
-
"internalType": "int256",
|
|
153
|
-
"name": "netYtToAccount",
|
|
154
|
-
"type": "int256"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"indexed": false,
|
|
158
|
-
"internalType": "int256",
|
|
159
|
-
"name": "netScyToAccount",
|
|
160
|
-
"type": "int256"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"name": "SwapYtAndScy",
|
|
164
|
-
"type": "event"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"anonymous": false,
|
|
168
|
-
"inputs": [
|
|
169
|
-
{
|
|
170
|
-
"indexed": true,
|
|
171
|
-
"internalType": "address",
|
|
172
|
-
"name": "caller",
|
|
173
|
-
"type": "address"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"indexed": true,
|
|
177
|
-
"internalType": "address",
|
|
178
|
-
"name": "market",
|
|
179
|
-
"type": "address"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"indexed": true,
|
|
183
|
-
"internalType": "address",
|
|
184
|
-
"name": "receiver",
|
|
185
|
-
"type": "address"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"indexed": false,
|
|
189
|
-
"internalType": "address",
|
|
190
|
-
"name": "token",
|
|
191
|
-
"type": "address"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"indexed": false,
|
|
195
|
-
"internalType": "int256",
|
|
196
|
-
"name": "netYtToAccount",
|
|
197
|
-
"type": "int256"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"indexed": false,
|
|
201
|
-
"internalType": "int256",
|
|
202
|
-
"name": "netTokenToAccount",
|
|
203
|
-
"type": "int256"
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
"name": "SwapYtAndToken",
|
|
207
|
-
"type": "event"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"inputs": [],
|
|
211
|
-
"name": "kyberSwapRouter",
|
|
212
|
-
"outputs": [
|
|
213
|
-
{
|
|
214
|
-
"internalType": "address",
|
|
215
|
-
"name": "",
|
|
216
|
-
"type": "address"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"stateMutability": "view",
|
|
220
|
-
"type": "function"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"inputs": [
|
|
224
|
-
{
|
|
225
|
-
"internalType": "address",
|
|
226
|
-
"name": "receiver",
|
|
227
|
-
"type": "address"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"internalType": "address",
|
|
231
|
-
"name": "market",
|
|
232
|
-
"type": "address"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"internalType": "uint256",
|
|
236
|
-
"name": "exactScyIn",
|
|
237
|
-
"type": "uint256"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"internalType": "uint256",
|
|
241
|
-
"name": "minYtOut",
|
|
242
|
-
"type": "uint256"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"components": [
|
|
246
|
-
{
|
|
247
|
-
"internalType": "uint256",
|
|
248
|
-
"name": "guessMin",
|
|
249
|
-
"type": "uint256"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"internalType": "uint256",
|
|
253
|
-
"name": "guessMax",
|
|
254
|
-
"type": "uint256"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"internalType": "uint256",
|
|
258
|
-
"name": "guessOffchain",
|
|
259
|
-
"type": "uint256"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"internalType": "uint256",
|
|
263
|
-
"name": "maxIteration",
|
|
264
|
-
"type": "uint256"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"internalType": "uint256",
|
|
268
|
-
"name": "eps",
|
|
269
|
-
"type": "uint256"
|
|
270
|
-
}
|
|
271
|
-
],
|
|
272
|
-
"internalType": "struct ApproxParams",
|
|
273
|
-
"name": "guessYtOut",
|
|
274
|
-
"type": "tuple"
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"name": "swapExactScyForYt",
|
|
278
|
-
"outputs": [
|
|
279
|
-
{
|
|
280
|
-
"internalType": "uint256",
|
|
281
|
-
"name": "netYtOut",
|
|
282
|
-
"type": "uint256"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"internalType": "uint256",
|
|
286
|
-
"name": "netScyFee",
|
|
287
|
-
"type": "uint256"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"stateMutability": "nonpayable",
|
|
291
|
-
"type": "function"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"inputs": [
|
|
295
|
-
{
|
|
296
|
-
"internalType": "address",
|
|
297
|
-
"name": "receiver",
|
|
298
|
-
"type": "address"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"internalType": "address",
|
|
302
|
-
"name": "market",
|
|
303
|
-
"type": "address"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"internalType": "uint256",
|
|
307
|
-
"name": "minYtOut",
|
|
308
|
-
"type": "uint256"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"components": [
|
|
312
|
-
{
|
|
313
|
-
"internalType": "uint256",
|
|
314
|
-
"name": "guessMin",
|
|
315
|
-
"type": "uint256"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"internalType": "uint256",
|
|
319
|
-
"name": "guessMax",
|
|
320
|
-
"type": "uint256"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"internalType": "uint256",
|
|
324
|
-
"name": "guessOffchain",
|
|
325
|
-
"type": "uint256"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"internalType": "uint256",
|
|
329
|
-
"name": "maxIteration",
|
|
330
|
-
"type": "uint256"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"internalType": "uint256",
|
|
334
|
-
"name": "eps",
|
|
335
|
-
"type": "uint256"
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"internalType": "struct ApproxParams",
|
|
339
|
-
"name": "guessYtOut",
|
|
340
|
-
"type": "tuple"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"components": [
|
|
344
|
-
{
|
|
345
|
-
"internalType": "address",
|
|
346
|
-
"name": "tokenIn",
|
|
347
|
-
"type": "address"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"internalType": "uint256",
|
|
351
|
-
"name": "netTokenIn",
|
|
352
|
-
"type": "uint256"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"internalType": "address",
|
|
356
|
-
"name": "tokenMintScy",
|
|
357
|
-
"type": "address"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"internalType": "bytes",
|
|
361
|
-
"name": "kybercall",
|
|
362
|
-
"type": "bytes"
|
|
363
|
-
}
|
|
364
|
-
],
|
|
365
|
-
"internalType": "struct TokenInput",
|
|
366
|
-
"name": "input",
|
|
367
|
-
"type": "tuple"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"name": "swapExactTokenForYt",
|
|
371
|
-
"outputs": [
|
|
372
|
-
{
|
|
373
|
-
"internalType": "uint256",
|
|
374
|
-
"name": "netYtOut",
|
|
375
|
-
"type": "uint256"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"internalType": "uint256",
|
|
379
|
-
"name": "netScyFee",
|
|
380
|
-
"type": "uint256"
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"stateMutability": "payable",
|
|
384
|
-
"type": "function"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"inputs": [
|
|
388
|
-
{
|
|
389
|
-
"internalType": "address",
|
|
390
|
-
"name": "receiver",
|
|
391
|
-
"type": "address"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"internalType": "address",
|
|
395
|
-
"name": "market",
|
|
396
|
-
"type": "address"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"internalType": "uint256",
|
|
400
|
-
"name": "exactYtIn",
|
|
401
|
-
"type": "uint256"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"internalType": "uint256",
|
|
405
|
-
"name": "minScyOut",
|
|
406
|
-
"type": "uint256"
|
|
407
|
-
}
|
|
408
|
-
],
|
|
409
|
-
"name": "swapExactYtForScy",
|
|
410
|
-
"outputs": [
|
|
411
|
-
{
|
|
412
|
-
"internalType": "uint256",
|
|
413
|
-
"name": "netScyOut",
|
|
414
|
-
"type": "uint256"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"internalType": "uint256",
|
|
418
|
-
"name": "netScyFee",
|
|
419
|
-
"type": "uint256"
|
|
420
|
-
}
|
|
421
|
-
],
|
|
422
|
-
"stateMutability": "nonpayable",
|
|
423
|
-
"type": "function"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"inputs": [
|
|
427
|
-
{
|
|
428
|
-
"internalType": "address",
|
|
429
|
-
"name": "receiver",
|
|
430
|
-
"type": "address"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"internalType": "address",
|
|
434
|
-
"name": "market",
|
|
435
|
-
"type": "address"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"internalType": "uint256",
|
|
439
|
-
"name": "netYtIn",
|
|
440
|
-
"type": "uint256"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"components": [
|
|
444
|
-
{
|
|
445
|
-
"internalType": "address",
|
|
446
|
-
"name": "tokenOut",
|
|
447
|
-
"type": "address"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"internalType": "uint256",
|
|
451
|
-
"name": "minTokenOut",
|
|
452
|
-
"type": "uint256"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"internalType": "address",
|
|
456
|
-
"name": "tokenRedeemScy",
|
|
457
|
-
"type": "address"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"internalType": "bytes",
|
|
461
|
-
"name": "kybercall",
|
|
462
|
-
"type": "bytes"
|
|
463
|
-
}
|
|
464
|
-
],
|
|
465
|
-
"internalType": "struct TokenOutput",
|
|
466
|
-
"name": "output",
|
|
467
|
-
"type": "tuple"
|
|
468
|
-
}
|
|
469
|
-
],
|
|
470
|
-
"name": "swapExactYtForToken",
|
|
471
|
-
"outputs": [
|
|
472
|
-
{
|
|
473
|
-
"internalType": "uint256",
|
|
474
|
-
"name": "netTokenOut",
|
|
475
|
-
"type": "uint256"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"internalType": "uint256",
|
|
479
|
-
"name": "netScyFee",
|
|
480
|
-
"type": "uint256"
|
|
481
|
-
}
|
|
482
|
-
],
|
|
483
|
-
"stateMutability": "nonpayable",
|
|
484
|
-
"type": "function"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"inputs": [
|
|
488
|
-
{
|
|
489
|
-
"internalType": "address",
|
|
490
|
-
"name": "receiver",
|
|
491
|
-
"type": "address"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"internalType": "address",
|
|
495
|
-
"name": "market",
|
|
496
|
-
"type": "address"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"internalType": "uint256",
|
|
500
|
-
"name": "exactYtOut",
|
|
501
|
-
"type": "uint256"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"internalType": "uint256",
|
|
505
|
-
"name": "maxScyIn",
|
|
506
|
-
"type": "uint256"
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
"name": "swapScyForExactYt",
|
|
510
|
-
"outputs": [
|
|
511
|
-
{
|
|
512
|
-
"internalType": "uint256",
|
|
513
|
-
"name": "netScyIn",
|
|
514
|
-
"type": "uint256"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"internalType": "uint256",
|
|
518
|
-
"name": "netScyFee",
|
|
519
|
-
"type": "uint256"
|
|
520
|
-
}
|
|
521
|
-
],
|
|
522
|
-
"stateMutability": "nonpayable",
|
|
523
|
-
"type": "function"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"inputs": [
|
|
527
|
-
{
|
|
528
|
-
"internalType": "address",
|
|
529
|
-
"name": "receiver",
|
|
530
|
-
"type": "address"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"internalType": "address",
|
|
534
|
-
"name": "market",
|
|
535
|
-
"type": "address"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"internalType": "uint256",
|
|
539
|
-
"name": "exactScyOut",
|
|
540
|
-
"type": "uint256"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"internalType": "uint256",
|
|
544
|
-
"name": "maxYtIn",
|
|
545
|
-
"type": "uint256"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"components": [
|
|
549
|
-
{
|
|
550
|
-
"internalType": "uint256",
|
|
551
|
-
"name": "guessMin",
|
|
552
|
-
"type": "uint256"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"internalType": "uint256",
|
|
556
|
-
"name": "guessMax",
|
|
557
|
-
"type": "uint256"
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"internalType": "uint256",
|
|
561
|
-
"name": "guessOffchain",
|
|
562
|
-
"type": "uint256"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"internalType": "uint256",
|
|
566
|
-
"name": "maxIteration",
|
|
567
|
-
"type": "uint256"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"internalType": "uint256",
|
|
571
|
-
"name": "eps",
|
|
572
|
-
"type": "uint256"
|
|
573
|
-
}
|
|
574
|
-
],
|
|
575
|
-
"internalType": "struct ApproxParams",
|
|
576
|
-
"name": "guessYtIn",
|
|
577
|
-
"type": "tuple"
|
|
578
|
-
}
|
|
579
|
-
],
|
|
580
|
-
"name": "swapYtForExactScy",
|
|
581
|
-
"outputs": [
|
|
582
|
-
{
|
|
583
|
-
"internalType": "uint256",
|
|
584
|
-
"name": "netYtIn",
|
|
585
|
-
"type": "uint256"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"internalType": "uint256",
|
|
589
|
-
"name": "netScyFee",
|
|
590
|
-
"type": "uint256"
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
"stateMutability": "nonpayable",
|
|
594
|
-
"type": "function"
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"bytecode": "0x60a06040523480156200001157600080fd5b50604051620038dd380380620038dd833981016040819052620000349162000046565b6001600160a01b031660805262000078565b6000602082840312156200005957600080fd5b81516001600160a01b03811681146200007157600080fd5b9392505050565b60805161383c620000a16000396000818160a1015281816112f401526113c1015261383c6000f3fe6080604052600436106100605760003560e01c80630edb44b8146100655780631ef6f3271461008f57806321aab859146100d057806353f9e1a3146100f05780637eb6953c1461011057806392126dab14610130578063d8cc26aa14610150575b600080fd5b610078610073366004612fa2565b610170565b604051610086929190613021565b60405180910390f35b34801561009b57600080fd5b506100c37f000000000000000000000000000000000000000000000000000000000000000081565b604051610086919061302f565b3480156100dc57600080fd5b506100786100eb366004613043565b610266565b3480156100fc57600080fd5b5061007861010b366004613089565b61048f565b34801561011c57600080fd5b5061007861012b3660046130f4565b610585565b34801561013c57600080fd5b5061007861014b3660046130f4565b61066f565b34801561015c57600080fd5b5061007861016b366004613043565b610856565b600080600080876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156101b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d89190613151565b925050915060006101ec828460018961093f565b90506101fc8a8a84848c8c610af8565b90955093506001600160a01b03808b16908a16336000805160206137e783398151915261022c60208b018b61319e565b6102358a610c37565b6102428c60200135610c51565b604051610251939291906131bb565b60405180910390a45050509550959350505050565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156102aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ce9190613151565b92505091506000826001600160a01b03166370a08231336040518263ffffffff1660e01b8152600401610301919061302f565b602060405180830381865afa15801561031e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034291906131dc565b9050876001600160a01b031663d8e763c18389610360338e8c610c6e565b6040518463ffffffff1660e01b815260040161037e9392919061324d565b60408051808303816000875af115801561039c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c09190613274565b6040516370a0823160e01b81529095506001600160a01b03851691506370a08231906103f090339060040161302f565b602060405180830381865afa15801561040d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043191906131dc565b61043b90826132ae565b94506001600160a01b03808a169089163360008051602061379e8339815191526104648b610c37565b61046d8a610c51565b60405161047b929190613021565b60405180910390a450505094509492505050565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156104d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f79190613151565b91935090915061051490506001600160a01b038216338389610ca1565b6000610525838985858b6001610d12565b94509050610537898483896000610e8c565b94506001600160a01b03808a16908916336000805160206137e783398151915261056460208b018b61319e565b61056d8c610c51565b6105768b610c37565b60405161047b939291906131bb565b600080600080876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156105c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ed9190613151565b91935090915061060a90506001600160a01b03831633838a610ca1565b6106188989838a8a8a610af8565b90945092506001600160a01b03808a169089163360008051602061379e83398151915261064488610c37565b61064d8c610c51565b60405161065b929190613021565b60405180910390a450509550959350505050565b6000806000866001600160a01b0316632778c3346040518163ffffffff1660e01b815260040161012060405180830381865afa1580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d791906132d0565b90506000876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073d9190613151565b92505050610760610756826001600160a01b031661107c565b83908942896110e2565b50909450508584111561079357838660405163570cfb8160e01b815260040161078a929190613021565b60405180910390fd5b6107a86001600160a01b038216338387610ca1565b876001600160a01b0316637bb0e71082866107c38d8c611253565b6040518463ffffffff1660e01b81526004016107e19392919061324d565b60408051808303816000875af11580156107ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108239190613274565b9350506001600160a01b03808a169089163360008051602061379e83398151915261084d88610c51565b61064d8c610c37565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561089a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be9190613151565b9193509091506108db90506001600160a01b038216338389610ca1565b6108e9888884848a8a610d12565b90945092506001600160a01b038089169088163360008051602061379e8339815191526109158a610c51565b61091e89610c37565b60405161092c929190613021565b60405180910390a4505094509492505050565b600061095c610951602084018461319e565b338460200135611282565b61096c606083016040840161319e565b6001600160a01b0316610982602084018461319e565b6001600160a01b0316146109ec576109ec6109a0602084018461319e565b60208401356109b26060860186613352565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112ee92505050565b610a056109ff606084016040850161319e565b856113ef565b6000610a1f610a1a606085016040860161319e565b6114a7565b9050600080610a34606086016040870161319e565b6001600160a01b031614610a49576000610a4b565b815b90506001600160a01b0386166320e8c5658289610a6e6060890160408a0161319e565b6040516001600160e01b031960e086901b1681526001600160a01b03928316600482015291166024820152604481018690526064810189905260840160206040518083038185885af1158015610ac8573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610aed91906131dc565b979650505050505050565b6000806000876001600160a01b0316632778c3346040518163ffffffff1660e01b815260040161012060405180830381865afa158015610b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6091906132d0565b9050610b81610b77886001600160a01b031661107c565b8290884288611531565b509093505084831015610bab57828560405163a59b8c3160e01b815260040161078a929190613021565b876001600160a01b031663d8e763c18885610bc68d8a611686565b6040518463ffffffff1660e01b8152600401610be49392919061324d565b60408051808303816000875af1158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190613274565b939a93995092975050505050505050565b60006001600160ff1b03821115610c4d57600080fd5b5090565b6000610c5c82610c37565b610c689060001961339f565b92915050565b60606000848484604051602001610c889493929190613446565b60405160208183030381529060405290505b9392505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610d0c9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261169e565b50505050565b6000806000866001600160a01b03166370a082318a6040518263ffffffff1660e01b8152600401610d43919061302f565b602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8491906131dc565b9050876001600160a01b0316637bb0e7108787610da18d89611253565b6040518463ffffffff1660e01b8152600401610dbf9392919061324d565b60408051808303816000875af1158015610ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e019190613274565b6040516370a0823160e01b81529093508291506001600160a01b038916906370a0823190610e33908d9060040161302f565b602060405180830381865afa158015610e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7491906131dc565b610e7e91906132ae565b925050965096945050505050565b60008115610ea957610ea96001600160a01b038616338787610ca1565b610eb6602084018461319e565b6001600160a01b0316610ecf606085016040860161319e565b6001600160a01b031603610f6f576001600160a01b03851663769f8e5d8786610efe606088016040890161319e565b876020013560016040518663ffffffff1660e01b8152600401610f2595949392919061347b565b6020604051808303816000875af1158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6891906131dc565b9050611073565b60006001600160a01b03861663769f8e5d3087610f926060890160408a0161319e565b6001806040518663ffffffff1660e01b8152600401610fb595949392919061347b565b6020604051808303816000875af1158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff891906131dc565b905061101b61100d606086016040870161319e565b826109b26060880188613352565b61102b610a1a602086018661319e565b9150836020013582101561105a5781846020013560405163c5b5576d60e01b815260040161078a929190613021565b61107161106a602086018661319e565b8884611770565b505b95945050505050565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af11580156110be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6891906131dc565b60408051608081018252868152602081018690529081018490526060810183905260009081908190816111168a8a89611834565b9050600061112d878385600001516000015161192e565b9050600061114c846040015185602001516119d990919063ffffffff16565b905060005b826060015181101561121157600061116984836119ee565b905060008061117d88600001518885611a4d565b9092509050600061118e83856132ae565b90508581106111ee57838760200181815250506111b081878960800151611a8c565b156111e957602089015184906111c69083611abf565b60208b01516111d59085611abf565b9b509b509b50505050505050505050611248565b6111fc565b6111f98460016134af565b87525b505050508061120a906134c7565b9050611151565b5060405162461bcd60e51b815260206004820152600b60248201526a185c1c1c9bde0819985a5b60aa1b604482015260640161078a565b955095509592505050565b60606002838360405160200161126b939291906134e0565b604051602081830303815290604052905092915050565b6001600160a01b0383166112d3578034146112ce5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161078a565b505050565b80156112ce576112ce6001600160a01b038416833084610ca1565b611318837f00000000000000000000000000000000000000000000000000000000000000006113ef565b60405163726d379760e11b815260009073__$559d48c320e1446b023c1ea40891219567$__9063e4da6f2e906113549085908790600401613508565b600060405180830381865af4158015611371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611399919081019061352a565b90506113e8816001600160a01b038616156113b55760006113b7565b845b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169190611acb565b5050505050565b6001600160a01b038216611401575050565b61141360026001600160601b036135e1565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561146c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149091906131dc565b10156114a3576114a38282600019611af1565b5050565b60006001600160a01b0382161561152a576040516370a0823160e01b81526001600160a01b038316906370a08231906114e490309060040161302f565b602060405180830381865afa158015611501573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152591906131dc565b610c68565b4792915050565b60408051608081018252868152602081018690529081018490526060810183905260009081908190816115658a8a89611834565b90506000611577878360200151611bfe565b9050600061159684604001518560200151611caa90919063ffffffff16565b82519091506000036115a6578082525b60005b8260600151811015611211576000806115cc858789600001516000015186611cb6565b91509150816115e057602085015250611676565b6000806115f289600001518985611d21565b9092509050600061160383856132ae565b90508681116116685783885260808801516000906116249083908a90611d41565b905080156116625760208b0151859061163d9084611abf565b60208d015161164c9086611abf565b9d509d509d505050505050505050505050611248565b50611670565b602088018490525b50505050505b61167f816134c7565b90506115a9565b60606001838360405160200161126b939291906134e0565b60006116f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d6f9092919063ffffffff16565b8051909150156112ce57808060200190518101906117119190613607565b6112ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161078a565b8060000361177d57505050565b6001600160a01b038316611820576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146117d8576040519150601f19603f3d011682016040523d82523d6000602084013e6117dd565b606091505b5050905080610d0c5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161078a565b6112ce6001600160a01b0384168383611d7e565b61185f6040518060800160405280600081526020016000815260200160008152602001600081525090565b60c084015182106118835760405163b2094b5960e01b815260040160405180910390fd5b6000828560c0015161189591906132ae565b90506118a18582611d9d565b825260208501516118b3908590611dfe565b6020830152845115806118c857506020820151155b156118ef578451602083015160405163b1c4aefb60e01b815261078a929190600401613021565b61190d85600001518661010001518460200151856000015185611e35565b604083015260a08501516119219082611eb6565b6060830152509392505050565b6119606040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b83518152602084015161197c906119778585611eef565b611f87565b602082018190526040808601519083015260608086015190830152608080860151908301528151118015906119bd5750670de0b6b3a7640000816080015111155b610c9a5760405162461bcd60e51b815260040161078a90613629565b6000826119e68184611f9d565b949350505050565b600081158015611a015750604083015115155b15611a1157506040820151610c68565b602083015183511115611a2957506020820151610c68565b60208301518351600291611a3c916134af565b611a469190613658565b9050610c68565b600080600080611a6886611a6087610c37565b899190611fd3565b91509150611a75826120e3565b9350611a80816120f5565b92505050935093915050565b60008284101580156119e65750611ab483611aaf84670de0b6b3a76400006134af565b612104565b841115949350505050565b6000610c9a8383612124565b60606119e68484846040518060600160405280602981526020016137be60299139612139565b600080846001600160a01b031663095ea7b360e01b8585604051602401611b1992919061366c565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611b579190613685565b6000604051808303816000865af19150503d8060008114611b94576040519150601f19603f3d011682016040523d82523d6000602084013e611b99565b606091505b5091509150818015611bc3575080511580611bc3575080806020019051810190611bc39190613607565b6113e85760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640161078a565b611c376040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b825181526020830151611c4d906119778461225f565b60208201819052604080850151908301526060808501519083015260808085015190830152815111801590611c8e5750670de0b6b3a7640000816080015111155b610c685760405162461bcd60e51b815260040161078a90613629565b6000610c9a8383612276565b6000806000611cc587856119ee565b90508660a001518111611cdd57600192509050611d18565b6000611cf28787611ced85610c37565b61228b565b90506000811215611d095750600092509050611d18565b5060a087018190526001925090505b94509492505050565b600080600080611d3486611a6087610c51565b91509150611a75826120f5565b60008284111580156119e65750611d6483611aaf84670de0b6b3a76400006132ae565b909310159392505050565b60606119e68484600085612139565b6112ce8363a9059cbb60e01b8484604051602401610cd592919061366c565b6000611da882610c37565b611dbf611dba6201518061016d6136a1565b610c37565b8460800151611dce919061339f565b611dd891906136c0565b905060008113610c6857604051630e520c3b60e11b81526004810182905260240161078a565b60008060008312611e10576001611e14565b6000195b9050611e2b611dba85611e26866120e3565b612276565b6119e6908261339f565b600080611e428684611eb6565b9050670de0b6b3a7640000811215611e705760405163329e322960e21b81526004810182905260240161078a565b6000611e86611e7f878a6136ee565b899061237d565b90506000611e93826123ac565b9050611e9f818761237d565b611ea9908461372f565b9998505050505050505050565b600080611ec86201518061016d6136a1565b611ed284866136a1565b611edc9190613658565b90506119e6611eea82610c37565b6123ff565b600080611f17611eea856000015186604001518760600151611f11919061372f565b90612814565b90506000611f37611f30670de0b6b3a7640000846136ee565b839061237d565b90506000611f55866020015186611f4e91906136ee565b8390612814565b90506000611f63828761372f565b90506103e8611f71826120f5565b611f7d906103e76136a1565b610aed9190613658565b6000818310611f965781610c9a565b5090919050565b6000670de0b6b3a7640000600181611fb586866136a1565b611fbf91906134af565b611fc991906132ae565b610c9a9190613658565b6000806000611ff5866000015186602001518760000151886040015188612832565b9050600061200b612006868461237d565b6128e3565b6060870151909150600086131561207a576000612028848361237d565b9050670de0b6b3a76400008112156120565760405163329e322960e21b81526004810182905260240161078a565b61207261206b83670de0b6b3a764000061372f565b8490612814565b9150506120a7565b6120a48161209081670de0b6b3a764000061372f565b61209a908561339f565b61200691906136c0565b90505b60646120b68960e00151610c37565b6120c0908361339f565b6120ca91906136c0565b93506120d6818361372f565b9450505050935093915050565b6000808213610c4d576115258261376e565b600080821215610c4d57600080fd5b60008061211183856136a1565b670de0b6b3a76400009004949350505050565b600082611fc9670de0b6b3a7640000846136a1565b60608247101561219a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161078a565b6001600160a01b0385163b6121f15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161078a565b600080866001600160a01b0316858760405161220d9190613685565b60006040518083038185875af1925050503d806000811461224a576040519150601f19603f3d011682016040523d82523d6000602084013e61224f565b606091505b5091509150610aed8282866128f1565b6000600161226c836120f5565b610c6891906132ae565b6000670de0b6b3a7640000611fc984846136a1565b60008082856020015161229e919061372f565b905060006122ac85856136ee565b90506000821380156122be5750600081135b6122ff5760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b604482015260640161078a565b600061232d61230e848461339f565b602089015161231d90896136ee565b612327908861339f565b9061237d565b9050600061234361233e848661237d565b61292a565b885190915060009061235e90670de0b6b3a76400009061237d565b905061236e81611f11848661372f565b8960400151611ea9919061372f565b600080612392670de0b6b3a76400008561339f565b90508281816123a3576123a36135cb565b05949350505050565b6000670de0b6b3a764000082036123d65760405163a9c8b14d60e01b815260040160405180910390fd5b60006123f46123ed84670de0b6b3a764000061372f565b849061237d565b9050610c9a8161292a565b6000680238fd42c5cf03ffff198212158015612424575068070c1cc73b00c800008213155b6124635760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640161078a565b600082121561249b57612478826000036123ff565b6a0c097ce7bc90715b34b9f160241b81612494576124946135cb565b0592915050565b60006806f05b59d3b200000083126124d957506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61250f565b6803782dace9d9000000831261250b57506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061250f565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac62000000841261255f5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d631000000841261259b576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126125d557682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261260f576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261264857680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126126815768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b188000084126126ba576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126126f35768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600080612821838561339f565b9050670de0b6b3a7640000816123a3565b60008061283f87846129bb565b90506000612850611f30888a6136ee565b9050670d529ae9e86000008113156128875780670d529ae9e8600000604051637e34684f60e11b815260040161078a929190613021565b6000612892826123ac565b90508561289f828961237d565b6128a991906136ee565b9350670de0b6b3a76400008412156128d75760405163329e322960e21b81526004810185905260240161078a565b50505095945050505050565b6000610c688260001961339f565b60608315612900575081610c9a565b8251156129105782518084602001fd5b8160405162461bcd60e51b815260040161078a919061378a565b600080821361296b5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161078a565b670c7d713b49da0000821380156129895750670f43fc2c04ee000082125b156129ad57670de0b6b3a76400006129a083612a02565b81612494576124946135cb565b610c6882612b21565b919050565b6000818312156129f85760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b604482015260640161078a565b610c9a828461372f565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281612a4357612a436135cb565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215612b6257612b59826a0c097ce7bc90715b34b9f160241b81612b5357612b536135cb565b05612b21565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312612bad5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312612be4576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312612c2c576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312612c67576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312612c9e57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e28312612cd557690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312612d0a5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb417461211108312612d3557680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312612d6a576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612d9f576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312612dd3576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312612e07576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d631000008086030281612e3057612e306135cb565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b0381168114612ed957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612f1557612f15612edc565b60405290565b600060a08284031215612f2d57600080fd5b60405160a081016001600160401b0381118282101715612f4f57612f4f612edc565b806040525080915082358152602083013560208201526040830135604082015260608301356060820152608083013560808201525092915050565b600060808284031215612f9c57600080fd5b50919050565b60008060008060006101208688031215612fbb57600080fd5b8535612fc681612ec4565b94506020860135612fd681612ec4565b935060408601359250612fec8760608801612f1b565b91506101008601356001600160401b0381111561300857600080fd5b61301488828901612f8a565b9150509295509295909350565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6000806000806080858703121561305957600080fd5b843561306481612ec4565b9350602085013561307481612ec4565b93969395505050506040820135916060013590565b6000806000806080858703121561309f57600080fd5b84356130aa81612ec4565b935060208501356130ba81612ec4565b92506040850135915060608501356001600160401b038111156130dc57600080fd5b6130e887828801612f8a565b91505092959194509250565b6000806000806000610120868803121561310d57600080fd5b853561311881612ec4565b9450602086013561312881612ec4565b935060408601359250606086013591506131458760808801612f1b565b90509295509295909350565b60008060006060848603121561316657600080fd5b835161317181612ec4565b602085015190935061318281612ec4565b604085015190925061319381612ec4565b809150509250925092565b6000602082840312156131b057600080fd5b8135610c9a81612ec4565b6001600160a01b039390931683526020830191909152604082015260600190565b6000602082840312156131ee57600080fd5b5051919050565b60005b838110156132105781810151838201526020016131f8565b83811115610d0c5750506000910152565b600081518084526132398160208601602086016131f5565b601f01601f19169290920160200192915050565b60018060a01b03841681528260208201526060604082015260006110736060830184613221565b6000806040838503121561328757600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b6000828210156132c0576132c0613298565b500390565b80516129b681612ec4565b600061012082840312156132e357600080fd5b6132eb612ef2565b82518152602083015160208201526040830151604082015261330f606084016132c5565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b6000808335601e1984360301811261336957600080fd5b8301803591506001600160401b0382111561338357600080fd5b60200191503681900382131561339857600080fd5b9250929050565b60006001600160ff1b03818413828413808216868404861116156133c5576133c5613298565b600160ff1b60008712828116878305891216156133e4576133e4613298565b6000871292508782058712848416161561340057613400613298565b8785058712818416161561341657613416613298565b505050929093029392505050565b6005811061344257634e487b7160e01b600052602160045260246000fd5b9052565b608081016134548287613424565b6001600160a01b039485166020830152929093166040840152606090920191909152919050565b6001600160a01b03958616815260208101949094529190931660408301526060820192909252901515608082015260a00190565b600082198211156134c2576134c2613298565b500190565b6000600182016134d9576134d9613298565b5060010190565b606081016134ee8286613424565b6001600160a01b0393909316602082015260400152919050565b60408152600061351b6040830185613221565b90508260208301529392505050565b60006020828403121561353c57600080fd5b81516001600160401b038082111561355357600080fd5b818401915084601f83011261356757600080fd5b81518181111561357957613579612edc565b604051601f8201601f19908116603f011681019083821181831017156135a1576135a1612edc565b816040528281528760208487010111156135ba57600080fd5b610aed8360208301602088016131f5565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116806135fb576135fb6135cb565b92169190910492915050565b60006020828403121561361957600080fd5b81518015158114610c9a57600080fd5b602080825260159082015274696e76616c696420617070726f7820706172616d7360581b604082015260600190565b600082613667576136676135cb565b500490565b6001600160a01b03929092168252602082015260400190565b600082516136978184602087016131f5565b9190910192915050565b60008160001904831182151516156136bb576136bb613298565b500290565b6000826136cf576136cf6135cb565b600160ff1b8214600019841416156136e9576136e9613298565b500590565b600080821280156001600160ff1b038490038513161561371057613710613298565b600160ff1b839003841281161561372957613729613298565b50500190565b60008083128015600160ff1b85018412161561374d5761374d613298565b6001600160ff1b038401831381161561376857613768613298565b50500390565b6000600160ff1b820161378357613783613298565b5060000390565b602081526000610c9a602083018461322156fe7bddf462468a651c54b421a930326bf3558d624d1b4ba9decfa69211a0b1013d416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564c372308269f6e4dd0b4f322160cf0edef154584a3ad62248d654ae846e3eb6e8a264697066735822122034fd851ab7472a7be98e7ed728a5ca3caab255e99ed3605799d235f1d75a8cf364736f6c634300080f0033",
|
|
598
|
-
"deployedBytecode": "0x6080604052600436106100605760003560e01c80630edb44b8146100655780631ef6f3271461008f57806321aab859146100d057806353f9e1a3146100f05780637eb6953c1461011057806392126dab14610130578063d8cc26aa14610150575b600080fd5b610078610073366004612fa2565b610170565b604051610086929190613021565b60405180910390f35b34801561009b57600080fd5b506100c37f000000000000000000000000000000000000000000000000000000000000000081565b604051610086919061302f565b3480156100dc57600080fd5b506100786100eb366004613043565b610266565b3480156100fc57600080fd5b5061007861010b366004613089565b61048f565b34801561011c57600080fd5b5061007861012b3660046130f4565b610585565b34801561013c57600080fd5b5061007861014b3660046130f4565b61066f565b34801561015c57600080fd5b5061007861016b366004613043565b610856565b600080600080876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156101b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d89190613151565b925050915060006101ec828460018961093f565b90506101fc8a8a84848c8c610af8565b90955093506001600160a01b03808b16908a16336000805160206137e783398151915261022c60208b018b61319e565b6102358a610c37565b6102428c60200135610c51565b604051610251939291906131bb565b60405180910390a45050509550959350505050565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156102aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ce9190613151565b92505091506000826001600160a01b03166370a08231336040518263ffffffff1660e01b8152600401610301919061302f565b602060405180830381865afa15801561031e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034291906131dc565b9050876001600160a01b031663d8e763c18389610360338e8c610c6e565b6040518463ffffffff1660e01b815260040161037e9392919061324d565b60408051808303816000875af115801561039c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c09190613274565b6040516370a0823160e01b81529095506001600160a01b03851691506370a08231906103f090339060040161302f565b602060405180830381865afa15801561040d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043191906131dc565b61043b90826132ae565b94506001600160a01b03808a169089163360008051602061379e8339815191526104648b610c37565b61046d8a610c51565b60405161047b929190613021565b60405180910390a450505094509492505050565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156104d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f79190613151565b91935090915061051490506001600160a01b038216338389610ca1565b6000610525838985858b6001610d12565b94509050610537898483896000610e8c565b94506001600160a01b03808a16908916336000805160206137e783398151915261056460208b018b61319e565b61056d8c610c51565b6105768b610c37565b60405161047b939291906131bb565b600080600080876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156105c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ed9190613151565b91935090915061060a90506001600160a01b03831633838a610ca1565b6106188989838a8a8a610af8565b90945092506001600160a01b03808a169089163360008051602061379e83398151915261064488610c37565b61064d8c610c51565b60405161065b929190613021565b60405180910390a450509550959350505050565b6000806000866001600160a01b0316632778c3346040518163ffffffff1660e01b815260040161012060405180830381865afa1580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d791906132d0565b90506000876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073d9190613151565b92505050610760610756826001600160a01b031661107c565b83908942896110e2565b50909450508584111561079357838660405163570cfb8160e01b815260040161078a929190613021565b60405180910390fd5b6107a86001600160a01b038216338387610ca1565b876001600160a01b0316637bb0e71082866107c38d8c611253565b6040518463ffffffff1660e01b81526004016107e19392919061324d565b60408051808303816000875af11580156107ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108239190613274565b9350506001600160a01b03808a169089163360008051602061379e83398151915261084d88610c51565b61064d8c610c37565b600080600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561089a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be9190613151565b9193509091506108db90506001600160a01b038216338389610ca1565b6108e9888884848a8a610d12565b90945092506001600160a01b038089169088163360008051602061379e8339815191526109158a610c51565b61091e89610c37565b60405161092c929190613021565b60405180910390a4505094509492505050565b600061095c610951602084018461319e565b338460200135611282565b61096c606083016040840161319e565b6001600160a01b0316610982602084018461319e565b6001600160a01b0316146109ec576109ec6109a0602084018461319e565b60208401356109b26060860186613352565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506112ee92505050565b610a056109ff606084016040850161319e565b856113ef565b6000610a1f610a1a606085016040860161319e565b6114a7565b9050600080610a34606086016040870161319e565b6001600160a01b031614610a49576000610a4b565b815b90506001600160a01b0386166320e8c5658289610a6e6060890160408a0161319e565b6040516001600160e01b031960e086901b1681526001600160a01b03928316600482015291166024820152604481018690526064810189905260840160206040518083038185885af1158015610ac8573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610aed91906131dc565b979650505050505050565b6000806000876001600160a01b0316632778c3346040518163ffffffff1660e01b815260040161012060405180830381865afa158015610b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6091906132d0565b9050610b81610b77886001600160a01b031661107c565b8290884288611531565b509093505084831015610bab57828560405163a59b8c3160e01b815260040161078a929190613021565b876001600160a01b031663d8e763c18885610bc68d8a611686565b6040518463ffffffff1660e01b8152600401610be49392919061324d565b60408051808303816000875af1158015610c02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c269190613274565b939a93995092975050505050505050565b60006001600160ff1b03821115610c4d57600080fd5b5090565b6000610c5c82610c37565b610c689060001961339f565b92915050565b60606000848484604051602001610c889493929190613446565b60405160208183030381529060405290505b9392505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610d0c9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261169e565b50505050565b6000806000866001600160a01b03166370a082318a6040518263ffffffff1660e01b8152600401610d43919061302f565b602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8491906131dc565b9050876001600160a01b0316637bb0e7108787610da18d89611253565b6040518463ffffffff1660e01b8152600401610dbf9392919061324d565b60408051808303816000875af1158015610ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e019190613274565b6040516370a0823160e01b81529093508291506001600160a01b038916906370a0823190610e33908d9060040161302f565b602060405180830381865afa158015610e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7491906131dc565b610e7e91906132ae565b925050965096945050505050565b60008115610ea957610ea96001600160a01b038616338787610ca1565b610eb6602084018461319e565b6001600160a01b0316610ecf606085016040860161319e565b6001600160a01b031603610f6f576001600160a01b03851663769f8e5d8786610efe606088016040890161319e565b876020013560016040518663ffffffff1660e01b8152600401610f2595949392919061347b565b6020604051808303816000875af1158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6891906131dc565b9050611073565b60006001600160a01b03861663769f8e5d3087610f926060890160408a0161319e565b6001806040518663ffffffff1660e01b8152600401610fb595949392919061347b565b6020604051808303816000875af1158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff891906131dc565b905061101b61100d606086016040870161319e565b826109b26060880188613352565b61102b610a1a602086018661319e565b9150836020013582101561105a5781846020013560405163c5b5576d60e01b815260040161078a929190613021565b61107161106a602086018661319e565b8884611770565b505b95945050505050565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af11580156110be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6891906131dc565b60408051608081018252868152602081018690529081018490526060810183905260009081908190816111168a8a89611834565b9050600061112d878385600001516000015161192e565b9050600061114c846040015185602001516119d990919063ffffffff16565b905060005b826060015181101561121157600061116984836119ee565b905060008061117d88600001518885611a4d565b9092509050600061118e83856132ae565b90508581106111ee57838760200181815250506111b081878960800151611a8c565b156111e957602089015184906111c69083611abf565b60208b01516111d59085611abf565b9b509b509b50505050505050505050611248565b6111fc565b6111f98460016134af565b87525b505050508061120a906134c7565b9050611151565b5060405162461bcd60e51b815260206004820152600b60248201526a185c1c1c9bde0819985a5b60aa1b604482015260640161078a565b955095509592505050565b60606002838360405160200161126b939291906134e0565b604051602081830303815290604052905092915050565b6001600160a01b0383166112d3578034146112ce5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161078a565b505050565b80156112ce576112ce6001600160a01b038416833084610ca1565b611318837f00000000000000000000000000000000000000000000000000000000000000006113ef565b60405163726d379760e11b815260009073__$559d48c320e1446b023c1ea40891219567$__9063e4da6f2e906113549085908790600401613508565b600060405180830381865af4158015611371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611399919081019061352a565b90506113e8816001600160a01b038616156113b55760006113b7565b845b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169190611acb565b5050505050565b6001600160a01b038216611401575050565b61141360026001600160601b036135e1565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561146c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149091906131dc565b10156114a3576114a38282600019611af1565b5050565b60006001600160a01b0382161561152a576040516370a0823160e01b81526001600160a01b038316906370a08231906114e490309060040161302f565b602060405180830381865afa158015611501573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152591906131dc565b610c68565b4792915050565b60408051608081018252868152602081018690529081018490526060810183905260009081908190816115658a8a89611834565b90506000611577878360200151611bfe565b9050600061159684604001518560200151611caa90919063ffffffff16565b82519091506000036115a6578082525b60005b8260600151811015611211576000806115cc858789600001516000015186611cb6565b91509150816115e057602085015250611676565b6000806115f289600001518985611d21565b9092509050600061160383856132ae565b90508681116116685783885260808801516000906116249083908a90611d41565b905080156116625760208b0151859061163d9084611abf565b60208d015161164c9086611abf565b9d509d509d505050505050505050505050611248565b50611670565b602088018490525b50505050505b61167f816134c7565b90506115a9565b60606001838360405160200161126b939291906134e0565b60006116f3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d6f9092919063ffffffff16565b8051909150156112ce57808060200190518101906117119190613607565b6112ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161078a565b8060000361177d57505050565b6001600160a01b038316611820576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146117d8576040519150601f19603f3d011682016040523d82523d6000602084013e6117dd565b606091505b5050905080610d0c5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161078a565b6112ce6001600160a01b0384168383611d7e565b61185f6040518060800160405280600081526020016000815260200160008152602001600081525090565b60c084015182106118835760405163b2094b5960e01b815260040160405180910390fd5b6000828560c0015161189591906132ae565b90506118a18582611d9d565b825260208501516118b3908590611dfe565b6020830152845115806118c857506020820151155b156118ef578451602083015160405163b1c4aefb60e01b815261078a929190600401613021565b61190d85600001518661010001518460200151856000015185611e35565b604083015260a08501516119219082611eb6565b6060830152509392505050565b6119606040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b83518152602084015161197c906119778585611eef565b611f87565b602082018190526040808601519083015260608086015190830152608080860151908301528151118015906119bd5750670de0b6b3a7640000816080015111155b610c9a5760405162461bcd60e51b815260040161078a90613629565b6000826119e68184611f9d565b949350505050565b600081158015611a015750604083015115155b15611a1157506040820151610c68565b602083015183511115611a2957506020820151610c68565b60208301518351600291611a3c916134af565b611a469190613658565b9050610c68565b600080600080611a6886611a6087610c37565b899190611fd3565b91509150611a75826120e3565b9350611a80816120f5565b92505050935093915050565b60008284101580156119e65750611ab483611aaf84670de0b6b3a76400006134af565b612104565b841115949350505050565b6000610c9a8383612124565b60606119e68484846040518060600160405280602981526020016137be60299139612139565b600080846001600160a01b031663095ea7b360e01b8585604051602401611b1992919061366c565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611b579190613685565b6000604051808303816000865af19150503d8060008114611b94576040519150601f19603f3d011682016040523d82523d6000602084013e611b99565b606091505b5091509150818015611bc3575080511580611bc3575080806020019051810190611bc39190613607565b6113e85760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640161078a565b611c376040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b825181526020830151611c4d906119778461225f565b60208201819052604080850151908301526060808501519083015260808085015190830152815111801590611c8e5750670de0b6b3a7640000816080015111155b610c685760405162461bcd60e51b815260040161078a90613629565b6000610c9a8383612276565b6000806000611cc587856119ee565b90508660a001518111611cdd57600192509050611d18565b6000611cf28787611ced85610c37565b61228b565b90506000811215611d095750600092509050611d18565b5060a087018190526001925090505b94509492505050565b600080600080611d3486611a6087610c51565b91509150611a75826120f5565b60008284111580156119e65750611d6483611aaf84670de0b6b3a76400006132ae565b909310159392505050565b60606119e68484600085612139565b6112ce8363a9059cbb60e01b8484604051602401610cd592919061366c565b6000611da882610c37565b611dbf611dba6201518061016d6136a1565b610c37565b8460800151611dce919061339f565b611dd891906136c0565b905060008113610c6857604051630e520c3b60e11b81526004810182905260240161078a565b60008060008312611e10576001611e14565b6000195b9050611e2b611dba85611e26866120e3565b612276565b6119e6908261339f565b600080611e428684611eb6565b9050670de0b6b3a7640000811215611e705760405163329e322960e21b81526004810182905260240161078a565b6000611e86611e7f878a6136ee565b899061237d565b90506000611e93826123ac565b9050611e9f818761237d565b611ea9908461372f565b9998505050505050505050565b600080611ec86201518061016d6136a1565b611ed284866136a1565b611edc9190613658565b90506119e6611eea82610c37565b6123ff565b600080611f17611eea856000015186604001518760600151611f11919061372f565b90612814565b90506000611f37611f30670de0b6b3a7640000846136ee565b839061237d565b90506000611f55866020015186611f4e91906136ee565b8390612814565b90506000611f63828761372f565b90506103e8611f71826120f5565b611f7d906103e76136a1565b610aed9190613658565b6000818310611f965781610c9a565b5090919050565b6000670de0b6b3a7640000600181611fb586866136a1565b611fbf91906134af565b611fc991906132ae565b610c9a9190613658565b6000806000611ff5866000015186602001518760000151886040015188612832565b9050600061200b612006868461237d565b6128e3565b6060870151909150600086131561207a576000612028848361237d565b9050670de0b6b3a76400008112156120565760405163329e322960e21b81526004810182905260240161078a565b61207261206b83670de0b6b3a764000061372f565b8490612814565b9150506120a7565b6120a48161209081670de0b6b3a764000061372f565b61209a908561339f565b61200691906136c0565b90505b60646120b68960e00151610c37565b6120c0908361339f565b6120ca91906136c0565b93506120d6818361372f565b9450505050935093915050565b6000808213610c4d576115258261376e565b600080821215610c4d57600080fd5b60008061211183856136a1565b670de0b6b3a76400009004949350505050565b600082611fc9670de0b6b3a7640000846136a1565b60608247101561219a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161078a565b6001600160a01b0385163b6121f15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161078a565b600080866001600160a01b0316858760405161220d9190613685565b60006040518083038185875af1925050503d806000811461224a576040519150601f19603f3d011682016040523d82523d6000602084013e61224f565b606091505b5091509150610aed8282866128f1565b6000600161226c836120f5565b610c6891906132ae565b6000670de0b6b3a7640000611fc984846136a1565b60008082856020015161229e919061372f565b905060006122ac85856136ee565b90506000821380156122be5750600081135b6122ff5760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b604482015260640161078a565b600061232d61230e848461339f565b602089015161231d90896136ee565b612327908861339f565b9061237d565b9050600061234361233e848661237d565b61292a565b885190915060009061235e90670de0b6b3a76400009061237d565b905061236e81611f11848661372f565b8960400151611ea9919061372f565b600080612392670de0b6b3a76400008561339f565b90508281816123a3576123a36135cb565b05949350505050565b6000670de0b6b3a764000082036123d65760405163a9c8b14d60e01b815260040160405180910390fd5b60006123f46123ed84670de0b6b3a764000061372f565b849061237d565b9050610c9a8161292a565b6000680238fd42c5cf03ffff198212158015612424575068070c1cc73b00c800008213155b6124635760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640161078a565b600082121561249b57612478826000036123ff565b6a0c097ce7bc90715b34b9f160241b81612494576124946135cb565b0592915050565b60006806f05b59d3b200000083126124d957506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61250f565b6803782dace9d9000000831261250b57506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061250f565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac62000000841261255f5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d631000000841261259b576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126125d557682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261260f576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261264857680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126126815768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b188000084126126ba576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126126f35768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600080612821838561339f565b9050670de0b6b3a7640000816123a3565b60008061283f87846129bb565b90506000612850611f30888a6136ee565b9050670d529ae9e86000008113156128875780670d529ae9e8600000604051637e34684f60e11b815260040161078a929190613021565b6000612892826123ac565b90508561289f828961237d565b6128a991906136ee565b9350670de0b6b3a76400008412156128d75760405163329e322960e21b81526004810185905260240161078a565b50505095945050505050565b6000610c688260001961339f565b60608315612900575081610c9a565b8251156129105782518084602001fd5b8160405162461bcd60e51b815260040161078a919061378a565b600080821361296b5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161078a565b670c7d713b49da0000821380156129895750670f43fc2c04ee000082125b156129ad57670de0b6b3a76400006129a083612a02565b81612494576124946135cb565b610c6882612b21565b919050565b6000818312156129f85760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b604482015260640161078a565b610c9a828461372f565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281612a4357612a436135cb565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215612b6257612b59826a0c097ce7bc90715b34b9f160241b81612b5357612b536135cb565b05612b21565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312612bad5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312612be4576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312612c2c576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312612c67576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312612c9e57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e28312612cd557690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312612d0a5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb417461211108312612d3557680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312612d6a576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612d9f576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312612dd3576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312612e07576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d631000008086030281612e3057612e306135cb565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b0381168114612ed957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612f1557612f15612edc565b60405290565b600060a08284031215612f2d57600080fd5b60405160a081016001600160401b0381118282101715612f4f57612f4f612edc565b806040525080915082358152602083013560208201526040830135604082015260608301356060820152608083013560808201525092915050565b600060808284031215612f9c57600080fd5b50919050565b60008060008060006101208688031215612fbb57600080fd5b8535612fc681612ec4565b94506020860135612fd681612ec4565b935060408601359250612fec8760608801612f1b565b91506101008601356001600160401b0381111561300857600080fd5b61301488828901612f8a565b9150509295509295909350565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6000806000806080858703121561305957600080fd5b843561306481612ec4565b9350602085013561307481612ec4565b93969395505050506040820135916060013590565b6000806000806080858703121561309f57600080fd5b84356130aa81612ec4565b935060208501356130ba81612ec4565b92506040850135915060608501356001600160401b038111156130dc57600080fd5b6130e887828801612f8a565b91505092959194509250565b6000806000806000610120868803121561310d57600080fd5b853561311881612ec4565b9450602086013561312881612ec4565b935060408601359250606086013591506131458760808801612f1b565b90509295509295909350565b60008060006060848603121561316657600080fd5b835161317181612ec4565b602085015190935061318281612ec4565b604085015190925061319381612ec4565b809150509250925092565b6000602082840312156131b057600080fd5b8135610c9a81612ec4565b6001600160a01b039390931683526020830191909152604082015260600190565b6000602082840312156131ee57600080fd5b5051919050565b60005b838110156132105781810151838201526020016131f8565b83811115610d0c5750506000910152565b600081518084526132398160208601602086016131f5565b601f01601f19169290920160200192915050565b60018060a01b03841681528260208201526060604082015260006110736060830184613221565b6000806040838503121561328757600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b6000828210156132c0576132c0613298565b500390565b80516129b681612ec4565b600061012082840312156132e357600080fd5b6132eb612ef2565b82518152602083015160208201526040830151604082015261330f606084016132c5565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b6000808335601e1984360301811261336957600080fd5b8301803591506001600160401b0382111561338357600080fd5b60200191503681900382131561339857600080fd5b9250929050565b60006001600160ff1b03818413828413808216868404861116156133c5576133c5613298565b600160ff1b60008712828116878305891216156133e4576133e4613298565b6000871292508782058712848416161561340057613400613298565b8785058712818416161561341657613416613298565b505050929093029392505050565b6005811061344257634e487b7160e01b600052602160045260246000fd5b9052565b608081016134548287613424565b6001600160a01b039485166020830152929093166040840152606090920191909152919050565b6001600160a01b03958616815260208101949094529190931660408301526060820192909252901515608082015260a00190565b600082198211156134c2576134c2613298565b500190565b6000600182016134d9576134d9613298565b5060010190565b606081016134ee8286613424565b6001600160a01b0393909316602082015260400152919050565b60408152600061351b6040830185613221565b90508260208301529392505050565b60006020828403121561353c57600080fd5b81516001600160401b038082111561355357600080fd5b818401915084601f83011261356757600080fd5b81518181111561357957613579612edc565b604051601f8201601f19908116603f011681019083821181831017156135a1576135a1612edc565b816040528281528760208487010111156135ba57600080fd5b610aed8360208301602088016131f5565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116806135fb576135fb6135cb565b92169190910492915050565b60006020828403121561361957600080fd5b81518015158114610c9a57600080fd5b602080825260159082015274696e76616c696420617070726f7820706172616d7360581b604082015260600190565b600082613667576136676135cb565b500490565b6001600160a01b03929092168252602082015260400190565b600082516136978184602087016131f5565b9190910192915050565b60008160001904831182151516156136bb576136bb613298565b500290565b6000826136cf576136cf6135cb565b600160ff1b8214600019841416156136e9576136e9613298565b500590565b600080821280156001600160ff1b038490038513161561371057613710613298565b600160ff1b839003841281161561372957613729613298565b50500190565b60008083128015600160ff1b85018412161561374d5761374d613298565b6001600160ff1b038401831381161561376857613768613298565b50500390565b6000600160ff1b820161378357613783613298565b5060000390565b602081526000610c9a602083018461322156fe7bddf462468a651c54b421a930326bf3558d624d1b4ba9decfa69211a0b1013d416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564c372308269f6e4dd0b4f322160cf0edef154584a3ad62248d654ae846e3eb6e8a264697066735822122034fd851ab7472a7be98e7ed728a5ca3caab255e99ed3605799d235f1d75a8cf364736f6c634300080f0033",
|
|
599
|
-
"linkReferences": {
|
|
600
|
-
"contracts/libraries/kyberswap/AggregationRouterHelper.sol": {
|
|
601
|
-
"AggregationRouterHelper": [
|
|
602
|
-
{
|
|
603
|
-
"length": 20,
|
|
604
|
-
"start": 5067
|
|
605
|
-
}
|
|
606
|
-
]
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
"deployedLinkReferences": {
|
|
610
|
-
"contracts/libraries/kyberswap/AggregationRouterHelper.sol": {
|
|
611
|
-
"AggregationRouterHelper": [
|
|
612
|
-
{
|
|
613
|
-
"length": 20,
|
|
614
|
-
"start": 4906
|
|
615
|
-
}
|
|
616
|
-
]
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|