Address Resolver
Last updated
Last updated
EVENT
AddressRegistered(id, contractAddress)
AddressRegistered(bytes4 id, address contractAddress) |
---|
FUNCTIONS
getAddress(_id)
getAddressWithCheck(_id)
registerAddress(_ids, _addresses)
getAddress(bytes4 _id) -> address |
---|
getAddressWithCheck(_id) -> address |
---|
registerAddress(bytes4[] _ids, address[] _addresses) |
---|
Event emitted for each address registered when the registerAddress
function is called.
Queries the registry for the address associated with _id
.
visibility: external
state mutability: view
Queries the registry for the address associated with _id
, additionally checking whether the address is not the zero address.
visibility: external
state mutability: view
Registers key-value pairs using _ids
and _addresses
to the registry mapping. This can only be accessed by the Rawrshak development team.
Emits an addressRegistered
event for each address registered.
Requirements:
The length of _ids
must equal the length of _addresses
.
visibility: external
state mutability: