@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
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
BaseSplitCodeFactoryContract,
|
|
8
|
+
BaseSplitCodeFactoryContractInterface,
|
|
9
|
+
} from "../BaseSplitCodeFactoryContract";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
type: "constructor",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
anonymous: false,
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
indexed: true,
|
|
22
|
+
internalType: "string",
|
|
23
|
+
name: "name",
|
|
24
|
+
type: "string",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
indexed: false,
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "creationCodeContractA",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
indexed: false,
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "creationCodeSizeA",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
indexed: false,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "creationCodeContractB",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: false,
|
|
46
|
+
internalType: "uint256",
|
|
47
|
+
name: "creationCodeSizeB",
|
|
48
|
+
type: "uint256",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
name: "Deployed",
|
|
52
|
+
type: "event",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
anonymous: false,
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
indexed: true,
|
|
59
|
+
internalType: "address",
|
|
60
|
+
name: "previousOwner",
|
|
61
|
+
type: "address",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
indexed: true,
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "newOwner",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "OwnershipTransferred",
|
|
71
|
+
type: "event",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [],
|
|
75
|
+
name: "claimOwnership",
|
|
76
|
+
outputs: [],
|
|
77
|
+
stateMutability: "nonpayable",
|
|
78
|
+
type: "function",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "string",
|
|
84
|
+
name: "name",
|
|
85
|
+
type: "string",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "bytes",
|
|
89
|
+
name: "creationCode",
|
|
90
|
+
type: "bytes",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "deploy",
|
|
94
|
+
outputs: [
|
|
95
|
+
{
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "creationCodeContractA",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
internalType: "uint256",
|
|
102
|
+
name: "creationCodeSizeA",
|
|
103
|
+
type: "uint256",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
internalType: "address",
|
|
107
|
+
name: "creationCodeContractB",
|
|
108
|
+
type: "address",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
internalType: "uint256",
|
|
112
|
+
name: "creationCodeSizeB",
|
|
113
|
+
type: "uint256",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
stateMutability: "nonpayable",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [],
|
|
121
|
+
name: "owner",
|
|
122
|
+
outputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
stateMutability: "view",
|
|
130
|
+
type: "function",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
inputs: [],
|
|
134
|
+
name: "pendingOwner",
|
|
135
|
+
outputs: [
|
|
136
|
+
{
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
stateMutability: "view",
|
|
143
|
+
type: "function",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: "address",
|
|
149
|
+
name: "newOwner",
|
|
150
|
+
type: "address",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
internalType: "bool",
|
|
154
|
+
name: "direct",
|
|
155
|
+
type: "bool",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
internalType: "bool",
|
|
159
|
+
name: "renounce",
|
|
160
|
+
type: "bool",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "transferOwnership",
|
|
164
|
+
outputs: [],
|
|
165
|
+
stateMutability: "nonpayable",
|
|
166
|
+
type: "function",
|
|
167
|
+
},
|
|
168
|
+
];
|
|
169
|
+
|
|
170
|
+
const _bytecode =
|
|
171
|
+
"0x608060405234801561001057600080fd5b50600154600160a81b900460ff1661003557600154600160a01b900460ff161561003d565b61003d6100f1565b6100a55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b600154600160a81b900460ff161580156100cf576001805461ffff60a01b191661010160a01b1790555b6100d761010c565b80156100eb576001805460ff60a81b191690555b5061019c565b60006101063061018d60201b6103661760201c565b15905090565b600154600160a81b900460ff166101795760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161009c565b600080546001600160a01b03191633179055565b6001600160a01b03163b151590565b610714806101ab6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063078dfbe71461005c5780634e71e0c8146100715780638da5cb5b14610079578063be3397e9146100a9578063e30c3978146100cc575b600080fd5b61006f61006a36600461049b565b6100df565b005b61006f6101e5565b60005461008c906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100bc6100b736600461054a565b610290565b6040516100a09493929190610624565b60015461008c906001600160a01b031681565b6000546001600160a01b031633146101125760405162461bcd60e51b81526004016101099061064e565b60405180910390fd5b81156101c3576001600160a01b03831615158061012c5750805b6101705760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610109565b600080546040516001600160a01b03808716939216916000805160206106bf83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6001546001600160a01b03163381146102405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610109565b600080546040516001600160a01b03808516939216916000805160206106bf83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080548190819081906001600160a01b031633146102c15760405162461bcd60e51b81526004016101099061064e565b61030086868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037592505050565b60405193975091955093509150610318908890610683565b60405180910390207fbc62a8a743e5565da3487dae8f72d8e62aba1c03b13971b56ace6da5812d9ac6858585856040516103559493929190610624565b60405180910390a293509350935093565b6001600160a01b03163b151590565b60008060008060008551116103ba5760405162461bcd60e51b815260206004820152600b60248201526a0f4cae4de40d8cadccee8d60ab1b6044820152606401610109565b84516002810480875293508381039150856103d4816103f8565b8786018051858252919750906103e9826103f8565b93909252529395929450919050565b80517f602038038060206000396000f3fefefefefefefefefefefefefefefefefefefe808352600091602081018484f090845291506001600160a01b0382166104805760405162461bcd60e51b815260206004820152601a6024820152792222a82627aca6a2a72a2fa320a4a622a22fa120a620a721a2a960311b6044820152606401610109565b50919050565b8035801515811461049657600080fd5b919050565b6000806000606084860312156104b057600080fd5b83356001600160a01b03811681146104c757600080fd5b92506104d560208501610486565b91506104e360408501610486565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b60008083601f84011261051457600080fd5b5081356001600160401b0381111561052b57600080fd5b60208301915083602082850101111561054357600080fd5b9250929050565b60008060006040848603121561055f57600080fd5b83356001600160401b038082111561057657600080fd5b818601915086601f83011261058a57600080fd5b81358181111561059c5761059c6104ec565b604051601f8201601f19908116603f011681019083821181831017156105c4576105c46104ec565b816040528281528960208487010111156105dd57600080fd5b82602086016020830137600060208483010152809750505050602086013591508082111561060a57600080fd5b5061061786828701610502565b9497909650939450505050565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000825160005b818110156106a4576020818601810151858301520161068a565b818111156106b3576000828501525b50919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220e9ddd57e0660c31fd2b0e2fa192cafc8ed895bb552e5fdcb998b8ffab6842f1f64736f6c634300080f0033";
|
|
172
|
+
|
|
173
|
+
type BaseSplitCodeFactoryContractConstructorParams =
|
|
174
|
+
| [signer?: Signer]
|
|
175
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
176
|
+
|
|
177
|
+
const isSuperArgs = (
|
|
178
|
+
xs: BaseSplitCodeFactoryContractConstructorParams
|
|
179
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
180
|
+
|
|
181
|
+
export class BaseSplitCodeFactoryContract__factory extends ContractFactory {
|
|
182
|
+
constructor(...args: BaseSplitCodeFactoryContractConstructorParams) {
|
|
183
|
+
if (isSuperArgs(args)) {
|
|
184
|
+
super(...args);
|
|
185
|
+
} else {
|
|
186
|
+
super(_abi, _bytecode, args[0]);
|
|
187
|
+
}
|
|
188
|
+
this.contractName = "BaseSplitCodeFactoryContract";
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
deploy(
|
|
192
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
193
|
+
): Promise<BaseSplitCodeFactoryContract> {
|
|
194
|
+
return super.deploy(
|
|
195
|
+
overrides || {}
|
|
196
|
+
) as Promise<BaseSplitCodeFactoryContract>;
|
|
197
|
+
}
|
|
198
|
+
getDeployTransaction(
|
|
199
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
200
|
+
): TransactionRequest {
|
|
201
|
+
return super.getDeployTransaction(overrides || {});
|
|
202
|
+
}
|
|
203
|
+
attach(address: string): BaseSplitCodeFactoryContract {
|
|
204
|
+
return super.attach(address) as BaseSplitCodeFactoryContract;
|
|
205
|
+
}
|
|
206
|
+
connect(signer: Signer): BaseSplitCodeFactoryContract__factory {
|
|
207
|
+
return super.connect(signer) as BaseSplitCodeFactoryContract__factory;
|
|
208
|
+
}
|
|
209
|
+
static readonly contractName: "BaseSplitCodeFactoryContract";
|
|
210
|
+
public readonly contractName: "BaseSplitCodeFactoryContract";
|
|
211
|
+
static readonly bytecode = _bytecode;
|
|
212
|
+
static readonly abi = _abi;
|
|
213
|
+
static createInterface(): BaseSplitCodeFactoryContractInterface {
|
|
214
|
+
return new utils.Interface(_abi) as BaseSplitCodeFactoryContractInterface;
|
|
215
|
+
}
|
|
216
|
+
static connect(
|
|
217
|
+
address: string,
|
|
218
|
+
signerOrProvider: Signer | Provider
|
|
219
|
+
): BaseSplitCodeFactoryContract {
|
|
220
|
+
return new Contract(
|
|
221
|
+
address,
|
|
222
|
+
_abi,
|
|
223
|
+
signerOrProvider
|
|
224
|
+
) as BaseSplitCodeFactoryContract;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
BaseSplitCodeFactory,
|
|
8
|
+
BaseSplitCodeFactoryInterface,
|
|
9
|
+
} from "../BaseSplitCodeFactory";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "creationCodeContractA",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "creationCodeSizeA",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "creationCodeContractB",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "creationCodeSizeB",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
name: "getCreationCode",
|
|
36
|
+
outputs: [
|
|
37
|
+
{
|
|
38
|
+
internalType: "bytes",
|
|
39
|
+
name: "",
|
|
40
|
+
type: "bytes",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
stateMutability: "view",
|
|
44
|
+
type: "function",
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
const _bytecode =
|
|
49
|
+
"0x61020561003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c8063047a59d01461003a575b600080fd5b61004d610048366004610136565b610063565b60405161005a919061017a565b60405180910390f35b6060610081604051806020016040528060008152508686868661008a565b95945050505050565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c50602089810190858501016100ce8183866100dc565b505050505095945050505050565b5b602081106100fc578151835260209283019290910190601f19016100dd565b905182516020929092036101000a6000190180199091169116179052565b80356001600160a01b038116811461013157600080fd5b919050565b6000806000806080858703121561014c57600080fd5b6101558561011a565b93506020850135925061016a6040860161011a565b9396929550929360600135925050565b600060208083528351808285015260005b818110156101a75785810183015185820160400152820161018b565b818111156101b9576000604083870101525b50601f01601f191692909201604001939250505056fea26469706673582212202e4f84598463f5355b126f8e892af095492b0acfc25718114a2983f8dc3b903e64736f6c634300080f0033";
|
|
50
|
+
|
|
51
|
+
type BaseSplitCodeFactoryConstructorParams =
|
|
52
|
+
| [signer?: Signer]
|
|
53
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
54
|
+
|
|
55
|
+
const isSuperArgs = (
|
|
56
|
+
xs: BaseSplitCodeFactoryConstructorParams
|
|
57
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
58
|
+
|
|
59
|
+
export class BaseSplitCodeFactory__factory extends ContractFactory {
|
|
60
|
+
constructor(...args: BaseSplitCodeFactoryConstructorParams) {
|
|
61
|
+
if (isSuperArgs(args)) {
|
|
62
|
+
super(...args);
|
|
63
|
+
} else {
|
|
64
|
+
super(_abi, _bytecode, args[0]);
|
|
65
|
+
}
|
|
66
|
+
this.contractName = "BaseSplitCodeFactory";
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
deploy(
|
|
70
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
71
|
+
): Promise<BaseSplitCodeFactory> {
|
|
72
|
+
return super.deploy(overrides || {}) as Promise<BaseSplitCodeFactory>;
|
|
73
|
+
}
|
|
74
|
+
getDeployTransaction(
|
|
75
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
76
|
+
): TransactionRequest {
|
|
77
|
+
return super.getDeployTransaction(overrides || {});
|
|
78
|
+
}
|
|
79
|
+
attach(address: string): BaseSplitCodeFactory {
|
|
80
|
+
return super.attach(address) as BaseSplitCodeFactory;
|
|
81
|
+
}
|
|
82
|
+
connect(signer: Signer): BaseSplitCodeFactory__factory {
|
|
83
|
+
return super.connect(signer) as BaseSplitCodeFactory__factory;
|
|
84
|
+
}
|
|
85
|
+
static readonly contractName: "BaseSplitCodeFactory";
|
|
86
|
+
public readonly contractName: "BaseSplitCodeFactory";
|
|
87
|
+
static readonly bytecode = _bytecode;
|
|
88
|
+
static readonly abi = _abi;
|
|
89
|
+
static createInterface(): BaseSplitCodeFactoryInterface {
|
|
90
|
+
return new utils.Interface(_abi) as BaseSplitCodeFactoryInterface;
|
|
91
|
+
}
|
|
92
|
+
static connect(
|
|
93
|
+
address: string,
|
|
94
|
+
signerOrProvider: Signer | Provider
|
|
95
|
+
): BaseSplitCodeFactory {
|
|
96
|
+
return new Contract(
|
|
97
|
+
address,
|
|
98
|
+
_abi,
|
|
99
|
+
signerOrProvider
|
|
100
|
+
) as BaseSplitCodeFactory;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,368 @@
|
|
|
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 { ERC20Permit, ERC20PermitInterface } from "../ERC20Permit";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: true,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "owner",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "spender",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "value",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "Approval",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
anonymous: false,
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
indexed: true,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "from",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "to",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
indexed: false,
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "value",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "Transfer",
|
|
58
|
+
type: "event",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [],
|
|
62
|
+
name: "DOMAIN_SEPARATOR",
|
|
63
|
+
outputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "bytes32",
|
|
66
|
+
name: "",
|
|
67
|
+
type: "bytes32",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
stateMutability: "view",
|
|
71
|
+
type: "function",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "owner",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "spender",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "allowance",
|
|
87
|
+
outputs: [
|
|
88
|
+
{
|
|
89
|
+
internalType: "uint256",
|
|
90
|
+
name: "",
|
|
91
|
+
type: "uint256",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
stateMutability: "view",
|
|
95
|
+
type: "function",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "spender",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint256",
|
|
106
|
+
name: "amount",
|
|
107
|
+
type: "uint256",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
name: "approve",
|
|
111
|
+
outputs: [
|
|
112
|
+
{
|
|
113
|
+
internalType: "bool",
|
|
114
|
+
name: "",
|
|
115
|
+
type: "bool",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "nonpayable",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "account",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
name: "balanceOf",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "view",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [],
|
|
142
|
+
name: "decimals",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint8",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "uint8",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "spender",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "uint256",
|
|
162
|
+
name: "subtractedValue",
|
|
163
|
+
type: "uint256",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: "decreaseAllowance",
|
|
167
|
+
outputs: [
|
|
168
|
+
{
|
|
169
|
+
internalType: "bool",
|
|
170
|
+
name: "",
|
|
171
|
+
type: "bool",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
stateMutability: "nonpayable",
|
|
175
|
+
type: "function",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
inputs: [
|
|
179
|
+
{
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "spender",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
internalType: "uint256",
|
|
186
|
+
name: "addedValue",
|
|
187
|
+
type: "uint256",
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
name: "increaseAllowance",
|
|
191
|
+
outputs: [
|
|
192
|
+
{
|
|
193
|
+
internalType: "bool",
|
|
194
|
+
name: "",
|
|
195
|
+
type: "bool",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
stateMutability: "nonpayable",
|
|
199
|
+
type: "function",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "name",
|
|
204
|
+
outputs: [
|
|
205
|
+
{
|
|
206
|
+
internalType: "string",
|
|
207
|
+
name: "",
|
|
208
|
+
type: "string",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
stateMutability: "view",
|
|
212
|
+
type: "function",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [
|
|
216
|
+
{
|
|
217
|
+
internalType: "address",
|
|
218
|
+
name: "owner",
|
|
219
|
+
type: "address",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
name: "nonces",
|
|
223
|
+
outputs: [
|
|
224
|
+
{
|
|
225
|
+
internalType: "uint256",
|
|
226
|
+
name: "",
|
|
227
|
+
type: "uint256",
|
|
228
|
+
},
|
|
229
|
+
],
|
|
230
|
+
stateMutability: "view",
|
|
231
|
+
type: "function",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
inputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "owner",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "spender",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
internalType: "uint256",
|
|
247
|
+
name: "value",
|
|
248
|
+
type: "uint256",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
internalType: "uint256",
|
|
252
|
+
name: "deadline",
|
|
253
|
+
type: "uint256",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
internalType: "uint8",
|
|
257
|
+
name: "v",
|
|
258
|
+
type: "uint8",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
internalType: "bytes32",
|
|
262
|
+
name: "r",
|
|
263
|
+
type: "bytes32",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
internalType: "bytes32",
|
|
267
|
+
name: "s",
|
|
268
|
+
type: "bytes32",
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
name: "permit",
|
|
272
|
+
outputs: [],
|
|
273
|
+
stateMutability: "nonpayable",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [],
|
|
278
|
+
name: "symbol",
|
|
279
|
+
outputs: [
|
|
280
|
+
{
|
|
281
|
+
internalType: "string",
|
|
282
|
+
name: "",
|
|
283
|
+
type: "string",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
stateMutability: "view",
|
|
287
|
+
type: "function",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
inputs: [],
|
|
291
|
+
name: "totalSupply",
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "uint256",
|
|
295
|
+
name: "",
|
|
296
|
+
type: "uint256",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
stateMutability: "view",
|
|
300
|
+
type: "function",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [
|
|
304
|
+
{
|
|
305
|
+
internalType: "address",
|
|
306
|
+
name: "to",
|
|
307
|
+
type: "address",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
internalType: "uint256",
|
|
311
|
+
name: "amount",
|
|
312
|
+
type: "uint256",
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
name: "transfer",
|
|
316
|
+
outputs: [
|
|
317
|
+
{
|
|
318
|
+
internalType: "bool",
|
|
319
|
+
name: "",
|
|
320
|
+
type: "bool",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
stateMutability: "nonpayable",
|
|
324
|
+
type: "function",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "from",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "to",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
internalType: "uint256",
|
|
340
|
+
name: "amount",
|
|
341
|
+
type: "uint256",
|
|
342
|
+
},
|
|
343
|
+
],
|
|
344
|
+
name: "transferFrom",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "bool",
|
|
348
|
+
name: "",
|
|
349
|
+
type: "bool",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
stateMutability: "nonpayable",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
];
|
|
356
|
+
|
|
357
|
+
export class ERC20Permit__factory {
|
|
358
|
+
static readonly abi = _abi;
|
|
359
|
+
static createInterface(): ERC20PermitInterface {
|
|
360
|
+
return new utils.Interface(_abi) as ERC20PermitInterface;
|
|
361
|
+
}
|
|
362
|
+
static connect(
|
|
363
|
+
address: string,
|
|
364
|
+
signerOrProvider: Signer | Provider
|
|
365
|
+
): ERC20Permit {
|
|
366
|
+
return new Contract(address, _abi, signerOrProvider) as ERC20Permit;
|
|
367
|
+
}
|
|
368
|
+
}
|