interface VaultNode {
    id: string;
    chainId: number;
    vaultAddress: string;
    protocol: string;
    beaconName: string;
    protocolBaseType: string;
    name: string;
    feeApr?: number;
    stakingApr?: number;
    merklApr?: number;
    positions?: {
        id: string;
        upperTick: number;
        lowerTick: number;
        relativeWeight: string;
    }[];
    tickRange?: { minLowerTick: number; maxUpperTick: number };
    fees?: { fees0: string; fees1: string };
    pool: {
        poolAddress: string;
        id: string;
        feeTier: string;
        tick?: string;
        liquidity?: string;
        volumeUSD?: string;
        totalValueLockedUSD?: string;
    };
    token0: {
        id: string;
        symbol: string;
        name: string;
        decimals: number;
        address: string;
        chainId: number;
    };
    token1: {
        id: string;
        symbol: string;
        name: string;
        decimals: number;
        address: string;
        chainId: number;
    };
}

Properties

id: string
chainId: number
vaultAddress: string
protocol: string
beaconName: string
protocolBaseType: string
name: string
feeApr?: number
stakingApr?: number
merklApr?: number
positions?: {
    id: string;
    upperTick: number;
    lowerTick: number;
    relativeWeight: string;
}[]

Raw positions from the subgraph. Only available when sourced from subgraph.

tickRange?: { minLowerTick: number; maxUpperTick: number }

Computed tick range across all current positions (min lower / max upper). Only available when sourced from subgraph.

fees?: { fees0: string; fees1: string }

Cumulative fees collected by the vault. Only available when sourced from subgraph.

pool: {
    poolAddress: string;
    id: string;
    feeTier: string;
    tick?: string;
    liquidity?: string;
    volumeUSD?: string;
    totalValueLockedUSD?: string;
}
token0: {
    id: string;
    symbol: string;
    name: string;
    decimals: number;
    address: string;
    chainId: number;
}
token1: {
    id: string;
    symbol: string;
    name: string;
    decimals: number;
    address: string;
    chainId: number;
}