@pendle/core-v2 5.5.0 → 5.7.0-sonic
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.json +34 -0
- 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/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.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/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/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +40 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +77 -0
- 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 +32 -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/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +23 -0
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
- 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 +32 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +34 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +98 -3
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
- 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/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- 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/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- 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/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/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/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/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- 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/contracts/core/libraries/math/PMath.sol +5 -0
- package/contracts/interfaces/IOwnable.sol +6 -0
- package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
- package/contracts/interfaces/IPGovernanceProxy.sol +10 -0
- package/contracts/interfaces/IPLimitRouter.sol +5 -0
- package/contracts/interfaces/IPMarketFactoryV3.sol +2 -0
- package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
- package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
- package/contracts/limit/LimitRouterBase.sol +6 -10
- package/contracts/offchain-helpers/PendleGovernanceProxy.sol +41 -10
- package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
- package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
- package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
- package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +2 -1
- package/deployments/146-core.json +47 -0
- package/deployments/146-offchain-helper.json +6 -0
- package/deployments/42161-core.json +2 -1
- package/deployments/5000-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/merkle-distribution/2024-12-31-snapshot.json +65767 -0
- package/deployments/merkle-distribution/2025-01-30.json +28060 -0
- package/package.json +1 -1
- package/typechain-types/ActionCallbackV3.ts +164 -0
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/Broadcaster.ts +454 -0
- package/typechain-types/IOwnable.ts +114 -0
- package/typechain-types/IPActionCallbackV3.ts +164 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
- package/typechain-types/IPCommonSYFactory.ts +111 -0
- package/typechain-types/IPGovernanceProxy.ts +236 -0
- package/typechain-types/IPLimitRouter.ts +633 -0
- package/typechain-types/IPLimitRouterCallback.ts +120 -0
- package/typechain-types/IPMarket.ts +1045 -0
- package/typechain-types/IPMarketFactoryV3.ts +321 -0
- package/typechain-types/IPMarketV3.ts +1068 -0
- package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
- package/typechain-types/IPVotingController.ts +510 -0
- package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
- package/typechain-types/InterestManagerYT.ts +120 -0
- package/typechain-types/LimitBackendHelper.ts +287 -0
- package/typechain-types/LimitRouterBase.ts +1138 -0
- package/typechain-types/PendleBoringOneracle.ts +87 -0
- package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
- package/typechain-types/PendleChainlinkOracle.ts +299 -0
- package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
- package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
- package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
- package/typechain-types/PendleCommonSYFactory.ts +420 -0
- package/typechain-types/PendleExchangeRateOracle.ts +393 -0
- package/typechain-types/PendleFeeDistributor.ts +745 -0
- package/typechain-types/PendleGauge.ts +225 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
- package/typechain-types/PendleGovernanceProxy.ts +128 -0
- package/typechain-types/PendleLimitRouter.ts +1138 -0
- package/typechain-types/PendleMarket.ts +1207 -0
- package/typechain-types/PendleMarketFactory.ts +906 -0
- package/typechain-types/PendleMarketFactoryV3.ts +719 -0
- package/typechain-types/PendleMarketV3.ts +1195 -0
- package/typechain-types/PendlePYLpOracle.ts +619 -0
- package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
- package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
- package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
- package/typechain-types/PendleYieldContractFactory.ts +801 -0
- package/typechain-types/PendleYieldToken.ts +1107 -0
- package/typechain-types/RewardManager.ts +161 -0
- package/typechain-types/RewardManagerAbstract.ts +108 -0
- package/typechain-types/VotingControllerStorageUpg.ts +915 -0
- package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
- package/typechain-types/VotingEscrowTokenBase.ts +252 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +121 -0
- 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/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
- package/typechain-types/factories/Broadcaster__factory.ts +311 -0
- package/typechain-types/factories/IOwnable__factory.ts +46 -0
- package/typechain-types/factories/IPActionCallbackV3__factory.ts +83 -0
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
- package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
- package/typechain-types/factories/IPGovernanceProxy__factory.ts +152 -0
- package/typechain-types/factories/IPLimitRouterCallback__factory.ts +64 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +748 -0
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
- package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
- package/typechain-types/factories/IPMarket__factory.ts +832 -0
- package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
- package/typechain-types/factories/IPVotingController__factory.ts +363 -0
- package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
- package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
- package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
- package/typechain-types/factories/LimitRouterBase__factory.ts +1069 -0
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
- package/typechain-types/factories/PendleGauge__factory.ts +140 -0
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +97 -2
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1139 -0
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
- package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
- package/typechain-types/factories/RewardManager__factory.ts +89 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
- package/typechain-types/hardhat.d.ts +72 -0
- package/typechain-types/index.ts +16 -2
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
VotingEscrowPendleMainchain,
|
|
15
|
+
VotingEscrowPendleMainchainInterface,
|
|
16
|
+
} from "../VotingEscrowPendleMainchain";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "contract IERC20",
|
|
23
|
+
name: "_pendle",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_pendleMsgSendEndpoint",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint256",
|
|
33
|
+
name: "initialApproxDestinationGas",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
stateMutability: "nonpayable",
|
|
38
|
+
type: "constructor",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
inputs: [],
|
|
42
|
+
name: "ArrayEmpty",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "uint256",
|
|
49
|
+
name: "chainId",
|
|
50
|
+
type: "uint256",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "ChainNotSupported",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
inputs: [
|
|
58
|
+
{
|
|
59
|
+
internalType: "uint256",
|
|
60
|
+
name: "expiry",
|
|
61
|
+
type: "uint256",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
name: "ExpiryInThePast",
|
|
65
|
+
type: "error",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "currentFee",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "requiredFee",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "InsufficientFeeToSendMsg",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "uint256",
|
|
87
|
+
name: "wTime",
|
|
88
|
+
type: "uint256",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "InvalidWTime",
|
|
92
|
+
type: "error",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
inputs: [],
|
|
96
|
+
name: "VEExceededMaxLockTime",
|
|
97
|
+
type: "error",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
inputs: [],
|
|
101
|
+
name: "VEInsufficientLockTime",
|
|
102
|
+
type: "error",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [],
|
|
106
|
+
name: "VENotAllowedReduceExpiry",
|
|
107
|
+
type: "error",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [],
|
|
111
|
+
name: "VEPositionNotExpired",
|
|
112
|
+
type: "error",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "VEZeroAmountLocked",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [],
|
|
121
|
+
name: "VEZeroPosition",
|
|
122
|
+
type: "error",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "ZeroAddress",
|
|
127
|
+
type: "error",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
anonymous: false,
|
|
131
|
+
inputs: [
|
|
132
|
+
{
|
|
133
|
+
components: [
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint128",
|
|
136
|
+
name: "bias",
|
|
137
|
+
type: "uint128",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint128",
|
|
141
|
+
name: "slope",
|
|
142
|
+
type: "uint128",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
indexed: false,
|
|
146
|
+
internalType: "struct VeBalance",
|
|
147
|
+
name: "newTotalSupply",
|
|
148
|
+
type: "tuple",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
indexed: false,
|
|
152
|
+
internalType: "uint256[]",
|
|
153
|
+
name: "chainIds",
|
|
154
|
+
type: "uint256[]",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
name: "BroadcastTotalSupply",
|
|
158
|
+
type: "event",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
anonymous: false,
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
indexed: true,
|
|
165
|
+
internalType: "address",
|
|
166
|
+
name: "user",
|
|
167
|
+
type: "address",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
indexed: false,
|
|
171
|
+
internalType: "uint256[]",
|
|
172
|
+
name: "chainIds",
|
|
173
|
+
type: "uint256[]",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
name: "BroadcastUserPosition",
|
|
177
|
+
type: "event",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
anonymous: false,
|
|
181
|
+
inputs: [
|
|
182
|
+
{
|
|
183
|
+
indexed: false,
|
|
184
|
+
internalType: "uint8",
|
|
185
|
+
name: "version",
|
|
186
|
+
type: "uint8",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
name: "Initialized",
|
|
190
|
+
type: "event",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
anonymous: false,
|
|
194
|
+
inputs: [
|
|
195
|
+
{
|
|
196
|
+
indexed: true,
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "user",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
indexed: false,
|
|
203
|
+
internalType: "uint128",
|
|
204
|
+
name: "amount",
|
|
205
|
+
type: "uint128",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
indexed: false,
|
|
209
|
+
internalType: "uint128",
|
|
210
|
+
name: "expiry",
|
|
211
|
+
type: "uint128",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
name: "NewLockPosition",
|
|
215
|
+
type: "event",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
anonymous: false,
|
|
219
|
+
inputs: [
|
|
220
|
+
{
|
|
221
|
+
indexed: true,
|
|
222
|
+
internalType: "address",
|
|
223
|
+
name: "previousOwner",
|
|
224
|
+
type: "address",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
indexed: true,
|
|
228
|
+
internalType: "address",
|
|
229
|
+
name: "newOwner",
|
|
230
|
+
type: "address",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
name: "OwnershipTransferred",
|
|
234
|
+
type: "event",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
anonymous: false,
|
|
238
|
+
inputs: [
|
|
239
|
+
{
|
|
240
|
+
indexed: true,
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "user",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
indexed: false,
|
|
247
|
+
internalType: "uint128",
|
|
248
|
+
name: "amount",
|
|
249
|
+
type: "uint128",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
name: "Withdraw",
|
|
253
|
+
type: "event",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
inputs: [],
|
|
257
|
+
name: "MAX_LOCK_TIME",
|
|
258
|
+
outputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "uint128",
|
|
261
|
+
name: "",
|
|
262
|
+
type: "uint128",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
stateMutability: "view",
|
|
266
|
+
type: "function",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "MIN_LOCK_TIME",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "uint128",
|
|
274
|
+
name: "",
|
|
275
|
+
type: "uint128",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [],
|
|
283
|
+
name: "WEEK",
|
|
284
|
+
outputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint128",
|
|
287
|
+
name: "",
|
|
288
|
+
type: "uint128",
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
stateMutability: "view",
|
|
292
|
+
type: "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: "address",
|
|
298
|
+
name: "_address",
|
|
299
|
+
type: "address",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "_chainId",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
name: "addDestinationContract",
|
|
308
|
+
outputs: [],
|
|
309
|
+
stateMutability: "payable",
|
|
310
|
+
type: "function",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
inputs: [],
|
|
314
|
+
name: "approxDstExecutionGas",
|
|
315
|
+
outputs: [
|
|
316
|
+
{
|
|
317
|
+
internalType: "uint256",
|
|
318
|
+
name: "",
|
|
319
|
+
type: "uint256",
|
|
320
|
+
},
|
|
321
|
+
],
|
|
322
|
+
stateMutability: "view",
|
|
323
|
+
type: "function",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
inputs: [
|
|
327
|
+
{
|
|
328
|
+
internalType: "address",
|
|
329
|
+
name: "user",
|
|
330
|
+
type: "address",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
name: "balanceOf",
|
|
334
|
+
outputs: [
|
|
335
|
+
{
|
|
336
|
+
internalType: "uint128",
|
|
337
|
+
name: "",
|
|
338
|
+
type: "uint128",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
stateMutability: "view",
|
|
342
|
+
type: "function",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
inputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "uint256[]",
|
|
348
|
+
name: "chainIds",
|
|
349
|
+
type: "uint256[]",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
name: "broadcastTotalSupply",
|
|
353
|
+
outputs: [],
|
|
354
|
+
stateMutability: "payable",
|
|
355
|
+
type: "function",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "user",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
internalType: "uint256[]",
|
|
366
|
+
name: "chainIds",
|
|
367
|
+
type: "uint256[]",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
name: "broadcastUserPosition",
|
|
371
|
+
outputs: [],
|
|
372
|
+
stateMutability: "payable",
|
|
373
|
+
type: "function",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
inputs: [],
|
|
377
|
+
name: "claimOwnership",
|
|
378
|
+
outputs: [],
|
|
379
|
+
stateMutability: "nonpayable",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [],
|
|
384
|
+
name: "getAllDestinationContracts",
|
|
385
|
+
outputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "uint256[]",
|
|
388
|
+
name: "chainIds",
|
|
389
|
+
type: "uint256[]",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
internalType: "address[]",
|
|
393
|
+
name: "addrs",
|
|
394
|
+
type: "address[]",
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
stateMutability: "view",
|
|
398
|
+
type: "function",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
inputs: [
|
|
402
|
+
{
|
|
403
|
+
internalType: "uint256[]",
|
|
404
|
+
name: "chainIds",
|
|
405
|
+
type: "uint256[]",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "getBroadcastPositionFee",
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "fee",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
stateMutability: "view",
|
|
417
|
+
type: "function",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
inputs: [
|
|
421
|
+
{
|
|
422
|
+
internalType: "uint256[]",
|
|
423
|
+
name: "chainIds",
|
|
424
|
+
type: "uint256[]",
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
name: "getBroadcastSupplyFee",
|
|
428
|
+
outputs: [
|
|
429
|
+
{
|
|
430
|
+
internalType: "uint256",
|
|
431
|
+
name: "fee",
|
|
432
|
+
type: "uint256",
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
stateMutability: "view",
|
|
436
|
+
type: "function",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
inputs: [
|
|
440
|
+
{
|
|
441
|
+
internalType: "address",
|
|
442
|
+
name: "user",
|
|
443
|
+
type: "address",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
internalType: "uint256",
|
|
447
|
+
name: "index",
|
|
448
|
+
type: "uint256",
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
name: "getUserHistoryAt",
|
|
452
|
+
outputs: [
|
|
453
|
+
{
|
|
454
|
+
components: [
|
|
455
|
+
{
|
|
456
|
+
internalType: "uint128",
|
|
457
|
+
name: "timestamp",
|
|
458
|
+
type: "uint128",
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
components: [
|
|
462
|
+
{
|
|
463
|
+
internalType: "uint128",
|
|
464
|
+
name: "bias",
|
|
465
|
+
type: "uint128",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
internalType: "uint128",
|
|
469
|
+
name: "slope",
|
|
470
|
+
type: "uint128",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
internalType: "struct VeBalance",
|
|
474
|
+
name: "value",
|
|
475
|
+
type: "tuple",
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
internalType: "struct Checkpoint",
|
|
479
|
+
name: "",
|
|
480
|
+
type: "tuple",
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
stateMutability: "view",
|
|
484
|
+
type: "function",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
inputs: [
|
|
488
|
+
{
|
|
489
|
+
internalType: "address",
|
|
490
|
+
name: "user",
|
|
491
|
+
type: "address",
|
|
492
|
+
},
|
|
493
|
+
],
|
|
494
|
+
name: "getUserHistoryLength",
|
|
495
|
+
outputs: [
|
|
496
|
+
{
|
|
497
|
+
internalType: "uint256",
|
|
498
|
+
name: "",
|
|
499
|
+
type: "uint256",
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
stateMutability: "view",
|
|
503
|
+
type: "function",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
inputs: [
|
|
507
|
+
{
|
|
508
|
+
internalType: "uint128",
|
|
509
|
+
name: "additionalAmountToLock",
|
|
510
|
+
type: "uint128",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint128",
|
|
514
|
+
name: "newExpiry",
|
|
515
|
+
type: "uint128",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
name: "increaseLockPosition",
|
|
519
|
+
outputs: [
|
|
520
|
+
{
|
|
521
|
+
internalType: "uint128",
|
|
522
|
+
name: "newVeBalance",
|
|
523
|
+
type: "uint128",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
stateMutability: "nonpayable",
|
|
527
|
+
type: "function",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
inputs: [
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint128",
|
|
533
|
+
name: "additionalAmountToLock",
|
|
534
|
+
type: "uint128",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint128",
|
|
538
|
+
name: "newExpiry",
|
|
539
|
+
type: "uint128",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
internalType: "uint256[]",
|
|
543
|
+
name: "chainIds",
|
|
544
|
+
type: "uint256[]",
|
|
545
|
+
},
|
|
546
|
+
],
|
|
547
|
+
name: "increaseLockPositionAndBroadcast",
|
|
548
|
+
outputs: [
|
|
549
|
+
{
|
|
550
|
+
internalType: "uint128",
|
|
551
|
+
name: "newVeBalance",
|
|
552
|
+
type: "uint128",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
stateMutability: "payable",
|
|
556
|
+
type: "function",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
inputs: [],
|
|
560
|
+
name: "lastSlopeChangeAppliedAt",
|
|
561
|
+
outputs: [
|
|
562
|
+
{
|
|
563
|
+
internalType: "uint128",
|
|
564
|
+
name: "",
|
|
565
|
+
type: "uint128",
|
|
566
|
+
},
|
|
567
|
+
],
|
|
568
|
+
stateMutability: "view",
|
|
569
|
+
type: "function",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
inputs: [],
|
|
573
|
+
name: "owner",
|
|
574
|
+
outputs: [
|
|
575
|
+
{
|
|
576
|
+
internalType: "address",
|
|
577
|
+
name: "",
|
|
578
|
+
type: "address",
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
stateMutability: "view",
|
|
582
|
+
type: "function",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
inputs: [],
|
|
586
|
+
name: "pendingOwner",
|
|
587
|
+
outputs: [
|
|
588
|
+
{
|
|
589
|
+
internalType: "address",
|
|
590
|
+
name: "",
|
|
591
|
+
type: "address",
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
stateMutability: "view",
|
|
595
|
+
type: "function",
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
inputs: [],
|
|
599
|
+
name: "pendle",
|
|
600
|
+
outputs: [
|
|
601
|
+
{
|
|
602
|
+
internalType: "contract IERC20",
|
|
603
|
+
name: "",
|
|
604
|
+
type: "address",
|
|
605
|
+
},
|
|
606
|
+
],
|
|
607
|
+
stateMutability: "view",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
inputs: [],
|
|
612
|
+
name: "pendleMsgSendEndpoint",
|
|
613
|
+
outputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "contract IPMsgSendEndpoint",
|
|
616
|
+
name: "",
|
|
617
|
+
type: "address",
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
stateMutability: "view",
|
|
621
|
+
type: "function",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
inputs: [
|
|
625
|
+
{
|
|
626
|
+
internalType: "address",
|
|
627
|
+
name: "",
|
|
628
|
+
type: "address",
|
|
629
|
+
},
|
|
630
|
+
],
|
|
631
|
+
name: "positionData",
|
|
632
|
+
outputs: [
|
|
633
|
+
{
|
|
634
|
+
internalType: "uint128",
|
|
635
|
+
name: "amount",
|
|
636
|
+
type: "uint128",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
internalType: "uint128",
|
|
640
|
+
name: "expiry",
|
|
641
|
+
type: "uint128",
|
|
642
|
+
},
|
|
643
|
+
],
|
|
644
|
+
stateMutability: "view",
|
|
645
|
+
type: "function",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
inputs: [
|
|
649
|
+
{
|
|
650
|
+
internalType: "uint256",
|
|
651
|
+
name: "gas",
|
|
652
|
+
type: "uint256",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
name: "setApproxDstExecutionGas",
|
|
656
|
+
outputs: [],
|
|
657
|
+
stateMutability: "nonpayable",
|
|
658
|
+
type: "function",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
inputs: [
|
|
662
|
+
{
|
|
663
|
+
internalType: "uint128",
|
|
664
|
+
name: "",
|
|
665
|
+
type: "uint128",
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
name: "slopeChanges",
|
|
669
|
+
outputs: [
|
|
670
|
+
{
|
|
671
|
+
internalType: "uint128",
|
|
672
|
+
name: "",
|
|
673
|
+
type: "uint128",
|
|
674
|
+
},
|
|
675
|
+
],
|
|
676
|
+
stateMutability: "view",
|
|
677
|
+
type: "function",
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
inputs: [
|
|
681
|
+
{
|
|
682
|
+
internalType: "address",
|
|
683
|
+
name: "user",
|
|
684
|
+
type: "address",
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
name: "totalSupplyAndBalanceCurrent",
|
|
688
|
+
outputs: [
|
|
689
|
+
{
|
|
690
|
+
internalType: "uint128",
|
|
691
|
+
name: "",
|
|
692
|
+
type: "uint128",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
internalType: "uint128",
|
|
696
|
+
name: "",
|
|
697
|
+
type: "uint128",
|
|
698
|
+
},
|
|
699
|
+
],
|
|
700
|
+
stateMutability: "nonpayable",
|
|
701
|
+
type: "function",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
inputs: [
|
|
705
|
+
{
|
|
706
|
+
internalType: "uint128",
|
|
707
|
+
name: "",
|
|
708
|
+
type: "uint128",
|
|
709
|
+
},
|
|
710
|
+
],
|
|
711
|
+
name: "totalSupplyAt",
|
|
712
|
+
outputs: [
|
|
713
|
+
{
|
|
714
|
+
internalType: "uint128",
|
|
715
|
+
name: "",
|
|
716
|
+
type: "uint128",
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
stateMutability: "view",
|
|
720
|
+
type: "function",
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
inputs: [],
|
|
724
|
+
name: "totalSupplyCurrent",
|
|
725
|
+
outputs: [
|
|
726
|
+
{
|
|
727
|
+
internalType: "uint128",
|
|
728
|
+
name: "",
|
|
729
|
+
type: "uint128",
|
|
730
|
+
},
|
|
731
|
+
],
|
|
732
|
+
stateMutability: "nonpayable",
|
|
733
|
+
type: "function",
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
inputs: [],
|
|
737
|
+
name: "totalSupplyStored",
|
|
738
|
+
outputs: [
|
|
739
|
+
{
|
|
740
|
+
internalType: "uint128",
|
|
741
|
+
name: "",
|
|
742
|
+
type: "uint128",
|
|
743
|
+
},
|
|
744
|
+
],
|
|
745
|
+
stateMutability: "view",
|
|
746
|
+
type: "function",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
inputs: [
|
|
750
|
+
{
|
|
751
|
+
internalType: "address",
|
|
752
|
+
name: "newOwner",
|
|
753
|
+
type: "address",
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
internalType: "bool",
|
|
757
|
+
name: "direct",
|
|
758
|
+
type: "bool",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
internalType: "bool",
|
|
762
|
+
name: "renounce",
|
|
763
|
+
type: "bool",
|
|
764
|
+
},
|
|
765
|
+
],
|
|
766
|
+
name: "transferOwnership",
|
|
767
|
+
outputs: [],
|
|
768
|
+
stateMutability: "nonpayable",
|
|
769
|
+
type: "function",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
inputs: [],
|
|
773
|
+
name: "withdraw",
|
|
774
|
+
outputs: [
|
|
775
|
+
{
|
|
776
|
+
internalType: "uint128",
|
|
777
|
+
name: "amount",
|
|
778
|
+
type: "uint128",
|
|
779
|
+
},
|
|
780
|
+
],
|
|
781
|
+
stateMutability: "nonpayable",
|
|
782
|
+
type: "function",
|
|
783
|
+
},
|
|
784
|
+
];
|
|
785
|
+
|
|
786
|
+
const _bytecode =
|
|
787
|
+
"0x60c06040523480156200001157600080fd5b5060405162002a7f38038062002a7f83398101604081905262000034916200028f565b6001600160a01b0382166080526034819055600354600160a81b900460ff16158080156200006f57506003546001600160a01b90910460ff16105b80620000925750303b158015620000925750600354600160a01b900460ff166001145b620000fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6003805460ff60a01b1916600160a01b179055801562000129576003805460ff60a81b1916600160a81b1790555b6001600160a01b03841660a05262000140620001bd565b609c80546001600160801b0319166001600160801b03929092169190911790556200016a620001cf565b8015620001b3576003805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505062000346565b6000620001ca4262000252565b905090565b600354600160a81b900460ff166200023e5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000f2565b600280546001600160a01b03191633179055565b600062093a80620002648184620002d7565b6200027091906200030c565b92915050565b6001600160a01b03811681146200028c57600080fd5b50565b600080600060608486031215620002a557600080fd5b8351620002b28162000276565b6020850151909350620002c58162000276565b80925050604084015190509250925092565b60006001600160801b03838116806200030057634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6001600160801b038181168382160280821691908281146200033e57634e487b7160e01b600052601160045260246000fd5b505092915050565b60805160a0516126f06200038f6000396000818161039e015281816108070152610c980152600081816102e60152818161132701528181611bcf0152611c8e01526126f06000f3fe60806040526004361061015d5760003560e01c8063078dfbe7146101625780630b9efa2214610184578063210490281461019757806330d981af146101aa5780633b16c126146101d55780633ccfd60b146102035780633e39b650146102185780633ff032071461023b5780634e71e0c81461025257806370a08231146102675780637c386c7114610287578063814b2cac146102b457806389c071ea146102d45780638da5cb5b14610320578063947975d9146103405780639efc757514610376578063a2c530da1461038c578063b92e106a146103c0578063c8121ec2146103d3578063cb6b4f3c146103f3578063cc471bb814610442578063d45f5e2114610455578063d88e92a914610475578063e139a48d146104ab578063e268b3a4146104cb578063e30c3978146104eb578063ef1c243a1461050b578063f4359ce51461023b578063fa78668f14610520578063fc367c6114610538575b600080fd5b34801561016e57600080fd5b5061018261017d36600461203c565b610558565b005b6101826101923660046120c9565b61065e565b6101826101a536600461211b565b6106a0565b3480156101b657600080fd5b506101bf6106d6565b6040516101cc9190612145565b60405180910390f35b3480156101e157600080fd5b506101f56101f0366004612159565b6106f3565b6040519081526020016101cc565b34801561020f57600080fd5b506101bf61077a565b34801561022457600080fd5b5061022d61087c565b6040516101cc92919061219a565b34801561024757600080fd5b506101bf62093a8081565b34801561025e57600080fd5b50610182610980565b34801561027357600080fd5b506101bf61028236600461221e565b610a2c565b34801561029357600080fd5b506102a76102a236600461211b565b610a85565b6040516101cc9190612254565b3480156102c057600080fd5b50609c546101bf906001600160801b031681565b3480156102e057600080fd5b506103087f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101cc565b34801561032c57600080fd5b50600254610308906001600160a01b031681565b34801561034c57600080fd5b506101bf61035b36600461228f565b609e602052600090815260409020546001600160801b031681565b34801561038257600080fd5b506101f560345481565b34801561039857600080fd5b506103087f000000000000000000000000000000000000000000000000000000000000000081565b6101826103ce366004612159565b610ab6565b3480156103df57600080fd5b506101bf6103ee3660046122aa565b610ad6565b3480156103ff57600080fd5b5061043461040e36600461221e565b6001602052600090815260409020546001600160801b0380821691600160801b90041682565b6040516101cc9291906122dd565b6101bf6104503660046122f7565b610d22565b34801561046157600080fd5b50610182610470366004612357565b610d53565b34801561048157600080fd5b506101bf61049036600461228f565b609d602052600090815260409020546001600160801b031681565b3480156104b757600080fd5b506101f56104c6366004612159565b610d82565b3480156104d757600080fd5b506104346104e636600461221e565b610e44565b3480156104f757600080fd5b50600354610308906001600160a01b031681565b34801561051757600080fd5b506101bf610e61565b34801561052c57600080fd5b506101bf6303bfc40081565b34801561054457600080fd5b506101f561055336600461221e565b610e99565b6002546001600160a01b0316331461058b5760405162461bcd60e51b815260040161058290612370565b60405180910390fd5b811561063d576001600160a01b0383161515806105a55750805b6105e95760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610582565b6002546040516001600160a01b0380861692169060008051602061269b83398151915290600090a3600280546001600160a01b0385166001600160a01b031991821617909155600380549091169055505050565b600380546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b0383166106855760405163d92e233d60e01b815260040160405180910390fd5b610690838383610eb7565b4715610659576106593347611092565b6002546001600160a01b031633146106ca5760405162461bcd60e51b815260040161058290612370565b610659603582846111a8565b6000806106e16111be565b5090506106ed816112f9565b91505090565b6000805b828110156107735761075f848483818110610714576107146123a5565b6040805180820182526000808252602082810182905283518281528082018552940295909501359461074b9450929091810161240b565b60405160208183030381529060405261131b565b6107699083612453565b91506001016106f7565b5092915050565b600033610786816113bc565b6107a3576040516339ba104360e01b815260040160405180910390fd5b6001600160a01b0381166000908152600160205260408120546001600160801b031692508290036107e757604051631e95654360e11b815260040160405180910390fd5b6001600160a01b03808216600090815260016020526040812055610837907f000000000000000000000000000000000000000000000000000000000000000016826001600160801b0385166113ed565b806001600160a01b03167f0e1bb0545c1ebb9fb680bde73514e572831de93b479c087ec1ef6c35c3a19fd6836040516108709190612145565b60405180910390a25090565b606080600061088b6035611450565b9050806001600160401b038111156108a5576108a5612466565b6040519080825280602002602001820160405280156108ce578160200160208202803683370190505b509250806001600160401b038111156108e9576108e9612466565b604051908082528060200260200182016040528015610912578160200160208202803683370190505b50915060005b8181101561097a5761092b60358261145b565b85838151811061093d5761093d6123a5565b60200260200101858481518110610956576109566123a5565b6001600160a01b039093166020938402919091019092019190915252600101610918565b50509091565b6003546001600160a01b03163381146109db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610582565b6002546040516001600160a01b0380841692169060008051602061269b83398151915290600090a3600280546001600160a01b039092166001600160a01b0319928316179055600380549091169055565b6001600160a01b03811660009081526001602090815260408083208151808301909252546001600160801b038082168352600160801b9091041691810191909152610a7f90610a7a90611479565b6112f9565b92915050565b610a8d611fd0565b6001600160a01b0383166000908152609f60205260409020610aaf90836114bf565b9392505050565b610ac260008383610eb7565b4715610ad257610ad23347611092565b5050565b600033610aeb6001600160801b038416611535565b610b0a5782604051637bf16ce960e11b81526004016105829190612145565b6001600160801b0383164210610b35578260405163d928003560e01b81526004016105829190612145565b6001600160a01b0381166000908152600160205260409020546001600160801b03600160801b90910481169084161015610b8257604051631f8b0c5960e21b815260040160405180910390fd5b610b906303bfc40042612453565b836001600160801b03161115610bb957604051632739a01960e11b815260040160405180910390fd5b610bc662093a8042612453565b836001600160801b03161015610bef57604051630def6af560e21b815260040160405180910390fd5b6001600160a01b038116600090815260016020526040812054610c1b906001600160801b03168661247c565b9050806001600160801b0316600003610c47576040516323fbc14f60e11b815260040160405180910390fd5b6001600160a01b038216600090815260016020526040812054610c7a90600160801b90046001600160801b03168661249c565b90506001600160801b03861615610cc957610cc96001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001684306001600160801b038a1661154b565b610cd4838783611589565b9350826001600160a01b03167fb1a3371956c54dc1d83695b4a006b051c8313ee986e533b6b964e77c9066fc2c8387604051610d119291906122dd565b60405180910390a250505092915050565b6000610d2e8585610ad6565b9050610d3b33848461065e565b4715610d4b57610d4b3347611092565b949350505050565b6002546001600160a01b03163314610d7d5760405162461bcd60e51b815260040161058290612370565b603455565b6000805b8281101561077357610e30848483818110610da357610da36123a5565b905060200201356000604051806040016040528060006001600160801b0316815260200160006001600160801b03168152506000604051806040016040528060006001600160801b0316815260200160006001600160801b0316815250604051602001610e119291906124bc565b60408051601f198184030181529082905261074b93929160200161240b565b610e3a9083612453565b9150600101610d86565b600080610e4f6106d6565b610e5884610a2c565b91509150915091565b60408051808201909152600080546001600160801b038082168452600160801b90910416602083015290610e94906112f9565b905090565b6001600160a01b0381166000908152609f6020526040812054610a7f565b6000819003610ed957604051633c4d929d60e21b815260040160405180910390fd5b6000610ee36111be565b50905060006001600160a01b03851615610f4e576001600160a01b03851660008181526001602090815260409182902082519182019390935291546001600160801b03811691830191909152608090811c606083015201604051602081830303815290604052610f5e565b6040805160008152602081019091525b905060005b83811015610ffc57610f97858583818110610f8057610f806123a5565b90506020020135603561178990919063ffffffff16565b610fd057848482818110610fad57610fad6123a5565b9050602002013560405163264e42cf60e01b815260040161058291815260200190565b610ff4858583818110610fe557610fe56123a5565b90506020020135428585611795565b600101610f63565b506001600160a01b0385161561105057846001600160a01b03167f82e92e1b0568d98f095fc0c76ccb0f2ac5b64534f69a2c706281e223b6477683858560405161104792919061250b565b60405180910390a25b7f5f9e7cb1ed2eca254f75b6e350699887aa8597e3a2ec9e0aa2b3504c211facbd8285856040516110839392919061251f565b60405180910390a15050505050565b804710156110e25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610582565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461112f576040519150601f19603f3d011682016040523d82523d6000602084013e611134565b606091505b50509050806106595760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b6064820152608401610582565b6000610d4b84846001600160a01b0385166117c2565b6111c6611ff8565b60408051808201909152600080546001600160801b038082168452600160801b90910481166020840152609c5491929116826112006117df565b9050806001600160801b0316826001600160801b031610611225575090939092509050565b806001600160801b0316826001600160801b031610156112b65761124c62093a808361247c565b6001600160801b038082166000908152609d602052604090205491935061127691859116846117ea565b92506112828383611838565b6001600160801b038381166000908152609e6020526040902080546001600160801b03191692909116919091179055611225565b50815160208301516001600160801b03918216600160801b9183169190910217600055609c80546001600160801b03191691831691909117905590939092509050565b60006113048261188b565b1561131157506000919050565b610a7f8242611838565b60006001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166384fe17216113576035866118bc565b85856034546040518563ffffffff1660e01b815260040161137b9493929190612540565b602060405180830381865afa158015611398573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190612578565b6001600160a01b038116600090815260016020526040812054600160801b90046001600160801b0316421015610a7f565b6040516001600160a01b03831660248201526044810182905261065990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526118c8565b6000610a7f8261199d565b600080808061146a86866119a8565b909450925050505b9250929050565b611481611ff8565b8151611492906303bfc400906125a7565b6001600160801b031660208083018290528301516114af916125cd565b6001600160801b03168152919050565b6114c7611fd0565b8260000182815481106114dc576114dc6123a5565b6000918252602091829020604080518082018252600290930290910180546001600160801b03908116845282518084019093526001909101548082168352600160801b9004168184015291810191909152905092915050565b600061154462093a80836125f8565b1592915050565b6040516001600160a01b03808516602483015283166044820152606481018290526115839085906323b872dd60e01b90608401611419565b50505050565b6001600160a01b03831660009081526001602090815260408083208151808301909252546001600160801b038082168352600160801b9091041691810191909152816115d36111be565b5090506115ed82602001516001600160801b031642101590565b6116675760006115fc83611479565b905061160882826119d3565b602080830151858201516001600160801b039081166000908152609d90935260408320805494965091939192916116419185911661249c565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550505b60006040518060400160405280878560000151611684919061247c565b6001600160801b031681526020018685602001516116a2919061247c565b6001600160801b03169052905060006116ba82611479565b90506116c68382611a1c565b602080830151848201516001600160801b039081166000908152609d90935260408320805494975091939192916116ff9185911661247c565b82546101009290920a6001600160801b038181021990931691831602179091558451602080870151918316600160801b92841683021760009081556001600160a01b038d168152600182526040808220885189850151908716961690940294909417909255609f905220611774915082611a51565b61177d816112f9565b98975050505050505050565b6000610aaf8383611b7e565b611583848484846040516020016117ae9392919061260c565b604051602081830303815290604052611b8a565b60008281526002840160205260408120829055610d4b8484611d04565b6000610e9442611d10565b6117f2611ff8565b828460200151611802919061249c565b6001600160801b0316602082015261181a82846125cd565b8451611826919061249c565b6001600160801b031681529392505050565b600082600001516001600160801b031682846020015161185891906125cd565b6001600160801b0316111561186f57506000610a7f565b81836020015161187f91906125cd565b8351610aaf919061249c565b600081600001516001600160801b03164283602001516118ab91906125cd565b6001600160801b0316101592915050565b6000610aaf8383611d2a565b600061191d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d9a9092919063ffffffff16565b905080516000148061193e57508080602001905181019061193e9190612625565b6106595760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610582565b6000610a7f82611da9565b600080806119b68585611db3565b600081815260029690960160205260409095205494959350505050565b6119db611ff8565b815183516119e9919061249c565b6001600160801b0316815260208083015190840151611a08919061249c565b6001600160801b0316602082015292915050565b611a24611ff8565b81518351611a32919061247c565b6001600160801b0316815260208083015190840151611a08919061247c565b81548015801590611aa65750611a656117df565b6001600160801b031683611a7a600184612642565b81548110611a8a57611a8a6123a5565b60009182526020909120600290910201546001600160801b0316145b15611b05578183611ab8600184612642565b81548110611ac857611ac86123a5565b6000918252602091829020835193909201516001600160801b03908116600160801b02931692909217600160029093029091019190910155505050565b826000016040518060400160405280611b1c6117df565b6001600160801b0390811682526020918201869052835460018181018655600095865294839020845160029092020180549183166001600160801b03199092169190911781559282015180519201518116600160801b02911617910155505050565b6000610aaf8383611dbf565b611b95603583611789565b611ba157611ba1612655565b6000611bae6035846118bc565b6034546040516384fe172160e01b8152919250906000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906384fe172190611c0a908690899089908890600401612540565b602060405180830381865afa158015611c27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4b9190612578565b905080471015611c775760405163704c5be560e11b815247600482015260248101829052604401610582565b60405163b2267a7b60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b2267a7b908390611ccb9087908a908a908990600401612540565b6000604051808303818588803b158015611ce457600080fd5b505af1158015611cf8573d6000803e3d6000fd5b50505050505050505050565b6000610aaf8383611dcb565b600062093a80611d2081846125a7565b610a7f91906125cd565b600081815260028301602052604081205480151580611d4e5750611d4e8484611b7e565b610aaf5760405162461bcd60e51b815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b657900006044820152606401610582565b6060610d4b8484600085611e15565b6000610a7f825490565b6000610aaf8383611ef0565b6000610aaf8383611f1a565b6000611dd78383611f1a565b611e0d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a7f565b506000610a7f565b606082471015611e765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610582565b600080866001600160a01b03168587604051611e92919061266b565b60006040518083038185875af1925050503d8060008114611ecf576040519150601f19603f3d011682016040523d82523d6000602084013e611ed4565b606091505b5091509150611ee587838387611f32565b979650505050505050565b6000826000018281548110611f0757611f076123a5565b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b60608315611fa1578251600003611f9a576001600160a01b0385163b611f9a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610582565b5081610d4b565b610d4b8383815115611fb65781518083602001fd5b8060405162461bcd60e51b81526004016105829190612687565b604051806040016040528060006001600160801b03168152602001611ff3611ff8565b905290565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461202657600080fd5b919050565b801515811461203957600080fd5b50565b60008060006060848603121561205157600080fd5b61205a8461200f565b9250602084013561206a8161202b565b9150604084013561207a8161202b565b809150509250925092565b60008083601f84011261209757600080fd5b5081356001600160401b038111156120ae57600080fd5b6020830191508360208260051b850101111561147257600080fd5b6000806000604084860312156120de57600080fd5b6120e78461200f565b925060208401356001600160401b0381111561210257600080fd5b61210e86828701612085565b9497909650939450505050565b6000806040838503121561212e57600080fd5b6121378361200f565b946020939093013593505050565b6001600160801b0391909116815260200190565b6000806020838503121561216c57600080fd5b82356001600160401b0381111561218257600080fd5b61218e85828601612085565b90969095509350505050565b604080825283519082018190526000906020906060840190828701845b828110156121d3578151845292840192908401906001016121b7565b5050508381038285015284518082528583019183019060005b818110156122115783516001600160a01b0316835292840192918401916001016121ec565b5090979650505050505050565b60006020828403121561223057600080fd5b610aaf8261200f565b80516001600160801b03908116835260209182015116910152565b81516001600160801b03168152602080830151606083019161077390840182612239565b80356001600160801b038116811461202657600080fd5b6000602082840312156122a157600080fd5b610aaf82612278565b600080604083850312156122bd57600080fd5b6122c683612278565b91506122d460208401612278565b90509250929050565b6001600160801b0392831681529116602082015260400190565b6000806000806060858703121561230d57600080fd5b61231685612278565b935061232460208601612278565b925060408501356001600160401b0381111561233f57600080fd5b61234b87828801612085565b95989497509550505050565b60006020828403121561236957600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60005b838110156123d65781810151838201526020016123be565b50506000910152565b600081518084526123f78160208601602086016123bb565b601f01601f19169290920160200192915050565b60ff8416815261241e6020820184612239565b60806060820152600061243460808301846123df565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a7f57610a7f61243d565b634e487b7160e01b600052604160045260246000fd5b6001600160801b038181168382160190808211156107735761077361243d565b6001600160801b038281168282160390808211156107735761077361243d565b6001600160a01b038316815260608101610aaf6020830184612239565b81835260006001600160fb1b038311156124f257600080fd5b8260051b80836020870137939093016020019392505050565b602081526000610d4b6020830184866124d9565b6125298185612239565b6060604082015260006124346060830184866124d9565b60018060a01b038516815283602082015260806040820152600061256760808301856123df565b905082606083015295945050505050565b60006020828403121561258a57600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b60006001600160801b03838116806125c1576125c1612591565b92169190910492915050565b6001600160801b038181168382160280821691908281146125f0576125f061243d565b505092915050565b60008261260757612607612591565b500690565b6001600160801b038416815261241e6020820184612239565b60006020828403121561263757600080fd5b8151610aaf8161202b565b81810381811115610a7f57610a7f61243d565b634e487b7160e01b600052600160045260246000fd5b6000825161267d8184602087016123bb565b9190910192915050565b602081526000610aaf60208301846123df56fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220c2fcb641e024eab82027891377006bbfb0635632652d30ef6af2e1e786b3b53764736f6c63430008170033";
|
|
788
|
+
|
|
789
|
+
type VotingEscrowPendleMainchainConstructorParams =
|
|
790
|
+
| [signer?: Signer]
|
|
791
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
792
|
+
|
|
793
|
+
const isSuperArgs = (
|
|
794
|
+
xs: VotingEscrowPendleMainchainConstructorParams
|
|
795
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
796
|
+
|
|
797
|
+
export class VotingEscrowPendleMainchain__factory extends ContractFactory {
|
|
798
|
+
constructor(...args: VotingEscrowPendleMainchainConstructorParams) {
|
|
799
|
+
if (isSuperArgs(args)) {
|
|
800
|
+
super(...args);
|
|
801
|
+
} else {
|
|
802
|
+
super(_abi, _bytecode, args[0]);
|
|
803
|
+
}
|
|
804
|
+
this.contractName = "VotingEscrowPendleMainchain";
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
deploy(
|
|
808
|
+
_pendle: string,
|
|
809
|
+
_pendleMsgSendEndpoint: string,
|
|
810
|
+
initialApproxDestinationGas: BigNumberish,
|
|
811
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
812
|
+
): Promise<VotingEscrowPendleMainchain> {
|
|
813
|
+
return super.deploy(
|
|
814
|
+
_pendle,
|
|
815
|
+
_pendleMsgSendEndpoint,
|
|
816
|
+
initialApproxDestinationGas,
|
|
817
|
+
overrides || {}
|
|
818
|
+
) as Promise<VotingEscrowPendleMainchain>;
|
|
819
|
+
}
|
|
820
|
+
getDeployTransaction(
|
|
821
|
+
_pendle: string,
|
|
822
|
+
_pendleMsgSendEndpoint: string,
|
|
823
|
+
initialApproxDestinationGas: BigNumberish,
|
|
824
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
825
|
+
): TransactionRequest {
|
|
826
|
+
return super.getDeployTransaction(
|
|
827
|
+
_pendle,
|
|
828
|
+
_pendleMsgSendEndpoint,
|
|
829
|
+
initialApproxDestinationGas,
|
|
830
|
+
overrides || {}
|
|
831
|
+
);
|
|
832
|
+
}
|
|
833
|
+
attach(address: string): VotingEscrowPendleMainchain {
|
|
834
|
+
return super.attach(address) as VotingEscrowPendleMainchain;
|
|
835
|
+
}
|
|
836
|
+
connect(signer: Signer): VotingEscrowPendleMainchain__factory {
|
|
837
|
+
return super.connect(signer) as VotingEscrowPendleMainchain__factory;
|
|
838
|
+
}
|
|
839
|
+
static readonly contractName: "VotingEscrowPendleMainchain";
|
|
840
|
+
public readonly contractName: "VotingEscrowPendleMainchain";
|
|
841
|
+
static readonly bytecode = _bytecode;
|
|
842
|
+
static readonly abi = _abi;
|
|
843
|
+
static createInterface(): VotingEscrowPendleMainchainInterface {
|
|
844
|
+
return new utils.Interface(_abi) as VotingEscrowPendleMainchainInterface;
|
|
845
|
+
}
|
|
846
|
+
static connect(
|
|
847
|
+
address: string,
|
|
848
|
+
signerOrProvider: Signer | Provider
|
|
849
|
+
): VotingEscrowPendleMainchain {
|
|
850
|
+
return new Contract(
|
|
851
|
+
address,
|
|
852
|
+
_abi,
|
|
853
|
+
signerOrProvider
|
|
854
|
+
) as VotingEscrowPendleMainchain;
|
|
855
|
+
}
|
|
856
|
+
}
|