Tokens printer#
Name: tokens
The printer prints the list of all ERC-20, ERC-721, and ERC-1155 tokens detected in the analyzed contracts.
Example#
Parameters#
Command-line name | TOML name | Type | Default value | Description |
---|---|---|---|---|
--erc20 |
erc20 |
bool |
True |
Print ERC-20 tokens. |
--erc721 |
erc721 |
bool |
True |
Print ERC-721 tokens. |
--erc1155 |
erc1155 |
bool |
True |
Print ERC-1155 tokens. |
--erc20-threshold |
erc20_threshold |
int |
4 |
Number of ERC-20 functions/events required to consider a contract an ERC-20 token. |
--erc721-threshold |
erc721_threshold |
int |
6 |
Number of ERC-721 functions/events required to consider a contract an ERC-721 token. |
--erc1155-threshold |
erc1155_threshold |
int |
4 |
Number of ERC-1155 functions/events required to consider a contract an ERC-1155 token. |
--interface --no-interface |
interface |
bool |
False |
Print interfaces. |
--abstract --no-abstract |
abstract |
bool |
False |
Print abstract contracts. |
--table-style |
table_style |
str |
"" |
Rich style of the table. |
--header-style |
header_style |
str |
"" |
Rich style of the table header. |
--style |
style |
str |
cyan |
Rich style of the table cells. |