roberts / standard

Drew Roberts Contract Standard for ERC-20 Tokens
https://DrewRoberts.com
MIT License
0 stars 1 forks source link

renounceOwnership() Function #15

Closed drewroberts closed 8 months ago

drewroberts commented 8 months ago

This function sends the contract to the Dead Address.

drewroberts commented 8 months ago

Here is that function in my old contract standard:

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }