@pendle/core-v2 6.10.0 → 6.11.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/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.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/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.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/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.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/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/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/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +1 -1
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.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/196-core.json +6 -1
- package/deployments/4663-core.json +3 -1
- package/package.json +62 -61
- package/typechain-types/IAaveOracle.ts +149 -17
- package/typechain-types/factories/IAaveOracle__factory.ts +93 -3
- package/typechain-types/hardhat.d.ts +0 -54
- package/typechain-types/index.ts +2 -12
- package/typechain-types/ActionCrossChain.ts +0 -161
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -106
- package/typechain-types/FixedPricePTAMM.ts +0 -892
- package/typechain-types/IBeaconUpgradeable.ts +0 -87
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
- package/typechain-types/IDssPsm.ts +0 -194
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
- package/typechain-types/IERC1967Upgradeable.ts +0 -97
- package/typechain-types/IFlashLoanReceiver.ts +0 -125
- package/typechain-types/IMulticall.ts +0 -117
- package/typechain-types/IPActionCrossChain.ts +0 -161
- package/typechain-types/IPFixedPricePTAMM.ts +0 -612
- package/typechain-types/IPSwapHelper.ts +0 -161
- package/typechain-types/IPoolDataProviderV31.ts +0 -933
- package/typechain-types/IPot.ts +0 -181
- package/typechain-types/ISDAI.ts +0 -877
- package/typechain-types/Multicall.ts +0 -117
- package/typechain-types/OFTAdapter.ts +0 -1331
- package/typechain-types/PTLooperView.ts +0 -618
- package/typechain-types/PendlePTOFTAdapterFactory.ts +0 -419
- package/typechain-types/PendleSwapHelper.ts +0 -161
- package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -88
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +0 -720
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
- package/typechain-types/factories/IDssPsm__factory.ts +0 -122
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/typechain-types/factories/IERC1967Upgradeable__factory.ts +0 -71
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
- package/typechain-types/factories/IMulticall__factory.ts +0 -66
- package/typechain-types/factories/IPActionCrossChain__factory.ts +0 -114
- package/typechain-types/factories/IPFixedPricePTAMM__factory.ts +0 -429
- package/typechain-types/factories/IPSwapHelper__factory.ts +0 -111
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
- package/typechain-types/factories/IPot__factory.ts +0 -98
- package/typechain-types/factories/ISDAI__factory.ts +0 -645
- package/typechain-types/factories/Multicall__factory.ts +0 -104
- package/typechain-types/factories/OFTAdapter__factory.ts +0 -1256
- package/typechain-types/factories/PTLooperView__factory.ts +0 -467
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +0 -342
- package/typechain-types/factories/PendleSwapHelper__factory.ts +0 -152
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import {
|
|
5
5
|
BaseContract,
|
|
6
6
|
BigNumber,
|
|
7
|
-
BigNumberish,
|
|
8
7
|
BytesLike,
|
|
9
8
|
CallOverrides,
|
|
10
9
|
PopulatedTransaction,
|
|
@@ -23,16 +22,70 @@ import type {
|
|
|
23
22
|
export interface IAaveOracleInterface extends utils.Interface {
|
|
24
23
|
contractName: "IAaveOracle";
|
|
25
24
|
functions: {
|
|
26
|
-
"
|
|
25
|
+
"ADDRESSES_PROVIDER()": FunctionFragment;
|
|
26
|
+
"BASE_CURRENCY()": FunctionFragment;
|
|
27
|
+
"BASE_CURRENCY_UNIT()": FunctionFragment;
|
|
28
|
+
"getAssetPrice(address)": FunctionFragment;
|
|
29
|
+
"getAssetsPrices(address[])": FunctionFragment;
|
|
30
|
+
"getFallbackOracle()": FunctionFragment;
|
|
31
|
+
"getSourceOfAsset(address)": FunctionFragment;
|
|
27
32
|
};
|
|
28
33
|
|
|
29
34
|
encodeFunctionData(
|
|
30
|
-
functionFragment: "
|
|
31
|
-
values
|
|
35
|
+
functionFragment: "ADDRESSES_PROVIDER",
|
|
36
|
+
values?: undefined
|
|
37
|
+
): string;
|
|
38
|
+
encodeFunctionData(
|
|
39
|
+
functionFragment: "BASE_CURRENCY",
|
|
40
|
+
values?: undefined
|
|
41
|
+
): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "BASE_CURRENCY_UNIT",
|
|
44
|
+
values?: undefined
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "getAssetPrice",
|
|
48
|
+
values: [string]
|
|
49
|
+
): string;
|
|
50
|
+
encodeFunctionData(
|
|
51
|
+
functionFragment: "getAssetsPrices",
|
|
52
|
+
values: [string[]]
|
|
53
|
+
): string;
|
|
54
|
+
encodeFunctionData(
|
|
55
|
+
functionFragment: "getFallbackOracle",
|
|
56
|
+
values?: undefined
|
|
57
|
+
): string;
|
|
58
|
+
encodeFunctionData(
|
|
59
|
+
functionFragment: "getSourceOfAsset",
|
|
60
|
+
values: [string]
|
|
32
61
|
): string;
|
|
33
62
|
|
|
34
63
|
decodeFunctionResult(
|
|
35
|
-
functionFragment: "
|
|
64
|
+
functionFragment: "ADDRESSES_PROVIDER",
|
|
65
|
+
data: BytesLike
|
|
66
|
+
): Result;
|
|
67
|
+
decodeFunctionResult(
|
|
68
|
+
functionFragment: "BASE_CURRENCY",
|
|
69
|
+
data: BytesLike
|
|
70
|
+
): Result;
|
|
71
|
+
decodeFunctionResult(
|
|
72
|
+
functionFragment: "BASE_CURRENCY_UNIT",
|
|
73
|
+
data: BytesLike
|
|
74
|
+
): Result;
|
|
75
|
+
decodeFunctionResult(
|
|
76
|
+
functionFragment: "getAssetPrice",
|
|
77
|
+
data: BytesLike
|
|
78
|
+
): Result;
|
|
79
|
+
decodeFunctionResult(
|
|
80
|
+
functionFragment: "getAssetsPrices",
|
|
81
|
+
data: BytesLike
|
|
82
|
+
): Result;
|
|
83
|
+
decodeFunctionResult(
|
|
84
|
+
functionFragment: "getFallbackOracle",
|
|
85
|
+
data: BytesLike
|
|
86
|
+
): Result;
|
|
87
|
+
decodeFunctionResult(
|
|
88
|
+
functionFragment: "getSourceOfAsset",
|
|
36
89
|
data: BytesLike
|
|
37
90
|
): Result;
|
|
38
91
|
|
|
@@ -67,36 +120,115 @@ export interface IAaveOracle extends BaseContract {
|
|
|
67
120
|
removeListener: OnEvent<this>;
|
|
68
121
|
|
|
69
122
|
functions: {
|
|
70
|
-
|
|
71
|
-
|
|
123
|
+
ADDRESSES_PROVIDER(overrides?: CallOverrides): Promise<[string]>;
|
|
124
|
+
|
|
125
|
+
BASE_CURRENCY(overrides?: CallOverrides): Promise<[string]>;
|
|
126
|
+
|
|
127
|
+
BASE_CURRENCY_UNIT(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
128
|
+
|
|
129
|
+
getAssetPrice(
|
|
130
|
+
asset: string,
|
|
72
131
|
overrides?: CallOverrides
|
|
73
132
|
): Promise<[BigNumber]>;
|
|
133
|
+
|
|
134
|
+
getAssetsPrices(
|
|
135
|
+
assets: string[],
|
|
136
|
+
overrides?: CallOverrides
|
|
137
|
+
): Promise<[BigNumber[]]>;
|
|
138
|
+
|
|
139
|
+
getFallbackOracle(overrides?: CallOverrides): Promise<[string]>;
|
|
140
|
+
|
|
141
|
+
getSourceOfAsset(
|
|
142
|
+
asset: string,
|
|
143
|
+
overrides?: CallOverrides
|
|
144
|
+
): Promise<[string]>;
|
|
74
145
|
};
|
|
75
146
|
|
|
76
|
-
|
|
77
|
-
|
|
147
|
+
ADDRESSES_PROVIDER(overrides?: CallOverrides): Promise<string>;
|
|
148
|
+
|
|
149
|
+
BASE_CURRENCY(overrides?: CallOverrides): Promise<string>;
|
|
150
|
+
|
|
151
|
+
BASE_CURRENCY_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
152
|
+
|
|
153
|
+
getAssetPrice(asset: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
154
|
+
|
|
155
|
+
getAssetsPrices(
|
|
156
|
+
assets: string[],
|
|
78
157
|
overrides?: CallOverrides
|
|
79
|
-
): Promise<BigNumber>;
|
|
158
|
+
): Promise<BigNumber[]>;
|
|
159
|
+
|
|
160
|
+
getFallbackOracle(overrides?: CallOverrides): Promise<string>;
|
|
161
|
+
|
|
162
|
+
getSourceOfAsset(asset: string, overrides?: CallOverrides): Promise<string>;
|
|
80
163
|
|
|
81
164
|
callStatic: {
|
|
82
|
-
|
|
83
|
-
|
|
165
|
+
ADDRESSES_PROVIDER(overrides?: CallOverrides): Promise<string>;
|
|
166
|
+
|
|
167
|
+
BASE_CURRENCY(overrides?: CallOverrides): Promise<string>;
|
|
168
|
+
|
|
169
|
+
BASE_CURRENCY_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
170
|
+
|
|
171
|
+
getAssetPrice(asset: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
172
|
+
|
|
173
|
+
getAssetsPrices(
|
|
174
|
+
assets: string[],
|
|
84
175
|
overrides?: CallOverrides
|
|
85
|
-
): Promise<BigNumber>;
|
|
176
|
+
): Promise<BigNumber[]>;
|
|
177
|
+
|
|
178
|
+
getFallbackOracle(overrides?: CallOverrides): Promise<string>;
|
|
179
|
+
|
|
180
|
+
getSourceOfAsset(asset: string, overrides?: CallOverrides): Promise<string>;
|
|
86
181
|
};
|
|
87
182
|
|
|
88
183
|
filters: {};
|
|
89
184
|
|
|
90
185
|
estimateGas: {
|
|
91
|
-
|
|
92
|
-
|
|
186
|
+
ADDRESSES_PROVIDER(overrides?: CallOverrides): Promise<BigNumber>;
|
|
187
|
+
|
|
188
|
+
BASE_CURRENCY(overrides?: CallOverrides): Promise<BigNumber>;
|
|
189
|
+
|
|
190
|
+
BASE_CURRENCY_UNIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
191
|
+
|
|
192
|
+
getAssetPrice(asset: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
193
|
+
|
|
194
|
+
getAssetsPrices(
|
|
195
|
+
assets: string[],
|
|
196
|
+
overrides?: CallOverrides
|
|
197
|
+
): Promise<BigNumber>;
|
|
198
|
+
|
|
199
|
+
getFallbackOracle(overrides?: CallOverrides): Promise<BigNumber>;
|
|
200
|
+
|
|
201
|
+
getSourceOfAsset(
|
|
202
|
+
asset: string,
|
|
93
203
|
overrides?: CallOverrides
|
|
94
204
|
): Promise<BigNumber>;
|
|
95
205
|
};
|
|
96
206
|
|
|
97
207
|
populateTransaction: {
|
|
98
|
-
|
|
99
|
-
|
|
208
|
+
ADDRESSES_PROVIDER(
|
|
209
|
+
overrides?: CallOverrides
|
|
210
|
+
): Promise<PopulatedTransaction>;
|
|
211
|
+
|
|
212
|
+
BASE_CURRENCY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
213
|
+
|
|
214
|
+
BASE_CURRENCY_UNIT(
|
|
215
|
+
overrides?: CallOverrides
|
|
216
|
+
): Promise<PopulatedTransaction>;
|
|
217
|
+
|
|
218
|
+
getAssetPrice(
|
|
219
|
+
asset: string,
|
|
220
|
+
overrides?: CallOverrides
|
|
221
|
+
): Promise<PopulatedTransaction>;
|
|
222
|
+
|
|
223
|
+
getAssetsPrices(
|
|
224
|
+
assets: string[],
|
|
225
|
+
overrides?: CallOverrides
|
|
226
|
+
): Promise<PopulatedTransaction>;
|
|
227
|
+
|
|
228
|
+
getFallbackOracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
229
|
+
|
|
230
|
+
getSourceOfAsset(
|
|
231
|
+
asset: string,
|
|
100
232
|
overrides?: CallOverrides
|
|
101
233
|
): Promise<PopulatedTransaction>;
|
|
102
234
|
};
|
|
@@ -8,14 +8,53 @@ import type { IAaveOracle, IAaveOracleInterface } from "../IAaveOracle";
|
|
|
8
8
|
|
|
9
9
|
const _abi = [
|
|
10
10
|
{
|
|
11
|
-
inputs: [
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "ADDRESSES_PROVIDER",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "contract IPoolAddressesProvider",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "BASE_CURRENCY",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "contract IERC20Metadata",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "BASE_CURRENCY_UNIT",
|
|
39
|
+
outputs: [
|
|
12
40
|
{
|
|
13
41
|
internalType: "uint256",
|
|
14
|
-
name: "
|
|
42
|
+
name: "",
|
|
15
43
|
type: "uint256",
|
|
16
44
|
},
|
|
17
45
|
],
|
|
18
|
-
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "contract IERC20Metadata",
|
|
53
|
+
name: "asset",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "getAssetPrice",
|
|
19
58
|
outputs: [
|
|
20
59
|
{
|
|
21
60
|
internalType: "uint256",
|
|
@@ -26,6 +65,57 @@ const _abi = [
|
|
|
26
65
|
stateMutability: "view",
|
|
27
66
|
type: "function",
|
|
28
67
|
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "contract IERC20Metadata[]",
|
|
72
|
+
name: "assets",
|
|
73
|
+
type: "address[]",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "getAssetsPrices",
|
|
77
|
+
outputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256[]",
|
|
80
|
+
name: "",
|
|
81
|
+
type: "uint256[]",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
stateMutability: "view",
|
|
85
|
+
type: "function",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [],
|
|
89
|
+
name: "getFallbackOracle",
|
|
90
|
+
outputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "address",
|
|
93
|
+
name: "",
|
|
94
|
+
type: "address",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
stateMutability: "view",
|
|
98
|
+
type: "function",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
inputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "contract IERC20Metadata",
|
|
104
|
+
name: "asset",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "getSourceOfAsset",
|
|
109
|
+
outputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
stateMutability: "view",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
29
119
|
];
|
|
30
120
|
|
|
31
121
|
export class IAaveOracle__factory {
|
|
@@ -164,10 +164,6 @@ declare module "hardhat/types/runtime" {
|
|
|
164
164
|
name: "OFT",
|
|
165
165
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
166
166
|
): Promise<Contracts.OFT__factory>;
|
|
167
|
-
getContractFactory(
|
|
168
|
-
name: "OFTAdapter",
|
|
169
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
170
|
-
): Promise<Contracts.OFTAdapter__factory>;
|
|
171
167
|
getContractFactory(
|
|
172
168
|
name: "OFTCore",
|
|
173
169
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -184,34 +180,14 @@ declare module "hardhat/types/runtime" {
|
|
|
184
180
|
name: "OwnableUpgradeable",
|
|
185
181
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
186
182
|
): Promise<Contracts.OwnableUpgradeable__factory>;
|
|
187
|
-
getContractFactory(
|
|
188
|
-
name: "IERC1822ProxiableUpgradeable",
|
|
189
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
190
|
-
): Promise<Contracts.IERC1822ProxiableUpgradeable__factory>;
|
|
191
|
-
getContractFactory(
|
|
192
|
-
name: "IERC1967Upgradeable",
|
|
193
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
194
|
-
): Promise<Contracts.IERC1967Upgradeable__factory>;
|
|
195
183
|
getContractFactory(
|
|
196
184
|
name: "IERC5267Upgradeable",
|
|
197
185
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
198
186
|
): Promise<Contracts.IERC5267Upgradeable__factory>;
|
|
199
|
-
getContractFactory(
|
|
200
|
-
name: "IBeaconUpgradeable",
|
|
201
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
202
|
-
): Promise<Contracts.IBeaconUpgradeable__factory>;
|
|
203
|
-
getContractFactory(
|
|
204
|
-
name: "ERC1967UpgradeUpgradeable",
|
|
205
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
206
|
-
): Promise<Contracts.ERC1967UpgradeUpgradeable__factory>;
|
|
207
187
|
getContractFactory(
|
|
208
188
|
name: "Initializable",
|
|
209
189
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
210
190
|
): Promise<Contracts.Initializable__factory>;
|
|
211
|
-
getContractFactory(
|
|
212
|
-
name: "UUPSUpgradeable",
|
|
213
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
214
|
-
): Promise<Contracts.UUPSUpgradeable__factory>;
|
|
215
191
|
getContractFactory(
|
|
216
192
|
name: "ReentrancyGuardUpgradeable",
|
|
217
193
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1523,11 +1499,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1523
1499
|
address: string,
|
|
1524
1500
|
signer?: ethers.Signer
|
|
1525
1501
|
): Promise<Contracts.OFT>;
|
|
1526
|
-
getContractAt(
|
|
1527
|
-
name: "OFTAdapter",
|
|
1528
|
-
address: string,
|
|
1529
|
-
signer?: ethers.Signer
|
|
1530
|
-
): Promise<Contracts.OFTAdapter>;
|
|
1531
1502
|
getContractAt(
|
|
1532
1503
|
name: "OFTCore",
|
|
1533
1504
|
address: string,
|
|
@@ -1548,41 +1519,16 @@ declare module "hardhat/types/runtime" {
|
|
|
1548
1519
|
address: string,
|
|
1549
1520
|
signer?: ethers.Signer
|
|
1550
1521
|
): Promise<Contracts.OwnableUpgradeable>;
|
|
1551
|
-
getContractAt(
|
|
1552
|
-
name: "IERC1822ProxiableUpgradeable",
|
|
1553
|
-
address: string,
|
|
1554
|
-
signer?: ethers.Signer
|
|
1555
|
-
): Promise<Contracts.IERC1822ProxiableUpgradeable>;
|
|
1556
|
-
getContractAt(
|
|
1557
|
-
name: "IERC1967Upgradeable",
|
|
1558
|
-
address: string,
|
|
1559
|
-
signer?: ethers.Signer
|
|
1560
|
-
): Promise<Contracts.IERC1967Upgradeable>;
|
|
1561
1522
|
getContractAt(
|
|
1562
1523
|
name: "IERC5267Upgradeable",
|
|
1563
1524
|
address: string,
|
|
1564
1525
|
signer?: ethers.Signer
|
|
1565
1526
|
): Promise<Contracts.IERC5267Upgradeable>;
|
|
1566
|
-
getContractAt(
|
|
1567
|
-
name: "IBeaconUpgradeable",
|
|
1568
|
-
address: string,
|
|
1569
|
-
signer?: ethers.Signer
|
|
1570
|
-
): Promise<Contracts.IBeaconUpgradeable>;
|
|
1571
|
-
getContractAt(
|
|
1572
|
-
name: "ERC1967UpgradeUpgradeable",
|
|
1573
|
-
address: string,
|
|
1574
|
-
signer?: ethers.Signer
|
|
1575
|
-
): Promise<Contracts.ERC1967UpgradeUpgradeable>;
|
|
1576
1527
|
getContractAt(
|
|
1577
1528
|
name: "Initializable",
|
|
1578
1529
|
address: string,
|
|
1579
1530
|
signer?: ethers.Signer
|
|
1580
1531
|
): Promise<Contracts.Initializable>;
|
|
1581
|
-
getContractAt(
|
|
1582
|
-
name: "UUPSUpgradeable",
|
|
1583
|
-
address: string,
|
|
1584
|
-
signer?: ethers.Signer
|
|
1585
|
-
): Promise<Contracts.UUPSUpgradeable>;
|
|
1586
1532
|
getContractAt(
|
|
1587
1533
|
name: "ReentrancyGuardUpgradeable",
|
|
1588
1534
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -39,18 +39,12 @@ export type { OFTCoreUpgradeable } from "./OFTCoreUpgradeable";
|
|
|
39
39
|
export type { OFTUpgradeable } from "./OFTUpgradeable";
|
|
40
40
|
export type { IOFT } from "./IOFT";
|
|
41
41
|
export type { OFT } from "./OFT";
|
|
42
|
-
export type { OFTAdapter } from "./OFTAdapter";
|
|
43
42
|
export type { OFTCore } from "./OFTCore";
|
|
44
43
|
export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
45
44
|
export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable";
|
|
46
45
|
export type { OwnableUpgradeable } from "./OwnableUpgradeable";
|
|
47
|
-
export type { IERC1822ProxiableUpgradeable } from "./IERC1822ProxiableUpgradeable";
|
|
48
|
-
export type { IERC1967Upgradeable } from "./IERC1967Upgradeable";
|
|
49
46
|
export type { IERC5267Upgradeable } from "./IERC5267Upgradeable";
|
|
50
|
-
export type { IBeaconUpgradeable } from "./IBeaconUpgradeable";
|
|
51
|
-
export type { ERC1967UpgradeUpgradeable } from "./ERC1967UpgradeUpgradeable";
|
|
52
47
|
export type { Initializable } from "./Initializable";
|
|
53
|
-
export type { UUPSUpgradeable } from "./UUPSUpgradeable";
|
|
54
48
|
export type { ReentrancyGuardUpgradeable } from "./ReentrancyGuardUpgradeable";
|
|
55
49
|
export type { ERC20Upgradeable } from "./ERC20Upgradeable";
|
|
56
50
|
export type { IERC20MetadataUpgradeable } from "./IERC20MetadataUpgradeable";
|
|
@@ -71,6 +65,7 @@ export type { Proxy } from "./Proxy";
|
|
|
71
65
|
export type { ProxyAdmin } from "./ProxyAdmin";
|
|
72
66
|
export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
|
|
73
67
|
export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
|
|
68
|
+
export type { UUPSUpgradeable } from "./UUPSUpgradeable";
|
|
74
69
|
export type { ERC20 } from "./ERC20";
|
|
75
70
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
76
71
|
export type { IERC20Permit } from "./IERC20Permit";
|
|
@@ -366,18 +361,12 @@ export { OFTCoreUpgradeable__factory } from "./factories/OFTCoreUpgradeable__fac
|
|
|
366
361
|
export { OFTUpgradeable__factory } from "./factories/OFTUpgradeable__factory";
|
|
367
362
|
export { IOFT__factory } from "./factories/IOFT__factory";
|
|
368
363
|
export { OFT__factory } from "./factories/OFT__factory";
|
|
369
|
-
export { OFTAdapter__factory } from "./factories/OFTAdapter__factory";
|
|
370
364
|
export { OFTCore__factory } from "./factories/OFTCore__factory";
|
|
371
365
|
export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgradeable__factory";
|
|
372
366
|
export { IAccessControlUpgradeable__factory } from "./factories/IAccessControlUpgradeable__factory";
|
|
373
367
|
export { OwnableUpgradeable__factory } from "./factories/OwnableUpgradeable__factory";
|
|
374
|
-
export { IERC1822ProxiableUpgradeable__factory } from "./factories/IERC1822ProxiableUpgradeable__factory";
|
|
375
|
-
export { IERC1967Upgradeable__factory } from "./factories/IERC1967Upgradeable__factory";
|
|
376
368
|
export { IERC5267Upgradeable__factory } from "./factories/IERC5267Upgradeable__factory";
|
|
377
|
-
export { IBeaconUpgradeable__factory } from "./factories/IBeaconUpgradeable__factory";
|
|
378
|
-
export { ERC1967UpgradeUpgradeable__factory } from "./factories/ERC1967UpgradeUpgradeable__factory";
|
|
379
369
|
export { Initializable__factory } from "./factories/Initializable__factory";
|
|
380
|
-
export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
|
|
381
370
|
export { ReentrancyGuardUpgradeable__factory } from "./factories/ReentrancyGuardUpgradeable__factory";
|
|
382
371
|
export { ERC20Upgradeable__factory } from "./factories/ERC20Upgradeable__factory";
|
|
383
372
|
export { IERC20MetadataUpgradeable__factory } from "./factories/IERC20MetadataUpgradeable__factory";
|
|
@@ -398,6 +387,7 @@ export { Proxy__factory } from "./factories/Proxy__factory";
|
|
|
398
387
|
export { ProxyAdmin__factory } from "./factories/ProxyAdmin__factory";
|
|
399
388
|
export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
|
|
400
389
|
export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
|
|
390
|
+
export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
|
|
401
391
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
402
392
|
export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
403
393
|
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
@@ -1,161 +0,0 @@
|
|
|
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
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
-
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
-
import type {
|
|
19
|
-
TypedEventFilter,
|
|
20
|
-
TypedEvent,
|
|
21
|
-
TypedListener,
|
|
22
|
-
OnEvent,
|
|
23
|
-
} from "./common";
|
|
24
|
-
|
|
25
|
-
export type SwapDataStruct = {
|
|
26
|
-
swapType: BigNumberish;
|
|
27
|
-
extRouter: string;
|
|
28
|
-
extCalldata: BytesLike;
|
|
29
|
-
needScale: boolean;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
33
|
-
swapType: number;
|
|
34
|
-
extRouter: string;
|
|
35
|
-
extCalldata: string;
|
|
36
|
-
needScale: boolean;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export type TokenOutputStruct = {
|
|
40
|
-
tokenOut: string;
|
|
41
|
-
minTokenOut: BigNumberish;
|
|
42
|
-
tokenRedeemSy: string;
|
|
43
|
-
pendleSwap: string;
|
|
44
|
-
swapData: SwapDataStruct;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type TokenOutputStructOutput = [
|
|
48
|
-
string,
|
|
49
|
-
BigNumber,
|
|
50
|
-
string,
|
|
51
|
-
string,
|
|
52
|
-
SwapDataStructOutput
|
|
53
|
-
] & {
|
|
54
|
-
tokenOut: string;
|
|
55
|
-
minTokenOut: BigNumber;
|
|
56
|
-
tokenRedeemSy: string;
|
|
57
|
-
pendleSwap: string;
|
|
58
|
-
swapData: SwapDataStructOutput;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export interface ActionCrossChainInterface extends utils.Interface {
|
|
62
|
-
contractName: "ActionCrossChain";
|
|
63
|
-
functions: {
|
|
64
|
-
"swapWithFixedPricePTAMM(address,address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
encodeFunctionData(
|
|
68
|
-
functionFragment: "swapWithFixedPricePTAMM",
|
|
69
|
-
values: [string, string, string, BigNumberish, TokenOutputStruct]
|
|
70
|
-
): string;
|
|
71
|
-
|
|
72
|
-
decodeFunctionResult(
|
|
73
|
-
functionFragment: "swapWithFixedPricePTAMM",
|
|
74
|
-
data: BytesLike
|
|
75
|
-
): Result;
|
|
76
|
-
|
|
77
|
-
events: {};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ActionCrossChain extends BaseContract {
|
|
81
|
-
contractName: "ActionCrossChain";
|
|
82
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
83
|
-
attach(addressOrName: string): this;
|
|
84
|
-
deployed(): Promise<this>;
|
|
85
|
-
|
|
86
|
-
interface: ActionCrossChainInterface;
|
|
87
|
-
|
|
88
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
89
|
-
event: TypedEventFilter<TEvent>,
|
|
90
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
91
|
-
toBlock?: string | number | undefined
|
|
92
|
-
): Promise<Array<TEvent>>;
|
|
93
|
-
|
|
94
|
-
listeners<TEvent extends TypedEvent>(
|
|
95
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
96
|
-
): Array<TypedListener<TEvent>>;
|
|
97
|
-
listeners(eventName?: string): Array<Listener>;
|
|
98
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
99
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
100
|
-
): this;
|
|
101
|
-
removeAllListeners(eventName?: string): this;
|
|
102
|
-
off: OnEvent<this>;
|
|
103
|
-
on: OnEvent<this>;
|
|
104
|
-
once: OnEvent<this>;
|
|
105
|
-
removeListener: OnEvent<this>;
|
|
106
|
-
|
|
107
|
-
functions: {
|
|
108
|
-
swapWithFixedPricePTAMM(
|
|
109
|
-
receiver: string,
|
|
110
|
-
fixedPricePTAMM: string,
|
|
111
|
-
PT: string,
|
|
112
|
-
exactPtIn: BigNumberish,
|
|
113
|
-
out: TokenOutputStruct,
|
|
114
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
-
): Promise<ContractTransaction>;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
swapWithFixedPricePTAMM(
|
|
119
|
-
receiver: string,
|
|
120
|
-
fixedPricePTAMM: string,
|
|
121
|
-
PT: string,
|
|
122
|
-
exactPtIn: BigNumberish,
|
|
123
|
-
out: TokenOutputStruct,
|
|
124
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
-
): Promise<ContractTransaction>;
|
|
126
|
-
|
|
127
|
-
callStatic: {
|
|
128
|
-
swapWithFixedPricePTAMM(
|
|
129
|
-
receiver: string,
|
|
130
|
-
fixedPricePTAMM: string,
|
|
131
|
-
PT: string,
|
|
132
|
-
exactPtIn: BigNumberish,
|
|
133
|
-
out: TokenOutputStruct,
|
|
134
|
-
overrides?: CallOverrides
|
|
135
|
-
): Promise<BigNumber>;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
filters: {};
|
|
139
|
-
|
|
140
|
-
estimateGas: {
|
|
141
|
-
swapWithFixedPricePTAMM(
|
|
142
|
-
receiver: string,
|
|
143
|
-
fixedPricePTAMM: string,
|
|
144
|
-
PT: string,
|
|
145
|
-
exactPtIn: BigNumberish,
|
|
146
|
-
out: TokenOutputStruct,
|
|
147
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
148
|
-
): Promise<BigNumber>;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
populateTransaction: {
|
|
152
|
-
swapWithFixedPricePTAMM(
|
|
153
|
-
receiver: string,
|
|
154
|
-
fixedPricePTAMM: string,
|
|
155
|
-
PT: string,
|
|
156
|
-
exactPtIn: BigNumberish,
|
|
157
|
-
out: TokenOutputStruct,
|
|
158
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
159
|
-
): Promise<PopulatedTransaction>;
|
|
160
|
-
};
|
|
161
|
-
}
|