directive @cacheControl(maxAge: Int, inheritMaxAge: Boolean, scope: CacheControlScope) on FIELD_DEFINITION | OBJECT | INTERFACE | UNION

enum CacheControlScope {
  PUBLIC
  PRIVATE
}

scalar BigInt

scalar BigDecimal

scalar Bytes

type Proof {
  data: String!
}

type _Block_ {
  cid: String
  hash: String!
  number: Int!
  timestamp: Int!
  parentHash: String!
}

type _Transaction_ {
  hash: String!
  index: Int!
  from: String!
  to: String!
}

type ResultEvent {
  block: _Block_!
  tx: _Transaction_!
  contract: String!
  eventIndex: Int!
  event: Event!
  proof: Proof
}

union Event = ApprovalEvent | ApprovalForAllEvent | BurnEvent | MemorializePositionEvent | MintEvent | MoveLiquidityEvent | RedeemPositionEvent | TransferEvent | PoolCreatedEvent | DelegateRewardClaimedEvent | DistributionPeriodStartedEvent | FundTreasuryEvent | FundedSlateUpdatedEvent | ProposalCreatedEvent | ProposalExecutedEvent | VoteCastEvent | DelegateChangedEvent | DelegateVotesChangedEvent | AddCollateralEvent | AddQuoteTokenEvent | ApproveLPTransferorsEvent | AuctionNFTSettleEvent | AuctionSettleEvent | BondWithdrawnEvent | BucketBankruptcyEvent | BucketTakeEvent | BucketTakeLPAwardedEvent | DecreaseLPAllowanceEvent | DrawDebtEvent | FlashloanEvent | IncreaseLPAllowanceEvent | InterestUpdateFailureEvent | KickEvent | KickReserveAuctionEvent | LoanStampedEvent | MoveQuoteTokenEvent | RemoveCollateralEvent | RemoveQuoteTokenEvent | RepayDebtEvent | ReserveAuctionEvent | ResetInterestRateEvent | RevokeLPAllowanceEvent | RevokeLPTransferorsEvent | SettleEvent | TakeEvent | TransferLPEvent | UpdateInterestRateEvent | AddCollateralNFTEvent | DrawDebtNFTEvent | MergeOrRemoveCollateralNFTEvent

type ApprovalEvent {
  owner: String!
  approved: String
  tokenId: BigInt
  spender: String
  value: BigInt
}

type ApprovalForAllEvent {
  owner: String!
  operator: String!
  approved: Boolean!
}

type BurnEvent {
  lender: String!
  tokenId: BigInt!
}

type MemorializePositionEvent {
  lender: String!
  tokenId: BigInt!
  indexes: [BigInt!]
}

type MintEvent {
  lender: String!
  pool: String!
  tokenId: BigInt!
}

type MoveLiquidityEvent {
  lender: String!
  tokenId: BigInt!
  fromIndex: BigInt!
  toIndex: BigInt!
  lpRedeemedFrom: BigInt!
  lpAwardedTo: BigInt!
}

type RedeemPositionEvent {
  lender: String!
  tokenId: BigInt!
  indexes: [BigInt!]
}

type TransferEvent {
  from: String!
  to: String!
  tokenId: BigInt
  value: BigInt
}

type PoolCreatedEvent {
  pool_: String!
  subsetHash_: String!
}

type DelegateRewardClaimedEvent {
  delegateeAddress: String!
  distributionId: BigInt!
  rewardClaimed: BigInt!
}

type DistributionPeriodStartedEvent {
  distributionId: BigInt!
  startBlock: BigInt!
  endBlock: BigInt!
}

type FundTreasuryEvent {
  amount: BigInt!
  treasuryBalance: BigInt!
}

type FundedSlateUpdatedEvent {
  distributionId: BigInt!
  fundedSlateHash: String!
}

type ProposalCreatedEvent {
  proposalId: BigInt!
  proposer: String!
  targets: [String!]
  values: [BigInt!]
  signatures: [String!]
  calldatas: [String!]
  startBlock: BigInt!
  endBlock: BigInt!
  description: String!
}

type ProposalExecutedEvent {
  proposalId: BigInt!
}

type VoteCastEvent {
  voter: String!
  proposalId: BigInt!
  support: Int!
  weight: BigInt!
  reason: String!
}

type DelegateChangedEvent {
  delegator: String!
  fromDelegate: String!
  toDelegate: String!
}

type DelegateVotesChangedEvent {
  delegate: String!
  previousBalance: BigInt!
  newBalance: BigInt!
}

type AddCollateralEvent {
  actor: String!
  index: BigInt!
  amount: BigInt!
  lpAwarded: BigInt!
}

type AddQuoteTokenEvent {
  lender: String!
  index: BigInt!
  amount: BigInt!
  lpAwarded: BigInt!
  lup: BigInt!
}

type ApproveLPTransferorsEvent {
  lender: String!
  transferors: [String!]
}

type AuctionNFTSettleEvent {
  borrower: String!
  collateral: BigInt!
  lp: BigInt!
  index: BigInt!
}

type AuctionSettleEvent {
  borrower: String!
  collateral: BigInt!
}

type BondWithdrawnEvent {
  kicker: String!
  reciever: String!
  amount: BigInt!
}

type BucketBankruptcyEvent {
  index: BigInt!
  lpForfeited: BigInt!
}

type BucketTakeEvent {
  borrower: String!
  index: BigInt!
  amount: BigInt!
  collateral: BigInt!
  bondChange: BigInt!
  isReward: Boolean!
}

type BucketTakeLPAwardedEvent {
  taker: String!
  kicker: String!
  lpAwardedTaker: BigInt!
  lpAwardedKicker: BigInt!
}

type DecreaseLPAllowanceEvent {
  owner: String!
  spender: String!
  indexes: [BigInt!]
  amounts: [BigInt!]
}

type DrawDebtEvent {
  borrower: String!
  amountBorrowed: BigInt!
  collateralPledged: BigInt!
  lup: BigInt!
}

type FlashloanEvent {
  receiver: String!
  token: String!
  amount: BigInt!
}

type IncreaseLPAllowanceEvent {
  owner: String!
  spender: String!
  indexes: [BigInt!]
  amounts: [BigInt!]
}

type InterestUpdateFailureEvent {
  dummy: String
}

type KickEvent {
  borrower: String!
  debt: BigInt!
  collateral: BigInt!
  bond: BigInt!
}

type KickReserveAuctionEvent {
  claimableReservesRemaining: BigInt!
  auctionPrice: BigInt!
  currentBurnEpoch: BigInt!
}

type LoanStampedEvent {
  borrower: String!
}

type MoveQuoteTokenEvent {
  lender: String!
  from: BigInt!
  to: BigInt!
  amount: BigInt!
  lpRedeemedFrom: BigInt!
  lpAwardedTo: BigInt!
  lup: BigInt!
}

type RemoveCollateralEvent {
  claimer: String!
  index: BigInt!
  amount: BigInt!
  lpRedeemed: BigInt!
}

type RemoveQuoteTokenEvent {
  lender: String!
  index: BigInt!
  amount: BigInt!
  lpRedeemed: BigInt!
  lup: BigInt!
}

type RepayDebtEvent {
  borrower: String!
  quoteRepaid: BigInt!
  collateralPulled: BigInt!
  lup: BigInt!
}

type ReserveAuctionEvent {
  claimableReservesRemaining: BigInt!
  auctionPrice: BigInt!
  currentBurnEpoch: BigInt!
}

type ResetInterestRateEvent {
  oldRate: BigInt!
  newRate: BigInt!
}

type RevokeLPAllowanceEvent {
  owner: String!
  spender: String!
  indexes: [BigInt!]
}

type RevokeLPTransferorsEvent {
  lender: String!
  transferors: [String!]
}

type SettleEvent {
  borrower: String!
  settledDebt: BigInt!
}

type TakeEvent {
  borrower: String!
  amount: BigInt!
  collateral: BigInt!
  bondChange: BigInt!
  isReward: Boolean!
}

type TransferLPEvent {
  owner: String!
  newOwner: String!
  indexes: [BigInt!]
  lp: BigInt!
}

type UpdateInterestRateEvent {
  oldRate: BigInt!
  newRate: BigInt!
}

type AddCollateralNFTEvent {
  actor: String!
  index: BigInt!
  tokenIds: [BigInt!]
  lpAwarded: BigInt!
}

type DrawDebtNFTEvent {
  borrower: String!
  amountBorrowed: BigInt!
  tokenIdsPledged: [BigInt!]
  lup: BigInt!
}

type MergeOrRemoveCollateralNFTEvent {
  actor: String!
  collateralMerged: BigInt!
  toIndexLps: BigInt!
}

input Block_height {
  hash: Bytes
  number: Int
}

input BlockChangedFilter {
  number_gte: Int!
}

enum OrderDirection {
  asc
  desc
}

enum Token_orderBy {
  id
  symbol
  name
  decimals
  tokenType
  poolCount
  pools
  totalSupply
  txCount
}

input Token_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  symbol: String
  symbol_not: String
  symbol_gt: String
  symbol_lt: String
  symbol_gte: String
  symbol_lte: String
  symbol_in: [String!]
  symbol_not_in: [String!]
  symbol_starts_with: String
  symbol_starts_with_nocase: String
  symbol_not_starts_with: String
  symbol_not_starts_with_nocase: String
  symbol_ends_with: String
  symbol_ends_with_nocase: String
  symbol_not_ends_with: String
  symbol_not_ends_with_nocase: String
  symbol_contains: String
  symbol_not_contains: String
  symbol_contains_nocase: String
  symbol_not_contains_nocase: String
  name: String
  name_not: String
  name_gt: String
  name_lt: String
  name_gte: String
  name_lte: String
  name_in: [String!]
  name_not_in: [String!]
  name_starts_with: String
  name_starts_with_nocase: String
  name_not_starts_with: String
  name_not_starts_with_nocase: String
  name_ends_with: String
  name_ends_with_nocase: String
  name_not_ends_with: String
  name_not_ends_with_nocase: String
  name_contains: String
  name_not_contains: String
  name_contains_nocase: String
  name_not_contains_nocase: String
  decimals: Int
  decimals_not: Int
  decimals_gt: Int
  decimals_lt: Int
  decimals_gte: Int
  decimals_lte: Int
  decimals_in: [Int!]
  decimals_not_in: [Int!]
  tokenType: String
  tokenType_not: String
  tokenType_gt: String
  tokenType_lt: String
  tokenType_gte: String
  tokenType_lte: String
  tokenType_in: [String!]
  tokenType_not_in: [String!]
  tokenType_starts_with: String
  tokenType_starts_with_nocase: String
  tokenType_not_starts_with: String
  tokenType_not_starts_with_nocase: String
  tokenType_ends_with: String
  tokenType_ends_with_nocase: String
  tokenType_not_ends_with: String
  tokenType_not_ends_with_nocase: String
  tokenType_contains: String
  tokenType_not_contains: String
  tokenType_contains_nocase: String
  tokenType_not_contains_nocase: String
  poolCount: BigInt
  poolCount_not: BigInt
  poolCount_gt: BigInt
  poolCount_lt: BigInt
  poolCount_gte: BigInt
  poolCount_lte: BigInt
  poolCount_in: [BigInt!]
  poolCount_not_in: [BigInt!]
  pools: [String!]
  pools_not: [String!]
  pools_contains: [String!]
  pools_not_contains: [String!]
  pools_contains_nocase: [String!]
  pools_not_contains_nocase: [String!]
  pools_: Pool_filter
  totalSupply: BigInt
  totalSupply_not: BigInt
  totalSupply_gt: BigInt
  totalSupply_lt: BigInt
  totalSupply_gte: BigInt
  totalSupply_lte: BigInt
  totalSupply_in: [BigInt!]
  totalSupply_not_in: [BigInt!]
  txCount: BigInt
  txCount_not: BigInt
  txCount_gt: BigInt
  txCount_lt: BigInt
  txCount_gte: BigInt
  txCount_lte: BigInt
  txCount_in: [BigInt!]
  txCount_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [Token_filter]
  or: [Token_filter]
}

enum PoolFactory_orderBy {
  id
  poolType
  poolCount
  pools
  txCount
}

input PoolFactory_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  poolType: String
  poolType_not: String
  poolType_gt: String
  poolType_lt: String
  poolType_gte: String
  poolType_lte: String
  poolType_in: [String!]
  poolType_not_in: [String!]
  poolType_starts_with: String
  poolType_starts_with_nocase: String
  poolType_not_starts_with: String
  poolType_not_starts_with_nocase: String
  poolType_ends_with: String
  poolType_ends_with_nocase: String
  poolType_not_ends_with: String
  poolType_not_ends_with_nocase: String
  poolType_contains: String
  poolType_not_contains: String
  poolType_contains_nocase: String
  poolType_not_contains_nocase: String
  poolCount: BigInt
  poolCount_not: BigInt
  poolCount_gt: BigInt
  poolCount_lt: BigInt
  poolCount_gte: BigInt
  poolCount_lte: BigInt
  poolCount_in: [BigInt!]
  poolCount_not_in: [BigInt!]
  pools: [String!]
  pools_not: [String!]
  pools_contains: [String!]
  pools_not_contains: [String!]
  pools_contains_nocase: [String!]
  pools_not_contains_nocase: [String!]
  pools_: Pool_filter
  txCount: BigInt
  txCount_not: BigInt
  txCount_gt: BigInt
  txCount_lt: BigInt
  txCount_gte: BigInt
  txCount_lte: BigInt
  txCount_in: [BigInt!]
  txCount_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [PoolFactory_filter]
  or: [PoolFactory_filter]
}

enum Pool_orderBy {
  id
  createdAtBlockNumber
  createdAtTimestamp
  collateralToken
  collateralToken__id
  collateralToken__symbol
  collateralToken__name
  collateralToken__decimals
  collateralToken__tokenType
  collateralToken__poolCount
  collateralToken__totalSupply
  collateralToken__txCount
  quoteToken
  quoteToken__id
  quoteToken__symbol
  quoteToken__name
  quoteToken__decimals
  quoteToken__tokenType
  quoteToken__poolCount
  quoteToken__totalSupply
  quoteToken__txCount
  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
  reserveAuctions
  minDebtAmount
  actualUtilization
  targetUtilization
  totalBondEscrowed
  liquidationAuctions
  quoteTokenBalance
  collateralBalance
  subsetHash
  tokenIdsPledged
  bucketTokenIds
  tokenIdsAllowed
}

input Pool_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  createdAtBlockNumber: BigInt
  createdAtBlockNumber_not: BigInt
  createdAtBlockNumber_gt: BigInt
  createdAtBlockNumber_lt: BigInt
  createdAtBlockNumber_gte: BigInt
  createdAtBlockNumber_lte: BigInt
  createdAtBlockNumber_in: [BigInt!]
  createdAtBlockNumber_not_in: [BigInt!]
  createdAtTimestamp: BigInt
  createdAtTimestamp_not: BigInt
  createdAtTimestamp_gt: BigInt
  createdAtTimestamp_lt: BigInt
  createdAtTimestamp_gte: BigInt
  createdAtTimestamp_lte: BigInt
  createdAtTimestamp_in: [BigInt!]
  createdAtTimestamp_not_in: [BigInt!]
  collateralToken: String
  collateralToken_not: String
  collateralToken_gt: String
  collateralToken_lt: String
  collateralToken_gte: String
  collateralToken_lte: String
  collateralToken_in: [String!]
  collateralToken_not_in: [String!]
  collateralToken_starts_with: String
  collateralToken_starts_with_nocase: String
  collateralToken_not_starts_with: String
  collateralToken_not_starts_with_nocase: String
  collateralToken_ends_with: String
  collateralToken_ends_with_nocase: String
  collateralToken_not_ends_with: String
  collateralToken_not_ends_with_nocase: String
  collateralToken_contains: String
  collateralToken_not_contains: String
  collateralToken_contains_nocase: String
  collateralToken_not_contains_nocase: String
  collateralToken_: Token_filter
  quoteToken: String
  quoteToken_not: String
  quoteToken_gt: String
  quoteToken_lt: String
  quoteToken_gte: String
  quoteToken_lte: String
  quoteToken_in: [String!]
  quoteToken_not_in: [String!]
  quoteToken_starts_with: String
  quoteToken_starts_with_nocase: String
  quoteToken_not_starts_with: String
  quoteToken_not_starts_with_nocase: String
  quoteToken_ends_with: String
  quoteToken_ends_with_nocase: String
  quoteToken_not_ends_with: String
  quoteToken_not_ends_with_nocase: String
  quoteToken_contains: String
  quoteToken_not_contains: String
  quoteToken_contains_nocase: String
  quoteToken_not_contains_nocase: String
  quoteToken_: Token_filter
  poolSize: BigDecimal
  poolSize_not: BigDecimal
  poolSize_gt: BigDecimal
  poolSize_lt: BigDecimal
  poolSize_gte: BigDecimal
  poolSize_lte: BigDecimal
  poolSize_in: [BigDecimal!]
  poolSize_not_in: [BigDecimal!]
  t0debt: BigDecimal
  t0debt_not: BigDecimal
  t0debt_gt: BigDecimal
  t0debt_lt: BigDecimal
  t0debt_gte: BigDecimal
  t0debt_lte: BigDecimal
  t0debt_in: [BigDecimal!]
  t0debt_not_in: [BigDecimal!]
  inflator: BigDecimal
  inflator_not: BigDecimal
  inflator_gt: BigDecimal
  inflator_lt: BigDecimal
  inflator_gte: BigDecimal
  inflator_lte: BigDecimal
  inflator_in: [BigDecimal!]
  inflator_not_in: [BigDecimal!]
  borrowRate: BigDecimal
  borrowRate_not: BigDecimal
  borrowRate_gt: BigDecimal
  borrowRate_lt: BigDecimal
  borrowRate_gte: BigDecimal
  borrowRate_lte: BigDecimal
  borrowRate_in: [BigDecimal!]
  borrowRate_not_in: [BigDecimal!]
  lendRate: BigDecimal
  lendRate_not: BigDecimal
  lendRate_gt: BigDecimal
  lendRate_lt: BigDecimal
  lendRate_gte: BigDecimal
  lendRate_lte: BigDecimal
  lendRate_in: [BigDecimal!]
  lendRate_not_in: [BigDecimal!]
  borrowFeeRate: BigDecimal
  borrowFeeRate_not: BigDecimal
  borrowFeeRate_gt: BigDecimal
  borrowFeeRate_lt: BigDecimal
  borrowFeeRate_gte: BigDecimal
  borrowFeeRate_lte: BigDecimal
  borrowFeeRate_in: [BigDecimal!]
  borrowFeeRate_not_in: [BigDecimal!]
  depositFeeRate: BigDecimal
  depositFeeRate_not: BigDecimal
  depositFeeRate_gt: BigDecimal
  depositFeeRate_lt: BigDecimal
  depositFeeRate_gte: BigDecimal
  depositFeeRate_lte: BigDecimal
  depositFeeRate_in: [BigDecimal!]
  depositFeeRate_not_in: [BigDecimal!]
  pledgedCollateral: BigDecimal
  pledgedCollateral_not: BigDecimal
  pledgedCollateral_gt: BigDecimal
  pledgedCollateral_lt: BigDecimal
  pledgedCollateral_gte: BigDecimal
  pledgedCollateral_lte: BigDecimal
  pledgedCollateral_in: [BigDecimal!]
  pledgedCollateral_not_in: [BigDecimal!]
  totalInterestEarned: BigDecimal
  totalInterestEarned_not: BigDecimal
  totalInterestEarned_gt: BigDecimal
  totalInterestEarned_lt: BigDecimal
  totalInterestEarned_gte: BigDecimal
  totalInterestEarned_lte: BigDecimal
  totalInterestEarned_in: [BigDecimal!]
  totalInterestEarned_not_in: [BigDecimal!]
  txCount: BigInt
  txCount_not: BigInt
  txCount_gt: BigInt
  txCount_lt: BigInt
  txCount_gte: BigInt
  txCount_lte: BigInt
  txCount_in: [BigInt!]
  txCount_not_in: [BigInt!]
  poolType: String
  poolType_not: String
  poolType_gt: String
  poolType_lt: String
  poolType_gte: String
  poolType_lte: String
  poolType_in: [String!]
  poolType_not_in: [String!]
  poolType_starts_with: String
  poolType_starts_with_nocase: String
  poolType_not_starts_with: String
  poolType_not_starts_with_nocase: String
  poolType_ends_with: String
  poolType_ends_with_nocase: String
  poolType_not_ends_with: String
  poolType_not_ends_with_nocase: String
  poolType_contains: String
  poolType_not_contains: String
  poolType_contains_nocase: String
  poolType_not_contains_nocase: String
  loansCount: BigInt
  loansCount_not: BigInt
  loansCount_gt: BigInt
  loansCount_lt: BigInt
  loansCount_gte: BigInt
  loansCount_lte: BigInt
  loansCount_in: [BigInt!]
  loansCount_not_in: [BigInt!]
  maxBorrower: Bytes
  maxBorrower_not: Bytes
  maxBorrower_gt: Bytes
  maxBorrower_lt: Bytes
  maxBorrower_gte: Bytes
  maxBorrower_lte: Bytes
  maxBorrower_in: [Bytes!]
  maxBorrower_not_in: [Bytes!]
  maxBorrower_contains: Bytes
  maxBorrower_not_contains: Bytes
  quoteTokenFlashloaned: BigDecimal
  quoteTokenFlashloaned_not: BigDecimal
  quoteTokenFlashloaned_gt: BigDecimal
  quoteTokenFlashloaned_lt: BigDecimal
  quoteTokenFlashloaned_gte: BigDecimal
  quoteTokenFlashloaned_lte: BigDecimal
  quoteTokenFlashloaned_in: [BigDecimal!]
  quoteTokenFlashloaned_not_in: [BigDecimal!]
  collateralFlashloaned: BigDecimal
  collateralFlashloaned_not: BigDecimal
  collateralFlashloaned_gt: BigDecimal
  collateralFlashloaned_lt: BigDecimal
  collateralFlashloaned_gte: BigDecimal
  collateralFlashloaned_lte: BigDecimal
  collateralFlashloaned_in: [BigDecimal!]
  collateralFlashloaned_not_in: [BigDecimal!]
  hpb: BigDecimal
  hpb_not: BigDecimal
  hpb_gt: BigDecimal
  hpb_lt: BigDecimal
  hpb_gte: BigDecimal
  hpb_lte: BigDecimal
  hpb_in: [BigDecimal!]
  hpb_not_in: [BigDecimal!]
  hpbIndex: Int
  hpbIndex_not: Int
  hpbIndex_gt: Int
  hpbIndex_lt: Int
  hpbIndex_gte: Int
  hpbIndex_lte: Int
  hpbIndex_in: [Int!]
  hpbIndex_not_in: [Int!]
  htp: BigDecimal
  htp_not: BigDecimal
  htp_gt: BigDecimal
  htp_lt: BigDecimal
  htp_gte: BigDecimal
  htp_lte: BigDecimal
  htp_in: [BigDecimal!]
  htp_not_in: [BigDecimal!]
  htpIndex: Int
  htpIndex_not: Int
  htpIndex_gt: Int
  htpIndex_lt: Int
  htpIndex_gte: Int
  htpIndex_lte: Int
  htpIndex_in: [Int!]
  htpIndex_not_in: [Int!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  lupIndex: Int
  lupIndex_not: Int
  lupIndex_gt: Int
  lupIndex_lt: Int
  lupIndex_gte: Int
  lupIndex_lte: Int
  lupIndex_in: [Int!]
  lupIndex_not_in: [Int!]
  reserves: BigDecimal
  reserves_not: BigDecimal
  reserves_gt: BigDecimal
  reserves_lt: BigDecimal
  reserves_gte: BigDecimal
  reserves_lte: BigDecimal
  reserves_in: [BigDecimal!]
  reserves_not_in: [BigDecimal!]
  claimableReserves: BigDecimal
  claimableReserves_not: BigDecimal
  claimableReserves_gt: BigDecimal
  claimableReserves_lt: BigDecimal
  claimableReserves_gte: BigDecimal
  claimableReserves_lte: BigDecimal
  claimableReserves_in: [BigDecimal!]
  claimableReserves_not_in: [BigDecimal!]
  claimableReservesRemaining: BigDecimal
  claimableReservesRemaining_not: BigDecimal
  claimableReservesRemaining_gt: BigDecimal
  claimableReservesRemaining_lt: BigDecimal
  claimableReservesRemaining_gte: BigDecimal
  claimableReservesRemaining_lte: BigDecimal
  claimableReservesRemaining_in: [BigDecimal!]
  claimableReservesRemaining_not_in: [BigDecimal!]
  burnEpoch: BigInt
  burnEpoch_not: BigInt
  burnEpoch_gt: BigInt
  burnEpoch_lt: BigInt
  burnEpoch_gte: BigInt
  burnEpoch_lte: BigInt
  burnEpoch_in: [BigInt!]
  burnEpoch_not_in: [BigInt!]
  totalAjnaBurned: BigDecimal
  totalAjnaBurned_not: BigDecimal
  totalAjnaBurned_gt: BigDecimal
  totalAjnaBurned_lt: BigDecimal
  totalAjnaBurned_gte: BigDecimal
  totalAjnaBurned_lte: BigDecimal
  totalAjnaBurned_in: [BigDecimal!]
  totalAjnaBurned_not_in: [BigDecimal!]
  reserveAuctions: [String!]
  reserveAuctions_not: [String!]
  reserveAuctions_contains: [String!]
  reserveAuctions_not_contains: [String!]
  reserveAuctions_contains_nocase: [String!]
  reserveAuctions_not_contains_nocase: [String!]
  reserveAuctions_: ReserveAuction_filter
  minDebtAmount: BigDecimal
  minDebtAmount_not: BigDecimal
  minDebtAmount_gt: BigDecimal
  minDebtAmount_lt: BigDecimal
  minDebtAmount_gte: BigDecimal
  minDebtAmount_lte: BigDecimal
  minDebtAmount_in: [BigDecimal!]
  minDebtAmount_not_in: [BigDecimal!]
  actualUtilization: BigDecimal
  actualUtilization_not: BigDecimal
  actualUtilization_gt: BigDecimal
  actualUtilization_lt: BigDecimal
  actualUtilization_gte: BigDecimal
  actualUtilization_lte: BigDecimal
  actualUtilization_in: [BigDecimal!]
  actualUtilization_not_in: [BigDecimal!]
  targetUtilization: BigDecimal
  targetUtilization_not: BigDecimal
  targetUtilization_gt: BigDecimal
  targetUtilization_lt: BigDecimal
  targetUtilization_gte: BigDecimal
  targetUtilization_lte: BigDecimal
  targetUtilization_in: [BigDecimal!]
  targetUtilization_not_in: [BigDecimal!]
  totalBondEscrowed: BigDecimal
  totalBondEscrowed_not: BigDecimal
  totalBondEscrowed_gt: BigDecimal
  totalBondEscrowed_lt: BigDecimal
  totalBondEscrowed_gte: BigDecimal
  totalBondEscrowed_lte: BigDecimal
  totalBondEscrowed_in: [BigDecimal!]
  totalBondEscrowed_not_in: [BigDecimal!]
  liquidationAuctions: [String!]
  liquidationAuctions_not: [String!]
  liquidationAuctions_contains: [String!]
  liquidationAuctions_not_contains: [String!]
  liquidationAuctions_contains_nocase: [String!]
  liquidationAuctions_not_contains_nocase: [String!]
  liquidationAuctions_: LiquidationAuction_filter
  quoteTokenBalance: BigDecimal
  quoteTokenBalance_not: BigDecimal
  quoteTokenBalance_gt: BigDecimal
  quoteTokenBalance_lt: BigDecimal
  quoteTokenBalance_gte: BigDecimal
  quoteTokenBalance_lte: BigDecimal
  quoteTokenBalance_in: [BigDecimal!]
  quoteTokenBalance_not_in: [BigDecimal!]
  collateralBalance: BigDecimal
  collateralBalance_not: BigDecimal
  collateralBalance_gt: BigDecimal
  collateralBalance_lt: BigDecimal
  collateralBalance_gte: BigDecimal
  collateralBalance_lte: BigDecimal
  collateralBalance_in: [BigDecimal!]
  collateralBalance_not_in: [BigDecimal!]
  subsetHash: Bytes
  subsetHash_not: Bytes
  subsetHash_gt: Bytes
  subsetHash_lt: Bytes
  subsetHash_gte: Bytes
  subsetHash_lte: Bytes
  subsetHash_in: [Bytes!]
  subsetHash_not_in: [Bytes!]
  subsetHash_contains: Bytes
  subsetHash_not_contains: Bytes
  tokenIdsPledged: [BigInt!]
  tokenIdsPledged_not: [BigInt!]
  tokenIdsPledged_contains: [BigInt!]
  tokenIdsPledged_not_contains: [BigInt!]
  tokenIdsPledged_contains_nocase: [BigInt!]
  tokenIdsPledged_not_contains_nocase: [BigInt!]
  bucketTokenIds: [BigInt!]
  bucketTokenIds_not: [BigInt!]
  bucketTokenIds_contains: [BigInt!]
  bucketTokenIds_not_contains: [BigInt!]
  bucketTokenIds_contains_nocase: [BigInt!]
  bucketTokenIds_not_contains_nocase: [BigInt!]
  tokenIdsAllowed: [BigInt!]
  tokenIdsAllowed_not: [BigInt!]
  tokenIdsAllowed_contains: [BigInt!]
  tokenIdsAllowed_not_contains: [BigInt!]
  tokenIdsAllowed_contains_nocase: [BigInt!]
  tokenIdsAllowed_not_contains_nocase: [BigInt!]
  _change_block: BlockChangedFilter
  and: [Pool_filter]
  or: [Pool_filter]
}

