create_compatible_routing#

create_compatible_routing(routing_type, reserve_currency)[source]#

Create compatible routing.

At the moment, can either be uniswap-v2 compatible or uniswap-v3 compatible.

  • This takes one of the default routing options and gives the routing model for it

  • The routing model consists of smart contract addresses needed to trade, the chainid, and trading fee

Parameters: