From 996b1b26b47f188e1b64ed940ab8375d29c0a910 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 12 Apr 2024 23:44:39 -0700 Subject: [PATCH] Add OpenZeppelin (v5.0.0) AccessControl --- interfaces.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/interfaces.json b/interfaces.json index 8bd4338..19550d6 100644 --- a/interfaces.json +++ b/interfaces.json @@ -73,5 +73,12 @@ ], "ERC-6551 Executor": [ "execute(address to, uint256 value, bytes calldata data, uint8 operation)" + ], + "OpenZeppelin (v5.0.0) AccessControl": [ + "hasRole(bytes32 role, address account) external view returns (bool)", + "getRoleAdmin(bytes32 role) external view returns (bytes32)", + "grantRole(bytes32 role, address account) external", + "revokeRole(bytes32 role, address account) external", + "renounceRole(bytes32 role, address callerConfirmation) external" ] } \ No newline at end of file -- 2.47.3