Open drewroberts opened 8 months ago
Here is that function in my old contract standard:
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
This function transfers the contract to another owner address.