Roles
Structs
Role
struct Role {
mapping(address => bool) bearer
}Functions
add
Name
Type
Description
remove
Name
Type
Description
has
Name
Type
Description
Last updated
Was this helpful?
struct Role {
mapping(address => bool) bearer
}Last updated
Was this helpful?
Was this helpful?
function add(struct Roles.Role role, address account) internal nonpayablefunction remove(struct Roles.Role role, address account) internal nonpayablefunction has(struct Roles.Role role, address account) internal view
returns(bool)