IClientExternalAddresses
View Source: contracts/interfaces/clients/IClientExternalAddresses.sol
↗ Extends: IClientExternalAddressesEvents
IClientExternalAddresses
ClientExternalAddresses is used to set and get addresses used either by proxies or
by protocol clients.
The ERC-165 identifier for this interface is: 0x344552b3
Functions
- setImplementation(address _implementation)
- getImplementation()
- getAccessController()
- setProtocolAddress(address _protocolAddress)
- getProtocolAddress()
setImplementation
Sets the implementation address.
function setImplementation(address _implementation)
external
Arguments
Name | Type | Description |
---|---|---|
_implementation | address | the implementation address |
getImplementation
Gets the implementation address.
function getImplementation()
external
view
returns(address)
Returns
address
getAccessController
Gets the address of the Boson Protocol AccessController contract.
function getAccessController()
external
view
returns(contract IAccessControl)
Returns
Name | Type | Description |
---|---|---|
contract | IAccessControl |
setProtocolAddress
Set the ProtocolDiamond address.
Emits a ProtocolAddressChanged event.
function setProtocolAddress(address _protocolAddress)
external
Arguments
Name | Type | Description |
---|---|---|
_protocolAddress | address | the ProtocolDiamond address |
getProtocolAddress
Gets the address of the ProtocolDiamond contract.
function getProtocolAddress()
external
view
returns(address)
Returns
address