@pendle/core-v2 0.12.2-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 +9 -4
- 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 +8 -3
- 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 +2 -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 +180 -219
- 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 +10 -5
- 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 +7 -2
- package/typechain-types/factories/ActionSwapPT__factory.ts +10 -5
- package/typechain-types/factories/ActionSwapYT__factory.ts +10 -5
- 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 +7 -2
- package/typechain-types/factories/IPVotingController__factory.ts +31 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +7 -2
- 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 +1 -1
- 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 +232 -232
- package/typechain-types/index.ts +90 -90
- 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 -1232
- 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 -693
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -312
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +0 -640
- 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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
3
|
"contractName": "PendleRouter",
|
|
4
|
-
"sourceName": "contracts/
|
|
4
|
+
"sourceName": "contracts/router/PendleRouter.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"inputs": [
|
|
@@ -345,8 +345,8 @@
|
|
|
345
345
|
"type": "receive"
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
|
-
"bytecode": "0x610180604052306080523480156200001657600080fd5b50604051620018313803806200183183398101604081905262000039916200019e565b600154600160a81b900460ff166200005f57600154600160a01b900460ff161562000069565b6200006962000154565b620000d15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b600154600160a81b900460ff16158015620000fc576001805461ffff60a01b191661010160a01b1790555b6001600160a01b0380891660a05287811660c05286811660e052858116610100528481166101205283811661014052821661016052801562000146576001805460ff60a81b191690555b505050505050505062000233565b60006200016c306200017260201b62000cf01760201c565b15905090565b6001600160a01b03163b151590565b80516001600160a01b03811681146200019957600080fd5b919050565b600080600080600080600060e0888a031215620001ba57600080fd5b620001c58862000181565b9650620001d56020890162000181565b9550620001e56040890162000181565b9450620001f56060890162000181565b9350620002056080890162000181565b92506200021560a0890162000181565b91506200022560c0890162000181565b905092959891949750929550565b60805160a05160c05160e0516101005161012051610140516101605161154c620002e5600039600081816102540152610bd00152600081816102f10152610b9101526000818161029d0152610b5201526000818160f00152610af70152600081816101410152610a3001526000818161020001526109690152600081816103250152610836015260008181610488015281816104c8015281816105fb0152818161063b01526106b7015261154c6000f3fe6080604052600436106100c75760003560e01c806305b91e12146100de57806306ddc9a61461012f578063078dfbe7146101635780633659cfe6146101835780634e71e0c8146101a35780634f1ef286146101b857806352d1902d146101cb578063552407d2146101ee57806376e1df48146102225780637c868aa1146102425780638129fc1c1461027657806386df09761461028b5780638da5cb5b146102bf578063a25228c9146102df578063b06cc6b014610313578063e30c397814610347576100d6565b366100d6576100d4610367565b005b6100d4610367565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013b57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561016f57600080fd5b506100d461017e3660046111f3565b610379565b34801561018f57600080fd5b506100d461019e366004611236565b61047e565b3480156101af57600080fd5b506100d4610546565b6100d46101c6366004611267565b6105f1565b3480156101d757600080fd5b506101e06106aa565b604051908152602001610126565b3480156101fa57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561022e57600080fd5b5061011261023d366004611328565b610758565b34801561024e57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561028257600080fd5b506100d4610c19565b34801561029757600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b50600054610112906001600160a01b031681565b3480156102eb57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561031f57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561035357600080fd5b50600154610112906001600160a01b031681565b610377610372610cff565b610d1b565b565b6000546001600160a01b031633146103ac5760405162461bcd60e51b81526004016103a390611352565b60405180910390fd5b811561045d576001600160a01b0383161515806103c65750805b61040a5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103a3565b600080546040516001600160a01b03808716939216916000805160206114d083398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c65760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f8610d3f565b6001600160a01b03161461051e5760405162461bcd60e51b81526004016103a3906113c1565b61052781610d5b565b6040805160008082526020820190925261054391839190610d85565b50565b6001546001600160a01b03163381146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103a3565b600080546040516001600160a01b03808516939216916000805160206114d083398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106395760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661066b610d3f565b6001600160a01b0316146106915760405162461bcd60e51b81526004016103a3906113c1565b61069a82610d5b565b6106a682826001610d85565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107455760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016103a3565b506000805160206114b083398151915290565b60006001600160e01b03198216634f0c717960e01b148061078957506001600160e01b0319821663268d89cf60e01b145b806107a757506001600160e01b03198216600162289e1960e11b0319145b806107c257506001600160e01b0319821663b03861b360e01b145b806107dd57506001600160e01b03198216635809ec4160e11b145b806107f857506001600160e01b031982166305ac8a7b60e01b145b8061081357506001600160e01b03198216631efc6ebd60e31b145b8061082e57506001600160e01b031982166331e9a68760e01b145b1561085a57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663113638fb60e11b148061088957506001600160e01b03198216637307a7a560e01b145b806108a457506001600160e01b03198216633af1f32960e01b145b806108bf57506001600160e01b031982166301f8dfdf60e41b145b806108da57506001600160e01b031982166378bdc62560e11b145b806108f557506001600160e01b0319821663eda0b71560e01b145b8061091057506001600160e01b03198216631e74823760e31b145b8061092b57506001600160e01b0319821663694ab55960e01b145b8061094657506001600160e01b03198216639b4def4360e01b145b8061096157506001600160e01b0319821663febde72560e01b145b1561098d57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663d65d45a960e01b14806109bc57506001600160e01b0319821663f615fe1160e01b145b806109d757506001600160e01b03198216630e5a48b360e31b145b806109f257506001600160e01b0319821663035e728960e61b145b80610a0d57506001600160e01b0319821663062b7e3d60e11b145b80610a2857506001600160e01b031982166307027acd60e41b145b15610a5457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636c66135560e11b1480610a8357506001600160e01b031982166321aab85960e01b145b80610a9e57506001600160e01b03198216631fada54f60e21b145b80610ab957506001600160e01b031982166301db689760e31b145b80610ad457506001600160e01b031982166353f9e1a360e01b145b80610aef57506001600160e01b031982166392126dab60e01b145b15610b1b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4a57506001600160e01b0319821663448b9b9560e01b145b15610b7657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bb557507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bf457507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b0319831660048201526024016103a3565b600154600160a81b900460ff16610c3d57600154600160a01b900460ff1615610c45565b610c45610ef0565b610ca85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103a3565b600154600160a81b900460ff16158015610cd2576001805461ffff60a01b191661010160a01b1790555b610cda610f01565b8015610543576001805460ff60a81b1916905550565b6001600160a01b03163b151590565b6000610d166000356001600160e01b031916610758565b905090565b3660008037600080366000845af43d6000803e808015610d3a573d6000f35b3d6000fd5b6000805160206114b0833981519152546001600160a01b031690565b6000546001600160a01b031633146105435760405162461bcd60e51b81526004016103a390611352565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610db85761047983610f82565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e12575060408051601f3d908101601f19168201909252610e0f918101906113fb565b60015b610e755760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016103a3565b6000805160206114b08339815191528114610ee45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016103a3565b5061047983838361101c565b6000610efb30610cf0565b15905090565b600154600160a81b900460ff16610f6e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103a3565b600080546001600160a01b03191633179055565b610f8b81610cf0565b610fed5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016103a3565b6000805160206114b083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61102583611047565b6000825111806110325750805b15610479576110418383611087565b50505050565b61105081610f82565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110ac83836040518060600160405280602781526020016114f0602791396110b3565b9392505050565b60606110be84610cf0565b6111195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016103a3565b600080856001600160a01b0316856040516111349190611440565b600060405180830381855af49150503d806000811461116f576040519150601f19603f3d011682016040523d82523d6000602084013e611174565b606091505b509150915061118482828661118e565b9695505050505050565b6060831561119d5750816110ac565b8251156111ad5782518084602001fd5b8160405162461bcd60e51b81526004016103a3919061145c565b80356001600160a01b03811681146111de57600080fd5b919050565b803580151581146111de57600080fd5b60008060006060848603121561120857600080fd5b611211846111c7565b925061121f602085016111e3565b915061122d604085016111e3565b90509250925092565b60006020828403121561124857600080fd5b6110ac826111c7565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561127a57600080fd5b611283836111c7565b915060208301356001600160401b038082111561129f57600080fd5b818501915085601f8301126112b357600080fd5b8135818111156112c5576112c5611251565b604051601f8201601f19908116603f011681019083821181831017156112ed576112ed611251565b8160405282815288602084870101111561130657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561133a57600080fd5b81356001600160e01b0319811681146110ac57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061149083398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061149083398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561140d57600080fd5b5051919050565b60005b8381101561142f578181015183820152602001611417565b838111156110415750506000910152565b60008251611452818460208701611414565b9190910192915050565b602081526000825180602084015261147b816040850160208701611414565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220973ec39ef57bcfc86ea170b673da14064b0925ec0ad42b190a90b4ec9952a66064736f6c634300080f0033",
|
|
349
|
-
"deployedBytecode": "0x6080604052600436106100c75760003560e01c806305b91e12146100de57806306ddc9a61461012f578063078dfbe7146101635780633659cfe6146101835780634e71e0c8146101a35780634f1ef286146101b857806352d1902d146101cb578063552407d2146101ee57806376e1df48146102225780637c868aa1146102425780638129fc1c1461027657806386df09761461028b5780638da5cb5b146102bf578063a25228c9146102df578063b06cc6b014610313578063e30c397814610347576100d6565b366100d6576100d4610367565b005b6100d4610367565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013b57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561016f57600080fd5b506100d461017e3660046111f3565b610379565b34801561018f57600080fd5b506100d461019e366004611236565b61047e565b3480156101af57600080fd5b506100d4610546565b6100d46101c6366004611267565b6105f1565b3480156101d757600080fd5b506101e06106aa565b604051908152602001610126565b3480156101fa57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561022e57600080fd5b5061011261023d366004611328565b610758565b34801561024e57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561028257600080fd5b506100d4610c19565b34801561029757600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b50600054610112906001600160a01b031681565b3480156102eb57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561031f57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561035357600080fd5b50600154610112906001600160a01b031681565b610377610372610cff565b610d1b565b565b6000546001600160a01b031633146103ac5760405162461bcd60e51b81526004016103a390611352565b60405180910390fd5b811561045d576001600160a01b0383161515806103c65750805b61040a5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103a3565b600080546040516001600160a01b03808716939216916000805160206114d083398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c65760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f8610d3f565b6001600160a01b03161461051e5760405162461bcd60e51b81526004016103a3906113c1565b61052781610d5b565b6040805160008082526020820190925261054391839190610d85565b50565b6001546001600160a01b03163381146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103a3565b600080546040516001600160a01b03808516939216916000805160206114d083398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106395760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661066b610d3f565b6001600160a01b0316146106915760405162461bcd60e51b81526004016103a3906113c1565b61069a82610d5b565b6106a682826001610d85565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107455760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016103a3565b506000805160206114b083398151915290565b60006001600160e01b03198216634f0c717960e01b148061078957506001600160e01b0319821663268d89cf60e01b145b806107a757506001600160e01b03198216600162289e1960e11b0319145b806107c257506001600160e01b0319821663b03861b360e01b145b806107dd57506001600160e01b03198216635809ec4160e11b145b806107f857506001600160e01b031982166305ac8a7b60e01b145b8061081357506001600160e01b03198216631efc6ebd60e31b145b8061082e57506001600160e01b031982166331e9a68760e01b145b1561085a57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663113638fb60e11b148061088957506001600160e01b03198216637307a7a560e01b145b806108a457506001600160e01b03198216633af1f32960e01b145b806108bf57506001600160e01b031982166301f8dfdf60e41b145b806108da57506001600160e01b031982166378bdc62560e11b145b806108f557506001600160e01b0319821663eda0b71560e01b145b8061091057506001600160e01b03198216631e74823760e31b145b8061092b57506001600160e01b0319821663694ab55960e01b145b8061094657506001600160e01b03198216639b4def4360e01b145b8061096157506001600160e01b0319821663febde72560e01b145b1561098d57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663d65d45a960e01b14806109bc57506001600160e01b0319821663f615fe1160e01b145b806109d757506001600160e01b03198216630e5a48b360e31b145b806109f257506001600160e01b0319821663035e728960e61b145b80610a0d57506001600160e01b0319821663062b7e3d60e11b145b80610a2857506001600160e01b031982166307027acd60e41b145b15610a5457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636c66135560e11b1480610a8357506001600160e01b031982166321aab85960e01b145b80610a9e57506001600160e01b03198216631fada54f60e21b145b80610ab957506001600160e01b031982166301db689760e31b145b80610ad457506001600160e01b031982166353f9e1a360e01b145b80610aef57506001600160e01b031982166392126dab60e01b145b15610b1b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4a57506001600160e01b0319821663448b9b9560e01b145b15610b7657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bb557507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bf457507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b0319831660048201526024016103a3565b600154600160a81b900460ff16610c3d57600154600160a01b900460ff1615610c45565b610c45610ef0565b610ca85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103a3565b600154600160a81b900460ff16158015610cd2576001805461ffff60a01b191661010160a01b1790555b610cda610f01565b8015610543576001805460ff60a81b1916905550565b6001600160a01b03163b151590565b6000610d166000356001600160e01b031916610758565b905090565b3660008037600080366000845af43d6000803e808015610d3a573d6000f35b3d6000fd5b6000805160206114b0833981519152546001600160a01b031690565b6000546001600160a01b031633146105435760405162461bcd60e51b81526004016103a390611352565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610db85761047983610f82565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e12575060408051601f3d908101601f19168201909252610e0f918101906113fb565b60015b610e755760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016103a3565b6000805160206114b08339815191528114610ee45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016103a3565b5061047983838361101c565b6000610efb30610cf0565b15905090565b600154600160a81b900460ff16610f6e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103a3565b600080546001600160a01b03191633179055565b610f8b81610cf0565b610fed5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016103a3565b6000805160206114b083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61102583611047565b6000825111806110325750805b15610479576110418383611087565b50505050565b61105081610f82565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110ac83836040518060600160405280602781526020016114f0602791396110b3565b9392505050565b60606110be84610cf0565b6111195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016103a3565b600080856001600160a01b0316856040516111349190611440565b600060405180830381855af49150503d806000811461116f576040519150601f19603f3d011682016040523d82523d6000602084013e611174565b606091505b509150915061118482828661118e565b9695505050505050565b6060831561119d5750816110ac565b8251156111ad5782518084602001fd5b8160405162461bcd60e51b81526004016103a3919061145c565b80356001600160a01b03811681146111de57600080fd5b919050565b803580151581146111de57600080fd5b60008060006060848603121561120857600080fd5b611211846111c7565b925061121f602085016111e3565b915061122d604085016111e3565b90509250925092565b60006020828403121561124857600080fd5b6110ac826111c7565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561127a57600080fd5b611283836111c7565b915060208301356001600160401b038082111561129f57600080fd5b818501915085601f8301126112b357600080fd5b8135818111156112c5576112c5611251565b604051601f8201601f19908116603f011681019083821181831017156112ed576112ed611251565b8160405282815288602084870101111561130657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561133a57600080fd5b81356001600160e01b0319811681146110ac57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061149083398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061149083398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561140d57600080fd5b5051919050565b60005b8381101561142f578181015183820152602001611417565b838111156110415750506000910152565b60008251611452818460208701611414565b9190910192915050565b602081526000825180602084015261147b816040850160208701611414565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220973ec39ef57bcfc86ea170b673da14064b0925ec0ad42b190a90b4ec9952a66064736f6c634300080f0033",
|
|
348
|
+
"bytecode": "0x610180604052306080523480156200001657600080fd5b50604051620018293803806200182983398101604081905262000039916200019e565b600154600160a81b900460ff166200005f57600154600160a01b900460ff161562000069565b6200006962000154565b620000d15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b600154600160a81b900460ff16158015620000fc576001805461ffff60a01b191661010160a01b1790555b6001600160a01b0380891660a05287811660c05286811660e052858116610100528481166101205283811661014052821661016052801562000146576001805460ff60a81b191690555b505050505050505062000233565b60006200016c306200017260201b62000cf01760201c565b15905090565b6001600160a01b03163b151590565b80516001600160a01b03811681146200019957600080fd5b919050565b600080600080600080600060e0888a031215620001ba57600080fd5b620001c58862000181565b9650620001d56020890162000181565b9550620001e56040890162000181565b9450620001f56060890162000181565b9350620002056080890162000181565b92506200021560a0890162000181565b91506200022560c0890162000181565b905092959891949750929550565b60805160a05160c05160e05161010051610120516101405161016051611544620002e5600039600081816102540152610bd00152600081816102f10152610b9101526000818161029d0152610b5201526000818160f00152610af70152600081816101410152610a3001526000818161020001526109690152600081816103250152610836015260008181610488015281816104c8015281816105fb0152818161063b01526106b701526115446000f3fe6080604052600436106100c75760003560e01c806305b91e12146100de57806306ddc9a61461012f578063078dfbe7146101635780633659cfe6146101835780634e71e0c8146101a35780634f1ef286146101b857806352d1902d146101cb578063552407d2146101ee57806376e1df48146102225780637c868aa1146102425780638129fc1c1461027657806386df09761461028b5780638da5cb5b146102bf578063a25228c9146102df578063b06cc6b014610313578063e30c397814610347576100d6565b366100d6576100d4610367565b005b6100d4610367565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013b57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561016f57600080fd5b506100d461017e3660046111f3565b610379565b34801561018f57600080fd5b506100d461019e366004611236565b61047e565b3480156101af57600080fd5b506100d4610546565b6100d46101c6366004611267565b6105f1565b3480156101d757600080fd5b506101e06106aa565b604051908152602001610126565b3480156101fa57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561022e57600080fd5b5061011261023d366004611328565b610758565b34801561024e57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561028257600080fd5b506100d4610c19565b34801561029757600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b50600054610112906001600160a01b031681565b3480156102eb57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561031f57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561035357600080fd5b50600154610112906001600160a01b031681565b610377610372610cff565b610d1b565b565b6000546001600160a01b031633146103ac5760405162461bcd60e51b81526004016103a390611352565b60405180910390fd5b811561045d576001600160a01b0383161515806103c65750805b61040a5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103a3565b600080546040516001600160a01b03808716939216916000805160206114c883398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c65760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f8610d3f565b6001600160a01b03161461051e5760405162461bcd60e51b81526004016103a3906113c1565b61052781610d5b565b6040805160008082526020820190925261054391839190610d85565b50565b6001546001600160a01b03163381146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103a3565b600080546040516001600160a01b03808516939216916000805160206114c883398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106395760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661066b610d3f565b6001600160a01b0316146106915760405162461bcd60e51b81526004016103a3906113c1565b61069a82610d5b565b6106a682826001610d85565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107455760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016103a3565b506000805160206114a883398151915290565b60006001600160e01b03198216634f0c717960e01b148061078957506001600160e01b0319821663268d89cf60e01b145b806107a757506001600160e01b03198216600162289e1960e11b0319145b806107c257506001600160e01b0319821663b03861b360e01b145b806107dd57506001600160e01b03198216635809ec4160e11b145b806107f857506001600160e01b031982166305ac8a7b60e01b145b8061081357506001600160e01b03198216631efc6ebd60e31b145b8061082e57506001600160e01b031982166331e9a68760e01b145b1561085a57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663113638fb60e11b148061088957506001600160e01b03198216637307a7a560e01b145b806108a457506001600160e01b03198216633af1f32960e01b145b806108bf57506001600160e01b031982166301f8dfdf60e41b145b806108da57506001600160e01b031982166378bdc62560e11b145b806108f557506001600160e01b0319821663eda0b71560e01b145b8061091057506001600160e01b03198216631e74823760e31b145b8061092b57506001600160e01b0319821663694ab55960e01b145b8061094657506001600160e01b03198216639b4def4360e01b145b8061096157506001600160e01b0319821663febde72560e01b145b1561098d57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663d65d45a960e01b14806109bc57506001600160e01b0319821663f615fe1160e01b145b806109d757506001600160e01b03198216630e5a48b360e31b145b806109f257506001600160e01b0319821663035e728960e61b145b80610a0d57506001600160e01b0319821663062b7e3d60e11b145b80610a2857506001600160e01b031982166307027acd60e41b145b15610a5457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636c66135560e11b1480610a8357506001600160e01b031982166321aab85960e01b145b80610a9e57506001600160e01b03198216631fada54f60e21b145b80610ab957506001600160e01b031982166301db689760e31b145b80610ad457506001600160e01b031982166353f9e1a360e01b145b80610aef57506001600160e01b031982166392126dab60e01b145b15610b1b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4a57506001600160e01b0319821663448b9b9560e01b145b15610b7657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bb557507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bf457507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b0319831660048201526024016103a3565b600154600160a81b900460ff16610c3d57600154600160a01b900460ff1615610c45565b610c45610ef0565b610ca85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103a3565b600154600160a81b900460ff16158015610cd2576001805461ffff60a01b191661010160a01b1790555b610cda610f01565b8015610543576001805460ff60a81b1916905550565b6001600160a01b03163b151590565b6000610d166000356001600160e01b031916610758565b905090565b3660008037600080366000845af43d6000803e808015610d3a573d6000f35b3d6000fd5b6000805160206114a8833981519152546001600160a01b031690565b6000546001600160a01b031633146105435760405162461bcd60e51b81526004016103a390611352565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610db85761047983610f82565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e12575060408051601f3d908101601f19168201909252610e0f918101906113fb565b60015b610e755760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016103a3565b6000805160206114a88339815191528114610ee45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016103a3565b5061047983838361101c565b6000610efb30610cf0565b15905090565b600154600160a81b900460ff16610f6e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103a3565b600080546001600160a01b03191633179055565b610f8b81610cf0565b610fed5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016103a3565b6000805160206114a883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61102583611047565b6000825111806110325750805b15610479576110418383611087565b50505050565b61105081610f82565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110ac83836040518060600160405280602781526020016114e8602791396110b3565b9392505050565b60606110be84610cf0565b6111195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016103a3565b600080856001600160a01b0316856040516111349190611438565b600060405180830381855af49150503d806000811461116f576040519150601f19603f3d011682016040523d82523d6000602084013e611174565b606091505b509150915061118482828661118e565b9695505050505050565b6060831561119d5750816110ac565b8251156111ad5782518084602001fd5b8160405162461bcd60e51b81526004016103a39190611454565b80356001600160a01b03811681146111de57600080fd5b919050565b803580151581146111de57600080fd5b60008060006060848603121561120857600080fd5b611211846111c7565b925061121f602085016111e3565b915061122d604085016111e3565b90509250925092565b60006020828403121561124857600080fd5b6110ac826111c7565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561127a57600080fd5b611283836111c7565b915060208301356001600160401b038082111561129f57600080fd5b818501915085601f8301126112b357600080fd5b8135818111156112c5576112c5611251565b604051601f8201601f19908116603f011681019083821181831017156112ed576112ed611251565b8160405282815288602084870101111561130657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561133a57600080fd5b81356001600160e01b0319811681146110ac57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061148883398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061148883398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561140d57600080fd5b5051919050565b60005b8381101561142f578181015183820152602001611417565b50506000910152565b6000825161144a818460208701611414565b9190910192915050565b6020815260008251806020840152611473816040850160208701611414565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a0cdedd71d9cbf78ae7c71b939164a6b8cb5d047d6896e39bd8345f8be00f05264736f6c63430008110033",
|
|
349
|
+
"deployedBytecode": "0x6080604052600436106100c75760003560e01c806305b91e12146100de57806306ddc9a61461012f578063078dfbe7146101635780633659cfe6146101835780634e71e0c8146101a35780634f1ef286146101b857806352d1902d146101cb578063552407d2146101ee57806376e1df48146102225780637c868aa1146102425780638129fc1c1461027657806386df09761461028b5780638da5cb5b146102bf578063a25228c9146102df578063b06cc6b014610313578063e30c397814610347576100d6565b366100d6576100d4610367565b005b6100d4610367565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013b57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561016f57600080fd5b506100d461017e3660046111f3565b610379565b34801561018f57600080fd5b506100d461019e366004611236565b61047e565b3480156101af57600080fd5b506100d4610546565b6100d46101c6366004611267565b6105f1565b3480156101d757600080fd5b506101e06106aa565b604051908152602001610126565b3480156101fa57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561022e57600080fd5b5061011261023d366004611328565b610758565b34801561024e57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561028257600080fd5b506100d4610c19565b34801561029757600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b3480156102cb57600080fd5b50600054610112906001600160a01b031681565b3480156102eb57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561031f57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b34801561035357600080fd5b50600154610112906001600160a01b031681565b610377610372610cff565b610d1b565b565b6000546001600160a01b031633146103ac5760405162461bcd60e51b81526004016103a390611352565b60405180910390fd5b811561045d576001600160a01b0383161515806103c65750805b61040a5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016103a3565b600080546040516001600160a01b03808716939216916000805160206114c883398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c65760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f8610d3f565b6001600160a01b03161461051e5760405162461bcd60e51b81526004016103a3906113c1565b61052781610d5b565b6040805160008082526020820190925261054391839190610d85565b50565b6001546001600160a01b03163381146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016103a3565b600080546040516001600160a01b03808516939216916000805160206114c883398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106395760405162461bcd60e51b81526004016103a390611387565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661066b610d3f565b6001600160a01b0316146106915760405162461bcd60e51b81526004016103a3906113c1565b61069a82610d5b565b6106a682826001610d85565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107455760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016103a3565b506000805160206114a883398151915290565b60006001600160e01b03198216634f0c717960e01b148061078957506001600160e01b0319821663268d89cf60e01b145b806107a757506001600160e01b03198216600162289e1960e11b0319145b806107c257506001600160e01b0319821663b03861b360e01b145b806107dd57506001600160e01b03198216635809ec4160e11b145b806107f857506001600160e01b031982166305ac8a7b60e01b145b8061081357506001600160e01b03198216631efc6ebd60e31b145b8061082e57506001600160e01b031982166331e9a68760e01b145b1561085a57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663113638fb60e11b148061088957506001600160e01b03198216637307a7a560e01b145b806108a457506001600160e01b03198216633af1f32960e01b145b806108bf57506001600160e01b031982166301f8dfdf60e41b145b806108da57506001600160e01b031982166378bdc62560e11b145b806108f557506001600160e01b0319821663eda0b71560e01b145b8061091057506001600160e01b03198216631e74823760e31b145b8061092b57506001600160e01b0319821663694ab55960e01b145b8061094657506001600160e01b03198216639b4def4360e01b145b8061096157506001600160e01b0319821663febde72560e01b145b1561098d57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663d65d45a960e01b14806109bc57506001600160e01b0319821663f615fe1160e01b145b806109d757506001600160e01b03198216630e5a48b360e31b145b806109f257506001600160e01b0319821663035e728960e61b145b80610a0d57506001600160e01b0319821663062b7e3d60e11b145b80610a2857506001600160e01b031982166307027acd60e41b145b15610a5457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636c66135560e11b1480610a8357506001600160e01b031982166321aab85960e01b145b80610a9e57506001600160e01b03198216631fada54f60e21b145b80610ab957506001600160e01b031982166301db689760e31b145b80610ad457506001600160e01b031982166353f9e1a360e01b145b80610aef57506001600160e01b031982166392126dab60e01b145b15610b1b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4a57506001600160e01b0319821663448b9b9560e01b145b15610b7657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bb557507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bf457507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b0319831660048201526024016103a3565b600154600160a81b900460ff16610c3d57600154600160a01b900460ff1615610c45565b610c45610ef0565b610ca85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016103a3565b600154600160a81b900460ff16158015610cd2576001805461ffff60a01b191661010160a01b1790555b610cda610f01565b8015610543576001805460ff60a81b1916905550565b6001600160a01b03163b151590565b6000610d166000356001600160e01b031916610758565b905090565b3660008037600080366000845af43d6000803e808015610d3a573d6000f35b3d6000fd5b6000805160206114a8833981519152546001600160a01b031690565b6000546001600160a01b031633146105435760405162461bcd60e51b81526004016103a390611352565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610db85761047983610f82565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e12575060408051601f3d908101601f19168201909252610e0f918101906113fb565b60015b610e755760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016103a3565b6000805160206114a88339815191528114610ee45760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016103a3565b5061047983838361101c565b6000610efb30610cf0565b15905090565b600154600160a81b900460ff16610f6e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016103a3565b600080546001600160a01b03191633179055565b610f8b81610cf0565b610fed5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016103a3565b6000805160206114a883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61102583611047565b6000825111806110325750805b15610479576110418383611087565b50505050565b61105081610f82565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110ac83836040518060600160405280602781526020016114e8602791396110b3565b9392505050565b60606110be84610cf0565b6111195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016103a3565b600080856001600160a01b0316856040516111349190611438565b600060405180830381855af49150503d806000811461116f576040519150601f19603f3d011682016040523d82523d6000602084013e611174565b606091505b509150915061118482828661118e565b9695505050505050565b6060831561119d5750816110ac565b8251156111ad5782518084602001fd5b8160405162461bcd60e51b81526004016103a39190611454565b80356001600160a01b03811681146111de57600080fd5b919050565b803580151581146111de57600080fd5b60008060006060848603121561120857600080fd5b611211846111c7565b925061121f602085016111e3565b915061122d604085016111e3565b90509250925092565b60006020828403121561124857600080fd5b6110ac826111c7565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561127a57600080fd5b611283836111c7565b915060208301356001600160401b038082111561129f57600080fd5b818501915085601f8301126112b357600080fd5b8135818111156112c5576112c5611251565b604051601f8201601f19908116603f011681019083821181831017156112ed576112ed611251565b8160405282815288602084870101111561130657600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561133a57600080fd5b81356001600160e01b0319811681146110ac57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061148883398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061148883398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561140d57600080fd5b5051919050565b60005b8381101561142f578181015183820152602001611417565b50506000910152565b6000825161144a818460208701611414565b9190910192915050565b6020815260008251806020840152611473816040850160208701611414565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a0cdedd71d9cbf78ae7c71b939164a6b8cb5d047d6896e39bd8345f8be00f05264736f6c63430008110033",
|
|
350
350
|
"linkReferences": {},
|
|
351
351
|
"deployedLinkReferences": {}
|
|
352
352
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
3
|
"contractName": "MarketApproxPtInLib",
|
|
4
|
-
"sourceName": "contracts/
|
|
4
|
+
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122054ca9b8ead311ffb8cebb040c9aaab9821304435c8db681b2087ffeabef1e12364736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122054ca9b8ead311ffb8cebb040c9aaab9821304435c8db681b2087ffeabef1e12364736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
3
|
"contractName": "MarketApproxPtOutLib",
|
|
4
|
-
"sourceName": "contracts/
|
|
4
|
+
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d29635ef458fbfc56b70c002c946011570ed22e9a83a421b536685bd5778f55264736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d29635ef458fbfc56b70c002c946011570ed22e9a83a421b536685bd5778f55264736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "AggregationRouterHelper",
|
|
4
|
+
"sourceName": "contracts/router/kyberswap/AggregationRouterHelper.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "kybercall",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint256",
|
|
15
|
+
"name": "newAmount",
|
|
16
|
+
"type": "uint256"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "getScaledInputData",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "bytes",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "bytes"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "pure",
|
|
28
|
+
"type": "function"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"bytecode": "0x611e4861003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063e4da6f2e1461003a575b600080fd5b61004d610048366004610af6565b610063565b60405161005a9190610bbd565b60405180910390f35b606060006100746004828688610bd0565b61007d91610bfa565b90506000808080610091886004818c610bd0565b81019061009e9190610eb3565b93509350935093506100b1838389610110565b604051919450925085906100cf90869086908690869060240161108f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152955050505050505b9392505050565b610118610a8f565b60e084015160a08501516060919084810361013a5786869350935050506101dd565b60208216156101bc576040870151511561019b5760405162461bcd60e51b815260206004820152601e60248201527f6b796265723a2063616e2774207363616c652069662074616b6520666565000060448201526064015b60405180910390fd5b6101a68782876101e5565b6101b1878388610340565b9350935050506101dd565b60006101c987838861046d565b90506101d68883886101e5565b9450925050505b935093915050565b6101ed610a8f565b60c0840151836101fd84836111a0565b61020791906111bd565b60c0860152801580159061021d575060c0850151155b1561022a57600160c08601525b60a085018390526040850151516000036102475784915050610109565b6000805b86604001515181101561033557600187604001515161026a91906111df565b81036102a15761027a82866111df565b87606001518281518110610290576102906111f2565b6020026020010181815250506102f8565b8585886060015183815181106102b9576102b96111f2565b60200260200101516102cb91906111a0565b6102d591906111bd565b876060015182815181106102eb576102eb6111f2565b6020026020010181815250505b8660600151818151811061030e5761030e6111f2565b6020026020010151826103219190611208565b91508061032d8161121b565b91505061024b565b509495945050505050565b606060008480602001905181019061035891906113ca565b8051519091506000805b82811015610440576103756001846111df565b81036103ac5761038582876111df565b8460200151828151811061039b5761039b6111f2565b602002602001018181525050610403565b8686856020015183815181106103c4576103c46111f2565b60200260200101516103d691906111a0565b6103e091906111bd565b846020015182815181106103f6576103f66111f2565b6020026020010181815250505b83602001518181518110610419576104196111f2565b60200260200101518261042c9190611208565b9150806104388161121b565b915050610362565b508260405160200161045291906114ac565b60405160208183030381529060405293505050509392505050565b606060008480602001905181019061048591906116df565b90508383826060015161049891906111a0565b6104a291906111bd565b60608201526000805b8251518110156106dd576000836000015182815181106104cd576104cd6111f2565b60200260200101516000815181106104e7576104e76111f2565b6020026020010151905060006008826020015161ffff16901c90506000600186600001515161051691906111df565b84036105295761052685896111df565b90505b60ff821661054957825161053f90828b8b610709565b90845290506106bb565b60ff82166001148061055e575060ff82166004145b1561057157825161053f90828b8b6107d6565b60011960ff83160161058b57825161053f90828b8b610857565b60021960ff8316016105a557825161053f90828b8b610709565b60041960ff8316016105bf57825161053f90828b8b6108b6565b60051960ff8316016105d957825161053f90828b8b61097d565b60061960ff83160161062b5760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a2063616e2774207363616c65206b7962657272667160281b6044820152606401610192565b60071960ff83160161064557825161053f90828b8b610a30565b60081960ff83160161065f57825161053f90828b8b610709565b60405162461bcd60e51b815260206004820152602b60248201527f4167677265676174696f6e4578656375746f723a204465782074797065206e6f60448201526a1d081cdd5c1c1bdc9d195960aa1b6064820152608401610192565b6106c58186611208565b945050505080806106d59061121b565b9150506104ab565b50816040516020016106ef91906117b6565b604051602081830303815290604052925050509392505050565b60606000808680602001905181019061072291906118f4565b905085156107365760808101869052610757565b8484826080015161074791906111a0565b61075191906111bd565b60808201525b806040516020016107b4919081516001600160a01b039081168252602080840151821690830152604080840151821690830152606080840151909116908201526080808301519082015260a0918201519181019190915260c00190565b6040516020818303038152906040528160800151925092505094509492505050565b6060600080868060200190518101906107ef9190611982565b905085156108035760a08101869052610824565b84848260a0015161081491906111a0565b61081e91906111bd565b60a08201525b806040516020016108359190611a23565b6040516020818303038152906040528160a00151925092505094509492505050565b6060600080868060200190518101906108709190611ad5565b905085156108845760a081018690526108a5565b84848260a0015161089591906111a0565b61089f91906111bd565b60a08201525b806040516020016108359190611b72565b6060600080868060200190518101906108cf9190611c0c565b905085156108e35760808101869052610904565b848482608001516108f491906111a0565b6108fe91906111bd565b60808201525b806040516020016107b4919060006101008201905060018060a01b038084511683528060208501511660208401528060408501511660408401528060608501511660608401526080840151608084015260a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6060600080868060200190518101906109969190611cc7565b905085156109aa57608081018690526109cb565b848482608001516109bb91906111a0565b6109c591906111bd565b60808201525b60808101516040516107b491839160200182516001600160a01b03908116825260208085015190830152604080850151821690830152606080850151909116908201526080808401519082015260a0928301519281019290925260c082015260e00190565b606060008086806020019051810190610a499190611d06565b90508515610a5d5760808101869052610a7e565b84848260800151610a6e91906111a0565b610a7891906111bd565b60808201525b806040516020016107b49190611d90565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b03168152602001606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001606081525090565b600080600060408486031215610b0b57600080fd5b83356001600160401b0380821115610b2257600080fd5b818601915086601f830112610b3657600080fd5b813581811115610b4557600080fd5b876020828501011115610b5757600080fd5b6020928301989097509590910135949350505050565b60005b83811015610b88578181015183820152602001610b70565b50506000910152565b60008151808452610ba9816020860160208601610b6d565b601f01601f19169290920160200192915050565b6020815260006101096020830184610b91565b60008085851115610be057600080fd5b83861115610bed57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610c225780818660040360031b1b83161692505b505092915050565b6001600160a01b0381168114610c3f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715610c7b57610c7b610c42565b60405290565b60405160a081016001600160401b0381118282101715610c7b57610c7b610c42565b604080519081016001600160401b0381118282101715610c7b57610c7b610c42565b60405160e081016001600160401b0381118282101715610c7b57610c7b610c42565b60405160c081016001600160401b0381118282101715610c7b57610c7b610c42565b604051601f8201601f191681016001600160401b0381118282101715610d3157610d31610c42565b604052919050565b8035610d4481610c2a565b919050565b60006001600160401b03821115610d6257610d62610c42565b5060051b60200190565b600082601f830112610d7d57600080fd5b81356020610d92610d8d83610d49565b610d09565b82815260059290921b84018101918181019086841115610db157600080fd5b8286015b84811015610dd5578035610dc881610c2a565b8352918301918301610db5565b509695505050505050565b600082601f830112610df157600080fd5b81356020610e01610d8d83610d49565b82815260059290921b84018101918181019086841115610e2057600080fd5b8286015b84811015610dd55780358352918301918301610e24565b60006001600160401b03821115610e5457610e54610c42565b50601f01601f191660200190565b600082601f830112610e7357600080fd5b8135610e81610d8d82610e3b565b818152846020838601011115610e9657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610ec957600080fd5b8435610ed481610c2a565b935060208501356001600160401b0380821115610ef057600080fd5b908601906101208289031215610f0557600080fd5b610f0d610c58565b610f1683610d39565b8152610f2460208401610d39565b6020820152604083013582811115610f3b57600080fd5b610f478a828601610d6c565b604083015250606083013582811115610f5f57600080fd5b610f6b8a828601610de0565b606083015250610f7d60808401610d39565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013583811115610fb457600080fd5b610fc08b828701610e62565b828401525050809550506040870135915080821115610fde57600080fd5b610fea88838901610e62565b9350606087013591508082111561100057600080fd5b5061100d87828801610e62565b91505092959194509250565b6001600160a01b03169052565b600081518084526020808501945080840160005b838110156103355781516001600160a01b03168752958201959082019060010161103a565b600081518084526020808501945080840160005b8381101561033557815187529582019590820190600101611073565b6001600160a01b038516815260806020820181905284516110b291830190611019565b600060208501516110c660a0840182611019565b5060408501516101208060c08501526110e36101a0850183611026565b91506060870151607f19808685030160e0870152611101848361105f565b93506080890151915061010061111981880184611019565b60a08a01518488015260c08a015161014088015260e08a0151610160880152808a0151935050808685030161018087015250506111568282610b91565b915050828103604084015261116b8186610b91565b9050828103606084015261117f8185610b91565b979650505050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176111b7576111b761118a565b92915050565b6000826111da57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156111b7576111b761118a565b634e487b7160e01b600052603260045260246000fd5b808201808211156111b7576111b761118a565b60006001820161122d5761122d61118a565b5060010190565b8051610d4481610c2a565b600082601f83011261125057600080fd5b81516020611260610d8d83610d49565b82815260059290921b8401810191818101908684111561127f57600080fd5b8286015b84811015610dd557805161129681610c2a565b8352918301918301611283565b600082601f8301126112b457600080fd5b815160206112c4610d8d83610d49565b82815260059290921b840181019181810190868411156112e357600080fd5b8286015b84811015610dd557805183529183019183016112e7565b600082601f83011261130f57600080fd5b815161131d610d8d82610e3b565b81815284602083860101111561133257600080fd5b611343826020830160208701610b6d565b949350505050565b600082601f83011261135c57600080fd5b8151602061136c610d8d83610d49565b82815260059290921b8401810191818101908684111561138b57600080fd5b8286015b84811015610dd55780516001600160401b038111156113ae5760008081fd5b6113bc8986838b01016112fe565b84525091830191830161138f565b6000602082840312156113dc57600080fd5b81516001600160401b03808211156113f357600080fd5b9083019060a0828603121561140757600080fd5b61140f610c81565b82518281111561141e57600080fd5b61142a8782860161123f565b82525060208301518281111561143f57600080fd5b61144b878286016112a3565b60208301525060408301518281111561146357600080fd5b61146f8782860161134b565b6040830152506060830151606082015260808301518281111561149157600080fd5b61149d878286016112fe565b60808301525095945050505050565b60006020808352835160a0828501526114c860c0850182611026565b905081850151601f19808684030160408701526114e5838361105f565b60408801518782038301606089015280518083529194508501925084840190600581901b8501860160005b8281101561153c578487830301845261152a828751610b91565b95880195938801939150600101611510565b5060608a015160808a015260808a01519650838982030160a08a01526115628188610b91565b9a9950505050505050505050565b600082601f83011261158157600080fd5b815161158f610d8d82610d49565b808282526020820191508560208460051b87010111156115ae57600080fd5b602085015b60208460051b8701018110156116d55780516001600160401b038111156115d957600080fd5b8601603f810188136115ea57600080fd5b60208101516115fb610d8d82610d49565b808282526020820191508a60408460051b860101111561161a57600080fd5b604084015b60408460051b8601018110156116bf5780516001600160401b0381111561164557600080fd5b60408682018e03603f1901121561165b57600080fd5b611663610ca3565b868201604001516001600160401b0381111561167e57600080fd5b61168f8f604083868c0101016112fe565b825250908601606001519061ffff821682146116aa57600080fd5b6020818101929092528452928301920161161f565b50865250506020938401939190910190506115b3565b5095945050505050565b6000602082840312156116f157600080fd5b81516001600160401b038082111561170857600080fd5b9083019060e0828603121561171c57600080fd5b611724610cc5565b82518281111561173357600080fd5b61173f87828601611570565b82525061174e60208401611234565b602082015261175f60408401611234565b60408201526060830151606082015261177a60808401611234565b608082015260a083015160a082015260c08301518281111561179b57600080fd5b6117a7878286016112fe565b60c08301525095945050505050565b6020808252825160e0838301528051610100840181905260009291600582811b860161012090810193928501929087019186805b838110156118795789870361011f1901855285518051808952908901908989019080861b8a018b01855b8281101561186357601f198c830301845284516040815181855261183a82860182610b91565b91505061ffff8f830151168f85015280935050508c850194508c84019350600181019050611814565b50995050509588019550938701936001016117ea565b5050505050508185015191506118926040850183611019565b604085015191506118a66060850183611019565b60608501516080850152608085015191506118c460a0850183611019565b60a085015160c085015260c08501519150601f198482030160e08501526118eb8183610b91565b95945050505050565b600060c0828403121561190657600080fd5b61190e610ce7565b825161191981610c2a565b8152602083015161192981610c2a565b6020820152604083015161193c81610c2a565b6040820152606083015161194f81610c2a565b60608201526080838101519082015260a0928301519281019290925250919050565b805160ff81168114610d4457600080fd5b6000610120828403121561199557600080fd5b61199d610c58565b6119a683611234565b81526119b460208401611234565b60208201526119c560408401611234565b60408201526119d660608401611971565b60608201526119e760808401611971565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100611a18818501611234565b908201529392505050565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611a5790840182611019565b506060830151611a6c606084018260ff169052565b506080830151611a81608084018260ff169052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151610c2282850182611019565b8051600f81900b8114610d4457600080fd5b80518015158114610d4457600080fd5b60006101208284031215611ae857600080fd5b611af0610c58565b611af983611234565b8152611b0760208401611234565b6020820152611b1860408401611234565b6040820152611b2960608401611ab3565b6060820152611b3a60808401611ab3565b608082015260a083015160a082015260c083015160c0820152611b5f60e08401611ac5565b60e0820152610100611a18818501611ac5565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611ba690840182611019565b506060830151611bbb6060840182600f0b9052565b506080830151611bd06080840182600f0b9052565b5060a083015160a083015260c083015160c083015260e0830151611bf860e084018215159052565b506101008381015180151584830152610c22565b6000610100808385031215611c2057600080fd5b604051908101906001600160401b0382118183101715611c4257611c42610c42565b8160405283519150611c5382610c2a565b818152611c6260208501611234565b6020820152611c7360408501611234565b6040820152611c8460608501611234565b60608201526080840151608082015260a084015160a0820152611ca960c08501611234565b60c0820152611cba60e08501611ac5565b60e0820152949350505050565b600060c08284031215611cd957600080fd5b611ce1610ce7565b8251611cec81610c2a565b815260208381015190820152604083015161193c81610c2a565b60006101208284031215611d1957600080fd5b611d21610c58565b611d2a83611234565b8152611d3860208401611234565b6020820152611d4960408401611234565b6040820152611d5a60608401611234565b60608201526080830151608082015260a083015160a0820152611d7f60c08401611234565b60c0820152611b5f60e08401611ac5565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611dc490840182611019565b506060830151611dd76060840182611019565b506080830151608083015260a083015160a083015260c0830151611dfe60c0840182611019565b5060e0830151611bf860e08401821515905256fea26469706673582212209fd84a673d18ff6fba8c8b7bf826a0d83b87c8120412375b686335ab67feeff864736f6c63430008110033",
|
|
32
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063e4da6f2e1461003a575b600080fd5b61004d610048366004610af6565b610063565b60405161005a9190610bbd565b60405180910390f35b606060006100746004828688610bd0565b61007d91610bfa565b90506000808080610091886004818c610bd0565b81019061009e9190610eb3565b93509350935093506100b1838389610110565b604051919450925085906100cf90869086908690869060240161108f565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152955050505050505b9392505050565b610118610a8f565b60e084015160a08501516060919084810361013a5786869350935050506101dd565b60208216156101bc576040870151511561019b5760405162461bcd60e51b815260206004820152601e60248201527f6b796265723a2063616e2774207363616c652069662074616b6520666565000060448201526064015b60405180910390fd5b6101a68782876101e5565b6101b1878388610340565b9350935050506101dd565b60006101c987838861046d565b90506101d68883886101e5565b9450925050505b935093915050565b6101ed610a8f565b60c0840151836101fd84836111a0565b61020791906111bd565b60c0860152801580159061021d575060c0850151155b1561022a57600160c08601525b60a085018390526040850151516000036102475784915050610109565b6000805b86604001515181101561033557600187604001515161026a91906111df565b81036102a15761027a82866111df565b87606001518281518110610290576102906111f2565b6020026020010181815250506102f8565b8585886060015183815181106102b9576102b96111f2565b60200260200101516102cb91906111a0565b6102d591906111bd565b876060015182815181106102eb576102eb6111f2565b6020026020010181815250505b8660600151818151811061030e5761030e6111f2565b6020026020010151826103219190611208565b91508061032d8161121b565b91505061024b565b509495945050505050565b606060008480602001905181019061035891906113ca565b8051519091506000805b82811015610440576103756001846111df565b81036103ac5761038582876111df565b8460200151828151811061039b5761039b6111f2565b602002602001018181525050610403565b8686856020015183815181106103c4576103c46111f2565b60200260200101516103d691906111a0565b6103e091906111bd565b846020015182815181106103f6576103f66111f2565b6020026020010181815250505b83602001518181518110610419576104196111f2565b60200260200101518261042c9190611208565b9150806104388161121b565b915050610362565b508260405160200161045291906114ac565b60405160208183030381529060405293505050509392505050565b606060008480602001905181019061048591906116df565b90508383826060015161049891906111a0565b6104a291906111bd565b60608201526000805b8251518110156106dd576000836000015182815181106104cd576104cd6111f2565b60200260200101516000815181106104e7576104e76111f2565b6020026020010151905060006008826020015161ffff16901c90506000600186600001515161051691906111df565b84036105295761052685896111df565b90505b60ff821661054957825161053f90828b8b610709565b90845290506106bb565b60ff82166001148061055e575060ff82166004145b1561057157825161053f90828b8b6107d6565b60011960ff83160161058b57825161053f90828b8b610857565b60021960ff8316016105a557825161053f90828b8b610709565b60041960ff8316016105bf57825161053f90828b8b6108b6565b60051960ff8316016105d957825161053f90828b8b61097d565b60061960ff83160161062b5760405162461bcd60e51b815260206004820152601b60248201527a6b796265723a2063616e2774207363616c65206b7962657272667160281b6044820152606401610192565b60071960ff83160161064557825161053f90828b8b610a30565b60081960ff83160161065f57825161053f90828b8b610709565b60405162461bcd60e51b815260206004820152602b60248201527f4167677265676174696f6e4578656375746f723a204465782074797065206e6f60448201526a1d081cdd5c1c1bdc9d195960aa1b6064820152608401610192565b6106c58186611208565b945050505080806106d59061121b565b9150506104ab565b50816040516020016106ef91906117b6565b604051602081830303815290604052925050509392505050565b60606000808680602001905181019061072291906118f4565b905085156107365760808101869052610757565b8484826080015161074791906111a0565b61075191906111bd565b60808201525b806040516020016107b4919081516001600160a01b039081168252602080840151821690830152604080840151821690830152606080840151909116908201526080808301519082015260a0918201519181019190915260c00190565b6040516020818303038152906040528160800151925092505094509492505050565b6060600080868060200190518101906107ef9190611982565b905085156108035760a08101869052610824565b84848260a0015161081491906111a0565b61081e91906111bd565b60a08201525b806040516020016108359190611a23565b6040516020818303038152906040528160a00151925092505094509492505050565b6060600080868060200190518101906108709190611ad5565b905085156108845760a081018690526108a5565b84848260a0015161089591906111a0565b61089f91906111bd565b60a08201525b806040516020016108359190611b72565b6060600080868060200190518101906108cf9190611c0c565b905085156108e35760808101869052610904565b848482608001516108f491906111a0565b6108fe91906111bd565b60808201525b806040516020016107b4919060006101008201905060018060a01b038084511683528060208501511660208401528060408501511660408401528060608501511660608401526080840151608084015260a084015160a08401528060c08501511660c08401525060e0830151151560e083015292915050565b6060600080868060200190518101906109969190611cc7565b905085156109aa57608081018690526109cb565b848482608001516109bb91906111a0565b6109c591906111bd565b60808201525b60808101516040516107b491839160200182516001600160a01b03908116825260208085015190830152604080850151821690830152606080850151909116908201526080808401519082015260a0928301519281019290925260c082015260e00190565b606060008086806020019051810190610a499190611d06565b90508515610a5d5760808101869052610a7e565b84848260800151610a6e91906111a0565b610a7891906111bd565b60808201525b806040516020016107b49190611d90565b60405180610120016040528060006001600160a01b0316815260200160006001600160a01b03168152602001606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001606081525090565b600080600060408486031215610b0b57600080fd5b83356001600160401b0380821115610b2257600080fd5b818601915086601f830112610b3657600080fd5b813581811115610b4557600080fd5b876020828501011115610b5757600080fd5b6020928301989097509590910135949350505050565b60005b83811015610b88578181015183820152602001610b70565b50506000910152565b60008151808452610ba9816020860160208601610b6d565b601f01601f19169290920160200192915050565b6020815260006101096020830184610b91565b60008085851115610be057600080fd5b83861115610bed57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610c225780818660040360031b1b83161692505b505092915050565b6001600160a01b0381168114610c3f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715610c7b57610c7b610c42565b60405290565b60405160a081016001600160401b0381118282101715610c7b57610c7b610c42565b604080519081016001600160401b0381118282101715610c7b57610c7b610c42565b60405160e081016001600160401b0381118282101715610c7b57610c7b610c42565b60405160c081016001600160401b0381118282101715610c7b57610c7b610c42565b604051601f8201601f191681016001600160401b0381118282101715610d3157610d31610c42565b604052919050565b8035610d4481610c2a565b919050565b60006001600160401b03821115610d6257610d62610c42565b5060051b60200190565b600082601f830112610d7d57600080fd5b81356020610d92610d8d83610d49565b610d09565b82815260059290921b84018101918181019086841115610db157600080fd5b8286015b84811015610dd5578035610dc881610c2a565b8352918301918301610db5565b509695505050505050565b600082601f830112610df157600080fd5b81356020610e01610d8d83610d49565b82815260059290921b84018101918181019086841115610e2057600080fd5b8286015b84811015610dd55780358352918301918301610e24565b60006001600160401b03821115610e5457610e54610c42565b50601f01601f191660200190565b600082601f830112610e7357600080fd5b8135610e81610d8d82610e3b565b818152846020838601011115610e9657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215610ec957600080fd5b8435610ed481610c2a565b935060208501356001600160401b0380821115610ef057600080fd5b908601906101208289031215610f0557600080fd5b610f0d610c58565b610f1683610d39565b8152610f2460208401610d39565b6020820152604083013582811115610f3b57600080fd5b610f478a828601610d6c565b604083015250606083013582811115610f5f57600080fd5b610f6b8a828601610de0565b606083015250610f7d60808401610d39565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013583811115610fb457600080fd5b610fc08b828701610e62565b828401525050809550506040870135915080821115610fde57600080fd5b610fea88838901610e62565b9350606087013591508082111561100057600080fd5b5061100d87828801610e62565b91505092959194509250565b6001600160a01b03169052565b600081518084526020808501945080840160005b838110156103355781516001600160a01b03168752958201959082019060010161103a565b600081518084526020808501945080840160005b8381101561033557815187529582019590820190600101611073565b6001600160a01b038516815260806020820181905284516110b291830190611019565b600060208501516110c660a0840182611019565b5060408501516101208060c08501526110e36101a0850183611026565b91506060870151607f19808685030160e0870152611101848361105f565b93506080890151915061010061111981880184611019565b60a08a01518488015260c08a015161014088015260e08a0151610160880152808a0151935050808685030161018087015250506111568282610b91565b915050828103604084015261116b8186610b91565b9050828103606084015261117f8185610b91565b979650505050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176111b7576111b761118a565b92915050565b6000826111da57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156111b7576111b761118a565b634e487b7160e01b600052603260045260246000fd5b808201808211156111b7576111b761118a565b60006001820161122d5761122d61118a565b5060010190565b8051610d4481610c2a565b600082601f83011261125057600080fd5b81516020611260610d8d83610d49565b82815260059290921b8401810191818101908684111561127f57600080fd5b8286015b84811015610dd557805161129681610c2a565b8352918301918301611283565b600082601f8301126112b457600080fd5b815160206112c4610d8d83610d49565b82815260059290921b840181019181810190868411156112e357600080fd5b8286015b84811015610dd557805183529183019183016112e7565b600082601f83011261130f57600080fd5b815161131d610d8d82610e3b565b81815284602083860101111561133257600080fd5b611343826020830160208701610b6d565b949350505050565b600082601f83011261135c57600080fd5b8151602061136c610d8d83610d49565b82815260059290921b8401810191818101908684111561138b57600080fd5b8286015b84811015610dd55780516001600160401b038111156113ae5760008081fd5b6113bc8986838b01016112fe565b84525091830191830161138f565b6000602082840312156113dc57600080fd5b81516001600160401b03808211156113f357600080fd5b9083019060a0828603121561140757600080fd5b61140f610c81565b82518281111561141e57600080fd5b61142a8782860161123f565b82525060208301518281111561143f57600080fd5b61144b878286016112a3565b60208301525060408301518281111561146357600080fd5b61146f8782860161134b565b6040830152506060830151606082015260808301518281111561149157600080fd5b61149d878286016112fe565b60808301525095945050505050565b60006020808352835160a0828501526114c860c0850182611026565b905081850151601f19808684030160408701526114e5838361105f565b60408801518782038301606089015280518083529194508501925084840190600581901b8501860160005b8281101561153c578487830301845261152a828751610b91565b95880195938801939150600101611510565b5060608a015160808a015260808a01519650838982030160a08a01526115628188610b91565b9a9950505050505050505050565b600082601f83011261158157600080fd5b815161158f610d8d82610d49565b808282526020820191508560208460051b87010111156115ae57600080fd5b602085015b60208460051b8701018110156116d55780516001600160401b038111156115d957600080fd5b8601603f810188136115ea57600080fd5b60208101516115fb610d8d82610d49565b808282526020820191508a60408460051b860101111561161a57600080fd5b604084015b60408460051b8601018110156116bf5780516001600160401b0381111561164557600080fd5b60408682018e03603f1901121561165b57600080fd5b611663610ca3565b868201604001516001600160401b0381111561167e57600080fd5b61168f8f604083868c0101016112fe565b825250908601606001519061ffff821682146116aa57600080fd5b6020818101929092528452928301920161161f565b50865250506020938401939190910190506115b3565b5095945050505050565b6000602082840312156116f157600080fd5b81516001600160401b038082111561170857600080fd5b9083019060e0828603121561171c57600080fd5b611724610cc5565b82518281111561173357600080fd5b61173f87828601611570565b82525061174e60208401611234565b602082015261175f60408401611234565b60408201526060830151606082015261177a60808401611234565b608082015260a083015160a082015260c08301518281111561179b57600080fd5b6117a7878286016112fe565b60c08301525095945050505050565b6020808252825160e0838301528051610100840181905260009291600582811b860161012090810193928501929087019186805b838110156118795789870361011f1901855285518051808952908901908989019080861b8a018b01855b8281101561186357601f198c830301845284516040815181855261183a82860182610b91565b91505061ffff8f830151168f85015280935050508c850194508c84019350600181019050611814565b50995050509588019550938701936001016117ea565b5050505050508185015191506118926040850183611019565b604085015191506118a66060850183611019565b60608501516080850152608085015191506118c460a0850183611019565b60a085015160c085015260c08501519150601f198482030160e08501526118eb8183610b91565b95945050505050565b600060c0828403121561190657600080fd5b61190e610ce7565b825161191981610c2a565b8152602083015161192981610c2a565b6020820152604083015161193c81610c2a565b6040820152606083015161194f81610c2a565b60608201526080838101519082015260a0928301519281019290925250919050565b805160ff81168114610d4457600080fd5b6000610120828403121561199557600080fd5b61199d610c58565b6119a683611234565b81526119b460208401611234565b60208201526119c560408401611234565b60408201526119d660608401611971565b60608201526119e760808401611971565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100611a18818501611234565b908201529392505050565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611a5790840182611019565b506060830151611a6c606084018260ff169052565b506080830151611a81608084018260ff169052565b5060a083015160a083015260c083015160c083015260e083015160e083015261010080840151610c2282850182611019565b8051600f81900b8114610d4457600080fd5b80518015158114610d4457600080fd5b60006101208284031215611ae857600080fd5b611af0610c58565b611af983611234565b8152611b0760208401611234565b6020820152611b1860408401611234565b6040820152611b2960608401611ab3565b6060820152611b3a60808401611ab3565b608082015260a083015160a082015260c083015160c0820152611b5f60e08401611ac5565b60e0820152610100611a18818501611ac5565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611ba690840182611019565b506060830151611bbb6060840182600f0b9052565b506080830151611bd06080840182600f0b9052565b5060a083015160a083015260c083015160c083015260e0830151611bf860e084018215159052565b506101008381015180151584830152610c22565b6000610100808385031215611c2057600080fd5b604051908101906001600160401b0382118183101715611c4257611c42610c42565b8160405283519150611c5382610c2a565b818152611c6260208501611234565b6020820152611c7360408501611234565b6040820152611c8460608501611234565b60608201526080840151608082015260a084015160a0820152611ca960c08501611234565b60c0820152611cba60e08501611ac5565b60e0820152949350505050565b600060c08284031215611cd957600080fd5b611ce1610ce7565b8251611cec81610c2a565b815260208381015190820152604083015161193c81610c2a565b60006101208284031215611d1957600080fd5b611d21610c58565b611d2a83611234565b8152611d3860208401611234565b6020820152611d4960408401611234565b6040820152611d5a60608401611234565b60608201526080830151608082015260a083015160a0820152611d7f60c08401611234565b60c0820152611b5f60e08401611ac5565b81516001600160a01b03908116825260208084015190911690820152604080830151610120830191611dc490840182611019565b506060830151611dd76060840182611019565b506080830151608083015260a083015160a083015260c0830151611dfe60c0840182611019565b5060e0830151611bf860e08401821515905256fea26469706673582212209fd84a673d18ff6fba8c8b7bf826a0d83b87c8120412375b686335ab67feeff864736f6c63430008110033",
|
|
33
|
+
"linkReferences": {},
|
|
34
|
+
"deployedLinkReferences": {}
|
|
35
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
4
|
+
import "../../interfaces/ICelerMessageReceiverApp.sol";
|
|
5
|
+
import "../../interfaces/IPMsgReceiverApp.sol";
|
|
6
|
+
import "../../interfaces/ICelerMessageBus.sol";
|
|
7
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
8
|
+
import "../../core/libraries/Errors.sol";
|
|
9
9
|
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
|
|
10
10
|
|
|
11
11
|
contract PendleMsgReceiveEndpointUpg is
|
package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgReceiverAppUpg.sol
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
4
|
+
import "../../interfaces/IPMsgReceiverApp.sol";
|
|
5
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
6
|
+
import "../../core/libraries/Errors.sol";
|
|
7
7
|
|
|
8
8
|
// solhint-disable no-empty-blocks
|
|
9
9
|
/// This contract is upgradable because
|
|
10
10
|
/// - its constructor only sets immutable variables
|
|
11
11
|
/// - it has storage gaps for safe addition of future variables
|
|
12
12
|
/// - it inherits only upgradable contract
|
|
13
|
-
abstract contract PendleMsgReceiverAppUpg is IPMsgReceiverApp
|
|
13
|
+
abstract contract PendleMsgReceiverAppUpg is IPMsgReceiverApp {
|
|
14
14
|
address public immutable pendleMsgReceiveEndpoint;
|
|
15
15
|
|
|
16
16
|
uint256[100] private __gap;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
4
|
+
import "../../interfaces/IPMsgSendEndpoint.sol";
|
|
5
|
+
import "../../interfaces/ICelerMessageBus.sol";
|
|
6
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
7
|
+
import "../../core/libraries/Errors.sol";
|
|
8
8
|
import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol";
|
|
9
9
|
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
|
|
10
10
|
|
package/contracts/{core/LiquidityMining → LiquidityMining}/CrossChainMsg/PendleMsgSenderAppUpg.sol
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
4
|
+
import "../../interfaces/IPMsgSendEndpoint.sol";
|
|
5
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
6
|
+
import "../../core/libraries/Errors.sol";
|
|
7
7
|
import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol";
|
|
8
8
|
|
|
9
9
|
// solhint-disable no-empty-blocks
|
package/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/EpochResultManager.sol
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
4
|
import "./PendleFeeDistributor.sol";
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
5
|
+
import "../../interfaces/IPVotingEscrowMainchain.sol";
|
|
6
|
+
import "../../interfaces/IPVotingController.sol";
|
|
7
|
+
import "../../interfaces/IPFeeDistributorFactory.sol";
|
|
8
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
9
|
+
import "../libraries/VeHistoryLib.sol";
|
|
10
|
+
import "../libraries/WeekMath.sol";
|
|
11
11
|
|
|
12
12
|
abstract contract EpochResultManager is IPFeeDistributorFactory {
|
|
13
13
|
using Math for uint256;
|
package/contracts/{core/LiquidityMining → LiquidityMining}/FeeDistributor/PendleFeeDistributor.sol
RENAMED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
3
|
-
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../../core/libraries/math/Math.sol";
|
|
5
|
+
import "../../core/libraries/ArrayLib.sol";
|
|
6
|
+
import "../../core/libraries/MiniHelpers.sol";
|
|
7
|
+
import "../../core/libraries/Errors.sol";
|
|
8
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
9
|
+
|
|
10
|
+
import "../libraries/WeekMath.sol";
|
|
11
|
+
import "../libraries/VeHistoryLib.sol";
|
|
12
|
+
|
|
13
|
+
import "../../interfaces/IPFeeDistributor.sol";
|
|
14
|
+
import "../../interfaces/IPFeeDistributorFactory.sol";
|
|
15
|
+
|
|
13
16
|
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
|
|
14
17
|
|
|
15
18
|
contract PendleFeeDistributor is IPFeeDistributor, BoringOwnableUpgradeable {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
4
|
import "./PendleFeeDistributor.sol";
|
|
5
5
|
import "./EpochResultManager.sol";
|
|
6
|
-
|
|
7
|
-
import "
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
import "../../core/libraries/BaseSplitCodeFactory.sol";
|
|
8
|
+
|
|
9
|
+
import "../../interfaces/IBoringOwnableUpgradeable.sol";
|
|
10
|
+
import "../../interfaces/IPFeeDistributorFactory.sol";
|
|
9
11
|
|
|
10
12
|
contract PendleFeeDistributorFactory is BoringOwnableUpgradeable, EpochResultManager {
|
|
11
13
|
using Math for uint256;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../../core/libraries/math/Math.sol";
|
|
5
|
+
import "../../core/libraries/Errors.sol";
|
|
6
|
+
import "../../core/libraries/BoringOwnableUpgradeable.sol";
|
|
7
|
+
|
|
8
|
+
import "../libraries/WeekMath.sol";
|
|
9
|
+
|
|
10
|
+
import "../../interfaces/IPGaugeController.sol";
|
|
11
|
+
import "../../interfaces/IPGaugeController.sol";
|
|
12
|
+
import "../../interfaces/IPMarketFactory.sol";
|
|
13
|
+
import "../../interfaces/IPMarket.sol";
|
|
3
14
|
|
|
4
|
-
import "../../../interfaces/IPGaugeController.sol";
|
|
5
|
-
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
|
|
6
|
-
import "../../../libraries/math/Math.sol";
|
|
7
|
-
import "../../../libraries/math/WeekMath.sol";
|
|
8
|
-
import "../../../libraries/Errors.sol";
|
|
9
|
-
import "../../../interfaces/IPGaugeController.sol";
|
|
10
|
-
import "../../../interfaces/IPMarketFactory.sol";
|
|
11
|
-
import "../../../interfaces/IPMarket.sol";
|
|
12
|
-
import "../../../periphery/BoringOwnableUpgradeable.sol";
|
|
13
15
|
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
|
16
|
+
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
|
|
14
17
|
|
|
15
18
|
/**
|
|
16
19
|
* @dev Gauge controller provides no write function to any party other than voting controller
|
|
@@ -36,7 +39,7 @@ abstract contract PendleGaugeControllerBaseUpg is IPGaugeController, BoringOwnab
|
|
|
36
39
|
uint128 incentiveEndsAt;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
|
-
uint128 internal constant WEEK = 1
|
|
42
|
+
uint128 internal constant WEEK = 1 weeks;
|
|
40
43
|
|
|
41
44
|
address public immutable pendle;
|
|
42
45
|
IPMarketFactory public immutable marketFactory;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
4
|
import "./PendleGaugeControllerBaseUpg.sol";
|
|
5
|
-
import "
|
|
5
|
+
import "../../interfaces/IPGaugeControllerMainchain.sol";
|
|
6
6
|
|
|
7
7
|
/// This contract is upgradable because
|
|
8
8
|
/// - its constructor only sets immutable variables
|
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
4
|
import "./VotingControllerStorageUpg.sol";
|
|
5
5
|
import "../CrossChainMsg/PendleMsgSenderAppUpg.sol";
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
6
|
+
import "../libraries/VeBalanceLib.sol";
|
|
7
|
+
import "../../core/libraries/math/Math.sol";
|
|
8
|
+
import "../../interfaces/IPGaugeControllerMainchain.sol";
|
|
9
|
+
import "../../interfaces/IPVotingController.sol";
|
|
10
10
|
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
|
|
11
11
|
|
|
12
12
|
/*
|
|
@@ -58,6 +58,7 @@ contract PendleVotingControllerUpg is
|
|
|
58
58
|
|
|
59
59
|
function initialize() external initializer {
|
|
60
60
|
__BoringOwnable_init();
|
|
61
|
+
deployedWTime = WeekMath.getCurrentWeekStart();
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
/*///////////////////////////////////////////////////////////////
|