import { Token } from '@uniswap/sdk-core'; import { ProviderConfig } from '../provider'; export interface PV4BINSubgraphPool { id: string; feeTier: string; binStep: string; hooks: string; liquidity: string; token0: { id: string; symbol?: string; }; token1: { id: string; symbol?: string; }; tvlETH: number; tvlUSD: number; /** When 'token0' or 'token1', that currency uses address(0) in the on-chain PoolKey. */ nativeCurrency?: 'token0' | 'token1'; } export interface IPV4BINSubgraphProvider { getPools(tokenIn?: Token, tokenOut?: Token, providerConfig?: ProviderConfig): Promise; }