access-control:renounce-ownership
Renounce ownership of an Ownable contract, leaving it without an owner and permanently disabling its onlyOwner functions.
Syntax
Section titled “Syntax”access-control:renounce-ownership <contract>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
contract |
address |
Ownable contract address |
Examples
Section titled “Examples”load access-control
access-control:renounce-ownership 0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72- Irreversible: the contract is left without an owner and every
onlyOwnerfunction becomes permanently uncallable. - Must be sent by the current owner.
See Also
Section titled “See Also”- access-control:transfer-ownership — hand over instead of renouncing