NEW

Connect the world's APIs to Web3 with Chainlink Functions. Get started

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