What is an ERC-20 token ?

Note: Moonriver (MOVR) on Kusama is a companion network to Moonbeam and provides a permanently incentivized canary network. New code ships to Moonriver first, where it can be tested and verified under real economic conditions. Once proven, the same code ships to Moonbeam on Polkadot.

Polygon PoS (polygonscan.com) is an EVM-compatible environment optimized for high throughput and low transaction fees while Polygon zkEVM (zkevm.polygonscan.com) is an EVM-equivalent ZK rollup designed for security.

ERC-20 (Ethereum Request for Comments) tokens are tokens that follow a set of standards defined for smart contracts on Optimism. ERC-20 defines the common rules for developers to adhere to when creating tokens on Optimism.

This enables smart contracts (tokens) to share a common set of standards. For example, to enable a token to define its total supply of tokens, “totalSupply” is used, instead of “totalNumber” or “totalTokens”. Compliance to the standard avoids confusion and enables tokens to interact with wallets, exchanges and different smart contracts smoothly without running into issues due to individual token differences.

The set of functions defined by the ERC-20 standard are:

totalSupply - get the total token supply
balanceOf - get the account balance of account address
transfer - send amount of tokens 
transferFrom - define where the tokens are transfering from
approve - allow tokens to be withdrawn from sending address
allowance - returns the remaining tokens of the address

A list of ERC-20 Token is available on Optimistic Etherscan.

Kaven Choi
Kaven Choi
Last updated: