Overview
TheERC20ACL contract provides access control mechanisms for ERC20 token
operations. It includes modifiers to restrict certain actions based on
conditions such as whether an address is a module address or a blocked address.
Constants
CHAIN_ADDRESS
The address of the chain signer.
Modifiers
onlyChain
Restricts the function so it can be called only by the chain signer.
burnable
Restricts the function to ensure the sender is not a module address.
Parameters
| Name | Type | Description |
|---|---|---|
from | address | The address to check. |
mintable
Restricts the function to ensure the recipient is not a blocked address.
Parameters
| Name | Type | Description |
|---|---|---|
to | address | The address to check. |
transferable
Restricts the function to ensure the recipient is not a blocked address.
Parameters
| Name | Type | Description |
|---|---|---|
to | address | The address to check. |