Skip to content

Commit

Permalink
Missing view keyword IAccessManager interface (#4558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx authored Sep 1, 2023
1 parent adbb8c9 commit 10e00c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/access/manager/IAccessManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface IAccessManager {
bytes4 selector
) external view returns (bool allowed, uint32 delay);

function expiration() external returns (uint32);
function expiration() external view returns (uint32);

function getContractClass(address target) external view returns (uint64 classId, bool closed);

Expand Down Expand Up @@ -99,9 +99,9 @@ interface IAccessManager {

function setContractClosed(address target, bool closed) external;

function getSchedule(bytes32 id) external returns (uint48);
function getSchedule(bytes32 id) external view returns (uint48);

function getNonce(bytes32 id) external returns (uint32);
function getNonce(bytes32 id) external view returns (uint32);

function schedule(address target, bytes calldata data, uint48 when) external returns (bytes32, uint32);

Expand Down

0 comments on commit 10e00c8

Please sign in to comment.