The Ownership Facet handles the ownership of Beanstalk.
Transfers ownership of Beanstalk to a new address. Can only be called by the owner of Beanstalk.
Callable by candidate for ownership after a successful transferOwnership
function call.
Returns the address of the owner of Beanstalk.
Returns the owner candidate of Beanstalk.
Emitted when ownership of Beanstalk is transferred.
Parameter | Type | Description |
---|---|---|
Return Value | Type | Description |
---|---|---|
Return Value | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
_newOwner
address
The address to transfer ownership to.
owner_
address
The address of the owner of Beanstalk.
ownerCandidate_
address
The owner candidate of Beanstalk.
previousOwner
address
The previous owner of Beanstalk.
newOwner
address
The new owner of Beanstalk.