From fdb62fedd5f1304dcea0b0a7525c68209eee0f46 Mon Sep 17 00:00:00 2001 From: Daksh Miglani Date: Mon, 10 May 2021 03:46:26 +0530 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20improve=20the=20comment?= =?UTF-8?q?s=20a=20bit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contracts/mapping/InstaAccessControl.sol | 35 ------------------------ 1 file changed, 35 deletions(-) diff --git a/contracts/mapping/InstaAccessControl.sol b/contracts/mapping/InstaAccessControl.sol index d1d3a0d5..68303a27 100644 --- a/contracts/mapping/InstaAccessControl.sol +++ b/contracts/mapping/InstaAccessControl.sol @@ -6,41 +6,6 @@ import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; -/** - * @dev Contract module that allows children to implement role-based access - * control mechanisms. - * - * Roles are referred to by their `bytes32` identifier. These should be exposed - * in the external API and be unique. The best way to achieve this is by - * using `public constant` hash digests: - * - * ``` - * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); - * ``` - * - * Roles can be used to represent a set of permissions. To restrict access to a - * function call, use {hasRole}: - * - * ``` - * function foo() public { - * require(hasRole(MY_ROLE, msg.sender)); - * ... - * } - * ``` - * - * Roles can be granted and revoked dynamically via the {grantRole} and - * {revokeRole} functions. Each role has an associated admin role, and only - * accounts that have a role's admin role can call {grantRole} and {revokeRole}. - * - * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means - * that only accounts with this role will be able to grant or revoke other - * roles. More complex role relationships can be created by using - * {_setRoleAdmin}. - * - * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to - * grant and revoke this role. Extra precautions should be taken to secure - * accounts that have been granted it. - */ interface IndexInterface { function master() external view returns (address); }