Options
All
  • Public
  • Public/Protected
  • All
Menu

A utility class for working with pool graphs

Hierarchy

  • PoolGraphUtils

Index

Constructors

Properties

PATH_ID_DELIMITER: "-" = "-"

Methods

  • deconstructPathId(pathId: string): readonly [string, string]
  • Deconstruct a path id into the two tokens it represents

    Parameters

    • pathId: string

      The path id to deconstruct

    Returns readonly [string, string]

    A tuple of the two tokens in the path id. Returns undefined if the provided pathId is invalid.

  • getSearchPathId(tokenA: Address, tokenB: Address): string

Generated using TypeDoc