NEW

CCIP is now available on testnet for all developers. Get started today.

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