create_uniswap_v2_compatible_routing#

create_uniswap_v2_compatible_routing(routing_type, reserve_currency)[source]#

Set up Uniswap v2 compatible routing. Not recommended to use by itself, because it doesn’t validate reserve currency. Rather use create_compatible_routing

Parameters:
Return type:

UniswapV2SimpleRoutingModel

TradeRouting type

Parameters:
Return type:

UniswapV2SimpleRoutingModel

Reservecurrency type

Returns:

Parameters:
Return type:

UniswapV2SimpleRoutingModel

UniswapV2SimpleRoutingModel