uniswap_v2.fees
Documentation for eth_defi.uniswap_v2.fees Python module.
Uniswap v2 price impact and fee calculations.
Mostly lifted from Uniswap-v2-py MIT licensed by Asynctomatic.
Functions
|
Estimate how much we are going to need to pay when doing buy. |
|
Estimate how much we are going to need to pay when doing buy. |
|
Estimate how many tokens we are going to receive when doing a buy. |
|
Estimate how much we receive for a certain cash amount. |
|
Estimate how much we are going to get paid when doing a sell. |
|
Estimate how much we are going to get paid when doing a sell. |
|
Estimate how much cash we receive for a certain quantity of tokens sold. |
Classes
A helper class to estimate Uniswap fees. |
Exceptions