For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ownership Facet

The Ownership Facet handles the ownership of Beanstalk.

Call Functions

Transfer Ownership

function transferOwnership(address _newOwner) external;

Transfers ownership of Beanstalk to a new address. Can only be called by the owner of Beanstalk.

Parameter
Type
Description

_newOwner

address

The address to transfer ownership to.

Claim Ownership

function claimOwnership() external;

Callable by candidate for ownership after a successful transferOwnership function call.

View Functions

Owner

function owner() external view returns (address owner_);

Returns the address of the owner of Beanstalk.

Return Value
Type
Description

owner_

address

The address of the owner of Beanstalk.

Owner Candidate

Returns the owner candidate of Beanstalk.

Return Value
Type
Description

ownerCandidate_

address

The owner candidate of Beanstalk.

Events

Ownership Transferred

Emitted when ownership of Beanstalk is transferred.

Parameter
Type
Description

previousOwner

address

The previous owner of Beanstalk.

newOwner

address

The new owner of Beanstalk.

Last updated