Overview
TheERC20Registry contract provides modifiers for registering ERC20 tokens and
their associated stores. Registration allows the token to be recognized and made
interoperable with other parts of the MiniEVM rollup functionality.
Modifiers
register_erc20
Registers an ERC20 token with the ERC20 registry. This is done to allow the
token to be recognized and interoperable with other parts of the MiniEVM rollup.
register_erc20_store
Registers an ERC20 store for a given account with the ERC20 registry if it is
not already registered. This is done to keep track of which accounts are
associated with which ERC20 tokens.
Parameters
| Name | Type | Description |
|---|---|---|
account | address | The address of the ERC20 store to check and register if not already registered. |