Nicolás Venturo baaadde3c5 Remove ERC20._burnFrom (#2119) před 5 roky
..
ERC20.sol baaadde3c5 Remove ERC20._burnFrom (#2119) před 5 roky
ERC20Burnable.sol baaadde3c5 Remove ERC20._burnFrom (#2119) před 5 roky
ERC20Capped.sol 5dfe7215a9 Migrate Contracts to Solidity v0.6 (#2080) před 5 roky
ERC20Detailed.sol 5dfe7215a9 Migrate Contracts to Solidity v0.6 (#2080) před 5 roky
ERC20Pausable.sol 7acd60d152 Add notice about deprecated Crowdsales (#2116) před 5 roky
IERC20.sol 5dfe7215a9 Migrate Contracts to Solidity v0.6 (#2080) před 5 roky
README.adoc d864228624 Improve GSN documentation (#1900) před 6 roky
SafeERC20.sol 5dfe7215a9 Migrate Contracts to Solidity v0.6 (#2080) před 5 roky
TokenTimelock.sol 5dfe7215a9 Migrate Contracts to Solidity v0.6 (#2080) před 5 roky

README.adoc

= ERC 20

This set of interfaces, contracts, and utilities are all related to the https://eips.ethereum.org/EIPS/eip-20[ERC20 Token Standard].

TIP: For an overview of ERC20 tokens and a walkthrough on how to create a token contract read our xref:ROOT:tokens.adoc#ERC20[ERC20 guide].

There a few core contracts that implement the behavior specified in the EIP:

* {IERC20}: the interface all ERC20 implementations should conform to
* {ERC20}: the base implementation of the ERC20 interface
* {ERC20Detailed}: includes the <>,
<> and <>
optional standard extension to the base interface

Additionally there are multiple custom extensions, including:

* designation of addresses that can create token supply ({ERC20Mintable}), with an optional maximum cap ({ERC20Capped})
* destruction of own tokens ({ERC20Burnable})
* designation of addresses that can pause token operations for all users ({ERC20Pausable}).

Finally, there are some utilities to interact with ERC20 contracts in various ways.

* {SafeERC20} is a wrapper around the interface that eliminates the need to handle boolean return values.
* {TokenTimelock} can hold tokens for a beneficiary until a specified time.

NOTE: This page is incomplete. We're working to improve it for the next release. Stay tuned!

== Core

{{IERC20}}

{{ERC20}}

{{ERC20Detailed}}

== Extensions

{{ERC20Mintable}}

{{ERC20Burnable}}

{{ERC20Pausable}}

{{ERC20Capped}}

== Utilities

{{SafeERC20}}

{{TokenTimelock}}