@pendle/core-v2 0.16.2-testnet → 0.16.3-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 +15 -2
- 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 +15 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +13 -0
- 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 +15 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +15 -2
- 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 +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +15 -2
- 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/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +695 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +531 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +10 -0
- 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 +15 -2
- 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/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +89 -0
- 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 +15 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +15 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- 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 +2 -2
- 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 +13 -0
- 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 +208 -2
- 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/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +30 -83
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +91 -17
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +50 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -0
- 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 +20 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +181 -17
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +173 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +86 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +34 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- 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/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 +45 -0
- 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 +15 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +67 -0
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -36
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +237 -61
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +120 -41
- 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 +79 -24
- 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 +49 -24
- 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 +49 -24
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +15 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +14 -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 +191 -2
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +35 -0
- 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/core/BulkSeller/BulkSeller.sol +250 -0
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +89 -0
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +143 -0
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol +2 -4
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +107 -0
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +19 -4
- package/contracts/core/libraries/Errors.sol +17 -0
- package/contracts/interfaces/Curve/ICrvPool.sol +9 -27
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +3 -5
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -0
- package/contracts/interfaces/IPBulkSeller.sol +28 -0
- package/contracts/interfaces/IPBulkSellerFactory.sol +12 -0
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +10 -0
- package/contracts/interfaces/IStETH.sol +6 -0
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +43 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +0 -144
- package/contracts/offchain-helpers/RouterStatic.sol +167 -51
- package/contracts/router/ActionAddRemoveLiq.sol +60 -44
- package/contracts/router/ActionMintRedeem.sol +19 -15
- package/contracts/router/ActionSwapPT.sol +3 -3
- package/contracts/router/ActionSwapYT.sol +11 -4
- package/contracts/router/base/ActionBaseMintRedeem.sol +73 -74
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +17 -1
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +10 -0
- package/contracts/router/kyberswap/KyberSwapHelper.sol +17 -8
- package/deployments/43113-core.json +3 -2
- package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +9 -0
- package/deployments/80001-core.json +3 -2
- package/package.json +3 -2
- package/typechain-types/AccessControl.ts +360 -0
- package/typechain-types/ActionAddRemoveLiq.ts +83 -52
- package/typechain-types/ActionBaseMintRedeem.ts +27 -8
- package/typechain-types/ActionMintRedeem.ts +68 -17
- package/typechain-types/ActionSwapPT.ts +53 -12
- package/typechain-types/ActionSwapYT.ts +53 -12
- package/typechain-types/AggregationRouterHelper.ts +287 -3
- package/typechain-types/BaseSplitCodeFactoryContract.ts +9 -0
- package/typechain-types/BeaconProxy.ts +97 -0
- package/typechain-types/BoringOwnableUpgradeable.ts +9 -0
- package/typechain-types/BulkSeller.ts +776 -0
- package/typechain-types/BulkSellerFactory.ts +707 -0
- package/typechain-types/BulkSellerOffchain.ts +117 -0
- package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
- package/typechain-types/ERC165.ts +102 -0
- package/typechain-types/IAccessControl.ts +305 -0
- package/typechain-types/IAggregationRouterHelper.ts +108 -0
- package/typechain-types/ICrvPool.ts +66 -164
- package/typechain-types/IERC165.ts +102 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +56 -44
- package/typechain-types/IPActionMintRedeem.ts +41 -9
- package/typechain-types/IPActionSwapPT.ts +26 -4
- package/typechain-types/IPActionSwapYT.ts +26 -4
- package/typechain-types/IPAllAction.ts +77 -55
- package/typechain-types/IPBulkSeller.ts +290 -0
- package/typechain-types/IPBulkSellerCallback.ts +115 -0
- package/typechain-types/IPBulkSellerFactory.ts +147 -0
- package/typechain-types/IStETH.ts +56 -0
- package/typechain-types/ITriCrvPool.ts +345 -0
- package/typechain-types/Initializable.ts +68 -0
- package/typechain-types/KyberSwapHelper.ts +8 -8
- package/typechain-types/MarketMathStatic.ts +0 -50
- package/typechain-types/PendleCurveFraxUsdcSY.ts +1228 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +1299 -0
- package/typechain-types/PendleFeeDistributor.ts +9 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +9 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +9 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +9 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +9 -0
- package/typechain-types/PendleMarketFactory.ts +9 -0
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +9 -0
- package/typechain-types/PendleMsgSendEndpointUpg.ts +9 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +9 -0
- package/typechain-types/PendlePrincipalToken.ts +9 -0
- package/typechain-types/PendleRouter.ts +9 -0
- package/typechain-types/PendleVotingControllerUpg.ts +9 -0
- package/typechain-types/PendleYieldContractFactory.ts +9 -0
- package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
- package/typechain-types/RouterStatic.ts +203 -22
- package/typechain-types/VotingEscrowPendleMainchain.ts +9 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +9 -0
- package/typechain-types/factories/AccessControl__factory.ts +227 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +131 -59
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +14 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +90 -42
- 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 +60 -42
- package/typechain-types/factories/ActionSwapYT__factory.ts +60 -42
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +190 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +14 -1
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +13 -0
- package/typechain-types/factories/BulkSellerFactory__factory.ts +584 -0
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +120 -0
- package/typechain-types/factories/BulkSeller__factory.ts +745 -0
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
- package/typechain-types/factories/ERC165__factory.ts +39 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +207 -1
- package/typechain-types/factories/IAccessControl__factory.ts +198 -0
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
- package/typechain-types/factories/ICrvPool__factory.ts +30 -83
- package/typechain-types/factories/IERC165__factory.ts +42 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +91 -17
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +50 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -0
- package/typechain-types/factories/IPAllAction__factory.ts +181 -17
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +101 -0
- package/typechain-types/factories/IPBulkSeller__factory.ts +185 -0
- package/typechain-types/factories/IStETH__factory.ts +45 -0
- package/typechain-types/factories/ITriCrvPool__factory.ts +225 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
- package/typechain-types/factories/Initializable__factory.ts +36 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -35
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1068 -0
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1168 -0
- 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 +14 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +14 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +14 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +13 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +14 -1
- 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 +14 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +14 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/RouterStatic__factory.ts +182 -2
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +14 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +14 -1
- package/typechain-types/hardhat.d.ts +139 -13
- package/typechain-types/index.ts +30 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +0 -1018
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +0 -76
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +0 -167
- package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +0 -83
|
@@ -0,0 +1,584 @@
|
|
|
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
|
+
BulkSellerFactory,
|
|
8
|
+
BulkSellerFactoryInterface,
|
|
9
|
+
} from "../BulkSellerFactory";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
type: "constructor",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "BulkNotAdmin",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "token",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "SY",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "bulkSeller",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
name: "BulkSellerAlreadyExisted",
|
|
41
|
+
type: "error",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "token",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "SY",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "BulkSellerInvalidToken",
|
|
57
|
+
type: "error",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "token",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "address",
|
|
68
|
+
name: "SY",
|
|
69
|
+
type: "address",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "RouterBulkSellerNotFound",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
anonymous: false,
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "previousAdmin",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
indexed: false,
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "newAdmin",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "AdminChanged",
|
|
92
|
+
type: "event",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anonymous: false,
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "beacon",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "BeaconUpgraded",
|
|
105
|
+
type: "event",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
anonymous: false,
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
indexed: false,
|
|
112
|
+
internalType: "uint8",
|
|
113
|
+
name: "version",
|
|
114
|
+
type: "uint8",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "Initialized",
|
|
118
|
+
type: "event",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
anonymous: false,
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
indexed: true,
|
|
125
|
+
internalType: "bytes32",
|
|
126
|
+
name: "role",
|
|
127
|
+
type: "bytes32",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: true,
|
|
131
|
+
internalType: "bytes32",
|
|
132
|
+
name: "previousAdminRole",
|
|
133
|
+
type: "bytes32",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: true,
|
|
137
|
+
internalType: "bytes32",
|
|
138
|
+
name: "newAdminRole",
|
|
139
|
+
type: "bytes32",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
name: "RoleAdminChanged",
|
|
143
|
+
type: "event",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
anonymous: false,
|
|
147
|
+
inputs: [
|
|
148
|
+
{
|
|
149
|
+
indexed: true,
|
|
150
|
+
internalType: "bytes32",
|
|
151
|
+
name: "role",
|
|
152
|
+
type: "bytes32",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "account",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: true,
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "sender",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "RoleGranted",
|
|
168
|
+
type: "event",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
indexed: true,
|
|
175
|
+
internalType: "bytes32",
|
|
176
|
+
name: "role",
|
|
177
|
+
type: "bytes32",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: true,
|
|
181
|
+
internalType: "address",
|
|
182
|
+
name: "account",
|
|
183
|
+
type: "address",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
indexed: true,
|
|
187
|
+
internalType: "address",
|
|
188
|
+
name: "sender",
|
|
189
|
+
type: "address",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
name: "RoleRevoked",
|
|
193
|
+
type: "event",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
anonymous: false,
|
|
197
|
+
inputs: [
|
|
198
|
+
{
|
|
199
|
+
indexed: true,
|
|
200
|
+
internalType: "address",
|
|
201
|
+
name: "implementation",
|
|
202
|
+
type: "address",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
name: "Upgraded",
|
|
206
|
+
type: "event",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
anonymous: false,
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
indexed: true,
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "implementation",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
name: "UpgradedBeacon",
|
|
219
|
+
type: "event",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
inputs: [],
|
|
223
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
224
|
+
outputs: [
|
|
225
|
+
{
|
|
226
|
+
internalType: "bytes32",
|
|
227
|
+
name: "",
|
|
228
|
+
type: "bytes32",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
stateMutability: "view",
|
|
232
|
+
type: "function",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
inputs: [],
|
|
236
|
+
name: "MAINTAINER",
|
|
237
|
+
outputs: [
|
|
238
|
+
{
|
|
239
|
+
internalType: "bytes32",
|
|
240
|
+
name: "",
|
|
241
|
+
type: "bytes32",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
stateMutability: "view",
|
|
245
|
+
type: "function",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [
|
|
249
|
+
{
|
|
250
|
+
internalType: "address",
|
|
251
|
+
name: "token",
|
|
252
|
+
type: "address",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
internalType: "address",
|
|
256
|
+
name: "SY",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
name: "createBulkSeller",
|
|
261
|
+
outputs: [
|
|
262
|
+
{
|
|
263
|
+
internalType: "address",
|
|
264
|
+
name: "bulk",
|
|
265
|
+
type: "address",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
stateMutability: "nonpayable",
|
|
269
|
+
type: "function",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
inputs: [
|
|
273
|
+
{
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "token",
|
|
276
|
+
type: "address",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
internalType: "address",
|
|
280
|
+
name: "SY",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
name: "get",
|
|
285
|
+
outputs: [
|
|
286
|
+
{
|
|
287
|
+
internalType: "address",
|
|
288
|
+
name: "",
|
|
289
|
+
type: "address",
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
stateMutability: "view",
|
|
293
|
+
type: "function",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
inputs: [
|
|
297
|
+
{
|
|
298
|
+
internalType: "bytes32",
|
|
299
|
+
name: "role",
|
|
300
|
+
type: "bytes32",
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
name: "getRoleAdmin",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "bytes32",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "bytes32",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
inputs: [
|
|
316
|
+
{
|
|
317
|
+
internalType: "bytes32",
|
|
318
|
+
name: "role",
|
|
319
|
+
type: "bytes32",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
internalType: "address",
|
|
323
|
+
name: "account",
|
|
324
|
+
type: "address",
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
name: "grantRole",
|
|
328
|
+
outputs: [],
|
|
329
|
+
stateMutability: "nonpayable",
|
|
330
|
+
type: "function",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
inputs: [
|
|
334
|
+
{
|
|
335
|
+
internalType: "bytes32",
|
|
336
|
+
name: "role",
|
|
337
|
+
type: "bytes32",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
internalType: "address",
|
|
341
|
+
name: "account",
|
|
342
|
+
type: "address",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "hasRole",
|
|
346
|
+
outputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "bool",
|
|
349
|
+
name: "",
|
|
350
|
+
type: "bool",
|
|
351
|
+
},
|
|
352
|
+
],
|
|
353
|
+
stateMutability: "view",
|
|
354
|
+
type: "function",
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
inputs: [],
|
|
358
|
+
name: "implementation",
|
|
359
|
+
outputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "address",
|
|
362
|
+
name: "",
|
|
363
|
+
type: "address",
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
stateMutability: "view",
|
|
367
|
+
type: "function",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
inputs: [
|
|
371
|
+
{
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "implementation_",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
name: "initialize",
|
|
378
|
+
outputs: [],
|
|
379
|
+
stateMutability: "nonpayable",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "address",
|
|
386
|
+
name: "addr",
|
|
387
|
+
type: "address",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
name: "isAdmin",
|
|
391
|
+
outputs: [
|
|
392
|
+
{
|
|
393
|
+
internalType: "bool",
|
|
394
|
+
name: "",
|
|
395
|
+
type: "bool",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
stateMutability: "view",
|
|
399
|
+
type: "function",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
inputs: [
|
|
403
|
+
{
|
|
404
|
+
internalType: "address",
|
|
405
|
+
name: "addr",
|
|
406
|
+
type: "address",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
name: "isMaintainer",
|
|
410
|
+
outputs: [
|
|
411
|
+
{
|
|
412
|
+
internalType: "bool",
|
|
413
|
+
name: "",
|
|
414
|
+
type: "bool",
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
stateMutability: "view",
|
|
418
|
+
type: "function",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
inputs: [],
|
|
422
|
+
name: "proxiableUUID",
|
|
423
|
+
outputs: [
|
|
424
|
+
{
|
|
425
|
+
internalType: "bytes32",
|
|
426
|
+
name: "",
|
|
427
|
+
type: "bytes32",
|
|
428
|
+
},
|
|
429
|
+
],
|
|
430
|
+
stateMutability: "view",
|
|
431
|
+
type: "function",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
inputs: [
|
|
435
|
+
{
|
|
436
|
+
internalType: "bytes32",
|
|
437
|
+
name: "role",
|
|
438
|
+
type: "bytes32",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
internalType: "address",
|
|
442
|
+
name: "account",
|
|
443
|
+
type: "address",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
name: "renounceRole",
|
|
447
|
+
outputs: [],
|
|
448
|
+
stateMutability: "nonpayable",
|
|
449
|
+
type: "function",
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
inputs: [
|
|
453
|
+
{
|
|
454
|
+
internalType: "bytes32",
|
|
455
|
+
name: "role",
|
|
456
|
+
type: "bytes32",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
internalType: "address",
|
|
460
|
+
name: "account",
|
|
461
|
+
type: "address",
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
name: "revokeRole",
|
|
465
|
+
outputs: [],
|
|
466
|
+
stateMutability: "nonpayable",
|
|
467
|
+
type: "function",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
inputs: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "bytes4",
|
|
473
|
+
name: "interfaceId",
|
|
474
|
+
type: "bytes4",
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
name: "supportsInterface",
|
|
478
|
+
outputs: [
|
|
479
|
+
{
|
|
480
|
+
internalType: "bool",
|
|
481
|
+
name: "",
|
|
482
|
+
type: "bool",
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
stateMutability: "view",
|
|
486
|
+
type: "function",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
inputs: [
|
|
490
|
+
{
|
|
491
|
+
internalType: "address",
|
|
492
|
+
name: "newImplementation",
|
|
493
|
+
type: "address",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
name: "upgradeBeacon",
|
|
497
|
+
outputs: [],
|
|
498
|
+
stateMutability: "nonpayable",
|
|
499
|
+
type: "function",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
inputs: [
|
|
503
|
+
{
|
|
504
|
+
internalType: "address",
|
|
505
|
+
name: "newImplementation",
|
|
506
|
+
type: "address",
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
name: "upgradeTo",
|
|
510
|
+
outputs: [],
|
|
511
|
+
stateMutability: "nonpayable",
|
|
512
|
+
type: "function",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
inputs: [
|
|
516
|
+
{
|
|
517
|
+
internalType: "address",
|
|
518
|
+
name: "newImplementation",
|
|
519
|
+
type: "address",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
internalType: "bytes",
|
|
523
|
+
name: "data",
|
|
524
|
+
type: "bytes",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
name: "upgradeToAndCall",
|
|
528
|
+
outputs: [],
|
|
529
|
+
stateMutability: "payable",
|
|
530
|
+
type: "function",
|
|
531
|
+
},
|
|
532
|
+
];
|
|
533
|
+
|
|
534
|
+
const _bytecode =
|
|
535
|
+
"0x60a0604052306080523480156200001557600080fd5b50600154610100900460ff16158080156200003457506001805460ff16105b8062000063575062000051306200013b60201b62000c771760201c565b1580156200006357506001805460ff16145b620000cb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff1916811790558015620000ee576001805461ff0019166101001790555b801562000134576001805461ff00191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b506200014a565b6001600160a01b03163b151590565b6080516121d8620001826000396000818161059e015281816105e1015281816108f00152818161093301526109b401526121d86000f3fe608060405260043610620000ec5760003560e01c806301ffc9a714620000f15780631bce4583146200012b578063248a9ca3146200015257806324d7806c14620001865780632aabb72614620001ab5780632f2ff15d14620001d057806336568abe14620001f55780633659cfe6146200021a5780634f0c9e08146200023f5780634f1ef286146200027357806352d1902d146200028a5780635c60da1b14620002a257806391d1485414620002ca578063a217fddf14620002ef578063c4d66de81462000306578063d547741f146200032b578063d81e84231462000350578063dd57366a1462000375575b600080fd5b348015620000fe57600080fd5b506200011662000110366004620013d4565b6200039a565b60405190151581526020015b60405180910390f35b3480156200013857600080fd5b50620001506200014a3660046200141d565b620003d2565b005b3480156200015f57600080fd5b5062000177620001713660046200143b565b620004c8565b60405190815260200162000122565b3480156200019357600080fd5b5062000116620001a53660046200141d565b620004dd565b348015620001b857600080fd5b50620001776000805160206200213c83398151915281565b348015620001dd57600080fd5b5062000150620001ef36600462001455565b620004eb565b3480156200020257600080fd5b50620001506200021436600462001455565b62000512565b3480156200022757600080fd5b5062000150620002393660046200141d565b62000594565b3480156200024c57600080fd5b50620002646200025e36600462001484565b62000668565b604051620001229190620014b3565b6200015062000284366004620014dd565b620008e6565b3480156200029757600080fd5b5062000177620009a7565b348015620002af57600080fd5b5060015462000264906201000090046001600160a01b031681565b348015620002d757600080fd5b5062000116620002e936600462001455565b62000a58565b348015620002fc57600080fd5b5062000177600081565b3480156200031357600080fd5b5062000150620003253660046200141d565b62000a81565b3480156200033857600080fd5b50620001506200034a36600462001455565b62000bac565b3480156200035d57600080fd5b50620002646200036f36600462001484565b62000bce565b3480156200038257600080fd5b5062000116620003943660046200141d565b62000c47565b60006001600160e01b03198216637965db0b60e01b1480620003cc57506301ffc9a760e01b6001600160e01b03198316145b92915050565b620003dd33620004dd565b620003fb576040516308e4b93b60e21b815260040160405180910390fd5b620004068162000c77565b620004745760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6044820152721b881a5cc81b9bdd08184818dbdb9d1c9858dd606a1b60648201526084015b60405180910390fd5b6001805462010000600160b01b031916620100006001600160a01b038416908102919091179091556040517f39bf842b8dcd8318ae7644628c1bde77b4a040d6cf7cf3d30ef8edea6d506e3590600090a250565b60009081526020819052604090206001015490565b6000620003cc818362000a58565b620004f682620004c8565b620005018162000c86565b6200050d838362000c92565b505050565b6001600160a01b0381163314620005845760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016200046b565b62000590828262000d1a565b5050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003620005df5760405162461bcd60e51b81526004016200046b90620015aa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166200061362000d82565b6001600160a01b0316146200063c5760405162461bcd60e51b81526004016200046b90620015e5565b620006478162000d9f565b60408051600080825260208201909252620006659183919062000dc8565b50565b60006200067533620004dd565b62000693576040516308e4b93b60e21b815260040160405180910390fd5b6001600160a01b0383811660009081526002602090815260408083208487168452909152902054839116156200070d576001600160a01b0380851660009081526002602090815260408083208488168452909152908190205490516375d5c8f560e01b81526200046b928792879291169060040162001620565b604051637d2d278360e11b81526001600160a01b0382169063fa5a4f06906200073b908790600401620014b3565b602060405180830381865afa15801562000759573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200077f919062001643565b1580620007fb5750604051633c21b3eb60e11b81526001600160a01b0382169063784367d690620007b5908790600401620014b3565b602060405180830381865afa158015620007d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007f9919062001643565b155b156200082057838360405163d054b0e160e01b81526004016200046b92919062001667565b6000848430604051602401620008399392919062001620565b60408051601f198184030181529181526020820180516001600160e01b031663c0c53b8b60e01b17905251909150309082906200087690620013c6565b62000883929190620016d5565b604051809103906000f080158015620008a0573d6000803e3d6000fd5b506001600160a01b0386811660009081526002602090815260408083208985168452909152902080546001600160a01b0319169183169190911790559250505092915050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003620009315760405162461bcd60e51b81526004016200046b90620015aa565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166200096562000d82565b6001600160a01b0316146200098e5760405162461bcd60e51b81526004016200046b90620015e5565b620009998262000d9f565b620005908282600162000dc8565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161462000a445760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016200046b565b506000805160206200215c83398151915290565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600154610100900460ff161580801562000a9f57506001805460ff16105b8062000ac3575062000ab13062000c77565b15801562000ac357506001805460ff16145b62000b285760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016200046b565b6001805460ff191681179055801562000b4b576001805461ff0019166101001790555b62000b5860003362000c92565b62000b6382620003d2565b801562000590576001805461ff00191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b62000bb782620004c8565b62000bc28162000c86565b6200050d838362000d1a565b6001600160a01b038281166000908152600260209081526040808320858516845290915281205490911662000c1c578282604051630e45419360e11b81526004016200046b92919062001667565b506001600160a01b039182166000908152600260209081526040808320938516835292905220541690565b600062000c55818362000a58565b80620003cc5750620003cc6000805160206200213c8339815191528362000a58565b6001600160a01b03163b151590565b62000665813362000f40565b62000c9e828262000a58565b62000590576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905562000cd63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b62000d26828262000a58565b1562000590576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000805160206200215c833981519152546001600160a01b031690565b62000daa33620004dd565b62000665576040516308e4b93b60e21b815260040160405180910390fd5b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161562000dfe576200050d8362000faf565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801562000e5b575060408051601f3d908101601f1916820190925262000e589181019062001703565b60015b62000ec05760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016200046b565b6000805160206200215c833981519152811462000f325760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016200046b565b506200050d8383836200104e565b62000f4c828262000a58565b620005905762000f67816001600160a01b031660146200107f565b62000f748360206200107f565b60405160200162000f879291906200171d565b60408051601f198184030181529082905262461bcd60e51b82526200046b9160040162001790565b62000fba8162000c77565b6200101e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200046b565b6000805160206200215c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b62001059836200123f565b600082511180620010675750805b156200050d5762001079838362001281565b50505050565b6060600062001090836002620017bb565b6200109d906002620017d5565b6001600160401b03811115620010b757620010b7620014c7565b6040519080825280601f01601f191660200182016040528015620010e2576020820181803683370190505b509050600360fc1b81600081518110620011005762001100620017eb565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620011325762001132620017eb565b60200101906001600160f81b031916908160001a905350600062001158846002620017bb565b62001165906001620017d5565b90505b6001811115620011e7576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200119d576200119d620017eb565b1a60f81b828281518110620011b657620011b6620017eb565b60200101906001600160f81b031916908160001a90535060049490941c93620011df8162001801565b905062001168565b508315620012385760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200046b565b9392505050565b6200124a8162000faf565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200123883836040518060600160405280602781526020016200217c602791396060620012b08462000c77565b6200130d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200046b565b600080856001600160a01b0316856040516200132a91906200181b565b600060405180830381855af49150503d806000811462001367576040519150601f19603f3d011682016040523d82523d6000602084013e6200136c565b606091505b50915091506200137e82828662001388565b9695505050505050565b606083156200139957508162001238565b825115620013aa5782518084602001fd5b8160405162461bcd60e51b81526004016200046b919062001790565b6108e2806200183a83390190565b600060208284031215620013e757600080fd5b81356001600160e01b0319811681146200123857600080fd5b80356001600160a01b03811681146200141857600080fd5b919050565b6000602082840312156200143057600080fd5b620012388262001400565b6000602082840312156200144e57600080fd5b5035919050565b600080604083850312156200146957600080fd5b823591506200147b6020840162001400565b90509250929050565b600080604083850312156200149857600080fd5b620014a38362001400565b91506200147b6020840162001400565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215620014f157600080fd5b620014fc8362001400565b915060208301356001600160401b03808211156200151957600080fd5b818501915085601f8301126200152e57600080fd5b813581811115620015435762001543620014c7565b604051601f8201601f19908116603f011681019083821181831017156200156e576200156e620014c7565b816040528281528860208487010111156200158857600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6020808252602c908201526000805160206200211c83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206200211c83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6001600160a01b0393841681529183166020830152909116604082015260600190565b6000602082840312156200165657600080fd5b815180151581146200123857600080fd5b6001600160a01b0392831681529116602082015260400190565b60005b838110156200169e57818101518382015260200162001684565b50506000910152565b60008151808452620016c181602086016020860162001681565b601f01601f19169290920160200192915050565b6001600160a01b0383168152604060208201819052600090620016fb90830184620016a7565b949350505050565b6000602082840312156200171657600080fd5b5051919050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8152600083516200175181601785016020880162001681565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200178481602884016020880162001681565b01602801949350505050565b602081526000620012386020830184620016a7565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620003cc57620003cc620017a5565b80820180821115620003cc57620003cc620017a5565b634e487b7160e01b600052603260045260246000fd5b600081620018135762001813620017a5565b506000190190565b600082516200182f81846020870162001681565b919091019291505056fe60806040526040516108e23803806108e28339810160408190526100229161044c565b61002e82826000610035565b5050610576565b61003e83610100565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a260008251118061007f5750805b156100fb576100f9836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e9919061050c565b836102a360201b6100291760201c565b505b505050565b610113816102cf60201b6100551760201c565b6101725760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101e6816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d7919061050c565b6102cf60201b6100551760201c565b61024b5760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610169565b806102827fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6102de60201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606102c883836040518060600160405280602781526020016108bb602791396102e1565b9392505050565b6001600160a01b03163b151590565b90565b60606102ec846102cf565b6103475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610169565b600080856001600160a01b0316856040516103629190610527565b600060405180830381855af49150503d806000811461039d576040519150601f19603f3d011682016040523d82523d6000602084013e6103a2565b606091505b5090925090506103b38282866103bd565b9695505050505050565b606083156103cc5750816102c8565b8251156103dc5782518084602001fd5b8160405162461bcd60e51b81526004016101699190610543565b80516001600160a01b038116811461040d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561044357818101518382015260200161042b565b50506000910152565b6000806040838503121561045f57600080fd5b610468836103f6565b60208401519092506001600160401b038082111561048557600080fd5b818501915085601f83011261049957600080fd5b8151818111156104ab576104ab610412565b604051601f8201601f19908116603f011681019083821181831017156104d3576104d3610412565b816040528281528860208487010111156104ec57600080fd5b6104fd836020830160208801610428565b80955050505050509250929050565b60006020828403121561051e57600080fd5b6102c8826103f6565b60008251610539818460208701610428565b9190910192915050565b6020815260008251806020840152610562816040850160208701610428565b601f01601f19169190910160400192915050565b610336806105856000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b610100565b565b606061004e83836040518060600160405280602781526020016102da60279139610124565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fb919061023d565b905090565b3660008037600080366000845af43d6000803e80801561011f573d6000f35b3d6000fd5b606061012f84610055565b61018f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b0316856040516101aa919061028a565b600060405180830381855af49150503d80600081146101e5576040519150601f19603f3d011682016040523d82523d6000602084013e6101ea565b606091505b50915091506101fa828286610204565b9695505050505050565b6060831561021357508161004e565b8251156102235782518084602001fd5b8160405162461bcd60e51b815260040161018691906102a6565b60006020828403121561024f57600080fd5b81516001600160a01b038116811461004e57600080fd5b60005b83811015610281578181015183820152602001610269565b50506000910152565b6000825161029c818460208701610266565b9190910192915050565b60208152600082518060208401526102c5816040850160208701610266565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220ef4255a4462172e7a8ade4d28e2df51f54bb0ab9cdecac420f1f96cec356832e64736f6c63430008110033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c656446756e6374696f6e206d7573742062652063616c6c6564207468726f75676820d88b35d7427a01a8e16d8a129535b4cf3150edf8d92c0a44dc1eba73bdaf18cb360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212200116d49cb0a814d75177c46d1ccbe0ac13169124dd6dc231f3d9ffd14aa332ee64736f6c63430008110033";
|
|
536
|
+
|
|
537
|
+
type BulkSellerFactoryConstructorParams =
|
|
538
|
+
| [signer?: Signer]
|
|
539
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
540
|
+
|
|
541
|
+
const isSuperArgs = (
|
|
542
|
+
xs: BulkSellerFactoryConstructorParams
|
|
543
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
544
|
+
|
|
545
|
+
export class BulkSellerFactory__factory extends ContractFactory {
|
|
546
|
+
constructor(...args: BulkSellerFactoryConstructorParams) {
|
|
547
|
+
if (isSuperArgs(args)) {
|
|
548
|
+
super(...args);
|
|
549
|
+
} else {
|
|
550
|
+
super(_abi, _bytecode, args[0]);
|
|
551
|
+
}
|
|
552
|
+
this.contractName = "BulkSellerFactory";
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
deploy(
|
|
556
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
557
|
+
): Promise<BulkSellerFactory> {
|
|
558
|
+
return super.deploy(overrides || {}) as Promise<BulkSellerFactory>;
|
|
559
|
+
}
|
|
560
|
+
getDeployTransaction(
|
|
561
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
562
|
+
): TransactionRequest {
|
|
563
|
+
return super.getDeployTransaction(overrides || {});
|
|
564
|
+
}
|
|
565
|
+
attach(address: string): BulkSellerFactory {
|
|
566
|
+
return super.attach(address) as BulkSellerFactory;
|
|
567
|
+
}
|
|
568
|
+
connect(signer: Signer): BulkSellerFactory__factory {
|
|
569
|
+
return super.connect(signer) as BulkSellerFactory__factory;
|
|
570
|
+
}
|
|
571
|
+
static readonly contractName: "BulkSellerFactory";
|
|
572
|
+
public readonly contractName: "BulkSellerFactory";
|
|
573
|
+
static readonly bytecode = _bytecode;
|
|
574
|
+
static readonly abi = _abi;
|
|
575
|
+
static createInterface(): BulkSellerFactoryInterface {
|
|
576
|
+
return new utils.Interface(_abi) as BulkSellerFactoryInterface;
|
|
577
|
+
}
|
|
578
|
+
static connect(
|
|
579
|
+
address: string,
|
|
580
|
+
signerOrProvider: Signer | Provider
|
|
581
|
+
): BulkSellerFactory {
|
|
582
|
+
return new Contract(address, _abi, signerOrProvider) as BulkSellerFactory;
|
|
583
|
+
}
|
|
584
|
+
}
|