UniswapV2PriceOracleContext
Documentation for eth_defi.uniswap_v2.oracle.UniswapV2PriceOracleContext Python class.
- class UniswapV2PriceOracleContext[source]
Hold data about tokens in in the pool
Attributes summary
pair
reverse_token_order
Methods summary
__init__
(pair, reverse_token_order)- __init__(pair, reverse_token_order)
- Parameters
pair (eth_defi.uniswap_v2.pair.PairDetails) –
reverse_token_order (bool) –
- Return type
None