query repayDebts($block: Block_height, $where: RepayDebt_filter, $orderBy: RepayDebt_orderBy, $orderDirection: OrderDirection, $first: Int, $skip: Int){
    repayDebts(block: $block, where: $where, orderBy: $orderBy, orderDirection: $orderDirection, first: $first, skip: $skip){
        id
        pool{
            id
            createdAtBlockNumber
            createdAtTimestamp
            poolSize
            t0debt
            inflator
            borrowRate
            lendRate
            borrowFeeRate
            depositFeeRate
            pledgedCollateral
            totalInterestEarned
            txCount
            poolType
            loansCount
            maxBorrower
            quoteTokenFlashloaned
            collateralFlashloaned
            hpb
            hpbIndex
            htp
            htpIndex
            lup
            lupIndex
            reserves
            claimableReserves
            claimableReservesRemaining
            burnEpoch
            totalAjnaBurned
            minDebtAmount
            actualUtilization
            targetUtilization
            totalBondEscrowed
            quoteTokenBalance
            collateralBalance
            subsetHash
            tokenIdsPledged
            bucketTokenIds
            tokenIdsAllowed
        }
        borrower
        quoteRepaid
        collateralPulled
        lup
        blockNumber
        blockTimestamp
        transactionHash
    }
}