@pendle/core-v2 0.11.3-testnet → 0.11.5-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/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
- 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 +950 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.json +963 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.json +976 -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 +873 -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/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.json +950 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.json +857 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- 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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.json +756 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- 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 +294 -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} +7 -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 +331 -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/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +7 -7
- 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 +9 -9
- 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 +18 -91
- 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 +20 -28
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- 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 +26 -41
- 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 +14 -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 +84 -9
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +68 -14
- 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 +2 -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 +77 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +76 -21
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +113 -2
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +52 -4
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +22 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +52 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +52 -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/{periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json → interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json} +3 -3
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +251 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +232 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -0
- 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/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 +90 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +7 -7
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +7 -7
- 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/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- 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/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +2 -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/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.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/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +35 -0
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
- 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/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 +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +86 -63
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +2 -2
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiq.ts +18 -6
- package/typechain-types/ActionSwapPT.ts +18 -6
- package/typechain-types/ActionSwapYT.ts +18 -6
- package/typechain-types/BaseSplitCodeFactory.ts +118 -0
- package/typechain-types/BaseSplitCodeFactoryContract.ts +267 -0
- package/typechain-types/ERC20Permit.ts +521 -0
- package/typechain-types/IBooster.ts +275 -0
- package/typechain-types/ICrvDepositor.ts +174 -0
- package/typechain-types/ICrvPool.ts +397 -0
- package/typechain-types/ICvxCrv.ts +81 -0
- package/typechain-types/IERC20Permit.ts +175 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +18 -6
- package/typechain-types/IPActionSwapPT.ts +18 -6
- package/typechain-types/IPActionSwapYT.ts +18 -6
- package/typechain-types/IPAllAction.ts +54 -18
- package/typechain-types/IPFeeDistributor.ts +2 -7
- package/typechain-types/IPGaugeController.ts +26 -26
- package/typechain-types/IPGaugeControllerMainchain.ts +26 -26
- package/typechain-types/IPMarket.ts +13 -0
- package/typechain-types/IPMsgReceiverApp.ts +104 -0
- package/typechain-types/IPMsgSendEndpoint.ts +156 -0
- package/typechain-types/IRewards.ts +539 -0
- package/typechain-types/Pendle3CrvHelper.ts +133 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +1250 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1250 -0
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
- package/typechain-types/PendleConvexCurveLPSCY.ts +1212 -0
- package/typechain-types/PendleCvxCRVSCY.ts +1138 -0
- package/typechain-types/PendleERC20Permit.ts +443 -0
- package/typechain-types/PendleFeeDistributor.ts +2 -41
- package/typechain-types/PendleFeeDistributorFactory.ts +28 -1
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +27 -27
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +27 -27
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +44 -165
- package/typechain-types/PendleMarket.ts +104 -0
- package/typechain-types/PendleMarketFactory.ts +74 -16
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +491 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +250 -0
- package/typechain-types/PendleMsgSendEndpointUpg.ts +581 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +289 -0
- package/typechain-types/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleVotingControllerUpg.ts +21 -53
- package/typechain-types/PendleYieldContractFactory.ts +86 -28
- package/typechain-types/PendleYieldToken.ts +175 -0
- package/typechain-types/RouterStatic.ts +58 -29
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/VotingEscrowPendleMainchain.ts +24 -80
- package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +66 -4
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +36 -4
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +66 -4
- package/typechain-types/factories/ActionSwapYT__factory.ts +66 -4
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +226 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +4 -42
- package/typechain-types/factories/ERC20Permit__factory.ts +368 -0
- package/typechain-types/factories/IBooster__factory.ts +189 -0
- package/typechain-types/factories/ICrvDepositor__factory.ts +90 -0
- package/typechain-types/factories/ICrvPool__factory.ts +244 -0
- package/typechain-types/factories/ICvxCrv__factory.ts +36 -0
- package/typechain-types/factories/IERC20Permit__factory.ts +98 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +30 -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 +90 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +0 -5
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +7 -7
- package/typechain-types/factories/IPGaugeController__factory.ts +7 -7
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPMarket__factory.ts +13 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +39 -0
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +78 -0
- package/typechain-types/factories/IRewards__factory.ts +263 -0
- package/typechain-types/factories/ISJoe__factory.ts +2 -2
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +1050 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1054 -0
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +892 -0
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +938 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +405 -0
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +30 -2
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -19
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +7 -7
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +8 -8
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +26 -91
- package/typechain-types/factories/PendleMarketFactory__factory.ts +95 -15
- package/typechain-types/factories/PendleMarket__factory.ts +76 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +374 -0
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +131 -0
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +393 -0
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +154 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +76 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__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/PendleSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +27 -28
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +105 -23
- package/typechain-types/factories/PendleYieldToken__factory.ts +112 -1
- package/typechain-types/factories/RouterStatic__factory.ts +31 -8
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +33 -41
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +20 -93
- package/typechain-types/hardhat.d.ts +223 -79
- package/typechain-types/index.ts +54 -20
- 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/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/libraries/solmate/SSTORE2.sol/SSTORE2.json +0 -10
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +0 -87
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +0 -4
|
@@ -1094,6 +1094,11 @@ const _abi = [
|
|
|
1094
1094
|
name: "netLpOut",
|
|
1095
1095
|
type: "uint256",
|
|
1096
1096
|
},
|
|
1097
|
+
{
|
|
1098
|
+
internalType: "uint256",
|
|
1099
|
+
name: "netScyFee",
|
|
1100
|
+
type: "uint256",
|
|
1101
|
+
},
|
|
1097
1102
|
],
|
|
1098
1103
|
stateMutability: "nonpayable",
|
|
1099
1104
|
type: "function",
|
|
@@ -1160,6 +1165,11 @@ const _abi = [
|
|
|
1160
1165
|
name: "netLpOut",
|
|
1161
1166
|
type: "uint256",
|
|
1162
1167
|
},
|
|
1168
|
+
{
|
|
1169
|
+
internalType: "uint256",
|
|
1170
|
+
name: "netScyFee",
|
|
1171
|
+
type: "uint256",
|
|
1172
|
+
},
|
|
1163
1173
|
],
|
|
1164
1174
|
stateMutability: "nonpayable",
|
|
1165
1175
|
type: "function",
|
|
@@ -1248,6 +1258,11 @@ const _abi = [
|
|
|
1248
1258
|
name: "netLpOut",
|
|
1249
1259
|
type: "uint256",
|
|
1250
1260
|
},
|
|
1261
|
+
{
|
|
1262
|
+
internalType: "uint256",
|
|
1263
|
+
name: "netScyFee",
|
|
1264
|
+
type: "uint256",
|
|
1265
|
+
},
|
|
1251
1266
|
],
|
|
1252
1267
|
stateMutability: "payable",
|
|
1253
1268
|
type: "function",
|
|
@@ -1845,6 +1860,11 @@ const _abi = [
|
|
|
1845
1860
|
name: "netPtOut",
|
|
1846
1861
|
type: "uint256",
|
|
1847
1862
|
},
|
|
1863
|
+
{
|
|
1864
|
+
internalType: "uint256",
|
|
1865
|
+
name: "netScyFee",
|
|
1866
|
+
type: "uint256",
|
|
1867
|
+
},
|
|
1848
1868
|
],
|
|
1849
1869
|
stateMutability: "nonpayable",
|
|
1850
1870
|
type: "function",
|
|
@@ -1879,6 +1899,11 @@ const _abi = [
|
|
|
1879
1899
|
name: "netScyOut",
|
|
1880
1900
|
type: "uint256",
|
|
1881
1901
|
},
|
|
1902
|
+
{
|
|
1903
|
+
internalType: "uint256",
|
|
1904
|
+
name: "netScyFee",
|
|
1905
|
+
type: "uint256",
|
|
1906
|
+
},
|
|
1882
1907
|
],
|
|
1883
1908
|
stateMutability: "nonpayable",
|
|
1884
1909
|
type: "function",
|
|
@@ -1935,6 +1960,11 @@ const _abi = [
|
|
|
1935
1960
|
name: "netTokenOut",
|
|
1936
1961
|
type: "uint256",
|
|
1937
1962
|
},
|
|
1963
|
+
{
|
|
1964
|
+
internalType: "uint256",
|
|
1965
|
+
name: "netScyFee",
|
|
1966
|
+
type: "uint256",
|
|
1967
|
+
},
|
|
1938
1968
|
],
|
|
1939
1969
|
stateMutability: "nonpayable",
|
|
1940
1970
|
type: "function",
|
|
@@ -1969,6 +1999,11 @@ const _abi = [
|
|
|
1969
1999
|
name: "netScyOut",
|
|
1970
2000
|
type: "uint256",
|
|
1971
2001
|
},
|
|
2002
|
+
{
|
|
2003
|
+
internalType: "uint256",
|
|
2004
|
+
name: "netScyFee",
|
|
2005
|
+
type: "uint256",
|
|
2006
|
+
},
|
|
1972
2007
|
],
|
|
1973
2008
|
stateMutability: "nonpayable",
|
|
1974
2009
|
type: "function",
|
|
@@ -2025,6 +2060,11 @@ const _abi = [
|
|
|
2025
2060
|
name: "netTokenOut",
|
|
2026
2061
|
type: "uint256",
|
|
2027
2062
|
},
|
|
2063
|
+
{
|
|
2064
|
+
internalType: "uint256",
|
|
2065
|
+
name: "netScyFee",
|
|
2066
|
+
type: "uint256",
|
|
2067
|
+
},
|
|
2028
2068
|
],
|
|
2029
2069
|
stateMutability: "nonpayable",
|
|
2030
2070
|
type: "function",
|
|
@@ -2091,6 +2131,11 @@ const _abi = [
|
|
|
2091
2131
|
name: "netPtOut",
|
|
2092
2132
|
type: "uint256",
|
|
2093
2133
|
},
|
|
2134
|
+
{
|
|
2135
|
+
internalType: "uint256",
|
|
2136
|
+
name: "netScyFee",
|
|
2137
|
+
type: "uint256",
|
|
2138
|
+
},
|
|
2094
2139
|
],
|
|
2095
2140
|
stateMutability: "nonpayable",
|
|
2096
2141
|
type: "function",
|
|
@@ -2157,6 +2202,11 @@ const _abi = [
|
|
|
2157
2202
|
name: "netYtOut",
|
|
2158
2203
|
type: "uint256",
|
|
2159
2204
|
},
|
|
2205
|
+
{
|
|
2206
|
+
internalType: "uint256",
|
|
2207
|
+
name: "netScyFee",
|
|
2208
|
+
type: "uint256",
|
|
2209
|
+
},
|
|
2160
2210
|
],
|
|
2161
2211
|
stateMutability: "nonpayable",
|
|
2162
2212
|
type: "function",
|
|
@@ -2245,6 +2295,11 @@ const _abi = [
|
|
|
2245
2295
|
name: "netPtOut",
|
|
2246
2296
|
type: "uint256",
|
|
2247
2297
|
},
|
|
2298
|
+
{
|
|
2299
|
+
internalType: "uint256",
|
|
2300
|
+
name: "netScyFee",
|
|
2301
|
+
type: "uint256",
|
|
2302
|
+
},
|
|
2248
2303
|
],
|
|
2249
2304
|
stateMutability: "payable",
|
|
2250
2305
|
type: "function",
|
|
@@ -2333,6 +2388,11 @@ const _abi = [
|
|
|
2333
2388
|
name: "netYtOut",
|
|
2334
2389
|
type: "uint256",
|
|
2335
2390
|
},
|
|
2391
|
+
{
|
|
2392
|
+
internalType: "uint256",
|
|
2393
|
+
name: "netScyFee",
|
|
2394
|
+
type: "uint256",
|
|
2395
|
+
},
|
|
2336
2396
|
],
|
|
2337
2397
|
stateMutability: "payable",
|
|
2338
2398
|
type: "function",
|
|
@@ -2367,6 +2427,11 @@ const _abi = [
|
|
|
2367
2427
|
name: "netScyOut",
|
|
2368
2428
|
type: "uint256",
|
|
2369
2429
|
},
|
|
2430
|
+
{
|
|
2431
|
+
internalType: "uint256",
|
|
2432
|
+
name: "netScyFee",
|
|
2433
|
+
type: "uint256",
|
|
2434
|
+
},
|
|
2370
2435
|
],
|
|
2371
2436
|
stateMutability: "nonpayable",
|
|
2372
2437
|
type: "function",
|
|
@@ -2423,6 +2488,11 @@ const _abi = [
|
|
|
2423
2488
|
name: "netTokenOut",
|
|
2424
2489
|
type: "uint256",
|
|
2425
2490
|
},
|
|
2491
|
+
{
|
|
2492
|
+
internalType: "uint256",
|
|
2493
|
+
name: "netScyFee",
|
|
2494
|
+
type: "uint256",
|
|
2495
|
+
},
|
|
2426
2496
|
],
|
|
2427
2497
|
stateMutability: "nonpayable",
|
|
2428
2498
|
type: "function",
|
|
@@ -2489,6 +2559,11 @@ const _abi = [
|
|
|
2489
2559
|
name: "netPtIn",
|
|
2490
2560
|
type: "uint256",
|
|
2491
2561
|
},
|
|
2562
|
+
{
|
|
2563
|
+
internalType: "uint256",
|
|
2564
|
+
name: "netScyFee",
|
|
2565
|
+
type: "uint256",
|
|
2566
|
+
},
|
|
2492
2567
|
],
|
|
2493
2568
|
stateMutability: "nonpayable",
|
|
2494
2569
|
type: "function",
|
|
@@ -2523,6 +2598,11 @@ const _abi = [
|
|
|
2523
2598
|
name: "netScyIn",
|
|
2524
2599
|
type: "uint256",
|
|
2525
2600
|
},
|
|
2601
|
+
{
|
|
2602
|
+
internalType: "uint256",
|
|
2603
|
+
name: "netScyFee",
|
|
2604
|
+
type: "uint256",
|
|
2605
|
+
},
|
|
2526
2606
|
],
|
|
2527
2607
|
stateMutability: "nonpayable",
|
|
2528
2608
|
type: "function",
|
|
@@ -2557,6 +2637,11 @@ const _abi = [
|
|
|
2557
2637
|
name: "netScyIn",
|
|
2558
2638
|
type: "uint256",
|
|
2559
2639
|
},
|
|
2640
|
+
{
|
|
2641
|
+
internalType: "uint256",
|
|
2642
|
+
name: "netScyFee",
|
|
2643
|
+
type: "uint256",
|
|
2644
|
+
},
|
|
2560
2645
|
],
|
|
2561
2646
|
stateMutability: "nonpayable",
|
|
2562
2647
|
type: "function",
|
|
@@ -2623,6 +2708,11 @@ const _abi = [
|
|
|
2623
2708
|
name: "netYtIn",
|
|
2624
2709
|
type: "uint256",
|
|
2625
2710
|
},
|
|
2711
|
+
{
|
|
2712
|
+
internalType: "uint256",
|
|
2713
|
+
name: "netScyFee",
|
|
2714
|
+
type: "uint256",
|
|
2715
|
+
},
|
|
2626
2716
|
],
|
|
2627
2717
|
stateMutability: "nonpayable",
|
|
2628
2718
|
type: "function",
|
|
@@ -54,13 +54,6 @@ const _abi = [
|
|
|
54
54
|
name: "ReceiveVotingResults",
|
|
55
55
|
type: "event",
|
|
56
56
|
},
|
|
57
|
-
{
|
|
58
|
-
inputs: [],
|
|
59
|
-
name: "claimMarketReward",
|
|
60
|
-
outputs: [],
|
|
61
|
-
stateMutability: "nonpayable",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
57
|
{
|
|
65
58
|
inputs: [
|
|
66
59
|
{
|
|
@@ -87,6 +80,13 @@ const _abi = [
|
|
|
87
80
|
stateMutability: "nonpayable",
|
|
88
81
|
type: "function",
|
|
89
82
|
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "redeemMarketReward",
|
|
86
|
+
outputs: [],
|
|
87
|
+
stateMutability: "nonpayable",
|
|
88
|
+
type: "function",
|
|
89
|
+
},
|
|
90
90
|
{
|
|
91
91
|
inputs: [
|
|
92
92
|
{
|
|
@@ -54,13 +54,6 @@ const _abi = [
|
|
|
54
54
|
name: "ReceiveVotingResults",
|
|
55
55
|
type: "event",
|
|
56
56
|
},
|
|
57
|
-
{
|
|
58
|
-
inputs: [],
|
|
59
|
-
name: "claimMarketReward",
|
|
60
|
-
outputs: [],
|
|
61
|
-
stateMutability: "nonpayable",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
57
|
{
|
|
65
58
|
inputs: [
|
|
66
59
|
{
|
|
@@ -87,6 +80,13 @@ const _abi = [
|
|
|
87
80
|
stateMutability: "nonpayable",
|
|
88
81
|
type: "function",
|
|
89
82
|
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "redeemMarketReward",
|
|
86
|
+
outputs: [],
|
|
87
|
+
stateMutability: "nonpayable",
|
|
88
|
+
type: "function",
|
|
89
|
+
},
|
|
90
90
|
{
|
|
91
91
|
inputs: [
|
|
92
92
|
{
|
|
@@ -327,6 +327,19 @@ const _abi = [
|
|
|
327
327
|
stateMutability: "view",
|
|
328
328
|
type: "function",
|
|
329
329
|
},
|
|
330
|
+
{
|
|
331
|
+
inputs: [],
|
|
332
|
+
name: "expiry",
|
|
333
|
+
outputs: [
|
|
334
|
+
{
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
stateMutability: "view",
|
|
341
|
+
type: "function",
|
|
342
|
+
},
|
|
330
343
|
{
|
|
331
344
|
inputs: [],
|
|
332
345
|
name: "getRewardTokens",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IPMsgReceiverApp,
|
|
9
|
+
IPMsgReceiverAppInterface,
|
|
10
|
+
} from "../IPMsgReceiverApp";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "bytes",
|
|
17
|
+
name: "message",
|
|
18
|
+
type: "bytes",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
name: "executeMessage",
|
|
22
|
+
outputs: [],
|
|
23
|
+
stateMutability: "payable",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export class IPMsgReceiverApp__factory {
|
|
29
|
+
static readonly abi = _abi;
|
|
30
|
+
static createInterface(): IPMsgReceiverAppInterface {
|
|
31
|
+
return new utils.Interface(_abi) as IPMsgReceiverAppInterface;
|
|
32
|
+
}
|
|
33
|
+
static connect(
|
|
34
|
+
address: string,
|
|
35
|
+
signerOrProvider: Signer | Provider
|
|
36
|
+
): IPMsgReceiverApp {
|
|
37
|
+
return new Contract(address, _abi, signerOrProvider) as IPMsgReceiverApp;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IPMsgSendEndpoint,
|
|
9
|
+
IPMsgSendEndpointInterface,
|
|
10
|
+
} from "../IPMsgSendEndpoint";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "dstAddress",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint256",
|
|
22
|
+
name: "dstChainId",
|
|
23
|
+
type: "uint256",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "bytes",
|
|
27
|
+
name: "message",
|
|
28
|
+
type: "bytes",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "calcFee",
|
|
32
|
+
outputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
stateMutability: "view",
|
|
40
|
+
type: "function",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [
|
|
44
|
+
{
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "dstAddress",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
internalType: "uint256",
|
|
51
|
+
name: "dstChainId",
|
|
52
|
+
type: "uint256",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "bytes",
|
|
56
|
+
name: "message",
|
|
57
|
+
type: "bytes",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "sendMessage",
|
|
61
|
+
outputs: [],
|
|
62
|
+
stateMutability: "payable",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export class IPMsgSendEndpoint__factory {
|
|
68
|
+
static readonly abi = _abi;
|
|
69
|
+
static createInterface(): IPMsgSendEndpointInterface {
|
|
70
|
+
return new utils.Interface(_abi) as IPMsgSendEndpointInterface;
|
|
71
|
+
}
|
|
72
|
+
static connect(
|
|
73
|
+
address: string,
|
|
74
|
+
signerOrProvider: Signer | Provider
|
|
75
|
+
): IPMsgSendEndpoint {
|
|
76
|
+
return new Contract(address, _abi, signerOrProvider) as IPMsgSendEndpoint;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IRewards, IRewardsInterface } from "../IRewards";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "address",
|
|
14
|
+
name: "",
|
|
15
|
+
type: "address",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
name: "addExtraReward",
|
|
19
|
+
outputs: [],
|
|
20
|
+
stateMutability: "nonpayable",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "exit",
|
|
32
|
+
outputs: [],
|
|
33
|
+
stateMutability: "nonpayable",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "extraRewards",
|
|
45
|
+
outputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "nonpayable",
|
|
53
|
+
type: "function",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "extraRewardsLength",
|
|
58
|
+
outputs: [
|
|
59
|
+
{
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
stateMutability: "view",
|
|
66
|
+
type: "function",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [],
|
|
70
|
+
name: "getReward",
|
|
71
|
+
outputs: [],
|
|
72
|
+
stateMutability: "nonpayable",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "uint256",
|
|
79
|
+
name: "",
|
|
80
|
+
type: "uint256",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "notifyRewardAmount",
|
|
84
|
+
outputs: [],
|
|
85
|
+
stateMutability: "nonpayable",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [],
|
|
90
|
+
name: "operator",
|
|
91
|
+
outputs: [
|
|
92
|
+
{
|
|
93
|
+
internalType: "address",
|
|
94
|
+
name: "",
|
|
95
|
+
type: "address",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
type: "function",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
internalType: "uint256",
|
|
105
|
+
name: "",
|
|
106
|
+
type: "uint256",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "queueNewRewards",
|
|
110
|
+
outputs: [],
|
|
111
|
+
stateMutability: "nonpayable",
|
|
112
|
+
type: "function",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "rewardPerToken",
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "nonpayable",
|
|
125
|
+
type: "function",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "rewardPerTokenStored",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "nonpayable",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [],
|
|
142
|
+
name: "rewardToken",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "nonpayable",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "uint256",
|
|
162
|
+
name: "",
|
|
163
|
+
type: "uint256",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: "stake",
|
|
167
|
+
outputs: [],
|
|
168
|
+
stateMutability: "nonpayable",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: "stakeFor",
|
|
185
|
+
outputs: [],
|
|
186
|
+
stateMutability: "nonpayable",
|
|
187
|
+
type: "function",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
inputs: [],
|
|
191
|
+
name: "stakingToken",
|
|
192
|
+
outputs: [
|
|
193
|
+
{
|
|
194
|
+
internalType: "address",
|
|
195
|
+
name: "",
|
|
196
|
+
type: "address",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
stateMutability: "nonpayable",
|
|
200
|
+
type: "function",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
inputs: [
|
|
204
|
+
{
|
|
205
|
+
internalType: "uint256",
|
|
206
|
+
name: "",
|
|
207
|
+
type: "uint256",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
internalType: "bool",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "bool",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
name: "withdraw",
|
|
216
|
+
outputs: [
|
|
217
|
+
{
|
|
218
|
+
internalType: "bool",
|
|
219
|
+
name: "",
|
|
220
|
+
type: "bool",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
stateMutability: "nonpayable",
|
|
224
|
+
type: "function",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
internalType: "uint256",
|
|
230
|
+
name: "",
|
|
231
|
+
type: "uint256",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
internalType: "bool",
|
|
235
|
+
name: "",
|
|
236
|
+
type: "bool",
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
name: "withdrawAndUnwrap",
|
|
240
|
+
outputs: [
|
|
241
|
+
{
|
|
242
|
+
internalType: "bool",
|
|
243
|
+
name: "",
|
|
244
|
+
type: "bool",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
stateMutability: "nonpayable",
|
|
248
|
+
type: "function",
|
|
249
|
+
},
|
|
250
|
+
];
|
|
251
|
+
|
|
252
|
+
export class IRewards__factory {
|
|
253
|
+
static readonly abi = _abi;
|
|
254
|
+
static createInterface(): IRewardsInterface {
|
|
255
|
+
return new utils.Interface(_abi) as IRewardsInterface;
|
|
256
|
+
}
|
|
257
|
+
static connect(
|
|
258
|
+
address: string,
|
|
259
|
+
signerOrProvider: Signer | Provider
|
|
260
|
+
): IRewards {
|
|
261
|
+
return new Contract(address, _abi, signerOrProvider) as IRewards;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
@@ -48,7 +48,7 @@ const _abi = [
|
|
|
48
48
|
type: "address",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
internalType: "contract
|
|
51
|
+
internalType: "contract IERC20",
|
|
52
52
|
name: "_rewardToken",
|
|
53
53
|
type: "address",
|
|
54
54
|
},
|
|
@@ -103,7 +103,7 @@ const _abi = [
|
|
|
103
103
|
type: "address",
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
internalType: "contract
|
|
106
|
+
internalType: "contract IERC20",
|
|
107
107
|
name: "_token",
|
|
108
108
|
type: "address",
|
|
109
109
|
},
|