enum Bucket_orderBy {
  id
  bucketIndex
  bucketPrice
  exchangeRate
  poolAddress
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  collateral
  deposit
  lpb
  lends
  positionLends
}

input Bucket_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  bucketIndex: Int
  bucketIndex_not: Int
  bucketIndex_gt: Int
  bucketIndex_lt: Int
  bucketIndex_gte: Int
  bucketIndex_lte: Int
  bucketIndex_in: [Int!]
  bucketIndex_not_in: [Int!]
  bucketPrice: BigDecimal
  bucketPrice_not: BigDecimal
  bucketPrice_gt: BigDecimal
  bucketPrice_lt: BigDecimal
  bucketPrice_gte: BigDecimal
  bucketPrice_lte: BigDecimal
  bucketPrice_in: [BigDecimal!]
  bucketPrice_not_in: [BigDecimal!]
  exchangeRate: BigDecimal
  exchangeRate_not: BigDecimal
  exchangeRate_gt: BigDecimal
  exchangeRate_lt: BigDecimal
  exchangeRate_gte: BigDecimal
  exchangeRate_lte: BigDecimal
  exchangeRate_in: [BigDecimal!]
  exchangeRate_not_in: [BigDecimal!]
  poolAddress: String
  poolAddress_not: String
  poolAddress_gt: String
  poolAddress_lt: String
  poolAddress_gte: String
  poolAddress_lte: String
  poolAddress_in: [String!]
  poolAddress_not_in: [String!]
  poolAddress_starts_with: String
  poolAddress_starts_with_nocase: String
  poolAddress_not_starts_with: String
  poolAddress_not_starts_with_nocase: String
  poolAddress_ends_with: String
  poolAddress_ends_with_nocase: String
  poolAddress_not_ends_with: String
  poolAddress_not_ends_with_nocase: String
  poolAddress_contains: String
  poolAddress_not_contains: String
  poolAddress_contains_nocase: String
  poolAddress_not_contains_nocase: String
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  deposit: BigDecimal
  deposit_not: BigDecimal
  deposit_gt: BigDecimal
  deposit_lt: BigDecimal
  deposit_gte: BigDecimal
  deposit_lte: BigDecimal
  deposit_in: [BigDecimal!]
  deposit_not_in: [BigDecimal!]
  lpb: BigDecimal
  lpb_not: BigDecimal
  lpb_gt: BigDecimal
  lpb_lt: BigDecimal
  lpb_gte: BigDecimal
  lpb_lte: BigDecimal
  lpb_in: [BigDecimal!]
  lpb_not_in: [BigDecimal!]
  lends: [String!]
  lends_not: [String!]
  lends_contains: [String!]
  lends_not_contains: [String!]
  lends_contains_nocase: [String!]
  lends_not_contains_nocase: [String!]
  lends_: Lend_filter
  positionLends: [String!]
  positionLends_not: [String!]
  positionLends_contains: [String!]
  positionLends_not_contains: [String!]
  positionLends_contains_nocase: [String!]
  positionLends_not_contains_nocase: [String!]
  positionLends_: PositionLend_filter
  _change_block: BlockChangedFilter
  and: [Bucket_filter]
  or: [Bucket_filter]
}

enum Lend_orderBy {
  id
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  bucketIndex
  poolAddress
  lender
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lpb
  lpbValueInQuote
  depositTime
}

input Lend_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  bucketIndex: Int
  bucketIndex_not: Int
  bucketIndex_gt: Int
  bucketIndex_lt: Int
  bucketIndex_gte: Int
  bucketIndex_lte: Int
  bucketIndex_in: [Int!]
  bucketIndex_not_in: [Int!]
  poolAddress: String
  poolAddress_not: String
  poolAddress_gt: String
  poolAddress_lt: String
  poolAddress_gte: String
  poolAddress_lte: String
  poolAddress_in: [String!]
  poolAddress_not_in: [String!]
  poolAddress_starts_with: String
  poolAddress_starts_with_nocase: String
  poolAddress_not_starts_with: String
  poolAddress_not_starts_with_nocase: String
  poolAddress_ends_with: String
  poolAddress_ends_with_nocase: String
  poolAddress_not_ends_with: String
  poolAddress_not_ends_with_nocase: String
  poolAddress_contains: String
  poolAddress_not_contains: String
  poolAddress_contains_nocase: String
  poolAddress_not_contains_nocase: String
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lpb: BigDecimal
  lpb_not: BigDecimal
  lpb_gt: BigDecimal
  lpb_lt: BigDecimal
  lpb_gte: BigDecimal
  lpb_lte: BigDecimal
  lpb_in: [BigDecimal!]
  lpb_not_in: [BigDecimal!]
  lpbValueInQuote: BigDecimal
  lpbValueInQuote_not: BigDecimal
  lpbValueInQuote_gt: BigDecimal
  lpbValueInQuote_lt: BigDecimal
  lpbValueInQuote_gte: BigDecimal
  lpbValueInQuote_lte: BigDecimal
  lpbValueInQuote_in: [BigDecimal!]
  lpbValueInQuote_not_in: [BigDecimal!]
  depositTime: BigInt
  depositTime_not: BigInt
  depositTime_gt: BigInt
  depositTime_lt: BigInt
  depositTime_gte: BigInt
  depositTime_lte: BigInt
  depositTime_in: [BigInt!]
  depositTime_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [Lend_filter]
  or: [Lend_filter]
}

enum Loan_orderBy {
  id
  poolAddress
  borrower
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  inLiquidation
  liquidationAuction
  liquidationAuction__id
  liquidationAuction__borrower
  liquidationAuction__lastTakePrice
  liquidationAuction__collateral
  liquidationAuction__collateralRemaining
  liquidationAuction__debt
  liquidationAuction__debtRemaining
  liquidationAuction__kicker
  liquidationAuction__kickTime
  liquidationAuction__settleTime
  liquidationAuction__settled
  liquidationAuction__bondSize
  liquidationAuction__bondFactor
  liquidationAuction__neutralPrice
  liquidationAuction__referencePrice
  liquidationAuction__thresholdPrice
  collateralPledged
  thresholdPrice
  tokenIdsPledged
  t0debt
  t0Np
}

input Loan_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  poolAddress: String
  poolAddress_not: String
  poolAddress_gt: String
  poolAddress_lt: String
  poolAddress_gte: String
  poolAddress_lte: String
  poolAddress_in: [String!]
  poolAddress_not_in: [String!]
  poolAddress_starts_with: String
  poolAddress_starts_with_nocase: String
  poolAddress_not_starts_with: String
  poolAddress_not_starts_with_nocase: String
  poolAddress_ends_with: String
  poolAddress_ends_with_nocase: String
  poolAddress_not_ends_with: String
  poolAddress_not_ends_with_nocase: String
  poolAddress_contains: String
  poolAddress_not_contains: String
  poolAddress_contains_nocase: String
  poolAddress_not_contains_nocase: String
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  inLiquidation: Boolean
  inLiquidation_not: Boolean
  inLiquidation_gt: Boolean
  inLiquidation_lt: Boolean
  inLiquidation_gte: Boolean
  inLiquidation_lte: Boolean
  inLiquidation_in: [Boolean!]
  inLiquidation_not_in: [Boolean!]
  liquidationAuction: String
  liquidationAuction_not: String
  liquidationAuction_gt: String
  liquidationAuction_lt: String
  liquidationAuction_gte: String
  liquidationAuction_lte: String
  liquidationAuction_in: [String!]
  liquidationAuction_not_in: [String!]
  liquidationAuction_starts_with: String
  liquidationAuction_starts_with_nocase: String
  liquidationAuction_not_starts_with: String
  liquidationAuction_not_starts_with_nocase: String
  liquidationAuction_ends_with: String
  liquidationAuction_ends_with_nocase: String
  liquidationAuction_not_ends_with: String
  liquidationAuction_not_ends_with_nocase: String
  liquidationAuction_contains: String
  liquidationAuction_not_contains: String
  liquidationAuction_contains_nocase: String
  liquidationAuction_not_contains_nocase: String
  liquidationAuction_: LiquidationAuction_filter
  collateralPledged: BigDecimal
  collateralPledged_not: BigDecimal
  collateralPledged_gt: BigDecimal
  collateralPledged_lt: BigDecimal
  collateralPledged_gte: BigDecimal
  collateralPledged_lte: BigDecimal
  collateralPledged_in: [BigDecimal!]
  collateralPledged_not_in: [BigDecimal!]
  thresholdPrice: BigDecimal
  thresholdPrice_not: BigDecimal
  thresholdPrice_gt: BigDecimal
  thresholdPrice_lt: BigDecimal
  thresholdPrice_gte: BigDecimal
  thresholdPrice_lte: BigDecimal
  thresholdPrice_in: [BigDecimal!]
  thresholdPrice_not_in: [BigDecimal!]
  tokenIdsPledged: [BigInt!]
  tokenIdsPledged_not: [BigInt!]
  tokenIdsPledged_contains: [BigInt!]
  tokenIdsPledged_not_contains: [BigInt!]
  tokenIdsPledged_contains_nocase: [BigInt!]
  tokenIdsPledged_not_contains_nocase: [BigInt!]
  t0debt: BigDecimal
  t0debt_not: BigDecimal
  t0debt_gt: BigDecimal
  t0debt_lt: BigDecimal
  t0debt_gte: BigDecimal
  t0debt_lte: BigDecimal
  t0debt_in: [BigDecimal!]
  t0debt_not_in: [BigDecimal!]
  t0Np: BigDecimal
  t0Np_not: BigDecimal
  t0Np_gt: BigDecimal
  t0Np_lt: BigDecimal
  t0Np_gte: BigDecimal
  t0Np_lte: BigDecimal
  t0Np_in: [BigDecimal!]
  t0Np_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [Loan_filter]
  or: [Loan_filter]
}

enum Account_orderBy {
  id
  pools
  kicks
  lends
  loans
  settles
  takes
  reserveAuctions
  proposalsCreated
  proposalsExecuted
  delegatedTo
  delegatedTo__id
  delegatedTo__rewardsClaimed
  delegatedTo__tokensDelegated
  delegatedTo__txCount
  delegatedFrom
  rewardsClaimed
  distributionPeriodVotes
  tokensDelegated
  positions
  txCount
}

input Account_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pools: [String!]
  pools_not: [String!]
  pools_contains: [String!]
  pools_not_contains: [String!]
  pools_contains_nocase: [String!]
  pools_not_contains_nocase: [String!]
  pools_: Pool_filter
  kicks: [String!]
  kicks_not: [String!]
  kicks_contains: [String!]
  kicks_not_contains: [String!]
  kicks_contains_nocase: [String!]
  kicks_not_contains_nocase: [String!]
  kicks_: Kick_filter
  lends: [String!]
  lends_not: [String!]
  lends_contains: [String!]
  lends_not_contains: [String!]
  lends_contains_nocase: [String!]
  lends_not_contains_nocase: [String!]
  lends_: Lend_filter
  loans: [String!]
  loans_not: [String!]
  loans_contains: [String!]
  loans_not_contains: [String!]
  loans_contains_nocase: [String!]
  loans_not_contains_nocase: [String!]
  loans_: Loan_filter
  settles: [String!]
  settles_not: [String!]
  settles_contains: [String!]
  settles_not_contains: [String!]
  settles_contains_nocase: [String!]
  settles_not_contains_nocase: [String!]
  settles_: Settle_filter
  takes: [String!]
  takes_not: [String!]
  takes_contains: [String!]
  takes_not_contains: [String!]
  takes_contains_nocase: [String!]
  takes_not_contains_nocase: [String!]
  takes_: Take_filter
  reserveAuctions: [String!]
  reserveAuctions_not: [String!]
  reserveAuctions_contains: [String!]
  reserveAuctions_not_contains: [String!]
  reserveAuctions_contains_nocase: [String!]
  reserveAuctions_not_contains_nocase: [String!]
  reserveAuctions_: ReserveAuction_filter
  proposalsCreated: [String!]
  proposalsCreated_not: [String!]
  proposalsCreated_contains: [String!]
  proposalsCreated_not_contains: [String!]
  proposalsCreated_contains_nocase: [String!]
  proposalsCreated_not_contains_nocase: [String!]
  proposalsCreated_: Proposal_filter
  proposalsExecuted: [String!]
  proposalsExecuted_not: [String!]
  proposalsExecuted_contains: [String!]
  proposalsExecuted_not_contains: [String!]
  proposalsExecuted_contains_nocase: [String!]
  proposalsExecuted_not_contains_nocase: [String!]
  proposalsExecuted_: Proposal_filter
  delegatedTo: String
  delegatedTo_not: String
  delegatedTo_gt: String
  delegatedTo_lt: String
  delegatedTo_gte: String
  delegatedTo_lte: String
  delegatedTo_in: [String!]
  delegatedTo_not_in: [String!]
  delegatedTo_starts_with: String
  delegatedTo_starts_with_nocase: String
  delegatedTo_not_starts_with: String
  delegatedTo_not_starts_with_nocase: String
  delegatedTo_ends_with: String
  delegatedTo_ends_with_nocase: String
  delegatedTo_not_ends_with: String
  delegatedTo_not_ends_with_nocase: String
  delegatedTo_contains: String
  delegatedTo_not_contains: String
  delegatedTo_contains_nocase: String
  delegatedTo_not_contains_nocase: String
  delegatedTo_: Account_filter
  delegatedFrom: [String!]
  delegatedFrom_not: [String!]
  delegatedFrom_contains: [String!]
  delegatedFrom_not_contains: [String!]
  delegatedFrom_contains_nocase: [String!]
  delegatedFrom_not_contains_nocase: [String!]
  delegatedFrom_: Account_filter
  rewardsClaimed: BigDecimal
  rewardsClaimed_not: BigDecimal
  rewardsClaimed_gt: BigDecimal
  rewardsClaimed_lt: BigDecimal
  rewardsClaimed_gte: BigDecimal
  rewardsClaimed_lte: BigDecimal
  rewardsClaimed_in: [BigDecimal!]
  rewardsClaimed_not_in: [BigDecimal!]
  distributionPeriodVotes: [String!]
  distributionPeriodVotes_not: [String!]
  distributionPeriodVotes_contains: [String!]
  distributionPeriodVotes_not_contains: [String!]
  distributionPeriodVotes_contains_nocase: [String!]
  distributionPeriodVotes_not_contains_nocase: [String!]
  distributionPeriodVotes_: DistributionPeriodVote_filter
  tokensDelegated: BigDecimal
  tokensDelegated_not: BigDecimal
  tokensDelegated_gt: BigDecimal
  tokensDelegated_lt: BigDecimal
  tokensDelegated_gte: BigDecimal
  tokensDelegated_lte: BigDecimal
  tokensDelegated_in: [BigDecimal!]
  tokensDelegated_not_in: [BigDecimal!]
  positions: [String!]
  positions_not: [String!]
  positions_contains: [String!]
  positions_not_contains: [String!]
  positions_contains_nocase: [String!]
  positions_not_contains_nocase: [String!]
  positions_: Position_filter
  txCount: BigInt
  txCount_not: BigInt
  txCount_gt: BigInt
  txCount_lt: BigInt
  txCount_gte: BigInt
  txCount_lte: BigInt
  txCount_in: [BigInt!]
  txCount_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [Account_filter]
  or: [Account_filter]
}

