MixinAuthorizable
Overview
License: Apache 2.0
abstract contract MixinAuthorizable is Ownable, MAuthorizableState variables info
authorized (0xb9181611)
mapping(address => bool) authorizedauthorities (0x494503d4)
address[] authoritiesModifiers info
onlyAuthorized
modifier onlyAuthorized()Only authorized addresses can invoke functions with this modifier.
Functions info
addAuthorizedAddress (0x42f1181e)
Authorizes an address.
Parameters:
Name
Type
Description
target
address
Address to authorize.
removeAuthorizedAddress (0x70712939)
Removes authorizion of an address.
Parameters:
Name
Type
Description
target
address
Address to remove authorization from.
removeAuthorizedAddressAtIndex (0x9ad26744)
Removes authorizion of an address.
Parameters:
Name
Type
Description
target
address
Address to remove authorization from.
index
uint256
Index of target in authorities array.
getAuthorizedAddresses (0xd39de6e9)
Gets all authorized addresses.
Return values:
Name
Type
Description
[0]
address[]
Array of authorized addresses.
Last updated