IDiamondOwnerFacet
IDiamondOwnerFacet
Defines the facet for a basic token URI storage implementation. See setBaseTokenURI
for details.
SenderIsNotNominee
The sender is not the nominee, which is a requirement to accept a nomination.
NomineeIsNotSet
The nominee is not set, which is a requirement to accept a nomination.
DiamondOwnershipTransferred
Emitted when ownership of the diamond changes
Parameters
previousOwner
address
The previous owner of the diamond.
newOwner
address
The new owner of the diamond.
diamondOwner
Get the address of the owner
Return Values
[0]
address
The address of the owner.
nomineeDiamondOwner
Get the nominated owner who has permission to call acceptOwnership
Return Values
[0]
address
The address of the nominated owner.
acceptDiamondOwnership
Accept transfer of contract ownership
transferDiamondOwnership
Grants permission to account
to accept the diamond ownership. This can only be called on the diamond, never on the proxy. Requires the caller to be the current owner.
Parameters
account
address
The proposed new owner of the diamond.
Was this helpful?