Difference between revisions of "ERC20"

From DefiLlama
Jump to navigation Jump to search
m (link to erc page)
Line 3: Line 3:
For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.<ref>https://ethereum.org/en/developers/docs/standards/tokens/erc-20/</ref>
For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.<ref>https://ethereum.org/en/developers/docs/standards/tokens/erc-20/</ref>


Example functionalities ERC-20 provides:
== Functionalities ==
 
* transfer tokens from one account to another
* transfer tokens from one account to another
* get the current token balance of an account
* get the current token balance of an account
Line 10: Line 9:
* approve whether an amount of token from an account can be spent by a third-party account
* approve whether an amount of token from an account can be spent by a third-party account


=== Sources ===
== Sources ==
<references />
<references />

Revision as of 21:50, 21 April 2022

The ERC-20 introduces a token standard for Fungible Tokens, in other words, they have a property that makes each Token be exactly the same (in type and value) of another Token.

For example, an ERC-20 Token acts just like the ETH, meaning that 1 Token is and will always be equal to all the other Tokens.[1]

Functionalities

  • transfer tokens from one account to another
  • get the current token balance of an account
  • get the total supply of the token available on the network
  • approve whether an amount of token from an account can be spent by a third-party account

Sources