Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ERC20Component

ERC20 Component

The ERC20 component provides an implementation of the IERC20 interface as well as non-standard implementations that can be used to create an ERC20 contract. This component is agnostic regarding how tokens are created, which means that developers must create their own token distribution mechanism. See the documentation (https://docs.openzeppelin.com/contracts-cairo/3.0.0/guides/erc20-supply) for examples.

Fully qualified path: openzeppelin_token::erc20::erc20::ERC20Component

Modules

Constants

Free functions

Structs

Storage
TransferEmitted when tokens are moved from address from to address to .
ApprovalEmitted when the allowance of a spender for an owner is set by a call to approve . value is the new allowance.
ComponentState

Enums

Event

Traits