Ownership Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Ownership Facet handles the ownership of Beanstalk.
Call Functions
function transferOwnership(address _newOwner) external;
Transfers ownership of Beanstalk to a new address. Can only be called by the owner of Beanstalk.
_newOwner
address
The address to transfer ownership to.
function claimOwnership() external;
Callable by candidate for ownership after a successful transferOwnership
function call.
View Functions
function owner() external view returns (address owner_);
Returns the address of the owner of Beanstalk.
owner_
address
The address of the owner of Beanstalk.
function ownerCandidate() external view returns (address ownerCandidate_);
Returns the owner candidate of Beanstalk.
ownerCandidate_
address
The owner candidate of Beanstalk.
Events
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
Emitted when ownership of Beanstalk is transferred.
previousOwner
address
The previous owner of Beanstalk.
newOwner
address
The new owner of Beanstalk.
Last updated