@pendle/core-v2 0.11.11-testnet → 0.12.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/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +199 -30
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +1030 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +1025 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +948 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +140 -25
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +138 -23
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +138 -23
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +310 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json → CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json} +18 -85
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +336 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json → CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json} +8 -21
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json +131 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +297 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +376 -0
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +11 -0
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +29 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +40 -86
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +228 -40
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +232 -12
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +164 -47
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +25 -93
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.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 +222 -9
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +106 -5
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +13 -2
- 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 +87 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +80 -16
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +164 -2
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +172 -4
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +109 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +57 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +7 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +199 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPTYT.sol/ActionSwapPTYT.json +108 -2
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +146 -4
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +177 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +78 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json +24 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +264 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +305 -0
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +34 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +31 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +10 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +101 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +112 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json +76 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +13 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +24 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +63 -0
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +148 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPVotingEscrow.sol/IPVotingEscrow.json → IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.json} +88 -2
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +4 -28
- package/build/artifacts/contracts/libraries/Errors.sol/Errors.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/Errors.sol/Errors.json +886 -0
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +28 -2
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/{solmate/SSTORE2.sol/SSTORE2.json → VeHistoryLib.sol/CheckpointHelper.json} +4 -4
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +45 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/{SSTORE2Deployer.sol/SSTORE2Deployer.json → BaseSplitCodeFactory.sol/CodeDeployer.json} +4 -4
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +167 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +182 -4
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +126 -79
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol +3 -1
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +19 -16
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +135 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +96 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol +215 -0
- package/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol +83 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +10 -15
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +30 -43
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +74 -0
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +38 -0
- package/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +83 -0
- package/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol → CrossChainMsg/PendleMsgSenderAppUpg.sol} +12 -13
- package/contracts/core/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
- package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +96 -0
- package/contracts/core/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +68 -0
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +4 -3
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +6 -2
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +12 -4
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +29 -19
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +27 -19
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +63 -27
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +6 -5
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +2 -2
- package/contracts/core/Market/PendleMarket.sol +26 -24
- package/contracts/core/Market/PendleMarketFactory.sol +41 -20
- package/contracts/core/PendleERC20Permit.sol +84 -0
- package/contracts/core/PendleRouter.sol +2 -1
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +8 -7
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +37 -22
- package/contracts/core/YieldContracts/PendleYieldToken.sol +106 -35
- package/contracts/core/actions/ActionAddRemoveLiq.sol +58 -41
- package/contracts/core/actions/ActionCallback.sol +24 -14
- package/contracts/core/actions/ActionMintRedeem.sol +11 -5
- package/contracts/core/actions/ActionMisc.sol +2 -1
- package/contracts/core/actions/ActionSwapPT.sol +38 -19
- package/contracts/core/actions/ActionSwapPTYT.sol +7 -6
- package/contracts/core/actions/ActionSwapYT.sol +36 -19
- package/contracts/core/actions/base/ActionBaseMintRedeem.sol +15 -8
- package/contracts/interfaces/ConvexCurve/IBooster.sol +32 -0
- package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +20 -0
- package/contracts/interfaces/ConvexCurve/ICvxCrv.sol +6 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +38 -0
- package/contracts/interfaces/Curve/ICrvPool.sol +69 -0
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +10 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +7 -7
- package/contracts/interfaces/IPActionSwapPT.sol +6 -6
- package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
- package/contracts/interfaces/IPActionSwapYT.sol +13 -13
- package/contracts/interfaces/IPFeeDistributor.sol +19 -0
- package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
- package/contracts/interfaces/IPMarket.sol +2 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +7 -0
- package/contracts/interfaces/IPMsgSendEndpoint.sol +17 -0
- package/contracts/interfaces/IPVotingController.sol +22 -0
- package/contracts/interfaces/{IPVotingEscrow.sol → IPVotingEscrowMainchain.sol} +11 -1
- package/contracts/interfaces/ISuperComposableYield.sol +2 -7
- package/contracts/libraries/Errors.sol +121 -0
- package/contracts/libraries/OracleLib.sol +6 -3
- package/contracts/libraries/VeBalanceLib.sol +5 -1
- package/contracts/libraries/VeHistoryLib.sol +20 -31
- package/contracts/libraries/helpers/ArrayLib.sol +0 -17
- package/contracts/libraries/helpers/BaseSplitCodeFactory.sol +288 -0
- package/contracts/libraries/helpers/TokenHelper.sol +4 -0
- package/contracts/libraries/kyberswap/AggregationRouterHelper.sol +0 -7
- package/contracts/libraries/math/MarketMathCore.sol +29 -25
- package/contracts/libraries/math/Math.sol +6 -2
- package/contracts/libraries/math/WeekMath.sol +2 -2
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +43 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +36 -36
- package/contracts/offchain-helpers/RouterStatic.sol +45 -37
- package/deployments/43113-core.json +11 -10
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +9 -9
- package/deployments/80001-core.json +10 -9
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/80001-testenv.json +16 -16
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiq.ts +18 -6
- package/typechain-types/ActionSwapPT.ts +18 -6
- package/typechain-types/ActionSwapPTYT.ts +6 -2
- package/typechain-types/ActionSwapYT.ts +18 -6
- package/typechain-types/IPActionAddRemoveLiq.ts +19 -7
- package/typechain-types/IPActionSwapPT.ts +18 -6
- package/typechain-types/IPActionSwapPTYT.ts +6 -2
- package/typechain-types/IPActionSwapYT.ts +18 -6
- package/typechain-types/IPAllAction.ts +61 -21
- package/typechain-types/IPMarket.ts +13 -0
- package/typechain-types/IPVotingController.ts +244 -7
- package/typechain-types/ISuperComposableYield.ts +7 -46
- package/typechain-types/MarketMathStatic.ts +139 -10
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +28 -149
- package/typechain-types/PendleMarket.ts +104 -0
- package/typechain-types/PendleMarketFactory.ts +76 -13
- package/typechain-types/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleQiTokenSCY.ts +111 -46
- package/typechain-types/PendleVotingControllerUpg.ts +133 -77
- package/typechain-types/PendleWstEthSCY.ts +111 -46
- package/typechain-types/PendleYieldContractFactory.ts +84 -21
- package/typechain-types/PendleYieldToken.ts +175 -0
- package/typechain-types/RouterStatic.ts +99 -75
- package/typechain-types/SCYBase.ts +111 -46
- package/typechain-types/SCYBaseWithRewards.ts +111 -46
- package/typechain-types/VotingControllerStorageUpg.ts +246 -27
- package/typechain-types/VotingEscrowPendleMainchain.ts +81 -93
- package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +169 -1
- package/typechain-types/factories/ActionCallback__factory.ts +108 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +54 -1
- package/typechain-types/factories/ActionMisc__factory.ts +6 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +107 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +196 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +143 -1
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +31 -1
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +10 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +30 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +30 -0
- package/typechain-types/factories/IPAllAction__factory.ts +101 -1
- package/typechain-types/factories/IPMarket__factory.ts +13 -0
- package/typechain-types/factories/IPVotingController__factory.ts +148 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +4 -28
- package/typechain-types/factories/MarketMathStatic__factory.ts +181 -3
- package/typechain-types/factories/OracleLib__factory.ts +27 -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/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +11 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +28 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +48 -86
- package/typechain-types/factories/PendleMarketFactory__factory.ts +129 -9
- package/typechain-types/factories/PendleMarket__factory.ts +214 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +86 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +198 -29
- package/typechain-types/factories/PendleRouter__factory.ts +12 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +235 -40
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +137 -22
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +103 -20
- package/typechain-types/factories/PendleYieldToken__factory.ts +163 -1
- package/typechain-types/factories/RouterStatic__factory.ts +67 -20
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +136 -21
- package/typechain-types/factories/SCYBase__factory.ts +136 -21
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +232 -12
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +171 -47
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +31 -93
- package/typechain-types/hardhat.d.ts +0 -27
- package/typechain-types/index.ts +0 -6
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +0 -810
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +0 -10
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +0 -833
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +0 -723
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +0 -728
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +0 -705
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +0 -864
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +0 -718
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +0 -784
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +0 -134
- package/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol +0 -161
- package/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol +0 -126
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol +0 -242
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol +0 -146
- package/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol +0 -176
- package/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol +0 -129
- package/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol +0 -193
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol +0 -155
- package/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol +0 -182
- package/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol +0 -53
- package/contracts/libraries/helpers/SSTORE2Deployer.sol +0 -30
- package/contracts/libraries/solmate/SSTORE2.sol +0 -99
- package/contracts/offchain-helpers/SSTORE2DeployerContract.sol +0 -21
- package/deployments/43113-markets/benqi-market-10D931.json +0 -8
- package/deployments/43113-markets/benqi-market-9fbD64.json +0 -8
- package/deployments/43113-markets/benqi-market-A12361.json +0 -8
|
@@ -47,19 +47,14 @@ export interface VotingEscrowPendleSidechainInterface extends utils.Interface {
|
|
|
47
47
|
"MIN_LOCK_TIME()": FunctionFragment;
|
|
48
48
|
"WEEK()": FunctionFragment;
|
|
49
49
|
"balanceOf(address)": FunctionFragment;
|
|
50
|
-
"celerMessageBus()": FunctionFragment;
|
|
51
50
|
"claimOwnership()": FunctionFragment;
|
|
52
|
-
"executeMessage(
|
|
53
|
-
"initialize()": FunctionFragment;
|
|
51
|
+
"executeMessage(bytes)": FunctionFragment;
|
|
54
52
|
"lastSlopeChangeAppliedAt()": FunctionFragment;
|
|
55
|
-
"originAddress()": FunctionFragment;
|
|
56
|
-
"originChainId()": FunctionFragment;
|
|
57
53
|
"owner()": FunctionFragment;
|
|
58
54
|
"pendingOwner()": FunctionFragment;
|
|
55
|
+
"pendleMsgReceiveEndpoint()": FunctionFragment;
|
|
59
56
|
"positionData(address)": FunctionFragment;
|
|
60
|
-
"setCelerMessageBus(address)": FunctionFragment;
|
|
61
57
|
"setDelegatorFor(address,address)": FunctionFragment;
|
|
62
|
-
"setOrigin(address,uint256)": FunctionFragment;
|
|
63
58
|
"totalSupplyAndBalanceCurrent(address)": FunctionFragment;
|
|
64
59
|
"totalSupplyCurrent()": FunctionFragment;
|
|
65
60
|
"totalSupplyStored()": FunctionFragment;
|
|
@@ -76,55 +71,35 @@ export interface VotingEscrowPendleSidechainInterface extends utils.Interface {
|
|
|
76
71
|
): string;
|
|
77
72
|
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
78
73
|
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
|
79
|
-
encodeFunctionData(
|
|
80
|
-
functionFragment: "celerMessageBus",
|
|
81
|
-
values?: undefined
|
|
82
|
-
): string;
|
|
83
74
|
encodeFunctionData(
|
|
84
75
|
functionFragment: "claimOwnership",
|
|
85
76
|
values?: undefined
|
|
86
77
|
): string;
|
|
87
78
|
encodeFunctionData(
|
|
88
79
|
functionFragment: "executeMessage",
|
|
89
|
-
values: [
|
|
90
|
-
): string;
|
|
91
|
-
encodeFunctionData(
|
|
92
|
-
functionFragment: "initialize",
|
|
93
|
-
values?: undefined
|
|
80
|
+
values: [BytesLike]
|
|
94
81
|
): string;
|
|
95
82
|
encodeFunctionData(
|
|
96
83
|
functionFragment: "lastSlopeChangeAppliedAt",
|
|
97
84
|
values?: undefined
|
|
98
85
|
): string;
|
|
99
|
-
encodeFunctionData(
|
|
100
|
-
functionFragment: "originAddress",
|
|
101
|
-
values?: undefined
|
|
102
|
-
): string;
|
|
103
|
-
encodeFunctionData(
|
|
104
|
-
functionFragment: "originChainId",
|
|
105
|
-
values?: undefined
|
|
106
|
-
): string;
|
|
107
86
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
108
87
|
encodeFunctionData(
|
|
109
88
|
functionFragment: "pendingOwner",
|
|
110
89
|
values?: undefined
|
|
111
90
|
): string;
|
|
112
91
|
encodeFunctionData(
|
|
113
|
-
functionFragment: "
|
|
114
|
-
values
|
|
92
|
+
functionFragment: "pendleMsgReceiveEndpoint",
|
|
93
|
+
values?: undefined
|
|
115
94
|
): string;
|
|
116
95
|
encodeFunctionData(
|
|
117
|
-
functionFragment: "
|
|
96
|
+
functionFragment: "positionData",
|
|
118
97
|
values: [string]
|
|
119
98
|
): string;
|
|
120
99
|
encodeFunctionData(
|
|
121
100
|
functionFragment: "setDelegatorFor",
|
|
122
101
|
values: [string, string]
|
|
123
102
|
): string;
|
|
124
|
-
encodeFunctionData(
|
|
125
|
-
functionFragment: "setOrigin",
|
|
126
|
-
values: [string, BigNumberish]
|
|
127
|
-
): string;
|
|
128
103
|
encodeFunctionData(
|
|
129
104
|
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
130
105
|
values: [string]
|
|
@@ -152,10 +127,6 @@ export interface VotingEscrowPendleSidechainInterface extends utils.Interface {
|
|
|
152
127
|
): Result;
|
|
153
128
|
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
154
129
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
155
|
-
decodeFunctionResult(
|
|
156
|
-
functionFragment: "celerMessageBus",
|
|
157
|
-
data: BytesLike
|
|
158
|
-
): Result;
|
|
159
130
|
decodeFunctionResult(
|
|
160
131
|
functionFragment: "claimOwnership",
|
|
161
132
|
data: BytesLike
|
|
@@ -164,37 +135,27 @@ export interface VotingEscrowPendleSidechainInterface extends utils.Interface {
|
|
|
164
135
|
functionFragment: "executeMessage",
|
|
165
136
|
data: BytesLike
|
|
166
137
|
): Result;
|
|
167
|
-
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
168
138
|
decodeFunctionResult(
|
|
169
139
|
functionFragment: "lastSlopeChangeAppliedAt",
|
|
170
140
|
data: BytesLike
|
|
171
141
|
): Result;
|
|
172
|
-
decodeFunctionResult(
|
|
173
|
-
functionFragment: "originAddress",
|
|
174
|
-
data: BytesLike
|
|
175
|
-
): Result;
|
|
176
|
-
decodeFunctionResult(
|
|
177
|
-
functionFragment: "originChainId",
|
|
178
|
-
data: BytesLike
|
|
179
|
-
): Result;
|
|
180
142
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
181
143
|
decodeFunctionResult(
|
|
182
144
|
functionFragment: "pendingOwner",
|
|
183
145
|
data: BytesLike
|
|
184
146
|
): Result;
|
|
185
147
|
decodeFunctionResult(
|
|
186
|
-
functionFragment: "
|
|
148
|
+
functionFragment: "pendleMsgReceiveEndpoint",
|
|
187
149
|
data: BytesLike
|
|
188
150
|
): Result;
|
|
189
151
|
decodeFunctionResult(
|
|
190
|
-
functionFragment: "
|
|
152
|
+
functionFragment: "positionData",
|
|
191
153
|
data: BytesLike
|
|
192
154
|
): Result;
|
|
193
155
|
decodeFunctionResult(
|
|
194
156
|
functionFragment: "setDelegatorFor",
|
|
195
157
|
data: BytesLike
|
|
196
158
|
): Result;
|
|
197
|
-
decodeFunctionResult(functionFragment: "setOrigin", data: BytesLike): Result;
|
|
198
159
|
decodeFunctionResult(
|
|
199
160
|
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
200
161
|
data: BytesLike
|
|
@@ -292,34 +253,23 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
292
253
|
|
|
293
254
|
balanceOf(user: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
294
255
|
|
|
295
|
-
celerMessageBus(overrides?: CallOverrides): Promise<[string]>;
|
|
296
|
-
|
|
297
256
|
claimOwnership(
|
|
298
257
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
299
258
|
): Promise<ContractTransaction>;
|
|
300
259
|
|
|
301
260
|
executeMessage(
|
|
302
|
-
|
|
303
|
-
_srcChainId: BigNumberish,
|
|
304
|
-
_message: BytesLike,
|
|
305
|
-
arg3: string,
|
|
261
|
+
message: BytesLike,
|
|
306
262
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
307
263
|
): Promise<ContractTransaction>;
|
|
308
264
|
|
|
309
|
-
initialize(
|
|
310
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
311
|
-
): Promise<ContractTransaction>;
|
|
312
|
-
|
|
313
265
|
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
314
266
|
|
|
315
|
-
originAddress(overrides?: CallOverrides): Promise<[string]>;
|
|
316
|
-
|
|
317
|
-
originChainId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
318
|
-
|
|
319
267
|
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
320
268
|
|
|
321
269
|
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
322
270
|
|
|
271
|
+
pendleMsgReceiveEndpoint(overrides?: CallOverrides): Promise<[string]>;
|
|
272
|
+
|
|
323
273
|
positionData(
|
|
324
274
|
arg0: string,
|
|
325
275
|
overrides?: CallOverrides
|
|
@@ -327,23 +277,12 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
327
277
|
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
328
278
|
>;
|
|
329
279
|
|
|
330
|
-
setCelerMessageBus(
|
|
331
|
-
_celerMessageBus: string,
|
|
332
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
333
|
-
): Promise<ContractTransaction>;
|
|
334
|
-
|
|
335
280
|
setDelegatorFor(
|
|
336
281
|
receiver: string,
|
|
337
282
|
delegator: string,
|
|
338
283
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
339
284
|
): Promise<ContractTransaction>;
|
|
340
285
|
|
|
341
|
-
setOrigin(
|
|
342
|
-
_addr: string,
|
|
343
|
-
_chainId: BigNumberish,
|
|
344
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
345
|
-
): Promise<ContractTransaction>;
|
|
346
|
-
|
|
347
286
|
totalSupplyAndBalanceCurrent(
|
|
348
287
|
user: string,
|
|
349
288
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -369,56 +308,34 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
369
308
|
|
|
370
309
|
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
371
310
|
|
|
372
|
-
celerMessageBus(overrides?: CallOverrides): Promise<string>;
|
|
373
|
-
|
|
374
311
|
claimOwnership(
|
|
375
312
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
376
313
|
): Promise<ContractTransaction>;
|
|
377
314
|
|
|
378
315
|
executeMessage(
|
|
379
|
-
|
|
380
|
-
_srcChainId: BigNumberish,
|
|
381
|
-
_message: BytesLike,
|
|
382
|
-
arg3: string,
|
|
316
|
+
message: BytesLike,
|
|
383
317
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
384
318
|
): Promise<ContractTransaction>;
|
|
385
319
|
|
|
386
|
-
initialize(
|
|
387
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
388
|
-
): Promise<ContractTransaction>;
|
|
389
|
-
|
|
390
320
|
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
391
321
|
|
|
392
|
-
originAddress(overrides?: CallOverrides): Promise<string>;
|
|
393
|
-
|
|
394
|
-
originChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
395
|
-
|
|
396
322
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
397
323
|
|
|
398
324
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
399
325
|
|
|
326
|
+
pendleMsgReceiveEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
327
|
+
|
|
400
328
|
positionData(
|
|
401
329
|
arg0: string,
|
|
402
330
|
overrides?: CallOverrides
|
|
403
331
|
): Promise<[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }>;
|
|
404
332
|
|
|
405
|
-
setCelerMessageBus(
|
|
406
|
-
_celerMessageBus: string,
|
|
407
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
408
|
-
): Promise<ContractTransaction>;
|
|
409
|
-
|
|
410
333
|
setDelegatorFor(
|
|
411
334
|
receiver: string,
|
|
412
335
|
delegator: string,
|
|
413
336
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
414
337
|
): Promise<ContractTransaction>;
|
|
415
338
|
|
|
416
|
-
setOrigin(
|
|
417
|
-
_addr: string,
|
|
418
|
-
_chainId: BigNumberish,
|
|
419
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
420
|
-
): Promise<ContractTransaction>;
|
|
421
|
-
|
|
422
339
|
totalSupplyAndBalanceCurrent(
|
|
423
340
|
user: string,
|
|
424
341
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -444,30 +361,21 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
444
361
|
|
|
445
362
|
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
446
363
|
|
|
447
|
-
celerMessageBus(overrides?: CallOverrides): Promise<string>;
|
|
448
|
-
|
|
449
364
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
450
365
|
|
|
451
366
|
executeMessage(
|
|
452
|
-
|
|
453
|
-
_srcChainId: BigNumberish,
|
|
454
|
-
_message: BytesLike,
|
|
455
|
-
arg3: string,
|
|
367
|
+
message: BytesLike,
|
|
456
368
|
overrides?: CallOverrides
|
|
457
|
-
): Promise<
|
|
458
|
-
|
|
459
|
-
initialize(overrides?: CallOverrides): Promise<void>;
|
|
369
|
+
): Promise<void>;
|
|
460
370
|
|
|
461
371
|
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
462
372
|
|
|
463
|
-
originAddress(overrides?: CallOverrides): Promise<string>;
|
|
464
|
-
|
|
465
|
-
originChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
466
|
-
|
|
467
373
|
owner(overrides?: CallOverrides): Promise<string>;
|
|
468
374
|
|
|
469
375
|
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
470
376
|
|
|
377
|
+
pendleMsgReceiveEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
378
|
+
|
|
471
379
|
positionData(
|
|
472
380
|
arg0: string,
|
|
473
381
|
overrides?: CallOverrides
|
|
@@ -475,23 +383,12 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
475
383
|
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
476
384
|
>;
|
|
477
385
|
|
|
478
|
-
setCelerMessageBus(
|
|
479
|
-
_celerMessageBus: string,
|
|
480
|
-
overrides?: CallOverrides
|
|
481
|
-
): Promise<void>;
|
|
482
|
-
|
|
483
386
|
setDelegatorFor(
|
|
484
387
|
receiver: string,
|
|
485
388
|
delegator: string,
|
|
486
389
|
overrides?: CallOverrides
|
|
487
390
|
): Promise<void>;
|
|
488
391
|
|
|
489
|
-
setOrigin(
|
|
490
|
-
_addr: string,
|
|
491
|
-
_chainId: BigNumberish,
|
|
492
|
-
overrides?: CallOverrides
|
|
493
|
-
): Promise<void>;
|
|
494
|
-
|
|
495
392
|
totalSupplyAndBalanceCurrent(
|
|
496
393
|
user: string,
|
|
497
394
|
overrides?: CallOverrides
|
|
@@ -546,40 +443,24 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
546
443
|
|
|
547
444
|
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
548
445
|
|
|
549
|
-
celerMessageBus(overrides?: CallOverrides): Promise<BigNumber>;
|
|
550
|
-
|
|
551
446
|
claimOwnership(
|
|
552
447
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
553
448
|
): Promise<BigNumber>;
|
|
554
449
|
|
|
555
450
|
executeMessage(
|
|
556
|
-
|
|
557
|
-
_srcChainId: BigNumberish,
|
|
558
|
-
_message: BytesLike,
|
|
559
|
-
arg3: string,
|
|
451
|
+
message: BytesLike,
|
|
560
452
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
561
453
|
): Promise<BigNumber>;
|
|
562
454
|
|
|
563
|
-
initialize(
|
|
564
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
565
|
-
): Promise<BigNumber>;
|
|
566
|
-
|
|
567
455
|
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
568
456
|
|
|
569
|
-
originAddress(overrides?: CallOverrides): Promise<BigNumber>;
|
|
570
|
-
|
|
571
|
-
originChainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
572
|
-
|
|
573
457
|
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
574
458
|
|
|
575
459
|
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
576
460
|
|
|
577
|
-
|
|
461
|
+
pendleMsgReceiveEndpoint(overrides?: CallOverrides): Promise<BigNumber>;
|
|
578
462
|
|
|
579
|
-
|
|
580
|
-
_celerMessageBus: string,
|
|
581
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
582
|
-
): Promise<BigNumber>;
|
|
463
|
+
positionData(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
583
464
|
|
|
584
465
|
setDelegatorFor(
|
|
585
466
|
receiver: string,
|
|
@@ -587,12 +468,6 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
587
468
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
588
469
|
): Promise<BigNumber>;
|
|
589
470
|
|
|
590
|
-
setOrigin(
|
|
591
|
-
_addr: string,
|
|
592
|
-
_chainId: BigNumberish,
|
|
593
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
594
|
-
): Promise<BigNumber>;
|
|
595
|
-
|
|
596
471
|
totalSupplyAndBalanceCurrent(
|
|
597
472
|
user: string,
|
|
598
473
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -622,44 +497,30 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
622
497
|
overrides?: CallOverrides
|
|
623
498
|
): Promise<PopulatedTransaction>;
|
|
624
499
|
|
|
625
|
-
celerMessageBus(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
626
|
-
|
|
627
500
|
claimOwnership(
|
|
628
501
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
629
502
|
): Promise<PopulatedTransaction>;
|
|
630
503
|
|
|
631
504
|
executeMessage(
|
|
632
|
-
|
|
633
|
-
_srcChainId: BigNumberish,
|
|
634
|
-
_message: BytesLike,
|
|
635
|
-
arg3: string,
|
|
505
|
+
message: BytesLike,
|
|
636
506
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
637
507
|
): Promise<PopulatedTransaction>;
|
|
638
508
|
|
|
639
|
-
initialize(
|
|
640
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
641
|
-
): Promise<PopulatedTransaction>;
|
|
642
|
-
|
|
643
509
|
lastSlopeChangeAppliedAt(
|
|
644
510
|
overrides?: CallOverrides
|
|
645
511
|
): Promise<PopulatedTransaction>;
|
|
646
512
|
|
|
647
|
-
originAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
648
|
-
|
|
649
|
-
originChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
650
|
-
|
|
651
513
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
652
514
|
|
|
653
515
|
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
654
516
|
|
|
655
|
-
|
|
656
|
-
arg0: string,
|
|
517
|
+
pendleMsgReceiveEndpoint(
|
|
657
518
|
overrides?: CallOverrides
|
|
658
519
|
): Promise<PopulatedTransaction>;
|
|
659
520
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
overrides?:
|
|
521
|
+
positionData(
|
|
522
|
+
arg0: string,
|
|
523
|
+
overrides?: CallOverrides
|
|
663
524
|
): Promise<PopulatedTransaction>;
|
|
664
525
|
|
|
665
526
|
setDelegatorFor(
|
|
@@ -668,12 +529,6 @@ export interface VotingEscrowPendleSidechain extends BaseContract {
|
|
|
668
529
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
669
530
|
): Promise<PopulatedTransaction>;
|
|
670
531
|
|
|
671
|
-
setOrigin(
|
|
672
|
-
_addr: string,
|
|
673
|
-
_chainId: BigNumberish,
|
|
674
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
675
|
-
): Promise<PopulatedTransaction>;
|
|
676
|
-
|
|
677
532
|
totalSupplyAndBalanceCurrent(
|
|
678
533
|
user: string,
|
|
679
534
|
overrides?: Overrides & { from?: string | Promise<string> }
|