@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,648 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
PendleGaugeControllerMainchainUpg,
|
|
8
|
-
PendleGaugeControllerMainchainUpgInterface,
|
|
9
|
-
} from "../PendleGaugeControllerMainchainUpg";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "_votingController",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "_pendle",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "_marketFactory",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "address",
|
|
31
|
-
name: "_marketFactory2",
|
|
32
|
-
type: "address",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "address",
|
|
36
|
-
name: "_marketFactory3",
|
|
37
|
-
type: "address",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
internalType: "address",
|
|
41
|
-
name: "_marketFactory4",
|
|
42
|
-
type: "address",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "_marketFactory5",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
stateMutability: "nonpayable",
|
|
51
|
-
type: "constructor",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
inputs: [],
|
|
55
|
-
name: "ArrayLengthMismatch",
|
|
56
|
-
type: "error",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
inputs: [
|
|
60
|
-
{
|
|
61
|
-
internalType: "address",
|
|
62
|
-
name: "caller",
|
|
63
|
-
type: "address",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
name: "GCNotPendleMarket",
|
|
67
|
-
type: "error",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
inputs: [
|
|
71
|
-
{
|
|
72
|
-
internalType: "address",
|
|
73
|
-
name: "caller",
|
|
74
|
-
type: "address",
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
name: "GCNotVotingController",
|
|
78
|
-
type: "error",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
anonymous: false,
|
|
82
|
-
inputs: [
|
|
83
|
-
{
|
|
84
|
-
indexed: false,
|
|
85
|
-
internalType: "address",
|
|
86
|
-
name: "previousAdmin",
|
|
87
|
-
type: "address",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
indexed: false,
|
|
91
|
-
internalType: "address",
|
|
92
|
-
name: "newAdmin",
|
|
93
|
-
type: "address",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
name: "AdminChanged",
|
|
97
|
-
type: "event",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
anonymous: false,
|
|
101
|
-
inputs: [
|
|
102
|
-
{
|
|
103
|
-
indexed: true,
|
|
104
|
-
internalType: "address",
|
|
105
|
-
name: "beacon",
|
|
106
|
-
type: "address",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
name: "BeaconUpgraded",
|
|
110
|
-
type: "event",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
anonymous: false,
|
|
114
|
-
inputs: [
|
|
115
|
-
{
|
|
116
|
-
indexed: false,
|
|
117
|
-
internalType: "uint8",
|
|
118
|
-
name: "version",
|
|
119
|
-
type: "uint8",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: "Initialized",
|
|
123
|
-
type: "event",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
anonymous: false,
|
|
127
|
-
inputs: [
|
|
128
|
-
{
|
|
129
|
-
indexed: true,
|
|
130
|
-
internalType: "address",
|
|
131
|
-
name: "market",
|
|
132
|
-
type: "address",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
indexed: false,
|
|
136
|
-
internalType: "uint256",
|
|
137
|
-
name: "amount",
|
|
138
|
-
type: "uint256",
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
name: "MarketClaimReward",
|
|
142
|
-
type: "event",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
anonymous: false,
|
|
146
|
-
inputs: [
|
|
147
|
-
{
|
|
148
|
-
indexed: true,
|
|
149
|
-
internalType: "address",
|
|
150
|
-
name: "previousOwner",
|
|
151
|
-
type: "address",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
indexed: true,
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "newOwner",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
name: "OwnershipTransferred",
|
|
161
|
-
type: "event",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
anonymous: false,
|
|
165
|
-
inputs: [
|
|
166
|
-
{
|
|
167
|
-
indexed: true,
|
|
168
|
-
internalType: "uint128",
|
|
169
|
-
name: "wTime",
|
|
170
|
-
type: "uint128",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
indexed: false,
|
|
174
|
-
internalType: "address[]",
|
|
175
|
-
name: "markets",
|
|
176
|
-
type: "address[]",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
indexed: false,
|
|
180
|
-
internalType: "uint256[]",
|
|
181
|
-
name: "pendleAmounts",
|
|
182
|
-
type: "uint256[]",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
name: "ReceiveVotingResults",
|
|
186
|
-
type: "event",
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
anonymous: false,
|
|
190
|
-
inputs: [
|
|
191
|
-
{
|
|
192
|
-
indexed: true,
|
|
193
|
-
internalType: "address",
|
|
194
|
-
name: "market",
|
|
195
|
-
type: "address",
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
indexed: false,
|
|
199
|
-
internalType: "uint256",
|
|
200
|
-
name: "pendlePerSec",
|
|
201
|
-
type: "uint256",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
indexed: false,
|
|
205
|
-
internalType: "uint256",
|
|
206
|
-
name: "incentiveEndsAt",
|
|
207
|
-
type: "uint256",
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
name: "UpdateMarketReward",
|
|
211
|
-
type: "event",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
anonymous: false,
|
|
215
|
-
inputs: [
|
|
216
|
-
{
|
|
217
|
-
indexed: true,
|
|
218
|
-
internalType: "address",
|
|
219
|
-
name: "implementation",
|
|
220
|
-
type: "address",
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
name: "Upgraded",
|
|
224
|
-
type: "event",
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
inputs: [],
|
|
228
|
-
name: "claimOwnership",
|
|
229
|
-
outputs: [],
|
|
230
|
-
stateMutability: "nonpayable",
|
|
231
|
-
type: "function",
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
inputs: [
|
|
235
|
-
{
|
|
236
|
-
internalType: "uint128",
|
|
237
|
-
name: "",
|
|
238
|
-
type: "uint128",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
name: "epochRewardReceived",
|
|
242
|
-
outputs: [
|
|
243
|
-
{
|
|
244
|
-
internalType: "bool",
|
|
245
|
-
name: "",
|
|
246
|
-
type: "bool",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
stateMutability: "view",
|
|
250
|
-
type: "function",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
inputs: [
|
|
254
|
-
{
|
|
255
|
-
internalType: "uint256",
|
|
256
|
-
name: "amount",
|
|
257
|
-
type: "uint256",
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
name: "fundPendle",
|
|
261
|
-
outputs: [],
|
|
262
|
-
stateMutability: "nonpayable",
|
|
263
|
-
type: "function",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
inputs: [
|
|
267
|
-
{
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "_owner",
|
|
270
|
-
type: "address",
|
|
271
|
-
},
|
|
272
|
-
],
|
|
273
|
-
name: "initialize",
|
|
274
|
-
outputs: [],
|
|
275
|
-
stateMutability: "nonpayable",
|
|
276
|
-
type: "function",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
inputs: [
|
|
280
|
-
{
|
|
281
|
-
internalType: "address",
|
|
282
|
-
name: "",
|
|
283
|
-
type: "address",
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
name: "isValidMarket",
|
|
287
|
-
outputs: [
|
|
288
|
-
{
|
|
289
|
-
internalType: "bool",
|
|
290
|
-
name: "",
|
|
291
|
-
type: "bool",
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
stateMutability: "view",
|
|
295
|
-
type: "function",
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
inputs: [],
|
|
299
|
-
name: "marketFactory",
|
|
300
|
-
outputs: [
|
|
301
|
-
{
|
|
302
|
-
internalType: "contract IPMarketFactory",
|
|
303
|
-
name: "",
|
|
304
|
-
type: "address",
|
|
305
|
-
},
|
|
306
|
-
],
|
|
307
|
-
stateMutability: "view",
|
|
308
|
-
type: "function",
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
inputs: [],
|
|
312
|
-
name: "marketFactory2",
|
|
313
|
-
outputs: [
|
|
314
|
-
{
|
|
315
|
-
internalType: "contract IPMarketFactory",
|
|
316
|
-
name: "",
|
|
317
|
-
type: "address",
|
|
318
|
-
},
|
|
319
|
-
],
|
|
320
|
-
stateMutability: "view",
|
|
321
|
-
type: "function",
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
inputs: [],
|
|
325
|
-
name: "marketFactory3",
|
|
326
|
-
outputs: [
|
|
327
|
-
{
|
|
328
|
-
internalType: "contract IPMarketFactory",
|
|
329
|
-
name: "",
|
|
330
|
-
type: "address",
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
stateMutability: "view",
|
|
334
|
-
type: "function",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
inputs: [],
|
|
338
|
-
name: "marketFactory4",
|
|
339
|
-
outputs: [
|
|
340
|
-
{
|
|
341
|
-
internalType: "contract IPMarketFactory",
|
|
342
|
-
name: "",
|
|
343
|
-
type: "address",
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
stateMutability: "view",
|
|
347
|
-
type: "function",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
inputs: [],
|
|
351
|
-
name: "marketFactory5",
|
|
352
|
-
outputs: [
|
|
353
|
-
{
|
|
354
|
-
internalType: "contract IPMarketFactory",
|
|
355
|
-
name: "",
|
|
356
|
-
type: "address",
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
stateMutability: "view",
|
|
360
|
-
type: "function",
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
inputs: [],
|
|
364
|
-
name: "owner",
|
|
365
|
-
outputs: [
|
|
366
|
-
{
|
|
367
|
-
internalType: "address",
|
|
368
|
-
name: "",
|
|
369
|
-
type: "address",
|
|
370
|
-
},
|
|
371
|
-
],
|
|
372
|
-
stateMutability: "view",
|
|
373
|
-
type: "function",
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
inputs: [],
|
|
377
|
-
name: "pendingOwner",
|
|
378
|
-
outputs: [
|
|
379
|
-
{
|
|
380
|
-
internalType: "address",
|
|
381
|
-
name: "",
|
|
382
|
-
type: "address",
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
stateMutability: "view",
|
|
386
|
-
type: "function",
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
inputs: [],
|
|
390
|
-
name: "pendle",
|
|
391
|
-
outputs: [
|
|
392
|
-
{
|
|
393
|
-
internalType: "address",
|
|
394
|
-
name: "",
|
|
395
|
-
type: "address",
|
|
396
|
-
},
|
|
397
|
-
],
|
|
398
|
-
stateMutability: "view",
|
|
399
|
-
type: "function",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
inputs: [],
|
|
403
|
-
name: "proxiableUUID",
|
|
404
|
-
outputs: [
|
|
405
|
-
{
|
|
406
|
-
internalType: "bytes32",
|
|
407
|
-
name: "",
|
|
408
|
-
type: "bytes32",
|
|
409
|
-
},
|
|
410
|
-
],
|
|
411
|
-
stateMutability: "view",
|
|
412
|
-
type: "function",
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
inputs: [],
|
|
416
|
-
name: "redeemMarketReward",
|
|
417
|
-
outputs: [],
|
|
418
|
-
stateMutability: "nonpayable",
|
|
419
|
-
type: "function",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
inputs: [
|
|
423
|
-
{
|
|
424
|
-
internalType: "address",
|
|
425
|
-
name: "",
|
|
426
|
-
type: "address",
|
|
427
|
-
},
|
|
428
|
-
],
|
|
429
|
-
name: "rewardData",
|
|
430
|
-
outputs: [
|
|
431
|
-
{
|
|
432
|
-
internalType: "uint128",
|
|
433
|
-
name: "pendlePerSec",
|
|
434
|
-
type: "uint128",
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
internalType: "uint128",
|
|
438
|
-
name: "accumulatedPendle",
|
|
439
|
-
type: "uint128",
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
internalType: "uint128",
|
|
443
|
-
name: "lastUpdated",
|
|
444
|
-
type: "uint128",
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
internalType: "uint128",
|
|
448
|
-
name: "incentiveEndsAt",
|
|
449
|
-
type: "uint128",
|
|
450
|
-
},
|
|
451
|
-
],
|
|
452
|
-
stateMutability: "view",
|
|
453
|
-
type: "function",
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
inputs: [
|
|
457
|
-
{
|
|
458
|
-
internalType: "address",
|
|
459
|
-
name: "newOwner",
|
|
460
|
-
type: "address",
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
internalType: "bool",
|
|
464
|
-
name: "direct",
|
|
465
|
-
type: "bool",
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
internalType: "bool",
|
|
469
|
-
name: "renounce",
|
|
470
|
-
type: "bool",
|
|
471
|
-
},
|
|
472
|
-
],
|
|
473
|
-
name: "transferOwnership",
|
|
474
|
-
outputs: [],
|
|
475
|
-
stateMutability: "nonpayable",
|
|
476
|
-
type: "function",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
inputs: [
|
|
480
|
-
{
|
|
481
|
-
internalType: "uint128",
|
|
482
|
-
name: "wTime",
|
|
483
|
-
type: "uint128",
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
internalType: "address[]",
|
|
487
|
-
name: "markets",
|
|
488
|
-
type: "address[]",
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
internalType: "uint256[]",
|
|
492
|
-
name: "pendleSpeeds",
|
|
493
|
-
type: "uint256[]",
|
|
494
|
-
},
|
|
495
|
-
],
|
|
496
|
-
name: "updateVotingResults",
|
|
497
|
-
outputs: [],
|
|
498
|
-
stateMutability: "nonpayable",
|
|
499
|
-
type: "function",
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
inputs: [
|
|
503
|
-
{
|
|
504
|
-
internalType: "address",
|
|
505
|
-
name: "newImplementation",
|
|
506
|
-
type: "address",
|
|
507
|
-
},
|
|
508
|
-
],
|
|
509
|
-
name: "upgradeTo",
|
|
510
|
-
outputs: [],
|
|
511
|
-
stateMutability: "nonpayable",
|
|
512
|
-
type: "function",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
inputs: [
|
|
516
|
-
{
|
|
517
|
-
internalType: "address",
|
|
518
|
-
name: "newImplementation",
|
|
519
|
-
type: "address",
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
internalType: "bytes",
|
|
523
|
-
name: "data",
|
|
524
|
-
type: "bytes",
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
name: "upgradeToAndCall",
|
|
528
|
-
outputs: [],
|
|
529
|
-
stateMutability: "payable",
|
|
530
|
-
type: "function",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
inputs: [],
|
|
534
|
-
name: "votingController",
|
|
535
|
-
outputs: [
|
|
536
|
-
{
|
|
537
|
-
internalType: "address",
|
|
538
|
-
name: "",
|
|
539
|
-
type: "address",
|
|
540
|
-
},
|
|
541
|
-
],
|
|
542
|
-
stateMutability: "view",
|
|
543
|
-
type: "function",
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
inputs: [
|
|
547
|
-
{
|
|
548
|
-
internalType: "uint256",
|
|
549
|
-
name: "amount",
|
|
550
|
-
type: "uint256",
|
|
551
|
-
},
|
|
552
|
-
],
|
|
553
|
-
name: "withdrawPendle",
|
|
554
|
-
outputs: [],
|
|
555
|
-
stateMutability: "nonpayable",
|
|
556
|
-
type: "function",
|
|
557
|
-
},
|
|
558
|
-
];
|
|
559
|
-
|
|
560
|
-
const _bytecode =
|
|
561
|
-
"0x61018060405230608052348015610014575f5ffd5b506040516122b33803806122b383398101604081905261003391610163565b6001600160a01b0380871660a05280861660c05280851660e05280841661010052808316610120528082166101405287166101605261007061007c565b505050505050506101e4565b600154600160a81b900460ff16156100ea5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610146576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b038116811461015e575f5ffd5b919050565b5f5f5f5f5f5f5f60e0888a031215610179575f5ffd5b61018288610148565b965061019060208901610148565b955061019e60408901610148565b94506101ac60608901610148565b93506101ba60808901610148565b92506101c860a08901610148565b91506101d660c08901610148565b905092959891949750929550565b60805160a05160c05160e0516101005161012051610140516101605161201961029a5f395f81816103210152610cd101525f81816101bd0152610c1001525f818161020f0152610b7f01525f81816104660152610aee01525f81816102420152610a5d01525f818161015c01526109cc01525f81816104140152818161094701528181610d520152610eb601525f81816105d101528181610611015281816107400152818161078001526107fb01526120195ff3fe608060405260043610610104575f3560e01c8063049e0c8c1461010857806306ae70951461014b578063078dfbe71461018b57806320f3a706146101ac5780633659cfe6146101df5780633ce9af78146101fe5780633d2ee9211461023157806348e5d9f8146102645780634e71e0c8146102e95780634f1ef286146102fd578063517afbcf1461031057806352d1902d1461034357806358e6309f1461036557806358f3d1631461039357806372cbf870146103a75780638da5cb5b146103c6578063a0262b3b146103e4578063a2c530da14610403578063c4d66de814610436578063d59fdd0914610455578063e30c397814610488578063f26f2cb4146104a7575b5f5ffd5b348015610113575f5ffd5b506101366101223660046119b2565b60336020525f908152604090205460ff1681565b60405190151581526020015b60405180910390f35b348015610156575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b60405161014291906119cb565b348015610196575f5ffd5b506101aa6101a5366004611a02565b6104c6565b005b3480156101b7575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ea575f5ffd5b506101aa6101f9366004611a48565b6105c7565b348015610209575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561023c575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561026f575f5ffd5b506102b661027e366004611a48565b60326020525f9081526040902080546001909101546001600160801b0380831692600160801b90819004821692808316929190041684565b604080516001600160801b0395861681529385166020850152918416918301919091529091166060820152608001610142565b3480156102f4575f5ffd5b506101aa61068e565b6101aa61030b366004611aa5565b610736565b34801561031b575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034e575f5ffd5b506103576107ef565b604051908152602001610142565b348015610370575f5ffd5b5061013661037f366004611a48565b60346020525f908152604090205460ff1681565b34801561039e575f5ffd5b506101aa61089b565b3480156103b2575f5ffd5b506101aa6103c1366004611bd4565b610cc6565b3480156103d1575f5ffd5b505f5461017e906001600160a01b031681565b3480156103ef575f5ffd5b506101aa6103fe366004611ca4565b610d1c565b34801561040e575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610441575f5ffd5b506101aa610450366004611a48565b610d79565b348015610460575f5ffd5b5061017e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610493575f5ffd5b5060015461017e906001600160a01b031681565b3480156104b2575f5ffd5b506101aa6104c1366004611ca4565b610ea9565b5f546001600160a01b031633146104f85760405162461bcd60e51b81526004016104ef90611cbb565b60405180910390fd5b81156105a6576001600160a01b0383161515806105125750805b6105565760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016104ef565b5f80546040516001600160a01b03808716939216915f516020611f9d5f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361060f5760405162461bcd60e51b81526004016104ef90611cf0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610641610ede565b6001600160a01b0316146106675760405162461bcd60e51b81526004016104ef90611d29565b61067081610ef9565b604080515f8082526020820190925261068b91839190610f22565b50565b6001546001600160a01b03163381146106e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016104ef565b5f80546040516001600160a01b03808516939216915f516020611f9d5f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361077e5760405162461bcd60e51b81526004016104ef90611cf0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107b0610ede565b6001600160a01b0316146107d65760405162461bcd60e51b81526004016104ef90611d29565b6107df82610ef9565b6107eb82826001610f22565b5050565b5f306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108895760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016104ef565b505f516020611f7d5f395f51905f5290565b335f9081526034602052604090205460ff16156109b557336108bc8161108c565b6001600160a01b0382165f908152603260209081526040918290208351918401516001600160801b03928316600160801b9184168202178083559385015160609095015194831694831681029490941760019091015591900416801561096e576001600160a01b038083165f90815260326020526040902080546001600160801b0316905561096e907f0000000000000000000000000000000000000000000000000000000000000000168383611166565b816001600160a01b03167ff7823f78d472190ac0f94e11854ed334dce4a2e571e5f1bf7a8aec9469891d97826040516109a991815260200190565b60405180910390a25050565b6040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90610a019033906004016119cb565b602060405180830381865afa158015610a1c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a409190611d62565b80610ad157506040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90610a929033906004016119cb565b602060405180830381865afa158015610aad573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad19190611d62565b80610b6257506040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90610b239033906004016119cb565b602060405180830381865afa158015610b3e573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b629190611d62565b80610bf357506040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90610bb49033906004016119cb565b602060405180830381865afa158015610bcf573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf39190611d62565b80610c8457506040516358e6309f60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906358e6309f90610c459033906004016119cb565b602060405180830381865afa158015610c60573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c849190611d62565b15610cab57335f818152603460205260409020805460ff191660011790556108bc8161108c565b33604051630355768160e31b81526004016104ef91906119cb565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610d115733604051630d017da760e01b81526004016104ef91906119cb565b6105c28383836111c9565b5f546001600160a01b03163314610d455760405162461bcd60e51b81526004016104ef90611cbb565b61068b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611166565b600154600160a81b900460ff1615808015610d9f575060018054600160a01b900460ff16105b80610dc65750610dae3061134e565b158015610dc6575060018054600160a01b900460ff16145b610e295760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104ef565b6001805460ff60a01b1916600160a01b1790558015610e56576001805460ff60a81b1916600160a81b1790555b610e5f8261135d565b80156107eb576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b61068b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846113eb565b5f516020611f7d5f395f51905f52546001600160a01b031690565b5f546001600160a01b0316331461068b5760405162461bcd60e51b81526004016104ef90611cbb565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f55576105c283611429565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610faf575060408051601f3d908101601f19168201909252610fac91810190611d84565b60015b6110125760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016104ef565b5f516020611f7d5f395f51905f5281146110805760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016104ef565b506105c28383836114c2565b60408051608080820183525f808352602080840182905283850182905260608085018390526001600160a01b0387168352603282528583208651948501875280546001600160801b038082168752600160801b91829004811694870194909452600190910154808416978601979097529095048116948301859052929391929091611119914216906114e6565b905081604001518161112b9190611daf565b82516111379190611dce565b826020018181516111489190611df7565b6001600160801b039081169091529190911660408301525092915050565b6040516001600160a01b0383166024820152604481018290526105c290849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526114ff565b80518251146111eb5760405163512509d360e11b815260040160405180910390fd5b6001600160801b0383165f9081526033602052604090205460ff161561121057505050565b6001600160801b0383165f908152603360205260408120805460ff191660011790555b82518110156113055782818151811061124e5761124e611e16565b60200260200101516001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611291573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b59190611d62565b6112fd576112fd8382815181106112ce576112ce611e16565b60200260200101516112f88484815181106112eb576112eb611e16565b60200260200101516115d2565b6115ea565b600101611233565b50826001600160801b03167fc2a95122fde68f77e93e8f353620af282e72051c5b744320e519fc07ed708ba38383604051611341929190611e2a565b60405180910390a2505050565b6001600160a01b03163b151590565b600154600160a81b900460ff166113ca5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016104ef565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516001600160a01b03808516602483015283166044820152606481018290526114239085906323b872dd60e01b90608401611192565b50505050565b6114328161134e565b6114945760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016104ef565b5f516020611f7d5f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b6114cb83611737565b5f825111806114d75750805b156105c2576114238383611776565b5f8183106114f457816114f6565b825b90505b92915050565b5f611553826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661179b9092919063ffffffff16565b905080515f14806115735750808060200190518101906115739190611d62565b6105c25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104ef565b5f6001600160801b038211156115e6575f5ffd5b5090565b5f6115f48361108c565b90505f815f01518260400151836060015161160f9190611daf565b6116199190611dce565b90505f62093a8061162a8584611df7565b6116349190611eb3565b90506040518060800160405280826001600160801b0316815260200184602001516001600160801b03168152602001426001600160801b0316815260200162093a80426116819190611df7565b6001600160801b039081169091526001600160a01b0387165f818152603260209081526040918290208551918601518516600160801b9081029286169290921781559185015160609095015184160293909216929092176001909101557f77f3621b33a2ea072a89f61066691007da80431c230ce13f6e4f984d1773a7bf8261170d62093a8042611df7565b604080516001600160801b0393841681529290911660208301520160405180910390a25050505050565b61174081611429565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a250565b60606114f68383604051806060016040528060278152602001611fbd602791396117b1565b60606117a984845f85611825565b949350505050565b60605f5f856001600160a01b0316856040516117cd9190611f0f565b5f60405180830381855af49150503d805f8114611805576040519150601f19603f3d011682016040523d82523d5f602084013e61180a565b606091505b509150915061181b868383876118fc565b9695505050505050565b6060824710156118865760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104ef565b5f5f866001600160a01b031685876040516118a19190611f0f565b5f6040518083038185875af1925050503d805f81146118db576040519150601f19603f3d011682016040523d82523d5f602084013e6118e0565b606091505b50915091506118f1878383876118fc565b979650505050505050565b606083156119685782515f03611961576119158561134e565b6119615760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104ef565b50816117a9565b6117a9838381511561197d5781518083602001fd5b8060405162461bcd60e51b81526004016104ef9190611f2a565b80356001600160801b03811681146119ad575f5ffd5b919050565b5f602082840312156119c2575f5ffd5b6114f682611997565b6001600160a01b0391909116815260200190565b80356001600160a01b03811681146119ad575f5ffd5b801515811461068b575f5ffd5b5f5f5f60608486031215611a14575f5ffd5b611a1d846119df565b92506020840135611a2d816119f5565b91506040840135611a3d816119f5565b809150509250925092565b5f60208284031215611a58575f5ffd5b6114f6826119df565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611a9d57611a9d611a61565b604052919050565b5f5f60408385031215611ab6575f5ffd5b611abf836119df565b915060208301356001600160401b03811115611ad9575f5ffd5b8301601f81018513611ae9575f5ffd5b80356001600160401b03811115611b0257611b02611a61565b611b15601f8201601f1916602001611a75565b818152866020838501011115611b29575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f6001600160401b03821115611b6057611b60611a61565b5060051b60200190565b5f82601f830112611b79575f5ffd5b8135611b8c611b8782611b48565b611a75565b8082825260208201915060208360051b860101925085831115611bad575f5ffd5b602085015b83811015611bca578035835260209283019201611bb2565b5095945050505050565b5f5f5f60608486031215611be6575f5ffd5b611bef84611997565b925060208401356001600160401b03811115611c09575f5ffd5b8401601f81018613611c19575f5ffd5b8035611c27611b8782611b48565b8082825260208201915060208360051b850101925088831115611c48575f5ffd5b6020840193505b82841015611c7157611c60846119df565b825260209384019390910190611c4f565b945050505060408401356001600160401b03811115611c8e575f5ffd5b611c9a86828701611b6a565b9150509250925092565b5f60208284031215611cb4575f5ffd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201525f516020611f5d5f395f51905f5260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201525f516020611f5d5f395f51905f5260408201526b6163746976652070726f787960a01b606082015260800190565b5f60208284031215611d72575f5ffd5b8151611d7d816119f5565b9392505050565b5f60208284031215611d94575f5ffd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b6001600160801b0382811682821603908111156114f9576114f9611d9b565b6001600160801b038181168382160290811690818114611df057611df0611d9b565b5092915050565b6001600160801b0381811683821601908111156114f9576114f9611d9b565b634e487b7160e01b5f52603260045260245ffd5b604080825283519082018190525f9060208501906060840190835b81811015611e6c5783516001600160a01b0316835260209384019390920191600101611e45565b5050838103602080860191909152855180835291810192508501905f5b81811015611ea7578251845260209384019390920191600101611e89565b50919695505050505050565b5f6001600160801b03831680611ed757634e487b7160e01b5f52601260045260245ffd5b6001600160801b03929092169190910492915050565b5f5b83811015611f07578181015183820152602001611eef565b50505f910152565b5f8251611f20818460208701611eed565b9190910192915050565b602081525f8251806020840152611f48816040850160208701611eed565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122072f5d7f4f7193827c6ff539702af87fea4ed3f5ab5370e09f564ad4f3741f60a64736f6c634300081e0033";
|
|
562
|
-
|
|
563
|
-
type PendleGaugeControllerMainchainUpgConstructorParams =
|
|
564
|
-
| [signer?: Signer]
|
|
565
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
566
|
-
|
|
567
|
-
const isSuperArgs = (
|
|
568
|
-
xs: PendleGaugeControllerMainchainUpgConstructorParams
|
|
569
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
570
|
-
|
|
571
|
-
export class PendleGaugeControllerMainchainUpg__factory extends ContractFactory {
|
|
572
|
-
constructor(...args: PendleGaugeControllerMainchainUpgConstructorParams) {
|
|
573
|
-
if (isSuperArgs(args)) {
|
|
574
|
-
super(...args);
|
|
575
|
-
} else {
|
|
576
|
-
super(_abi, _bytecode, args[0]);
|
|
577
|
-
}
|
|
578
|
-
this.contractName = "PendleGaugeControllerMainchainUpg";
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
deploy(
|
|
582
|
-
_votingController: string,
|
|
583
|
-
_pendle: string,
|
|
584
|
-
_marketFactory: string,
|
|
585
|
-
_marketFactory2: string,
|
|
586
|
-
_marketFactory3: string,
|
|
587
|
-
_marketFactory4: string,
|
|
588
|
-
_marketFactory5: string,
|
|
589
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
590
|
-
): Promise<PendleGaugeControllerMainchainUpg> {
|
|
591
|
-
return super.deploy(
|
|
592
|
-
_votingController,
|
|
593
|
-
_pendle,
|
|
594
|
-
_marketFactory,
|
|
595
|
-
_marketFactory2,
|
|
596
|
-
_marketFactory3,
|
|
597
|
-
_marketFactory4,
|
|
598
|
-
_marketFactory5,
|
|
599
|
-
overrides || {}
|
|
600
|
-
) as Promise<PendleGaugeControllerMainchainUpg>;
|
|
601
|
-
}
|
|
602
|
-
getDeployTransaction(
|
|
603
|
-
_votingController: string,
|
|
604
|
-
_pendle: string,
|
|
605
|
-
_marketFactory: string,
|
|
606
|
-
_marketFactory2: string,
|
|
607
|
-
_marketFactory3: string,
|
|
608
|
-
_marketFactory4: string,
|
|
609
|
-
_marketFactory5: string,
|
|
610
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
611
|
-
): TransactionRequest {
|
|
612
|
-
return super.getDeployTransaction(
|
|
613
|
-
_votingController,
|
|
614
|
-
_pendle,
|
|
615
|
-
_marketFactory,
|
|
616
|
-
_marketFactory2,
|
|
617
|
-
_marketFactory3,
|
|
618
|
-
_marketFactory4,
|
|
619
|
-
_marketFactory5,
|
|
620
|
-
overrides || {}
|
|
621
|
-
);
|
|
622
|
-
}
|
|
623
|
-
attach(address: string): PendleGaugeControllerMainchainUpg {
|
|
624
|
-
return super.attach(address) as PendleGaugeControllerMainchainUpg;
|
|
625
|
-
}
|
|
626
|
-
connect(signer: Signer): PendleGaugeControllerMainchainUpg__factory {
|
|
627
|
-
return super.connect(signer) as PendleGaugeControllerMainchainUpg__factory;
|
|
628
|
-
}
|
|
629
|
-
static readonly contractName: "PendleGaugeControllerMainchainUpg";
|
|
630
|
-
public readonly contractName: "PendleGaugeControllerMainchainUpg";
|
|
631
|
-
static readonly bytecode = _bytecode;
|
|
632
|
-
static readonly abi = _abi;
|
|
633
|
-
static createInterface(): PendleGaugeControllerMainchainUpgInterface {
|
|
634
|
-
return new utils.Interface(
|
|
635
|
-
_abi
|
|
636
|
-
) as PendleGaugeControllerMainchainUpgInterface;
|
|
637
|
-
}
|
|
638
|
-
static connect(
|
|
639
|
-
address: string,
|
|
640
|
-
signerOrProvider: Signer | Provider
|
|
641
|
-
): PendleGaugeControllerMainchainUpg {
|
|
642
|
-
return new Contract(
|
|
643
|
-
address,
|
|
644
|
-
_abi,
|
|
645
|
-
signerOrProvider
|
|
646
|
-
) as PendleGaugeControllerMainchainUpg;
|
|
647
|
-
}
|
|
648
|
-
}
|