@pendle/core-v2 0.16.5-testnet → 0.17.0-daily
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 +2 -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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- 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 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +16 -5
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -13
- 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/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +7 -54
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +27 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- 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 +25 -13
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +221 -50
- 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/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- 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 +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1144 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1209 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +3 -82
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +142 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +997 -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 +143 -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 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +83 -10
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
- 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 +3 -38
- 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/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 +131 -31
- 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 +14 -7
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +8 -8
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +18 -18
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- 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 +2 -2
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +28 -28
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -38
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +25 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +17 -5
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +50 -19
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.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 +7 -7
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +13 -0
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.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 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +71 -13
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +28 -46
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +138 -62
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +37 -11
- 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 +20 -20
- 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 +28 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +29 -3
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +30 -4
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -186
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.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 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -6
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +7 -4
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +10 -5
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -6
- package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +0 -5
- package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
- package/contracts/core/BulkSeller/BulkSeller.sol +0 -15
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +7 -6
- package/contracts/core/Market/MarketMathCore.sol +52 -11
- package/contracts/core/Market/PendleMarket.sol +35 -22
- package/contracts/core/Market/PendleMarketFactory.sol +67 -35
- package/contracts/core/StandardizedYield/SYBase.sol +26 -3
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +46 -26
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +0 -0
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +128 -0
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +30 -12
- package/contracts/core/YieldContracts/PendleYieldToken.sol +79 -22
- package/contracts/core/erc20/PendleERC20.sol +4 -7
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +18 -2
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +3 -4
- package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
- package/contracts/interfaces/IERC4626.sol +1 -1
- package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
- package/contracts/interfaces/ILooksStaking.sol +13 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +4 -4
- package/contracts/interfaces/IPActionMintRedeem.sol +8 -8
- package/contracts/interfaces/IPActionSwapYT.sol +2 -2
- package/contracts/interfaces/IPBulkSeller.sol +0 -4
- package/contracts/interfaces/IPMarket.sol +20 -4
- package/contracts/interfaces/IPMarketFactory.sol +15 -5
- package/contracts/interfaces/IPMsgSendEndpoint.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +2 -2
- package/contracts/interfaces/IPYieldToken.sol +2 -0
- package/contracts/interfaces/IStandardizedYield.sol +15 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +17 -8
- package/contracts/offchain-helpers/MarketMathStatic.sol +35 -96
- package/contracts/offchain-helpers/RouterStatic.sol +49 -9
- package/contracts/router/ActionAddRemoveLiq.sol +102 -10
- package/contracts/router/ActionMintRedeem.sol +44 -4
- package/contracts/router/ActionSwapPT.sol +41 -11
- package/contracts/router/ActionSwapPTYT.sol +32 -7
- package/contracts/router/ActionSwapYT.sol +49 -33
- package/contracts/router/PendleRouter.sol +3 -11
- package/contracts/router/base/MarketApproxLib.sol +65 -22
- package/deployments/43113-core.json +19 -14
- package/deployments/43113-markets/WETH-FEB-2ND.json +10 -0
- package/package.json +7 -7
- package/typechain-types/AccessControlUpgradeable.ts +369 -0
- package/typechain-types/ActionAddRemoveLiq.ts +18 -18
- package/typechain-types/ActionMintRedeem.ts +30 -30
- package/typechain-types/ActionSwapPTYT.ts +5 -5
- package/typechain-types/ActionSwapYT.ts +5 -5
- package/typechain-types/BulkSeller.ts +5 -91
- package/typechain-types/BulkSellerFactory.ts +21 -0
- package/typechain-types/BulkSellerOffchain.ts +134 -0
- package/typechain-types/ContextUpgradeable.ts +68 -0
- package/typechain-types/ERC165Upgradeable.ts +113 -0
- package/typechain-types/IAccessControlUpgradeable.ts +305 -0
- package/typechain-types/IBooster.ts +9 -3
- package/typechain-types/ICrvPool.ts +4 -9
- package/typechain-types/IERC165Upgradeable.ts +102 -0
- package/typechain-types/IERC4626.ts +5 -5
- package/typechain-types/ILooksStaking.ts +27 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +13 -13
- package/typechain-types/IPActionMintRedeem.ts +30 -30
- package/typechain-types/IPActionSwapYT.ts +5 -5
- package/typechain-types/IPAllAction.ts +48 -48
- package/typechain-types/IPBulkSeller.ts +0 -68
- package/typechain-types/IPBulkSellerFactory.ts +21 -0
- package/typechain-types/IPMarket.ts +26 -16
- package/typechain-types/IPMarketFactory.ts +70 -37
- package/typechain-types/IPMsgSendEndpoint.ts +1 -1
- package/typechain-types/IPYieldContractFactory.ts +11 -11
- package/typechain-types/IPYieldToken.ts +21 -0
- package/typechain-types/MarketMathStatic.ts +0 -67
- package/typechain-types/Pausable.ts +101 -0
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleLooksStakingSY.ts +1256 -0
- package/typechain-types/PendleMarket.ts +26 -16
- package/typechain-types/PendleMarketFactory.ts +316 -92
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +3 -287
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactory.ts +63 -18
- package/typechain-types/PendleYieldToken.ts +42 -0
- package/typechain-types/RouterStatic.ts +65 -7
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +8 -8
- package/typechain-types/VotingEscrowTokenBase.ts +0 -21
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +36 -10
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +19 -19
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +28 -2
- package/typechain-types/factories/ActionSwapPT__factory.ts +27 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +29 -3
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +26 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +70 -12
- package/typechain-types/factories/BulkSeller__factory.ts +6 -53
- package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/typechain-types/factories/Errors__factory.ts +130 -30
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +14 -7
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/typechain-types/factories/IERC4626__factory.ts +1 -1
- package/typechain-types/factories/ILooksStaking__factory.ts +7 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +8 -8
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +18 -18
- package/typechain-types/factories/IPActionSwapYT__factory.ts +2 -2
- package/typechain-types/factories/IPAllAction__factory.ts +28 -28
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +25 -0
- package/typechain-types/factories/IPBulkSeller__factory.ts +0 -38
- package/typechain-types/factories/IPMarketFactory__factory.ts +50 -19
- package/typechain-types/factories/IPMarket__factory.ts +17 -5
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +1 -1
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +7 -7
- package/typechain-types/factories/IPYieldToken__factory.ts +13 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +27 -45
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pausable__factory.ts +62 -0
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +145 -39
- 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 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1078 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +220 -49
- package/typechain-types/factories/PendleMarket__factory.ts +18 -6
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -185
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +82 -9
- package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
- package/typechain-types/factories/RouterStatic__factory.ts +79 -3
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +15 -4
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +0 -13
- package/typechain-types/hardhat.d.ts +107 -26
- package/typechain-types/index.ts +24 -6
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +0 -30
- package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +0 -9
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -9
- package/deployments/80001-core.json +0 -16
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
- package/deployments/80001-testenv.json +0 -22
|
@@ -389,44 +389,6 @@ const _abi = [
|
|
|
389
389
|
stateMutability: "view",
|
|
390
390
|
type: "function",
|
|
391
391
|
},
|
|
392
|
-
{
|
|
393
|
-
inputs: [
|
|
394
|
-
{
|
|
395
|
-
internalType: "uint256",
|
|
396
|
-
name: "netSyIn",
|
|
397
|
-
type: "uint256",
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
name: "calcSwapExactSyForToken",
|
|
401
|
-
outputs: [
|
|
402
|
-
{
|
|
403
|
-
internalType: "uint256",
|
|
404
|
-
name: "netTokenOut",
|
|
405
|
-
type: "uint256",
|
|
406
|
-
},
|
|
407
|
-
],
|
|
408
|
-
stateMutability: "view",
|
|
409
|
-
type: "function",
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
inputs: [
|
|
413
|
-
{
|
|
414
|
-
internalType: "uint256",
|
|
415
|
-
name: "netTokenIn",
|
|
416
|
-
type: "uint256",
|
|
417
|
-
},
|
|
418
|
-
],
|
|
419
|
-
name: "calcSwapExactTokenForSy",
|
|
420
|
-
outputs: [
|
|
421
|
-
{
|
|
422
|
-
internalType: "uint256",
|
|
423
|
-
name: "netSyOut",
|
|
424
|
-
type: "uint256",
|
|
425
|
-
},
|
|
426
|
-
],
|
|
427
|
-
stateMutability: "view",
|
|
428
|
-
type: "function",
|
|
429
|
-
},
|
|
430
392
|
{
|
|
431
393
|
inputs: [
|
|
432
394
|
{
|
|
@@ -471,19 +433,6 @@ const _abi = [
|
|
|
471
433
|
stateMutability: "view",
|
|
472
434
|
type: "function",
|
|
473
435
|
},
|
|
474
|
-
{
|
|
475
|
-
inputs: [],
|
|
476
|
-
name: "getTokenProp",
|
|
477
|
-
outputs: [
|
|
478
|
-
{
|
|
479
|
-
internalType: "uint256",
|
|
480
|
-
name: "",
|
|
481
|
-
type: "uint256",
|
|
482
|
-
},
|
|
483
|
-
],
|
|
484
|
-
stateMutability: "view",
|
|
485
|
-
type: "function",
|
|
486
|
-
},
|
|
487
436
|
{
|
|
488
437
|
inputs: [
|
|
489
438
|
{
|
|
@@ -499,7 +448,7 @@ const _abi = [
|
|
|
499
448
|
],
|
|
500
449
|
name: "increaseReserve",
|
|
501
450
|
outputs: [],
|
|
502
|
-
stateMutability: "
|
|
451
|
+
stateMutability: "payable",
|
|
503
452
|
type: "function",
|
|
504
453
|
},
|
|
505
454
|
{
|
|
@@ -690,10 +639,14 @@ const _abi = [
|
|
|
690
639
|
stateMutability: "view",
|
|
691
640
|
type: "function",
|
|
692
641
|
},
|
|
642
|
+
{
|
|
643
|
+
stateMutability: "payable",
|
|
644
|
+
type: "receive",
|
|
645
|
+
},
|
|
693
646
|
];
|
|
694
647
|
|
|
695
648
|
const _bytecode =
|
|
696
|
-
"0x608060405234801561001057600080fd5b50611ce1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100db5760003560e01c80632778c334146100e05780633989c66614610133578063459770f6146101485780634bd286c11461015b5780636d71be4c14610171578063978bbdb914610184578063985b5219146101b6578063a279879b146101c9578063afd27bf5146101dc578063b2767070146101fc578063bd5688d51461020f578063c0c53b8b14610222578063c3fb90d614610235578063c45a015514610294578063d0378d07146102a7578063d2c22613146102ba578063fc0c546a146102cd575b600080fd5b6100e86102e0565b60405161012a9190600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b60405180910390f35b61014661014136600461194d565b61036f565b005b610146610156366004611979565b610466565b61016361056f565b60405190815260200161012a565b61014661017f3660046119a2565b61058b565b60345461019e90600160a01b90046001600160401b031681565b6040516001600160401b03909116815260200161012a565b6101636101c43660046119c4565b6106ce565b6101466101d73660046119a2565b610708565b6034546101ef906001600160a01b031681565b60405161012a91906119dd565b61016361020a366004611a0d565b6108a8565b61016361021d366004611a0d565b6109e3565b610146610230366004611a40565b610b01565b603654603754610261916001600160801b0380821692600160801b928390048216928183169291041684565b604080516001600160801b039586168152938516602085015291841691830191909152909116606082015260800161012a565b6035546101ef906001600160a01b031681565b6101466102b53660046119a2565b610c58565b6101636102c83660046119c4565b610d6e565b6033546101ef906001600160a01b031681565b6103126040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b506040805160a0810182526036546001600160801b038082168352600160801b91829004811660208401526037549182048116938301939093529091166060820152603454600160a01b90046001600160401b0316608082015290565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a9061039f9033906004016119dd565b602060405180830381865afa1580156103bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e09190611a83565b6103fd57604051630de65d1160e11b815260040160405180910390fd5b60006104076102e0565b805160208201516040519293507fdd8196f9280a887c2cda9ceaa0c9f147ee5931086cfa28738c70c45ce383f1cb926104439287928992611aa5565b60405180910390a161045781858585610db0565b61046081610e42565b50505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906104969033906004016119dd565b602060405180830381865afa1580156104b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d79190611a83565b6104f457604051630de65d1160e11b815260040160405180910390fd5b603454604080516001600160401b038085168252600160a01b90930490921660208301527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957910160405180910390a1603480546001600160401b03909216600160a01b02600160a01b600160e01b0319909216919091179055565b60008061057a6102e0565b905061058581610eee565b91505090565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906105bb9033906004016119dd565b602060405180830381865afa1580156105d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fc9190611a83565b61061957604051630de65d1160e11b815260040160405180910390fd5b60006106236102e0565b905082816040018181516106379190611ad6565b90525060608101805183919061064e908390611ad6565b905250603354610668906001600160a01b03163385610f2a565b60345461067f906001600160a01b03163384610f2a565b7f32dc813d3f262a05478ad1165d5701040e411d9a6e1684c8c2da1c8e6f3b8022816040015182606001516040516106b8929190611ae9565b60405180910390a16106c981610e42565b505050565b6036546000906001600160801b031681036106eb576106eb611af7565b6036546107029083906001600160801b0316610f91565b92915050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906107389033906004016119dd565b602060405180830381865afa158015610755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107799190611a83565b61079657604051630de65d1160e11b815260040160405180910390fd5b60006107a06102e0565b905060006107ad82610eee565b90506000806107bc8487610fb4565b909250905081156108315760006107d283611033565b90506107e0858483896110da565b60006107eb86610eee565b90507fb569412a0abb89d32fca61e1a718d803d8e7dd8b1fe0b8e152a01e1808e7d232848383886040516108229493929190611aa5565b60405180910390a15050610897565b600061083c8261114d565b905061084a858383896111b6565b600061085586610eee565b90507fc41b352e51a1d27f9abe2577fe6a992eaee7f0c62e0185f726a6876463db710b8383838860405161088c9493929190611aa5565b60405180910390a150505b6108a084610e42565b505050505050565b60006002600154036108d55760405162461bcd60e51b81526004016108cc90611b0d565b60405180910390fd5b600260015560006108e46102e0565b90506108f08185611222565b91508282101561091757818360405163efd9f0cd60e01b81526004016108cc929190611ae9565b6001600160a01b038516301461093e5760345461093e906001600160a01b03168684611262565b61094781610e42565b6040810151603354610961906001600160a01b0316611326565b101561099c5760335461097c906001600160a01b0316611326565b8160400151604051632d95d23b60e21b81526004016108cc929190611ae9565b7fdeed462e5fd237e34f502e1dcf0d079b3a5e5958bebea6b03700434c7bec36d48585846040516109cf93929190611b44565b60405180910390a150600180559392505050565b6000600260015403610a075760405162461bcd60e51b81526004016108cc90611b0d565b60026001556000610a166102e0565b9050610a2281856113b0565b915082821015610a4957818360405163d407991560e01b81526004016108cc929190611ae9565b6001600160a01b0385163014610a7057603354610a70906001600160a01b03168684611262565b610a7981610e42565b6060810151603454610a93906001600160a01b0316611326565b1015610ace57603454610aae906001600160a01b0316611326565b8160600151604051636313b4e560e01b81526004016108cc929190611ae9565b7fe9dcd197d2f7d180de1ecfd3999f91ecf06bb65781541f206ddabbc08e4cd29b8585846040516109cf93929190611b44565b600054610100900460ff1615808015610b215750600054600160ff909116105b80610b425750610b30306113e7565b158015610b42575060005460ff166001145b610ba55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108cc565b6000805460ff191660011790558015610bc8576000805461ff0019166101001790555b610bd06113f6565b603380546001600160a01b038087166001600160a01b0319928316179092556034805486841690831617905560358054928516929091169190911790558015610460576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b603554604051630935e01b60e21b81526001600160a01b03909116906324d7806c90610c889033906004016119dd565b602060405180830381865afa158015610ca5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc99190611a83565b610ce6576040516308e4b93b60e21b815260040160405180910390fd5b6000610cf06102e0565b90506000198303610d0357806040015192505b6000198203610d1457806060015191505b8281604001818151610d269190611b65565b905250606081018051839190610d3d908390611b65565b905250603354610d57906001600160a01b03163385611262565b60345461067f906001600160a01b03163384611262565b603654600090600160801b90046001600160801b03168103610d9257610d92611af7565b603654610702908390600160801b90046001600160801b0316610f91565b835115801590610dcc5750610dca83856000015183611427565b155b15610df057835160405163efb0d1c760e01b81526108cc9185918490600401611b78565b602084015115801590610e0f5750610e0d82856020015183611427565b155b15610e365760208401516040516334b59fe160e21b81526108cc9184918490600401611b78565b50908252602090910152565b60006040518060800160405280610e5c8460000151611472565b6001600160801b03168152602001610e778460200151611472565b6001600160801b03168152602001610e928460600151611472565b6001600160801b03168152602001610ead8460400151611472565b6001600160801b03908116909152815160208301518216600160801b9081029183169190911760365560408301516060909301518216029116176037555050565b604081015160208201516060830151600092918391610f0c91610f91565b9050610f22610f1b8284611ad6565b839061148c565b949350505050565b6001600160a01b038316610f76578034146106c95760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016108cc565b80156106c9576106c96001600160a01b0384168330846114b2565b600080610f9e8385611b8e565b9050670de0b6b3a7640000815b04949350505050565b6000806000610fc285610eee565b905083811115610ff557610fee610fe382610fdd8782611b65565b9061148c565b604087015190610f91565b925061102b565b600061100982670de0b6b3a7640000611b65565b905061102761101c82610fdd8589611b65565b606088015190610f91565b9250505b509250929050565b603354603454600091611053916001600160a01b0391821691168461151d565b6034546033546040516320e8c56560e01b81523060048201526001600160a01b03918216602482015260448101859052600060648201529116906320e8c565906084015b6020604051808303816000875af11580156110b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107029190611bbb565b60006110e6838561148c565b90506110f781866000015184611427565b61111a57845160405163efb0d1c760e01b81526108cc9183918590600401611b78565b838560400181815161112c9190611b65565b905250606085018051849190611143908390611ad6565b9052505050505050565b603454600090611167906001600160a01b03168084611262565b60345460335460405163769f8e5d60e01b8152306004820152602481018590526001600160a01b039182166044820152600060648201526001608482015291169063769f8e5d9060a401611097565b60006111c2838561148c565b90506111d381866020015184611427565b6111f95760208501516040516334b59fe160e21b81526108cc9183918590600401611b78565b828560400181815161120b9190611ad6565b905250606085018051859190611143908390611b65565b600061122e8383611631565b905081836040018181516112429190611ad6565b905250606083018051829190611259908390611b65565b90525092915050565b8060000361126f57505050565b6001600160a01b038316611312576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146112ca576040519150601f19603f3d011682016040523d82523d6000602084013e6112cf565b606091505b50509050806104605760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016108cc565b6106c96001600160a01b03841683836116a9565b60006001600160a01b038216156113a9576040516370a0823160e01b81526001600160a01b038316906370a08231906113639030906004016119dd565b602060405180830381865afa158015611380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a49190611bbb565b610702565b4792915050565b60006113bc83836116c8565b905081836060018181516113d09190611ad6565b905250604083018051829190611259908390611b65565b6001600160a01b03163b151590565b600054610100900460ff1661141d5760405162461bcd60e51b81526004016108cc90611bd4565b61142561173c565b565b6000836114458461144085670de0b6b3a7640000611b65565b610f91565b1115801561146857506114648361144084670de0b6b3a7640000611ad6565b8411155b90505b9392505050565b60006001600160801b0382111561148857600080fd5b5090565b6000806114a1670de0b6b3a764000085611b8e565b9050828181610fab57610fab611ba5565b6040516001600160a01b03808516602483015283166044820152606481018290526104609085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611769565b600080846001600160a01b031663095ea7b360e01b8585604051602401611545929190611c1f565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516115839190611c5c565b6000604051808303816000865af19150503d80600081146115c0576040519150601f19603f3d011682016040523d82523d6000602084013e6115c5565b606091505b50915091508180156115ef5750805115806115ef5750808060200190518101906115ef9190611a83565b61162a5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016108cc565b5050505050565b6000806116578460800151670de0b6b3a764000061164f9190611b65565b855190610f91565b90508060000361166957611669611af7565b6116738382610f91565b915083606001518211156116a25783606001518260405163035c130560e21b81526004016108cc929190611ae9565b5092915050565b6106c98363a9059cbb60e01b84846040516024016114e6929190611c1f565b6000806116f18460800151670de0b6b3a76400006116e69190611b65565b602086015190610f91565b90508060000361170357611703611af7565b61170d8382610f91565b915083604001518211156116a257836040015182604051631895cd1f60e01b81526004016108cc929190611ae9565b600054610100900460ff166117635760405162461bcd60e51b81526004016108cc90611bd4565b60018055565b60006117be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661183b9092919063ffffffff16565b8051909150156106c957808060200190518101906117dc9190611a83565b6106c95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108cc565b606061146884846000858561184f856113e7565b61189b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108cc565b600080866001600160a01b031685876040516118b79190611c5c565b60006040518083038185875af1925050503d80600081146118f4576040519150601f19603f3d011682016040523d82523d6000602084013e6118f9565b606091505b5091509150611909828286611914565b979650505050505050565b6060831561192357508161146b565b8251156119335782518084602001fd5b8160405162461bcd60e51b81526004016108cc9190611c78565b60008060006060848603121561196257600080fd5b505081359360208301359350604090920135919050565b60006020828403121561198b57600080fd5b81356001600160401b038116811461146b57600080fd5b600080604083850312156119b557600080fd5b50508035926020909101359150565b6000602082840312156119d657600080fd5b5035919050565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611a0857600080fd5b919050565b600080600060608486031215611a2257600080fd5b611a2b846119f1565b95602085013595506040909401359392505050565b600080600060608486031215611a5557600080fd5b611a5e846119f1565b9250611a6c602085016119f1565b9150611a7a604085016119f1565b90509250925092565b600060208284031215611a9557600080fd5b8151801515811461146b57600080fd5b93845260208401929092526040830152606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070257610702611ac0565b918252602082015260400190565b634e487b7160e01b600052600160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b8181038181111561070257610702611ac0565b9283526020830191909152604082015260600190565b808202811582820484141761070257610702611ac0565b634e487b7160e01b600052601260045260246000fd5b600060208284031215611bcd57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b03929092168252602082015260400190565b60005b83811015611c53578181015183820152602001611c3b565b50506000910152565b60008251611c6e818460208701611c38565b9190910192915050565b6020815260008251806020840152611c97816040850160208701611c38565b601f01601f1916919091016040019291505056fea264697066735822122016ceb297242fd5a4cc0ad87a75e35efe3a414c5be11d6921d615e73edce81f6564736f6c63430008110033";
|
|
649
|
+
"0x608060405234801561001057600080fd5b50611cef806100206000396000f3fe6080604052600436106100b15760003560e01c80632778c334146100bd5780633989c6661461011d578063459770f61461013f5780636d71be4c1461015f578063978bbdb914610172578063a279879b146101b1578063afd27bf5146101d1578063b2767070146101fe578063bd5688d51461022c578063c0c53b8b1461024c578063c3fb90d61461026c578063c45a0155146102d8578063d0378d07146102f8578063fc0c546a1461031857600080fd5b366100b857005b600080fd5b3480156100c957600080fd5b506100d2610338565b6040516101149190600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b60405180910390f35b34801561012957600080fd5b5061013d610138366004611974565b6103c7565b005b34801561014b57600080fd5b5061013d61015a3660046119a0565b6104be565b61013d61016d3660046119c9565b6105c7565b34801561017e57600080fd5b5060345461019990600160a01b90046001600160401b031681565b6040516001600160401b039091168152602001610114565b3480156101bd57600080fd5b5061013d6101cc3660046119c9565b61070a565b3480156101dd57600080fd5b506034546101f1906001600160a01b031681565b60405161011491906119eb565b34801561020a57600080fd5b5061021e610219366004611a1b565b6108aa565b604051908152602001610114565b34801561023857600080fd5b5061021e610247366004611a1b565b6109e5565b34801561025857600080fd5b5061013d610267366004611a4e565b610b03565b34801561027857600080fd5b506036546037546102a5916001600160801b0380821692600160801b928390048216928183169291041684565b604080516001600160801b0395861681529385166020850152918416918301919091529091166060820152608001610114565b3480156102e457600080fd5b506035546101f1906001600160a01b031681565b34801561030457600080fd5b5061013d6103133660046119c9565b610c5a565b34801561032457600080fd5b506033546101f1906001600160a01b031681565b61036a6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b506040805160a0810182526036546001600160801b038082168352600160801b91829004811660208401526037549182048116938301939093529091166060820152603454600160a01b90046001600160401b0316608082015290565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906103f79033906004016119eb565b602060405180830381865afa158015610414573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104389190611a91565b61045557604051630de65d1160e11b815260040160405180910390fd5b600061045f610338565b805160208201516040519293507fdd8196f9280a887c2cda9ceaa0c9f147ee5931086cfa28738c70c45ce383f1cb9261049b9287928992611ab3565b60405180910390a16104af81858585610d70565b6104b881610e01565b50505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906104ee9033906004016119eb565b602060405180830381865afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f9190611a91565b61054c57604051630de65d1160e11b815260040160405180910390fd5b603454604080516001600160401b038085168252600160a01b90930490921660208301527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957910160405180910390a1603480546001600160401b03909216600160a01b02600160a01b600160e01b0319909216919091179055565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906105f79033906004016119eb565b602060405180830381865afa158015610614573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106389190611a91565b61065557604051630de65d1160e11b815260040160405180910390fd5b600061065f610338565b905082816040018181516106739190611ae4565b90525060608101805183919061068a908390611ae4565b9052506033546106a4906001600160a01b03163385610ead565b6034546106bb906001600160a01b03163384610ead565b7f32dc813d3f262a05478ad1165d5701040e411d9a6e1684c8c2da1c8e6f3b8022816040015182606001516040516106f4929190611af7565b60405180910390a161070581610e01565b505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a9061073a9033906004016119eb565b602060405180830381865afa158015610757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077b9190611a91565b61079857604051630de65d1160e11b815260040160405180910390fd5b60006107a2610338565b905060006107af82610f14565b90506000806107be8487610f50565b909250905081156108335760006107d483610fcf565b90506107e28584838961109d565b60006107ed86610f14565b90507fb569412a0abb89d32fca61e1a718d803d8e7dd8b1fe0b8e152a01e1808e7d232848383886040516108249493929190611ab3565b60405180910390a15050610899565b600061083e82611110565b905061084c858383896111bd565b600061085786610f14565b90507fc41b352e51a1d27f9abe2577fe6a992eaee7f0c62e0185f726a6876463db710b8383838860405161088e9493929190611ab3565b60405180910390a150505b6108a284610e01565b505050505050565b60006002600154036108d75760405162461bcd60e51b81526004016108ce90611b05565b60405180910390fd5b600260015560006108e6610338565b90506108f28185611229565b91508282101561091957818360405163efd9f0cd60e01b81526004016108ce929190611af7565b6001600160a01b038516301461094057603454610940906001600160a01b03168684611269565b61094981610e01565b6040810151603354610963906001600160a01b031661132d565b101561099e5760335461097e906001600160a01b031661132d565b8160400151604051632d95d23b60e21b81526004016108ce929190611af7565b7fdeed462e5fd237e34f502e1dcf0d079b3a5e5958bebea6b03700434c7bec36d48585846040516109d193929190611b3c565b60405180910390a150600180559392505050565b6000600260015403610a095760405162461bcd60e51b81526004016108ce90611b05565b60026001556000610a18610338565b9050610a2481856113b7565b915082821015610a4b57818360405163d407991560e01b81526004016108ce929190611af7565b6001600160a01b0385163014610a7257603354610a72906001600160a01b03168684611269565b610a7b81610e01565b6060810151603454610a95906001600160a01b031661132d565b1015610ad057603454610ab0906001600160a01b031661132d565b8160600151604051636313b4e560e01b81526004016108ce929190611af7565b7fe9dcd197d2f7d180de1ecfd3999f91ecf06bb65781541f206ddabbc08e4cd29b8585846040516109d193929190611b3c565b600054610100900460ff1615808015610b235750600054600160ff909116105b80610b445750610b32306113ee565b158015610b44575060005460ff166001145b610ba75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108ce565b6000805460ff191660011790558015610bca576000805461ff0019166101001790555b610bd26113fd565b603380546001600160a01b038087166001600160a01b03199283161790925560348054868416908316179055603580549285169290911691909117905580156104b8576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b603554604051630935e01b60e21b81526001600160a01b03909116906324d7806c90610c8a9033906004016119eb565b602060405180830381865afa158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb9190611a91565b610ce8576040516308e4b93b60e21b815260040160405180910390fd5b6000610cf2610338565b90506000198303610d0557806040015192505b6000198203610d1657806060015191505b8281604001818151610d289190611b5d565b905250606081018051839190610d3f908390611b5d565b905250603354610d59906001600160a01b03163385611269565b6034546106bb906001600160a01b03163384611269565b835115801590610d8c5750610d8a8285600001518361142e565b155b15610db057835160405163efb0d1c760e01b81526108ce9184918490600401611b70565b602084015115801590610dcf5750610dcd8385602001518361142e565b155b15610df65760208401516040516334b59fe160e21b81526108ce9185918490600401611b70565b508252602090910152565b60006040518060800160405280610e1b8460000151611476565b6001600160801b03168152602001610e368460200151611476565b6001600160801b03168152602001610e518460600151611476565b6001600160801b03168152602001610e6c8460400151611476565b6001600160801b03908116909152815160208301518216600160801b9081029183169190911760365560408301516060909301518216029116176037555050565b6001600160a01b038316610ef9578034146107055760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016108ce565b8015610705576107056001600160a01b038416833084611490565b604081015160208201516060830151600092918391610f32916114fb565b9050610f48610f418284611ae4565b839061151e565b949350505050565b6000806000610f5e85610f14565b905083811115610f9157610f8a610f7f82610f798782611b5d565b9061151e565b6040870151906114fb565b9250610fc7565b6000610fa582670de0b6b3a7640000611b5d565b9050610fc3610fb882610f798589611b5d565b6060880151906114fb565b9250505b509250929050565b603354603454600091610fef916001600160a01b03918216911684611544565b6033546000906001600160a01b03161561100a57600061100c565b825b6034546033546040516320e8c56560e01b81523060048201526001600160a01b039182166024820152604481018790526000606482015292935016906320e8c56590839060840160206040518083038185885af1158015611071573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110969190611b86565b9392505050565b60006110a9838561151e565b90506110ba8186600001518461142e565b6110dd57845160405163efb0d1c760e01b81526108ce9183918590600401611b70565b83856040018181516110ef9190611b5d565b905250606085018051849190611106908390611ae4565b9052505050505050565b60345460009061112a906001600160a01b03168084611269565b60345460335460405163769f8e5d60e01b8152306004820152602481018590526001600160a01b039182166044820152600060648201526001608482015291169063769f8e5d9060a4016020604051808303816000875af1158015611193573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b79190611b86565b92915050565b60006111c9838561151e565b90506111da8186602001518461142e565b6112005760208501516040516334b59fe160e21b81526108ce9183918590600401611b70565b82856040018181516112129190611ae4565b905250606085018051859190611106908390611b5d565b60006112358383611658565b905081836040018181516112499190611ae4565b905250606083018051829190611260908390611b5d565b90525092915050565b8060000361127657505050565b6001600160a01b038316611319576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146112d1576040519150601f19603f3d011682016040523d82523d6000602084013e6112d6565b606091505b50509050806104b85760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016108ce565b6107056001600160a01b03841683836116d0565b60006001600160a01b038216156113b0576040516370a0823160e01b81526001600160a01b038316906370a082319061136a9030906004016119eb565b602060405180830381865afa158015611387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ab9190611b86565b6111b7565b4792915050565b60006113c383836116ef565b905081836060018181516113d79190611ae4565b905250604083018051829190611260908390611b5d565b6001600160a01b03163b151590565b600054610100900460ff166114245760405162461bcd60e51b81526004016108ce90611b9f565b61142c611763565b565b60008361144c8461144785670de0b6b3a7640000611b5d565b6114fb565b11158015610f48575061146b8361144784670de0b6b3a7640000611ae4565b841115949350505050565b60006001600160801b0382111561148c57600080fd5b5090565b6040516001600160a01b03808516602483015283166044820152606481018290526104b89085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611790565b6000806115088385611bea565b9050670de0b6b3a7640000815b04949350505050565b600080611533670de0b6b3a764000085611bea565b905082818161151557611515611c01565b600080846001600160a01b031663095ea7b360e01b858560405160240161156c929190611c17565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516115aa9190611c54565b6000604051808303816000865af19150503d80600081146115e7576040519150601f19603f3d011682016040523d82523d6000602084013e6115ec565b606091505b50915091508180156116165750805115806116165750808060200190518101906116169190611a91565b6116515760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016108ce565b5050505050565b60008061167e8460800151670de0b6b3a76400006116769190611b5d565b8551906114fb565b90508060000361169057611690611c70565b61169a83826114fb565b915083606001518211156116c95783606001518260405163035c130560e21b81526004016108ce929190611af7565b5092915050565b6107058363a9059cbb60e01b84846040516024016114c4929190611c17565b6000806117188460800151670de0b6b3a764000061170d9190611b5d565b6020860151906114fb565b90508060000361172a5761172a611c70565b61173483826114fb565b915083604001518211156116c957836040015182604051631895cd1f60e01b81526004016108ce929190611af7565b600054610100900460ff1661178a5760405162461bcd60e51b81526004016108ce90611b9f565b60018055565b60006117e5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118629092919063ffffffff16565b80519091501561070557808060200190518101906118039190611a91565b6107055760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108ce565b6060610f48848460008585611876856113ee565b6118c25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108ce565b600080866001600160a01b031685876040516118de9190611c54565b60006040518083038185875af1925050503d806000811461191b576040519150601f19603f3d011682016040523d82523d6000602084013e611920565b606091505b509150915061193082828661193b565b979650505050505050565b6060831561194a575081611096565b82511561195a5782518084602001fd5b8160405162461bcd60e51b81526004016108ce9190611c86565b60008060006060848603121561198957600080fd5b505081359360208301359350604090920135919050565b6000602082840312156119b257600080fd5b81356001600160401b038116811461109657600080fd5b600080604083850312156119dc57600080fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114611a1657600080fd5b919050565b600080600060608486031215611a3057600080fd5b611a39846119ff565b95602085013595506040909401359392505050565b600080600060608486031215611a6357600080fd5b611a6c846119ff565b9250611a7a602085016119ff565b9150611a88604085016119ff565b90509250925092565b600060208284031215611aa357600080fd5b8151801515811461109657600080fd5b93845260208401929092526040830152606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156111b7576111b7611ace565b918252602082015260400190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b818103818111156111b7576111b7611ace565b9283526020830191909152604082015260600190565b600060208284031215611b9857600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b80820281158282048414176111b7576111b7611ace565b634e487b7160e01b600052601260045260246000fd5b6001600160a01b03929092168252602082015260400190565b60005b83811015611c4b578181015183820152602001611c33565b50506000910152565b60008251611c66818460208701611c30565b9190910192915050565b634e487b7160e01b600052600160045260246000fd5b6020815260008251806020840152611ca5816040850160208701611c30565b601f01601f1916919091016040019291505056fea26469706673582212200bedc4e6c79bb10a9fe7a55cba44ec14b32b7926f5739ba41b00b6df881dd21764736f6c63430008110033";
|
|
697
650
|
|
|
698
651
|
type BulkSellerConstructorParams =
|
|
699
652
|
| [signer?: Signer]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
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
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
}
|
|
@@ -6,6 +6,32 @@ import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
|
6
6
|
import type { Errors, ErrorsInterface } from "../Errors";
|
|
7
7
|
|
|
8
8
|
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "uint256",
|
|
13
|
+
name: "approxGuessMin",
|
|
14
|
+
type: "uint256",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint256",
|
|
18
|
+
name: "approxGuessMax",
|
|
19
|
+
type: "uint256",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "minGuessMin",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "maxGuessMax",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "ApproxBinarySearchInputInvalid",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
9
35
|
{
|
|
10
36
|
inputs: [],
|
|
11
37
|
name: "ApproxDstExecutionGasNotSet",
|
|
@@ -337,64 +363,85 @@ const _abi = [
|
|
|
337
363
|
{
|
|
338
364
|
inputs: [
|
|
339
365
|
{
|
|
340
|
-
internalType: "
|
|
341
|
-
name: "
|
|
342
|
-
type: "
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
internalType: "uint256",
|
|
346
|
-
name: "maxLnFeeRateRoot",
|
|
347
|
-
type: "uint256",
|
|
366
|
+
internalType: "int256",
|
|
367
|
+
name: "exchangeRate",
|
|
368
|
+
type: "int256",
|
|
348
369
|
},
|
|
349
370
|
],
|
|
350
|
-
name: "
|
|
371
|
+
name: "MarketExchangeRateBelowOne",
|
|
351
372
|
type: "error",
|
|
352
373
|
},
|
|
353
374
|
{
|
|
354
|
-
inputs: [
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
internalType: "uint8",
|
|
362
|
-
name: "maxReserveFeePercent",
|
|
363
|
-
type: "uint8",
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
name: "MFactoryReserveFeePercentTooHigh",
|
|
375
|
+
inputs: [],
|
|
376
|
+
name: "MarketExpired",
|
|
377
|
+
type: "error",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
inputs: [],
|
|
381
|
+
name: "MarketFactoryExpiredPt",
|
|
367
382
|
type: "error",
|
|
368
383
|
},
|
|
369
384
|
{
|
|
370
385
|
inputs: [
|
|
371
386
|
{
|
|
372
387
|
internalType: "int256",
|
|
373
|
-
name: "
|
|
388
|
+
name: "initialAnchor",
|
|
389
|
+
type: "int256",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
internalType: "int256",
|
|
393
|
+
name: "minInitialAnchor",
|
|
374
394
|
type: "int256",
|
|
375
395
|
},
|
|
376
396
|
],
|
|
377
|
-
name: "
|
|
397
|
+
name: "MarketFactoryInitialAnchorTooLow",
|
|
378
398
|
type: "error",
|
|
379
399
|
},
|
|
380
400
|
{
|
|
381
401
|
inputs: [],
|
|
382
|
-
name: "
|
|
402
|
+
name: "MarketFactoryInvalidPt",
|
|
383
403
|
type: "error",
|
|
384
404
|
},
|
|
385
405
|
{
|
|
386
|
-
inputs: [
|
|
387
|
-
|
|
406
|
+
inputs: [
|
|
407
|
+
{
|
|
408
|
+
internalType: "uint80",
|
|
409
|
+
name: "lnFeeRateRoot",
|
|
410
|
+
type: "uint80",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
internalType: "uint256",
|
|
414
|
+
name: "maxLnFeeRateRoot",
|
|
415
|
+
type: "uint256",
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
name: "MarketFactoryLnFeeRateRootTooHigh",
|
|
388
419
|
type: "error",
|
|
389
420
|
},
|
|
390
421
|
{
|
|
391
422
|
inputs: [],
|
|
392
|
-
name: "
|
|
423
|
+
name: "MarketFactoryMarketExists",
|
|
424
|
+
type: "error",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
inputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "uint8",
|
|
430
|
+
name: "reserveFeePercent",
|
|
431
|
+
type: "uint8",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
internalType: "uint8",
|
|
435
|
+
name: "maxReserveFeePercent",
|
|
436
|
+
type: "uint8",
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
name: "MarketFactoryReserveFeePercentTooHigh",
|
|
393
440
|
type: "error",
|
|
394
441
|
},
|
|
395
442
|
{
|
|
396
443
|
inputs: [],
|
|
397
|
-
name: "
|
|
444
|
+
name: "MarketFactoryZeroTreasury",
|
|
398
445
|
type: "error",
|
|
399
446
|
},
|
|
400
447
|
{
|
|
@@ -1046,6 +1093,17 @@ const _abi = [
|
|
|
1046
1093
|
name: "VEPositionNotExpired",
|
|
1047
1094
|
type: "error",
|
|
1048
1095
|
},
|
|
1096
|
+
{
|
|
1097
|
+
inputs: [
|
|
1098
|
+
{
|
|
1099
|
+
internalType: "uint256",
|
|
1100
|
+
name: "msgTime",
|
|
1101
|
+
type: "uint256",
|
|
1102
|
+
},
|
|
1103
|
+
],
|
|
1104
|
+
name: "VEReceiveOldSupply",
|
|
1105
|
+
type: "error",
|
|
1106
|
+
},
|
|
1049
1107
|
{
|
|
1050
1108
|
inputs: [],
|
|
1051
1109
|
name: "VEZeroAmountLocked",
|
|
@@ -1077,16 +1135,58 @@ const _abi = [
|
|
|
1077
1135
|
name: "YCExpired",
|
|
1078
1136
|
type: "error",
|
|
1079
1137
|
},
|
|
1138
|
+
{
|
|
1139
|
+
inputs: [
|
|
1140
|
+
{
|
|
1141
|
+
internalType: "uint256",
|
|
1142
|
+
name: "interestFeeRate",
|
|
1143
|
+
type: "uint256",
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
internalType: "uint256",
|
|
1147
|
+
name: "maxInterestFeeRate",
|
|
1148
|
+
type: "uint256",
|
|
1149
|
+
},
|
|
1150
|
+
],
|
|
1151
|
+
name: "YCFactoryInterestFeeRateTooHigh",
|
|
1152
|
+
type: "error",
|
|
1153
|
+
},
|
|
1080
1154
|
{
|
|
1081
1155
|
inputs: [],
|
|
1082
1156
|
name: "YCFactoryInvalidExpiry",
|
|
1083
1157
|
type: "error",
|
|
1084
1158
|
},
|
|
1159
|
+
{
|
|
1160
|
+
inputs: [
|
|
1161
|
+
{
|
|
1162
|
+
internalType: "uint256",
|
|
1163
|
+
name: "newRewardFeeRate",
|
|
1164
|
+
type: "uint256",
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
internalType: "uint256",
|
|
1168
|
+
name: "maxRewardFeeRate",
|
|
1169
|
+
type: "uint256",
|
|
1170
|
+
},
|
|
1171
|
+
],
|
|
1172
|
+
name: "YCFactoryRewardFeeRateTooHigh",
|
|
1173
|
+
type: "error",
|
|
1174
|
+
},
|
|
1085
1175
|
{
|
|
1086
1176
|
inputs: [],
|
|
1087
1177
|
name: "YCFactoryYieldContractExisted",
|
|
1088
1178
|
type: "error",
|
|
1089
1179
|
},
|
|
1180
|
+
{
|
|
1181
|
+
inputs: [],
|
|
1182
|
+
name: "YCFactoryZeroExpiryDivisor",
|
|
1183
|
+
type: "error",
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
inputs: [],
|
|
1187
|
+
name: "YCFactoryZeroTreasury",
|
|
1188
|
+
type: "error",
|
|
1189
|
+
},
|
|
1090
1190
|
{
|
|
1091
1191
|
inputs: [],
|
|
1092
1192
|
name: "YCNoFloatingSy",
|
|
@@ -1131,7 +1231,7 @@ const _abi = [
|
|
|
1131
1231
|
];
|
|
1132
1232
|
|
|
1133
1233
|
const _bytecode =
|
|
1134
|
-
"
|
|
1234
|
+
"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206c45e6efc8e68e579f01cff8a46af40409137fe1b3ab6507e7f8f4ab9c7fca7a64736f6c63430008110033";
|
|
1135
1235
|
|
|
1136
1236
|
type ErrorsConstructorParams =
|
|
1137
1237
|
| [signer?: Signer]
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
IAccessControlUpgradeable,
|
|
9
|
+
IAccessControlUpgradeableInterface,
|
|
10
|
+
} from "../IAccessControlUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "bytes32",
|
|
19
|
+
name: "role",
|
|
20
|
+
type: "bytes32",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "bytes32",
|
|
25
|
+
name: "previousAdminRole",
|
|
26
|
+
type: "bytes32",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
indexed: true,
|
|
30
|
+
internalType: "bytes32",
|
|
31
|
+
name: "newAdminRole",
|
|
32
|
+
type: "bytes32",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
name: "RoleAdminChanged",
|
|
36
|
+
type: "event",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
anonymous: false,
|
|
40
|
+
inputs: [
|
|
41
|
+
{
|
|
42
|
+
indexed: true,
|
|
43
|
+
internalType: "bytes32",
|
|
44
|
+
name: "role",
|
|
45
|
+
type: "bytes32",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
indexed: true,
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "account",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
indexed: true,
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "sender",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "RoleGranted",
|
|
61
|
+
type: "event",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
anonymous: false,
|
|
65
|
+
inputs: [
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "bytes32",
|
|
69
|
+
name: "role",
|
|
70
|
+
type: "bytes32",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
indexed: true,
|
|
74
|
+
internalType: "address",
|
|
75
|
+
name: "account",
|
|
76
|
+
type: "address",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
indexed: true,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "sender",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
name: "RoleRevoked",
|
|
86
|
+
type: "event",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
internalType: "bytes32",
|
|
92
|
+
name: "role",
|
|
93
|
+
type: "bytes32",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
name: "getRoleAdmin",
|
|
97
|
+
outputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "bytes32",
|
|
100
|
+
name: "",
|
|
101
|
+
type: "bytes32",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
stateMutability: "view",
|
|
105
|
+
type: "function",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "bytes32",
|
|
111
|
+
name: "role",
|
|
112
|
+
type: "bytes32",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "account",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "grantRole",
|
|
121
|
+
outputs: [],
|
|
122
|
+
stateMutability: "nonpayable",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "bytes32",
|
|
129
|
+
name: "role",
|
|
130
|
+
type: "bytes32",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
internalType: "address",
|
|
134
|
+
name: "account",
|
|
135
|
+
type: "address",
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
name: "hasRole",
|
|
139
|
+
outputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "bool",
|
|
142
|
+
name: "",
|
|
143
|
+
type: "bool",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
stateMutability: "view",
|
|
147
|
+
type: "function",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
inputs: [
|
|
151
|
+
{
|
|
152
|
+
internalType: "bytes32",
|
|
153
|
+
name: "role",
|
|
154
|
+
type: "bytes32",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "account",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "renounceRole",
|
|
163
|
+
outputs: [],
|
|
164
|
+
stateMutability: "nonpayable",
|
|
165
|
+
type: "function",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "bytes32",
|
|
171
|
+
name: "role",
|
|
172
|
+
type: "bytes32",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "account",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
name: "revokeRole",
|
|
181
|
+
outputs: [],
|
|
182
|
+
stateMutability: "nonpayable",
|
|
183
|
+
type: "function",
|
|
184
|
+
},
|
|
185
|
+
];
|
|
186
|
+
|
|
187
|
+
export class IAccessControlUpgradeable__factory {
|
|
188
|
+
static readonly abi = _abi;
|
|
189
|
+
static createInterface(): IAccessControlUpgradeableInterface {
|
|
190
|
+
return new utils.Interface(_abi) as IAccessControlUpgradeableInterface;
|
|
191
|
+
}
|
|
192
|
+
static connect(
|
|
193
|
+
address: string,
|
|
194
|
+
signerOrProvider: Signer | Provider
|
|
195
|
+
): IAccessControlUpgradeable {
|
|
196
|
+
return new Contract(
|
|
197
|
+
address,
|
|
198
|
+
_abi,
|
|
199
|
+
signerOrProvider
|
|
200
|
+
) as IAccessControlUpgradeable;
|
|
201
|
+
}
|
|
202
|
+
}
|