PYRToken
Source:Verified
Write Functions / transferFrom
Overview

The transferFrom function in the ERC20 contract allows a designated spender to transfer tokens from one account (the sender) to another (the recipient) on behalf of the sender. It checks for sufficient allowance and balances, and emits relevant events upon successful execution.

Inputs
  • sender (address): The address from which tokens are being transferred.
  • recipient (address): The address to which tokens are being sent.
  • amount (uint256): The number of tokens to transfer.
Outputs
  • Returns (bool): The function returns true if the transfer is successful.
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...