NameService
Helper contract, basically simple name to address resolver.
Events
AddressChanged
Emitted when address under the name was changed.
Parameter name | Annotation |
---|---|
name | Name of the address. |
addr | The address itself. |
setAddress
The function that sets the new address under the name.
Parameter name | Annotation |
---|---|
name | The name of an address. |
addr | The new address itself. |
Can only be called by the Avatar.
setAddresses
The function that sets the new group of addresses under the names.
Parameter name | Annotation |
---|---|
hash | The array of keccak256's of names. |
addrs | The new addresses themselfs. |
Can only be called by the Avatar.
getAddress
The function that gets the address under the name.
Parameter name | Annotation |
---|---|
name | The name of an address. |
Returns: the address under the given name.
Last updated