PYRToken
Source:Verified
Write Functions / transfer
Overview

The transfer function in the ERC20 contract facilitates the transfer of tokens from the caller to a specified recipient. It ensures that the recipient is not a zero address and that the caller has sufficient balance, while also invoking the _transfer function to handle the actual token movement and event emission.

Inputs
  • recipient (address): The address of the account that will receive the tokens.
  • amount (uint256): The number of tokens to be transferred.
Outputs
  • Returns (bool): The function returns true if the transfer is successful.
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...