IAnchor.sol

Functions

committee

function committee(
) external view returns (address)

Returns the committee of the anchor. The committee cannot be changed after the deployment of the anchor since committee is immutable.

Return Values

TypeDescription

address

The address of the committee

consumer

function consumer(
) external view returns (address)

Returns the consumer of the anchor. The consumer can be changed by the anchor's owner via updateConsumer.

Return Values

TypeDescription

address

The address of the consumer

Owner

function owner(
) public view returns (address)

Return Values

TypeDescription

address

The address of the current owner

transferOwnership

function transferOwnership(
    address newOwner
) public onlyOwner

Transfers the ownership of the anchor contract to a new address. This method can only be called by the current owner.

NameTypeDescription

newOwner

address

The address of the new owner

Last updated