enum LiquidationAuction_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  lastTakePrice
  collateral
  collateralRemaining
  debt
  debtRemaining
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  kicker
  kick
  kick__id
  kick__kicker
  kick__locked
  kick__claimable
  kick__borrower
  kick__debt
  kick__collateral
  kick__bond
  kick__startingPrice
  kick__blockNumber
  kick__blockTimestamp
  kick__transactionHash
  kickTime
  takes
  bucketTakes
  settles
  settle
  settle__id
  settle__borrower
  settle__collateral
  settle__blockNumber
  settle__blockTimestamp
  settle__transactionHash
  settleTime
  settled
  bondSize
  bondFactor
  neutralPrice
  referencePrice
  thresholdPrice
}

input LiquidationAuction_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  lastTakePrice: BigDecimal
  lastTakePrice_not: BigDecimal
  lastTakePrice_gt: BigDecimal
  lastTakePrice_lt: BigDecimal
  lastTakePrice_gte: BigDecimal
  lastTakePrice_lte: BigDecimal
  lastTakePrice_in: [BigDecimal!]
  lastTakePrice_not_in: [BigDecimal!]
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  collateralRemaining: BigDecimal
  collateralRemaining_not: BigDecimal
  collateralRemaining_gt: BigDecimal
  collateralRemaining_lt: BigDecimal
  collateralRemaining_gte: BigDecimal
  collateralRemaining_lte: BigDecimal
  collateralRemaining_in: [BigDecimal!]
  collateralRemaining_not_in: [BigDecimal!]
  debt: BigDecimal
  debt_not: BigDecimal
  debt_gt: BigDecimal
  debt_lt: BigDecimal
  debt_gte: BigDecimal
  debt_lte: BigDecimal
  debt_in: [BigDecimal!]
  debt_not_in: [BigDecimal!]
  debtRemaining: BigDecimal
  debtRemaining_not: BigDecimal
  debtRemaining_gt: BigDecimal
  debtRemaining_lt: BigDecimal
  debtRemaining_gte: BigDecimal
  debtRemaining_lte: BigDecimal
  debtRemaining_in: [BigDecimal!]
  debtRemaining_not_in: [BigDecimal!]
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  kicker: Bytes
  kicker_not: Bytes
  kicker_gt: Bytes
  kicker_lt: Bytes
  kicker_gte: Bytes
  kicker_lte: Bytes
  kicker_in: [Bytes!]
  kicker_not_in: [Bytes!]
  kicker_contains: Bytes
  kicker_not_contains: Bytes
  kick: String
  kick_not: String
  kick_gt: String
  kick_lt: String
  kick_gte: String
  kick_lte: String
  kick_in: [String!]
  kick_not_in: [String!]
  kick_starts_with: String
  kick_starts_with_nocase: String
  kick_not_starts_with: String
  kick_not_starts_with_nocase: String
  kick_ends_with: String
  kick_ends_with_nocase: String
  kick_not_ends_with: String
  kick_not_ends_with_nocase: String
  kick_contains: String
  kick_not_contains: String
  kick_contains_nocase: String
  kick_not_contains_nocase: String
  kick_: Kick_filter
  kickTime: BigInt
  kickTime_not: BigInt
  kickTime_gt: BigInt
  kickTime_lt: BigInt
  kickTime_gte: BigInt
  kickTime_lte: BigInt
  kickTime_in: [BigInt!]
  kickTime_not_in: [BigInt!]
  takes: [String!]
  takes_not: [String!]
  takes_contains: [String!]
  takes_not_contains: [String!]
  takes_contains_nocase: [String!]
  takes_not_contains_nocase: [String!]
  takes_: Take_filter
  bucketTakes: [String!]
  bucketTakes_not: [String!]
  bucketTakes_contains: [String!]
  bucketTakes_not_contains: [String!]
  bucketTakes_contains_nocase: [String!]
  bucketTakes_not_contains_nocase: [String!]
  bucketTakes_: BucketTake_filter
  settles: [String!]
  settles_not: [String!]
  settles_contains: [String!]
  settles_not_contains: [String!]
  settles_contains_nocase: [String!]
  settles_not_contains_nocase: [String!]
  settles_: Settle_filter
  settle: String
  settle_not: String
  settle_gt: String
  settle_lt: String
  settle_gte: String
  settle_lte: String
  settle_in: [String!]
  settle_not_in: [String!]
  settle_starts_with: String
  settle_starts_with_nocase: String
  settle_not_starts_with: String
  settle_not_starts_with_nocase: String
  settle_ends_with: String
  settle_ends_with_nocase: String
  settle_not_ends_with: String
  settle_not_ends_with_nocase: String
  settle_contains: String
  settle_not_contains: String
  settle_contains_nocase: String
  settle_not_contains_nocase: String
  settle_: AuctionSettle_filter
  settleTime: BigInt
  settleTime_not: BigInt
  settleTime_gt: BigInt
  settleTime_lt: BigInt
  settleTime_gte: BigInt
  settleTime_lte: BigInt
  settleTime_in: [BigInt!]
  settleTime_not_in: [BigInt!]
  settled: Boolean
  settled_not: Boolean
  settled_gt: Boolean
  settled_lt: Boolean
  settled_gte: Boolean
  settled_lte: Boolean
  settled_in: [Boolean!]
  settled_not_in: [Boolean!]
  bondSize: BigDecimal
  bondSize_not: BigDecimal
  bondSize_gt: BigDecimal
  bondSize_lt: BigDecimal
  bondSize_gte: BigDecimal
  bondSize_lte: BigDecimal
  bondSize_in: [BigDecimal!]
  bondSize_not_in: [BigDecimal!]
  bondFactor: BigDecimal
  bondFactor_not: BigDecimal
  bondFactor_gt: BigDecimal
  bondFactor_lt: BigDecimal
  bondFactor_gte: BigDecimal
  bondFactor_lte: BigDecimal
  bondFactor_in: [BigDecimal!]
  bondFactor_not_in: [BigDecimal!]
  neutralPrice: BigDecimal
  neutralPrice_not: BigDecimal
  neutralPrice_gt: BigDecimal
  neutralPrice_lt: BigDecimal
  neutralPrice_gte: BigDecimal
  neutralPrice_lte: BigDecimal
  neutralPrice_in: [BigDecimal!]
  neutralPrice_not_in: [BigDecimal!]
  referencePrice: BigDecimal
  referencePrice_not: BigDecimal
  referencePrice_gt: BigDecimal
  referencePrice_lt: BigDecimal
  referencePrice_gte: BigDecimal
  referencePrice_lte: BigDecimal
  referencePrice_in: [BigDecimal!]
  referencePrice_not_in: [BigDecimal!]
  thresholdPrice: BigDecimal
  thresholdPrice_not: BigDecimal
  thresholdPrice_gt: BigDecimal
  thresholdPrice_lt: BigDecimal
  thresholdPrice_gte: BigDecimal
  thresholdPrice_lte: BigDecimal
  thresholdPrice_in: [BigDecimal!]
  thresholdPrice_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [LiquidationAuction_filter]
  or: [LiquidationAuction_filter]
}

enum ReserveAuction_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  claimableReservesRemaining
  lastTakePrice
  burnEpoch
  kick
  kick__id
  kick__kicker
  kick__claimableReserves
  kick__startingPrice
  kick__blockNumber
  kick__blockTimestamp
  kick__transactionHash
  takes
  ajnaBurned
}

input ReserveAuction_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  claimableReservesRemaining: BigDecimal
  claimableReservesRemaining_not: BigDecimal
  claimableReservesRemaining_gt: BigDecimal
  claimableReservesRemaining_lt: BigDecimal
  claimableReservesRemaining_gte: BigDecimal
  claimableReservesRemaining_lte: BigDecimal
  claimableReservesRemaining_in: [BigDecimal!]
  claimableReservesRemaining_not_in: [BigDecimal!]
  lastTakePrice: BigDecimal
  lastTakePrice_not: BigDecimal
  lastTakePrice_gt: BigDecimal
  lastTakePrice_lt: BigDecimal
  lastTakePrice_gte: BigDecimal
  lastTakePrice_lte: BigDecimal
  lastTakePrice_in: [BigDecimal!]
  lastTakePrice_not_in: [BigDecimal!]
  burnEpoch: BigInt
  burnEpoch_not: BigInt
  burnEpoch_gt: BigInt
  burnEpoch_lt: BigInt
  burnEpoch_gte: BigInt
  burnEpoch_lte: BigInt
  burnEpoch_in: [BigInt!]
  burnEpoch_not_in: [BigInt!]
  kick: String
  kick_not: String
  kick_gt: String
  kick_lt: String
  kick_gte: String
  kick_lte: String
  kick_in: [String!]
  kick_not_in: [String!]
  kick_starts_with: String
  kick_starts_with_nocase: String
  kick_not_starts_with: String
  kick_not_starts_with_nocase: String
  kick_ends_with: String
  kick_ends_with_nocase: String
  kick_not_ends_with: String
  kick_not_ends_with_nocase: String
  kick_contains: String
  kick_not_contains: String
  kick_contains_nocase: String
  kick_not_contains_nocase: String
  kick_: ReserveAuctionKick_filter
  takes: [String!]
  takes_not: [String!]
  takes_contains: [String!]
  takes_not_contains: [String!]
  takes_contains_nocase: [String!]
  takes_not_contains_nocase: [String!]
  takes_: ReserveAuctionTake_filter
  ajnaBurned: BigDecimal
  ajnaBurned_not: BigDecimal
  ajnaBurned_gt: BigDecimal
  ajnaBurned_lt: BigDecimal
  ajnaBurned_gte: BigDecimal
  ajnaBurned_lte: BigDecimal
  ajnaBurned_in: [BigDecimal!]
  ajnaBurned_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [ReserveAuction_filter]
  or: [ReserveAuction_filter]
}

enum LPTransferorList_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lender
  transferors
}

input LPTransferorList_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  transferors: [Bytes!]
  transferors_not: [Bytes!]
  transferors_contains: [Bytes!]
  transferors_not_contains: [Bytes!]
  transferors_contains_nocase: [Bytes!]
  transferors_not_contains_nocase: [Bytes!]
  _change_block: BlockChangedFilter
  and: [LPTransferorList_filter]
  or: [LPTransferorList_filter]
}

enum LPAllowance_orderBy {
  id
  index
  amount
}

input LPAllowance_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [LPAllowance_filter]
  or: [LPAllowance_filter]
}

enum LPAllowanceList_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lender
  spender
  allowances
}

input LPAllowanceList_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  spender: Bytes
  spender_not: Bytes
  spender_gt: Bytes
  spender_lt: Bytes
  spender_gte: Bytes
  spender_lte: Bytes
  spender_in: [Bytes!]
  spender_not_in: [Bytes!]
  spender_contains: Bytes
  spender_not_contains: Bytes
  allowances: [String!]
  allowances_not: [String!]
  allowances_contains: [String!]
  allowances_not_contains: [String!]
  allowances_contains_nocase: [String!]
  allowances_not_contains_nocase: [String!]
  allowances_: LPAllowance_filter
  _change_block: BlockChangedFilter
  and: [LPAllowanceList_filter]
  or: [LPAllowanceList_filter]
}

enum AddCollateral_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  actor
  index
  amount
  lpAwarded
  blockNumber
  blockTimestamp
  transactionHash
}

input AddCollateral_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  actor: Bytes
  actor_not: Bytes
  actor_gt: Bytes
  actor_lt: Bytes
  actor_gte: Bytes
  actor_lte: Bytes
  actor_in: [Bytes!]
  actor_not_in: [Bytes!]
  actor_contains: Bytes
  actor_not_contains: Bytes
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  lpAwarded: BigDecimal
  lpAwarded_not: BigDecimal
  lpAwarded_gt: BigDecimal
  lpAwarded_lt: BigDecimal
  lpAwarded_gte: BigDecimal
  lpAwarded_lte: BigDecimal
  lpAwarded_in: [BigDecimal!]
  lpAwarded_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [AddCollateral_filter]
  or: [AddCollateral_filter]
}

enum AddQuoteToken_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  lender
  index
  amount
  lpAwarded
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input AddQuoteToken_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  lpAwarded: BigDecimal
  lpAwarded_not: BigDecimal
  lpAwarded_gt: BigDecimal
  lpAwarded_lt: BigDecimal
  lpAwarded_gte: BigDecimal
  lpAwarded_lte: BigDecimal
  lpAwarded_in: [BigDecimal!]
  lpAwarded_not_in: [BigDecimal!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [AddQuoteToken_filter]
  or: [AddQuoteToken_filter]
}

enum AuctionSettle_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  borrower
  collateral
  blockNumber
  blockTimestamp
  transactionHash
}

input AuctionSettle_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [AuctionSettle_filter]
  or: [AuctionSettle_filter]
}

enum BondWithdrawn_orderBy {
  id
  kicker
  reciever
  amount
  blockNumber
  blockTimestamp
  transactionHash
}

input BondWithdrawn_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  kicker: Bytes
  kicker_not: Bytes
  kicker_gt: Bytes
  kicker_lt: Bytes
  kicker_gte: Bytes
  kicker_lte: Bytes
  kicker_in: [Bytes!]
  kicker_not_in: [Bytes!]
  kicker_contains: Bytes
  kicker_not_contains: Bytes
  reciever: Bytes
  reciever_not: Bytes
  reciever_gt: Bytes
  reciever_lt: Bytes
  reciever_gte: Bytes
  reciever_lte: Bytes
  reciever_in: [Bytes!]
  reciever_not_in: [Bytes!]
  reciever_contains: Bytes
  reciever_not_contains: Bytes
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [BondWithdrawn_filter]
  or: [BondWithdrawn_filter]
}

enum BucketBankruptcy_orderBy {
  id
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  index
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lpForfeited
  blockNumber
  blockTimestamp
  transactionHash
}

input BucketBankruptcy_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lpForfeited: BigDecimal
  lpForfeited_not: BigDecimal
  lpForfeited_gt: BigDecimal
  lpForfeited_lt: BigDecimal
  lpForfeited_gte: BigDecimal
  lpForfeited_lte: BigDecimal
  lpForfeited_in: [BigDecimal!]
  lpForfeited_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [BucketBankruptcy_filter]
  or: [BucketBankruptcy_filter]
}

enum BucketTake_orderBy {
  id
  borrower
  taker
  liquidationAuction
  liquidationAuction__id
  liquidationAuction__borrower
  liquidationAuction__lastTakePrice
  liquidationAuction__collateral
  liquidationAuction__collateralRemaining
  liquidationAuction__debt
  liquidationAuction__debtRemaining
  liquidationAuction__kicker
  liquidationAuction__kickTime
  liquidationAuction__settleTime
  liquidationAuction__settled
  liquidationAuction__bondSize
  liquidationAuction__bondFactor
  liquidationAuction__neutralPrice
  liquidationAuction__referencePrice
  liquidationAuction__thresholdPrice
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  index
  auctionPrice
  amount
  collateral
  bondChange
  isReward
  lpAwarded
  lpAwarded__id
  lpAwarded__taker
  lpAwarded__kicker
  lpAwarded__lpAwardedTaker
  lpAwarded__lpAwardedKicker
  lpAwarded__blockNumber
  lpAwarded__blockTimestamp
  lpAwarded__transactionHash
  blockNumber
  blockTimestamp
  transactionHash
}

input BucketTake_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  taker: Bytes
  taker_not: Bytes
  taker_gt: Bytes
  taker_lt: Bytes
  taker_gte: Bytes
  taker_lte: Bytes
  taker_in: [Bytes!]
  taker_not_in: [Bytes!]
  taker_contains: Bytes
  taker_not_contains: Bytes
  liquidationAuction: String
  liquidationAuction_not: String
  liquidationAuction_gt: String
  liquidationAuction_lt: String
  liquidationAuction_gte: String
  liquidationAuction_lte: String
  liquidationAuction_in: [String!]
  liquidationAuction_not_in: [String!]
  liquidationAuction_starts_with: String
  liquidationAuction_starts_with_nocase: String
  liquidationAuction_not_starts_with: String
  liquidationAuction_not_starts_with_nocase: String
  liquidationAuction_ends_with: String
  liquidationAuction_ends_with_nocase: String
  liquidationAuction_not_ends_with: String
  liquidationAuction_not_ends_with_nocase: String
  liquidationAuction_contains: String
  liquidationAuction_not_contains: String
  liquidationAuction_contains_nocase: String
  liquidationAuction_not_contains_nocase: String
  liquidationAuction_: LiquidationAuction_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  auctionPrice: BigDecimal
  auctionPrice_not: BigDecimal
  auctionPrice_gt: BigDecimal
  auctionPrice_lt: BigDecimal
  auctionPrice_gte: BigDecimal
  auctionPrice_lte: BigDecimal
  auctionPrice_in: [BigDecimal!]
  auctionPrice_not_in: [BigDecimal!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  bondChange: BigDecimal
  bondChange_not: BigDecimal
  bondChange_gt: BigDecimal
  bondChange_lt: BigDecimal
  bondChange_gte: BigDecimal
  bondChange_lte: BigDecimal
  bondChange_in: [BigDecimal!]
  bondChange_not_in: [BigDecimal!]
  isReward: Boolean
  isReward_not: Boolean
  isReward_gt: Boolean
  isReward_lt: Boolean
  isReward_gte: Boolean
  isReward_lte: Boolean
  isReward_in: [Boolean!]
  isReward_not_in: [Boolean!]
  lpAwarded: String
  lpAwarded_not: String
  lpAwarded_gt: String
  lpAwarded_lt: String
  lpAwarded_gte: String
  lpAwarded_lte: String
  lpAwarded_in: [String!]
  lpAwarded_not_in: [String!]
  lpAwarded_starts_with: String
  lpAwarded_starts_with_nocase: String
  lpAwarded_not_starts_with: String
  lpAwarded_not_starts_with_nocase: String
  lpAwarded_ends_with: String
  lpAwarded_ends_with_nocase: String
  lpAwarded_not_ends_with: String
  lpAwarded_not_ends_with_nocase: String
  lpAwarded_contains: String
  lpAwarded_not_contains: String
  lpAwarded_contains_nocase: String
  lpAwarded_not_contains_nocase: String
  lpAwarded_: BucketTakeLPAwarded_filter
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [BucketTake_filter]
  or: [BucketTake_filter]
}

enum BucketTakeLPAwarded_orderBy {
  id
  taker
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  kicker
  lpAwardedTaker
  lpAwardedKicker
  blockNumber
  blockTimestamp
  transactionHash
}

input BucketTakeLPAwarded_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  taker: Bytes
  taker_not: Bytes
  taker_gt: Bytes
  taker_lt: Bytes
  taker_gte: Bytes
  taker_lte: Bytes
  taker_in: [Bytes!]
  taker_not_in: [Bytes!]
  taker_contains: Bytes
  taker_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  kicker: Bytes
  kicker_not: Bytes
  kicker_gt: Bytes
  kicker_lt: Bytes
  kicker_gte: Bytes
  kicker_lte: Bytes
  kicker_in: [Bytes!]
  kicker_not_in: [Bytes!]
  kicker_contains: Bytes
  kicker_not_contains: Bytes
  lpAwardedTaker: BigDecimal
  lpAwardedTaker_not: BigDecimal
  lpAwardedTaker_gt: BigDecimal
  lpAwardedTaker_lt: BigDecimal
  lpAwardedTaker_gte: BigDecimal
  lpAwardedTaker_lte: BigDecimal
  lpAwardedTaker_in: [BigDecimal!]
  lpAwardedTaker_not_in: [BigDecimal!]
  lpAwardedKicker: BigDecimal
  lpAwardedKicker_not: BigDecimal
  lpAwardedKicker_gt: BigDecimal
  lpAwardedKicker_lt: BigDecimal
  lpAwardedKicker_gte: BigDecimal
  lpAwardedKicker_lte: BigDecimal
  lpAwardedKicker_in: [BigDecimal!]
  lpAwardedKicker_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [BucketTakeLPAwarded_filter]
  or: [BucketTakeLPAwarded_filter]
}

enum DrawDebt_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  amountBorrowed
  collateralPledged
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input DrawDebt_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  amountBorrowed: BigDecimal
  amountBorrowed_not: BigDecimal
  amountBorrowed_gt: BigDecimal
  amountBorrowed_lt: BigDecimal
  amountBorrowed_gte: BigDecimal
  amountBorrowed_lte: BigDecimal
  amountBorrowed_in: [BigDecimal!]
  amountBorrowed_not_in: [BigDecimal!]
  collateralPledged: BigDecimal
  collateralPledged_not: BigDecimal
  collateralPledged_gt: BigDecimal
  collateralPledged_lt: BigDecimal
  collateralPledged_gte: BigDecimal
  collateralPledged_lte: BigDecimal
  collateralPledged_in: [BigDecimal!]
  collateralPledged_not_in: [BigDecimal!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DrawDebt_filter]
  or: [DrawDebt_filter]
}

enum Flashloan_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  amount
}

input Flashloan_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [Flashloan_filter]
  or: [Flashloan_filter]
}

enum Kick_orderBy {
  id
  kicker
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  locked
  claimable
  liquidationAuction
  liquidationAuction__id
  liquidationAuction__borrower
  liquidationAuction__lastTakePrice
  liquidationAuction__collateral
  liquidationAuction__collateralRemaining
  liquidationAuction__debt
  liquidationAuction__debtRemaining
  liquidationAuction__kicker
  liquidationAuction__kickTime
  liquidationAuction__settleTime
  liquidationAuction__settled
  liquidationAuction__bondSize
  liquidationAuction__bondFactor
  liquidationAuction__neutralPrice
  liquidationAuction__referencePrice
  liquidationAuction__thresholdPrice
  borrower
  debt
  collateral
  bond
  startingPrice
  blockNumber
  blockTimestamp
  transactionHash
}

