uniswap_v2.token_tax
Documentation for eth_defi.uniswap_v2.token_tax Python module.
Querying the buy tax, transfer tax & sell tax of an ERC20 token
See blog post about token tax and honey pots for more information
Read also unit test suite tests/test_token_tax.py to see the retrieval of token taxes for ELEPHANT token on BSC
Functions
|
Estimates different token taxes for a token by running Ganache simulations for it. |
Classes
Different token taxes we figured out. |
Exceptions
Yet another random Ganache failure. |
|
The token is likely some sort of ponzi with restricted transfer. |
|
The token is likely some sort of ponzi with restricted transfer. |
|
Could not sell the token. |
|
The swap method reverted due to low liquidity of either the base or quote token |
|
The token transfer failed for some random reason. |
|
The token is likely broken. |