query grantFunds($block: Block_height, $where: GrantFund_filter, $orderBy: GrantFund_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    grantFunds(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        treasury
        distributionPeriods{
            id
            distributionId
            startBlock
            endBlock
            fundsAvailable
            delegationRewardsClaimed
            fundingVotePowerUsed
            screeningVotesCast
            totalTokensDistributed
        }
        totalDelegationRewardsClaimed
    }
}