query distributionPeriods($block: Block_height, $where: DistributionPeriod_filter, $orderBy: DistributionPeriod_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    distributionPeriods(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        distributionId
        startBlock
        endBlock
        topSlate{
            id
            totalTokensRequested
            totalFundingVotesReceived
            updateBlock
        }
        slatesSubmitted{
            id
            totalTokensRequested
            totalFundingVotesReceived
            updateBlock
        }
        fundsAvailable
        delegationRewardsClaimed
        fundingVotePowerUsed
        screeningVotesCast
        votes{
            id
            initialFundingStageVotingPowerRecordedPostVote
            remainingFundingStageVotingPowerRecordedPostVote
            initialScreeningStageVotingPowerRecordedPostVote
            remainingScreeningStageVotingPowerRecordedPostVote
        }
        proposals{
            id
            proposalId
            description
            executed
            screeningVotesReceived
            fundingVotesReceived
            fundingVotesNegative
            fundingVotesPositive
            totalTokensRequested
        }
        totalTokensDistributed
    }
}