input Kick_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  kicker: Bytes
  kicker_not: Bytes
  kicker_gt: Bytes
  kicker_lt: Bytes
  kicker_gte: Bytes
  kicker_lte: Bytes
  kicker_in: [Bytes!]
  kicker_not_in: [Bytes!]
  kicker_contains: Bytes
  kicker_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  locked: BigDecimal
  locked_not: BigDecimal
  locked_gt: BigDecimal
  locked_lt: BigDecimal
  locked_gte: BigDecimal
  locked_lte: BigDecimal
  locked_in: [BigDecimal!]
  locked_not_in: [BigDecimal!]
  claimable: BigDecimal
  claimable_not: BigDecimal
  claimable_gt: BigDecimal
  claimable_lt: BigDecimal
  claimable_gte: BigDecimal
  claimable_lte: BigDecimal
  claimable_in: [BigDecimal!]
  claimable_not_in: [BigDecimal!]
  liquidationAuction: String
  liquidationAuction_not: String
  liquidationAuction_gt: String
  liquidationAuction_lt: String
  liquidationAuction_gte: String
  liquidationAuction_lte: String
  liquidationAuction_in: [String!]
  liquidationAuction_not_in: [String!]
  liquidationAuction_starts_with: String
  liquidationAuction_starts_with_nocase: String
  liquidationAuction_not_starts_with: String
  liquidationAuction_not_starts_with_nocase: String
  liquidationAuction_ends_with: String
  liquidationAuction_ends_with_nocase: String
  liquidationAuction_not_ends_with: String
  liquidationAuction_not_ends_with_nocase: String
  liquidationAuction_contains: String
  liquidationAuction_not_contains: String
  liquidationAuction_contains_nocase: String
  liquidationAuction_not_contains_nocase: String
  liquidationAuction_: LiquidationAuction_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  debt: BigDecimal
  debt_not: BigDecimal
  debt_gt: BigDecimal
  debt_lt: BigDecimal
  debt_gte: BigDecimal
  debt_lte: BigDecimal
  debt_in: [BigDecimal!]
  debt_not_in: [BigDecimal!]
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  bond: BigDecimal
  bond_not: BigDecimal
  bond_gt: BigDecimal
  bond_lt: BigDecimal
  bond_gte: BigDecimal
  bond_lte: BigDecimal
  bond_in: [BigDecimal!]
  bond_not_in: [BigDecimal!]
  startingPrice: BigDecimal
  startingPrice_not: BigDecimal
  startingPrice_gt: BigDecimal
  startingPrice_lt: BigDecimal
  startingPrice_gte: BigDecimal
  startingPrice_lte: BigDecimal
  startingPrice_in: [BigDecimal!]
  startingPrice_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Kick_filter]
  or: [Kick_filter]
}

enum LoanStamped_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  blockNumber
  blockTimestamp
  transactionHash
}

input LoanStamped_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [LoanStamped_filter]
  or: [LoanStamped_filter]
}

enum MoveQuoteToken_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lender
  from
  from__id
  from__bucketIndex
  from__bucketPrice
  from__exchangeRate
  from__poolAddress
  from__collateral
  from__deposit
  from__lpb
  to
  to__id
  to__bucketIndex
  to__bucketPrice
  to__exchangeRate
  to__poolAddress
  to__collateral
  to__deposit
  to__lpb
  amount
  lpRedeemedFrom
  lpAwardedTo
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input MoveQuoteToken_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  from: String
  from_not: String
  from_gt: String
  from_lt: String
  from_gte: String
  from_lte: String
  from_in: [String!]
  from_not_in: [String!]
  from_starts_with: String
  from_starts_with_nocase: String
  from_not_starts_with: String
  from_not_starts_with_nocase: String
  from_ends_with: String
  from_ends_with_nocase: String
  from_not_ends_with: String
  from_not_ends_with_nocase: String
  from_contains: String
  from_not_contains: String
  from_contains_nocase: String
  from_not_contains_nocase: String
  from_: Bucket_filter
  to: String
  to_not: String
  to_gt: String
  to_lt: String
  to_gte: String
  to_lte: String
  to_in: [String!]
  to_not_in: [String!]
  to_starts_with: String
  to_starts_with_nocase: String
  to_not_starts_with: String
  to_not_starts_with_nocase: String
  to_ends_with: String
  to_ends_with_nocase: String
  to_not_ends_with: String
  to_not_ends_with_nocase: String
  to_contains: String
  to_not_contains: String
  to_contains_nocase: String
  to_not_contains_nocase: String
  to_: Bucket_filter
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  lpRedeemedFrom: BigDecimal
  lpRedeemedFrom_not: BigDecimal
  lpRedeemedFrom_gt: BigDecimal
  lpRedeemedFrom_lt: BigDecimal
  lpRedeemedFrom_gte: BigDecimal
  lpRedeemedFrom_lte: BigDecimal
  lpRedeemedFrom_in: [BigDecimal!]
  lpRedeemedFrom_not_in: [BigDecimal!]
  lpAwardedTo: BigDecimal
  lpAwardedTo_not: BigDecimal
  lpAwardedTo_gt: BigDecimal
  lpAwardedTo_lt: BigDecimal
  lpAwardedTo_gte: BigDecimal
  lpAwardedTo_lte: BigDecimal
  lpAwardedTo_in: [BigDecimal!]
  lpAwardedTo_not_in: [BigDecimal!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [MoveQuoteToken_filter]
  or: [MoveQuoteToken_filter]
}

enum RemoveCollateral_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  claimer
  index
  amount
  lpRedeemed
  blockNumber
  blockTimestamp
  transactionHash
}

input RemoveCollateral_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  claimer: Bytes
  claimer_not: Bytes
  claimer_gt: Bytes
  claimer_lt: Bytes
  claimer_gte: Bytes
  claimer_lte: Bytes
  claimer_in: [Bytes!]
  claimer_not_in: [Bytes!]
  claimer_contains: Bytes
  claimer_not_contains: Bytes
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  lpRedeemed: BigDecimal
  lpRedeemed_not: BigDecimal
  lpRedeemed_gt: BigDecimal
  lpRedeemed_lt: BigDecimal
  lpRedeemed_gte: BigDecimal
  lpRedeemed_lte: BigDecimal
  lpRedeemed_in: [BigDecimal!]
  lpRedeemed_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [RemoveCollateral_filter]
  or: [RemoveCollateral_filter]
}

enum RemoveQuoteToken_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  lender
  index
  amount
  lpRedeemed
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input RemoveQuoteToken_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  lpRedeemed: BigDecimal
  lpRedeemed_not: BigDecimal
  lpRedeemed_gt: BigDecimal
  lpRedeemed_lt: BigDecimal
  lpRedeemed_gte: BigDecimal
  lpRedeemed_lte: BigDecimal
  lpRedeemed_in: [BigDecimal!]
  lpRedeemed_not_in: [BigDecimal!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [RemoveQuoteToken_filter]
  or: [RemoveQuoteToken_filter]
}

enum RepayDebt_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  quoteRepaid
  collateralPulled
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input RepayDebt_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  quoteRepaid: BigDecimal
  quoteRepaid_not: BigDecimal
  quoteRepaid_gt: BigDecimal
  quoteRepaid_lt: BigDecimal
  quoteRepaid_gte: BigDecimal
  quoteRepaid_lte: BigDecimal
  quoteRepaid_in: [BigDecimal!]
  quoteRepaid_not_in: [BigDecimal!]
  collateralPulled: BigDecimal
  collateralPulled_not: BigDecimal
  collateralPulled_gt: BigDecimal
  collateralPulled_lt: BigDecimal
  collateralPulled_gte: BigDecimal
  collateralPulled_lte: BigDecimal
  collateralPulled_in: [BigDecimal!]
  collateralPulled_not_in: [BigDecimal!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [RepayDebt_filter]
  or: [RepayDebt_filter]
}

enum ReserveAuctionKick_orderBy {
  id
  kicker
  reserveAuction
  reserveAuction__id
  reserveAuction__claimableReservesRemaining
  reserveAuction__lastTakePrice
  reserveAuction__burnEpoch
  reserveAuction__ajnaBurned
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  claimableReserves
  startingPrice
  blockNumber
  blockTimestamp
  transactionHash
}

input ReserveAuctionKick_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  kicker: Bytes
  kicker_not: Bytes
  kicker_gt: Bytes
  kicker_lt: Bytes
  kicker_gte: Bytes
  kicker_lte: Bytes
  kicker_in: [Bytes!]
  kicker_not_in: [Bytes!]
  kicker_contains: Bytes
  kicker_not_contains: Bytes
  reserveAuction: String
  reserveAuction_not: String
  reserveAuction_gt: String
  reserveAuction_lt: String
  reserveAuction_gte: String
  reserveAuction_lte: String
  reserveAuction_in: [String!]
  reserveAuction_not_in: [String!]
  reserveAuction_starts_with: String
  reserveAuction_starts_with_nocase: String
  reserveAuction_not_starts_with: String
  reserveAuction_not_starts_with_nocase: String
  reserveAuction_ends_with: String
  reserveAuction_ends_with_nocase: String
  reserveAuction_not_ends_with: String
  reserveAuction_not_ends_with_nocase: String
  reserveAuction_contains: String
  reserveAuction_not_contains: String
  reserveAuction_contains_nocase: String
  reserveAuction_not_contains_nocase: String
  reserveAuction_: ReserveAuction_filter
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  claimableReserves: BigDecimal
  claimableReserves_not: BigDecimal
  claimableReserves_gt: BigDecimal
  claimableReserves_lt: BigDecimal
  claimableReserves_gte: BigDecimal
  claimableReserves_lte: BigDecimal
  claimableReserves_in: [BigDecimal!]
  claimableReserves_not_in: [BigDecimal!]
  startingPrice: BigDecimal
  startingPrice_not: BigDecimal
  startingPrice_gt: BigDecimal
  startingPrice_lt: BigDecimal
  startingPrice_gte: BigDecimal
  startingPrice_lte: BigDecimal
  startingPrice_in: [BigDecimal!]
  startingPrice_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ReserveAuctionKick_filter]
  or: [ReserveAuctionKick_filter]
}

enum ReserveAuctionTake_orderBy {
  id
  taker
  reserveAuction
  reserveAuction__id
  reserveAuction__claimableReservesRemaining
  reserveAuction__lastTakePrice
  reserveAuction__burnEpoch
  reserveAuction__ajnaBurned
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  claimableReservesRemaining
  auctionPrice
  quotePurchased
  ajnaBurned
  blockNumber
  blockTimestamp
  transactionHash
}

input ReserveAuctionTake_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  taker: Bytes
  taker_not: Bytes
  taker_gt: Bytes
  taker_lt: Bytes
  taker_gte: Bytes
  taker_lte: Bytes
  taker_in: [Bytes!]
  taker_not_in: [Bytes!]
  taker_contains: Bytes
  taker_not_contains: Bytes
  reserveAuction: String
  reserveAuction_not: String
  reserveAuction_gt: String
  reserveAuction_lt: String
  reserveAuction_gte: String
  reserveAuction_lte: String
  reserveAuction_in: [String!]
  reserveAuction_not_in: [String!]
  reserveAuction_starts_with: String
  reserveAuction_starts_with_nocase: String
  reserveAuction_not_starts_with: String
  reserveAuction_not_starts_with_nocase: String
  reserveAuction_ends_with: String
  reserveAuction_ends_with_nocase: String
  reserveAuction_not_ends_with: String
  reserveAuction_not_ends_with_nocase: String
  reserveAuction_contains: String
  reserveAuction_not_contains: String
  reserveAuction_contains_nocase: String
  reserveAuction_not_contains_nocase: String
  reserveAuction_: ReserveAuction_filter
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  claimableReservesRemaining: BigDecimal
  claimableReservesRemaining_not: BigDecimal
  claimableReservesRemaining_gt: BigDecimal
  claimableReservesRemaining_lt: BigDecimal
  claimableReservesRemaining_gte: BigDecimal
  claimableReservesRemaining_lte: BigDecimal
  claimableReservesRemaining_in: [BigDecimal!]
  claimableReservesRemaining_not_in: [BigDecimal!]
  auctionPrice: BigDecimal
  auctionPrice_not: BigDecimal
  auctionPrice_gt: BigDecimal
  auctionPrice_lt: BigDecimal
  auctionPrice_gte: BigDecimal
  auctionPrice_lte: BigDecimal
  auctionPrice_in: [BigDecimal!]
  auctionPrice_not_in: [BigDecimal!]
  quotePurchased: BigDecimal
  quotePurchased_not: BigDecimal
  quotePurchased_gt: BigDecimal
  quotePurchased_lt: BigDecimal
  quotePurchased_gte: BigDecimal
  quotePurchased_lte: BigDecimal
  quotePurchased_in: [BigDecimal!]
  quotePurchased_not_in: [BigDecimal!]
  ajnaBurned: BigDecimal
  ajnaBurned_not: BigDecimal
  ajnaBurned_gt: BigDecimal
  ajnaBurned_lt: BigDecimal
  ajnaBurned_gte: BigDecimal
  ajnaBurned_lte: BigDecimal
  ajnaBurned_in: [BigDecimal!]
  ajnaBurned_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ReserveAuctionTake_filter]
  or: [ReserveAuctionTake_filter]
}

enum ResetInterestRate_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  oldBorrowRate
  newBorrowRate
  oldLendRate
  newLendRate
  blockNumber
  blockTimestamp
  transactionHash
}

input ResetInterestRate_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  oldBorrowRate: BigDecimal
  oldBorrowRate_not: BigDecimal
  oldBorrowRate_gt: BigDecimal
  oldBorrowRate_lt: BigDecimal
  oldBorrowRate_gte: BigDecimal
  oldBorrowRate_lte: BigDecimal
  oldBorrowRate_in: [BigDecimal!]
  oldBorrowRate_not_in: [BigDecimal!]
  newBorrowRate: BigDecimal
  newBorrowRate_not: BigDecimal
  newBorrowRate_gt: BigDecimal
  newBorrowRate_lt: BigDecimal
  newBorrowRate_gte: BigDecimal
  newBorrowRate_lte: BigDecimal
  newBorrowRate_in: [BigDecimal!]
  newBorrowRate_not_in: [BigDecimal!]
  oldLendRate: BigDecimal
  oldLendRate_not: BigDecimal
  oldLendRate_gt: BigDecimal
  oldLendRate_lt: BigDecimal
  oldLendRate_gte: BigDecimal
  oldLendRate_lte: BigDecimal
  oldLendRate_in: [BigDecimal!]
  oldLendRate_not_in: [BigDecimal!]
  newLendRate: BigDecimal
  newLendRate_not: BigDecimal
  newLendRate_gt: BigDecimal
  newLendRate_lt: BigDecimal
  newLendRate_gte: BigDecimal
  newLendRate_lte: BigDecimal
  newLendRate_in: [BigDecimal!]
  newLendRate_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ResetInterestRate_filter]
  or: [ResetInterestRate_filter]
}

enum Settle_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  liquidationAuction
  liquidationAuction__id
  liquidationAuction__borrower
  liquidationAuction__lastTakePrice
  liquidationAuction__collateral
  liquidationAuction__collateralRemaining
  liquidationAuction__debt
  liquidationAuction__debtRemaining
  liquidationAuction__kicker
  liquidationAuction__kickTime
  liquidationAuction__settleTime
  liquidationAuction__settled
  liquidationAuction__bondSize
  liquidationAuction__bondFactor
  liquidationAuction__neutralPrice
  liquidationAuction__referencePrice
  liquidationAuction__thresholdPrice
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  borrower
  settledDebt
  blockNumber
  blockTimestamp
  transactionHash
}

input Settle_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  liquidationAuction: String
  liquidationAuction_not: String
  liquidationAuction_gt: String
  liquidationAuction_lt: String
  liquidationAuction_gte: String
  liquidationAuction_lte: String
  liquidationAuction_in: [String!]
  liquidationAuction_not_in: [String!]
  liquidationAuction_starts_with: String
  liquidationAuction_starts_with_nocase: String
  liquidationAuction_not_starts_with: String
  liquidationAuction_not_starts_with_nocase: String
  liquidationAuction_ends_with: String
  liquidationAuction_ends_with_nocase: String
  liquidationAuction_not_ends_with: String
  liquidationAuction_not_ends_with_nocase: String
  liquidationAuction_contains: String
  liquidationAuction_not_contains: String
  liquidationAuction_contains_nocase: String
  liquidationAuction_not_contains_nocase: String
  liquidationAuction_: LiquidationAuction_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  settledDebt: BigDecimal
  settledDebt_not: BigDecimal
  settledDebt_gt: BigDecimal
  settledDebt_lt: BigDecimal
  settledDebt_gte: BigDecimal
  settledDebt_lte: BigDecimal
  settledDebt_in: [BigDecimal!]
  settledDebt_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Settle_filter]
  or: [Settle_filter]
}

enum Take_orderBy {
  id
  taker
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  liquidationAuction
  liquidationAuction__id
  liquidationAuction__borrower
  liquidationAuction__lastTakePrice
  liquidationAuction__collateral
  liquidationAuction__collateralRemaining
  liquidationAuction__debt
  liquidationAuction__debtRemaining
  liquidationAuction__kicker
  liquidationAuction__kickTime
  liquidationAuction__settleTime
  liquidationAuction__settled
  liquidationAuction__bondSize
  liquidationAuction__bondFactor
  liquidationAuction__neutralPrice
  liquidationAuction__referencePrice
  liquidationAuction__thresholdPrice
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  auctionPrice
  amount
  collateral
  bondChange
  isReward
  blockNumber
  blockTimestamp
  transactionHash
}

input Take_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  taker: Bytes
  taker_not: Bytes
  taker_gt: Bytes
  taker_lt: Bytes
  taker_gte: Bytes
  taker_lte: Bytes
  taker_in: [Bytes!]
  taker_not_in: [Bytes!]
  taker_contains: Bytes
  taker_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  liquidationAuction: String
  liquidationAuction_not: String
  liquidationAuction_gt: String
  liquidationAuction_lt: String
  liquidationAuction_gte: String
  liquidationAuction_lte: String
  liquidationAuction_in: [String!]
  liquidationAuction_not_in: [String!]
  liquidationAuction_starts_with: String
  liquidationAuction_starts_with_nocase: String
  liquidationAuction_not_starts_with: String
  liquidationAuction_not_starts_with_nocase: String
  liquidationAuction_ends_with: String
  liquidationAuction_ends_with_nocase: String
  liquidationAuction_not_ends_with: String
  liquidationAuction_not_ends_with_nocase: String
  liquidationAuction_contains: String
  liquidationAuction_not_contains: String
  liquidationAuction_contains_nocase: String
  liquidationAuction_not_contains_nocase: String
  liquidationAuction_: LiquidationAuction_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  auctionPrice: BigDecimal
  auctionPrice_not: BigDecimal
  auctionPrice_gt: BigDecimal
  auctionPrice_lt: BigDecimal
  auctionPrice_gte: BigDecimal
  auctionPrice_lte: BigDecimal
  auctionPrice_in: [BigDecimal!]
  auctionPrice_not_in: [BigDecimal!]
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  bondChange: BigDecimal
  bondChange_not: BigDecimal
  bondChange_gt: BigDecimal
  bondChange_lt: BigDecimal
  bondChange_gte: BigDecimal
  bondChange_lte: BigDecimal
  bondChange_in: [BigDecimal!]
  bondChange_not_in: [BigDecimal!]
  isReward: Boolean
  isReward_not: Boolean
  isReward_gt: Boolean
  isReward_lt: Boolean
  isReward_gte: Boolean
  isReward_lte: Boolean
  isReward_in: [Boolean!]
  isReward_not_in: [Boolean!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Take_filter]
  or: [Take_filter]
}

enum TransferLP_orderBy {
  id
  owner
  newOwner
  indexes
  lp
  blockNumber
  blockTimestamp
  transactionHash
}

input TransferLP_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  owner: Bytes
  owner_not: Bytes
  owner_gt: Bytes
  owner_lt: Bytes
  owner_gte: Bytes
  owner_lte: Bytes
  owner_in: [Bytes!]
  owner_not_in: [Bytes!]
  owner_contains: Bytes
  owner_not_contains: Bytes
  newOwner: Bytes
  newOwner_not: Bytes
  newOwner_gt: Bytes
  newOwner_lt: Bytes
  newOwner_gte: Bytes
  newOwner_lte: Bytes
  newOwner_in: [Bytes!]
  newOwner_not_in: [Bytes!]
  newOwner_contains: Bytes
  newOwner_not_contains: Bytes
  indexes: [Int!]
  indexes_not: [Int!]
  indexes_contains: [Int!]
  indexes_not_contains: [Int!]
  indexes_contains_nocase: [Int!]
  indexes_not_contains_nocase: [Int!]
  lp: BigDecimal
  lp_not: BigDecimal
  lp_gt: BigDecimal
  lp_lt: BigDecimal
  lp_gte: BigDecimal
  lp_lte: BigDecimal
  lp_in: [BigDecimal!]
  lp_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [TransferLP_filter]
  or: [TransferLP_filter]
}

enum UpdateInterestRate_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  oldBorrowRate
  newBorrowRate
  oldLendRate
  newLendRate
  borrowFeeRate
  depositFeeRate
  blockNumber
  blockTimestamp
  transactionHash
}

