IERC173OwnershipFacet
IERC173OwnershipFacet
Exposes an ERC173 ownership facet. The actual ownership is handled differently, this is only used for OpenSea and similar indexers
OwnershipTransferred
event OwnershipTransferred(address previousOwner, address newOwner)
This emits when ownership of a contract changes.
owner
function owner() external view returns (address)
Get the address of the owner
Return Values
Name
Type
Description
[0]
address
The address of the owner.
transferOwnership
function transferOwnership(address _newOwner) external
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
Was this helpful?