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 | — |
| Transfer | Emitted when tokens are moved from address from to address to . |
| Approval | Emitted when the allowance of a spender for an owner is set by a call to approve . value is the new allowance. |
| ComponentState | — |
Enums
Traits
| ImmutableConfig | Constants expected to be defined at the contract level used to configure the component behavior…. |
| ERC20HooksTrait | — |
| HasComponent | — |
| InternalTrait | — |
| UnsafeNewContractStateTraitForERC20Impl | — |
| UnsafeNewContractStateTraitForERC20MetadataImpl | — |
| UnsafeNewContractStateTraitForERC20CamelOnlyImpl | — |
| UnsafeNewContractStateTraitForERC20MixinImpl | — |
| UnsafeNewContractStateTraitForERC20PermitImpl | — |
| UnsafeNewContractStateTraitForSNIP12MetadataExternalImpl | — |