Static
buildBuilds a WhirlpoolRouter with a prebuilt PoolGraph
A WhirlpoolContext for the current execution environment
A PoolGraph that represents the connections between all pools.
A WhirlpoolRouter that can be used to find routes and execute swaps
Static
buildFetch and builds a WhirlpoolRouter with a list of pool addresses.
A WhirlpoolContext for the current execution environment
A list of Addresses that the router will find routes through.
A WhirlpoolRouter that can be used to find routes and execute swaps
Builder to build instances of the WhirlpoolRouter
Deprecated
WhirlpoolRouter will be removed in the future release. Please use endpoint which provides qoutes.