diff --git a/contracts/interfaces/IPoolManager.sol b/contracts/interfaces/IPoolManager.sol index 1d92a26ca..55380f017 100644 --- a/contracts/interfaces/IPoolManager.sol +++ b/contracts/interfaces/IPoolManager.sol @@ -182,11 +182,11 @@ interface IPoolManager is IERC1155 { /// @notice Called by external contracts to access granular pool state /// @param slot Key of slot to sload /// @return value The value of the slot as bytes32 - function extsload(bytes32 slot) external returns (bytes32 value); + function extsload(bytes32 slot) external view returns (bytes32 value); /// @notice Called by external contracts to access granular pool state /// @param slot Key of slot to start sloading from /// @param nSlots Number of slots to load into return value /// @return value The value of the sload-ed slots concatentated as dynamic bytes - function extsload(bytes32 slot, uint256 nSlots) external returns (bytes memory value); + function extsload(bytes32 slot, uint256 nSlots) external view returns (bytes memory value); }