IGNSAddressStore
Interface for AddressStoreUtils library
initialize
Initializes address store facet
Parameters
Name
Type
Description
_rolesManager
address
roles manager address
getAddresses
Returns addresses current values
hasRole
Returns whether an account has been granted a particular role
Parameters
Name
Type
Description
_account
address
account address to check
_role
enum IAddressStore.Role
role to check
setRoles
Updates access control for a list of accounts
Parameters
Name
Type
Description
_accounts
address[]
accounts addresses to update
_roles
enum IAddressStore.Role[]
corresponding roles to update
_values
bool[]
corresponding new values to set
AddressesUpdated
Emitted when addresses are updated
Parameters
Name
Type
Description
addresses
struct IAddressStore.Addresses
new addresses values
AccessControlUpdated
Emitted when access control is updated for an account
Parameters
Name
Type
Description
target
address
account address to update
role
enum IAddressStore.Role
role to update
access
bool
whether role is granted or revoked