Route
Documentation for eth_defi.vault.valuation.Route Python class.
- class Route
Bases:
objectOne potential swap path.
Support paths with 2 or 3 pairs
Present one potential swap path between source and target
Routes can contain any number of intermediate tokens in the path
Used to ABI encode for multicall calls
Attributes summary
quoterpathfeesaddress_pathdex_hintintermediate_tokensource_tokentarget_tokentokenMethods summary
__init__(quoter, path[, fees])Return human readable path.
- __init__(quoter, path, fees=None)
- Parameters
- Return type
None
- get_formatted_path()
Return human readable path.
- Return type