input UpdateInterestRate_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  oldBorrowRate: BigDecimal
  oldBorrowRate_not: BigDecimal
  oldBorrowRate_gt: BigDecimal
  oldBorrowRate_lt: BigDecimal
  oldBorrowRate_gte: BigDecimal
  oldBorrowRate_lte: BigDecimal
  oldBorrowRate_in: [BigDecimal!]
  oldBorrowRate_not_in: [BigDecimal!]
  newBorrowRate: BigDecimal
  newBorrowRate_not: BigDecimal
  newBorrowRate_gt: BigDecimal
  newBorrowRate_lt: BigDecimal
  newBorrowRate_gte: BigDecimal
  newBorrowRate_lte: BigDecimal
  newBorrowRate_in: [BigDecimal!]
  newBorrowRate_not_in: [BigDecimal!]
  oldLendRate: BigDecimal
  oldLendRate_not: BigDecimal
  oldLendRate_gt: BigDecimal
  oldLendRate_lt: BigDecimal
  oldLendRate_gte: BigDecimal
  oldLendRate_lte: BigDecimal
  oldLendRate_in: [BigDecimal!]
  oldLendRate_not_in: [BigDecimal!]
  newLendRate: BigDecimal
  newLendRate_not: BigDecimal
  newLendRate_gt: BigDecimal
  newLendRate_lt: BigDecimal
  newLendRate_gte: BigDecimal
  newLendRate_lte: BigDecimal
  newLendRate_in: [BigDecimal!]
  newLendRate_not_in: [BigDecimal!]
  borrowFeeRate: BigDecimal
  borrowFeeRate_not: BigDecimal
  borrowFeeRate_gt: BigDecimal
  borrowFeeRate_lt: BigDecimal
  borrowFeeRate_gte: BigDecimal
  borrowFeeRate_lte: BigDecimal
  borrowFeeRate_in: [BigDecimal!]
  borrowFeeRate_not_in: [BigDecimal!]
  depositFeeRate: BigDecimal
  depositFeeRate_not: BigDecimal
  depositFeeRate_gt: BigDecimal
  depositFeeRate_lt: BigDecimal
  depositFeeRate_gte: BigDecimal
  depositFeeRate_lte: BigDecimal
  depositFeeRate_in: [BigDecimal!]
  depositFeeRate_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [UpdateInterestRate_filter]
  or: [UpdateInterestRate_filter]
}

enum Approval_orderBy {
  id
  owner
  approved
  tokenId
  blockNumber
  blockTimestamp
  transactionHash
}

input Approval_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  owner: Bytes
  owner_not: Bytes
  owner_gt: Bytes
  owner_lt: Bytes
  owner_gte: Bytes
  owner_lte: Bytes
  owner_in: [Bytes!]
  owner_not_in: [Bytes!]
  owner_contains: Bytes
  owner_not_contains: Bytes
  approved: Bytes
  approved_not: Bytes
  approved_gt: Bytes
  approved_lt: Bytes
  approved_gte: Bytes
  approved_lte: Bytes
  approved_in: [Bytes!]
  approved_not_in: [Bytes!]
  approved_contains: Bytes
  approved_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Approval_filter]
  or: [Approval_filter]
}

enum ApprovalForAll_orderBy {
  id
  owner
  operator
  approved
  blockNumber
  blockTimestamp
  transactionHash
}

input ApprovalForAll_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  owner: Bytes
  owner_not: Bytes
  owner_gt: Bytes
  owner_lt: Bytes
  owner_gte: Bytes
  owner_lte: Bytes
  owner_in: [Bytes!]
  owner_not_in: [Bytes!]
  owner_contains: Bytes
  owner_not_contains: Bytes
  operator: Bytes
  operator_not: Bytes
  operator_gt: Bytes
  operator_lt: Bytes
  operator_gte: Bytes
  operator_lte: Bytes
  operator_in: [Bytes!]
  operator_not_in: [Bytes!]
  operator_contains: Bytes
  operator_not_contains: Bytes
  approved: Boolean
  approved_not: Boolean
  approved_gt: Boolean
  approved_lt: Boolean
  approved_gte: Boolean
  approved_lte: Boolean
  approved_in: [Boolean!]
  approved_not_in: [Boolean!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ApprovalForAll_filter]
  or: [ApprovalForAll_filter]
}

enum MoveLiquidity_orderBy {
  id
  lender
  tokenId
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  fromIndex
  toIndex
  blockNumber
  blockTimestamp
  transactionHash
}

input MoveLiquidity_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  fromIndex: Int
  fromIndex_not: Int
  fromIndex_gt: Int
  fromIndex_lt: Int
  fromIndex_gte: Int
  fromIndex_lte: Int
  fromIndex_in: [Int!]
  fromIndex_not_in: [Int!]
  toIndex: Int
  toIndex_not: Int
  toIndex_gt: Int
  toIndex_lt: Int
  toIndex_gte: Int
  toIndex_lte: Int
  toIndex_in: [Int!]
  toIndex_not_in: [Int!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [MoveLiquidity_filter]
  or: [MoveLiquidity_filter]
}

enum Transfer_orderBy {
  id
  token
  token__id
  token__symbol
  token__name
  token__decimals
  token__tokenType
  token__poolCount
  token__totalSupply
  token__txCount
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  from
  to
  tokenId
  blockNumber
  blockTimestamp
  transactionHash
}

input Transfer_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  token: String
  token_not: String
  token_gt: String
  token_lt: String
  token_gte: String
  token_lte: String
  token_in: [String!]
  token_not_in: [String!]
  token_starts_with: String
  token_starts_with_nocase: String
  token_not_starts_with: String
  token_not_starts_with_nocase: String
  token_ends_with: String
  token_ends_with_nocase: String
  token_not_ends_with: String
  token_not_ends_with_nocase: String
  token_contains: String
  token_not_contains: String
  token_contains_nocase: String
  token_not_contains_nocase: String
  token_: Token_filter
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  from: Bytes
  from_not: Bytes
  from_gt: Bytes
  from_lt: Bytes
  from_gte: Bytes
  from_lte: Bytes
  from_in: [Bytes!]
  from_not_in: [Bytes!]
  from_contains: Bytes
  from_not_contains: Bytes
  to: Bytes
  to_not: Bytes
  to_gt: Bytes
  to_lt: Bytes
  to_gte: Bytes
  to_lte: Bytes
  to_in: [Bytes!]
  to_not_in: [Bytes!]
  to_contains: Bytes
  to_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Transfer_filter]
  or: [Transfer_filter]
}

enum PoolCreated_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  poolType
  factory
  factory__id
  factory__poolType
  factory__poolCount
  factory__txCount
  blockNumber
  blockTimestamp
  transactionHash
}

input PoolCreated_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  poolType: String
  poolType_not: String
  poolType_gt: String
  poolType_lt: String
  poolType_gte: String
  poolType_lte: String
  poolType_in: [String!]
  poolType_not_in: [String!]
  poolType_starts_with: String
  poolType_starts_with_nocase: String
  poolType_not_starts_with: String
  poolType_not_starts_with_nocase: String
  poolType_ends_with: String
  poolType_ends_with_nocase: String
  poolType_not_ends_with: String
  poolType_not_ends_with_nocase: String
  poolType_contains: String
  poolType_not_contains: String
  poolType_contains_nocase: String
  poolType_not_contains_nocase: String
  factory: String
  factory_not: String
  factory_gt: String
  factory_lt: String
  factory_gte: String
  factory_lte: String
  factory_in: [String!]
  factory_not_in: [String!]
  factory_starts_with: String
  factory_starts_with_nocase: String
  factory_not_starts_with: String
  factory_not_starts_with_nocase: String
  factory_ends_with: String
  factory_ends_with_nocase: String
  factory_not_ends_with: String
  factory_not_ends_with_nocase: String
  factory_contains: String
  factory_not_contains: String
  factory_contains_nocase: String
  factory_not_contains_nocase: String
  factory_: PoolFactory_filter
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [PoolCreated_filter]
  or: [PoolCreated_filter]
}

enum AddCollateralNFT_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  actor
  index
  tokenIds
  lpAwarded
  blockNumber
  blockTimestamp
  transactionHash
}

input AddCollateralNFT_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  actor: Bytes
  actor_not: Bytes
  actor_gt: Bytes
  actor_lt: Bytes
  actor_gte: Bytes
  actor_lte: Bytes
  actor_in: [Bytes!]
  actor_not_in: [Bytes!]
  actor_contains: Bytes
  actor_not_contains: Bytes
  index: BigInt
  index_not: BigInt
  index_gt: BigInt
  index_lt: BigInt
  index_gte: BigInt
  index_lte: BigInt
  index_in: [BigInt!]
  index_not_in: [BigInt!]
  tokenIds: [BigInt!]
  tokenIds_not: [BigInt!]
  tokenIds_contains: [BigInt!]
  tokenIds_not_contains: [BigInt!]
  tokenIds_contains_nocase: [BigInt!]
  tokenIds_not_contains_nocase: [BigInt!]
  lpAwarded: BigDecimal
  lpAwarded_not: BigDecimal
  lpAwarded_gt: BigDecimal
  lpAwarded_lt: BigDecimal
  lpAwarded_gte: BigDecimal
  lpAwarded_lte: BigDecimal
  lpAwarded_in: [BigDecimal!]
  lpAwarded_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [AddCollateralNFT_filter]
  or: [AddCollateralNFT_filter]
}

enum AuctionNFTSettle_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  loan
  loan__id
  loan__poolAddress
  loan__borrower
  loan__inLiquidation
  loan__collateralPledged
  loan__thresholdPrice
  loan__t0debt
  loan__t0Np
  borrower
  collateral
  lp
  index
  blockNumber
  blockTimestamp
  transactionHash
}

input AuctionNFTSettle_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  loan: String
  loan_not: String
  loan_gt: String
  loan_lt: String
  loan_gte: String
  loan_lte: String
  loan_in: [String!]
  loan_not_in: [String!]
  loan_starts_with: String
  loan_starts_with_nocase: String
  loan_not_starts_with: String
  loan_not_starts_with_nocase: String
  loan_ends_with: String
  loan_ends_with_nocase: String
  loan_not_ends_with: String
  loan_not_ends_with_nocase: String
  loan_contains: String
  loan_not_contains: String
  loan_contains_nocase: String
  loan_not_contains_nocase: String
  loan_: Loan_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  collateral: BigDecimal
  collateral_not: BigDecimal
  collateral_gt: BigDecimal
  collateral_lt: BigDecimal
  collateral_gte: BigDecimal
  collateral_lte: BigDecimal
  collateral_in: [BigDecimal!]
  collateral_not_in: [BigDecimal!]
  lp: BigDecimal
  lp_not: BigDecimal
  lp_gt: BigDecimal
  lp_lt: BigDecimal
  lp_gte: BigDecimal
  lp_lte: BigDecimal
  lp_in: [BigDecimal!]
  lp_not_in: [BigDecimal!]
  index: Int
  index_not: Int
  index_gt: Int
  index_lt: Int
  index_gte: Int
  index_lte: Int
  index_in: [Int!]
  index_not_in: [Int!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [AuctionNFTSettle_filter]
  or: [AuctionNFTSettle_filter]
}

enum DrawDebtNFT_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  borrower
  amountBorrowed
  tokenIdsPledged
  lup
  blockNumber
  blockTimestamp
  transactionHash
}

input DrawDebtNFT_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  borrower: Bytes
  borrower_not: Bytes
  borrower_gt: Bytes
  borrower_lt: Bytes
  borrower_gte: Bytes
  borrower_lte: Bytes
  borrower_in: [Bytes!]
  borrower_not_in: [Bytes!]
  borrower_contains: Bytes
  borrower_not_contains: Bytes
  amountBorrowed: BigDecimal
  amountBorrowed_not: BigDecimal
  amountBorrowed_gt: BigDecimal
  amountBorrowed_lt: BigDecimal
  amountBorrowed_gte: BigDecimal
  amountBorrowed_lte: BigDecimal
  amountBorrowed_in: [BigDecimal!]
  amountBorrowed_not_in: [BigDecimal!]
  tokenIdsPledged: [BigInt!]
  tokenIdsPledged_not: [BigInt!]
  tokenIdsPledged_contains: [BigInt!]
  tokenIdsPledged_not_contains: [BigInt!]
  tokenIdsPledged_contains_nocase: [BigInt!]
  tokenIdsPledged_not_contains_nocase: [BigInt!]
  lup: BigDecimal
  lup_not: BigDecimal
  lup_gt: BigDecimal
  lup_lt: BigDecimal
  lup_gte: BigDecimal
  lup_lte: BigDecimal
  lup_in: [BigDecimal!]
  lup_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DrawDebtNFT_filter]
  or: [DrawDebtNFT_filter]
}

enum MergeOrRemoveCollateralNFT_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  actor
  collateralMerged
  toIndexLps
  blockNumber
  blockTimestamp
  transactionHash
}

input MergeOrRemoveCollateralNFT_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  actor: Bytes
  actor_not: Bytes
  actor_gt: Bytes
  actor_lt: Bytes
  actor_gte: Bytes
  actor_lte: Bytes
  actor_in: [Bytes!]
  actor_not_in: [Bytes!]
  actor_contains: Bytes
  actor_not_contains: Bytes
  collateralMerged: BigDecimal
  collateralMerged_not: BigDecimal
  collateralMerged_gt: BigDecimal
  collateralMerged_lt: BigDecimal
  collateralMerged_gte: BigDecimal
  collateralMerged_lte: BigDecimal
  collateralMerged_in: [BigDecimal!]
  collateralMerged_not_in: [BigDecimal!]
  toIndexLps: BigDecimal
  toIndexLps_not: BigDecimal
  toIndexLps_gt: BigDecimal
  toIndexLps_lt: BigDecimal
  toIndexLps_gte: BigDecimal
  toIndexLps_lte: BigDecimal
  toIndexLps_in: [BigDecimal!]
  toIndexLps_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [MergeOrRemoveCollateralNFT_filter]
  or: [MergeOrRemoveCollateralNFT_filter]
}

enum Position_orderBy {
  id
  tokenId
  indexes
  owner
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  token
  token__id
  token__symbol
  token__name
  token__decimals
  token__tokenType
  token__poolCount
  token__totalSupply
  token__txCount
  tokenURI
}

input Position_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  indexes: [String!]
  indexes_not: [String!]
  indexes_contains: [String!]
  indexes_not_contains: [String!]
  indexes_contains_nocase: [String!]
  indexes_not_contains_nocase: [String!]
  indexes_: PositionLend_filter
  owner: Bytes
  owner_not: Bytes
  owner_gt: Bytes
  owner_lt: Bytes
  owner_gte: Bytes
  owner_lte: Bytes
  owner_in: [Bytes!]
  owner_not_in: [Bytes!]
  owner_contains: Bytes
  owner_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  token: String
  token_not: String
  token_gt: String
  token_lt: String
  token_gte: String
  token_lte: String
  token_in: [String!]
  token_not_in: [String!]
  token_starts_with: String
  token_starts_with_nocase: String
  token_not_starts_with: String
  token_not_starts_with_nocase: String
  token_ends_with: String
  token_ends_with_nocase: String
  token_not_ends_with: String
  token_not_ends_with_nocase: String
  token_contains: String
  token_not_contains: String
  token_contains_nocase: String
  token_not_contains_nocase: String
  token_: Token_filter
  tokenURI: String
  tokenURI_not: String
  tokenURI_gt: String
  tokenURI_lt: String
  tokenURI_gte: String
  tokenURI_lte: String
  tokenURI_in: [String!]
  tokenURI_not_in: [String!]
  tokenURI_starts_with: String
  tokenURI_starts_with_nocase: String
  tokenURI_not_starts_with: String
  tokenURI_not_starts_with_nocase: String
  tokenURI_ends_with: String
  tokenURI_ends_with_nocase: String
  tokenURI_not_ends_with: String
  tokenURI_not_ends_with_nocase: String
  tokenURI_contains: String
  tokenURI_not_contains: String
  tokenURI_contains_nocase: String
  tokenURI_not_contains_nocase: String
  _change_block: BlockChangedFilter
  and: [Position_filter]
  or: [Position_filter]
}

enum PositionLend_orderBy {
  id
  bucket
  bucket__id
  bucket__bucketIndex
  bucket__bucketPrice
  bucket__exchangeRate
  bucket__poolAddress
  bucket__collateral
  bucket__deposit
  bucket__lpb
  bucketIndex
  depositTime
  lpb
  lpbValueInQuote
  tokenId
}

input PositionLend_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  bucket: String
  bucket_not: String
  bucket_gt: String
  bucket_lt: String
  bucket_gte: String
  bucket_lte: String
  bucket_in: [String!]
  bucket_not_in: [String!]
  bucket_starts_with: String
  bucket_starts_with_nocase: String
  bucket_not_starts_with: String
  bucket_not_starts_with_nocase: String
  bucket_ends_with: String
  bucket_ends_with_nocase: String
  bucket_not_ends_with: String
  bucket_not_ends_with_nocase: String
  bucket_contains: String
  bucket_not_contains: String
  bucket_contains_nocase: String
  bucket_not_contains_nocase: String
  bucket_: Bucket_filter
  bucketIndex: Int
  bucketIndex_not: Int
  bucketIndex_gt: Int
  bucketIndex_lt: Int
  bucketIndex_gte: Int
  bucketIndex_lte: Int
  bucketIndex_in: [Int!]
  bucketIndex_not_in: [Int!]
  depositTime: BigInt
  depositTime_not: BigInt
  depositTime_gt: BigInt
  depositTime_lt: BigInt
  depositTime_gte: BigInt
  depositTime_lte: BigInt
  depositTime_in: [BigInt!]
  depositTime_not_in: [BigInt!]
  lpb: BigDecimal
  lpb_not: BigDecimal
  lpb_gt: BigDecimal
  lpb_lt: BigDecimal
  lpb_gte: BigDecimal
  lpb_lte: BigDecimal
  lpb_in: [BigDecimal!]
  lpb_not_in: [BigDecimal!]
  lpbValueInQuote: BigDecimal
  lpbValueInQuote_not: BigDecimal
  lpbValueInQuote_gt: BigDecimal
  lpbValueInQuote_lt: BigDecimal
  lpbValueInQuote_gte: BigDecimal
  lpbValueInQuote_lte: BigDecimal
  lpbValueInQuote_in: [BigDecimal!]
  lpbValueInQuote_not_in: [BigDecimal!]
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [PositionLend_filter]
  or: [PositionLend_filter]
}

enum Burn_orderBy {
  id
  lender
  tokenId
  blockNumber
  blockTimestamp
  transactionHash
}

input Burn_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Burn_filter]
  or: [Burn_filter]
}

enum MemorializePosition_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lender
  tokenId
  indexes
  blockNumber
  blockTimestamp
  transactionHash
}

input MemorializePosition_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  indexes: [Int!]
  indexes_not: [Int!]
  indexes_contains: [Int!]
  indexes_not_contains: [Int!]
  indexes_contains_nocase: [Int!]
  indexes_not_contains_nocase: [Int!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [MemorializePosition_filter]
  or: [MemorializePosition_filter]
}

enum Mint_orderBy {
  id
  lender
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  tokenId
  blockNumber
  blockTimestamp
  transactionHash
}

input Mint_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [Mint_filter]
  or: [Mint_filter]
}

enum RedeemPosition_orderBy {
  id
  pool
  pool__id
  pool__createdAtBlockNumber
  pool__createdAtTimestamp
  pool__poolSize
  pool__t0debt
  pool__inflator
  pool__borrowRate
  pool__lendRate
  pool__borrowFeeRate
  pool__depositFeeRate
  pool__pledgedCollateral
  pool__totalInterestEarned
  pool__txCount
  pool__poolType
  pool__loansCount
  pool__maxBorrower
  pool__quoteTokenFlashloaned
  pool__collateralFlashloaned
  pool__hpb
  pool__hpbIndex
  pool__htp
  pool__htpIndex
  pool__lup
  pool__lupIndex
  pool__reserves
  pool__claimableReserves
  pool__claimableReservesRemaining
  pool__burnEpoch
  pool__totalAjnaBurned
  pool__minDebtAmount
  pool__actualUtilization
  pool__targetUtilization
  pool__totalBondEscrowed
  pool__quoteTokenBalance
  pool__collateralBalance
  pool__subsetHash
  lender
  tokenId
  indexes
  blockNumber
  blockTimestamp
  transactionHash
}

input RedeemPosition_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  pool: String
  pool_not: String
  pool_gt: String
  pool_lt: String
  pool_gte: String
  pool_lte: String
  pool_in: [String!]
  pool_not_in: [String!]
  pool_starts_with: String
  pool_starts_with_nocase: String
  pool_not_starts_with: String
  pool_not_starts_with_nocase: String
  pool_ends_with: String
  pool_ends_with_nocase: String
  pool_not_ends_with: String
  pool_not_ends_with_nocase: String
  pool_contains: String
  pool_not_contains: String
  pool_contains_nocase: String
  pool_not_contains_nocase: String
  pool_: Pool_filter
  lender: Bytes
  lender_not: Bytes
  lender_gt: Bytes
  lender_lt: Bytes
  lender_gte: Bytes
  lender_lte: Bytes
  lender_in: [Bytes!]
  lender_not_in: [Bytes!]
  lender_contains: Bytes
  lender_not_contains: Bytes
  tokenId: BigInt
  tokenId_not: BigInt
  tokenId_gt: BigInt
  tokenId_lt: BigInt
  tokenId_gte: BigInt
  tokenId_lte: BigInt
  tokenId_in: [BigInt!]
  tokenId_not_in: [BigInt!]
  indexes: [Int!]
  indexes_not: [Int!]
  indexes_contains: [Int!]
  indexes_not_contains: [Int!]
  indexes_contains_nocase: [Int!]
  indexes_not_contains_nocase: [Int!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [RedeemPosition_filter]
  or: [RedeemPosition_filter]
}

enum GrantFund_orderBy {
  id
  treasury
  distributionPeriods
  totalDelegationRewardsClaimed
}

input GrantFund_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  treasury: BigDecimal
  treasury_not: BigDecimal
  treasury_gt: BigDecimal
  treasury_lt: BigDecimal
  treasury_gte: BigDecimal
  treasury_lte: BigDecimal
  treasury_in: [BigDecimal!]
  treasury_not_in: [BigDecimal!]
  distributionPeriods: [String!]
  distributionPeriods_not: [String!]
  distributionPeriods_contains: [String!]
  distributionPeriods_not_contains: [String!]
  distributionPeriods_contains_nocase: [String!]
  distributionPeriods_not_contains_nocase: [String!]
  distributionPeriods_: DistributionPeriod_filter
  totalDelegationRewardsClaimed: BigDecimal
  totalDelegationRewardsClaimed_not: BigDecimal
  totalDelegationRewardsClaimed_gt: BigDecimal
  totalDelegationRewardsClaimed_lt: BigDecimal
  totalDelegationRewardsClaimed_gte: BigDecimal
  totalDelegationRewardsClaimed_lte: BigDecimal
  totalDelegationRewardsClaimed_in: [BigDecimal!]
  totalDelegationRewardsClaimed_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [GrantFund_filter]
  or: [GrantFund_filter]
}

