query factoryDaySnapshot($id: ID!, $block: Block_height){
    factoryDaySnapshot(id: $id, block: $block){
        id
        factory{
            id
            type
            volumeUSD
            volumeNative
            liquidityUSD
            liquidityNative
            feesUSD
            feesNative
            pairCount
            transactionCount
            tokenCount
            userCount
        }
        date
        volumeUSD
        volumeNative
        liquidityNative
        liquidityUSD
        feesNative
        feesUSD
        transactionCount
    }
}