@pendle/core-v2 6.7.1 → 6.8.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/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- 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/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- 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/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +5 -5
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.json +2 -2
- 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/Errors.sol/Errors.json +2 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- 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/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +2 -2
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +2 -2
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +2 -2
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +2 -2
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +2 -2
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +2 -2
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +2 -2
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
- 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/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.json +578 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.json +160 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.json +238 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.json +81 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.json +170 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.json +377 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +2476 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.json +10 -0
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.json +209 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.json +29 -0
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.json +55 -0
- 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/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/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/limit/helpers/NonceManager.sol/NonceManager.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
- 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/BalanceReader.json +2 -2
- 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/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +2 -2
- 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/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- 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/SupplyCapReader.sol/SupplyCapReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/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/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +2 -2
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/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/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/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/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.json +405 -0
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +2626 -0
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +2660 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.json +334 -0
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.json +79 -0
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.json +233 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.json +198 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.json +555 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.json +604 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.json +264 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +659 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +355 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.json +246 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.json +120 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.json +724 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.json +1600 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.json +507 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.json +577 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.json +56 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +633 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +298 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.json +234 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.json +1033 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.json +24 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.json +10 -0
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.dbg.json +4 -0
- package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.json +143 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/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/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- 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/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/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/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +2 -2
- 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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/interfaces/IMoneyMarket.sol +60 -0
- package/contracts/interfaces/IMoneyMarketView.sol +42 -0
- package/contracts/interfaces/IPBridgeDataVerifier.sol +23 -0
- package/contracts/interfaces/IPLoopPositionBox.sol +38 -0
- package/contracts/interfaces/IPLoopPositionBoxFactory.sol +37 -0
- package/contracts/interfaces/IPPTLooper.sol +301 -0
- package/contracts/interfaces/IPPTLooperView.sol +35 -0
- package/contracts/interfaces/IPPostPtLoopStateChecker.sol +8 -0
- package/contracts/interfaces/IPStaticQuoter.sol +13 -0
- package/contracts/pt-looping/BridgeDataVerifier.sol +158 -0
- package/contracts/pt-looping/PTLooperBase.sol +236 -0
- package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +210 -0
- package/contracts/pt-looping/PendlePTLooper.sol +318 -0
- package/contracts/pt-looping/PendlePTLooperView.sol +42 -0
- package/contracts/pt-looping/PostPtLoopStateChecker.sol +79 -0
- package/contracts/pt-looping/StaticStableQuoter.sol +46 -0
- package/contracts/pt-looping/loop-position-box/LoopPositionBox.sol +85 -0
- package/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol +123 -0
- package/contracts/pt-looping/money-market/BaseMoneyMarket.sol +129 -0
- package/contracts/pt-looping/money-market/BaseMoneyMarketView.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol +16 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol +200 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol +259 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol +8 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol +33 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol +68 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol +664 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol +227 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol +228 -0
- package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol +32 -0
- package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol +123 -0
- package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol +66 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol +300 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol +14 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol +35 -0
- package/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol +42 -0
- package/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol +36 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
- package/deployments/1-core.json +6 -1
- package/deployments/4217-core.json +3 -0
- package/deployments/9745-core.json +4 -1
- package/package.json +2 -1
- package/typechain-types/AaveMoneyMarket.ts +620 -0
- package/typechain-types/AaveMoneyMarketView.ts +447 -0
- package/typechain-types/BaseMoneyMarket.ts +573 -0
- package/typechain-types/BaseMoneyMarketView.ts +362 -0
- package/typechain-types/BridgeDataVerifier.ts +564 -0
- package/typechain-types/IAToken.ts +358 -0
- package/typechain-types/IAaveOracle.ts +235 -0
- package/typechain-types/IAaveRewardsController.ts +1186 -0
- package/typechain-types/IBungeeSORInbox.ts +192 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
- package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
- package/typechain-types/IDssPsm.ts +194 -0
- package/typechain-types/IERC4626.ts +864 -0
- package/typechain-types/IFlashLoanReceiver.ts +125 -0
- package/typechain-types/IIrm.ts +260 -0
- package/typechain-types/IMoneyMarket.ts +542 -0
- package/typechain-types/IMoneyMarketEvents.ts +171 -0
- package/typechain-types/IMoneyMarketView.ts +331 -0
- package/typechain-types/IMorpho.ts +1147 -0
- package/typechain-types/IMorphoOracle.ts +81 -0
- package/typechain-types/IMulticall.ts +117 -0
- package/typechain-types/IPBridgeDataVerifier.ts +148 -0
- package/typechain-types/IPLoopPositionBox.ts +285 -0
- package/typechain-types/IPLoopPositionBoxFactory.ts +400 -0
- package/typechain-types/IPPTLooper.ts +1513 -0
- package/typechain-types/IPPTLooperView.ts +273 -0
- package/typechain-types/IPPostPtLoopStateChecker.ts +106 -0
- package/typechain-types/IPStaticQuoter.ts +132 -0
- package/typechain-types/IPool.ts +2220 -0
- package/typechain-types/IPoolAddressesProvider.ts +789 -0
- package/typechain-types/IPoolDataProviderV3.ts +933 -0
- package/typechain-types/IPoolDataProviderV31.ts +933 -0
- package/typechain-types/IPot.ts +181 -0
- package/typechain-types/IPriceOracleGetter.ts +133 -0
- package/typechain-types/ISDAI.ts +877 -0
- package/typechain-types/LoopPositionBox.ts +296 -0
- package/typechain-types/LoopPositionBoxFactory.ts +575 -0
- package/typechain-types/MorphoBlueMoneyMarket.ts +586 -0
- package/typechain-types/MorphoBlueMoneyMarketView.ts +375 -0
- package/typechain-types/Multicall.ts +117 -0
- package/typechain-types/PTLooperBase.ts +1722 -0
- package/typechain-types/PTLooperView.ts +618 -0
- package/typechain-types/PendlePTLooper.ts +1747 -0
- package/typechain-types/PendlePTLooperView.ts +453 -0
- package/typechain-types/PostPtLoopStateChecker.ts +151 -0
- package/typechain-types/StaticStableQuoter.ts +395 -0
- package/typechain-types/UUPSUpgradeable.ts +0 -9
- package/typechain-types/factories/AaveMoneyMarketView__factory.ts +428 -0
- package/typechain-types/factories/AaveMoneyMarket__factory.ts +724 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AddressCast__factory.ts +1 -1
- package/typechain-types/factories/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
- package/typechain-types/factories/BaseMoneyMarket__factory.ts +619 -0
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/BridgeDataVerifier__factory.ts +463 -0
- package/typechain-types/factories/BridgeFunder__factory.ts +1 -1
- package/typechain-types/factories/DVNOptions__factory.ts +1 -1
- package/typechain-types/factories/DepositBoxFactory__factory.ts +1 -1
- package/typechain-types/factories/DepositBox__factory.ts +1 -1
- package/typechain-types/factories/ERC1967Proxy__factory.ts +1 -1
- package/typechain-types/factories/ERC20Upgradeable__factory.ts +1 -1
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +1 -1
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
- package/typechain-types/factories/ExecutorOptions__factory.ts +1 -1
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +1 -1
- package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
- package/typechain-types/factories/IAToken__factory.ts +258 -0
- package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
- package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
- package/typechain-types/factories/IBungeeSORInbox__factory.ts +158 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
- package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
- package/typechain-types/factories/IDssPsm__factory.ts +122 -0
- package/typechain-types/factories/IERC4626__factory.ts +635 -0
- package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
- package/typechain-types/factories/IIrm__factory.ts +243 -0
- package/typechain-types/factories/IMoneyMarketEvents__factory.ts +175 -0
- package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
- package/typechain-types/factories/IMoneyMarket__factory.ts +590 -0
- package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
- package/typechain-types/factories/IMorpho__factory.ts +1045 -0
- package/typechain-types/factories/IMulticall__factory.ts +66 -0
- package/typechain-types/factories/IPBridgeDataVerifier__factory.ts +100 -0
- package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +396 -0
- package/typechain-types/factories/IPLoopPositionBox__factory.ts +185 -0
- package/typechain-types/factories/IPPTLooperView__factory.ts +224 -0
- package/typechain-types/factories/IPPTLooper__factory.ts +2493 -0
- package/typechain-types/factories/IPPostPtLoopStateChecker__factory.ts +48 -0
- package/typechain-types/factories/IPStaticQuoter__factory.ts +70 -0
- package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
- package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
- package/typechain-types/factories/IPoolDataProviderV3__factory.ts +592 -0
- package/typechain-types/factories/IPool__factory.ts +1609 -0
- package/typechain-types/factories/IPot__factory.ts +98 -0
- package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
- package/typechain-types/factories/ISDAI__factory.ts +645 -0
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +1 -1
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +624 -0
- package/typechain-types/factories/LoopPositionBox__factory.ts +253 -0
- package/typechain-types/factories/MarketSweed__factory.ts +1 -1
- package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +371 -0
- package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +698 -0
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/Multicall__factory.ts +104 -0
- package/typechain-types/factories/NonceManager__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapterImpl__factory.ts +1 -1
- package/typechain-types/factories/OFTAdapter__factory.ts +0 -11
- package/typechain-types/factories/OFTPTSwapper__factory.ts +1 -1
- package/typechain-types/factories/OptionsBuilder__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PTLooperBase__factory.ts +2643 -0
- package/typechain-types/factories/PTLooperView__factory.ts +467 -0
- package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleLinearDiscountOracleWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleLpLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLpLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV7__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallOwnerV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV2__factory.ts +1 -1
- package/typechain-types/factories/PendleOFTAlt__factory.ts +1 -1
- package/typechain-types/factories/PendleOFT__factory.ts +1 -1
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +1 -1
- package/typechain-types/factories/PendlePTLooperView__factory.ts +392 -0
- package/typechain-types/factories/PendlePTLooper__factory.ts +2734 -0
- package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleProxyAdmin__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/PostPtLoopStateChecker__factory.ts +141 -0
- package/typechain-types/factories/ProxyAdmin__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/StakedPendle__factory.ts +1 -1
- package/typechain-types/factories/StaticStableQuoter__factory.ts +286 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +1 -1
- package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +1 -1
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +360 -0
- package/typechain-types/index.ts +80 -0
|
@@ -0,0 +1,664 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0
|
|
2
|
+
pragma solidity ^0.8.4;
|
|
3
|
+
|
|
4
|
+
import {IERC20Metadata as IERC20} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
|
|
5
|
+
import {IPoolAddressesProvider} from "./IPoolAddressesProvider.sol";
|
|
6
|
+
import {AaveDataTypes, IERC20} from "./AaveDataTypes.sol";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @title IPool
|
|
10
|
+
* @author Aave
|
|
11
|
+
* @notice Defines the basic interface for an Aave Pool.
|
|
12
|
+
*/
|
|
13
|
+
interface IPool {
|
|
14
|
+
/**
|
|
15
|
+
* @dev Emitted on mintUnbacked()
|
|
16
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
17
|
+
* @param user The address initiating the supply
|
|
18
|
+
* @param onBehalfOf The beneficiary of the supplied assets, receiving the aTokens
|
|
19
|
+
* @param amount The amount of supplied assets
|
|
20
|
+
* @param referralCode The referral code used
|
|
21
|
+
*/
|
|
22
|
+
event MintUnbacked(
|
|
23
|
+
address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @dev Emitted on backUnbacked()
|
|
28
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
29
|
+
* @param backer The address paying for the backing
|
|
30
|
+
* @param amount The amount added as backing
|
|
31
|
+
* @param fee The amount paid in fees
|
|
32
|
+
*/
|
|
33
|
+
event BackUnbacked(address indexed reserve, address indexed backer, uint256 amount, uint256 fee);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @dev Emitted on supply()
|
|
37
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
38
|
+
* @param user The address initiating the supply
|
|
39
|
+
* @param onBehalfOf The beneficiary of the supply, receiving the aTokens
|
|
40
|
+
* @param amount The amount supplied
|
|
41
|
+
* @param referralCode The referral code used
|
|
42
|
+
*/
|
|
43
|
+
event Supply(
|
|
44
|
+
address indexed reserve, address user, address indexed onBehalfOf, uint256 amount, uint16 indexed referralCode
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @dev Emitted on withdraw()
|
|
49
|
+
* @param reserve The address of the underlying asset being withdrawn
|
|
50
|
+
* @param user The address initiating the withdrawal, owner of aTokens
|
|
51
|
+
* @param to The address that will receive the underlying
|
|
52
|
+
* @param amount The amount to be withdrawn
|
|
53
|
+
*/
|
|
54
|
+
event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @dev Emitted on borrow() and flashLoan() when debt needs to be opened
|
|
58
|
+
* @param reserve The address of the underlying asset being borrowed
|
|
59
|
+
* @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just
|
|
60
|
+
* initiator of the transaction on flashLoan()
|
|
61
|
+
* @param onBehalfOf The address that will be getting the debt
|
|
62
|
+
* @param amount The amount borrowed out
|
|
63
|
+
* @param interestRateMode The rate mode: 1 for Stable, 2 for Variable
|
|
64
|
+
* @param borrowRate The numeric rate at which the user has borrowed, expressed in ray
|
|
65
|
+
* @param referralCode The referral code used
|
|
66
|
+
*/
|
|
67
|
+
event Borrow(
|
|
68
|
+
address indexed reserve,
|
|
69
|
+
address user,
|
|
70
|
+
address indexed onBehalfOf,
|
|
71
|
+
uint256 amount,
|
|
72
|
+
AaveDataTypes.InterestRateMode interestRateMode,
|
|
73
|
+
uint256 borrowRate,
|
|
74
|
+
uint16 indexed referralCode
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @dev Emitted on repay()
|
|
79
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
80
|
+
* @param user The beneficiary of the repayment, getting his debt reduced
|
|
81
|
+
* @param repayer The address of the user initiating the repay(), providing the funds
|
|
82
|
+
* @param amount The amount repaid
|
|
83
|
+
* @param useATokens True if the repayment is done using aTokens, `false` if done with underlying asset directly
|
|
84
|
+
*/
|
|
85
|
+
event Repay(
|
|
86
|
+
address indexed reserve, address indexed user, address indexed repayer, uint256 amount, bool useATokens
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @dev Emitted on swapBorrowRateMode()
|
|
91
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
92
|
+
* @param user The address of the user swapping his rate mode
|
|
93
|
+
* @param interestRateMode The current interest rate mode of the position being swapped: 1 for Stable, 2 for Variable
|
|
94
|
+
*/
|
|
95
|
+
event SwapBorrowRateMode(
|
|
96
|
+
address indexed reserve, address indexed user, AaveDataTypes.InterestRateMode interestRateMode
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @dev Emitted on borrow(), repay() and liquidationCall() when using isolated assets
|
|
101
|
+
* @param asset The address of the underlying asset of the reserve
|
|
102
|
+
* @param totalDebt The total isolation mode debt for the reserve
|
|
103
|
+
*/
|
|
104
|
+
event IsolationModeTotalDebtUpdated(address indexed asset, uint256 totalDebt);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @dev Emitted when the user selects a certain asset category for eMode
|
|
108
|
+
* @param user The address of the user
|
|
109
|
+
* @param categoryId The category id
|
|
110
|
+
*/
|
|
111
|
+
event UserEModeSet(address indexed user, uint8 categoryId);
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @dev Emitted on setUserUseReserveAsCollateral()
|
|
115
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
116
|
+
* @param user The address of the user enabling the usage as collateral
|
|
117
|
+
*/
|
|
118
|
+
event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @dev Emitted on setUserUseReserveAsCollateral()
|
|
122
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
123
|
+
* @param user The address of the user enabling the usage as collateral
|
|
124
|
+
*/
|
|
125
|
+
event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @dev Emitted on rebalanceStableBorrowRate()
|
|
129
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
130
|
+
* @param user The address of the user for which the rebalance has been executed
|
|
131
|
+
*/
|
|
132
|
+
event RebalanceStableBorrowRate(address indexed reserve, address indexed user);
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @dev Emitted on flashLoan()
|
|
136
|
+
* @param target The address of the flash loan receiver contract
|
|
137
|
+
* @param initiator The address initiating the flash loan
|
|
138
|
+
* @param asset The address of the asset being flash borrowed
|
|
139
|
+
* @param amount The amount flash borrowed
|
|
140
|
+
* @param interestRateMode The flashloan mode: 0 for regular flashloan, 1 for Stable debt, 2 for Variable debt
|
|
141
|
+
* @param premium The fee flash borrowed
|
|
142
|
+
* @param referralCode The referral code used
|
|
143
|
+
*/
|
|
144
|
+
event FlashLoan(
|
|
145
|
+
address indexed target,
|
|
146
|
+
address initiator,
|
|
147
|
+
address indexed asset,
|
|
148
|
+
uint256 amount,
|
|
149
|
+
AaveDataTypes.InterestRateMode interestRateMode,
|
|
150
|
+
uint256 premium,
|
|
151
|
+
uint16 indexed referralCode
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @dev Emitted when a borrower is liquidated.
|
|
156
|
+
* @param collateral The address of the underlying asset used as collateral, to receive as result of the liquidation
|
|
157
|
+
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
|
|
158
|
+
* @param user The address of the borrower getting liquidated
|
|
159
|
+
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
|
|
160
|
+
* @param liquidatedCollateralAmount The amount of collateral received by the liquidator
|
|
161
|
+
* @param liquidator The address of the liquidator
|
|
162
|
+
* @param receiveAToken True if the liquidators wants to receive the collateral aTokens, `false` if he wants
|
|
163
|
+
* to receive the underlying collateral asset directly
|
|
164
|
+
*/
|
|
165
|
+
event LiquidationCall(
|
|
166
|
+
address indexed collateral,
|
|
167
|
+
address indexed debtAsset,
|
|
168
|
+
address indexed user,
|
|
169
|
+
uint256 debtToCover,
|
|
170
|
+
uint256 liquidatedCollateralAmount,
|
|
171
|
+
address liquidator,
|
|
172
|
+
bool receiveAToken
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @dev Emitted when the state of a reserve is updated.
|
|
177
|
+
* @param reserve The address of the underlying asset of the reserve
|
|
178
|
+
* @param liquidityRate The next liquidity rate
|
|
179
|
+
* @param stableBorrowRate The next stable borrow rate
|
|
180
|
+
* @param variableBorrowRate The next variable borrow rate
|
|
181
|
+
* @param liquidityIndex The next liquidity index
|
|
182
|
+
* @param variableBorrowIndex The next variable borrow index
|
|
183
|
+
*/
|
|
184
|
+
event ReserveDataUpdated(
|
|
185
|
+
address indexed reserve,
|
|
186
|
+
uint256 liquidityRate,
|
|
187
|
+
uint256 stableBorrowRate,
|
|
188
|
+
uint256 variableBorrowRate,
|
|
189
|
+
uint256 liquidityIndex,
|
|
190
|
+
uint256 variableBorrowIndex
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @dev Emitted when the protocol treasury receives minted aTokens from the accrued interest.
|
|
195
|
+
* @param reserve The address of the reserve
|
|
196
|
+
* @param amountMinted The amount minted to the treasury
|
|
197
|
+
*/
|
|
198
|
+
event MintedToTreasury(address indexed reserve, uint256 amountMinted);
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @notice Mints an `amount` of aTokens to the `onBehalfOf`
|
|
202
|
+
* @param asset The address of the underlying asset to mint
|
|
203
|
+
* @param amount The amount to mint
|
|
204
|
+
* @param onBehalfOf The address that will receive the aTokens
|
|
205
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
206
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
207
|
+
*/
|
|
208
|
+
function mintUnbacked(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @notice Back the current unbacked underlying with `amount` and pay `fee`.
|
|
212
|
+
* @param asset The address of the underlying asset to back
|
|
213
|
+
* @param amount The amount to back
|
|
214
|
+
* @param fee The amount paid in fees
|
|
215
|
+
* @return The backed amount
|
|
216
|
+
*/
|
|
217
|
+
function backUnbacked(address asset, uint256 amount, uint256 fee) external returns (uint256);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @notice Supplies an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.
|
|
221
|
+
* - E.g. User supplies 100 USDC and gets in return 100 aUSDC
|
|
222
|
+
* @param asset The address of the underlying asset to supply
|
|
223
|
+
* @param amount The amount to be supplied
|
|
224
|
+
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
|
|
225
|
+
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
|
|
226
|
+
* is a different wallet
|
|
227
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
228
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
229
|
+
*/
|
|
230
|
+
function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* @notice Supply with transfer approval of asset to be supplied done via permit function
|
|
234
|
+
* see: https://eips.ethereum.org/EIPS/eip-2612 and https://eips.ethereum.org/EIPS/eip-713
|
|
235
|
+
* @param asset The address of the underlying asset to supply
|
|
236
|
+
* @param amount The amount to be supplied
|
|
237
|
+
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
|
|
238
|
+
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
|
|
239
|
+
* is a different wallet
|
|
240
|
+
* @param deadline The deadline timestamp that the permit is valid
|
|
241
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
242
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
243
|
+
* @param permitV The V parameter of ERC712 permit sig
|
|
244
|
+
* @param permitR The R parameter of ERC712 permit sig
|
|
245
|
+
* @param permitS The S parameter of ERC712 permit sig
|
|
246
|
+
*/
|
|
247
|
+
function supplyWithPermit(
|
|
248
|
+
address asset,
|
|
249
|
+
uint256 amount,
|
|
250
|
+
address onBehalfOf,
|
|
251
|
+
uint16 referralCode,
|
|
252
|
+
uint256 deadline,
|
|
253
|
+
uint8 permitV,
|
|
254
|
+
bytes32 permitR,
|
|
255
|
+
bytes32 permitS
|
|
256
|
+
) external;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @notice Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned
|
|
260
|
+
* E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC
|
|
261
|
+
* @param asset The address of the underlying asset to withdraw
|
|
262
|
+
* @param amount The underlying amount to be withdrawn
|
|
263
|
+
* - Send the value type(uint256).max in order to withdraw the whole aToken balance
|
|
264
|
+
* @param to The address that will receive the underlying, same as msg.sender if the user
|
|
265
|
+
* wants to receive it on his own wallet, or a different address if the beneficiary is a
|
|
266
|
+
* different wallet
|
|
267
|
+
* @return The final amount withdrawn
|
|
268
|
+
*/
|
|
269
|
+
function withdraw(address asset, uint256 amount, address to) external returns (uint256);
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @notice Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower
|
|
273
|
+
* already supplied enough collateral, or he was given enough allowance by a credit delegator on the
|
|
274
|
+
* corresponding debt token (StableDebtToken or VariableDebtToken)
|
|
275
|
+
* - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet
|
|
276
|
+
* and 100 stable/variable debt tokens, depending on the `interestRateMode`
|
|
277
|
+
* @param asset The address of the underlying asset to borrow
|
|
278
|
+
* @param amount The amount to be borrowed
|
|
279
|
+
* @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable
|
|
280
|
+
* @param referralCode The code used to register the integrator originating the operation, for potential rewards.
|
|
281
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
282
|
+
* @param onBehalfOf The address of the user who will receive the debt. Should be the address of the borrower itself
|
|
283
|
+
* calling the function if he wants to borrow against his own collateral, or the address of the credit delegator
|
|
284
|
+
* if he has been given credit delegation allowance
|
|
285
|
+
*/
|
|
286
|
+
function borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf)
|
|
287
|
+
external;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned
|
|
291
|
+
* - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address
|
|
292
|
+
* @param asset The address of the borrowed underlying asset previously borrowed
|
|
293
|
+
* @param amount The amount to repay
|
|
294
|
+
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
|
|
295
|
+
* @param interestRateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable
|
|
296
|
+
* @param onBehalfOf The address of the user who will get his debt reduced/removed. Should be the address of the
|
|
297
|
+
* user calling the function if he wants to reduce/remove his own debt, or the address of any other
|
|
298
|
+
* other borrower whose debt should be removed
|
|
299
|
+
* @return The final amount repaid
|
|
300
|
+
*/
|
|
301
|
+
function repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf)
|
|
302
|
+
external
|
|
303
|
+
returns (uint256);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @notice Repay with transfer approval of asset to be repaid done via permit function
|
|
307
|
+
* see: https://eips.ethereum.org/EIPS/eip-2612 and https://eips.ethereum.org/EIPS/eip-713
|
|
308
|
+
* @param asset The address of the borrowed underlying asset previously borrowed
|
|
309
|
+
* @param amount The amount to repay
|
|
310
|
+
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
|
|
311
|
+
* @param interestRateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable
|
|
312
|
+
* @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the
|
|
313
|
+
* user calling the function if he wants to reduce/remove his own debt, or the address of any other
|
|
314
|
+
* other borrower whose debt should be removed
|
|
315
|
+
* @param deadline The deadline timestamp that the permit is valid
|
|
316
|
+
* @param permitV The V parameter of ERC712 permit sig
|
|
317
|
+
* @param permitR The R parameter of ERC712 permit sig
|
|
318
|
+
* @param permitS The S parameter of ERC712 permit sig
|
|
319
|
+
* @return The final amount repaid
|
|
320
|
+
*/
|
|
321
|
+
function repayWithPermit(
|
|
322
|
+
address asset,
|
|
323
|
+
uint256 amount,
|
|
324
|
+
uint256 interestRateMode,
|
|
325
|
+
address onBehalfOf,
|
|
326
|
+
uint256 deadline,
|
|
327
|
+
uint8 permitV,
|
|
328
|
+
bytes32 permitR,
|
|
329
|
+
bytes32 permitS
|
|
330
|
+
) external returns (uint256);
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @notice Repays a borrowed `amount` on a specific reserve using the reserve aTokens, burning the
|
|
334
|
+
* equivalent debt tokens
|
|
335
|
+
* - E.g. User repays 100 USDC using 100 aUSDC, burning 100 variable/stable debt tokens
|
|
336
|
+
* @dev Passing uint256.max as amount will clean up any residual aToken dust balance, if the user aToken
|
|
337
|
+
* balance is not enough to cover the whole debt
|
|
338
|
+
* @param asset The address of the borrowed underlying asset previously borrowed
|
|
339
|
+
* @param amount The amount to repay
|
|
340
|
+
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
|
|
341
|
+
* @param interestRateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable
|
|
342
|
+
* @return The final amount repaid
|
|
343
|
+
*/
|
|
344
|
+
function repayWithATokens(address asset, uint256 amount, uint256 interestRateMode) external returns (uint256);
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @notice Allows a borrower to swap his debt between stable and variable mode, or vice versa
|
|
348
|
+
* @param asset The address of the underlying asset borrowed
|
|
349
|
+
* @param interestRateMode The current interest rate mode of the position being swapped: 1 for Stable, 2 for Variable
|
|
350
|
+
*/
|
|
351
|
+
function swapBorrowRateMode(address asset, uint256 interestRateMode) external;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @notice Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.
|
|
355
|
+
* - Users can be rebalanced if the following conditions are satisfied:
|
|
356
|
+
* 1. Usage ratio is above 95%
|
|
357
|
+
* 2. the current supply APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too
|
|
358
|
+
* much has been borrowed at a stable rate and suppliers are not earning enough
|
|
359
|
+
* @param asset The address of the underlying asset borrowed
|
|
360
|
+
* @param user The address of the user to be rebalanced
|
|
361
|
+
*/
|
|
362
|
+
function rebalanceStableBorrowRate(address asset, address user) external;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @notice Allows suppliers to enable/disable a specific supplied asset as collateral
|
|
366
|
+
* @param asset The address of the underlying asset supplied
|
|
367
|
+
* @param useAsCollateral True if the user wants to use the supply as collateral, false otherwise
|
|
368
|
+
*/
|
|
369
|
+
function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @notice Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1
|
|
373
|
+
* - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives
|
|
374
|
+
* a proportionally amount of the `collateral` plus a bonus to cover market risk
|
|
375
|
+
* @param collateral The address of the underlying asset used as collateral, to receive as result of the liquidation
|
|
376
|
+
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
|
|
377
|
+
* @param user The address of the borrower getting liquidated
|
|
378
|
+
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
|
|
379
|
+
* @param receiveAToken True if the liquidators wants to receive the collateral aTokens, `false` if he wants
|
|
380
|
+
* to receive the underlying collateral asset directly
|
|
381
|
+
*/
|
|
382
|
+
function liquidationCall(
|
|
383
|
+
IERC20 collateral,
|
|
384
|
+
IERC20 debtAsset,
|
|
385
|
+
address user,
|
|
386
|
+
uint256 debtToCover,
|
|
387
|
+
bool receiveAToken
|
|
388
|
+
) external;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @notice Allows smartcontracts to access the liquidity of the pool within one transaction,
|
|
392
|
+
* as long as the amount taken plus a fee is returned.
|
|
393
|
+
* @dev IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept
|
|
394
|
+
* into consideration. For further details please visit https://docs.aave.com/developers/
|
|
395
|
+
* @param receiverAddress The address of the contract receiving the funds, implementing IFlashLoanReceiver interface
|
|
396
|
+
* @param assets The addresses of the assets being flash-borrowed
|
|
397
|
+
* @param amounts The amounts of the assets being flash-borrowed
|
|
398
|
+
* @param interestRateModes Types of the debt to open if the flash loan is not returned:
|
|
399
|
+
* 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver
|
|
400
|
+
* 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
|
|
401
|
+
* 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
|
|
402
|
+
* @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2
|
|
403
|
+
* @param params Variadic packed params to pass to the receiver as extra information
|
|
404
|
+
* @param referralCode The code used to register the integrator originating the operation, for potential rewards.
|
|
405
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
406
|
+
*/
|
|
407
|
+
function flashLoan(
|
|
408
|
+
address receiverAddress,
|
|
409
|
+
address[] calldata assets,
|
|
410
|
+
uint256[] calldata amounts,
|
|
411
|
+
uint256[] calldata interestRateModes,
|
|
412
|
+
address onBehalfOf,
|
|
413
|
+
bytes calldata params,
|
|
414
|
+
uint16 referralCode
|
|
415
|
+
) external;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @notice Allows smartcontracts to access the liquidity of the pool within one transaction,
|
|
419
|
+
* as long as the amount taken plus a fee is returned.
|
|
420
|
+
* @dev IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept
|
|
421
|
+
* into consideration. For further details please visit https://docs.aave.com/developers/
|
|
422
|
+
* @param receiverAddress The address of the contract receiving the funds, implementing IFlashLoanSimpleReceiver interface
|
|
423
|
+
* @param asset The address of the asset being flash-borrowed
|
|
424
|
+
* @param amount The amount of the asset being flash-borrowed
|
|
425
|
+
* @param params Variadic packed params to pass to the receiver as extra information
|
|
426
|
+
* @param referralCode The code used to register the integrator originating the operation, for potential rewards.
|
|
427
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
428
|
+
*/
|
|
429
|
+
function flashLoanSimple(
|
|
430
|
+
address receiverAddress,
|
|
431
|
+
address asset,
|
|
432
|
+
uint256 amount,
|
|
433
|
+
bytes calldata params,
|
|
434
|
+
uint16 referralCode
|
|
435
|
+
) external;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @notice Returns the user account data across all the reserves
|
|
439
|
+
* @param user The address of the user
|
|
440
|
+
* @return totalCollateralBase The total collateral of the user in the base currency used by the price feed
|
|
441
|
+
* @return totalDebtBase The total debt of the user in the base currency used by the price feed
|
|
442
|
+
* @return availableBorrowsBase The borrowing power left of the user in the base currency used by the price feed
|
|
443
|
+
* @return currentLiquidationThreshold The liquidation threshold of the user
|
|
444
|
+
* @return ltv The loan to value of The user
|
|
445
|
+
* @return healthFactor The current health factor of the user
|
|
446
|
+
*/
|
|
447
|
+
function getUserAccountData(address user)
|
|
448
|
+
external
|
|
449
|
+
view
|
|
450
|
+
returns (
|
|
451
|
+
uint256 totalCollateralBase,
|
|
452
|
+
uint256 totalDebtBase,
|
|
453
|
+
uint256 availableBorrowsBase,
|
|
454
|
+
uint256 currentLiquidationThreshold,
|
|
455
|
+
uint256 ltv,
|
|
456
|
+
uint256 healthFactor
|
|
457
|
+
);
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @notice Initializes a reserve, activating it, assigning an aToken and debt tokens and an
|
|
461
|
+
* interest rate strategy
|
|
462
|
+
* @dev Only callable by the PoolConfigurator contract
|
|
463
|
+
* @param asset The address of the underlying asset of the reserve
|
|
464
|
+
* @param aTokenAddress The address of the aToken that will be assigned to the reserve
|
|
465
|
+
* @param stableDebtAddress The address of the StableDebtToken that will be assigned to the reserve
|
|
466
|
+
* @param variableDebtAddress The address of the VariableDebtToken that will be assigned to the reserve
|
|
467
|
+
* @param interestRateStrategyAddress The address of the interest rate strategy contract
|
|
468
|
+
*/
|
|
469
|
+
function initReserve(
|
|
470
|
+
address asset,
|
|
471
|
+
address aTokenAddress,
|
|
472
|
+
address stableDebtAddress,
|
|
473
|
+
address variableDebtAddress,
|
|
474
|
+
address interestRateStrategyAddress
|
|
475
|
+
) external;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @notice Drop a reserve
|
|
479
|
+
* @dev Only callable by the PoolConfigurator contract
|
|
480
|
+
* @param asset The address of the underlying asset of the reserve
|
|
481
|
+
*/
|
|
482
|
+
function dropReserve(address asset) external;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @notice Updates the address of the interest rate strategy contract
|
|
486
|
+
* @dev Only callable by the PoolConfigurator contract
|
|
487
|
+
* @param asset The address of the underlying asset of the reserve
|
|
488
|
+
* @param rateStrategyAddress The address of the interest rate strategy contract
|
|
489
|
+
*/
|
|
490
|
+
function setReserveInterestRateStrategyAddress(address asset, address rateStrategyAddress) external;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @notice Sets the configuration bitmap of the reserve as a whole
|
|
494
|
+
* @dev Only callable by the PoolConfigurator contract
|
|
495
|
+
* @param asset The address of the underlying asset of the reserve
|
|
496
|
+
* @param configuration The new configuration bitmap
|
|
497
|
+
*/
|
|
498
|
+
function setConfiguration(address asset, AaveDataTypes.ReserveConfigurationMap calldata configuration) external;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @notice Returns the configuration of the reserve
|
|
502
|
+
* @param asset The address of the underlying asset of the reserve
|
|
503
|
+
* @return The configuration of the reserve
|
|
504
|
+
*/
|
|
505
|
+
function getConfiguration(address asset) external view returns (AaveDataTypes.ReserveConfigurationMap memory);
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @notice Returns the configuration of the user across all the reserves
|
|
509
|
+
* @param user The user address
|
|
510
|
+
* @return The configuration of the user
|
|
511
|
+
*/
|
|
512
|
+
function getUserConfiguration(address user) external view returns (AaveDataTypes.UserConfigurationMap memory);
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @notice Returns the normalized income of the reserve
|
|
516
|
+
* @param asset The address of the underlying asset of the reserve
|
|
517
|
+
* @return The reserve's normalized income
|
|
518
|
+
*/
|
|
519
|
+
function getReserveNormalizedIncome(IERC20 asset) external view returns (uint256);
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* @notice Returns the normalized variable debt per unit of asset
|
|
523
|
+
* @dev WARNING: This function is intended to be used primarily by the protocol itself to get a
|
|
524
|
+
* "dynamic" variable index based on time, current stored index and virtual rate at the current
|
|
525
|
+
* moment (approx. a borrower would get if opening a position). This means that is always used in
|
|
526
|
+
* combination with variable debt supply/balances.
|
|
527
|
+
* If using this function externally, consider that is possible to have an increasing normalized
|
|
528
|
+
* variable debt that is not equivalent to how the variable debt index would be updated in storage
|
|
529
|
+
* (e.g. only updates with non-zero variable debt supply)
|
|
530
|
+
* @param asset The address of the underlying asset of the reserve
|
|
531
|
+
* @return The reserve normalized variable debt
|
|
532
|
+
*/
|
|
533
|
+
function getReserveNormalizedVariableDebt(address asset) external view returns (uint256);
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @notice Returns the state and configuration of the reserve
|
|
537
|
+
* @param asset The address of the underlying asset of the reserve
|
|
538
|
+
* @return The state and configuration data of the reserve
|
|
539
|
+
*/
|
|
540
|
+
function getReserveData(IERC20 asset) external view returns (AaveDataTypes.ReserveData memory);
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @notice Validates and finalizes an aToken transfer
|
|
544
|
+
* @dev Only callable by the overlying aToken of the `asset`
|
|
545
|
+
* @param asset The address of the underlying asset of the aToken
|
|
546
|
+
* @param from The user from which the aTokens are transferred
|
|
547
|
+
* @param to The user receiving the aTokens
|
|
548
|
+
* @param amount The amount being transferred/withdrawn
|
|
549
|
+
* @param balanceFromBefore The aToken balance of the `from` user before the transfer
|
|
550
|
+
* @param balanceToBefore The aToken balance of the `to` user before the transfer
|
|
551
|
+
*/
|
|
552
|
+
function finalizeTransfer(
|
|
553
|
+
address asset,
|
|
554
|
+
address from,
|
|
555
|
+
address to,
|
|
556
|
+
uint256 amount,
|
|
557
|
+
uint256 balanceFromBefore,
|
|
558
|
+
uint256 balanceToBefore
|
|
559
|
+
) external;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @notice Returns the list of the underlying assets of all the initialized reserves
|
|
563
|
+
* @dev It does not include dropped reserves
|
|
564
|
+
* @return The addresses of the underlying assets of the initialized reserves
|
|
565
|
+
*/
|
|
566
|
+
function getReservesList() external view returns (address[] memory);
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* @notice Returns the address of the underlying asset of a reserve by the reserve id as stored in the AaveDataTypes.ReserveData struct
|
|
570
|
+
* @param id The id of the reserve as stored in the AaveDataTypes.ReserveData struct
|
|
571
|
+
* @return The address of the reserve associated with id
|
|
572
|
+
*/
|
|
573
|
+
function getReserveAddressById(uint16 id) external view returns (address);
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @notice Returns the PoolAddressesProvider connected to this contract
|
|
577
|
+
* @return The address of the PoolAddressesProvider
|
|
578
|
+
*/
|
|
579
|
+
function ADDRESSES_PROVIDER() external view returns (IPoolAddressesProvider);
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @notice Returns the data of an eMode category
|
|
583
|
+
* @param id The id of the category
|
|
584
|
+
*/
|
|
585
|
+
function getEModeCategoryData(uint8 id) external view returns (bytes32, uint16 ltv, uint16 liquidationThreshold);
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @notice Allows a user to use the protocol in eMode
|
|
589
|
+
* @param categoryId The id of the category
|
|
590
|
+
*/
|
|
591
|
+
function setUserEMode(uint8 categoryId) external;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @notice Returns the eMode the user is using
|
|
595
|
+
* @param user The address of the user
|
|
596
|
+
* @return The eMode id
|
|
597
|
+
*/
|
|
598
|
+
function getUserEMode(address user) external view returns (uint256);
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @notice Resets the isolation mode total debt of the given asset to zero
|
|
602
|
+
* @dev It requires the given asset has zero debt ceiling
|
|
603
|
+
* @param asset The address of the underlying asset to reset the isolationModeTotalDebt
|
|
604
|
+
*/
|
|
605
|
+
function resetIsolationModeTotalDebt(address asset) external;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @notice Returns the percentage of available liquidity that can be borrowed at once at stable rate
|
|
609
|
+
* @return The percentage of available liquidity to borrow, expressed in bps
|
|
610
|
+
*/
|
|
611
|
+
function MAX_STABLE_RATE_BORROW_SIZE_PERCENT() external view returns (uint256);
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* @notice Returns the total fee on flash loans
|
|
615
|
+
* @return The total fee on flashloans
|
|
616
|
+
*/
|
|
617
|
+
function FLASHLOAN_PREMIUM_TOTAL() external view returns (uint128);
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @notice Returns the part of the bridge fees sent to protocol
|
|
621
|
+
* @return The bridge fee sent to the protocol treasury
|
|
622
|
+
*/
|
|
623
|
+
function BRIDGE_PROTOCOL_FEE() external view returns (uint256);
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @notice Returns the part of the flashloan fees sent to protocol
|
|
627
|
+
* @return The flashloan fee sent to the protocol treasury
|
|
628
|
+
*/
|
|
629
|
+
function FLASHLOAN_PREMIUM_TO_PROTOCOL() external view returns (uint128);
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* @notice Returns the maximum number of reserves supported to be listed in this Pool
|
|
633
|
+
* @return The maximum number of reserves supported
|
|
634
|
+
*/
|
|
635
|
+
function MAX_NUMBER_RESERVES() external view returns (uint16);
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @notice Mints the assets accrued through the reserve factor to the treasury in the form of aTokens
|
|
639
|
+
* @param assets The list of reserves for which the minting needs to be executed
|
|
640
|
+
*/
|
|
641
|
+
function mintToTreasury(address[] calldata assets) external;
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* @notice Rescue and transfer tokens locked in this contract
|
|
645
|
+
* @param token The address of the token
|
|
646
|
+
* @param to The address of the recipient
|
|
647
|
+
* @param amount The amount of token to transfer
|
|
648
|
+
*/
|
|
649
|
+
function rescueTokens(address token, address to, uint256 amount) external;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* @notice Supplies an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.
|
|
653
|
+
* - E.g. User supplies 100 USDC and gets in return 100 aUSDC
|
|
654
|
+
* @dev Deprecated: Use the `supply` function instead
|
|
655
|
+
* @param asset The address of the underlying asset to supply
|
|
656
|
+
* @param amount The amount to be supplied
|
|
657
|
+
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
|
|
658
|
+
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
|
|
659
|
+
* is a different wallet
|
|
660
|
+
* @param referralCode Code used to register the integrator originating the operation, for potential rewards.
|
|
661
|
+
* 0 if the action is executed directly by the user, without any middle-man
|
|
662
|
+
*/
|
|
663
|
+
function deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;
|
|
664
|
+
}
|