@pendle/core-v2 5.6.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/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/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- 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/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -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/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/IPPoolDeployHelperV2.sol +36 -0
- package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
- 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/146-core.json +47 -0
- package/deployments/146-offchain-helper.json +6 -0
- package/package.json +1 -1
- 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/IPActionMarketCoreStatic.ts +1974 -0
- package/typechain-types/IPCommonSYFactory.ts +111 -0
- package/typechain-types/IPMarket.ts +1045 -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/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/PendleMarket.ts +1207 -0
- package/typechain-types/PendleMarketFactory.ts +906 -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 +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/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/IPActionMarketCoreStatic__factory.ts +1300 -0
- package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -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 +1 -1
- 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/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
- 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,1045 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PayableOverrides,
|
|
13
|
+
PopulatedTransaction,
|
|
14
|
+
Signer,
|
|
15
|
+
utils,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
18
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
+
import type {
|
|
20
|
+
TypedEventFilter,
|
|
21
|
+
TypedEvent,
|
|
22
|
+
TypedListener,
|
|
23
|
+
OnEvent,
|
|
24
|
+
} from "./common";
|
|
25
|
+
|
|
26
|
+
export type VeBalanceStruct = { bias: BigNumberish; slope: BigNumberish };
|
|
27
|
+
|
|
28
|
+
export type VeBalanceStructOutput = [BigNumber, BigNumber] & {
|
|
29
|
+
bias: BigNumber;
|
|
30
|
+
slope: BigNumber;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type CheckpointStruct = {
|
|
34
|
+
timestamp: BigNumberish;
|
|
35
|
+
value: VeBalanceStruct;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type CheckpointStructOutput = [BigNumber, VeBalanceStructOutput] & {
|
|
39
|
+
timestamp: BigNumber;
|
|
40
|
+
value: VeBalanceStructOutput;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export interface VotingEscrowPendleMainchainInterface extends utils.Interface {
|
|
44
|
+
contractName: "VotingEscrowPendleMainchain";
|
|
45
|
+
functions: {
|
|
46
|
+
"MAX_LOCK_TIME()": FunctionFragment;
|
|
47
|
+
"MIN_LOCK_TIME()": FunctionFragment;
|
|
48
|
+
"WEEK()": FunctionFragment;
|
|
49
|
+
"addDestinationContract(address,uint256)": FunctionFragment;
|
|
50
|
+
"approxDstExecutionGas()": FunctionFragment;
|
|
51
|
+
"balanceOf(address)": FunctionFragment;
|
|
52
|
+
"broadcastTotalSupply(uint256[])": FunctionFragment;
|
|
53
|
+
"broadcastUserPosition(address,uint256[])": FunctionFragment;
|
|
54
|
+
"claimOwnership()": FunctionFragment;
|
|
55
|
+
"getAllDestinationContracts()": FunctionFragment;
|
|
56
|
+
"getBroadcastPositionFee(uint256[])": FunctionFragment;
|
|
57
|
+
"getBroadcastSupplyFee(uint256[])": FunctionFragment;
|
|
58
|
+
"getUserHistoryAt(address,uint256)": FunctionFragment;
|
|
59
|
+
"getUserHistoryLength(address)": FunctionFragment;
|
|
60
|
+
"increaseLockPosition(uint128,uint128)": FunctionFragment;
|
|
61
|
+
"increaseLockPositionAndBroadcast(uint128,uint128,uint256[])": FunctionFragment;
|
|
62
|
+
"lastSlopeChangeAppliedAt()": FunctionFragment;
|
|
63
|
+
"owner()": FunctionFragment;
|
|
64
|
+
"pendingOwner()": FunctionFragment;
|
|
65
|
+
"pendle()": FunctionFragment;
|
|
66
|
+
"pendleMsgSendEndpoint()": FunctionFragment;
|
|
67
|
+
"positionData(address)": FunctionFragment;
|
|
68
|
+
"setApproxDstExecutionGas(uint256)": FunctionFragment;
|
|
69
|
+
"slopeChanges(uint128)": FunctionFragment;
|
|
70
|
+
"totalSupplyAndBalanceCurrent(address)": FunctionFragment;
|
|
71
|
+
"totalSupplyAt(uint128)": FunctionFragment;
|
|
72
|
+
"totalSupplyCurrent()": FunctionFragment;
|
|
73
|
+
"totalSupplyStored()": FunctionFragment;
|
|
74
|
+
"transferOwnership(address,bool,bool)": FunctionFragment;
|
|
75
|
+
"withdraw()": FunctionFragment;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
encodeFunctionData(
|
|
79
|
+
functionFragment: "MAX_LOCK_TIME",
|
|
80
|
+
values?: undefined
|
|
81
|
+
): string;
|
|
82
|
+
encodeFunctionData(
|
|
83
|
+
functionFragment: "MIN_LOCK_TIME",
|
|
84
|
+
values?: undefined
|
|
85
|
+
): string;
|
|
86
|
+
encodeFunctionData(functionFragment: "WEEK", values?: undefined): string;
|
|
87
|
+
encodeFunctionData(
|
|
88
|
+
functionFragment: "addDestinationContract",
|
|
89
|
+
values: [string, BigNumberish]
|
|
90
|
+
): string;
|
|
91
|
+
encodeFunctionData(
|
|
92
|
+
functionFragment: "approxDstExecutionGas",
|
|
93
|
+
values?: undefined
|
|
94
|
+
): string;
|
|
95
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
|
96
|
+
encodeFunctionData(
|
|
97
|
+
functionFragment: "broadcastTotalSupply",
|
|
98
|
+
values: [BigNumberish[]]
|
|
99
|
+
): string;
|
|
100
|
+
encodeFunctionData(
|
|
101
|
+
functionFragment: "broadcastUserPosition",
|
|
102
|
+
values: [string, BigNumberish[]]
|
|
103
|
+
): string;
|
|
104
|
+
encodeFunctionData(
|
|
105
|
+
functionFragment: "claimOwnership",
|
|
106
|
+
values?: undefined
|
|
107
|
+
): string;
|
|
108
|
+
encodeFunctionData(
|
|
109
|
+
functionFragment: "getAllDestinationContracts",
|
|
110
|
+
values?: undefined
|
|
111
|
+
): string;
|
|
112
|
+
encodeFunctionData(
|
|
113
|
+
functionFragment: "getBroadcastPositionFee",
|
|
114
|
+
values: [BigNumberish[]]
|
|
115
|
+
): string;
|
|
116
|
+
encodeFunctionData(
|
|
117
|
+
functionFragment: "getBroadcastSupplyFee",
|
|
118
|
+
values: [BigNumberish[]]
|
|
119
|
+
): string;
|
|
120
|
+
encodeFunctionData(
|
|
121
|
+
functionFragment: "getUserHistoryAt",
|
|
122
|
+
values: [string, BigNumberish]
|
|
123
|
+
): string;
|
|
124
|
+
encodeFunctionData(
|
|
125
|
+
functionFragment: "getUserHistoryLength",
|
|
126
|
+
values: [string]
|
|
127
|
+
): string;
|
|
128
|
+
encodeFunctionData(
|
|
129
|
+
functionFragment: "increaseLockPosition",
|
|
130
|
+
values: [BigNumberish, BigNumberish]
|
|
131
|
+
): string;
|
|
132
|
+
encodeFunctionData(
|
|
133
|
+
functionFragment: "increaseLockPositionAndBroadcast",
|
|
134
|
+
values: [BigNumberish, BigNumberish, BigNumberish[]]
|
|
135
|
+
): string;
|
|
136
|
+
encodeFunctionData(
|
|
137
|
+
functionFragment: "lastSlopeChangeAppliedAt",
|
|
138
|
+
values?: undefined
|
|
139
|
+
): string;
|
|
140
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
141
|
+
encodeFunctionData(
|
|
142
|
+
functionFragment: "pendingOwner",
|
|
143
|
+
values?: undefined
|
|
144
|
+
): string;
|
|
145
|
+
encodeFunctionData(functionFragment: "pendle", values?: undefined): string;
|
|
146
|
+
encodeFunctionData(
|
|
147
|
+
functionFragment: "pendleMsgSendEndpoint",
|
|
148
|
+
values?: undefined
|
|
149
|
+
): string;
|
|
150
|
+
encodeFunctionData(
|
|
151
|
+
functionFragment: "positionData",
|
|
152
|
+
values: [string]
|
|
153
|
+
): string;
|
|
154
|
+
encodeFunctionData(
|
|
155
|
+
functionFragment: "setApproxDstExecutionGas",
|
|
156
|
+
values: [BigNumberish]
|
|
157
|
+
): string;
|
|
158
|
+
encodeFunctionData(
|
|
159
|
+
functionFragment: "slopeChanges",
|
|
160
|
+
values: [BigNumberish]
|
|
161
|
+
): string;
|
|
162
|
+
encodeFunctionData(
|
|
163
|
+
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
164
|
+
values: [string]
|
|
165
|
+
): string;
|
|
166
|
+
encodeFunctionData(
|
|
167
|
+
functionFragment: "totalSupplyAt",
|
|
168
|
+
values: [BigNumberish]
|
|
169
|
+
): string;
|
|
170
|
+
encodeFunctionData(
|
|
171
|
+
functionFragment: "totalSupplyCurrent",
|
|
172
|
+
values?: undefined
|
|
173
|
+
): string;
|
|
174
|
+
encodeFunctionData(
|
|
175
|
+
functionFragment: "totalSupplyStored",
|
|
176
|
+
values?: undefined
|
|
177
|
+
): string;
|
|
178
|
+
encodeFunctionData(
|
|
179
|
+
functionFragment: "transferOwnership",
|
|
180
|
+
values: [string, boolean, boolean]
|
|
181
|
+
): string;
|
|
182
|
+
encodeFunctionData(functionFragment: "withdraw", values?: undefined): string;
|
|
183
|
+
|
|
184
|
+
decodeFunctionResult(
|
|
185
|
+
functionFragment: "MAX_LOCK_TIME",
|
|
186
|
+
data: BytesLike
|
|
187
|
+
): Result;
|
|
188
|
+
decodeFunctionResult(
|
|
189
|
+
functionFragment: "MIN_LOCK_TIME",
|
|
190
|
+
data: BytesLike
|
|
191
|
+
): Result;
|
|
192
|
+
decodeFunctionResult(functionFragment: "WEEK", data: BytesLike): Result;
|
|
193
|
+
decodeFunctionResult(
|
|
194
|
+
functionFragment: "addDestinationContract",
|
|
195
|
+
data: BytesLike
|
|
196
|
+
): Result;
|
|
197
|
+
decodeFunctionResult(
|
|
198
|
+
functionFragment: "approxDstExecutionGas",
|
|
199
|
+
data: BytesLike
|
|
200
|
+
): Result;
|
|
201
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
202
|
+
decodeFunctionResult(
|
|
203
|
+
functionFragment: "broadcastTotalSupply",
|
|
204
|
+
data: BytesLike
|
|
205
|
+
): Result;
|
|
206
|
+
decodeFunctionResult(
|
|
207
|
+
functionFragment: "broadcastUserPosition",
|
|
208
|
+
data: BytesLike
|
|
209
|
+
): Result;
|
|
210
|
+
decodeFunctionResult(
|
|
211
|
+
functionFragment: "claimOwnership",
|
|
212
|
+
data: BytesLike
|
|
213
|
+
): Result;
|
|
214
|
+
decodeFunctionResult(
|
|
215
|
+
functionFragment: "getAllDestinationContracts",
|
|
216
|
+
data: BytesLike
|
|
217
|
+
): Result;
|
|
218
|
+
decodeFunctionResult(
|
|
219
|
+
functionFragment: "getBroadcastPositionFee",
|
|
220
|
+
data: BytesLike
|
|
221
|
+
): Result;
|
|
222
|
+
decodeFunctionResult(
|
|
223
|
+
functionFragment: "getBroadcastSupplyFee",
|
|
224
|
+
data: BytesLike
|
|
225
|
+
): Result;
|
|
226
|
+
decodeFunctionResult(
|
|
227
|
+
functionFragment: "getUserHistoryAt",
|
|
228
|
+
data: BytesLike
|
|
229
|
+
): Result;
|
|
230
|
+
decodeFunctionResult(
|
|
231
|
+
functionFragment: "getUserHistoryLength",
|
|
232
|
+
data: BytesLike
|
|
233
|
+
): Result;
|
|
234
|
+
decodeFunctionResult(
|
|
235
|
+
functionFragment: "increaseLockPosition",
|
|
236
|
+
data: BytesLike
|
|
237
|
+
): Result;
|
|
238
|
+
decodeFunctionResult(
|
|
239
|
+
functionFragment: "increaseLockPositionAndBroadcast",
|
|
240
|
+
data: BytesLike
|
|
241
|
+
): Result;
|
|
242
|
+
decodeFunctionResult(
|
|
243
|
+
functionFragment: "lastSlopeChangeAppliedAt",
|
|
244
|
+
data: BytesLike
|
|
245
|
+
): Result;
|
|
246
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
247
|
+
decodeFunctionResult(
|
|
248
|
+
functionFragment: "pendingOwner",
|
|
249
|
+
data: BytesLike
|
|
250
|
+
): Result;
|
|
251
|
+
decodeFunctionResult(functionFragment: "pendle", data: BytesLike): Result;
|
|
252
|
+
decodeFunctionResult(
|
|
253
|
+
functionFragment: "pendleMsgSendEndpoint",
|
|
254
|
+
data: BytesLike
|
|
255
|
+
): Result;
|
|
256
|
+
decodeFunctionResult(
|
|
257
|
+
functionFragment: "positionData",
|
|
258
|
+
data: BytesLike
|
|
259
|
+
): Result;
|
|
260
|
+
decodeFunctionResult(
|
|
261
|
+
functionFragment: "setApproxDstExecutionGas",
|
|
262
|
+
data: BytesLike
|
|
263
|
+
): Result;
|
|
264
|
+
decodeFunctionResult(
|
|
265
|
+
functionFragment: "slopeChanges",
|
|
266
|
+
data: BytesLike
|
|
267
|
+
): Result;
|
|
268
|
+
decodeFunctionResult(
|
|
269
|
+
functionFragment: "totalSupplyAndBalanceCurrent",
|
|
270
|
+
data: BytesLike
|
|
271
|
+
): Result;
|
|
272
|
+
decodeFunctionResult(
|
|
273
|
+
functionFragment: "totalSupplyAt",
|
|
274
|
+
data: BytesLike
|
|
275
|
+
): Result;
|
|
276
|
+
decodeFunctionResult(
|
|
277
|
+
functionFragment: "totalSupplyCurrent",
|
|
278
|
+
data: BytesLike
|
|
279
|
+
): Result;
|
|
280
|
+
decodeFunctionResult(
|
|
281
|
+
functionFragment: "totalSupplyStored",
|
|
282
|
+
data: BytesLike
|
|
283
|
+
): Result;
|
|
284
|
+
decodeFunctionResult(
|
|
285
|
+
functionFragment: "transferOwnership",
|
|
286
|
+
data: BytesLike
|
|
287
|
+
): Result;
|
|
288
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
289
|
+
|
|
290
|
+
events: {
|
|
291
|
+
"BroadcastTotalSupply(tuple,uint256[])": EventFragment;
|
|
292
|
+
"BroadcastUserPosition(address,uint256[])": EventFragment;
|
|
293
|
+
"Initialized(uint8)": EventFragment;
|
|
294
|
+
"NewLockPosition(address,uint128,uint128)": EventFragment;
|
|
295
|
+
"OwnershipTransferred(address,address)": EventFragment;
|
|
296
|
+
"Withdraw(address,uint128)": EventFragment;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
getEvent(nameOrSignatureOrTopic: "BroadcastTotalSupply"): EventFragment;
|
|
300
|
+
getEvent(nameOrSignatureOrTopic: "BroadcastUserPosition"): EventFragment;
|
|
301
|
+
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
302
|
+
getEvent(nameOrSignatureOrTopic: "NewLockPosition"): EventFragment;
|
|
303
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
304
|
+
getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type BroadcastTotalSupplyEvent = TypedEvent<
|
|
308
|
+
[VeBalanceStructOutput, BigNumber[]],
|
|
309
|
+
{ newTotalSupply: VeBalanceStructOutput; chainIds: BigNumber[] }
|
|
310
|
+
>;
|
|
311
|
+
|
|
312
|
+
export type BroadcastTotalSupplyEventFilter =
|
|
313
|
+
TypedEventFilter<BroadcastTotalSupplyEvent>;
|
|
314
|
+
|
|
315
|
+
export type BroadcastUserPositionEvent = TypedEvent<
|
|
316
|
+
[string, BigNumber[]],
|
|
317
|
+
{ user: string; chainIds: BigNumber[] }
|
|
318
|
+
>;
|
|
319
|
+
|
|
320
|
+
export type BroadcastUserPositionEventFilter =
|
|
321
|
+
TypedEventFilter<BroadcastUserPositionEvent>;
|
|
322
|
+
|
|
323
|
+
export type InitializedEvent = TypedEvent<[number], { version: number }>;
|
|
324
|
+
|
|
325
|
+
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
326
|
+
|
|
327
|
+
export type NewLockPositionEvent = TypedEvent<
|
|
328
|
+
[string, BigNumber, BigNumber],
|
|
329
|
+
{ user: string; amount: BigNumber; expiry: BigNumber }
|
|
330
|
+
>;
|
|
331
|
+
|
|
332
|
+
export type NewLockPositionEventFilter = TypedEventFilter<NewLockPositionEvent>;
|
|
333
|
+
|
|
334
|
+
export type OwnershipTransferredEvent = TypedEvent<
|
|
335
|
+
[string, string],
|
|
336
|
+
{ previousOwner: string; newOwner: string }
|
|
337
|
+
>;
|
|
338
|
+
|
|
339
|
+
export type OwnershipTransferredEventFilter =
|
|
340
|
+
TypedEventFilter<OwnershipTransferredEvent>;
|
|
341
|
+
|
|
342
|
+
export type WithdrawEvent = TypedEvent<
|
|
343
|
+
[string, BigNumber],
|
|
344
|
+
{ user: string; amount: BigNumber }
|
|
345
|
+
>;
|
|
346
|
+
|
|
347
|
+
export type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
|
|
348
|
+
|
|
349
|
+
export interface VotingEscrowPendleMainchain extends BaseContract {
|
|
350
|
+
contractName: "VotingEscrowPendleMainchain";
|
|
351
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
352
|
+
attach(addressOrName: string): this;
|
|
353
|
+
deployed(): Promise<this>;
|
|
354
|
+
|
|
355
|
+
interface: VotingEscrowPendleMainchainInterface;
|
|
356
|
+
|
|
357
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
358
|
+
event: TypedEventFilter<TEvent>,
|
|
359
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
360
|
+
toBlock?: string | number | undefined
|
|
361
|
+
): Promise<Array<TEvent>>;
|
|
362
|
+
|
|
363
|
+
listeners<TEvent extends TypedEvent>(
|
|
364
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
365
|
+
): Array<TypedListener<TEvent>>;
|
|
366
|
+
listeners(eventName?: string): Array<Listener>;
|
|
367
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
368
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
369
|
+
): this;
|
|
370
|
+
removeAllListeners(eventName?: string): this;
|
|
371
|
+
off: OnEvent<this>;
|
|
372
|
+
on: OnEvent<this>;
|
|
373
|
+
once: OnEvent<this>;
|
|
374
|
+
removeListener: OnEvent<this>;
|
|
375
|
+
|
|
376
|
+
functions: {
|
|
377
|
+
MAX_LOCK_TIME(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
378
|
+
|
|
379
|
+
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
380
|
+
|
|
381
|
+
WEEK(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
382
|
+
|
|
383
|
+
addDestinationContract(
|
|
384
|
+
_address: string,
|
|
385
|
+
_chainId: BigNumberish,
|
|
386
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
387
|
+
): Promise<ContractTransaction>;
|
|
388
|
+
|
|
389
|
+
approxDstExecutionGas(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
390
|
+
|
|
391
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
392
|
+
|
|
393
|
+
broadcastTotalSupply(
|
|
394
|
+
chainIds: BigNumberish[],
|
|
395
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
396
|
+
): Promise<ContractTransaction>;
|
|
397
|
+
|
|
398
|
+
broadcastUserPosition(
|
|
399
|
+
user: string,
|
|
400
|
+
chainIds: BigNumberish[],
|
|
401
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
402
|
+
): Promise<ContractTransaction>;
|
|
403
|
+
|
|
404
|
+
claimOwnership(
|
|
405
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
406
|
+
): Promise<ContractTransaction>;
|
|
407
|
+
|
|
408
|
+
getAllDestinationContracts(
|
|
409
|
+
overrides?: CallOverrides
|
|
410
|
+
): Promise<
|
|
411
|
+
[BigNumber[], string[]] & { chainIds: BigNumber[]; addrs: string[] }
|
|
412
|
+
>;
|
|
413
|
+
|
|
414
|
+
getBroadcastPositionFee(
|
|
415
|
+
chainIds: BigNumberish[],
|
|
416
|
+
overrides?: CallOverrides
|
|
417
|
+
): Promise<[BigNumber] & { fee: BigNumber }>;
|
|
418
|
+
|
|
419
|
+
getBroadcastSupplyFee(
|
|
420
|
+
chainIds: BigNumberish[],
|
|
421
|
+
overrides?: CallOverrides
|
|
422
|
+
): Promise<[BigNumber] & { fee: BigNumber }>;
|
|
423
|
+
|
|
424
|
+
getUserHistoryAt(
|
|
425
|
+
user: string,
|
|
426
|
+
index: BigNumberish,
|
|
427
|
+
overrides?: CallOverrides
|
|
428
|
+
): Promise<[CheckpointStructOutput]>;
|
|
429
|
+
|
|
430
|
+
getUserHistoryLength(
|
|
431
|
+
user: string,
|
|
432
|
+
overrides?: CallOverrides
|
|
433
|
+
): Promise<[BigNumber]>;
|
|
434
|
+
|
|
435
|
+
increaseLockPosition(
|
|
436
|
+
additionalAmountToLock: BigNumberish,
|
|
437
|
+
newExpiry: BigNumberish,
|
|
438
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
439
|
+
): Promise<ContractTransaction>;
|
|
440
|
+
|
|
441
|
+
increaseLockPositionAndBroadcast(
|
|
442
|
+
additionalAmountToLock: BigNumberish,
|
|
443
|
+
newExpiry: BigNumberish,
|
|
444
|
+
chainIds: BigNumberish[],
|
|
445
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
446
|
+
): Promise<ContractTransaction>;
|
|
447
|
+
|
|
448
|
+
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
449
|
+
|
|
450
|
+
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
451
|
+
|
|
452
|
+
pendingOwner(overrides?: CallOverrides): Promise<[string]>;
|
|
453
|
+
|
|
454
|
+
pendle(overrides?: CallOverrides): Promise<[string]>;
|
|
455
|
+
|
|
456
|
+
pendleMsgSendEndpoint(overrides?: CallOverrides): Promise<[string]>;
|
|
457
|
+
|
|
458
|
+
positionData(
|
|
459
|
+
arg0: string,
|
|
460
|
+
overrides?: CallOverrides
|
|
461
|
+
): Promise<
|
|
462
|
+
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
463
|
+
>;
|
|
464
|
+
|
|
465
|
+
setApproxDstExecutionGas(
|
|
466
|
+
gas: BigNumberish,
|
|
467
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
468
|
+
): Promise<ContractTransaction>;
|
|
469
|
+
|
|
470
|
+
slopeChanges(
|
|
471
|
+
arg0: BigNumberish,
|
|
472
|
+
overrides?: CallOverrides
|
|
473
|
+
): Promise<[BigNumber]>;
|
|
474
|
+
|
|
475
|
+
totalSupplyAndBalanceCurrent(
|
|
476
|
+
user: string,
|
|
477
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
478
|
+
): Promise<ContractTransaction>;
|
|
479
|
+
|
|
480
|
+
totalSupplyAt(
|
|
481
|
+
arg0: BigNumberish,
|
|
482
|
+
overrides?: CallOverrides
|
|
483
|
+
): Promise<[BigNumber]>;
|
|
484
|
+
|
|
485
|
+
totalSupplyCurrent(
|
|
486
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
487
|
+
): Promise<ContractTransaction>;
|
|
488
|
+
|
|
489
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
490
|
+
|
|
491
|
+
transferOwnership(
|
|
492
|
+
newOwner: string,
|
|
493
|
+
direct: boolean,
|
|
494
|
+
renounce: boolean,
|
|
495
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
496
|
+
): Promise<ContractTransaction>;
|
|
497
|
+
|
|
498
|
+
withdraw(
|
|
499
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
500
|
+
): Promise<ContractTransaction>;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
MAX_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
504
|
+
|
|
505
|
+
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
506
|
+
|
|
507
|
+
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
508
|
+
|
|
509
|
+
addDestinationContract(
|
|
510
|
+
_address: string,
|
|
511
|
+
_chainId: BigNumberish,
|
|
512
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
513
|
+
): Promise<ContractTransaction>;
|
|
514
|
+
|
|
515
|
+
approxDstExecutionGas(overrides?: CallOverrides): Promise<BigNumber>;
|
|
516
|
+
|
|
517
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
518
|
+
|
|
519
|
+
broadcastTotalSupply(
|
|
520
|
+
chainIds: BigNumberish[],
|
|
521
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
522
|
+
): Promise<ContractTransaction>;
|
|
523
|
+
|
|
524
|
+
broadcastUserPosition(
|
|
525
|
+
user: string,
|
|
526
|
+
chainIds: BigNumberish[],
|
|
527
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
528
|
+
): Promise<ContractTransaction>;
|
|
529
|
+
|
|
530
|
+
claimOwnership(
|
|
531
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
532
|
+
): Promise<ContractTransaction>;
|
|
533
|
+
|
|
534
|
+
getAllDestinationContracts(
|
|
535
|
+
overrides?: CallOverrides
|
|
536
|
+
): Promise<
|
|
537
|
+
[BigNumber[], string[]] & { chainIds: BigNumber[]; addrs: string[] }
|
|
538
|
+
>;
|
|
539
|
+
|
|
540
|
+
getBroadcastPositionFee(
|
|
541
|
+
chainIds: BigNumberish[],
|
|
542
|
+
overrides?: CallOverrides
|
|
543
|
+
): Promise<BigNumber>;
|
|
544
|
+
|
|
545
|
+
getBroadcastSupplyFee(
|
|
546
|
+
chainIds: BigNumberish[],
|
|
547
|
+
overrides?: CallOverrides
|
|
548
|
+
): Promise<BigNumber>;
|
|
549
|
+
|
|
550
|
+
getUserHistoryAt(
|
|
551
|
+
user: string,
|
|
552
|
+
index: BigNumberish,
|
|
553
|
+
overrides?: CallOverrides
|
|
554
|
+
): Promise<CheckpointStructOutput>;
|
|
555
|
+
|
|
556
|
+
getUserHistoryLength(
|
|
557
|
+
user: string,
|
|
558
|
+
overrides?: CallOverrides
|
|
559
|
+
): Promise<BigNumber>;
|
|
560
|
+
|
|
561
|
+
increaseLockPosition(
|
|
562
|
+
additionalAmountToLock: BigNumberish,
|
|
563
|
+
newExpiry: BigNumberish,
|
|
564
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
565
|
+
): Promise<ContractTransaction>;
|
|
566
|
+
|
|
567
|
+
increaseLockPositionAndBroadcast(
|
|
568
|
+
additionalAmountToLock: BigNumberish,
|
|
569
|
+
newExpiry: BigNumberish,
|
|
570
|
+
chainIds: BigNumberish[],
|
|
571
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
572
|
+
): Promise<ContractTransaction>;
|
|
573
|
+
|
|
574
|
+
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
575
|
+
|
|
576
|
+
owner(overrides?: CallOverrides): Promise<string>;
|
|
577
|
+
|
|
578
|
+
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
579
|
+
|
|
580
|
+
pendle(overrides?: CallOverrides): Promise<string>;
|
|
581
|
+
|
|
582
|
+
pendleMsgSendEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
583
|
+
|
|
584
|
+
positionData(
|
|
585
|
+
arg0: string,
|
|
586
|
+
overrides?: CallOverrides
|
|
587
|
+
): Promise<[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }>;
|
|
588
|
+
|
|
589
|
+
setApproxDstExecutionGas(
|
|
590
|
+
gas: BigNumberish,
|
|
591
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
592
|
+
): Promise<ContractTransaction>;
|
|
593
|
+
|
|
594
|
+
slopeChanges(
|
|
595
|
+
arg0: BigNumberish,
|
|
596
|
+
overrides?: CallOverrides
|
|
597
|
+
): Promise<BigNumber>;
|
|
598
|
+
|
|
599
|
+
totalSupplyAndBalanceCurrent(
|
|
600
|
+
user: string,
|
|
601
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
602
|
+
): Promise<ContractTransaction>;
|
|
603
|
+
|
|
604
|
+
totalSupplyAt(
|
|
605
|
+
arg0: BigNumberish,
|
|
606
|
+
overrides?: CallOverrides
|
|
607
|
+
): Promise<BigNumber>;
|
|
608
|
+
|
|
609
|
+
totalSupplyCurrent(
|
|
610
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
611
|
+
): Promise<ContractTransaction>;
|
|
612
|
+
|
|
613
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
614
|
+
|
|
615
|
+
transferOwnership(
|
|
616
|
+
newOwner: string,
|
|
617
|
+
direct: boolean,
|
|
618
|
+
renounce: boolean,
|
|
619
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
620
|
+
): Promise<ContractTransaction>;
|
|
621
|
+
|
|
622
|
+
withdraw(
|
|
623
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
624
|
+
): Promise<ContractTransaction>;
|
|
625
|
+
|
|
626
|
+
callStatic: {
|
|
627
|
+
MAX_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
628
|
+
|
|
629
|
+
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
630
|
+
|
|
631
|
+
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
632
|
+
|
|
633
|
+
addDestinationContract(
|
|
634
|
+
_address: string,
|
|
635
|
+
_chainId: BigNumberish,
|
|
636
|
+
overrides?: CallOverrides
|
|
637
|
+
): Promise<void>;
|
|
638
|
+
|
|
639
|
+
approxDstExecutionGas(overrides?: CallOverrides): Promise<BigNumber>;
|
|
640
|
+
|
|
641
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
642
|
+
|
|
643
|
+
broadcastTotalSupply(
|
|
644
|
+
chainIds: BigNumberish[],
|
|
645
|
+
overrides?: CallOverrides
|
|
646
|
+
): Promise<void>;
|
|
647
|
+
|
|
648
|
+
broadcastUserPosition(
|
|
649
|
+
user: string,
|
|
650
|
+
chainIds: BigNumberish[],
|
|
651
|
+
overrides?: CallOverrides
|
|
652
|
+
): Promise<void>;
|
|
653
|
+
|
|
654
|
+
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
655
|
+
|
|
656
|
+
getAllDestinationContracts(
|
|
657
|
+
overrides?: CallOverrides
|
|
658
|
+
): Promise<
|
|
659
|
+
[BigNumber[], string[]] & { chainIds: BigNumber[]; addrs: string[] }
|
|
660
|
+
>;
|
|
661
|
+
|
|
662
|
+
getBroadcastPositionFee(
|
|
663
|
+
chainIds: BigNumberish[],
|
|
664
|
+
overrides?: CallOverrides
|
|
665
|
+
): Promise<BigNumber>;
|
|
666
|
+
|
|
667
|
+
getBroadcastSupplyFee(
|
|
668
|
+
chainIds: BigNumberish[],
|
|
669
|
+
overrides?: CallOverrides
|
|
670
|
+
): Promise<BigNumber>;
|
|
671
|
+
|
|
672
|
+
getUserHistoryAt(
|
|
673
|
+
user: string,
|
|
674
|
+
index: BigNumberish,
|
|
675
|
+
overrides?: CallOverrides
|
|
676
|
+
): Promise<CheckpointStructOutput>;
|
|
677
|
+
|
|
678
|
+
getUserHistoryLength(
|
|
679
|
+
user: string,
|
|
680
|
+
overrides?: CallOverrides
|
|
681
|
+
): Promise<BigNumber>;
|
|
682
|
+
|
|
683
|
+
increaseLockPosition(
|
|
684
|
+
additionalAmountToLock: BigNumberish,
|
|
685
|
+
newExpiry: BigNumberish,
|
|
686
|
+
overrides?: CallOverrides
|
|
687
|
+
): Promise<BigNumber>;
|
|
688
|
+
|
|
689
|
+
increaseLockPositionAndBroadcast(
|
|
690
|
+
additionalAmountToLock: BigNumberish,
|
|
691
|
+
newExpiry: BigNumberish,
|
|
692
|
+
chainIds: BigNumberish[],
|
|
693
|
+
overrides?: CallOverrides
|
|
694
|
+
): Promise<BigNumber>;
|
|
695
|
+
|
|
696
|
+
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
697
|
+
|
|
698
|
+
owner(overrides?: CallOverrides): Promise<string>;
|
|
699
|
+
|
|
700
|
+
pendingOwner(overrides?: CallOverrides): Promise<string>;
|
|
701
|
+
|
|
702
|
+
pendle(overrides?: CallOverrides): Promise<string>;
|
|
703
|
+
|
|
704
|
+
pendleMsgSendEndpoint(overrides?: CallOverrides): Promise<string>;
|
|
705
|
+
|
|
706
|
+
positionData(
|
|
707
|
+
arg0: string,
|
|
708
|
+
overrides?: CallOverrides
|
|
709
|
+
): Promise<
|
|
710
|
+
[BigNumber, BigNumber] & { amount: BigNumber; expiry: BigNumber }
|
|
711
|
+
>;
|
|
712
|
+
|
|
713
|
+
setApproxDstExecutionGas(
|
|
714
|
+
gas: BigNumberish,
|
|
715
|
+
overrides?: CallOverrides
|
|
716
|
+
): Promise<void>;
|
|
717
|
+
|
|
718
|
+
slopeChanges(
|
|
719
|
+
arg0: BigNumberish,
|
|
720
|
+
overrides?: CallOverrides
|
|
721
|
+
): Promise<BigNumber>;
|
|
722
|
+
|
|
723
|
+
totalSupplyAndBalanceCurrent(
|
|
724
|
+
user: string,
|
|
725
|
+
overrides?: CallOverrides
|
|
726
|
+
): Promise<[BigNumber, BigNumber]>;
|
|
727
|
+
|
|
728
|
+
totalSupplyAt(
|
|
729
|
+
arg0: BigNumberish,
|
|
730
|
+
overrides?: CallOverrides
|
|
731
|
+
): Promise<BigNumber>;
|
|
732
|
+
|
|
733
|
+
totalSupplyCurrent(overrides?: CallOverrides): Promise<BigNumber>;
|
|
734
|
+
|
|
735
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
736
|
+
|
|
737
|
+
transferOwnership(
|
|
738
|
+
newOwner: string,
|
|
739
|
+
direct: boolean,
|
|
740
|
+
renounce: boolean,
|
|
741
|
+
overrides?: CallOverrides
|
|
742
|
+
): Promise<void>;
|
|
743
|
+
|
|
744
|
+
withdraw(overrides?: CallOverrides): Promise<BigNumber>;
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
filters: {
|
|
748
|
+
"BroadcastTotalSupply(tuple,uint256[])"(
|
|
749
|
+
newTotalSupply?: null,
|
|
750
|
+
chainIds?: null
|
|
751
|
+
): BroadcastTotalSupplyEventFilter;
|
|
752
|
+
BroadcastTotalSupply(
|
|
753
|
+
newTotalSupply?: null,
|
|
754
|
+
chainIds?: null
|
|
755
|
+
): BroadcastTotalSupplyEventFilter;
|
|
756
|
+
|
|
757
|
+
"BroadcastUserPosition(address,uint256[])"(
|
|
758
|
+
user?: string | null,
|
|
759
|
+
chainIds?: null
|
|
760
|
+
): BroadcastUserPositionEventFilter;
|
|
761
|
+
BroadcastUserPosition(
|
|
762
|
+
user?: string | null,
|
|
763
|
+
chainIds?: null
|
|
764
|
+
): BroadcastUserPositionEventFilter;
|
|
765
|
+
|
|
766
|
+
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
767
|
+
Initialized(version?: null): InitializedEventFilter;
|
|
768
|
+
|
|
769
|
+
"NewLockPosition(address,uint128,uint128)"(
|
|
770
|
+
user?: string | null,
|
|
771
|
+
amount?: null,
|
|
772
|
+
expiry?: null
|
|
773
|
+
): NewLockPositionEventFilter;
|
|
774
|
+
NewLockPosition(
|
|
775
|
+
user?: string | null,
|
|
776
|
+
amount?: null,
|
|
777
|
+
expiry?: null
|
|
778
|
+
): NewLockPositionEventFilter;
|
|
779
|
+
|
|
780
|
+
"OwnershipTransferred(address,address)"(
|
|
781
|
+
previousOwner?: string | null,
|
|
782
|
+
newOwner?: string | null
|
|
783
|
+
): OwnershipTransferredEventFilter;
|
|
784
|
+
OwnershipTransferred(
|
|
785
|
+
previousOwner?: string | null,
|
|
786
|
+
newOwner?: string | null
|
|
787
|
+
): OwnershipTransferredEventFilter;
|
|
788
|
+
|
|
789
|
+
"Withdraw(address,uint128)"(
|
|
790
|
+
user?: string | null,
|
|
791
|
+
amount?: null
|
|
792
|
+
): WithdrawEventFilter;
|
|
793
|
+
Withdraw(user?: string | null, amount?: null): WithdrawEventFilter;
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
estimateGas: {
|
|
797
|
+
MAX_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
798
|
+
|
|
799
|
+
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<BigNumber>;
|
|
800
|
+
|
|
801
|
+
WEEK(overrides?: CallOverrides): Promise<BigNumber>;
|
|
802
|
+
|
|
803
|
+
addDestinationContract(
|
|
804
|
+
_address: string,
|
|
805
|
+
_chainId: BigNumberish,
|
|
806
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
807
|
+
): Promise<BigNumber>;
|
|
808
|
+
|
|
809
|
+
approxDstExecutionGas(overrides?: CallOverrides): Promise<BigNumber>;
|
|
810
|
+
|
|
811
|
+
balanceOf(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
812
|
+
|
|
813
|
+
broadcastTotalSupply(
|
|
814
|
+
chainIds: BigNumberish[],
|
|
815
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
816
|
+
): Promise<BigNumber>;
|
|
817
|
+
|
|
818
|
+
broadcastUserPosition(
|
|
819
|
+
user: string,
|
|
820
|
+
chainIds: BigNumberish[],
|
|
821
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
822
|
+
): Promise<BigNumber>;
|
|
823
|
+
|
|
824
|
+
claimOwnership(
|
|
825
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
826
|
+
): Promise<BigNumber>;
|
|
827
|
+
|
|
828
|
+
getAllDestinationContracts(overrides?: CallOverrides): Promise<BigNumber>;
|
|
829
|
+
|
|
830
|
+
getBroadcastPositionFee(
|
|
831
|
+
chainIds: BigNumberish[],
|
|
832
|
+
overrides?: CallOverrides
|
|
833
|
+
): Promise<BigNumber>;
|
|
834
|
+
|
|
835
|
+
getBroadcastSupplyFee(
|
|
836
|
+
chainIds: BigNumberish[],
|
|
837
|
+
overrides?: CallOverrides
|
|
838
|
+
): Promise<BigNumber>;
|
|
839
|
+
|
|
840
|
+
getUserHistoryAt(
|
|
841
|
+
user: string,
|
|
842
|
+
index: BigNumberish,
|
|
843
|
+
overrides?: CallOverrides
|
|
844
|
+
): Promise<BigNumber>;
|
|
845
|
+
|
|
846
|
+
getUserHistoryLength(
|
|
847
|
+
user: string,
|
|
848
|
+
overrides?: CallOverrides
|
|
849
|
+
): Promise<BigNumber>;
|
|
850
|
+
|
|
851
|
+
increaseLockPosition(
|
|
852
|
+
additionalAmountToLock: BigNumberish,
|
|
853
|
+
newExpiry: BigNumberish,
|
|
854
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
855
|
+
): Promise<BigNumber>;
|
|
856
|
+
|
|
857
|
+
increaseLockPositionAndBroadcast(
|
|
858
|
+
additionalAmountToLock: BigNumberish,
|
|
859
|
+
newExpiry: BigNumberish,
|
|
860
|
+
chainIds: BigNumberish[],
|
|
861
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
862
|
+
): Promise<BigNumber>;
|
|
863
|
+
|
|
864
|
+
lastSlopeChangeAppliedAt(overrides?: CallOverrides): Promise<BigNumber>;
|
|
865
|
+
|
|
866
|
+
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
867
|
+
|
|
868
|
+
pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
869
|
+
|
|
870
|
+
pendle(overrides?: CallOverrides): Promise<BigNumber>;
|
|
871
|
+
|
|
872
|
+
pendleMsgSendEndpoint(overrides?: CallOverrides): Promise<BigNumber>;
|
|
873
|
+
|
|
874
|
+
positionData(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
875
|
+
|
|
876
|
+
setApproxDstExecutionGas(
|
|
877
|
+
gas: BigNumberish,
|
|
878
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
879
|
+
): Promise<BigNumber>;
|
|
880
|
+
|
|
881
|
+
slopeChanges(
|
|
882
|
+
arg0: BigNumberish,
|
|
883
|
+
overrides?: CallOverrides
|
|
884
|
+
): Promise<BigNumber>;
|
|
885
|
+
|
|
886
|
+
totalSupplyAndBalanceCurrent(
|
|
887
|
+
user: string,
|
|
888
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
889
|
+
): Promise<BigNumber>;
|
|
890
|
+
|
|
891
|
+
totalSupplyAt(
|
|
892
|
+
arg0: BigNumberish,
|
|
893
|
+
overrides?: CallOverrides
|
|
894
|
+
): Promise<BigNumber>;
|
|
895
|
+
|
|
896
|
+
totalSupplyCurrent(
|
|
897
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
898
|
+
): Promise<BigNumber>;
|
|
899
|
+
|
|
900
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<BigNumber>;
|
|
901
|
+
|
|
902
|
+
transferOwnership(
|
|
903
|
+
newOwner: string,
|
|
904
|
+
direct: boolean,
|
|
905
|
+
renounce: boolean,
|
|
906
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
907
|
+
): Promise<BigNumber>;
|
|
908
|
+
|
|
909
|
+
withdraw(
|
|
910
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
911
|
+
): Promise<BigNumber>;
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
populateTransaction: {
|
|
915
|
+
MAX_LOCK_TIME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
916
|
+
|
|
917
|
+
MIN_LOCK_TIME(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
918
|
+
|
|
919
|
+
WEEK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
920
|
+
|
|
921
|
+
addDestinationContract(
|
|
922
|
+
_address: string,
|
|
923
|
+
_chainId: BigNumberish,
|
|
924
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
925
|
+
): Promise<PopulatedTransaction>;
|
|
926
|
+
|
|
927
|
+
approxDstExecutionGas(
|
|
928
|
+
overrides?: CallOverrides
|
|
929
|
+
): Promise<PopulatedTransaction>;
|
|
930
|
+
|
|
931
|
+
balanceOf(
|
|
932
|
+
user: string,
|
|
933
|
+
overrides?: CallOverrides
|
|
934
|
+
): Promise<PopulatedTransaction>;
|
|
935
|
+
|
|
936
|
+
broadcastTotalSupply(
|
|
937
|
+
chainIds: BigNumberish[],
|
|
938
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
939
|
+
): Promise<PopulatedTransaction>;
|
|
940
|
+
|
|
941
|
+
broadcastUserPosition(
|
|
942
|
+
user: string,
|
|
943
|
+
chainIds: BigNumberish[],
|
|
944
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
945
|
+
): Promise<PopulatedTransaction>;
|
|
946
|
+
|
|
947
|
+
claimOwnership(
|
|
948
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
949
|
+
): Promise<PopulatedTransaction>;
|
|
950
|
+
|
|
951
|
+
getAllDestinationContracts(
|
|
952
|
+
overrides?: CallOverrides
|
|
953
|
+
): Promise<PopulatedTransaction>;
|
|
954
|
+
|
|
955
|
+
getBroadcastPositionFee(
|
|
956
|
+
chainIds: BigNumberish[],
|
|
957
|
+
overrides?: CallOverrides
|
|
958
|
+
): Promise<PopulatedTransaction>;
|
|
959
|
+
|
|
960
|
+
getBroadcastSupplyFee(
|
|
961
|
+
chainIds: BigNumberish[],
|
|
962
|
+
overrides?: CallOverrides
|
|
963
|
+
): Promise<PopulatedTransaction>;
|
|
964
|
+
|
|
965
|
+
getUserHistoryAt(
|
|
966
|
+
user: string,
|
|
967
|
+
index: BigNumberish,
|
|
968
|
+
overrides?: CallOverrides
|
|
969
|
+
): Promise<PopulatedTransaction>;
|
|
970
|
+
|
|
971
|
+
getUserHistoryLength(
|
|
972
|
+
user: string,
|
|
973
|
+
overrides?: CallOverrides
|
|
974
|
+
): Promise<PopulatedTransaction>;
|
|
975
|
+
|
|
976
|
+
increaseLockPosition(
|
|
977
|
+
additionalAmountToLock: BigNumberish,
|
|
978
|
+
newExpiry: BigNumberish,
|
|
979
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
980
|
+
): Promise<PopulatedTransaction>;
|
|
981
|
+
|
|
982
|
+
increaseLockPositionAndBroadcast(
|
|
983
|
+
additionalAmountToLock: BigNumberish,
|
|
984
|
+
newExpiry: BigNumberish,
|
|
985
|
+
chainIds: BigNumberish[],
|
|
986
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
987
|
+
): Promise<PopulatedTransaction>;
|
|
988
|
+
|
|
989
|
+
lastSlopeChangeAppliedAt(
|
|
990
|
+
overrides?: CallOverrides
|
|
991
|
+
): Promise<PopulatedTransaction>;
|
|
992
|
+
|
|
993
|
+
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
994
|
+
|
|
995
|
+
pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
996
|
+
|
|
997
|
+
pendle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
998
|
+
|
|
999
|
+
pendleMsgSendEndpoint(
|
|
1000
|
+
overrides?: CallOverrides
|
|
1001
|
+
): Promise<PopulatedTransaction>;
|
|
1002
|
+
|
|
1003
|
+
positionData(
|
|
1004
|
+
arg0: string,
|
|
1005
|
+
overrides?: CallOverrides
|
|
1006
|
+
): Promise<PopulatedTransaction>;
|
|
1007
|
+
|
|
1008
|
+
setApproxDstExecutionGas(
|
|
1009
|
+
gas: BigNumberish,
|
|
1010
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1011
|
+
): Promise<PopulatedTransaction>;
|
|
1012
|
+
|
|
1013
|
+
slopeChanges(
|
|
1014
|
+
arg0: BigNumberish,
|
|
1015
|
+
overrides?: CallOverrides
|
|
1016
|
+
): Promise<PopulatedTransaction>;
|
|
1017
|
+
|
|
1018
|
+
totalSupplyAndBalanceCurrent(
|
|
1019
|
+
user: string,
|
|
1020
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1021
|
+
): Promise<PopulatedTransaction>;
|
|
1022
|
+
|
|
1023
|
+
totalSupplyAt(
|
|
1024
|
+
arg0: BigNumberish,
|
|
1025
|
+
overrides?: CallOverrides
|
|
1026
|
+
): Promise<PopulatedTransaction>;
|
|
1027
|
+
|
|
1028
|
+
totalSupplyCurrent(
|
|
1029
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1030
|
+
): Promise<PopulatedTransaction>;
|
|
1031
|
+
|
|
1032
|
+
totalSupplyStored(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1033
|
+
|
|
1034
|
+
transferOwnership(
|
|
1035
|
+
newOwner: string,
|
|
1036
|
+
direct: boolean,
|
|
1037
|
+
renounce: boolean,
|
|
1038
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1039
|
+
): Promise<PopulatedTransaction>;
|
|
1040
|
+
|
|
1041
|
+
withdraw(
|
|
1042
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1043
|
+
): Promise<PopulatedTransaction>;
|
|
1044
|
+
};
|
|
1045
|
+
}
|