query factories($block: Block_height, $where: Factory_filter, $orderBy: Factory_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    factories(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        type
        volumeUSD
        volumeNative
        liquidityUSD
        liquidityNative
        feesUSD
        feesNative
        pairCount
        transactionCount
        tokenCount
        userCount
    }
}