Skip to main content

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

Sets the implementation address.

function setImplementation(address _implementation) 
external

Arguments

NameTypeDescription
_implementationaddressthe 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

NameTypeDescription
contractIAccessControl

setProtocolAddress

Set the ProtocolDiamond address.
Emits a ProtocolAddressChanged event.

function setProtocolAddress(address _protocolAddress) 
external

Arguments

NameTypeDescription
_protocolAddressaddressthe ProtocolDiamond address

getProtocolAddress

Gets the address of the ProtocolDiamond contract.

function getProtocolAddress() 
external
view
returns(address)

Returns

address