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