@pendle/core-v2 6.7.0 → 6.7.1
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 +4 -0
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
- 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/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/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/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 +4 -0
- package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/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/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/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
- package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
- package/deployments/1-core.json +2 -1
- package/deployments/130-core.json +2 -1
- package/deployments/143-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/4217-core.json +2 -1
- package/deployments/43114-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/57073-core.json +2 -1
- package/deployments/747474-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +1 -1
- package/typechain-types/IPOFTPTSwapper.ts +161 -0
- package/typechain-types/OFTPTSwapper.ts +161 -0
- package/typechain-types/UUPSUpgradeable.ts +9 -0
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
- package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
- package/typechain-types/hardhat.d.ts +22 -22
- package/typechain-types/index.ts +6 -6
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
- package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
- package/typechain-types/AaveMoneyMarket.ts +0 -763
- package/typechain-types/AaveMoneyMarketView.ts +0 -460
- package/typechain-types/BaseMoneyMarket.ts +0 -697
- package/typechain-types/BaseMoneyMarketView.ts +0 -362
- package/typechain-types/IAToken.ts +0 -358
- package/typechain-types/IAaveOracle.ts +0 -235
- package/typechain-types/IAaveRewardsController.ts +0 -1186
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
- package/typechain-types/IDssPsm.ts +0 -194
- package/typechain-types/IERC4626.ts +0 -864
- package/typechain-types/IFlashLoanReceiver.ts +0 -125
- package/typechain-types/IIrm.ts +0 -260
- package/typechain-types/IMoneyMarket.ts +0 -700
- package/typechain-types/IMoneyMarketEvents.ts +0 -196
- package/typechain-types/IMoneyMarketView.ts +0 -331
- package/typechain-types/IMorpho.ts +0 -1147
- package/typechain-types/IMorphoOracle.ts +0 -81
- package/typechain-types/IMulticall.ts +0 -117
- package/typechain-types/IPLoopPositionBox.ts +0 -298
- package/typechain-types/IPLoopPositionBoxFactory.ts +0 -434
- package/typechain-types/IPPTLooper.ts +0 -1550
- package/typechain-types/IPPTLooperView.ts +0 -468
- package/typechain-types/IPool.ts +0 -2220
- package/typechain-types/IPoolAddressesProvider.ts +0 -789
- package/typechain-types/IPoolDataProviderV3.ts +0 -865
- package/typechain-types/IPoolDataProviderV31.ts +0 -933
- package/typechain-types/IPot.ts +0 -181
- package/typechain-types/IPriceOracleGetter.ts +0 -133
- package/typechain-types/ISDAI.ts +0 -877
- package/typechain-types/LoopPositionBox.ts +0 -309
- package/typechain-types/LoopPositionBoxFactory.ts +0 -609
- package/typechain-types/MorphoBlueMoneyMarket.ts +0 -731
- package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -396
- package/typechain-types/Multicall.ts +0 -117
- package/typechain-types/PTLooperBase.ts +0 -1759
- package/typechain-types/PTLooperView.ts +0 -618
- package/typechain-types/PendlePTLooper.ts +0 -1784
- package/typechain-types/PendlePTLooperView.ts +0 -648
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +0 -450
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +0 -726
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +0 -279
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +0 -599
- package/typechain-types/factories/IAToken__factory.ts +0 -258
- package/typechain-types/factories/IAaveOracle__factory.ts +0 -132
- package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -743
- 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/IERC4626__factory.ts +0 -635
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
- package/typechain-types/factories/IIrm__factory.ts +0 -243
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +0 -225
- package/typechain-types/factories/IMoneyMarketView__factory.ts +0 -253
- package/typechain-types/factories/IMoneyMarket__factory.ts +0 -596
- package/typechain-types/factories/IMorphoOracle__factory.ts +0 -36
- package/typechain-types/factories/IMorpho__factory.ts +0 -1045
- package/typechain-types/factories/IMulticall__factory.ts +0 -66
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +0 -420
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -198
- package/typechain-types/factories/IPPTLooperView__factory.ts +0 -331
- package/typechain-types/factories/IPPTLooper__factory.ts +0 -2506
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +0 -526
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +0 -554
- package/typechain-types/factories/IPool__factory.ts +0 -1609
- package/typechain-types/factories/IPot__factory.ts +0 -98
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +0 -71
- package/typechain-types/factories/ISDAI__factory.ts +0 -645
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +0 -648
- package/typechain-types/factories/LoopPositionBox__factory.ts +0 -277
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +0 -384
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +0 -691
- package/typechain-types/factories/Multicall__factory.ts +0 -104
- package/typechain-types/factories/PTLooperBase__factory.ts +0 -2656
- package/typechain-types/factories/PTLooperView__factory.ts +0 -467
- package/typechain-types/factories/PendlePTLooperView__factory.ts +0 -499
- package/typechain-types/factories/PendlePTLooper__factory.ts +0 -2738
|
@@ -1,596 +0,0 @@
|
|
|
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 { IMoneyMarket, IMoneyMarketInterface } from "../IMoneyMarket";
|
|
8
|
-
|
|
9
|
-
const _abi = [
|
|
10
|
-
{
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
internalType: "contract IPLoopPositionBox",
|
|
14
|
-
name: "",
|
|
15
|
-
type: "address",
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
name: "InvalidIPLoopPositionBox",
|
|
19
|
-
type: "error",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
inputs: [
|
|
23
|
-
{
|
|
24
|
-
internalType: "address",
|
|
25
|
-
name: "token",
|
|
26
|
-
type: "address",
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
name: "TokenCantBeRetrieved",
|
|
30
|
-
type: "error",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
anonymous: false,
|
|
34
|
-
inputs: [
|
|
35
|
-
{
|
|
36
|
-
indexed: true,
|
|
37
|
-
internalType: "contract IPLoopPositionBox",
|
|
38
|
-
name: "",
|
|
39
|
-
type: "address",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
indexed: true,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "asset",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: false,
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
name: "amount",
|
|
51
|
-
type: "uint256",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
indexed: false,
|
|
55
|
-
internalType: "uint256",
|
|
56
|
-
name: "balanceBefore",
|
|
57
|
-
type: "uint256",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
name: "Borrowed",
|
|
61
|
-
type: "event",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
anonymous: false,
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
indexed: true,
|
|
68
|
-
internalType: "contract IPLoopPositionBox",
|
|
69
|
-
name: "",
|
|
70
|
-
type: "address",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
indexed: true,
|
|
74
|
-
internalType: "address",
|
|
75
|
-
name: "asset",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
indexed: false,
|
|
80
|
-
internalType: "uint256",
|
|
81
|
-
name: "amount",
|
|
82
|
-
type: "uint256",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
indexed: false,
|
|
86
|
-
internalType: "uint256",
|
|
87
|
-
name: "balanceBefore",
|
|
88
|
-
type: "uint256",
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
name: "Lent",
|
|
92
|
-
type: "event",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
anonymous: false,
|
|
96
|
-
inputs: [
|
|
97
|
-
{
|
|
98
|
-
indexed: true,
|
|
99
|
-
internalType: "contract IPLoopPositionBox",
|
|
100
|
-
name: "",
|
|
101
|
-
type: "address",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
indexed: true,
|
|
105
|
-
internalType: "address",
|
|
106
|
-
name: "asset",
|
|
107
|
-
type: "address",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
indexed: false,
|
|
111
|
-
internalType: "uint256",
|
|
112
|
-
name: "amount",
|
|
113
|
-
type: "uint256",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
indexed: false,
|
|
117
|
-
internalType: "uint256",
|
|
118
|
-
name: "balanceBefore",
|
|
119
|
-
type: "uint256",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: "Repaid",
|
|
123
|
-
type: "event",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
anonymous: false,
|
|
127
|
-
inputs: [
|
|
128
|
-
{
|
|
129
|
-
indexed: true,
|
|
130
|
-
internalType: "contract IPLoopPositionBox",
|
|
131
|
-
name: "",
|
|
132
|
-
type: "address",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
indexed: true,
|
|
136
|
-
internalType: "address",
|
|
137
|
-
name: "token",
|
|
138
|
-
type: "address",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
indexed: false,
|
|
142
|
-
internalType: "uint256",
|
|
143
|
-
name: "amount",
|
|
144
|
-
type: "uint256",
|
|
145
|
-
},
|
|
146
|
-
],
|
|
147
|
-
name: "Retrieved",
|
|
148
|
-
type: "event",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
anonymous: false,
|
|
152
|
-
inputs: [
|
|
153
|
-
{
|
|
154
|
-
indexed: true,
|
|
155
|
-
internalType: "contract IPLoopPositionBox",
|
|
156
|
-
name: "",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
indexed: false,
|
|
161
|
-
internalType: "address",
|
|
162
|
-
name: "to",
|
|
163
|
-
type: "address",
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
name: "RewardsClaimed",
|
|
167
|
-
type: "event",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
anonymous: false,
|
|
171
|
-
inputs: [
|
|
172
|
-
{
|
|
173
|
-
indexed: true,
|
|
174
|
-
internalType: "contract IPLoopPositionBox",
|
|
175
|
-
name: "",
|
|
176
|
-
type: "address",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
indexed: true,
|
|
180
|
-
internalType: "address",
|
|
181
|
-
name: "rewardsToken",
|
|
182
|
-
type: "address",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: false,
|
|
186
|
-
internalType: "address",
|
|
187
|
-
name: "to",
|
|
188
|
-
type: "address",
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
indexed: false,
|
|
192
|
-
internalType: "uint256",
|
|
193
|
-
name: "rewardsAmount",
|
|
194
|
-
type: "uint256",
|
|
195
|
-
},
|
|
196
|
-
],
|
|
197
|
-
name: "RewardsClaimed",
|
|
198
|
-
type: "event",
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
anonymous: false,
|
|
202
|
-
inputs: [
|
|
203
|
-
{
|
|
204
|
-
indexed: true,
|
|
205
|
-
internalType: "contract IPLoopPositionBox",
|
|
206
|
-
name: "",
|
|
207
|
-
type: "address",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
indexed: true,
|
|
211
|
-
internalType: "address",
|
|
212
|
-
name: "asset",
|
|
213
|
-
type: "address",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
indexed: false,
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
name: "amount",
|
|
219
|
-
type: "uint256",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "balanceBefore",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
name: "Withdrawn",
|
|
229
|
-
type: "event",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
inputs: [],
|
|
233
|
-
name: "NEEDS_ACCOUNT",
|
|
234
|
-
outputs: [
|
|
235
|
-
{
|
|
236
|
-
internalType: "bool",
|
|
237
|
-
name: "",
|
|
238
|
-
type: "bool",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
stateMutability: "view",
|
|
242
|
-
type: "function",
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
inputs: [
|
|
246
|
-
{
|
|
247
|
-
internalType: "contract IPLoopPositionBox",
|
|
248
|
-
name: "",
|
|
249
|
-
type: "address",
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
internalType: "bytes32",
|
|
253
|
-
name: "mmPayload",
|
|
254
|
-
type: "bytes32",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
internalType: "address",
|
|
258
|
-
name: "asset",
|
|
259
|
-
type: "address",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
internalType: "uint256",
|
|
263
|
-
name: "amount",
|
|
264
|
-
type: "uint256",
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
internalType: "address",
|
|
268
|
-
name: "to",
|
|
269
|
-
type: "address",
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
internalType: "uint256",
|
|
273
|
-
name: "minAmount",
|
|
274
|
-
type: "uint256",
|
|
275
|
-
},
|
|
276
|
-
],
|
|
277
|
-
name: "borrow",
|
|
278
|
-
outputs: [
|
|
279
|
-
{
|
|
280
|
-
internalType: "uint256",
|
|
281
|
-
name: "actualAmount",
|
|
282
|
-
type: "uint256",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
internalType: "uint256",
|
|
286
|
-
name: "postDebtBalance",
|
|
287
|
-
type: "uint256",
|
|
288
|
-
},
|
|
289
|
-
],
|
|
290
|
-
stateMutability: "nonpayable",
|
|
291
|
-
type: "function",
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
inputs: [
|
|
295
|
-
{
|
|
296
|
-
internalType: "contract IPLoopPositionBox",
|
|
297
|
-
name: "",
|
|
298
|
-
type: "address",
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
internalType: "bytes32",
|
|
302
|
-
name: "mmPayload",
|
|
303
|
-
type: "bytes32",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
internalType: "address",
|
|
307
|
-
name: "collateralAsset",
|
|
308
|
-
type: "address",
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
internalType: "address",
|
|
312
|
-
name: "debtAsset",
|
|
313
|
-
type: "address",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
internalType: "address",
|
|
317
|
-
name: "to",
|
|
318
|
-
type: "address",
|
|
319
|
-
},
|
|
320
|
-
],
|
|
321
|
-
name: "claimRewards",
|
|
322
|
-
outputs: [],
|
|
323
|
-
stateMutability: "nonpayable",
|
|
324
|
-
type: "function",
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
inputs: [
|
|
328
|
-
{
|
|
329
|
-
internalType: "contract IPLoopPositionBox",
|
|
330
|
-
name: "",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
internalType: "bytes32",
|
|
335
|
-
name: "mmPayload",
|
|
336
|
-
type: "bytes32",
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
internalType: "address",
|
|
340
|
-
name: "asset",
|
|
341
|
-
type: "address",
|
|
342
|
-
},
|
|
343
|
-
],
|
|
344
|
-
name: "collateralBalance",
|
|
345
|
-
outputs: [
|
|
346
|
-
{
|
|
347
|
-
internalType: "uint256",
|
|
348
|
-
name: "balance",
|
|
349
|
-
type: "uint256",
|
|
350
|
-
},
|
|
351
|
-
],
|
|
352
|
-
stateMutability: "nonpayable",
|
|
353
|
-
type: "function",
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
inputs: [
|
|
357
|
-
{
|
|
358
|
-
internalType: "contract IPLoopPositionBox",
|
|
359
|
-
name: "",
|
|
360
|
-
type: "address",
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
internalType: "bytes32",
|
|
364
|
-
name: "mmPayload",
|
|
365
|
-
type: "bytes32",
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
internalType: "address",
|
|
369
|
-
name: "asset",
|
|
370
|
-
type: "address",
|
|
371
|
-
},
|
|
372
|
-
],
|
|
373
|
-
name: "debtBalance",
|
|
374
|
-
outputs: [
|
|
375
|
-
{
|
|
376
|
-
internalType: "uint256",
|
|
377
|
-
name: "balance",
|
|
378
|
-
type: "uint256",
|
|
379
|
-
},
|
|
380
|
-
],
|
|
381
|
-
stateMutability: "nonpayable",
|
|
382
|
-
type: "function",
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
inputs: [
|
|
386
|
-
{
|
|
387
|
-
internalType: "contract IPLoopPositionBox",
|
|
388
|
-
name: "",
|
|
389
|
-
type: "address",
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
internalType: "bytes32",
|
|
393
|
-
name: "mmPayload",
|
|
394
|
-
type: "bytes32",
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
internalType: "address",
|
|
398
|
-
name: "collateralAsset",
|
|
399
|
-
type: "address",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
internalType: "address",
|
|
403
|
-
name: "debtAsset",
|
|
404
|
-
type: "address",
|
|
405
|
-
},
|
|
406
|
-
],
|
|
407
|
-
name: "initialize",
|
|
408
|
-
outputs: [],
|
|
409
|
-
stateMutability: "nonpayable",
|
|
410
|
-
type: "function",
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
inputs: [
|
|
414
|
-
{
|
|
415
|
-
internalType: "contract IPLoopPositionBox",
|
|
416
|
-
name: "",
|
|
417
|
-
type: "address",
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
internalType: "bytes32",
|
|
421
|
-
name: "mmPayload",
|
|
422
|
-
type: "bytes32",
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
internalType: "address",
|
|
426
|
-
name: "asset",
|
|
427
|
-
type: "address",
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
internalType: "uint256",
|
|
431
|
-
name: "amount",
|
|
432
|
-
type: "uint256",
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
internalType: "uint256",
|
|
436
|
-
name: "minAmount",
|
|
437
|
-
type: "uint256",
|
|
438
|
-
},
|
|
439
|
-
],
|
|
440
|
-
name: "lend",
|
|
441
|
-
outputs: [
|
|
442
|
-
{
|
|
443
|
-
internalType: "uint256",
|
|
444
|
-
name: "actualAmount",
|
|
445
|
-
type: "uint256",
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
internalType: "uint256",
|
|
449
|
-
name: "postCollateralBalance",
|
|
450
|
-
type: "uint256",
|
|
451
|
-
},
|
|
452
|
-
],
|
|
453
|
-
stateMutability: "nonpayable",
|
|
454
|
-
type: "function",
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
inputs: [
|
|
458
|
-
{
|
|
459
|
-
internalType: "contract IPLoopPositionBox",
|
|
460
|
-
name: "",
|
|
461
|
-
type: "address",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
internalType: "bytes32",
|
|
465
|
-
name: "mmPayload",
|
|
466
|
-
type: "bytes32",
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
internalType: "address",
|
|
470
|
-
name: "collateralAsset",
|
|
471
|
-
type: "address",
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
internalType: "address",
|
|
475
|
-
name: "debtAsset",
|
|
476
|
-
type: "address",
|
|
477
|
-
},
|
|
478
|
-
],
|
|
479
|
-
name: "oraclePtDebtRate",
|
|
480
|
-
outputs: [
|
|
481
|
-
{
|
|
482
|
-
internalType: "uint256",
|
|
483
|
-
name: "rate",
|
|
484
|
-
type: "uint256",
|
|
485
|
-
},
|
|
486
|
-
],
|
|
487
|
-
stateMutability: "view",
|
|
488
|
-
type: "function",
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
inputs: [
|
|
492
|
-
{
|
|
493
|
-
internalType: "contract IPLoopPositionBox",
|
|
494
|
-
name: "",
|
|
495
|
-
type: "address",
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
internalType: "bytes32",
|
|
499
|
-
name: "mmPayload",
|
|
500
|
-
type: "bytes32",
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
internalType: "address",
|
|
504
|
-
name: "asset",
|
|
505
|
-
type: "address",
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
internalType: "uint256",
|
|
509
|
-
name: "amount",
|
|
510
|
-
type: "uint256",
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
internalType: "uint256",
|
|
514
|
-
name: "minAmount",
|
|
515
|
-
type: "uint256",
|
|
516
|
-
},
|
|
517
|
-
],
|
|
518
|
-
name: "repay",
|
|
519
|
-
outputs: [
|
|
520
|
-
{
|
|
521
|
-
internalType: "uint256",
|
|
522
|
-
name: "actualAmount",
|
|
523
|
-
type: "uint256",
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
internalType: "uint256",
|
|
527
|
-
name: "postDebtBalance",
|
|
528
|
-
type: "uint256",
|
|
529
|
-
},
|
|
530
|
-
],
|
|
531
|
-
stateMutability: "nonpayable",
|
|
532
|
-
type: "function",
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
inputs: [
|
|
536
|
-
{
|
|
537
|
-
internalType: "contract IPLoopPositionBox",
|
|
538
|
-
name: "",
|
|
539
|
-
type: "address",
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
internalType: "bytes32",
|
|
543
|
-
name: "mmPayload",
|
|
544
|
-
type: "bytes32",
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
internalType: "address",
|
|
548
|
-
name: "asset",
|
|
549
|
-
type: "address",
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
internalType: "uint256",
|
|
553
|
-
name: "amount",
|
|
554
|
-
type: "uint256",
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
internalType: "address",
|
|
558
|
-
name: "to",
|
|
559
|
-
type: "address",
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
internalType: "uint256",
|
|
563
|
-
name: "minAmount",
|
|
564
|
-
type: "uint256",
|
|
565
|
-
},
|
|
566
|
-
],
|
|
567
|
-
name: "withdraw",
|
|
568
|
-
outputs: [
|
|
569
|
-
{
|
|
570
|
-
internalType: "uint256",
|
|
571
|
-
name: "actualAmount",
|
|
572
|
-
type: "uint256",
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
internalType: "uint256",
|
|
576
|
-
name: "postCollateralBalance",
|
|
577
|
-
type: "uint256",
|
|
578
|
-
},
|
|
579
|
-
],
|
|
580
|
-
stateMutability: "nonpayable",
|
|
581
|
-
type: "function",
|
|
582
|
-
},
|
|
583
|
-
];
|
|
584
|
-
|
|
585
|
-
export class IMoneyMarket__factory {
|
|
586
|
-
static readonly abi = _abi;
|
|
587
|
-
static createInterface(): IMoneyMarketInterface {
|
|
588
|
-
return new utils.Interface(_abi) as IMoneyMarketInterface;
|
|
589
|
-
}
|
|
590
|
-
static connect(
|
|
591
|
-
address: string,
|
|
592
|
-
signerOrProvider: Signer | Provider
|
|
593
|
-
): IMoneyMarket {
|
|
594
|
-
return new Contract(address, _abi, signerOrProvider) as IMoneyMarket;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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 { IMorphoOracle, IMorphoOracleInterface } from "../IMorphoOracle";
|
|
8
|
-
|
|
9
|
-
const _abi = [
|
|
10
|
-
{
|
|
11
|
-
inputs: [],
|
|
12
|
-
name: "price",
|
|
13
|
-
outputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "uint256",
|
|
16
|
-
name: "",
|
|
17
|
-
type: "uint256",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
stateMutability: "view",
|
|
21
|
-
type: "function",
|
|
22
|
-
},
|
|
23
|
-
];
|
|
24
|
-
|
|
25
|
-
export class IMorphoOracle__factory {
|
|
26
|
-
static readonly abi = _abi;
|
|
27
|
-
static createInterface(): IMorphoOracleInterface {
|
|
28
|
-
return new utils.Interface(_abi) as IMorphoOracleInterface;
|
|
29
|
-
}
|
|
30
|
-
static connect(
|
|
31
|
-
address: string,
|
|
32
|
-
signerOrProvider: Signer | Provider
|
|
33
|
-
): IMorphoOracle {
|
|
34
|
-
return new Contract(address, _abi, signerOrProvider) as IMorphoOracle;
|
|
35
|
-
}
|
|
36
|
-
}
|