PYRToken
Source:Verified
Write Functions / transferOwnership
Overview

The transferOwnership function in the Ownable contract allows the current owner to transfer ownership of the contract to a new address. It verifies that the caller is the current owner and ensures that the new owner's address is not zero before executing the transfer.

Inputs
  • newOwner (address): The address of the new owner to whom the contract ownership will be transferred.
Outputs
  • None: This function does not return any values.
Emits One Event
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...