@pendle/core-v2 0.15.2-mainnet → 0.16.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +48 -110
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +21 -75
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +0 -39
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -46
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +8 -52
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.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 +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +17 -77
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +1018 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStaking.sol/PendleLooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/{PendleLooksStakingSY.sol/PendleLooksStakingSY.json → PendleLooksStaking.sol/PendleLooksStaking.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.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 +2 -15
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -85
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +4 -17
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +38 -3
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +0 -13
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +35 -319
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +85 -39
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +53 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +45 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +0 -7
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +17 -91
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +0 -50
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +0 -20
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +0 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +17 -181
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +2 -12
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +0 -45
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -15
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +80 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +60 -299
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +41 -118
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +24 -61
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +24 -31
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +24 -31
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -15
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -191
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +7 -18
- package/contracts/core/Market/PendleMarketFactory.sol +5 -15
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol +4 -2
- package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +83 -0
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +4 -19
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +7 -21
- package/contracts/core/YieldContracts/PendleYieldToken.sol +21 -54
- package/contracts/core/erc20/PendleERC20.sol +7 -4
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +2 -28
- package/contracts/core/libraries/TokenHelper.sol +0 -9
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +31 -12
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +5 -3
- package/contracts/interfaces/IPActionMintRedeem.sol +0 -2
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +1 -1
- package/contracts/interfaces/IStETH.sol +0 -6
- package/contracts/interfaces/IStandardizedYield.sol +10 -15
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +30 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +173 -0
- package/contracts/offchain-helpers/RouterStatic.sol +50 -189
- package/contracts/router/ActionAddRemoveLiq.sol +52 -71
- package/contracts/router/ActionCallback.sol +8 -4
- package/contracts/router/ActionMintRedeem.sol +18 -27
- package/contracts/router/ActionSwapPT.sol +9 -8
- package/contracts/router/ActionSwapPTYT.sol +7 -3
- package/contracts/router/ActionSwapYT.sol +10 -15
- package/contracts/router/PendleRouter.sol +0 -3
- package/contracts/router/base/ActionBaseMintRedeem.sol +83 -78
- package/contracts/router/base/MarketApproxLib.sol +1 -1
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +1 -17
- package/contracts/router/kyberswap/KyberSwapHelper.sol +8 -21
- package/deployments/43113-core.json +16 -0
- package/deployments/43113-helper.json +3 -0
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +15 -0
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +2 -3
- package/typechain-types/ActionAddRemoveLiq.ts +52 -64
- package/typechain-types/ActionBaseMintRedeem.ts +8 -8
- package/typechain-types/ActionMintRedeem.ts +16 -48
- package/typechain-types/ActionSwapPT.ts +12 -34
- package/typechain-types/ActionSwapYT.ts +12 -34
- package/typechain-types/AggregationRouterHelper.ts +3 -287
- package/typechain-types/BaseSplitCodeFactoryContract.ts +0 -9
- package/typechain-types/BoringOwnableUpgradeable.ts +0 -9
- package/typechain-types/IBooster.ts +3 -9
- package/typechain-types/ICrvPool.ts +172 -69
- package/typechain-types/ILooksStaking.ts +0 -27
- package/typechain-types/IPActionAddRemoveLiq.ts +44 -56
- package/typechain-types/IPActionMintRedeem.ts +8 -40
- package/typechain-types/IPActionSwapPT.ts +4 -26
- package/typechain-types/IPActionSwapYT.ts +4 -26
- package/typechain-types/IPAllAction.ts +54 -76
- package/typechain-types/IPMarketFactory.ts +2 -2
- package/typechain-types/IPMsgSendEndpoint.ts +14 -24
- package/typechain-types/IPYieldContractFactory.ts +3 -3
- package/typechain-types/IStETH.ts +0 -56
- package/typechain-types/ImplicitSwapfeeContract.ts +17 -9
- package/typechain-types/KyberSwapHelper.ts +8 -8
- package/typechain-types/MarketMathStatic.ts +117 -0
- package/typechain-types/PendleFeeDistributor.ts +0 -9
- package/typechain-types/PendleFeeDistributorFactory.ts +0 -9
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -9
- package/typechain-types/PendleMarketFactory.ts +2 -51
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +68 -135
- package/typechain-types/PendleMsgSendEndpointUpg.ts +39 -108
- package/typechain-types/PendleMsgSenderAppUpg.ts +0 -64
- package/typechain-types/PendlePrincipalToken.ts +0 -9
- package/typechain-types/PendleRouter.ts +0 -9
- package/typechain-types/PendleVotingControllerUpg.ts +0 -64
- package/typechain-types/PendleYieldContractFactory.ts +8 -57
- package/typechain-types/PendleYieldToken.ts +0 -21
- package/typechain-types/RouterStatic.ts +20 -302
- package/typechain-types/VotingEscrowPendleMainchain.ts +6 -70
- package/typechain-types/VotingEscrowPendleSidechain.ts +0 -9
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +59 -122
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +42 -65
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +42 -35
- package/typechain-types/factories/ActionSwapYT__factory.ts +42 -35
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -190
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -14
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -13
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +34 -318
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +85 -39
- package/typechain-types/factories/ILooksStaking__factory.ts +0 -7
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +17 -91
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -50
- package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -20
- package/typechain-types/factories/IPAllAction__factory.ts +17 -181
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +2 -12
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/IStETH__factory.ts +0 -45
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +12 -4
- package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +79 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -14
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleMarketFactory__factory.ts +16 -76
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +51 -113
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +23 -84
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +0 -39
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -14
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -14
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +2 -57
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -84
- package/typechain-types/factories/PendleYieldToken__factory.ts +3 -16
- package/typechain-types/factories/RouterStatic__factory.ts +1 -244
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +8 -63
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -14
- package/typechain-types/hardhat.d.ts +39 -219
- package/typechain-types/index.ts +12 -48
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +0 -10
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +0 -10
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +0 -699
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +0 -515
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +0 -1003
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +0 -1068
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +0 -213
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +0 -119
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -39
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -173
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +0 -86
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +0 -34
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +0 -35
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- package/contracts/core/BulkSeller/BulkSeller.sol +0 -259
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +0 -88
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +0 -143
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +0 -102
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +0 -160
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +0 -29
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +0 -215
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +0 -127
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +0 -152
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +0 -122
- package/contracts/interfaces/Curve/ITriCrvPool.sol +0 -41
- package/contracts/interfaces/ILooksFeeSharing.sol +0 -5
- package/contracts/interfaces/ILooksStaking.sol +0 -13
- package/contracts/interfaces/IPBulkSeller.sol +0 -28
- package/contracts/interfaces/IPBulkSellerFactory.sol +0 -12
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +0 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +0 -43
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/deployments/1-core.json +0 -16
- package/deployments/1-markets/FRAX_30_MAR_23.json +0 -8
- package/deployments/1-markets/LOOKS_30_MAR_23.json +0 -8
- package/deployments/1-markets/STETH_MARCH_30.json +0 -8
- package/deployments/1-markets/USDD_MARCH_30.json +0 -8
- package/deployments/1-offchain-helper.json +0 -3
- package/typechain-types/AccessControl.ts +0 -360
- package/typechain-types/AccessControlUpgradeable.ts +0 -369
- package/typechain-types/BeaconProxy.ts +0 -97
- package/typechain-types/BulkSeller.ts +0 -777
- package/typechain-types/BulkSellerFactory.ts +0 -707
- package/typechain-types/BulkSellerOffchain.ts +0 -117
- package/typechain-types/ContextUpgradeable.ts +0 -68
- package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
- package/typechain-types/ERC165.ts +0 -102
- package/typechain-types/ERC165Upgradeable.ts +0 -113
- package/typechain-types/IAccessControl.ts +0 -305
- package/typechain-types/IAccessControlUpgradeable.ts +0 -305
- package/typechain-types/IAggregationRouterHelper.ts +0 -108
- package/typechain-types/IERC165.ts +0 -102
- package/typechain-types/IERC165Upgradeable.ts +0 -102
- package/typechain-types/IPBulkSeller.ts +0 -290
- package/typechain-types/IPBulkSellerCallback.ts +0 -115
- package/typechain-types/IPBulkSellerFactory.ts +0 -147
- package/typechain-types/ITriCrvPool.ts +0 -345
- package/typechain-types/Initializable.ts +0 -68
- package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
- package/typechain-types/PendleCurveFraxUsdcSY.ts +0 -1228
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +0 -1299
- package/typechain-types/PendleLooksStakingSY.ts +0 -1052
- package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
- package/typechain-types/factories/AccessControl__factory.ts +0 -227
- package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
- package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -568
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -88
- package/typechain-types/factories/BulkSeller__factory.ts +0 -749
- package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
- package/typechain-types/factories/ERC165__factory.ts +0 -39
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
- package/typechain-types/factories/IAccessControl__factory.ts +0 -198
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
- package/typechain-types/factories/IERC165__factory.ts +0 -42
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -101
- package/typechain-types/factories/IPBulkSeller__factory.ts +0 -185
- package/typechain-types/factories/ITriCrvPool__factory.ts +0 -225
- package/typechain-types/factories/Initializable__factory.ts +0 -36
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +0 -1068
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +0 -1133
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +0 -937
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
ContextUpgradeable,
|
|
9
|
-
ContextUpgradeableInterface,
|
|
10
|
-
} from "../ContextUpgradeable";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
indexed: false,
|
|
18
|
-
internalType: "uint8",
|
|
19
|
-
name: "version",
|
|
20
|
-
type: "uint8",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
name: "Initialized",
|
|
24
|
-
type: "event",
|
|
25
|
-
},
|
|
26
|
-
];
|
|
27
|
-
|
|
28
|
-
export class ContextUpgradeable__factory {
|
|
29
|
-
static readonly abi = _abi;
|
|
30
|
-
static createInterface(): ContextUpgradeableInterface {
|
|
31
|
-
return new utils.Interface(_abi) as ContextUpgradeableInterface;
|
|
32
|
-
}
|
|
33
|
-
static connect(
|
|
34
|
-
address: string,
|
|
35
|
-
signerOrProvider: Signer | Provider
|
|
36
|
-
): ContextUpgradeable {
|
|
37
|
-
return new Contract(address, _abi, signerOrProvider) as ContextUpgradeable;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,220 +0,0 @@
|
|
|
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
|
-
Curve3CrvPoolHelper,
|
|
8
|
-
Curve3CrvPoolHelperInterface,
|
|
9
|
-
} from "../Curve3CrvPoolHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "DAI",
|
|
15
|
-
outputs: [
|
|
16
|
-
{
|
|
17
|
-
internalType: "address",
|
|
18
|
-
name: "",
|
|
19
|
-
type: "address",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
stateMutability: "view",
|
|
23
|
-
type: "function",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
inputs: [],
|
|
27
|
-
name: "FEE_DENOMINATOR",
|
|
28
|
-
outputs: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "view",
|
|
36
|
-
type: "function",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: "LP",
|
|
41
|
-
outputs: [
|
|
42
|
-
{
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
stateMutability: "view",
|
|
49
|
-
type: "function",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
inputs: [],
|
|
53
|
-
name: "N_COINS",
|
|
54
|
-
outputs: [
|
|
55
|
-
{
|
|
56
|
-
internalType: "uint256",
|
|
57
|
-
name: "",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
stateMutability: "view",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [],
|
|
66
|
-
name: "POOL",
|
|
67
|
-
outputs: [
|
|
68
|
-
{
|
|
69
|
-
internalType: "address",
|
|
70
|
-
name: "",
|
|
71
|
-
type: "address",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
stateMutability: "view",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [],
|
|
79
|
-
name: "PRECISION",
|
|
80
|
-
outputs: [
|
|
81
|
-
{
|
|
82
|
-
internalType: "uint256",
|
|
83
|
-
name: "",
|
|
84
|
-
type: "uint256",
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
stateMutability: "view",
|
|
88
|
-
type: "function",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
inputs: [],
|
|
92
|
-
name: "RATE_0",
|
|
93
|
-
outputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
stateMutability: "view",
|
|
101
|
-
type: "function",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [],
|
|
105
|
-
name: "RATE_1",
|
|
106
|
-
outputs: [
|
|
107
|
-
{
|
|
108
|
-
internalType: "uint256",
|
|
109
|
-
name: "",
|
|
110
|
-
type: "uint256",
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
stateMutability: "view",
|
|
114
|
-
type: "function",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
inputs: [],
|
|
118
|
-
name: "RATE_2",
|
|
119
|
-
outputs: [
|
|
120
|
-
{
|
|
121
|
-
internalType: "uint256",
|
|
122
|
-
name: "",
|
|
123
|
-
type: "uint256",
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
stateMutability: "view",
|
|
127
|
-
type: "function",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
inputs: [],
|
|
131
|
-
name: "USDC",
|
|
132
|
-
outputs: [
|
|
133
|
-
{
|
|
134
|
-
internalType: "address",
|
|
135
|
-
name: "",
|
|
136
|
-
type: "address",
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
stateMutability: "view",
|
|
140
|
-
type: "function",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
inputs: [],
|
|
144
|
-
name: "USDT",
|
|
145
|
-
outputs: [
|
|
146
|
-
{
|
|
147
|
-
internalType: "address",
|
|
148
|
-
name: "",
|
|
149
|
-
type: "address",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
stateMutability: "view",
|
|
153
|
-
type: "function",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
inputs: [],
|
|
157
|
-
name: "get_virtual_price",
|
|
158
|
-
outputs: [
|
|
159
|
-
{
|
|
160
|
-
internalType: "uint256",
|
|
161
|
-
name: "",
|
|
162
|
-
type: "uint256",
|
|
163
|
-
},
|
|
164
|
-
],
|
|
165
|
-
stateMutability: "view",
|
|
166
|
-
type: "function",
|
|
167
|
-
},
|
|
168
|
-
];
|
|
169
|
-
|
|
170
|
-
const _bytecode =
|
|
171
|
-
"0x61026e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100ad5760003560e01c8062084e89146100b257806329357750146100d85780635d0054c4146100b25780637535d246146100e057806389a3027114610113578063aaf5eb681461012e578063b6fccf8a1461013d578063bb7b8b8014610158578063c522a9221461012e578063c54e44eb14610160578063d73792a91461017b578063e0bab4c414610187575b600080fd5b6100c568327cb2734119d3b7a9601e1b81565b6040519081526020015b60405180910390f35b6100c5600381565b6100fb73bebc44782c7db0a1a60cb6fe97d0b483032ff1c781565b6040516001600160a01b0390911681526020016100cf565b6100fb73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6100c5670de0b6b3a764000081565b6100fb736c3f90f043a72fa612cbac8115ee7e52bde6e49081565b6100c56101a2565b6100fb73dac17f958d2ee523a2206206994597c13d831ec781565b6100c56402540be40081565b6100fb736b175474e89094c44da98b954eedeac495271d0f81565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c76001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021a919061021f565b905090565b60006020828403121561023157600080fd5b505191905056fea2646970667358221220c38d291ee32e2a6b95255cebbd1335ea9a33a267e493402fdaab7354cbd3e7d364736f6c63430008110033";
|
|
172
|
-
|
|
173
|
-
type Curve3CrvPoolHelperConstructorParams =
|
|
174
|
-
| [signer?: Signer]
|
|
175
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
176
|
-
|
|
177
|
-
const isSuperArgs = (
|
|
178
|
-
xs: Curve3CrvPoolHelperConstructorParams
|
|
179
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
180
|
-
|
|
181
|
-
export class Curve3CrvPoolHelper__factory extends ContractFactory {
|
|
182
|
-
constructor(...args: Curve3CrvPoolHelperConstructorParams) {
|
|
183
|
-
if (isSuperArgs(args)) {
|
|
184
|
-
super(...args);
|
|
185
|
-
} else {
|
|
186
|
-
super(_abi, _bytecode, args[0]);
|
|
187
|
-
}
|
|
188
|
-
this.contractName = "Curve3CrvPoolHelper";
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
deploy(
|
|
192
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
193
|
-
): Promise<Curve3CrvPoolHelper> {
|
|
194
|
-
return super.deploy(overrides || {}) as Promise<Curve3CrvPoolHelper>;
|
|
195
|
-
}
|
|
196
|
-
getDeployTransaction(
|
|
197
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
198
|
-
): TransactionRequest {
|
|
199
|
-
return super.getDeployTransaction(overrides || {});
|
|
200
|
-
}
|
|
201
|
-
attach(address: string): Curve3CrvPoolHelper {
|
|
202
|
-
return super.attach(address) as Curve3CrvPoolHelper;
|
|
203
|
-
}
|
|
204
|
-
connect(signer: Signer): Curve3CrvPoolHelper__factory {
|
|
205
|
-
return super.connect(signer) as Curve3CrvPoolHelper__factory;
|
|
206
|
-
}
|
|
207
|
-
static readonly contractName: "Curve3CrvPoolHelper";
|
|
208
|
-
public readonly contractName: "Curve3CrvPoolHelper";
|
|
209
|
-
static readonly bytecode = _bytecode;
|
|
210
|
-
static readonly abi = _abi;
|
|
211
|
-
static createInterface(): Curve3CrvPoolHelperInterface {
|
|
212
|
-
return new utils.Interface(_abi) as Curve3CrvPoolHelperInterface;
|
|
213
|
-
}
|
|
214
|
-
static connect(
|
|
215
|
-
address: string,
|
|
216
|
-
signerOrProvider: Signer | Provider
|
|
217
|
-
): Curve3CrvPoolHelper {
|
|
218
|
-
return new Contract(address, _abi, signerOrProvider) as Curve3CrvPoolHelper;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
@@ -1,146 +0,0 @@
|
|
|
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
|
-
CurveFraxUsdcPoolHelper,
|
|
8
|
-
CurveFraxUsdcPoolHelperInterface,
|
|
9
|
-
} from "../CurveFraxUsdcPoolHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "A_PRECISION",
|
|
15
|
-
outputs: [
|
|
16
|
-
{
|
|
17
|
-
internalType: "uint256",
|
|
18
|
-
name: "",
|
|
19
|
-
type: "uint256",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
stateMutability: "view",
|
|
23
|
-
type: "function",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
inputs: [],
|
|
27
|
-
name: "FEE_DENOMINATOR",
|
|
28
|
-
outputs: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "view",
|
|
36
|
-
type: "function",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: "N_COINS",
|
|
41
|
-
outputs: [
|
|
42
|
-
{
|
|
43
|
-
internalType: "uint256",
|
|
44
|
-
name: "",
|
|
45
|
-
type: "uint256",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
stateMutability: "view",
|
|
49
|
-
type: "function",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
inputs: [],
|
|
53
|
-
name: "PRECISION",
|
|
54
|
-
outputs: [
|
|
55
|
-
{
|
|
56
|
-
internalType: "uint256",
|
|
57
|
-
name: "",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
stateMutability: "view",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [],
|
|
66
|
-
name: "RATE_0",
|
|
67
|
-
outputs: [
|
|
68
|
-
{
|
|
69
|
-
internalType: "uint256",
|
|
70
|
-
name: "",
|
|
71
|
-
type: "uint256",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
stateMutability: "view",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [],
|
|
79
|
-
name: "RATE_1",
|
|
80
|
-
outputs: [
|
|
81
|
-
{
|
|
82
|
-
internalType: "uint256",
|
|
83
|
-
name: "",
|
|
84
|
-
type: "uint256",
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
stateMutability: "view",
|
|
88
|
-
type: "function",
|
|
89
|
-
},
|
|
90
|
-
];
|
|
91
|
-
|
|
92
|
-
const _bytecode =
|
|
93
|
-
"0x60ea610039600b82828239805160001a60731461002c57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060645760003560e01c8062084e891460695780632935775014608d578063aaf5eb68146094578063c522a922146094578063d011f9181460a2578063d73792a91460a9575b600080fd5b607b68327cb2734119d3b7a9601e1b81565b60405190815260200160405180910390f35b607b600281565b607b670de0b6b3a764000081565b607b606481565b607b6402540be4008156fea2646970667358221220e5f9623500ddb2f08d24576081ef9157321174df3b2fc68df21ed64ddc238b7264736f6c63430008110033";
|
|
94
|
-
|
|
95
|
-
type CurveFraxUsdcPoolHelperConstructorParams =
|
|
96
|
-
| [signer?: Signer]
|
|
97
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
98
|
-
|
|
99
|
-
const isSuperArgs = (
|
|
100
|
-
xs: CurveFraxUsdcPoolHelperConstructorParams
|
|
101
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
102
|
-
|
|
103
|
-
export class CurveFraxUsdcPoolHelper__factory extends ContractFactory {
|
|
104
|
-
constructor(...args: CurveFraxUsdcPoolHelperConstructorParams) {
|
|
105
|
-
if (isSuperArgs(args)) {
|
|
106
|
-
super(...args);
|
|
107
|
-
} else {
|
|
108
|
-
super(_abi, _bytecode, args[0]);
|
|
109
|
-
}
|
|
110
|
-
this.contractName = "CurveFraxUsdcPoolHelper";
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
deploy(
|
|
114
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
-
): Promise<CurveFraxUsdcPoolHelper> {
|
|
116
|
-
return super.deploy(overrides || {}) as Promise<CurveFraxUsdcPoolHelper>;
|
|
117
|
-
}
|
|
118
|
-
getDeployTransaction(
|
|
119
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
120
|
-
): TransactionRequest {
|
|
121
|
-
return super.getDeployTransaction(overrides || {});
|
|
122
|
-
}
|
|
123
|
-
attach(address: string): CurveFraxUsdcPoolHelper {
|
|
124
|
-
return super.attach(address) as CurveFraxUsdcPoolHelper;
|
|
125
|
-
}
|
|
126
|
-
connect(signer: Signer): CurveFraxUsdcPoolHelper__factory {
|
|
127
|
-
return super.connect(signer) as CurveFraxUsdcPoolHelper__factory;
|
|
128
|
-
}
|
|
129
|
-
static readonly contractName: "CurveFraxUsdcPoolHelper";
|
|
130
|
-
public readonly contractName: "CurveFraxUsdcPoolHelper";
|
|
131
|
-
static readonly bytecode = _bytecode;
|
|
132
|
-
static readonly abi = _abi;
|
|
133
|
-
static createInterface(): CurveFraxUsdcPoolHelperInterface {
|
|
134
|
-
return new utils.Interface(_abi) as CurveFraxUsdcPoolHelperInterface;
|
|
135
|
-
}
|
|
136
|
-
static connect(
|
|
137
|
-
address: string,
|
|
138
|
-
signerOrProvider: Signer | Provider
|
|
139
|
-
): CurveFraxUsdcPoolHelper {
|
|
140
|
-
return new Contract(
|
|
141
|
-
address,
|
|
142
|
-
_abi,
|
|
143
|
-
signerOrProvider
|
|
144
|
-
) as CurveFraxUsdcPoolHelper;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
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
|
-
CurveUsdd3CrvPoolHelper,
|
|
8
|
-
CurveUsdd3CrvPoolHelperInterface,
|
|
9
|
-
} from "../CurveUsdd3CrvPoolHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [],
|
|
14
|
-
name: "A_PRECISION",
|
|
15
|
-
outputs: [
|
|
16
|
-
{
|
|
17
|
-
internalType: "uint256",
|
|
18
|
-
name: "",
|
|
19
|
-
type: "uint256",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
stateMutability: "view",
|
|
23
|
-
type: "function",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
inputs: [],
|
|
27
|
-
name: "FEE_DENOMINATOR",
|
|
28
|
-
outputs: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "view",
|
|
36
|
-
type: "function",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [],
|
|
40
|
-
name: "LP_3CRV",
|
|
41
|
-
outputs: [
|
|
42
|
-
{
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
stateMutability: "view",
|
|
49
|
-
type: "function",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
inputs: [],
|
|
53
|
-
name: "N_COINS",
|
|
54
|
-
outputs: [
|
|
55
|
-
{
|
|
56
|
-
internalType: "uint256",
|
|
57
|
-
name: "",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
stateMutability: "view",
|
|
62
|
-
type: "function",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
inputs: [],
|
|
66
|
-
name: "POOL",
|
|
67
|
-
outputs: [
|
|
68
|
-
{
|
|
69
|
-
internalType: "address",
|
|
70
|
-
name: "",
|
|
71
|
-
type: "address",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
stateMutability: "view",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [],
|
|
79
|
-
name: "PRECISION",
|
|
80
|
-
outputs: [
|
|
81
|
-
{
|
|
82
|
-
internalType: "uint256",
|
|
83
|
-
name: "",
|
|
84
|
-
type: "uint256",
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
stateMutability: "view",
|
|
88
|
-
type: "function",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
inputs: [],
|
|
92
|
-
name: "RATE_0",
|
|
93
|
-
outputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
stateMutability: "view",
|
|
101
|
-
type: "function",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [],
|
|
105
|
-
name: "USDD",
|
|
106
|
-
outputs: [
|
|
107
|
-
{
|
|
108
|
-
internalType: "address",
|
|
109
|
-
name: "",
|
|
110
|
-
type: "address",
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
stateMutability: "view",
|
|
114
|
-
type: "function",
|
|
115
|
-
},
|
|
116
|
-
];
|
|
117
|
-
|
|
118
|
-
const _bytecode =
|
|
119
|
-
"0x61016461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100825760003560e01c8063293577501461008757806332c8ffa3146100a25780637535d246146100d55780639c7aad34146100f0578063aaf5eb681461010b578063c522a9221461010b578063d011f9181461011a578063d73792a914610122575b600080fd5b61008f600281565b6040519081526020015b60405180910390f35b6100bd730c10bf8fcb7bf5412187a595ab97a3609160b5c681565b6040516001600160a01b039091168152602001610099565b6100bd73e6b5cc1b4b47305c58392ce3d359b10282fc36ea81565b6100bd736c3f90f043a72fa612cbac8115ee7e52bde6e49081565b61008f670de0b6b3a764000081565b61008f606481565b61008f6402540be4008156fea2646970667358221220acaa92ea85f3b9594675cff7eb2c4d203b4255bd0780c4700e5ff5038290df5264736f6c63430008110033";
|
|
120
|
-
|
|
121
|
-
type CurveUsdd3CrvPoolHelperConstructorParams =
|
|
122
|
-
| [signer?: Signer]
|
|
123
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
124
|
-
|
|
125
|
-
const isSuperArgs = (
|
|
126
|
-
xs: CurveUsdd3CrvPoolHelperConstructorParams
|
|
127
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
128
|
-
|
|
129
|
-
export class CurveUsdd3CrvPoolHelper__factory extends ContractFactory {
|
|
130
|
-
constructor(...args: CurveUsdd3CrvPoolHelperConstructorParams) {
|
|
131
|
-
if (isSuperArgs(args)) {
|
|
132
|
-
super(...args);
|
|
133
|
-
} else {
|
|
134
|
-
super(_abi, _bytecode, args[0]);
|
|
135
|
-
}
|
|
136
|
-
this.contractName = "CurveUsdd3CrvPoolHelper";
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
deploy(
|
|
140
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
141
|
-
): Promise<CurveUsdd3CrvPoolHelper> {
|
|
142
|
-
return super.deploy(overrides || {}) as Promise<CurveUsdd3CrvPoolHelper>;
|
|
143
|
-
}
|
|
144
|
-
getDeployTransaction(
|
|
145
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
146
|
-
): TransactionRequest {
|
|
147
|
-
return super.getDeployTransaction(overrides || {});
|
|
148
|
-
}
|
|
149
|
-
attach(address: string): CurveUsdd3CrvPoolHelper {
|
|
150
|
-
return super.attach(address) as CurveUsdd3CrvPoolHelper;
|
|
151
|
-
}
|
|
152
|
-
connect(signer: Signer): CurveUsdd3CrvPoolHelper__factory {
|
|
153
|
-
return super.connect(signer) as CurveUsdd3CrvPoolHelper__factory;
|
|
154
|
-
}
|
|
155
|
-
static readonly contractName: "CurveUsdd3CrvPoolHelper";
|
|
156
|
-
public readonly contractName: "CurveUsdd3CrvPoolHelper";
|
|
157
|
-
static readonly bytecode = _bytecode;
|
|
158
|
-
static readonly abi = _abi;
|
|
159
|
-
static createInterface(): CurveUsdd3CrvPoolHelperInterface {
|
|
160
|
-
return new utils.Interface(_abi) as CurveUsdd3CrvPoolHelperInterface;
|
|
161
|
-
}
|
|
162
|
-
static connect(
|
|
163
|
-
address: string,
|
|
164
|
-
signerOrProvider: Signer | Provider
|
|
165
|
-
): CurveUsdd3CrvPoolHelper {
|
|
166
|
-
return new Contract(
|
|
167
|
-
address,
|
|
168
|
-
_abi,
|
|
169
|
-
signerOrProvider
|
|
170
|
-
) as CurveUsdd3CrvPoolHelper;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
ERC165Upgradeable,
|
|
9
|
-
ERC165UpgradeableInterface,
|
|
10
|
-
} from "../ERC165Upgradeable";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
indexed: false,
|
|
18
|
-
internalType: "uint8",
|
|
19
|
-
name: "version",
|
|
20
|
-
type: "uint8",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
name: "Initialized",
|
|
24
|
-
type: "event",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
inputs: [
|
|
28
|
-
{
|
|
29
|
-
internalType: "bytes4",
|
|
30
|
-
name: "interfaceId",
|
|
31
|
-
type: "bytes4",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
name: "supportsInterface",
|
|
35
|
-
outputs: [
|
|
36
|
-
{
|
|
37
|
-
internalType: "bool",
|
|
38
|
-
name: "",
|
|
39
|
-
type: "bool",
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
stateMutability: "view",
|
|
43
|
-
type: "function",
|
|
44
|
-
},
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
export class ERC165Upgradeable__factory {
|
|
48
|
-
static readonly abi = _abi;
|
|
49
|
-
static createInterface(): ERC165UpgradeableInterface {
|
|
50
|
-
return new utils.Interface(_abi) as ERC165UpgradeableInterface;
|
|
51
|
-
}
|
|
52
|
-
static connect(
|
|
53
|
-
address: string,
|
|
54
|
-
signerOrProvider: Signer | Provider
|
|
55
|
-
): ERC165Upgradeable {
|
|
56
|
-
return new Contract(address, _abi, signerOrProvider) as ERC165Upgradeable;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 { ERC165, ERC165Interface } from "../ERC165";
|
|
8
|
-
|
|
9
|
-
const _abi = [
|
|
10
|
-
{
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
internalType: "bytes4",
|
|
14
|
-
name: "interfaceId",
|
|
15
|
-
type: "bytes4",
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
name: "supportsInterface",
|
|
19
|
-
outputs: [
|
|
20
|
-
{
|
|
21
|
-
internalType: "bool",
|
|
22
|
-
name: "",
|
|
23
|
-
type: "bool",
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
stateMutability: "view",
|
|
27
|
-
type: "function",
|
|
28
|
-
},
|
|
29
|
-
];
|
|
30
|
-
|
|
31
|
-
export class ERC165__factory {
|
|
32
|
-
static readonly abi = _abi;
|
|
33
|
-
static createInterface(): ERC165Interface {
|
|
34
|
-
return new utils.Interface(_abi) as ERC165Interface;
|
|
35
|
-
}
|
|
36
|
-
static connect(address: string, signerOrProvider: Signer | Provider): ERC165 {
|
|
37
|
-
return new Contract(address, _abi, signerOrProvider) as ERC165;
|
|
38
|
-
}
|
|
39
|
-
}
|