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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ERC20Registry 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.
register_erc20modifier register_erc20() {
ERC20_REGISTRY_CONTRACT.register_erc20();
_;
}
register_erc20_storemodifier register_erc20_store(address account) {
if (!ERC20_REGISTRY_CONTRACT.is_erc20_store_registered(account)) {
ERC20_REGISTRY_CONTRACT.register_erc20_store(account);
}
_;
}
| Name | Type | Description |
|---|---|---|
account | address | The address of the ERC20 store to check and register if not already registered. |
Was this page helpful?