@pendle/core-v2 5.9.0 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/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/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- 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/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- 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/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- 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/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/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/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/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- 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/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/deployments/1-core.json +2 -1
- package/package.json +1 -1
- package/typechain-types/AccessControlUpgradeable.ts +369 -0
- package/typechain-types/ActionBase.ts +81 -0
- package/typechain-types/ActionDelegateBase.ts +81 -0
- package/typechain-types/ActionInputTracker.ts +81 -0
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/AggregatorInterface.ts +233 -0
- package/typechain-types/AggregatorV2V3Interface.ts +385 -0
- package/typechain-types/AggregatorV3Interface.ts +221 -0
- package/typechain-types/AutomateReady.ts +102 -0
- package/typechain-types/BaseSplitCodeFactoryContract.ts +276 -0
- package/typechain-types/BoringOwnableUpgradeable.ts +203 -0
- package/typechain-types/BoringOwnableUpgradeableData.ts +100 -0
- package/typechain-types/ContextUpgradeable.ts +68 -0
- package/typechain-types/EIP712Upgradeable.ts +144 -0
- package/typechain-types/ERC165Upgradeable.ts +113 -0
- package/typechain-types/ERC1967Upgrade.ts +97 -0
- package/typechain-types/ERC20.ts +417 -0
- package/typechain-types/EmptyUUPS.ts +352 -0
- package/typechain-types/Errors.ts +57 -0
- package/typechain-types/IAccessControlUpgradeable.ts +305 -0
- package/typechain-types/IAddressProvider.ts +123 -0
- package/typechain-types/IAutomate.ts +203 -0
- package/typechain-types/IBeacon.ts +87 -0
- package/typechain-types/IERC1271.ts +107 -0
- package/typechain-types/IERC165Upgradeable.ts +102 -0
- package/typechain-types/IERC1822Proxiable.ts +87 -0
- package/typechain-types/IERC1967.ts +97 -0
- package/typechain-types/IERC20.ts +300 -0
- package/typechain-types/IERC20Metadata.ts +339 -0
- package/typechain-types/IERC20Permit.ts +175 -0
- package/typechain-types/IERC5267Upgradeable.ts +135 -0
- package/typechain-types/ILayerZeroEndpoint.ts +256 -0
- package/typechain-types/ILayerZeroReceiver.ts +117 -0
- package/typechain-types/IOpsProxyFactory.ts +93 -0
- package/typechain-types/IPActionInfoStatic.ts +310 -0
- package/typechain-types/IPActionMintRedeemStatic.ts +435 -0
- package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
- package/typechain-types/IPExchangeRateOracle.ts +87 -0
- package/typechain-types/IPFeeDistributor.ts +191 -0
- package/typechain-types/IPFeeDistributorV2.ts +287 -0
- package/typechain-types/IPGauge.ts +132 -0
- package/typechain-types/IPGaugeController.ts +275 -0
- package/typechain-types/IPGaugeControllerMainchain.ts +319 -0
- package/typechain-types/IPInterestManagerYT.ts +131 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMarketFactory.ts +234 -0
- package/typechain-types/IPMarketSwapCallback.ts +115 -0
- package/typechain-types/IPMerkleDistributor.ts +235 -0
- package/typechain-types/IPMiniDiamond.ts +147 -0
- package/typechain-types/IPMsgReceiverApp.ts +104 -0
- package/typechain-types/IPMsgSendEndpoint.ts +166 -0
- package/typechain-types/IPOffchainStorage.ts +146 -0
- package/typechain-types/IPPYLpOracle.ts +400 -0
- package/typechain-types/IPPriceFeed.ts +81 -0
- package/typechain-types/IPPrincipalToken.ts +501 -0
- package/typechain-types/IPReflector.ts +95 -0
- package/typechain-types/IPTokenWithSupplyCap.ts +110 -0
- package/typechain-types/IPVeToken.ts +201 -0
- package/typechain-types/IPYieldContractFactory.ts +370 -0
- package/typechain-types/IPYieldToken.ts +917 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
- package/typechain-types/IRedstonePriceFeed.ts +259 -0
- package/typechain-types/IRewardManager.ts +108 -0
- package/typechain-types/IStandardizedYield.ts +895 -0
- package/typechain-types/ITaskTreasuryUpgradable.ts +160 -0
- package/typechain-types/ITracker.ts +224 -0
- package/typechain-types/IWETH.ts +380 -0
- package/typechain-types/IWstETH.ts +162 -0
- package/typechain-types/Initializable.ts +68 -0
- package/typechain-types/LegacyNFTHelper.ts +87 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/NonceManager.ts +209 -0
- package/typechain-types/OracleLib.ts +124 -0
- package/typechain-types/PTExpiry.ts +81 -0
- package/typechain-types/PendleERC20.ts +339 -0
- package/typechain-types/PendleFeeDistributorV2.ts +722 -0
- package/typechain-types/PendleMerkleDistributor.ts +610 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +125 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +353 -0
- package/typechain-types/PendleMulticallV1.ts +162 -0
- package/typechain-types/PendleMulticallV2.ts +241 -0
- package/typechain-types/PendleOffchainStorage.ts +666 -0
- package/typechain-types/PendlePrincipalToken.ts +510 -0
- package/typechain-types/PendleSparkLinearDiscountOracle.ts +213 -0
- package/typechain-types/PendleWstETHPriceFeed.ts +148 -0
- package/typechain-types/Proxy.ts +57 -0
- package/typechain-types/SimulateHelper.ts +153 -0
- package/typechain-types/StarNFTV1.ts +880 -0
- package/typechain-types/SupplyCapReader.ts +105 -0
- package/typechain-types/Tracker.ts +432 -0
- package/typechain-types/UUPSUpgradeable.ts +197 -0
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/typechain-types/factories/ActionBase__factory.ts +36 -0
- package/typechain-types/factories/ActionDelegateBase__factory.ts +93 -0
- package/typechain-types/factories/ActionInputTracker__factory.ts +39 -0
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregatorInterface__factory.ts +153 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +268 -0
- package/typechain-types/factories/AggregatorV3Interface__factory.ts +141 -0
- package/typechain-types/factories/AutomateReady__factory.ts +49 -0
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +239 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +96 -0
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +118 -0
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/EIP712Upgradeable__factory.ts +88 -0
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/typechain-types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/typechain-types/factories/ERC20__factory.ts +348 -0
- package/typechain-types/factories/EmptyUUPS__factory.ts +250 -0
- package/typechain-types/factories/Errors__factory.ts +1483 -0
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
- package/typechain-types/factories/IAutomate__factory.ts +126 -0
- package/typechain-types/factories/IBeacon__factory.ts +36 -0
- package/typechain-types/factories/IERC1271__factory.ts +47 -0
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/typechain-types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/typechain-types/factories/IERC1967__factory.ts +68 -0
- package/typechain-types/factories/IERC20Metadata__factory.ts +248 -0
- package/typechain-types/factories/IERC20Permit__factory.ts +98 -0
- package/typechain-types/factories/IERC20__factory.ts +203 -0
- package/typechain-types/factories/IERC5267Upgradeable__factory.ts +75 -0
- package/typechain-types/factories/ILayerZeroEndpoint__factory.ts +134 -0
- package/typechain-types/factories/ILayerZeroReceiver__factory.ts +54 -0
- package/typechain-types/factories/IOpsProxyFactory__factory.ts +50 -0
- package/typechain-types/factories/IPActionInfoStatic__factory.ts +322 -0
- package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +261 -0
- package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
- package/typechain-types/factories/IPExchangeRateOracle__factory.ts +43 -0
- package/typechain-types/factories/IPFeeDistributorV2__factory.ts +184 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +138 -0
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +202 -0
- package/typechain-types/factories/IPGaugeController__factory.ts +175 -0
- package/typechain-types/factories/IPGauge__factory.ts +74 -0
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPInterestManagerYT__factory.ts +63 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +168 -0
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +53 -0
- package/typechain-types/factories/IPMerkleDistributor__factory.ts +165 -0
- package/typechain-types/factories/IPMiniDiamond__factory.ts +67 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +39 -0
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +88 -0
- package/typechain-types/factories/IPOffchainStorage__factory.ts +82 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +227 -0
- package/typechain-types/factories/IPPriceFeed__factory.ts +36 -0
- package/typechain-types/factories/IPPrincipalToken__factory.ts +362 -0
- package/typechain-types/factories/IPReflector__factory.ts +42 -0
- package/typechain-types/factories/IPTokenWithSupplyCap__factory.ts +56 -0
- package/typechain-types/factories/IPVeToken__factory.ts +116 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +285 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +693 -0
- package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
- package/typechain-types/factories/IRedstonePriceFeed__factory.ts +163 -0
- package/typechain-types/factories/IRewardManager__factory.ts +55 -0
- package/typechain-types/factories/IStandardizedYield__factory.ts +658 -0
- package/typechain-types/factories/ITaskTreasuryUpgradable__factory.ts +76 -0
- package/typechain-types/factories/ITracker__factory.ts +114 -0
- package/typechain-types/factories/IWETH__factory.ts +261 -0
- package/typechain-types/factories/IWstETH__factory.ts +87 -0
- package/typechain-types/factories/Initializable__factory.ts +36 -0
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +83 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/NonceManager__factory.ts +149 -0
- package/typechain-types/factories/OracleLib__factory.ts +150 -0
- package/typechain-types/factories/PTExpiry__factory.ts +36 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +327 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +549 -0
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +488 -0
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +67 -0
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +193 -0
- package/typechain-types/factories/PendleMulticallV1__factory.ts +142 -0
- package/typechain-types/factories/PendleMulticallV2__factory.ts +212 -0
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +492 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +489 -0
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +209 -0
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +133 -0
- package/typechain-types/factories/Proxy__factory.ts +28 -0
- package/typechain-types/factories/SimulateHelper__factory.ts +137 -0
- package/typechain-types/factories/StarNFTV1__factory.ts +584 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
- package/typechain-types/factories/Tracker__factory.ts +303 -0
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +115 -0
- package/typechain-types/I1inchAggregationRouterV6.ts +0 -337
- package/typechain-types/IGenericSwapExactAmountIn.ts +0 -161
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +0 -391
- package/typechain-types/MarketSwapNSeed.ts +0 -222
- package/typechain-types/factories/I1inchAggregationRouterV6__factory.ts +0 -233
- package/typechain-types/factories/IGenericSwapExactAmountIn__factory.ts +0 -100
- package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +0 -447
- package/typechain-types/factories/MarketSwapNSeed__factory.ts +0 -287
|
@@ -0,0 +1,209 @@
|
|
|
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
|
+
PendleSparkLinearDiscountOracle,
|
|
15
|
+
PendleSparkLinearDiscountOracleInterface,
|
|
16
|
+
} from "../PendleSparkLinearDiscountOracle";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_pt",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "_baseDiscountPerYear",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
stateMutability: "nonpayable",
|
|
33
|
+
type: "constructor",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "PT",
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
type: "function",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [],
|
|
50
|
+
name: "baseDiscountPerYear",
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "view",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "decimals",
|
|
64
|
+
outputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint8",
|
|
67
|
+
name: "",
|
|
68
|
+
type: "uint8",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
stateMutability: "pure",
|
|
72
|
+
type: "function",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
internalType: "uint256",
|
|
78
|
+
name: "timeLeft",
|
|
79
|
+
type: "uint256",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "getDiscount",
|
|
83
|
+
outputs: [
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
stateMutability: "view",
|
|
91
|
+
type: "function",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
inputs: [],
|
|
95
|
+
name: "latestRoundData",
|
|
96
|
+
outputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint80",
|
|
99
|
+
name: "roundId",
|
|
100
|
+
type: "uint80",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "int256",
|
|
104
|
+
name: "answer",
|
|
105
|
+
type: "int256",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "startedAt",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "updatedAt",
|
|
115
|
+
type: "uint256",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
internalType: "uint80",
|
|
119
|
+
name: "answeredInRound",
|
|
120
|
+
type: "uint80",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
stateMutability: "view",
|
|
124
|
+
type: "function",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "maturity",
|
|
129
|
+
outputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
stateMutability: "view",
|
|
137
|
+
type: "function",
|
|
138
|
+
},
|
|
139
|
+
];
|
|
140
|
+
|
|
141
|
+
const _bytecode =
|
|
142
|
+
"0x60e060405234801561001057600080fd5b5060405161051238038061051283398101604081905261002f9161013e565b670de0b6b3a764000081111561007f5760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a5908191a5cd8dbdd5b9d60821b60448201526064015b60405180910390fd5b6001600160a01b0382166100c45760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610076565b6001600160a01b0382166080819052604080516370c264df60e11b8152905163e184c9be916004808201926020929091908290030181865afa15801561010e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101329190610178565b60a05260c05250610191565b6000806040838503121561015157600080fd5b82516001600160a01b038116811461016857600080fd5b6020939093015192949293505050565b60006020828403121561018a57600080fd5b5051919050565b60805160a05160c0516103406101d26000396000818160c80152610171015260008181606c015281816101b201526101e30152600060ef01526103406000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063204f83f9146100675780632336dbe4146100a1578063313ce567146100b4578063598e5451146100c3578063d94073d4146100ea578063feaf968c14610129575b600080fd5b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61008e6100af36600461028f565b610165565b60405160128152602001610098565b61008e7f000000000000000000000000000000000000000000000000000000000000000081565b6101117f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610098565b6101316101a6565b604080516001600160501b03968716815260208101959095528401929092526060830152909116608082015260a001610098565b60006301e133806101967f0000000000000000000000000000000000000000000000000000000000000000846102be565b6101a091906102d5565b92915050565b600080600080600080427f0000000000000000000000000000000000000000000000000000000000000000116101dd576000610207565b610207427f00000000000000000000000000000000000000000000000000000000000000006102f7565b9050600061021482610165565b9050670de0b6b3a76400008111156102665760405162461bcd60e51b8152602060048201526011602482015270646973636f756e74206f766572666c6f7760781b604482015260640160405180910390fd5b600061027a82670de0b6b3a76400006102f7565b90989097506000965086955085945092505050565b6000602082840312156102a157600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176101a0576101a06102a8565b6000826102f257634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156101a0576101a06102a856fea2646970667358221220417d7d239712adda0978f25f59e5bb4dce9016e9ca48e1006a4a3e8027ca1c8764736f6c63430008170033";
|
|
143
|
+
|
|
144
|
+
type PendleSparkLinearDiscountOracleConstructorParams =
|
|
145
|
+
| [signer?: Signer]
|
|
146
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
147
|
+
|
|
148
|
+
const isSuperArgs = (
|
|
149
|
+
xs: PendleSparkLinearDiscountOracleConstructorParams
|
|
150
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
151
|
+
|
|
152
|
+
export class PendleSparkLinearDiscountOracle__factory extends ContractFactory {
|
|
153
|
+
constructor(...args: PendleSparkLinearDiscountOracleConstructorParams) {
|
|
154
|
+
if (isSuperArgs(args)) {
|
|
155
|
+
super(...args);
|
|
156
|
+
} else {
|
|
157
|
+
super(_abi, _bytecode, args[0]);
|
|
158
|
+
}
|
|
159
|
+
this.contractName = "PendleSparkLinearDiscountOracle";
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
deploy(
|
|
163
|
+
_pt: string,
|
|
164
|
+
_baseDiscountPerYear: BigNumberish,
|
|
165
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
166
|
+
): Promise<PendleSparkLinearDiscountOracle> {
|
|
167
|
+
return super.deploy(
|
|
168
|
+
_pt,
|
|
169
|
+
_baseDiscountPerYear,
|
|
170
|
+
overrides || {}
|
|
171
|
+
) as Promise<PendleSparkLinearDiscountOracle>;
|
|
172
|
+
}
|
|
173
|
+
getDeployTransaction(
|
|
174
|
+
_pt: string,
|
|
175
|
+
_baseDiscountPerYear: BigNumberish,
|
|
176
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
177
|
+
): TransactionRequest {
|
|
178
|
+
return super.getDeployTransaction(
|
|
179
|
+
_pt,
|
|
180
|
+
_baseDiscountPerYear,
|
|
181
|
+
overrides || {}
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
attach(address: string): PendleSparkLinearDiscountOracle {
|
|
185
|
+
return super.attach(address) as PendleSparkLinearDiscountOracle;
|
|
186
|
+
}
|
|
187
|
+
connect(signer: Signer): PendleSparkLinearDiscountOracle__factory {
|
|
188
|
+
return super.connect(signer) as PendleSparkLinearDiscountOracle__factory;
|
|
189
|
+
}
|
|
190
|
+
static readonly contractName: "PendleSparkLinearDiscountOracle";
|
|
191
|
+
public readonly contractName: "PendleSparkLinearDiscountOracle";
|
|
192
|
+
static readonly bytecode = _bytecode;
|
|
193
|
+
static readonly abi = _abi;
|
|
194
|
+
static createInterface(): PendleSparkLinearDiscountOracleInterface {
|
|
195
|
+
return new utils.Interface(
|
|
196
|
+
_abi
|
|
197
|
+
) as PendleSparkLinearDiscountOracleInterface;
|
|
198
|
+
}
|
|
199
|
+
static connect(
|
|
200
|
+
address: string,
|
|
201
|
+
signerOrProvider: Signer | Provider
|
|
202
|
+
): PendleSparkLinearDiscountOracle {
|
|
203
|
+
return new Contract(
|
|
204
|
+
address,
|
|
205
|
+
_abi,
|
|
206
|
+
signerOrProvider
|
|
207
|
+
) as PendleSparkLinearDiscountOracle;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleWstETHPriceFeed,
|
|
8
|
+
PendleWstETHPriceFeedInterface,
|
|
9
|
+
} from "../PendleWstETHPriceFeed";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "ETH_TO_USD",
|
|
15
|
+
outputs: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
stateMutability: "view",
|
|
23
|
+
type: "function",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [],
|
|
27
|
+
name: "FEED_MULTIPLIER",
|
|
28
|
+
outputs: [
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
stateMutability: "view",
|
|
36
|
+
type: "function",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [],
|
|
40
|
+
name: "STETH_TO_ETH",
|
|
41
|
+
outputs: [
|
|
42
|
+
{
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
stateMutability: "view",
|
|
49
|
+
type: "function",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [],
|
|
53
|
+
name: "WSTETH",
|
|
54
|
+
outputs: [
|
|
55
|
+
{
|
|
56
|
+
internalType: "address",
|
|
57
|
+
name: "",
|
|
58
|
+
type: "address",
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
stateMutability: "view",
|
|
62
|
+
type: "function",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
inputs: [],
|
|
66
|
+
name: "getPrice",
|
|
67
|
+
outputs: [
|
|
68
|
+
{
|
|
69
|
+
internalType: "uint256",
|
|
70
|
+
name: "",
|
|
71
|
+
type: "uint256",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
stateMutability: "view",
|
|
75
|
+
type: "function",
|
|
76
|
+
},
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
const _bytecode =
|
|
80
|
+
"0x608060405234801561001057600080fd5b50610456806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80634989ddc81461005c57806398d5fdca1461007a5780639ea47ca214610082578063d9fb643a146100b5578063fdc4f93b146100d0575b600080fd5b6100676305f5e10081565b6040519081526020015b60405180910390f35b6100676100eb565b61009d735f4ec3df9cbd43714fe2740f5e3616155c5b841981565b6040516001600160a01b039091168152602001610071565b61009d737f39c581f595b53c5cb19bd0b3f8da6c935e2ca081565b61009d7386392dc19c0b719886221c78ab11eb8cf5c5281281565b600080737f39c581f595b53c5cb19bd0b3f8da6c935e2ca06001600160a01b031663035faf826040518163ffffffff1660e01b8152600401602060405180830381865afa158015610140573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610164919061029b565b90506000610186827386392dc19c0b719886221c78ab11eb8cf5c528126101ad565b90506101a681735f4ec3df9cbd43714fe2740f5e3616155c5b84196101ad565b9250505090565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021191906102b4565b61021c90600a6103d8565b826001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e919061029b565b61028890856103e7565b61029291906103fe565b90505b92915050565b6000602082840312156102ad57600080fd5b5051919050565b6000602082840312156102c657600080fd5b815160ff811681146102d757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561032f578160001904821115610315576103156102de565b8085161561032257918102915b93841c93908002906102f9565b509250929050565b60008261034657506001610295565b8161035357506000610295565b816001811461036957600281146103735761038f565b6001915050610295565b60ff841115610384576103846102de565b50506001821b610295565b5060208310610133831016604e8410600b84101617156103b2575081810a610295565b6103bc83836102f4565b80600019048211156103d0576103d06102de565b029392505050565b600061029260ff841683610337565b8082028115828204841417610295576102956102de565b60008261041b57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220e930c85b2df8352352e8ba3972283b2c807e4b012e4d52c5aff43afed40f391f64736f6c63430008170033";
|
|
81
|
+
|
|
82
|
+
type PendleWstETHPriceFeedConstructorParams =
|
|
83
|
+
| [signer?: Signer]
|
|
84
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
85
|
+
|
|
86
|
+
const isSuperArgs = (
|
|
87
|
+
xs: PendleWstETHPriceFeedConstructorParams
|
|
88
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
89
|
+
|
|
90
|
+
export class PendleWstETHPriceFeed__factory extends ContractFactory {
|
|
91
|
+
constructor(...args: PendleWstETHPriceFeedConstructorParams) {
|
|
92
|
+
if (isSuperArgs(args)) {
|
|
93
|
+
super(...args);
|
|
94
|
+
} else {
|
|
95
|
+
super(_abi, _bytecode, args[0]);
|
|
96
|
+
}
|
|
97
|
+
this.contractName = "PendleWstETHPriceFeed";
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
deploy(
|
|
101
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
102
|
+
): Promise<PendleWstETHPriceFeed> {
|
|
103
|
+
return super.deploy(overrides || {}) as Promise<PendleWstETHPriceFeed>;
|
|
104
|
+
}
|
|
105
|
+
getDeployTransaction(
|
|
106
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
107
|
+
): TransactionRequest {
|
|
108
|
+
return super.getDeployTransaction(overrides || {});
|
|
109
|
+
}
|
|
110
|
+
attach(address: string): PendleWstETHPriceFeed {
|
|
111
|
+
return super.attach(address) as PendleWstETHPriceFeed;
|
|
112
|
+
}
|
|
113
|
+
connect(signer: Signer): PendleWstETHPriceFeed__factory {
|
|
114
|
+
return super.connect(signer) as PendleWstETHPriceFeed__factory;
|
|
115
|
+
}
|
|
116
|
+
static readonly contractName: "PendleWstETHPriceFeed";
|
|
117
|
+
public readonly contractName: "PendleWstETHPriceFeed";
|
|
118
|
+
static readonly bytecode = _bytecode;
|
|
119
|
+
static readonly abi = _abi;
|
|
120
|
+
static createInterface(): PendleWstETHPriceFeedInterface {
|
|
121
|
+
return new utils.Interface(_abi) as PendleWstETHPriceFeedInterface;
|
|
122
|
+
}
|
|
123
|
+
static connect(
|
|
124
|
+
address: string,
|
|
125
|
+
signerOrProvider: Signer | Provider
|
|
126
|
+
): PendleWstETHPriceFeed {
|
|
127
|
+
return new Contract(
|
|
128
|
+
address,
|
|
129
|
+
_abi,
|
|
130
|
+
signerOrProvider
|
|
131
|
+
) as PendleWstETHPriceFeed;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { Proxy, ProxyInterface } from "../Proxy";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
stateMutability: "payable",
|
|
12
|
+
type: "fallback",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
stateMutability: "payable",
|
|
16
|
+
type: "receive",
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
export class Proxy__factory {
|
|
21
|
+
static readonly abi = _abi;
|
|
22
|
+
static createInterface(): ProxyInterface {
|
|
23
|
+
return new utils.Interface(_abi) as ProxyInterface;
|
|
24
|
+
}
|
|
25
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Proxy {
|
|
26
|
+
return new Contract(address, _abi, signerOrProvider) as Proxy;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
SimulateHelper,
|
|
8
|
+
SimulateHelperInterface,
|
|
9
|
+
} from "../SimulateHelper";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
stateMutability: "nonpayable",
|
|
15
|
+
type: "constructor",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "bool",
|
|
21
|
+
name: "success",
|
|
22
|
+
type: "bool",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "bytes",
|
|
26
|
+
name: "res",
|
|
27
|
+
type: "bytes",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "SimulationResults",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "gasLimit",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
internalType: "address[]",
|
|
42
|
+
name: "targets",
|
|
43
|
+
type: "address[]",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
internalType: "bytes[]",
|
|
47
|
+
name: "callDatas",
|
|
48
|
+
type: "bytes[]",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
name: "multicallRevert",
|
|
52
|
+
outputs: [
|
|
53
|
+
{
|
|
54
|
+
internalType: "bytes[]",
|
|
55
|
+
name: "res",
|
|
56
|
+
type: "bytes[]",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
internalType: "uint256[]",
|
|
60
|
+
name: "gasUsed",
|
|
61
|
+
type: "uint256[]",
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
stateMutability: "payable",
|
|
65
|
+
type: "function",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "target",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "bytes",
|
|
76
|
+
name: "data",
|
|
77
|
+
type: "bytes",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "simulate",
|
|
81
|
+
outputs: [],
|
|
82
|
+
stateMutability: "payable",
|
|
83
|
+
type: "function",
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
|
|
87
|
+
const _bytecode =
|
|
88
|
+
"0x60a060405234801561001057600080fd5b5030608052608051610700610030600039600061015b01526107006000f3fe6080604052600436106100295760003560e01c806373e3b88e1461002e578063bd61951d14610058575b600080fd5b61004161003c36600461037e565b61006d565b60405161004f929190610447565b60405180910390f35b61006b6100663660046104fe565b6102b4565b005b6060808483146100b65760405162461bcd60e51b815260206004820152600f60248201526e0d8cadccee8d040dad2e6dac2e8c6d608b1b60448201526064015b60405180910390fd5b82806001600160401b038111156100cf576100cf610580565b60405190808252806020026020018201604052801561010257816020015b60608152602001906001900390816100ed5790505b509250806001600160401b0381111561011d5761011d610580565b604051908082528060200260200182016040528015610146578160200160208202803683370190505b50915060005b818110156102a85760005a90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168a8a8a8581811061019657610196610596565b90506020020160208101906101ab91906105ac565b8989868181106101bd576101bd610596565b90506020028101906101cf91906105ce565b6040516024016101e193929190610614565b60408051601f198184030181529181526020820180516001600160e01b031663bd61951d60e01b179052516102169190610654565b6000604051808303818686f4925050503d8060008114610252576040519150601f19603f3d011682016040523d82523d6000602084013e610257565b606091505b50905085838151811061026c5761026c610596565b60200260200101819052505a6102829082610670565b84838151811061029457610294610596565b60209081029190910101525060010161014c565b50509550959350505050565b600080846001600160a01b031684846040516102d1929190610697565b600060405180830381855af49150503d806000811461030c576040519150601f19603f3d011682016040523d82523d6000602084013e610311565b606091505b5091509150818160405163032695f960e31b81526004016100ad9291906106a7565b60008083601f84011261034557600080fd5b5081356001600160401b0381111561035c57600080fd5b6020830191508360208260051b850101111561037757600080fd5b9250929050565b60008060008060006060868803121561039657600080fd5b8535945060208601356001600160401b03808211156103b457600080fd5b6103c089838a01610333565b909650945060408801359150808211156103d957600080fd5b506103e688828901610333565b969995985093965092949392505050565b60005b838110156104125781810151838201526020016103fa565b50506000910152565b600081518084526104338160208601602086016103f7565b601f01601f19169290920160200192915050565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b8381101561049e57605f1988870301855261048c86835161041b565b95509382019390820190600101610470565b50508584038187015286518085528782019482019350915060005b828110156104d5578451845293810193928101926001016104b9565b5091979650505050505050565b80356001600160a01b03811681146104f957600080fd5b919050565b60008060006040848603121561051357600080fd5b61051c846104e2565b925060208401356001600160401b038082111561053857600080fd5b818601915086601f83011261054c57600080fd5b81358181111561055b57600080fd5b87602082850101111561056d57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156105be57600080fd5b6105c7826104e2565b9392505050565b6000808335601e198436030181126105e557600080fd5b8301803591506001600160401b038211156105ff57600080fd5b60200191503681900382131561037757600080fd5b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516106668184602087016103f7565b9190910192915050565b8181038181111561069157634e487b7160e01b600052601160045260246000fd5b92915050565b8183823760009101908152919050565b82151581526040602082015260006106c2604083018461041b565b94935050505056fea2646970667358221220f51d6585dabc104869eb2df441ad73dfa34921c8d8d725c623ff7eb2aebcf4cf64736f6c63430008170033";
|
|
89
|
+
|
|
90
|
+
type SimulateHelperConstructorParams =
|
|
91
|
+
| [signer?: Signer]
|
|
92
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
93
|
+
|
|
94
|
+
const isSuperArgs = (
|
|
95
|
+
xs: SimulateHelperConstructorParams
|
|
96
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
97
|
+
|
|
98
|
+
export class SimulateHelper__factory extends ContractFactory {
|
|
99
|
+
constructor(...args: SimulateHelperConstructorParams) {
|
|
100
|
+
if (isSuperArgs(args)) {
|
|
101
|
+
super(...args);
|
|
102
|
+
} else {
|
|
103
|
+
super(_abi, _bytecode, args[0]);
|
|
104
|
+
}
|
|
105
|
+
this.contractName = "SimulateHelper";
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
deploy(
|
|
109
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
110
|
+
): Promise<SimulateHelper> {
|
|
111
|
+
return super.deploy(overrides || {}) as Promise<SimulateHelper>;
|
|
112
|
+
}
|
|
113
|
+
getDeployTransaction(
|
|
114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
+
): TransactionRequest {
|
|
116
|
+
return super.getDeployTransaction(overrides || {});
|
|
117
|
+
}
|
|
118
|
+
attach(address: string): SimulateHelper {
|
|
119
|
+
return super.attach(address) as SimulateHelper;
|
|
120
|
+
}
|
|
121
|
+
connect(signer: Signer): SimulateHelper__factory {
|
|
122
|
+
return super.connect(signer) as SimulateHelper__factory;
|
|
123
|
+
}
|
|
124
|
+
static readonly contractName: "SimulateHelper";
|
|
125
|
+
public readonly contractName: "SimulateHelper";
|
|
126
|
+
static readonly bytecode = _bytecode;
|
|
127
|
+
static readonly abi = _abi;
|
|
128
|
+
static createInterface(): SimulateHelperInterface {
|
|
129
|
+
return new utils.Interface(_abi) as SimulateHelperInterface;
|
|
130
|
+
}
|
|
131
|
+
static connect(
|
|
132
|
+
address: string,
|
|
133
|
+
signerOrProvider: Signer | Provider
|
|
134
|
+
): SimulateHelper {
|
|
135
|
+
return new Contract(address, _abi, signerOrProvider) as SimulateHelper;
|
|
136
|
+
}
|
|
137
|
+
}
|