From 3b093775a01ad29fe17dae5fb7b7a394efeb744b Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 31 Jul 2024 09:39:52 +0200 Subject: [PATCH] fix: logic getters should be `view` (#40) --- src/core/contracts/interfaces/IPool.sol | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/core/contracts/interfaces/IPool.sol b/src/core/contracts/interfaces/IPool.sol index 4e49aa40..86becac3 100644 --- a/src/core/contracts/interfaces/IPool.sol +++ b/src/core/contracts/interfaces/IPool.sol @@ -801,35 +801,35 @@ interface IPool { /** * @notice Gets the address of the external FlashLoanLogic */ - function getFlashLoanLogic() external returns (address); + function getFlashLoanLogic() external view returns (address); /** * @notice Gets the address of the external BorrowLogic */ - function getBorrowLogic() external returns (address); + function getBorrowLogic() external view returns (address); /** * @notice Gets the address of the external BridgeLogic */ - function getBridgeLogic() external returns (address); + function getBridgeLogic() external view returns (address); /** * @notice Gets the address of the external EModeLogic */ - function getEModeLogic() external returns (address); + function getEModeLogic() external view returns (address); /** * @notice Gets the address of the external LiquidationLogic */ - function getLiquidationLogic() external returns (address); + function getLiquidationLogic() external view returns (address); /** * @notice Gets the address of the external PoolLogic */ - function getPoolLogic() external returns (address); + function getPoolLogic() external view returns (address); /** * @notice Gets the address of the external SupplyLogic */ - function getSupplyLogic() external returns (address); + function getSupplyLogic() external view returns (address); }