Type alias PoolSnapshot

PoolSnapshot: {
    chainId: CHAIN_IDS;
    key: `0x${string}`;
    salt: `0x${string}`;
    currencyA: Currency;
    currencyB: Currency;
    currencyLp: Currency6909;
    volumeUSD24h: string;
    lpPriceUSD: string;
    totalTvlUSD: string;
    totalSpreadProfitUSD: string;
    initialLPInfo: {
        tokenA: CurrencyAmount;
        tokenB: CurrencyAmount;
        lpToken: Currency6909Amount;
        lpPriceUSD: string;
        timestamp: number;
        txHash: `0x${string}`;
    };
    performanceHistories: {
        timestamp: number;
        spreadProfitUSD: string;
        tvlUSD: string;
        lpPriceUSD: string;
        oraclePrice: string;
        priceA: string;
        priceAUSD: number;
        priceB: string;
        priceBUSD: number;
        volumeA: CurrencyAmount;
        volumeB: CurrencyAmount;
        volumeUSD: string;
    }[];
}

Type declaration

  • chainId: CHAIN_IDS
  • key: `0x${string}`
  • salt: `0x${string}`
  • currencyA: Currency
  • currencyB: Currency
  • currencyLp: Currency6909
  • volumeUSD24h: string
  • lpPriceUSD: string
  • totalTvlUSD: string
  • totalSpreadProfitUSD: string
  • initialLPInfo: {
        tokenA: CurrencyAmount;
        tokenB: CurrencyAmount;
        lpToken: Currency6909Amount;
        lpPriceUSD: string;
        timestamp: number;
        txHash: `0x${string}`;
    }
  • performanceHistories: {
        timestamp: number;
        spreadProfitUSD: string;
        tvlUSD: string;
        lpPriceUSD: string;
        oraclePrice: string;
        priceA: string;
        priceAUSD: number;
        priceB: string;
        priceBUSD: number;
        volumeA: CurrencyAmount;
        volumeB: CurrencyAmount;
        volumeUSD: string;
    }[]