NEW

Chainlink Data Streams have officially launched on mainnet. Sign up for early access.

Back

Ownership

ConfirmedOwnerWithProposal is inherited by operator and forwarder contracts. It contains helpers for basic contract ownership.

API reference

Methods

transferOwnership

function transferOwnership(address to) public

Allows an owner to begin transferring ownership to a new address. Emits an OwnershipTransferRequested event.

acceptOwnership

function acceptOwnership() external

Allows an ownership transfer to be completed by the recipient. Emits an OwnershipTransferred event.

owner

function owner() public view returns (address)

Get the current owner.

Events

OwnershipTransferRequested

event OwnershipTransferRequested(address from, address to)

OwnershipTransferred

event OwnershipTransferred(address from, address to)

Stay updated on the latest Chainlink news