@pendle/core-v2 0.11.4-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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -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 +13 -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 +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 +58 -4
- 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 +70 -16
- 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 +34 -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 +2 -2
- 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 +34 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +34 -4
- 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 +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/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/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- 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/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 +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/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/PendleGaugeControllerSidechainUpg.ts +28 -149
- package/typechain-types/PendleMarket.ts +104 -0
- package/typechain-types/PendleMarketFactory.ts +71 -8
- 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 +84 -21
- package/typechain-types/PendleYieldToken.ts +175 -0
- 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 +31 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +31 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +31 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +226 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- 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/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/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/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +21 -86
- package/typechain-types/factories/PendleMarketFactory__factory.ts +81 -8
- 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 +93 -20
- package/typechain-types/factories/PendleYieldToken__factory.ts +112 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- 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 +205 -88
- package/typechain-types/index.ts +50 -22
- 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/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +0 -134
|
@@ -120,6 +120,11 @@ const _abi = [
|
|
|
120
120
|
name: "netScyOut",
|
|
121
121
|
type: "uint256",
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
internalType: "uint256",
|
|
125
|
+
name: "netScyFee",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
},
|
|
123
128
|
],
|
|
124
129
|
stateMutability: "nonpayable",
|
|
125
130
|
type: "function",
|
|
@@ -176,6 +181,11 @@ const _abi = [
|
|
|
176
181
|
name: "netTokenOut",
|
|
177
182
|
type: "uint256",
|
|
178
183
|
},
|
|
184
|
+
{
|
|
185
|
+
internalType: "uint256",
|
|
186
|
+
name: "netScyFee",
|
|
187
|
+
type: "uint256",
|
|
188
|
+
},
|
|
179
189
|
],
|
|
180
190
|
stateMutability: "nonpayable",
|
|
181
191
|
type: "function",
|
|
@@ -242,6 +252,11 @@ const _abi = [
|
|
|
242
252
|
name: "netPtOut",
|
|
243
253
|
type: "uint256",
|
|
244
254
|
},
|
|
255
|
+
{
|
|
256
|
+
internalType: "uint256",
|
|
257
|
+
name: "netScyFee",
|
|
258
|
+
type: "uint256",
|
|
259
|
+
},
|
|
245
260
|
],
|
|
246
261
|
stateMutability: "nonpayable",
|
|
247
262
|
type: "function",
|
|
@@ -330,6 +345,11 @@ const _abi = [
|
|
|
330
345
|
name: "netPtOut",
|
|
331
346
|
type: "uint256",
|
|
332
347
|
},
|
|
348
|
+
{
|
|
349
|
+
internalType: "uint256",
|
|
350
|
+
name: "netScyFee",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
},
|
|
333
353
|
],
|
|
334
354
|
stateMutability: "payable",
|
|
335
355
|
type: "function",
|
|
@@ -396,6 +416,11 @@ const _abi = [
|
|
|
396
416
|
name: "netPtIn",
|
|
397
417
|
type: "uint256",
|
|
398
418
|
},
|
|
419
|
+
{
|
|
420
|
+
internalType: "uint256",
|
|
421
|
+
name: "netScyFee",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
399
424
|
],
|
|
400
425
|
stateMutability: "nonpayable",
|
|
401
426
|
type: "function",
|
|
@@ -430,6 +455,11 @@ const _abi = [
|
|
|
430
455
|
name: "netScyIn",
|
|
431
456
|
type: "uint256",
|
|
432
457
|
},
|
|
458
|
+
{
|
|
459
|
+
internalType: "uint256",
|
|
460
|
+
name: "netScyFee",
|
|
461
|
+
type: "uint256",
|
|
462
|
+
},
|
|
433
463
|
],
|
|
434
464
|
stateMutability: "nonpayable",
|
|
435
465
|
type: "function",
|
|
@@ -152,6 +152,11 @@ const _abi = [
|
|
|
152
152
|
name: "netYtOut",
|
|
153
153
|
type: "uint256",
|
|
154
154
|
},
|
|
155
|
+
{
|
|
156
|
+
internalType: "uint256",
|
|
157
|
+
name: "netScyFee",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
},
|
|
155
160
|
],
|
|
156
161
|
stateMutability: "nonpayable",
|
|
157
162
|
type: "function",
|
|
@@ -240,6 +245,11 @@ const _abi = [
|
|
|
240
245
|
name: "netYtOut",
|
|
241
246
|
type: "uint256",
|
|
242
247
|
},
|
|
248
|
+
{
|
|
249
|
+
internalType: "uint256",
|
|
250
|
+
name: "netScyFee",
|
|
251
|
+
type: "uint256",
|
|
252
|
+
},
|
|
243
253
|
],
|
|
244
254
|
stateMutability: "payable",
|
|
245
255
|
type: "function",
|
|
@@ -274,6 +284,11 @@ const _abi = [
|
|
|
274
284
|
name: "netScyOut",
|
|
275
285
|
type: "uint256",
|
|
276
286
|
},
|
|
287
|
+
{
|
|
288
|
+
internalType: "uint256",
|
|
289
|
+
name: "netScyFee",
|
|
290
|
+
type: "uint256",
|
|
291
|
+
},
|
|
277
292
|
],
|
|
278
293
|
stateMutability: "nonpayable",
|
|
279
294
|
type: "function",
|
|
@@ -330,6 +345,11 @@ const _abi = [
|
|
|
330
345
|
name: "netTokenOut",
|
|
331
346
|
type: "uint256",
|
|
332
347
|
},
|
|
348
|
+
{
|
|
349
|
+
internalType: "uint256",
|
|
350
|
+
name: "netScyFee",
|
|
351
|
+
type: "uint256",
|
|
352
|
+
},
|
|
333
353
|
],
|
|
334
354
|
stateMutability: "nonpayable",
|
|
335
355
|
type: "function",
|
|
@@ -364,6 +384,11 @@ const _abi = [
|
|
|
364
384
|
name: "netScyIn",
|
|
365
385
|
type: "uint256",
|
|
366
386
|
},
|
|
387
|
+
{
|
|
388
|
+
internalType: "uint256",
|
|
389
|
+
name: "netScyFee",
|
|
390
|
+
type: "uint256",
|
|
391
|
+
},
|
|
367
392
|
],
|
|
368
393
|
stateMutability: "nonpayable",
|
|
369
394
|
type: "function",
|
|
@@ -430,6 +455,11 @@ const _abi = [
|
|
|
430
455
|
name: "netYtIn",
|
|
431
456
|
type: "uint256",
|
|
432
457
|
},
|
|
458
|
+
{
|
|
459
|
+
internalType: "uint256",
|
|
460
|
+
name: "netScyFee",
|
|
461
|
+
type: "uint256",
|
|
462
|
+
},
|
|
433
463
|
],
|
|
434
464
|
stateMutability: "nonpayable",
|
|
435
465
|
type: "function",
|
|
@@ -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",
|
|
@@ -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
|
+
}
|