enum DistributionPeriod_orderBy {
  id
  distributionId
  startBlock
  endBlock
  topSlate
  topSlate__id
  topSlate__totalTokensRequested
  topSlate__totalFundingVotesReceived
  topSlate__updateBlock
  slatesSubmitted
  fundsAvailable
  delegationRewardsClaimed
  fundingVotePowerUsed
  screeningVotesCast
  votes
  proposals
  totalTokensDistributed
}

input DistributionPeriod_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distributionId: BigInt
  distributionId_not: BigInt
  distributionId_gt: BigInt
  distributionId_lt: BigInt
  distributionId_gte: BigInt
  distributionId_lte: BigInt
  distributionId_in: [BigInt!]
  distributionId_not_in: [BigInt!]
  startBlock: BigInt
  startBlock_not: BigInt
  startBlock_gt: BigInt
  startBlock_lt: BigInt
  startBlock_gte: BigInt
  startBlock_lte: BigInt
  startBlock_in: [BigInt!]
  startBlock_not_in: [BigInt!]
  endBlock: BigInt
  endBlock_not: BigInt
  endBlock_gt: BigInt
  endBlock_lt: BigInt
  endBlock_gte: BigInt
  endBlock_lte: BigInt
  endBlock_in: [BigInt!]
  endBlock_not_in: [BigInt!]
  topSlate: String
  topSlate_not: String
  topSlate_gt: String
  topSlate_lt: String
  topSlate_gte: String
  topSlate_lte: String
  topSlate_in: [String!]
  topSlate_not_in: [String!]
  topSlate_starts_with: String
  topSlate_starts_with_nocase: String
  topSlate_not_starts_with: String
  topSlate_not_starts_with_nocase: String
  topSlate_ends_with: String
  topSlate_ends_with_nocase: String
  topSlate_not_ends_with: String
  topSlate_not_ends_with_nocase: String
  topSlate_contains: String
  topSlate_not_contains: String
  topSlate_contains_nocase: String
  topSlate_not_contains_nocase: String
  topSlate_: FundedSlate_filter
  slatesSubmitted: [String!]
  slatesSubmitted_not: [String!]
  slatesSubmitted_contains: [String!]
  slatesSubmitted_not_contains: [String!]
  slatesSubmitted_contains_nocase: [String!]
  slatesSubmitted_not_contains_nocase: [String!]
  slatesSubmitted_: FundedSlate_filter
  fundsAvailable: BigDecimal
  fundsAvailable_not: BigDecimal
  fundsAvailable_gt: BigDecimal
  fundsAvailable_lt: BigDecimal
  fundsAvailable_gte: BigDecimal
  fundsAvailable_lte: BigDecimal
  fundsAvailable_in: [BigDecimal!]
  fundsAvailable_not_in: [BigDecimal!]
  delegationRewardsClaimed: BigDecimal
  delegationRewardsClaimed_not: BigDecimal
  delegationRewardsClaimed_gt: BigDecimal
  delegationRewardsClaimed_lt: BigDecimal
  delegationRewardsClaimed_gte: BigDecimal
  delegationRewardsClaimed_lte: BigDecimal
  delegationRewardsClaimed_in: [BigDecimal!]
  delegationRewardsClaimed_not_in: [BigDecimal!]
  fundingVotePowerUsed: BigDecimal
  fundingVotePowerUsed_not: BigDecimal
  fundingVotePowerUsed_gt: BigDecimal
  fundingVotePowerUsed_lt: BigDecimal
  fundingVotePowerUsed_gte: BigDecimal
  fundingVotePowerUsed_lte: BigDecimal
  fundingVotePowerUsed_in: [BigDecimal!]
  fundingVotePowerUsed_not_in: [BigDecimal!]
  screeningVotesCast: BigDecimal
  screeningVotesCast_not: BigDecimal
  screeningVotesCast_gt: BigDecimal
  screeningVotesCast_lt: BigDecimal
  screeningVotesCast_gte: BigDecimal
  screeningVotesCast_lte: BigDecimal
  screeningVotesCast_in: [BigDecimal!]
  screeningVotesCast_not_in: [BigDecimal!]
  votes: [String!]
  votes_not: [String!]
  votes_contains: [String!]
  votes_not_contains: [String!]
  votes_contains_nocase: [String!]
  votes_not_contains_nocase: [String!]
  votes_: DistributionPeriodVote_filter
  proposals: [String!]
  proposals_not: [String!]
  proposals_contains: [String!]
  proposals_not_contains: [String!]
  proposals_contains_nocase: [String!]
  proposals_not_contains_nocase: [String!]
  proposals_: Proposal_filter
  totalTokensDistributed: BigDecimal
  totalTokensDistributed_not: BigDecimal
  totalTokensDistributed_gt: BigDecimal
  totalTokensDistributed_lt: BigDecimal
  totalTokensDistributed_gte: BigDecimal
  totalTokensDistributed_lte: BigDecimal
  totalTokensDistributed_in: [BigDecimal!]
  totalTokensDistributed_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [DistributionPeriod_filter]
  or: [DistributionPeriod_filter]
}

enum Proposal_orderBy {
  id
  proposalId
  description
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  executed
  screeningVotesReceived
  fundingVotesReceived
  fundingVotesNegative
  fundingVotesPositive
  totalTokensRequested
  params
}

input Proposal_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  proposalId: BigInt
  proposalId_not: BigInt
  proposalId_gt: BigInt
  proposalId_lt: BigInt
  proposalId_gte: BigInt
  proposalId_lte: BigInt
  proposalId_in: [BigInt!]
  proposalId_not_in: [BigInt!]
  description: String
  description_not: String
  description_gt: String
  description_lt: String
  description_gte: String
  description_lte: String
  description_in: [String!]
  description_not_in: [String!]
  description_starts_with: String
  description_starts_with_nocase: String
  description_not_starts_with: String
  description_not_starts_with_nocase: String
  description_ends_with: String
  description_ends_with_nocase: String
  description_not_ends_with: String
  description_not_ends_with_nocase: String
  description_contains: String
  description_not_contains: String
  description_contains_nocase: String
  description_not_contains_nocase: String
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  executed: Boolean
  executed_not: Boolean
  executed_gt: Boolean
  executed_lt: Boolean
  executed_gte: Boolean
  executed_lte: Boolean
  executed_in: [Boolean!]
  executed_not_in: [Boolean!]
  screeningVotesReceived: BigDecimal
  screeningVotesReceived_not: BigDecimal
  screeningVotesReceived_gt: BigDecimal
  screeningVotesReceived_lt: BigDecimal
  screeningVotesReceived_gte: BigDecimal
  screeningVotesReceived_lte: BigDecimal
  screeningVotesReceived_in: [BigDecimal!]
  screeningVotesReceived_not_in: [BigDecimal!]
  fundingVotesReceived: BigDecimal
  fundingVotesReceived_not: BigDecimal
  fundingVotesReceived_gt: BigDecimal
  fundingVotesReceived_lt: BigDecimal
  fundingVotesReceived_gte: BigDecimal
  fundingVotesReceived_lte: BigDecimal
  fundingVotesReceived_in: [BigDecimal!]
  fundingVotesReceived_not_in: [BigDecimal!]
  fundingVotesNegative: BigDecimal
  fundingVotesNegative_not: BigDecimal
  fundingVotesNegative_gt: BigDecimal
  fundingVotesNegative_lt: BigDecimal
  fundingVotesNegative_gte: BigDecimal
  fundingVotesNegative_lte: BigDecimal
  fundingVotesNegative_in: [BigDecimal!]
  fundingVotesNegative_not_in: [BigDecimal!]
  fundingVotesPositive: BigDecimal
  fundingVotesPositive_not: BigDecimal
  fundingVotesPositive_gt: BigDecimal
  fundingVotesPositive_lt: BigDecimal
  fundingVotesPositive_gte: BigDecimal
  fundingVotesPositive_lte: BigDecimal
  fundingVotesPositive_in: [BigDecimal!]
  fundingVotesPositive_not_in: [BigDecimal!]
  totalTokensRequested: BigDecimal
  totalTokensRequested_not: BigDecimal
  totalTokensRequested_gt: BigDecimal
  totalTokensRequested_lt: BigDecimal
  totalTokensRequested_gte: BigDecimal
  totalTokensRequested_lte: BigDecimal
  totalTokensRequested_in: [BigDecimal!]
  totalTokensRequested_not_in: [BigDecimal!]
  params: [String!]
  params_not: [String!]
  params_contains: [String!]
  params_not_contains: [String!]
  params_contains_nocase: [String!]
  params_not_contains_nocase: [String!]
  params_: ProposalParams_filter
  _change_block: BlockChangedFilter
  and: [Proposal_filter]
  or: [Proposal_filter]
}

enum ProposalParams_orderBy {
  id
  target
  value
  calldata
  recipient
  tokensRequested
}

input ProposalParams_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  target: Bytes
  target_not: Bytes
  target_gt: Bytes
  target_lt: Bytes
  target_gte: Bytes
  target_lte: Bytes
  target_in: [Bytes!]
  target_not_in: [Bytes!]
  target_contains: Bytes
  target_not_contains: Bytes
  value: BigInt
  value_not: BigInt
  value_gt: BigInt
  value_lt: BigInt
  value_gte: BigInt
  value_lte: BigInt
  value_in: [BigInt!]
  value_not_in: [BigInt!]
  calldata: Bytes
  calldata_not: Bytes
  calldata_gt: Bytes
  calldata_lt: Bytes
  calldata_gte: Bytes
  calldata_lte: Bytes
  calldata_in: [Bytes!]
  calldata_not_in: [Bytes!]
  calldata_contains: Bytes
  calldata_not_contains: Bytes
  recipient: Bytes
  recipient_not: Bytes
  recipient_gt: Bytes
  recipient_lt: Bytes
  recipient_gte: Bytes
  recipient_lte: Bytes
  recipient_in: [Bytes!]
  recipient_not_in: [Bytes!]
  recipient_contains: Bytes
  recipient_not_contains: Bytes
  tokensRequested: BigDecimal
  tokensRequested_not: BigDecimal
  tokensRequested_gt: BigDecimal
  tokensRequested_lt: BigDecimal
  tokensRequested_gte: BigDecimal
  tokensRequested_lte: BigDecimal
  tokensRequested_in: [BigDecimal!]
  tokensRequested_not_in: [BigDecimal!]
  _change_block: BlockChangedFilter
  and: [ProposalParams_filter]
  or: [ProposalParams_filter]
}

enum DistributionPeriodVote_orderBy {
  id
  voter
  voter__id
  voter__rewardsClaimed
  voter__tokensDelegated
  voter__txCount
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  initialFundingStageVotingPowerRecordedPostVote
  remainingFundingStageVotingPowerRecordedPostVote
  initialScreeningStageVotingPowerRecordedPostVote
  remainingScreeningStageVotingPowerRecordedPostVote
  screeningVotes
  fundingVotes
}

input DistributionPeriodVote_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  voter: String
  voter_not: String
  voter_gt: String
  voter_lt: String
  voter_gte: String
  voter_lte: String
  voter_in: [String!]
  voter_not_in: [String!]
  voter_starts_with: String
  voter_starts_with_nocase: String
  voter_not_starts_with: String
  voter_not_starts_with_nocase: String
  voter_ends_with: String
  voter_ends_with_nocase: String
  voter_not_ends_with: String
  voter_not_ends_with_nocase: String
  voter_contains: String
  voter_not_contains: String
  voter_contains_nocase: String
  voter_not_contains_nocase: String
  voter_: Account_filter
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  initialFundingStageVotingPowerRecordedPostVote: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_not: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_gt: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_lt: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_gte: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_lte: BigDecimal
  initialFundingStageVotingPowerRecordedPostVote_in: [BigDecimal!]
  initialFundingStageVotingPowerRecordedPostVote_not_in: [BigDecimal!]
  remainingFundingStageVotingPowerRecordedPostVote: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_not: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_gt: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_lt: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_gte: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_lte: BigDecimal
  remainingFundingStageVotingPowerRecordedPostVote_in: [BigDecimal!]
  remainingFundingStageVotingPowerRecordedPostVote_not_in: [BigDecimal!]
  initialScreeningStageVotingPowerRecordedPostVote: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_not: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_gt: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_lt: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_gte: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_lte: BigDecimal
  initialScreeningStageVotingPowerRecordedPostVote_in: [BigDecimal!]
  initialScreeningStageVotingPowerRecordedPostVote_not_in: [BigDecimal!]
  remainingScreeningStageVotingPowerRecordedPostVote: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_not: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_gt: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_lt: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_gte: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_lte: BigDecimal
  remainingScreeningStageVotingPowerRecordedPostVote_in: [BigDecimal!]
  remainingScreeningStageVotingPowerRecordedPostVote_not_in: [BigDecimal!]
  screeningVotes: [String!]
  screeningVotes_not: [String!]
  screeningVotes_contains: [String!]
  screeningVotes_not_contains: [String!]
  screeningVotes_contains_nocase: [String!]
  screeningVotes_not_contains_nocase: [String!]
  screeningVotes_: ScreeningVote_filter
  fundingVotes: [String!]
  fundingVotes_not: [String!]
  fundingVotes_contains: [String!]
  fundingVotes_not_contains: [String!]
  fundingVotes_contains_nocase: [String!]
  fundingVotes_not_contains_nocase: [String!]
  fundingVotes_: FundingVote_filter
  _change_block: BlockChangedFilter
  and: [DistributionPeriodVote_filter]
  or: [DistributionPeriodVote_filter]
}

enum ScreeningVote_orderBy {
  id
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  voter
  voter__id
  voter__rewardsClaimed
  voter__tokensDelegated
  voter__txCount
  proposal
  proposal__id
  proposal__proposalId
  proposal__description
  proposal__executed
  proposal__screeningVotesReceived
  proposal__fundingVotesReceived
  proposal__fundingVotesNegative
  proposal__fundingVotesPositive
  proposal__totalTokensRequested
  totalVotesCast
  votesCast
}

input ScreeningVote_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  voter: String
  voter_not: String
  voter_gt: String
  voter_lt: String
  voter_gte: String
  voter_lte: String
  voter_in: [String!]
  voter_not_in: [String!]
  voter_starts_with: String
  voter_starts_with_nocase: String
  voter_not_starts_with: String
  voter_not_starts_with_nocase: String
  voter_ends_with: String
  voter_ends_with_nocase: String
  voter_not_ends_with: String
  voter_not_ends_with_nocase: String
  voter_contains: String
  voter_not_contains: String
  voter_contains_nocase: String
  voter_not_contains_nocase: String
  voter_: Account_filter
  proposal: String
  proposal_not: String
  proposal_gt: String
  proposal_lt: String
  proposal_gte: String
  proposal_lte: String
  proposal_in: [String!]
  proposal_not_in: [String!]
  proposal_starts_with: String
  proposal_starts_with_nocase: String
  proposal_not_starts_with: String
  proposal_not_starts_with_nocase: String
  proposal_ends_with: String
  proposal_ends_with_nocase: String
  proposal_not_ends_with: String
  proposal_not_ends_with_nocase: String
  proposal_contains: String
  proposal_not_contains: String
  proposal_contains_nocase: String
  proposal_not_contains_nocase: String
  proposal_: Proposal_filter
  totalVotesCast: BigDecimal
  totalVotesCast_not: BigDecimal
  totalVotesCast_gt: BigDecimal
  totalVotesCast_lt: BigDecimal
  totalVotesCast_gte: BigDecimal
  totalVotesCast_lte: BigDecimal
  totalVotesCast_in: [BigDecimal!]
  totalVotesCast_not_in: [BigDecimal!]
  votesCast: [String!]
  votesCast_not: [String!]
  votesCast_contains: [String!]
  votesCast_not_contains: [String!]
  votesCast_contains_nocase: [String!]
  votesCast_not_contains_nocase: [String!]
  votesCast_: VoteCast_filter
  _change_block: BlockChangedFilter
  and: [ScreeningVote_filter]
  or: [ScreeningVote_filter]
}

enum FundingVote_orderBy {
  id
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  voter
  voter__id
  voter__rewardsClaimed
  voter__tokensDelegated
  voter__txCount
  proposal
  proposal__id
  proposal__proposalId
  proposal__description
  proposal__executed
  proposal__screeningVotesReceived
  proposal__fundingVotesReceived
  proposal__fundingVotesNegative
  proposal__fundingVotesPositive
  proposal__totalTokensRequested
  totalVotesCast
  votingPowerUsed
  votesCast
}

input FundingVote_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  voter: String
  voter_not: String
  voter_gt: String
  voter_lt: String
  voter_gte: String
  voter_lte: String
  voter_in: [String!]
  voter_not_in: [String!]
  voter_starts_with: String
  voter_starts_with_nocase: String
  voter_not_starts_with: String
  voter_not_starts_with_nocase: String
  voter_ends_with: String
  voter_ends_with_nocase: String
  voter_not_ends_with: String
  voter_not_ends_with_nocase: String
  voter_contains: String
  voter_not_contains: String
  voter_contains_nocase: String
  voter_not_contains_nocase: String
  voter_: Account_filter
  proposal: String
  proposal_not: String
  proposal_gt: String
  proposal_lt: String
  proposal_gte: String
  proposal_lte: String
  proposal_in: [String!]
  proposal_not_in: [String!]
  proposal_starts_with: String
  proposal_starts_with_nocase: String
  proposal_not_starts_with: String
  proposal_not_starts_with_nocase: String
  proposal_ends_with: String
  proposal_ends_with_nocase: String
  proposal_not_ends_with: String
  proposal_not_ends_with_nocase: String
  proposal_contains: String
  proposal_not_contains: String
  proposal_contains_nocase: String
  proposal_not_contains_nocase: String
  proposal_: Proposal_filter
  totalVotesCast: BigDecimal
  totalVotesCast_not: BigDecimal
  totalVotesCast_gt: BigDecimal
  totalVotesCast_lt: BigDecimal
  totalVotesCast_gte: BigDecimal
  totalVotesCast_lte: BigDecimal
  totalVotesCast_in: [BigDecimal!]
  totalVotesCast_not_in: [BigDecimal!]
  votingPowerUsed: BigDecimal
  votingPowerUsed_not: BigDecimal
  votingPowerUsed_gt: BigDecimal
  votingPowerUsed_lt: BigDecimal
  votingPowerUsed_gte: BigDecimal
  votingPowerUsed_lte: BigDecimal
  votingPowerUsed_in: [BigDecimal!]
  votingPowerUsed_not_in: [BigDecimal!]
  votesCast: [String!]
  votesCast_not: [String!]
  votesCast_contains: [String!]
  votesCast_not_contains: [String!]
  votesCast_contains_nocase: [String!]
  votesCast_not_contains_nocase: [String!]
  votesCast_: VoteCast_filter
  _change_block: BlockChangedFilter
  and: [FundingVote_filter]
  or: [FundingVote_filter]
}

enum FundedSlate_orderBy {
  id
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  proposals
  totalTokensRequested
  totalFundingVotesReceived
  updateBlock
}

input FundedSlate_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  proposals: [String!]
  proposals_not: [String!]
  proposals_contains: [String!]
  proposals_not_contains: [String!]
  proposals_contains_nocase: [String!]
  proposals_not_contains_nocase: [String!]
  proposals_: Proposal_filter
  totalTokensRequested: BigDecimal
  totalTokensRequested_not: BigDecimal
  totalTokensRequested_gt: BigDecimal
  totalTokensRequested_lt: BigDecimal
  totalTokensRequested_gte: BigDecimal
  totalTokensRequested_lte: BigDecimal
  totalTokensRequested_in: [BigDecimal!]
  totalTokensRequested_not_in: [BigDecimal!]
  totalFundingVotesReceived: BigDecimal
  totalFundingVotesReceived_not: BigDecimal
  totalFundingVotesReceived_gt: BigDecimal
  totalFundingVotesReceived_lt: BigDecimal
  totalFundingVotesReceived_gte: BigDecimal
  totalFundingVotesReceived_lte: BigDecimal
  totalFundingVotesReceived_in: [BigDecimal!]
  totalFundingVotesReceived_not_in: [BigDecimal!]
  updateBlock: BigInt
  updateBlock_not: BigInt
  updateBlock_gt: BigInt
  updateBlock_lt: BigInt
  updateBlock_gte: BigInt
  updateBlock_lte: BigInt
  updateBlock_in: [BigInt!]
  updateBlock_not_in: [BigInt!]
  _change_block: BlockChangedFilter
  and: [FundedSlate_filter]
  or: [FundedSlate_filter]
}

enum DelegateRewardClaimed_orderBy {
  id
  delegateeAddress_
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  rewardClaimed_
  blockNumber
  blockTimestamp
  transactionHash
}

input DelegateRewardClaimed_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  delegateeAddress_: Bytes
  delegateeAddress__not: Bytes
  delegateeAddress__gt: Bytes
  delegateeAddress__lt: Bytes
  delegateeAddress__gte: Bytes
  delegateeAddress__lte: Bytes
  delegateeAddress__in: [Bytes!]
  delegateeAddress__not_in: [Bytes!]
  delegateeAddress__contains: Bytes
  delegateeAddress__not_contains: Bytes
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  rewardClaimed_: BigInt
  rewardClaimed__not: BigInt
  rewardClaimed__gt: BigInt
  rewardClaimed__lt: BigInt
  rewardClaimed__gte: BigInt
  rewardClaimed__lte: BigInt
  rewardClaimed__in: [BigInt!]
  rewardClaimed__not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DelegateRewardClaimed_filter]
  or: [DelegateRewardClaimed_filter]
}

enum FundTreasury_orderBy {
  id
  amount
  treasuryBalance
  blockNumber
  blockTimestamp
  transactionHash
}

