Skip to main content

TypeScript shape

type SymbolType =
  | 'TOKEN'
  | 'POOL';
POOL
enum
Default. The address argument is a pool (pair) contract address.
TOKEN
enum
The address argument is a token contract address; the resolver looks up the token’s top pool from storage and uses that pool as the pair filter. Throws NOT_FOUND if the token has no pool.