Contract Functions

ITokenERC20

Interface of the ERC20 standard as defined in the EIP-20 specification.

Version 4.0.6

ITokenERC20 Contract

This interface defines the standard functions for interacting with ERC20 compatible tokens. It outlines the fundamental methods for transferring tokens, checking balances, and retrieving token metadata.

Features

  • Transfer tokens between accounts
  • Retrieve the balance of an account
  • Approve a spender to access a specific amount of tokens
  • Check the allowance granted to a spender
  • Retrieve the total supply of tokens
  • Retrieve the name of the token
  • Retrieve the symbol of the token
  • Retrieve the number of decimals of the token
  • Usage

    This interface is used by other contracts to interact with ERC20 tokens. It ensures compatibility and interoperability between different token contracts.

    Functions

    transfer

    transfer(address recipient, uint256 amount)

    approve

    approve(address spender, uint256 amount)

    transferFrom

    transferFrom(address sender, address recipient, uint256 amount)

    increaseAllowance

    increaseAllowance(address spender, uint256 addedValue)

    decreaseAllowance

    decreaseAllowance(address spender, uint256 subtractedValue)
    Ask about contract functions, security, or implementation details

    Press Enter to send your query

    Source Code

    1