OwnershipFacet
OwnershipFacet
transferOwnership
Set the address of the new owner of the contract
_Set newOwner to address(0) to renounce any ownership.
Parameters
Name
Type
Description
_newOwner
address
The address of the new owner of the contract
owner
Get the address of the owner
Return Values
Name
Type
Description
owner_
address
The address of the owner.
Was this helpful?