input FundTreasury_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  amount: BigInt
  amount_not: BigInt
  amount_gt: BigInt
  amount_lt: BigInt
  amount_gte: BigInt
  amount_lte: BigInt
  amount_in: [BigInt!]
  amount_not_in: [BigInt!]
  treasuryBalance: BigDecimal
  treasuryBalance_not: BigDecimal
  treasuryBalance_gt: BigDecimal
  treasuryBalance_lt: BigDecimal
  treasuryBalance_gte: BigDecimal
  treasuryBalance_lte: BigDecimal
  treasuryBalance_in: [BigDecimal!]
  treasuryBalance_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [FundTreasury_filter]
  or: [FundTreasury_filter]
}

enum FundedSlateUpdated_orderBy {
  id
  distributionId_
  fundedSlateHash_
  blockNumber
  blockTimestamp
  transactionHash
}

input FundedSlateUpdated_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distributionId_: BigInt
  distributionId__not: BigInt
  distributionId__gt: BigInt
  distributionId__lt: BigInt
  distributionId__gte: BigInt
  distributionId__lte: BigInt
  distributionId__in: [BigInt!]
  distributionId__not_in: [BigInt!]
  fundedSlateHash_: Bytes
  fundedSlateHash__not: Bytes
  fundedSlateHash__gt: Bytes
  fundedSlateHash__lt: Bytes
  fundedSlateHash__gte: Bytes
  fundedSlateHash__lte: Bytes
  fundedSlateHash__in: [Bytes!]
  fundedSlateHash__not_in: [Bytes!]
  fundedSlateHash__contains: Bytes
  fundedSlateHash__not_contains: Bytes
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [FundedSlateUpdated_filter]
  or: [FundedSlateUpdated_filter]
}

enum ProposalCreated_orderBy {
  id
  proposal
  proposal__id
  proposal__proposalId
  proposal__description
  proposal__executed
  proposal__screeningVotesReceived
  proposal__fundingVotesReceived
  proposal__fundingVotesNegative
  proposal__fundingVotesPositive
  proposal__totalTokensRequested
  proposer
  targets
  values
  signatures
  calldatas
  startBlock
  endBlock
  description
  blockNumber
  blockTimestamp
  transactionHash
}

input ProposalCreated_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  proposal: String
  proposal_not: String
  proposal_gt: String
  proposal_lt: String
  proposal_gte: String
  proposal_lte: String
  proposal_in: [String!]
  proposal_not_in: [String!]
  proposal_starts_with: String
  proposal_starts_with_nocase: String
  proposal_not_starts_with: String
  proposal_not_starts_with_nocase: String
  proposal_ends_with: String
  proposal_ends_with_nocase: String
  proposal_not_ends_with: String
  proposal_not_ends_with_nocase: String
  proposal_contains: String
  proposal_not_contains: String
  proposal_contains_nocase: String
  proposal_not_contains_nocase: String
  proposal_: Proposal_filter
  proposer: Bytes
  proposer_not: Bytes
  proposer_gt: Bytes
  proposer_lt: Bytes
  proposer_gte: Bytes
  proposer_lte: Bytes
  proposer_in: [Bytes!]
  proposer_not_in: [Bytes!]
  proposer_contains: Bytes
  proposer_not_contains: Bytes
  targets: [Bytes!]
  targets_not: [Bytes!]
  targets_contains: [Bytes!]
  targets_not_contains: [Bytes!]
  targets_contains_nocase: [Bytes!]
  targets_not_contains_nocase: [Bytes!]
  values: [BigDecimal!]
  values_not: [BigDecimal!]
  values_contains: [BigDecimal!]
  values_not_contains: [BigDecimal!]
  values_contains_nocase: [BigDecimal!]
  values_not_contains_nocase: [BigDecimal!]
  signatures: [String!]
  signatures_not: [String!]
  signatures_contains: [String!]
  signatures_not_contains: [String!]
  signatures_contains_nocase: [String!]
  signatures_not_contains_nocase: [String!]
  calldatas: [Bytes!]
  calldatas_not: [Bytes!]
  calldatas_contains: [Bytes!]
  calldatas_not_contains: [Bytes!]
  calldatas_contains_nocase: [Bytes!]
  calldatas_not_contains_nocase: [Bytes!]
  startBlock: BigInt
  startBlock_not: BigInt
  startBlock_gt: BigInt
  startBlock_lt: BigInt
  startBlock_gte: BigInt
  startBlock_lte: BigInt
  startBlock_in: [BigInt!]
  startBlock_not_in: [BigInt!]
  endBlock: BigInt
  endBlock_not: BigInt
  endBlock_gt: BigInt
  endBlock_lt: BigInt
  endBlock_gte: BigInt
  endBlock_lte: BigInt
  endBlock_in: [BigInt!]
  endBlock_not_in: [BigInt!]
  description: String
  description_not: String
  description_gt: String
  description_lt: String
  description_gte: String
  description_lte: String
  description_in: [String!]
  description_not_in: [String!]
  description_starts_with: String
  description_starts_with_nocase: String
  description_not_starts_with: String
  description_not_starts_with_nocase: String
  description_ends_with: String
  description_ends_with_nocase: String
  description_not_ends_with: String
  description_not_ends_with_nocase: String
  description_contains: String
  description_not_contains: String
  description_contains_nocase: String
  description_not_contains_nocase: String
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ProposalCreated_filter]
  or: [ProposalCreated_filter]
}

enum ProposalExecuted_orderBy {
  id
  proposalId
  blockNumber
  blockTimestamp
  transactionHash
}

input ProposalExecuted_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  proposalId: BigInt
  proposalId_not: BigInt
  proposalId_gt: BigInt
  proposalId_lt: BigInt
  proposalId_gte: BigInt
  proposalId_lte: BigInt
  proposalId_in: [BigInt!]
  proposalId_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [ProposalExecuted_filter]
  or: [ProposalExecuted_filter]
}

enum DistributionPeriodStarted_orderBy {
  id
  distribution
  distribution__id
  distribution__distributionId
  distribution__startBlock
  distribution__endBlock
  distribution__fundsAvailable
  distribution__delegationRewardsClaimed
  distribution__fundingVotePowerUsed
  distribution__screeningVotesCast
  distribution__totalTokensDistributed
  startBlock
  endBlock
  blockNumber
  blockTimestamp
  transactionHash
}

input DistributionPeriodStarted_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  distribution: String
  distribution_not: String
  distribution_gt: String
  distribution_lt: String
  distribution_gte: String
  distribution_lte: String
  distribution_in: [String!]
  distribution_not_in: [String!]
  distribution_starts_with: String
  distribution_starts_with_nocase: String
  distribution_not_starts_with: String
  distribution_not_starts_with_nocase: String
  distribution_ends_with: String
  distribution_ends_with_nocase: String
  distribution_not_ends_with: String
  distribution_not_ends_with_nocase: String
  distribution_contains: String
  distribution_not_contains: String
  distribution_contains_nocase: String
  distribution_not_contains_nocase: String
  distribution_: DistributionPeriod_filter
  startBlock: BigInt
  startBlock_not: BigInt
  startBlock_gt: BigInt
  startBlock_lt: BigInt
  startBlock_gte: BigInt
  startBlock_lte: BigInt
  startBlock_in: [BigInt!]
  startBlock_not_in: [BigInt!]
  endBlock: BigInt
  endBlock_not: BigInt
  endBlock_gt: BigInt
  endBlock_lt: BigInt
  endBlock_gte: BigInt
  endBlock_lte: BigInt
  endBlock_in: [BigInt!]
  endBlock_not_in: [BigInt!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DistributionPeriodStarted_filter]
  or: [DistributionPeriodStarted_filter]
}

enum VoteCast_orderBy {
  id
  voter
  proposalId
  support
  weight
  reason
  blockNumber
  blockTimestamp
  transactionHash
}

input VoteCast_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  voter: Bytes
  voter_not: Bytes
  voter_gt: Bytes
  voter_lt: Bytes
  voter_gte: Bytes
  voter_lte: Bytes
  voter_in: [Bytes!]
  voter_not_in: [Bytes!]
  voter_contains: Bytes
  voter_not_contains: Bytes
  proposalId: BigInt
  proposalId_not: BigInt
  proposalId_gt: BigInt
  proposalId_lt: BigInt
  proposalId_gte: BigInt
  proposalId_lte: BigInt
  proposalId_in: [BigInt!]
  proposalId_not_in: [BigInt!]
  support: Int
  support_not: Int
  support_gt: Int
  support_lt: Int
  support_gte: Int
  support_lte: Int
  support_in: [Int!]
  support_not_in: [Int!]
  weight: BigDecimal
  weight_not: BigDecimal
  weight_gt: BigDecimal
  weight_lt: BigDecimal
  weight_gte: BigDecimal
  weight_lte: BigDecimal
  weight_in: [BigDecimal!]
  weight_not_in: [BigDecimal!]
  reason: String
  reason_not: String
  reason_gt: String
  reason_lt: String
  reason_gte: String
  reason_lte: String
  reason_in: [String!]
  reason_not_in: [String!]
  reason_starts_with: String
  reason_starts_with_nocase: String
  reason_not_starts_with: String
  reason_not_starts_with_nocase: String
  reason_ends_with: String
  reason_ends_with_nocase: String
  reason_not_ends_with: String
  reason_not_ends_with_nocase: String
  reason_contains: String
  reason_not_contains: String
  reason_contains_nocase: String
  reason_not_contains_nocase: String
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [VoteCast_filter]
  or: [VoteCast_filter]
}

enum DelegateChanged_orderBy {
  id
  delegator
  fromDelegate
  toDelegate
  blockNumber
  blockTimestamp
  transactionHash
}

input DelegateChanged_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  delegator: Bytes
  delegator_not: Bytes
  delegator_gt: Bytes
  delegator_lt: Bytes
  delegator_gte: Bytes
  delegator_lte: Bytes
  delegator_in: [Bytes!]
  delegator_not_in: [Bytes!]
  delegator_contains: Bytes
  delegator_not_contains: Bytes
  fromDelegate: Bytes
  fromDelegate_not: Bytes
  fromDelegate_gt: Bytes
  fromDelegate_lt: Bytes
  fromDelegate_gte: Bytes
  fromDelegate_lte: Bytes
  fromDelegate_in: [Bytes!]
  fromDelegate_not_in: [Bytes!]
  fromDelegate_contains: Bytes
  fromDelegate_not_contains: Bytes
  toDelegate: Bytes
  toDelegate_not: Bytes
  toDelegate_gt: Bytes
  toDelegate_lt: Bytes
  toDelegate_gte: Bytes
  toDelegate_lte: Bytes
  toDelegate_in: [Bytes!]
  toDelegate_not_in: [Bytes!]
  toDelegate_contains: Bytes
  toDelegate_not_contains: Bytes
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DelegateChanged_filter]
  or: [DelegateChanged_filter]
}

enum DelegateVotesChanged_orderBy {
  id
  delegate
  previousBalance
  newBalance
  blockNumber
  blockTimestamp
  transactionHash
}

input DelegateVotesChanged_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  delegate: Bytes
  delegate_not: Bytes
  delegate_gt: Bytes
  delegate_lt: Bytes
  delegate_gte: Bytes
  delegate_lte: Bytes
  delegate_in: [Bytes!]
  delegate_not_in: [Bytes!]
  delegate_contains: Bytes
  delegate_not_contains: Bytes
  previousBalance: BigDecimal
  previousBalance_not: BigDecimal
  previousBalance_gt: BigDecimal
  previousBalance_lt: BigDecimal
  previousBalance_gte: BigDecimal
  previousBalance_lte: BigDecimal
  previousBalance_in: [BigDecimal!]
  previousBalance_not_in: [BigDecimal!]
  newBalance: BigDecimal
  newBalance_not: BigDecimal
  newBalance_gt: BigDecimal
  newBalance_lt: BigDecimal
  newBalance_gte: BigDecimal
  newBalance_lte: BigDecimal
  newBalance_in: [BigDecimal!]
  newBalance_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [DelegateVotesChanged_filter]
  or: [DelegateVotesChanged_filter]
}

enum BurnWrap_orderBy {
  id
  wrapper
  account
  account__id
  account__rewardsClaimed
  account__tokensDelegated
  account__txCount
  amount
  blockNumber
  blockTimestamp
  transactionHash
}

input BurnWrap_filter {
  id: Bytes
  id_not: Bytes
  id_gt: Bytes
  id_lt: Bytes
  id_gte: Bytes
  id_lte: Bytes
  id_in: [Bytes!]
  id_not_in: [Bytes!]
  id_contains: Bytes
  id_not_contains: Bytes
  wrapper: Bytes
  wrapper_not: Bytes
  wrapper_gt: Bytes
  wrapper_lt: Bytes
  wrapper_gte: Bytes
  wrapper_lte: Bytes
  wrapper_in: [Bytes!]
  wrapper_not_in: [Bytes!]
  wrapper_contains: Bytes
  wrapper_not_contains: Bytes
  account: String
  account_not: String
  account_gt: String
  account_lt: String
  account_gte: String
  account_lte: String
  account_in: [String!]
  account_not_in: [String!]
  account_starts_with: String
  account_starts_with_nocase: String
  account_not_starts_with: String
  account_not_starts_with_nocase: String
  account_ends_with: String
  account_ends_with_nocase: String
  account_not_ends_with: String
  account_not_ends_with_nocase: String
  account_contains: String
  account_not_contains: String
  account_contains_nocase: String
  account_not_contains_nocase: String
  account_: Account_filter
  amount: BigDecimal
  amount_not: BigDecimal
  amount_gt: BigDecimal
  amount_lt: BigDecimal
  amount_gte: BigDecimal
  amount_lte: BigDecimal
  amount_in: [BigDecimal!]
  amount_not_in: [BigDecimal!]
  blockNumber: BigInt
  blockNumber_not: BigInt
  blockNumber_gt: BigInt
  blockNumber_lt: BigInt
  blockNumber_gte: BigInt
  blockNumber_lte: BigInt
  blockNumber_in: [BigInt!]
  blockNumber_not_in: [BigInt!]
  blockTimestamp: BigInt
  blockTimestamp_not: BigInt
  blockTimestamp_gt: BigInt
  blockTimestamp_lt: BigInt
  blockTimestamp_gte: BigInt
  blockTimestamp_lte: BigInt
  blockTimestamp_in: [BigInt!]
  blockTimestamp_not_in: [BigInt!]
  transactionHash: Bytes
  transactionHash_not: Bytes
  transactionHash_gt: Bytes
  transactionHash_lt: Bytes
  transactionHash_gte: Bytes
  transactionHash_lte: Bytes
  transactionHash_in: [Bytes!]
  transactionHash_not_in: [Bytes!]
  transactionHash_contains: Bytes
  transactionHash_not_contains: Bytes
  _change_block: BlockChangedFilter
  and: [BurnWrap_filter]
  or: [BurnWrap_filter]
}

type _MetaBlock_ {
  hash: Bytes
  number: Int!
  timestamp: Int
}

type _Meta_ {
  block: _MetaBlock_!
  deployment: String!
  hasIndexingErrors: Boolean!
}

type ResultState {
  block: _Block_!
  contractAddress: String!
  cid: String!
  kind: String!
  data: String!
}

type SyncStatus {
  latestIndexedBlockHash: String!
  latestIndexedBlockNumber: Int!
  latestCanonicalBlockHash: String!
  latestCanonicalBlockNumber: Int!
  initialIndexedBlockHash: String!
  initialIndexedBlockNumber: Int!
  latestProcessedBlockHash: String!
  latestProcessedBlockNumber: Int!
}

