RbacSmartRaise
Reference
Modifiers
eitherRole2
modifier eitherRole2(string _role1, string _role2)
- Parameters:
_role1
- string_role2
- string
eitherRole3
modifier eitherRole3(string _role1, string _role2, string _role3)
- Parameters:
_role1
- string_role2
- string_role3
- string
Functions
addRoleOverride
function addRoleOverride(address addr, string roleName) public
Add a role to an address.
- Modifiers:
- onlyRole
- Parameters:
addr
- addressroleName
- the name of the role
fallback
function () public
Constructor. Sets msg.sender as admin by default.
removeRoleOverride
function removeRoleOverride(address addr, string roleName) public
Remove a role from an address.
- Modifiers:
- onlyRole
- Parameters:
addr
- addressroleName
- the name of the role