TokenTaxInfo
Documentation for eth_defi.uniswap_v2.token_tax.TokenTaxInfo Python class.
- class TokenTaxInfo
Bases:
objectDifferent token taxes we figured out.
Attributes summary
Token in the question
Which token we traded against it
How much % we lost of the token on buy
How much % we lose the token when we transfer between addresses
How much % we lose the token when we sold it
Methods summary
__init__(base_token, quote_token, buy_tax, ...)- base_token: eth_typing.evm.HexAddress
Token in the question
- quote_token: eth_typing.evm.HexAddress
Which token we traded against it
- buy_tax: float
How much % we lost of the token on buy
- transfer_tax: float
How much % we lose the token when we transfer between addresses
- sell_tax: float
How much % we lose the token when we sold it
- __init__(base_token, quote_token, buy_tax, transfer_tax, sell_tax)
- Parameters
base_token (eth_typing.evm.HexAddress) –
quote_token (eth_typing.evm.HexAddress) –
buy_tax (float) –
transfer_tax (float) –
sell_tax (float) –
- Return type
None