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

Type
Description

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

Type
Description

address

The address of the consumer

Owner

function owner(
) public view returns (address)

Return Values

Type
Description

address

The address of the current owner

transferOwnership

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

Name
Type
Description

newOwner

address

The address of the new owner

Last updated