Static
buildBuild a PoolGraph from a list of pools in the format of PoolTokenPair
a list of PoolTokenPair to generate this pool graph
A PoolGraph with the provided pools
Static
buildFetch data and build a PoolGraph from a list of pools addresses
a list of pool addresses to generate this pool graph
A PoolGraph with the provided pools
A builder class for creating a PoolGraph
Note: we use an adjacency list as a representation of our pool graph, since we assume that most token pairings don't exist as pools