type Query {
  events(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!]
  eventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!): [ResultEvent!]
  token(id: String, block: Block_height): Token
  tokens(block: Block_height, where: Token_filter, orderBy: Token_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Token!]!
  poolFactory(id: String, block: Block_height): PoolFactory
  poolFactories(block: Block_height, where: PoolFactory_filter, orderBy: PoolFactory_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PoolFactory!]!
  pool(id: String, block: Block_height): Pool
  pools(block: Block_height, where: Pool_filter, orderBy: Pool_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pool!]!
  bucket(id: String, block: Block_height): Bucket
  buckets(block: Block_height, where: Bucket_filter, orderBy: Bucket_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Bucket!]!
  lend(id: String, block: Block_height): Lend
  lends(block: Block_height, where: Lend_filter, orderBy: Lend_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Lend!]!
  loan(id: String, block: Block_height): Loan
  loans(block: Block_height, where: Loan_filter, orderBy: Loan_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Loan!]!
  account(id: String, block: Block_height): Account
  accounts(block: Block_height, where: Account_filter, orderBy: Account_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Account!]!
  liquidationAuction(id: String, block: Block_height): LiquidationAuction
  liquidationAuctions(block: Block_height, where: LiquidationAuction_filter, orderBy: LiquidationAuction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LiquidationAuction!]!
  reserveAuction(id: String, block: Block_height): ReserveAuction
  reserveAuctions(block: Block_height, where: ReserveAuction_filter, orderBy: ReserveAuction_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuction!]!
  lptransferorList(id: String, block: Block_height): LPTransferorList
  lptransferorLists(block: Block_height, where: LPTransferorList_filter, orderBy: LPTransferorList_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPTransferorList!]!
  lpallowance(id: String, block: Block_height): LPAllowance
  lpallowances(block: Block_height, where: LPAllowance_filter, orderBy: LPAllowance_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPAllowance!]!
  lpallowanceList(id: String, block: Block_height): LPAllowanceList
  lpallowanceLists(block: Block_height, where: LPAllowanceList_filter, orderBy: LPAllowanceList_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LPAllowanceList!]!
  addCollateral(id: String, block: Block_height): AddCollateral
  addCollaterals(block: Block_height, where: AddCollateral_filter, orderBy: AddCollateral_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddCollateral!]!
  addQuoteToken(id: String, block: Block_height): AddQuoteToken
  addQuoteTokens(block: Block_height, where: AddQuoteToken_filter, orderBy: AddQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddQuoteToken!]!
  auctionSettle(id: String, block: Block_height): AuctionSettle
  auctionSettles(block: Block_height, where: AuctionSettle_filter, orderBy: AuctionSettle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AuctionSettle!]!
  bondWithdrawn(id: String, block: Block_height): BondWithdrawn
  bondWithdrawns(block: Block_height, where: BondWithdrawn_filter, orderBy: BondWithdrawn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BondWithdrawn!]!
  bucketBankruptcy(id: String, block: Block_height): BucketBankruptcy
  bucketBankruptcies(block: Block_height, where: BucketBankruptcy_filter, orderBy: BucketBankruptcy_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketBankruptcy!]!
  bucketTake(id: String, block: Block_height): BucketTake
  bucketTakes(block: Block_height, where: BucketTake_filter, orderBy: BucketTake_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketTake!]!
  bucketTakeLPAwarded(id: String, block: Block_height): BucketTakeLPAwarded
  bucketTakeLPAwardeds(block: Block_height, where: BucketTakeLPAwarded_filter, orderBy: BucketTakeLPAwarded_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BucketTakeLPAwarded!]!
  drawDebt(id: String, block: Block_height): DrawDebt
  drawDebts(block: Block_height, where: DrawDebt_filter, orderBy: DrawDebt_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DrawDebt!]!
  flashloan(id: String, block: Block_height): Flashloan
  flashloans(block: Block_height, where: Flashloan_filter, orderBy: Flashloan_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Flashloan!]!
  kick(id: String, block: Block_height): Kick
  kicks(block: Block_height, where: Kick_filter, orderBy: Kick_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Kick!]!
  loanStamped(id: String, block: Block_height): LoanStamped
  loanStampeds(block: Block_height, where: LoanStamped_filter, orderBy: LoanStamped_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [LoanStamped!]!
  moveQuoteToken(id: String, block: Block_height): MoveQuoteToken
  moveQuoteTokens(block: Block_height, where: MoveQuoteToken_filter, orderBy: MoveQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MoveQuoteToken!]!
  removeCollateral(id: String, block: Block_height): RemoveCollateral
  removeCollaterals(block: Block_height, where: RemoveCollateral_filter, orderBy: RemoveCollateral_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RemoveCollateral!]!
  removeQuoteToken(id: String, block: Block_height): RemoveQuoteToken
  removeQuoteTokens(block: Block_height, where: RemoveQuoteToken_filter, orderBy: RemoveQuoteToken_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RemoveQuoteToken!]!
  repayDebt(id: String, block: Block_height): RepayDebt
  repayDebts(block: Block_height, where: RepayDebt_filter, orderBy: RepayDebt_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RepayDebt!]!
  reserveAuctionKick(id: String, block: Block_height): ReserveAuctionKick
  reserveAuctionKicks(block: Block_height, where: ReserveAuctionKick_filter, orderBy: ReserveAuctionKick_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuctionKick!]!
  reserveAuctionTake(id: String, block: Block_height): ReserveAuctionTake
  reserveAuctionTakes(block: Block_height, where: ReserveAuctionTake_filter, orderBy: ReserveAuctionTake_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ReserveAuctionTake!]!
  resetInterestRate(id: String, block: Block_height): ResetInterestRate
  resetInterestRates(block: Block_height, where: ResetInterestRate_filter, orderBy: ResetInterestRate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ResetInterestRate!]!
  settle(id: String, block: Block_height): Settle
  settles(block: Block_height, where: Settle_filter, orderBy: Settle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Settle!]!
  take(id: String, block: Block_height): Take
  takes(block: Block_height, where: Take_filter, orderBy: Take_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Take!]!
  transferLP(id: String, block: Block_height): TransferLP
  transferLPS(block: Block_height, where: TransferLP_filter, orderBy: TransferLP_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [TransferLP!]!
  updateInterestRate(id: String, block: Block_height): UpdateInterestRate
  updateInterestRates(block: Block_height, where: UpdateInterestRate_filter, orderBy: UpdateInterestRate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [UpdateInterestRate!]!
  approval(id: String, block: Block_height): Approval
  approvals(block: Block_height, where: Approval_filter, orderBy: Approval_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Approval!]!
  approvalForAll(id: String, block: Block_height): ApprovalForAll
  approvalForAlls(block: Block_height, where: ApprovalForAll_filter, orderBy: ApprovalForAll_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ApprovalForAll!]!
  moveLiquidity(id: String, block: Block_height): MoveLiquidity
  moveLiquidities(block: Block_height, where: MoveLiquidity_filter, orderBy: MoveLiquidity_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MoveLiquidity!]!
  transfer(id: String, block: Block_height): Transfer
  transfers(block: Block_height, where: Transfer_filter, orderBy: Transfer_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Transfer!]!
  poolCreated(id: String, block: Block_height): PoolCreated
  poolCreateds(block: Block_height, where: PoolCreated_filter, orderBy: PoolCreated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PoolCreated!]!
  addCollateralNFT(id: String, block: Block_height): AddCollateralNFT
  addCollateralNFTS(block: Block_height, where: AddCollateralNFT_filter, orderBy: AddCollateralNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AddCollateralNFT!]!
  auctionNFTSettle(id: String, block: Block_height): AuctionNFTSettle
  auctionNFTSettles(block: Block_height, where: AuctionNFTSettle_filter, orderBy: AuctionNFTSettle_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [AuctionNFTSettle!]!
  drawDebtNFT(id: String, block: Block_height): DrawDebtNFT
  drawDebtNFTS(block: Block_height, where: DrawDebtNFT_filter, orderBy: DrawDebtNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DrawDebtNFT!]!
  mergeOrRemoveCollateralNFT(id: String, block: Block_height): MergeOrRemoveCollateralNFT
  mergeOrRemoveCollateralNFTS(block: Block_height, where: MergeOrRemoveCollateralNFT_filter, orderBy: MergeOrRemoveCollateralNFT_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MergeOrRemoveCollateralNFT!]!
  position(id: String, block: Block_height): Position
  positions(block: Block_height, where: Position_filter, orderBy: Position_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Position!]!
  positionLend(id: String, block: Block_height): PositionLend
  positionLends(block: Block_height, where: PositionLend_filter, orderBy: PositionLend_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [PositionLend!]!
  burn(id: String, block: Block_height): Burn
  burns(block: Block_height, where: Burn_filter, orderBy: Burn_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Burn!]!
  memorializePosition(id: String, block: Block_height): MemorializePosition
  memorializePositions(block: Block_height, where: MemorializePosition_filter, orderBy: MemorializePosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [MemorializePosition!]!
  mint(id: String, block: Block_height): Mint
  mints(block: Block_height, where: Mint_filter, orderBy: Mint_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Mint!]!
  redeemPosition(id: String, block: Block_height): RedeemPosition
  redeemPositions(block: Block_height, where: RedeemPosition_filter, orderBy: RedeemPosition_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [RedeemPosition!]!
  grantFund(id: String, block: Block_height): GrantFund
  grantFunds(block: Block_height, where: GrantFund_filter, orderBy: GrantFund_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [GrantFund!]!
  distributionPeriod(id: String, block: Block_height): DistributionPeriod
  distributionPeriods(block: Block_height, where: DistributionPeriod_filter, orderBy: DistributionPeriod_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriod!]!
  proposal(id: String, block: Block_height): Proposal
  proposals(block: Block_height, where: Proposal_filter, orderBy: Proposal_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Proposal!]!
  proposalParams(id: String, block: Block_height): ProposalParams
  proposalParamss(block: Block_height, where: ProposalParams_filter, orderBy: ProposalParams_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalParams!]!
  distributionPeriodVote(id: String, block: Block_height): DistributionPeriodVote
  distributionPeriodVotes(block: Block_height, where: DistributionPeriodVote_filter, orderBy: DistributionPeriodVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriodVote!]!
  screeningVote(id: String, block: Block_height): ScreeningVote
  screeningVotes(block: Block_height, where: ScreeningVote_filter, orderBy: ScreeningVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ScreeningVote!]!
  fundingVote(id: String, block: Block_height): FundingVote
  fundingVotes(block: Block_height, where: FundingVote_filter, orderBy: FundingVote_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundingVote!]!
  fundedSlate(id: String, block: Block_height): FundedSlate
  fundedSlates(block: Block_height, where: FundedSlate_filter, orderBy: FundedSlate_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundedSlate!]!
  delegateRewardClaimed(id: String, block: Block_height): DelegateRewardClaimed
  delegateRewardClaimeds(block: Block_height, where: DelegateRewardClaimed_filter, orderBy: DelegateRewardClaimed_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateRewardClaimed!]!
  fundTreasury(id: String, block: Block_height): FundTreasury
  fundTreasuries(block: Block_height, where: FundTreasury_filter, orderBy: FundTreasury_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundTreasury!]!
  fundedSlateUpdated(id: String, block: Block_height): FundedSlateUpdated
  fundedSlateUpdateds(block: Block_height, where: FundedSlateUpdated_filter, orderBy: FundedSlateUpdated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [FundedSlateUpdated!]!
  proposalCreated(id: String, block: Block_height): ProposalCreated
  proposalCreateds(block: Block_height, where: ProposalCreated_filter, orderBy: ProposalCreated_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalCreated!]!
  proposalExecuted(id: String, block: Block_height): ProposalExecuted
  proposalExecuteds(block: Block_height, where: ProposalExecuted_filter, orderBy: ProposalExecuted_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [ProposalExecuted!]!
  distributionPeriodStarted(id: String, block: Block_height): DistributionPeriodStarted
  distributionPeriodStarteds(block: Block_height, where: DistributionPeriodStarted_filter, orderBy: DistributionPeriodStarted_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DistributionPeriodStarted!]!
  voteCast(id: String, block: Block_height): VoteCast
  voteCasts(block: Block_height, where: VoteCast_filter, orderBy: VoteCast_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [VoteCast!]!
  delegateChanged(id: String, block: Block_height): DelegateChanged
  delegateChangeds(block: Block_height, where: DelegateChanged_filter, orderBy: DelegateChanged_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateChanged!]!
  delegateVotesChanged(id: String, block: Block_height): DelegateVotesChanged
  delegateVotesChangeds(block: Block_height, where: DelegateVotesChanged_filter, orderBy: DelegateVotesChanged_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [DelegateVotesChanged!]!
  burnWrap(id: String, block: Block_height): BurnWrap
  burnWraps(block: Block_height, where: BurnWrap_filter, orderBy: BurnWrap_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [BurnWrap!]!
  _meta(block: Block_height): _Meta_
  getStateByCID(cid: String!): ResultState
  getState(blockHash: String!, contractAddress: String!, kind: String): ResultState
  getSyncStatus: SyncStatus
}

type Token {
  id: Bytes!
  symbol: String!
  name: String!
  decimals: Int
  tokenType: String!
  poolCount: BigInt!
  pools: [Pool!]!
  totalSupply: BigInt
  txCount: BigInt!
}

type Pool {
  id: Bytes!
  createdAtBlockNumber: BigInt!
  createdAtTimestamp: BigInt!
  collateralToken: Token!
  quoteToken: Token!
  poolSize: BigDecimal!
  t0debt: BigDecimal!
  inflator: BigDecimal!
  borrowRate: BigDecimal!
  lendRate: BigDecimal!
  borrowFeeRate: BigDecimal!
  depositFeeRate: BigDecimal!
  pledgedCollateral: BigDecimal!
  totalInterestEarned: BigDecimal!
  txCount: BigInt!
  poolType: String!
  loansCount: BigInt!
  maxBorrower: Bytes!
  quoteTokenFlashloaned: BigDecimal!
  collateralFlashloaned: BigDecimal!
  hpb: BigDecimal!
  hpbIndex: Int!
  htp: BigDecimal!
  htpIndex: Int!
  lup: BigDecimal!
  lupIndex: Int!
  reserves: BigDecimal!
  claimableReserves: BigDecimal!
  claimableReservesRemaining: BigDecimal!
  burnEpoch: BigInt!
  totalAjnaBurned: BigDecimal!
  reserveAuctions: [ReserveAuction!]!
  minDebtAmount: BigDecimal!
  actualUtilization: BigDecimal!
  targetUtilization: BigDecimal!
  totalBondEscrowed: BigDecimal!
  liquidationAuctions: [LiquidationAuction!]!
  quoteTokenBalance: BigDecimal!
  collateralBalance: BigDecimal!
  subsetHash: Bytes!
  tokenIdsPledged: [BigInt!]!
  bucketTokenIds: [BigInt!]!
  tokenIdsAllowed: [BigInt!]!
}

type ReserveAuction {
  id: Bytes!
  pool: Pool!
  claimableReservesRemaining: BigDecimal!
  lastTakePrice: BigDecimal!
  burnEpoch: BigInt!
  kick: ReserveAuctionKick!
  takes: [ReserveAuctionTake!]!
  ajnaBurned: BigDecimal!
}

type ReserveAuctionKick {
  id: Bytes!
  kicker: Bytes
  reserveAuction: ReserveAuction!
  pool: Pool!
  claimableReserves: BigDecimal!
  startingPrice: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type ReserveAuctionTake {
  id: Bytes!
  taker: Bytes
  reserveAuction: ReserveAuction!
  pool: Pool!
  claimableReservesRemaining: BigDecimal!
  auctionPrice: BigDecimal!
  quotePurchased: BigDecimal!
  ajnaBurned: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type LiquidationAuction {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  lastTakePrice: BigDecimal!
  collateral: BigDecimal!
  collateralRemaining: BigDecimal!
  debt: BigDecimal!
  debtRemaining: BigDecimal!
  loan: Loan!
  kicker: Bytes!
  kick: Kick!
  kickTime: BigInt!
  takes: [Take!]!
  bucketTakes: [BucketTake!]!
  settles: [Settle!]!
  settle: AuctionSettle
  settleTime: BigInt
  settled: Boolean!
  bondSize: BigDecimal!
  bondFactor: BigDecimal!
  neutralPrice: BigDecimal!
  referencePrice: BigDecimal!
  thresholdPrice: BigDecimal!
}

type Loan {
  id: Bytes!
  poolAddress: String!
  borrower: Bytes!
  pool: Pool!
  inLiquidation: Boolean!
  liquidationAuction: LiquidationAuction
  collateralPledged: BigDecimal!
  thresholdPrice: BigDecimal!
  tokenIdsPledged: [BigInt!]!
  t0debt: BigDecimal!
  t0Np: BigDecimal!
}

type Kick {
  id: Bytes!
  kicker: Bytes!
  pool: Pool!
  loan: Loan!
  locked: BigDecimal!
  claimable: BigDecimal!
  liquidationAuction: LiquidationAuction!
  borrower: Bytes!
  debt: BigDecimal!
  collateral: BigDecimal!
  bond: BigDecimal!
  startingPrice: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Take {
  id: Bytes!
  taker: Bytes!
  pool: Pool!
  borrower: Bytes!
  liquidationAuction: LiquidationAuction!
  loan: Loan!
  auctionPrice: BigDecimal!
  amount: BigDecimal!
  collateral: BigDecimal!
  bondChange: BigDecimal!
  isReward: Boolean!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type BucketTake {
  id: Bytes!
  borrower: Bytes!
  taker: Bytes!
  liquidationAuction: LiquidationAuction!
  loan: Loan!
  pool: Pool!
  index: Int!
  auctionPrice: BigDecimal!
  amount: BigDecimal!
  collateral: BigDecimal!
  bondChange: BigDecimal!
  isReward: Boolean!
  lpAwarded: BucketTakeLPAwarded!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type BucketTakeLPAwarded {
  id: Bytes!
  taker: Bytes!
  pool: Pool!
  kicker: Bytes!
  lpAwardedTaker: BigDecimal!
  lpAwardedKicker: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Settle {
  id: Bytes!
  pool: Pool!
  liquidationAuction: LiquidationAuction!
  loan: Loan!
  borrower: Bytes!
  settledDebt: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type AuctionSettle {
  id: Bytes!
  pool: Pool!
  loan: Loan!
  borrower: Bytes!
  collateral: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type PoolFactory {
  id: Bytes!
  poolType: String!
  poolCount: BigInt!
  pools: [Pool!]!
  txCount: BigInt!
}

type Bucket {
  id: Bytes!
  bucketIndex: Int!
  bucketPrice: BigDecimal!
  exchangeRate: BigDecimal!
  poolAddress: String!
  pool: Pool!
  collateral: BigDecimal!
  deposit: BigDecimal!
  lpb: BigDecimal!
  lends: [Lend!]!
  positionLends: [PositionLend!]!
}

type Lend {
  id: Bytes!
  bucket: Bucket!
  bucketIndex: Int!
  poolAddress: String!
  lender: Bytes!
  pool: Pool!
  lpb: BigDecimal!
  lpbValueInQuote: BigDecimal!
  depositTime: BigInt!
}

type PositionLend {
  id: Bytes!
  bucket: Bucket!
  bucketIndex: Int!
  depositTime: BigInt!
  lpb: BigDecimal!
  lpbValueInQuote: BigDecimal!
  tokenId: BigInt!
}

type Account {
  id: Bytes!
  pools: [Pool!]!
  kicks: [Kick!]!
  lends: [Lend!]!
  loans: [Loan!]!
  settles: [Settle!]!
  takes: [Take!]!
  reserveAuctions: [ReserveAuction!]!
  proposalsCreated: [Proposal!]!
  proposalsExecuted: [Proposal!]!
  delegatedTo: Account
  delegatedFrom: [Account!]!
  rewardsClaimed: BigDecimal!
  distributionPeriodVotes: [DistributionPeriodVote!]!
  tokensDelegated: BigDecimal!
  positions: [Position!]!
  txCount: BigInt!
}

type Proposal {
  id: Bytes!
  proposalId: BigInt!
  description: String!
  distribution: DistributionPeriod
  executed: Boolean!
  screeningVotesReceived: BigDecimal!
  fundingVotesReceived: BigDecimal!
  fundingVotesNegative: BigDecimal!
  fundingVotesPositive: BigDecimal!
  totalTokensRequested: BigDecimal!
  params: [ProposalParams!]!
}

type DistributionPeriod {
  id: Bytes!
  distributionId: BigInt!
  startBlock: BigInt!
  endBlock: BigInt!
  topSlate: FundedSlate
  slatesSubmitted: [FundedSlate!]!
  fundsAvailable: BigDecimal!
  delegationRewardsClaimed: BigDecimal!
  fundingVotePowerUsed: BigDecimal!
  screeningVotesCast: BigDecimal!
  votes: [DistributionPeriodVote!]!
  proposals: [Proposal!]!
  totalTokensDistributed: BigDecimal!
}

type FundedSlate {
  id: Bytes!
  distribution: DistributionPeriod!
  proposals: [Proposal!]!
  totalTokensRequested: BigDecimal!
  totalFundingVotesReceived: BigDecimal!
  updateBlock: BigInt!
}

type DistributionPeriodVote {
  id: Bytes!
  voter: Account!
  distribution: DistributionPeriod!
  initialFundingStageVotingPowerRecordedPostVote: BigDecimal!
  remainingFundingStageVotingPowerRecordedPostVote: BigDecimal!
  initialScreeningStageVotingPowerRecordedPostVote: BigDecimal!
  remainingScreeningStageVotingPowerRecordedPostVote: BigDecimal!
  screeningVotes: [ScreeningVote!]!
  fundingVotes: [FundingVote!]!
}

type ScreeningVote {
  id: Bytes!
  distribution: DistributionPeriod!
  voter: Account!
  proposal: Proposal!
  totalVotesCast: BigDecimal!
  votesCast: [VoteCast!]!
}

type VoteCast {
  id: Bytes!
  voter: Bytes!
  proposalId: BigInt!
  support: Int!
  weight: BigDecimal!
  reason: String!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type FundingVote {
  id: Bytes!
  distribution: DistributionPeriod!
  voter: Account!
  proposal: Proposal!
  totalVotesCast: BigDecimal!
  votingPowerUsed: BigDecimal!
  votesCast: [VoteCast!]!
}

type ProposalParams {
  id: Bytes!
  target: Bytes!
  value: BigInt!
  calldata: Bytes!
  recipient: Bytes!
  tokensRequested: BigDecimal!
}

type Position {
  id: Bytes!
  tokenId: BigInt
  indexes: [PositionLend!]!
  owner: Bytes!
  pool: Pool!
  token: Token!
  tokenURI: String!
}

type LPTransferorList {
  id: Bytes!
  pool: Pool!
  lender: Bytes!
  transferors: [Bytes!]!
}

type LPAllowance {
  id: Bytes!
  index: Int!
  amount: BigDecimal!
}

type LPAllowanceList {
  id: Bytes!
  pool: Pool!
  lender: Bytes!
  spender: Bytes!
  allowances: [LPAllowance!]!
}

type AddCollateral {
  id: Bytes!
  pool: Pool!
  bucket: Bucket!
  actor: Bytes!
  index: Int!
  amount: BigDecimal!
  lpAwarded: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type AddQuoteToken {
  id: Bytes!
  pool: Pool!
  bucket: Bucket!
  lender: Bytes!
  index: Int!
  amount: BigDecimal!
  lpAwarded: BigDecimal!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type BondWithdrawn {
  id: Bytes!
  kicker: Bytes!
  reciever: Bytes!
  amount: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type BucketBankruptcy {
  id: Bytes!
  bucket: Bucket!
  index: Int!
  pool: Pool!
  lpForfeited: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type DrawDebt {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  amountBorrowed: BigDecimal!
  collateralPledged: BigDecimal!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Flashloan {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  amount: BigDecimal!
}

type LoanStamped {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type MoveQuoteToken {
  id: Bytes!
  pool: Pool!
  lender: Bytes!
  from: Bucket!
  to: Bucket!
  amount: BigDecimal!
  lpRedeemedFrom: BigDecimal!
  lpAwardedTo: BigDecimal!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type RemoveCollateral {
  id: Bytes!
  pool: Pool!
  bucket: Bucket!
  claimer: Bytes!
  index: Int!
  amount: BigDecimal!
  lpRedeemed: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type RemoveQuoteToken {
  id: Bytes!
  pool: Pool!
  bucket: Bucket!
  lender: Bytes!
  index: Int!
  amount: BigDecimal!
  lpRedeemed: BigDecimal!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type RepayDebt {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  quoteRepaid: BigDecimal!
  collateralPulled: BigDecimal!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type ResetInterestRate {
  id: Bytes!
  pool: Pool!
  oldBorrowRate: BigDecimal!
  newBorrowRate: BigDecimal!
  oldLendRate: BigDecimal!
  newLendRate: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type TransferLP {
  id: Bytes!
  owner: Bytes!
  newOwner: Bytes!
  indexes: [Int!]!
  lp: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type UpdateInterestRate {
  id: Bytes!
  pool: Pool!
  oldBorrowRate: BigDecimal!
  newBorrowRate: BigDecimal!
  oldLendRate: BigDecimal!
  newLendRate: BigDecimal!
  borrowFeeRate: BigDecimal!
  depositFeeRate: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Approval {
  id: Bytes!
  owner: Bytes!
  approved: Bytes!
  tokenId: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type ApprovalForAll {
  id: Bytes!
  owner: Bytes!
  operator: Bytes!
  approved: Boolean!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type MoveLiquidity {
  id: Bytes!
  lender: Bytes!
  tokenId: BigInt!
  pool: Pool!
  fromIndex: Int!
  toIndex: Int!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Transfer {
  id: Bytes!
  token: Token!
  pool: Pool!
  from: Bytes!
  to: Bytes!
  tokenId: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type PoolCreated {
  id: Bytes!
  pool: Pool!
  poolType: String!
  factory: PoolFactory!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type AddCollateralNFT {
  id: Bytes!
  pool: Pool!
  bucket: Bucket!
  actor: Bytes!
  index: BigInt!
  tokenIds: [BigInt!]!
  lpAwarded: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type AuctionNFTSettle {
  id: Bytes!
  pool: Pool!
  loan: Loan!
  borrower: Bytes!
  collateral: BigDecimal!
  lp: BigDecimal!
  index: Int!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type DrawDebtNFT {
  id: Bytes!
  pool: Pool!
  borrower: Bytes!
  amountBorrowed: BigDecimal!
  tokenIdsPledged: [BigInt!]!
  lup: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type MergeOrRemoveCollateralNFT {
  id: Bytes!
  pool: Pool!
  actor: Bytes!
  collateralMerged: BigDecimal!
  toIndexLps: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Burn {
  id: Bytes!
  lender: Bytes!
  tokenId: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type MemorializePosition {
  id: Bytes!
  pool: Pool!
  lender: Bytes!
  tokenId: BigInt!
  indexes: [Int!]!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Mint {
  id: Bytes!
  lender: Bytes!
  pool: Pool!
  tokenId: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type RedeemPosition {
  id: Bytes!
  pool: Pool!
  lender: Bytes!
  tokenId: BigInt!
  indexes: [Int!]!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type GrantFund {
  id: Bytes!
  treasury: BigDecimal!
  distributionPeriods: [DistributionPeriod!]!
  totalDelegationRewardsClaimed: BigDecimal!
}

type DelegateRewardClaimed {
  id: Bytes!
  delegateeAddress_: Bytes!
  distribution: DistributionPeriod!
  rewardClaimed_: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type FundTreasury {
  id: Bytes!
  amount: BigInt!
  treasuryBalance: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type FundedSlateUpdated {
  id: Bytes!
  distributionId_: BigInt!
  fundedSlateHash_: Bytes!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type ProposalCreated {
  id: Bytes!
  proposal: Proposal!
  proposer: Bytes!
  targets: [Bytes!]!
  values: [BigDecimal!]!
  signatures: [String!]!
  calldatas: [Bytes!]!
  startBlock: BigInt!
  endBlock: BigInt!
  description: String!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type ProposalExecuted {
  id: Bytes!
  proposalId: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type DistributionPeriodStarted {
  id: Bytes!
  distribution: DistributionPeriod!
  startBlock: BigInt!
  endBlock: BigInt!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type DelegateChanged {
  id: Bytes!
  delegator: Bytes!
  fromDelegate: Bytes!
  toDelegate: Bytes!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type DelegateVotesChanged {
  id: Bytes!
  delegate: Bytes!
  previousBalance: BigDecimal!
  newBalance: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type BurnWrap {
  id: Bytes!
  wrapper: Bytes!
  account: Account
  amount: BigDecimal!
  blockNumber: BigInt!
  blockTimestamp: BigInt!
  transactionHash: Bytes!
}

type Mutation {
  watchContract(address: String!, kind: String!, checkpoint: Boolean!, startingBlock: Int): Boolean!
}

type Subscription {
  onEvent: ResultEvent!
}
