@pendle/core-v2 6.5.0-swaphubtest → 6.6.0
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/LICENSE +12 -82
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- 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/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- 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/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- 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/SYUtils.sol/SYUtils.dbg.json +1 -1
- 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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +231 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- 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/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +226 -21
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +228 -23
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +3 -3
- package/contracts/interfaces/IPLimitRouter.sol +7 -0
- package/contracts/limit/LimitRouterBase.sol +2 -11
- package/contracts/limit/PendleLimitRouter.sol +23 -1
- package/deployments/1-core.json +10 -6
- package/deployments/10-core.json +8 -4
- package/deployments/130-core.json +8 -2
- package/deployments/143-core.json +18 -0
- package/deployments/146-core.json +8 -4
- package/deployments/42161-core.json +8 -4
- package/deployments/43114-core.json +5 -2
- package/deployments/43114-offchain-helper.json +3 -0
- package/deployments/5000-core.json +8 -4
- package/deployments/56-core.json +8 -4
- package/deployments/57073-core.json +18 -0
- package/deployments/747474-core.json +18 -0
- package/deployments/80094-core.json +8 -4
- package/deployments/8453-core.json +8 -4
- package/deployments/9745-core.json +7 -3
- package/deployments/999-core.json +7 -3
- package/package.json +1 -1
- package/typechain-types/IPLimitRouter.ts +83 -0
- package/typechain-types/LimitRouterBase.ts +79 -46
- package/typechain-types/PendleLimitRouter.ts +79 -46
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/IPLimitRouter__factory.ts +231 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitRouterBase__factory.ts +226 -21
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +227 -22
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/Broadcaster.ts +0 -455
- package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
- package/typechain-types/IPVotingController.ts +0 -534
- package/typechain-types/PendleFeeDistributor.ts +0 -746
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -689
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
- package/typechain-types/PendleMarketFactoryV6Upg.ts +0 -773
- package/typechain-types/PendleMarketV6.ts +0 -1248
- package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
- package/typechain-types/VotingControllerStorageUpg.ts +0 -984
- package/typechain-types/factories/Broadcaster__factory.ts +0 -317
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
- package/typechain-types/factories/IPVotingController__factory.ts +0 -395
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
- package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
- package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type { Broadcaster, BroadcasterInterface } from "../Broadcaster";
|
|
7
|
-
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "address",
|
|
13
|
-
name: "_votingController",
|
|
14
|
-
type: "address",
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
stateMutability: "nonpayable",
|
|
18
|
-
type: "constructor",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
anonymous: false,
|
|
22
|
-
inputs: [
|
|
23
|
-
{
|
|
24
|
-
indexed: false,
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "previousAdmin",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
indexed: false,
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "newAdmin",
|
|
33
|
-
type: "address",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
name: "AdminChanged",
|
|
37
|
-
type: "event",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
anonymous: false,
|
|
41
|
-
inputs: [
|
|
42
|
-
{
|
|
43
|
-
indexed: true,
|
|
44
|
-
internalType: "address",
|
|
45
|
-
name: "beacon",
|
|
46
|
-
type: "address",
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
name: "BeaconUpgraded",
|
|
50
|
-
type: "event",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
anonymous: false,
|
|
54
|
-
inputs: [
|
|
55
|
-
{
|
|
56
|
-
indexed: false,
|
|
57
|
-
internalType: "uint8",
|
|
58
|
-
name: "version",
|
|
59
|
-
type: "uint8",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
name: "Initialized",
|
|
63
|
-
type: "event",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
anonymous: false,
|
|
67
|
-
inputs: [
|
|
68
|
-
{
|
|
69
|
-
indexed: true,
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "previousOwner",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "newOwner",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
name: "OwnershipTransferred",
|
|
82
|
-
type: "event",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
anonymous: false,
|
|
86
|
-
inputs: [
|
|
87
|
-
{
|
|
88
|
-
indexed: true,
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "implementation",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
name: "Upgraded",
|
|
95
|
-
type: "event",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
inputs: [],
|
|
99
|
-
name: "claimOwnership",
|
|
100
|
-
outputs: [],
|
|
101
|
-
stateMutability: "nonpayable",
|
|
102
|
-
type: "function",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
inputs: [
|
|
106
|
-
{
|
|
107
|
-
internalType: "uint64[]",
|
|
108
|
-
name: "chainIds",
|
|
109
|
-
type: "uint64[]",
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
name: "finalizeAndBroadcast",
|
|
113
|
-
outputs: [],
|
|
114
|
-
stateMutability: "nonpayable",
|
|
115
|
-
type: "function",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
inputs: [
|
|
119
|
-
{
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "_owner",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "initialize",
|
|
126
|
-
outputs: [],
|
|
127
|
-
stateMutability: "nonpayable",
|
|
128
|
-
type: "function",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
inputs: [],
|
|
132
|
-
name: "lastBroadcastedWeek",
|
|
133
|
-
outputs: [
|
|
134
|
-
{
|
|
135
|
-
internalType: "uint256",
|
|
136
|
-
name: "",
|
|
137
|
-
type: "uint256",
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
stateMutability: "view",
|
|
141
|
-
type: "function",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
inputs: [],
|
|
145
|
-
name: "owner",
|
|
146
|
-
outputs: [
|
|
147
|
-
{
|
|
148
|
-
internalType: "address",
|
|
149
|
-
name: "",
|
|
150
|
-
type: "address",
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
stateMutability: "view",
|
|
154
|
-
type: "function",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
inputs: [],
|
|
158
|
-
name: "pendingOwner",
|
|
159
|
-
outputs: [
|
|
160
|
-
{
|
|
161
|
-
internalType: "address",
|
|
162
|
-
name: "",
|
|
163
|
-
type: "address",
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
stateMutability: "view",
|
|
167
|
-
type: "function",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
inputs: [],
|
|
171
|
-
name: "proxiableUUID",
|
|
172
|
-
outputs: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "bytes32",
|
|
175
|
-
name: "",
|
|
176
|
-
type: "bytes32",
|
|
177
|
-
},
|
|
178
|
-
],
|
|
179
|
-
stateMutability: "view",
|
|
180
|
-
type: "function",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
inputs: [
|
|
184
|
-
{
|
|
185
|
-
internalType: "address",
|
|
186
|
-
name: "newOwner",
|
|
187
|
-
type: "address",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
internalType: "bool",
|
|
191
|
-
name: "direct",
|
|
192
|
-
type: "bool",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
internalType: "bool",
|
|
196
|
-
name: "renounce",
|
|
197
|
-
type: "bool",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
name: "transferOwnership",
|
|
201
|
-
outputs: [],
|
|
202
|
-
stateMutability: "nonpayable",
|
|
203
|
-
type: "function",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
inputs: [
|
|
207
|
-
{
|
|
208
|
-
internalType: "address",
|
|
209
|
-
name: "newImplementation",
|
|
210
|
-
type: "address",
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
name: "upgradeTo",
|
|
214
|
-
outputs: [],
|
|
215
|
-
stateMutability: "nonpayable",
|
|
216
|
-
type: "function",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
inputs: [
|
|
220
|
-
{
|
|
221
|
-
internalType: "address",
|
|
222
|
-
name: "newImplementation",
|
|
223
|
-
type: "address",
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
internalType: "bytes",
|
|
227
|
-
name: "data",
|
|
228
|
-
type: "bytes",
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
name: "upgradeToAndCall",
|
|
232
|
-
outputs: [],
|
|
233
|
-
stateMutability: "payable",
|
|
234
|
-
type: "function",
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
inputs: [],
|
|
238
|
-
name: "votingController",
|
|
239
|
-
outputs: [
|
|
240
|
-
{
|
|
241
|
-
internalType: "contract IPVotingController",
|
|
242
|
-
name: "",
|
|
243
|
-
type: "address",
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
stateMutability: "view",
|
|
247
|
-
type: "function",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
inputs: [],
|
|
251
|
-
name: "withdrawETH",
|
|
252
|
-
outputs: [],
|
|
253
|
-
stateMutability: "nonpayable",
|
|
254
|
-
type: "function",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
stateMutability: "payable",
|
|
258
|
-
type: "receive",
|
|
259
|
-
},
|
|
260
|
-
];
|
|
261
|
-
|
|
262
|
-
const _bytecode =
|
|
263
|
-
"0x60c060405230608052348015610013575f5ffd5b5060405161178d38038061178d83398101604081905261003291610167565b600154600160a81b900460ff1615808015610058575060018054600160a01b900460ff16105b806100785750303b158015610078575060018054600160a01b900460ff16145b6100df5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801561010c576001805460ff60a81b1916600160a81b1790555b6001600160a01b03821660a0528015610160576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050610194565b5f60208284031215610177575f5ffd5b81516001600160a01b038116811461018d575f5ffd5b9392505050565b60805160a0516115a76101e65f395f81816101440152818161066401528181610708015261079501525f818161032c0152818161036c0152818161049b015281816104db015261055601526115a75ff3fe608060405260043610610099575f3560e01c8063078dfbe7146100a45780633659cfe6146100c55780633b1c6f1f146100e45780634e71e0c81461010c5780634f1ef28614610120578063517afbcf1461013357806352d1902d1461017e5780637eda170b146101925780638da5cb5b146101b1578063c4d66de8146101cf578063e086e5ec146101ee578063e30c397814610202575f5ffd5b366100a057005b5f5ffd5b3480156100af575f5ffd5b506100c36100be366004611142565b610221565b005b3480156100d0575f5ffd5b506100c36100df366004611188565b610322565b3480156100ef575f5ffd5b506100f960325481565b6040519081526020015b60405180910390f35b348015610117575f5ffd5b506100c36103e9565b6100c361012e3660046111b5565b610491565b34801561013e575f5ffd5b506101667f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610103565b348015610189575f5ffd5b506100f961054a565b34801561019d575f5ffd5b506100c36101ac366004611276565b6105f6565b3480156101bc575f5ffd5b505f54610166906001600160a01b031681565b3480156101da575f5ffd5b506100c36101e9366004611188565b610822565b3480156101f9575f5ffd5b506100c3610952565b34801561020d575f5ffd5b50600154610166906001600160a01b031681565b5f546001600160a01b031633146102535760405162461bcd60e51b815260040161024a906112e5565b60405180910390fd5b8115610301576001600160a01b03831615158061026d5750805b6102b15760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161024a565b5f80546040516001600160a01b03808716939216915f51602061152b5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361036a5760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661039c610994565b6001600160a01b0316146103c25760405162461bcd60e51b815260040161024a90611353565b6103cb816109af565b604080515f808252602082019092526103e6918391906109d8565b50565b6001546001600160a01b03163381146104445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161024a565b5f80546040516001600160a01b03808516939216915f51602061152b5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104d95760405162461bcd60e51b815260040161024a9061131a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661050b610994565b6001600160a01b0316146105315760405162461bcd60e51b815260040161024a90611353565b61053a826109af565b610546828260016109d8565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105e45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161024a565b505f51602061150b5f395f51905f5290565b5f6105ff610b42565b6001600160801b03169050806032541061065b5760405162461bcd60e51b815260206004820181905260248201527f63757272656e74207765656b20616c72656164792062726f6164636173746564604482015260640161024a565b806032819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166382ae9ef76040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156106ba575f5ffd5b505af11580156106cc573d5f5f3e3d5ffd5b505f925050505b8281101561081c575f8484838181106106ee576106ee61138c565b905060200201602081019061070391906113a0565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632477bfbe836040518263ffffffff1660e01b815260040161075291906113c6565b602060405180830381865afa15801561076d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079191906113da565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c291230d82846040518363ffffffff1660e01b81526004016107e091906113c6565b5f604051808303818588803b1580156107f7575f5ffd5b505af1158015610809573d5f5f3e3d5ffd5b5050600190950194506106d39350505050565b50505050565b600154600160a81b900460ff1615808015610848575060018054600160a01b900460ff16105b8061086f575061085730610b51565b15801561086f575060018054600160a01b900460ff16145b6108d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161024a565b6001805460ff60a01b1916600160a01b17905580156108ff576001805460ff60a81b1916600160a81b1790555b61090882610b60565b8015610546576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b5f546001600160a01b0316331461097b5760405162461bcd60e51b815260040161024a906112e5565b5f805461099291906001600160a01b031647610bee565b565b5f51602061150b5f395f51905f52546001600160a01b031690565b5f546001600160a01b031633146103e65760405162461bcd60e51b815260040161024a906112e5565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610a0b5761031d83610cad565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a65575060408051601f3d908101601f19168201909252610a62918101906113da565b60015b610ac85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161024a565b5f51602061150b5f395f51905f528114610b365760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161024a565b5061031d838383610d46565b5f610b4c42610d6a565b905090565b6001600160a01b03163b151590565b600154600160a81b900460ff16610bcd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161024a565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b805f03610bfa57505050565b6001600160a01b038316610c99575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610c51576040519150601f19603f3d011682016040523d82523d5f602084013e610c56565b606091505b505090508061081c5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161024a565b61031d6001600160a01b0384168383610d89565b610cb681610b51565b610d185760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161024a565b5f51602061150b5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b610d4f83610ddb565b5f82511180610d5b5750805b1561031d5761081c8383610e1a565b5f62093a80610d7981846113f1565b610d83919061142b565b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261031d908490610e46565b610de481610cad565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b6060610e3f838360405180606001604052806027815260200161154b60279139610f19565b9392505050565b5f610e9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f8d9092919063ffffffff16565b905080515f1480610eba575080806020019051810190610eba9190611460565b61031d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161024a565b60605f5f856001600160a01b031685604051610f35919061149d565b5f60405180830381855af49150503d805f8114610f6d576040519150601f19603f3d011682016040523d82523d5f602084013e610f72565b606091505b5091509150610f8386838387610fa3565b9695505050505050565b6060610f9b84845f85611019565b949350505050565b6060831561100f5782515f0361100857610fbc85610b51565b6110085760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161024a565b5081610f9b565b610f9b83836110f0565b60608247101561107a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161024a565b5f5f866001600160a01b03168587604051611095919061149d565b5f6040518083038185875af1925050503d805f81146110cf576040519150601f19603f3d011682016040523d82523d5f602084013e6110d4565b606091505b50915091506110e587838387610fa3565b979650505050505050565b8151156111005781518083602001fd5b8060405162461bcd60e51b815260040161024a91906114b8565b80356001600160a01b0381168114611130575f5ffd5b919050565b80151581146103e6575f5ffd5b5f5f5f60608486031215611154575f5ffd5b61115d8461111a565b9250602084013561116d81611135565b9150604084013561117d81611135565b809150509250925092565b5f60208284031215611198575f5ffd5b610e3f8261111a565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156111c6575f5ffd5b6111cf8361111a565b915060208301356001600160401b038111156111e9575f5ffd5b8301601f810185136111f9575f5ffd5b80356001600160401b03811115611212576112126111a1565b604051601f8201601f19908116603f011681016001600160401b0381118282101715611240576112406111a1565b604052818152828201602001871015611257575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f60208385031215611287575f5ffd5b82356001600160401b0381111561129c575f5ffd5b8301601f810185136112ac575f5ffd5b80356001600160401b038111156112c1575f5ffd5b8560208260051b84010111156112d5575f5ffd5b6020919091019590945092505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f5160206114eb5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156113b0575f5ffd5b81356001600160401b0381168114610e3f575f5ffd5b6001600160401b0391909116815260200190565b5f602082840312156113ea575f5ffd5b5051919050565b5f6001600160801b0383168061141557634e487b7160e01b5f52601260045260245ffd5b6001600160801b03929092169190910492915050565b6001600160801b03818116838216029081169081811461145957634e487b7160e01b5f52601160045260245ffd5b5092915050565b5f60208284031215611470575f5ffd5b8151610e3f81611135565b5f5b8381101561149557818101518382015260200161147d565b50505f910152565b5f82516114ae81846020870161147b565b9190910192915050565b602081525f82518060208401526114d681604085016020870161147b565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212200c557c4c71379d8dee6af222600edcaa1f73d888ad7d602c6d51db554e5c234d64736f6c634300081e0033";
|
|
264
|
-
|
|
265
|
-
type BroadcasterConstructorParams =
|
|
266
|
-
| [signer?: Signer]
|
|
267
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
268
|
-
|
|
269
|
-
const isSuperArgs = (
|
|
270
|
-
xs: BroadcasterConstructorParams
|
|
271
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
272
|
-
|
|
273
|
-
export class Broadcaster__factory extends ContractFactory {
|
|
274
|
-
constructor(...args: BroadcasterConstructorParams) {
|
|
275
|
-
if (isSuperArgs(args)) {
|
|
276
|
-
super(...args);
|
|
277
|
-
} else {
|
|
278
|
-
super(_abi, _bytecode, args[0]);
|
|
279
|
-
}
|
|
280
|
-
this.contractName = "Broadcaster";
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
deploy(
|
|
284
|
-
_votingController: string,
|
|
285
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
286
|
-
): Promise<Broadcaster> {
|
|
287
|
-
return super.deploy(
|
|
288
|
-
_votingController,
|
|
289
|
-
overrides || {}
|
|
290
|
-
) as Promise<Broadcaster>;
|
|
291
|
-
}
|
|
292
|
-
getDeployTransaction(
|
|
293
|
-
_votingController: string,
|
|
294
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
295
|
-
): TransactionRequest {
|
|
296
|
-
return super.getDeployTransaction(_votingController, overrides || {});
|
|
297
|
-
}
|
|
298
|
-
attach(address: string): Broadcaster {
|
|
299
|
-
return super.attach(address) as Broadcaster;
|
|
300
|
-
}
|
|
301
|
-
connect(signer: Signer): Broadcaster__factory {
|
|
302
|
-
return super.connect(signer) as Broadcaster__factory;
|
|
303
|
-
}
|
|
304
|
-
static readonly contractName: "Broadcaster";
|
|
305
|
-
public readonly contractName: "Broadcaster";
|
|
306
|
-
static readonly bytecode = _bytecode;
|
|
307
|
-
static readonly abi = _abi;
|
|
308
|
-
static createInterface(): BroadcasterInterface {
|
|
309
|
-
return new utils.Interface(_abi) as BroadcasterInterface;
|
|
310
|
-
}
|
|
311
|
-
static connect(
|
|
312
|
-
address: string,
|
|
313
|
-
signerOrProvider: Signer | Provider
|
|
314
|
-
): Broadcaster {
|
|
315
|
-
return new Contract(address, _abi, signerOrProvider) as Broadcaster;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
@@ -1,202 +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
|
-
IPGaugeControllerMainchain,
|
|
9
|
-
IPGaugeControllerMainchainInterface,
|
|
10
|
-
} from "../IPGaugeControllerMainchain";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
indexed: true,
|
|
18
|
-
internalType: "address",
|
|
19
|
-
name: "market",
|
|
20
|
-
type: "address",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
indexed: false,
|
|
24
|
-
internalType: "uint256",
|
|
25
|
-
name: "amount",
|
|
26
|
-
type: "uint256",
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
name: "MarketClaimReward",
|
|
30
|
-
type: "event",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
anonymous: false,
|
|
34
|
-
inputs: [
|
|
35
|
-
{
|
|
36
|
-
indexed: true,
|
|
37
|
-
internalType: "uint128",
|
|
38
|
-
name: "wTime",
|
|
39
|
-
type: "uint128",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
indexed: false,
|
|
43
|
-
internalType: "address[]",
|
|
44
|
-
name: "markets",
|
|
45
|
-
type: "address[]",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: false,
|
|
49
|
-
internalType: "uint256[]",
|
|
50
|
-
name: "pendleAmounts",
|
|
51
|
-
type: "uint256[]",
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
name: "ReceiveVotingResults",
|
|
55
|
-
type: "event",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
anonymous: false,
|
|
59
|
-
inputs: [
|
|
60
|
-
{
|
|
61
|
-
indexed: true,
|
|
62
|
-
internalType: "address",
|
|
63
|
-
name: "market",
|
|
64
|
-
type: "address",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
indexed: false,
|
|
68
|
-
internalType: "uint256",
|
|
69
|
-
name: "pendlePerSec",
|
|
70
|
-
type: "uint256",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
indexed: false,
|
|
74
|
-
internalType: "uint256",
|
|
75
|
-
name: "incentiveEndsAt",
|
|
76
|
-
type: "uint256",
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
name: "UpdateMarketReward",
|
|
80
|
-
type: "event",
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
inputs: [
|
|
84
|
-
{
|
|
85
|
-
internalType: "uint256",
|
|
86
|
-
name: "amount",
|
|
87
|
-
type: "uint256",
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
name: "fundPendle",
|
|
91
|
-
outputs: [],
|
|
92
|
-
stateMutability: "nonpayable",
|
|
93
|
-
type: "function",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
inputs: [],
|
|
97
|
-
name: "pendle",
|
|
98
|
-
outputs: [
|
|
99
|
-
{
|
|
100
|
-
internalType: "address",
|
|
101
|
-
name: "",
|
|
102
|
-
type: "address",
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
stateMutability: "nonpayable",
|
|
106
|
-
type: "function",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
inputs: [],
|
|
110
|
-
name: "redeemMarketReward",
|
|
111
|
-
outputs: [],
|
|
112
|
-
stateMutability: "nonpayable",
|
|
113
|
-
type: "function",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
inputs: [
|
|
117
|
-
{
|
|
118
|
-
internalType: "address",
|
|
119
|
-
name: "pool",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
name: "rewardData",
|
|
124
|
-
outputs: [
|
|
125
|
-
{
|
|
126
|
-
internalType: "uint128",
|
|
127
|
-
name: "pendlePerSec",
|
|
128
|
-
type: "uint128",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
internalType: "uint128",
|
|
132
|
-
name: "",
|
|
133
|
-
type: "uint128",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
internalType: "uint128",
|
|
137
|
-
name: "",
|
|
138
|
-
type: "uint128",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
internalType: "uint128",
|
|
142
|
-
name: "",
|
|
143
|
-
type: "uint128",
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
stateMutability: "view",
|
|
147
|
-
type: "function",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
internalType: "uint128",
|
|
153
|
-
name: "wTime",
|
|
154
|
-
type: "uint128",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
internalType: "address[]",
|
|
158
|
-
name: "markets",
|
|
159
|
-
type: "address[]",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
internalType: "uint256[]",
|
|
163
|
-
name: "pendleSpeeds",
|
|
164
|
-
type: "uint256[]",
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
name: "updateVotingResults",
|
|
168
|
-
outputs: [],
|
|
169
|
-
stateMutability: "nonpayable",
|
|
170
|
-
type: "function",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
inputs: [
|
|
174
|
-
{
|
|
175
|
-
internalType: "uint256",
|
|
176
|
-
name: "amount",
|
|
177
|
-
type: "uint256",
|
|
178
|
-
},
|
|
179
|
-
],
|
|
180
|
-
name: "withdrawPendle",
|
|
181
|
-
outputs: [],
|
|
182
|
-
stateMutability: "nonpayable",
|
|
183
|
-
type: "function",
|
|
184
|
-
},
|
|
185
|
-
];
|
|
186
|
-
|
|
187
|
-
export class IPGaugeControllerMainchain__factory {
|
|
188
|
-
static readonly abi = _abi;
|
|
189
|
-
static createInterface(): IPGaugeControllerMainchainInterface {
|
|
190
|
-
return new utils.Interface(_abi) as IPGaugeControllerMainchainInterface;
|
|
191
|
-
}
|
|
192
|
-
static connect(
|
|
193
|
-
address: string,
|
|
194
|
-
signerOrProvider: Signer | Provider
|
|
195
|
-
): IPGaugeControllerMainchain {
|
|
196
|
-
return new Contract(
|
|
197
|
-
address,
|
|
198
|
-
_abi,
|
|
199
|
-
signerOrProvider
|
|
200
|
-
) as IPGaugeControllerMainchain;
|
|
201
|
-
}
|
|
202
|
-
}
|