From c0da9720dc3b152e80f4d97e37c9386183e5d116 Mon Sep 17 00:00:00 2001 From: jordan Date: Wed, 5 Jun 2024 17:55:08 -0700 Subject: [PATCH 01/12] basic voting panel --- src/pages/Vote.tsx | 133 ++++++++++++++++++++++++++++++++++++++++++- src/utils/helpers.ts | 20 +++++++ 2 files changed, 151 insertions(+), 2 deletions(-) diff --git a/src/pages/Vote.tsx b/src/pages/Vote.tsx index db4f34ee..72569504 100644 --- a/src/pages/Vote.tsx +++ b/src/pages/Vote.tsx @@ -1,6 +1,16 @@ -import { useEffect, useState } from 'react'; +import { useEffect, useMemo, useState } from 'react'; import { MainSection, PageTitle } from '../layout/Sections'; -import { Flex, Stack, Stepper } from '@mantine/core'; +import { + Avatar, + Box, + Divider, + Flex, + Group, + Progress, + Stack, + Stepper, + Text, +} from '@mantine/core'; import { useQuery } from '@tanstack/react-query'; import { getShipsPageData } from '../queries/getShipsPage'; import { useLaptop, useMobile, useTablet } from '../hooks/useBreakpoint'; @@ -11,6 +21,10 @@ import { VoteAffix } from '../components/voting/VoteAffix'; import { VoteTimesIndicator } from '../components/voting/VoteTimesIndicator'; import { ShipVotingPanel } from '../components/voting/ShipVotingPanel'; import { ConfirmationPanel } from '../components/voting/ConfirmationPanel'; +import { useVoting } from '../hooks/useVoting'; +import { ShipsCardUI } from '../types/ui'; +import { formatBigIntPercentage } from '../utils/helpers'; +import { formatEther } from 'viem'; export type VotingFormValues = z.infer; @@ -21,6 +35,8 @@ export const Vote = () => { queryFn: getShipsPageData, }); + const { userVotes } = useVoting(); + const isLaptop = useLaptop(); const isTablet = useTablet(); @@ -52,6 +68,12 @@ export const Vote = () => { return null; } + const hasVotes = userVotes && userVotes.length > 0; + + if (hasVotes) { + return ; + } + const nextStep = () => setStep((current) => (current < 3 ? current + 1 : current)); const prevStep = () => @@ -109,3 +131,110 @@ export const Vote = () => { ); }; + +const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { + const { contest, userVotes, tokenData } = useVoting(); + + const consolidated = useMemo(() => { + if (!ships || !userVotes || !contest) return []; + + return ships.map((ship) => { + const shipChoice = contest?.choices.find((c) => c.shipId === ship.id); + + const userVote = userVotes.find((v) => v.choice_id === shipChoice?.id); + + return { ...ship, vote: userVote, choice: shipChoice }; + }); + }, [ships, userVotes, contest]); + + const totals = useMemo(() => { + if (!consolidated || !contest) return null; + + const totalUserVotes = + consolidated && consolidated.length > 0 + ? consolidated.reduce((acc, ship) => { + if (!ship.vote) return acc; + return acc + BigInt(ship.vote.amount); + }, 0n) + : 0n; + const totalVotes = contest?.choices?.length + ? contest?.choices.reduce((acc, choice) => { + return acc + BigInt(choice.voteTally); + }, 0n) + : 0n; + + return { + totalUserVotes, + totalVotes, + }; + }, [consolidated, contest]); + return ( + + + + Your vote has been submitted! + + + + + Your Vote + + {consolidated.map((ship) => { + const percentage = totals?.totalUserVotes + ? formatBigIntPercentage( + BigInt(ship.vote?.amount), + totals?.totalUserVotes + ) + : '0'; + const tokenAmount = formatEther(BigInt(ship.vote?.amount)); + + return ( + + + + + {ship.name} + + + + + {Number(percentage)}% Voted ({tokenAmount}{' '} + {tokenData.tokenSymbol}) + + + ); + })} + + + + Total Vote Results + + {consolidated?.map((ship) => { + const percentage = totals?.totalVotes + ? formatBigIntPercentage( + BigInt(ship.choice?.voteTally), + totals?.totalVotes + ) + : '0'; + const tokenAmount = formatEther(BigInt(ship.choice?.voteTally)); + return ( + + + + + {ship.name} + + + + + {Number(percentage)}% ({tokenAmount} {tokenData.tokenSymbol}) + + + ); + })} + + + + + ); +}; diff --git a/src/utils/helpers.ts b/src/utils/helpers.ts index 6cd89ac4..82030346 100644 --- a/src/utils/helpers.ts +++ b/src/utils/helpers.ts @@ -57,3 +57,23 @@ export const addressToBytes32 = (address: string): string => { export const bytes32toAddress = (bytes32: string): string => { return `0x${bytes32.slice(26)}`; }; + +// export const formatPercentage = ( +// numerator: bigint, +// denominator: bigint, +// scale: bigint = 1000000000000000n // Scale factor to determine decimal places in output +// ): string => { +// const percentage = (numerator * 100n * scale) / denominator / scale; +// return `${Number(percentage) / 100}%`; +// }; +export const formatBigIntPercentage = ( + numerator: bigint, + denominator: bigint, + displayDecimals: number = 2 +) => { + if (numerator === 0n || denominator === 0n) return '0'; + + return ((Number(numerator) / Number(denominator)) * 100).toFixed( + displayDecimals + ); +}; From aa0b32bec598282e320769677a86e6c77f9262ac Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 12:06:41 -0700 Subject: [PATCH 02/12] query votes by voter --- .graphclientrc.yml | 2 +- src/.graphclient/index.ts | 9343 +++++++------- src/.graphclient/schema.graphql | 10107 ++++++++-------- .../sources/gs-voting/introspectionSchema.ts | 3355 +++-- .../sources/gs-voting/schema.graphql | 229 +- src/.graphclient/sources/gs-voting/types.ts | 219 +- .../validationSchemas/votingFormSchema.ts | 3 + src/graphql/getUserVote.graphql | 2 +- src/graphql/getVoters.graphql | 17 + src/pages/Vote.tsx | 144 +- src/queries/getVoters.ts | 54 + 11 files changed, 12557 insertions(+), 10918 deletions(-) create mode 100644 src/graphql/getVoters.graphql create mode 100644 src/queries/getVoters.ts diff --git a/.graphclientrc.yml b/.graphclientrc.yml index aa8a2d36..ded8c12f 100644 --- a/.graphclientrc.yml +++ b/.graphclientrc.yml @@ -6,6 +6,6 @@ sources: - name: gs-voting handler: graphql: - endpoint: https://indexer.bigdevenergy.link/c8f8ea8/v1/graphql + endpoint: http://localhost:8080/v1/graphql documents: - './src/**/*.graphql' diff --git a/src/.graphclient/index.ts b/src/.graphclient/index.ts index 7c714d4f..ba34ba0d 100644 --- a/src/.graphclient/index.ts +++ b/src/.graphclient/index.ts @@ -22,8 +22,8 @@ import { path as pathModule } from '@graphql-mesh/cross-helpers'; import { ImportFn } from '@graphql-mesh/types'; import type { GrantShipsTypes } from './sources/grant-ships/types'; import type { GsVotingTypes } from './sources/gs-voting/types'; -import * as importedModule$0 from "./sources/grant-ships/introspectionSchema"; -import * as importedModule$1 from "./sources/gs-voting/introspectionSchema"; +import * as importedModule$0 from "./sources/gs-voting/introspectionSchema"; +import * as importedModule$1 from "./sources/grant-ships/introspectionSchema"; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; @@ -40,11 +40,8 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - BigDecimal: any; - BigInt: any; - Bytes: any; - Int8: any; - Timestamp: any; + _numeric: any; + _text: any; contract_type: any; entity_type: any; event_type: any; @@ -52,49 +49,14 @@ export type Scalars = { numeric: any; timestamp: any; timestamptz: any; + BigDecimal: any; + BigInt: any; + Bytes: any; + Int8: any; + Timestamp: any; }; export type Query = { - project?: Maybe; - projects: Array; - feedItem?: Maybe; - feedItems: Array; - feedItemEntity?: Maybe; - feedItemEntities: Array; - feedItemEmbed?: Maybe; - feedItemEmbeds: Array; - update?: Maybe; - updates: Array; - grantShip?: Maybe; - grantShips: Array; - poolIdLookup?: Maybe; - poolIdLookups: Array; - gameManager?: Maybe; - gameManagers: Array; - gameRound?: Maybe; - gameRounds: Array; - applicationHistory?: Maybe; - applicationHistories: Array; - grant?: Maybe; - grants: Array; - milestone?: Maybe; - milestones: Array; - profileIdToAnchor?: Maybe; - profileIdToAnchors: Array; - profileMemberGroup?: Maybe; - profileMemberGroups: Array; - transaction?: Maybe; - transactions: Array; - rawMetadata?: Maybe; - rawMetadata_collection: Array; - log?: Maybe; - logs: Array; - gmVersion?: Maybe; - gmVersions: Array; - gmDeployment?: Maybe; - gmDeployments: Array; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; /** fetch data from the table: "Contest" */ Contest: Array; /** fetch data from the table: "ContestClone" */ @@ -123,6 +85,10 @@ export type Query = { FactoryEventsSummary: Array; /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table: "GSVoter" */ + GSVoter: Array; + /** fetch data from the table: "GSVoter" using primary key columns */ + GSVoter_by_pk?: Maybe; /** fetch data from the table: "GrantShipsVoting" */ GrantShipsVoting: Array; /** fetch data from the table: "GrantShipsVoting" using primary key columns */ @@ -193,754 +159,768 @@ export type Query = { raw_events: Array; /** fetch data from the table: "raw_events" using primary key columns */ raw_events_by_pk?: Maybe; + project?: Maybe; + projects: Array; + feedItem?: Maybe; + feedItems: Array; + feedItemEntity?: Maybe; + feedItemEntities: Array; + feedItemEmbed?: Maybe; + feedItemEmbeds: Array; + update?: Maybe; + updates: Array; + grantShip?: Maybe; + grantShips: Array; + poolIdLookup?: Maybe; + poolIdLookups: Array; + gameManager?: Maybe; + gameManagers: Array; + gameRound?: Maybe; + gameRounds: Array; + applicationHistory?: Maybe; + applicationHistories: Array; + grant?: Maybe; + grants: Array; + milestone?: Maybe; + milestones: Array; + profileIdToAnchor?: Maybe; + profileIdToAnchors: Array; + profileMemberGroup?: Maybe; + profileMemberGroups: Array; + transaction?: Maybe; + transactions: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; + log?: Maybe; + logs: Array; + gmVersion?: Maybe; + gmVersions: Array; + gmDeployment?: Maybe; + gmDeployments: Array; + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_>; }; -export type QueryprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprojectsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContestClone_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContestTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryContest_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemEmbedsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryERCPointParams_by_pkArgs = { + id: Scalars['String']; }; -export type QueryupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryupdatesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryEnvioTX_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type QuerypoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerypoolIdLookupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGSVoterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygameManagersArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGSVoter_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; }; -export type QueryapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryapplicationHistoriesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHALParams_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHatsPoster_by_pkArgs = { + id: Scalars['String']; }; -export type QuerymilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerymilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type QueryprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type QueryprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryRecord_by_pkArgs = { + id: Scalars['String']; }; -export type QuerytransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerytransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipChoice_by_pkArgs = { + id: Scalars['String']; }; -export type QueryrawMetadataArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryrawMetadata_collectionArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipVote_by_pkArgs = { + id: Scalars['String']; }; -export type QuerylogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerylogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryStemModule_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryTVParams_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querychain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygmDeploymentsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querychain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type Query_metaArgs = { - block?: InputMaybe; +export type Querydynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryContestArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Querydynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; }; -export type QueryContestCloneArgs = { - distinct_on?: InputMaybe>; +export type Queryentity_historyArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryContestClone_by_pkArgs = { - id: Scalars['String']; +export type Queryentity_history_by_pkArgs = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + log_index: Scalars['Int']; }; -export type QueryContestTemplateArgs = { - distinct_on?: InputMaybe>; +export type Queryentity_history_filterArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type QueryContestTemplate_by_pkArgs = { - id: Scalars['String']; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryContest_by_pkArgs = { - id: Scalars['String']; +export type Queryentity_history_filter_by_pkArgs = { + block_number: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + log_index: Scalars['Int']; + previous_block_number: Scalars['Int']; + previous_log_index: Scalars['Int']; }; -export type QueryERCPointParamsArgs = { - distinct_on?: InputMaybe>; +export type Queryevent_sync_stateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryERCPointParams_by_pkArgs = { - id: Scalars['String']; +export type Queryevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type QueryEnvioTXArgs = { - distinct_on?: InputMaybe>; +export type Queryget_entity_history_filterArgs = { + args: get_entity_history_filter_args; + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type QueryEnvioTX_by_pkArgs = { - id: Scalars['String']; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryEventPostArgs = { - distinct_on?: InputMaybe>; +export type Querypersisted_stateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryEventPost_by_pkArgs = { - id: Scalars['String']; +export type Querypersisted_state_by_pkArgs = { + id: Scalars['Int']; }; -export type QueryFactoryEventsSummaryArgs = { - distinct_on?: InputMaybe>; +export type Queryraw_eventsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type QueryFactoryEventsSummary_by_pkArgs = { - id: Scalars['String']; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryGrantShipsVotingArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Queryraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; }; -export type QueryGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; +export type QueryprojectArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHALParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprojectsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHALParams_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHatsPosterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryfeedItemsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHatsPoster_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemEntityArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryLocalLogArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryfeedItemEntitiesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryLocalLog_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemEmbedArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryModuleTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryfeedItemEmbedsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryModuleTemplate_by_pkArgs = { - id: Scalars['String']; +export type QueryupdateArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryRecordArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryupdatesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryRecord_by_pkArgs = { - id: Scalars['String']; +export type QuerygrantShipArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipChoiceArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygrantShipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipChoice_by_pkArgs = { - id: Scalars['String']; +export type QuerypoolIdLookupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipVoteArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerypoolIdLookupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipVote_by_pkArgs = { - id: Scalars['String']; +export type QuerygameManagerArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryStemModuleArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygameManagersArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryStemModule_by_pkArgs = { - id: Scalars['String']; +export type QuerygameRoundArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryTVParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygameRoundsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryTVParams_by_pkArgs = { - id: Scalars['String']; +export type QueryapplicationHistoryArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querychain_metadataArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryapplicationHistoriesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querychain_metadata_by_pkArgs = { - chain_id: Scalars['Int']; +export type QuerygrantArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querydynamic_contract_registryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querydynamic_contract_registry_by_pkArgs = { - chain_id: Scalars['Int']; - contract_address: Scalars['String']; +export type QuerymilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryentity_historyArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerymilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryentity_history_by_pkArgs = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - entity_type: Scalars['entity_type']; - log_index: Scalars['Int']; +export type QueryprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryentity_history_filterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprofileIdToAnchorsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryentity_history_filter_by_pkArgs = { - block_number: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - log_index: Scalars['Int']; - previous_block_number: Scalars['Int']; - previous_log_index: Scalars['Int']; +export type QueryprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryevent_sync_stateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprofileMemberGroupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryevent_sync_state_by_pkArgs = { - chain_id: Scalars['Int']; +export type QuerytransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryget_entity_history_filterArgs = { - args: get_entity_history_filter_args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerytransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querypersisted_stateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querypersisted_state_by_pkArgs = { - id: Scalars['Int']; +export type QueryrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryraw_eventsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerylogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryraw_events_by_pkArgs = { - chain_id: Scalars['Int']; - event_id: Scalars['numeric']; +export type QuerylogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QuerygmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QuerygmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QuerygmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QuerygmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type Query_metaArgs = { + block?: InputMaybe; }; export type Subscription = { - project?: Maybe; - projects: Array; - feedItem?: Maybe; - feedItems: Array; - feedItemEntity?: Maybe; - feedItemEntities: Array; - feedItemEmbed?: Maybe; - feedItemEmbeds: Array; - update?: Maybe; - updates: Array; - grantShip?: Maybe; - grantShips: Array; - poolIdLookup?: Maybe; - poolIdLookups: Array; - gameManager?: Maybe; - gameManagers: Array; - gameRound?: Maybe; - gameRounds: Array; - applicationHistory?: Maybe; - applicationHistories: Array; - grant?: Maybe; - grants: Array; - milestone?: Maybe; - milestones: Array; - profileIdToAnchor?: Maybe; - profileIdToAnchors: Array; - profileMemberGroup?: Maybe; - profileMemberGroups: Array; - transaction?: Maybe; - transactions: Array; - rawMetadata?: Maybe; - rawMetadata_collection: Array; - log?: Maybe; - logs: Array; - gmVersion?: Maybe; - gmVersions: Array; - gmDeployment?: Maybe; - gmDeployments: Array; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; /** fetch data from the table: "Contest" */ Contest: Array; /** fetch data from the table: "ContestClone" */ @@ -983,6 +963,12 @@ export type Subscription = { FactoryEventsSummary_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "FactoryEventsSummary" */ FactoryEventsSummary_stream: Array; + /** fetch data from the table: "GSVoter" */ + GSVoter: Array; + /** fetch data from the table: "GSVoter" using primary key columns */ + GSVoter_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "GSVoter" */ + GSVoter_stream: Array; /** fetch data from the table: "GrantShipsVoting" */ GrantShipsVoting: Array; /** fetch data from the table: "GrantShipsVoting" using primary key columns */ @@ -1087,719 +1073,433 @@ export type Subscription = { raw_events_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "raw_events" */ raw_events_stream: Array; -}; - - -export type SubscriptionprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - + project?: Maybe; + projects: Array; + feedItem?: Maybe; + feedItems: Array; + feedItemEntity?: Maybe; + feedItemEntities: Array; + feedItemEmbed?: Maybe; + feedItemEmbeds: Array; + update?: Maybe; + updates: Array; + grantShip?: Maybe; + grantShips: Array; + poolIdLookup?: Maybe; + poolIdLookups: Array; + gameManager?: Maybe; + gameManagers: Array; + gameRound?: Maybe; + gameRounds: Array; + applicationHistory?: Maybe; + applicationHistories: Array; + grant?: Maybe; + grants: Array; + milestone?: Maybe; + milestones: Array; + profileIdToAnchor?: Maybe; + profileIdToAnchors: Array; + profileMemberGroup?: Maybe; + profileMemberGroups: Array; + transaction?: Maybe; + transactions: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; + log?: Maybe; + logs: Array; + gmVersion?: Maybe; + gmVersions: Array; + gmDeployment?: Maybe; + gmDeployments: Array; + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_>; +}; -export type SubscriptionprojectsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + +export type SubscriptionContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestClone_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestClone_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemEmbedsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContestTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContest_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionupdatesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionContest_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionERCPointParams_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionpoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionERCPointParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionpoolIdLookupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEnvioTX_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongameManagersArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEnvioTX_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionEventPost_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionapplicationHistoriesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionFactoryEventsSummary_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionmilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGSVoterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionmilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGSVoter_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGSVoter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionGrantShipsVoting_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiontransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiontransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHALParams_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionrawMetadataArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHALParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionrawMetadata_collectionArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionlogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHatsPoster_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionlogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionHatsPoster_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionLocalLog_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongmDeploymentsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_metaArgs = { - block?: InputMaybe; +export type SubscriptionModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionContestArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionModuleTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionContestCloneArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionRecordArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionContestClone_by_pkArgs = { +export type SubscriptionRecord_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionContestClone_streamArgs = { +export type SubscriptionRecord_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionContestTemplateArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionShipChoiceArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionContestTemplate_by_pkArgs = { +export type SubscriptionShipChoice_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionContestTemplate_streamArgs = { +export type SubscriptionShipChoice_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionContest_by_pkArgs = { +export type SubscriptionShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionShipVote_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionContest_streamArgs = { +export type SubscriptionShipVote_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionERCPointParamsArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionStemModuleArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionERCPointParams_by_pkArgs = { +export type SubscriptionStemModule_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionERCPointParams_streamArgs = { +export type SubscriptionStemModule_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionEnvioTXArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionTVParamsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionEnvioTX_by_pkArgs = { +export type SubscriptionTVParams_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionEnvioTX_streamArgs = { +export type SubscriptionTVParams_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionEventPostArgs = { - distinct_on?: InputMaybe>; +export type Subscriptionchain_metadataArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionEventPost_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionEventPost_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionFactoryEventsSummaryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionFactoryEventsSummary_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionFactoryEventsSummary_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionGrantShipsVotingArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionGrantShipsVoting_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionHALParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionHALParams_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionHALParams_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionHatsPosterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionHatsPoster_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionHatsPoster_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionLocalLogArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionLocalLog_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionLocalLog_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionModuleTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionModuleTemplate_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionModuleTemplate_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionRecordArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionRecord_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionRecord_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionShipChoiceArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionShipChoice_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionShipChoice_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionShipVoteArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionShipVote_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionShipVote_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionStemModuleArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionStemModule_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionStemModule_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionTVParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -export type SubscriptionTVParams_by_pkArgs = { - id: Scalars['String']; -}; - - -export type SubscriptionTVParams_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type Subscriptionchain_metadataArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; @@ -1962,2574 +1662,439 @@ export type Subscriptionraw_events_streamArgs = { where?: InputMaybe; }; -export type Aggregation_interval = - | 'hour' - | 'day'; -export type ApplicationHistory = { +export type SubscriptionprojectArgs = { id: Scalars['ID']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ApplicationHistory_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionprojectsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ApplicationHistory_orderBy = - | 'id' - | 'grantApplicationBytes' - | 'applicationSubmitted'; -export type BlockChangedFilter = { - number_gte: Scalars['Int']; +export type SubscriptionfeedItemArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Block_height = { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; -}; -export type FeedItem = { - id: Scalars['ID']; - timestamp?: Maybe; - content: Scalars['String']; - sender: Scalars['Bytes']; - tag: Scalars['String']; - subjectMetadataPointer: Scalars['String']; - subjectId: Scalars['ID']; - objectId?: Maybe; - subject: FeedItemEntity; - object?: Maybe; - embed?: Maybe; - details?: Maybe; +export type SubscriptionfeedItemsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed = { + +export type SubscriptionfeedItemEntityArgs = { id: Scalars['ID']; - key?: Maybe; - pointer?: Maybe; - protocol?: Maybe; - content?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - key?: InputMaybe; - key_not?: InputMaybe; - key_gt?: InputMaybe; - key_lt?: InputMaybe; - key_gte?: InputMaybe; - key_lte?: InputMaybe; - key_in?: InputMaybe>; - key_not_in?: InputMaybe>; - key_contains?: InputMaybe; - key_contains_nocase?: InputMaybe; - key_not_contains?: InputMaybe; - key_not_contains_nocase?: InputMaybe; - key_starts_with?: InputMaybe; - key_starts_with_nocase?: InputMaybe; - key_not_starts_with?: InputMaybe; - key_not_starts_with_nocase?: InputMaybe; - key_ends_with?: InputMaybe; - key_ends_with_nocase?: InputMaybe; - key_not_ends_with?: InputMaybe; - key_not_ends_with_nocase?: InputMaybe; - pointer?: InputMaybe; - pointer_not?: InputMaybe; - pointer_gt?: InputMaybe; - pointer_lt?: InputMaybe; - pointer_gte?: InputMaybe; - pointer_lte?: InputMaybe; - pointer_in?: InputMaybe>; - pointer_not_in?: InputMaybe>; - pointer_contains?: InputMaybe; - pointer_contains_nocase?: InputMaybe; - pointer_not_contains?: InputMaybe; - pointer_not_contains_nocase?: InputMaybe; - pointer_starts_with?: InputMaybe; - pointer_starts_with_nocase?: InputMaybe; - pointer_not_starts_with?: InputMaybe; - pointer_not_starts_with_nocase?: InputMaybe; - pointer_ends_with?: InputMaybe; - pointer_ends_with_nocase?: InputMaybe; - pointer_not_ends_with?: InputMaybe; - pointer_not_ends_with_nocase?: InputMaybe; - protocol?: InputMaybe; - protocol_not?: InputMaybe; - protocol_gt?: InputMaybe; - protocol_lt?: InputMaybe; - protocol_gte?: InputMaybe; - protocol_lte?: InputMaybe; - protocol_in?: InputMaybe>; - protocol_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionfeedItemEntitiesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed_orderBy = - | 'id' - | 'key' - | 'pointer' - | 'protocol' - | 'content'; -export type FeedItemEntity = { +export type SubscriptionfeedItemEmbedArgs = { id: Scalars['ID']; - name: Scalars['String']; - type: Scalars['String']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEntity_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionfeedItemEmbedsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEntity_orderBy = - | 'id' - | 'name' - | 'type'; -export type FeedItem_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - sender?: InputMaybe; - sender_not?: InputMaybe; - sender_gt?: InputMaybe; - sender_lt?: InputMaybe; - sender_gte?: InputMaybe; - sender_lte?: InputMaybe; - sender_in?: InputMaybe>; - sender_not_in?: InputMaybe>; - sender_contains?: InputMaybe; - sender_not_contains?: InputMaybe; - tag?: InputMaybe; - tag_not?: InputMaybe; - tag_gt?: InputMaybe; - tag_lt?: InputMaybe; - tag_gte?: InputMaybe; - tag_lte?: InputMaybe; - tag_in?: InputMaybe>; - tag_not_in?: InputMaybe>; - tag_contains?: InputMaybe; - tag_contains_nocase?: InputMaybe; - tag_not_contains?: InputMaybe; - tag_not_contains_nocase?: InputMaybe; - tag_starts_with?: InputMaybe; - tag_starts_with_nocase?: InputMaybe; - tag_not_starts_with?: InputMaybe; - tag_not_starts_with_nocase?: InputMaybe; - tag_ends_with?: InputMaybe; - tag_ends_with_nocase?: InputMaybe; - tag_not_ends_with?: InputMaybe; - tag_not_ends_with_nocase?: InputMaybe; - subjectMetadataPointer?: InputMaybe; - subjectMetadataPointer_not?: InputMaybe; - subjectMetadataPointer_gt?: InputMaybe; - subjectMetadataPointer_lt?: InputMaybe; - subjectMetadataPointer_gte?: InputMaybe; - subjectMetadataPointer_lte?: InputMaybe; - subjectMetadataPointer_in?: InputMaybe>; - subjectMetadataPointer_not_in?: InputMaybe>; - subjectMetadataPointer_contains?: InputMaybe; - subjectMetadataPointer_contains_nocase?: InputMaybe; - subjectMetadataPointer_not_contains?: InputMaybe; - subjectMetadataPointer_not_contains_nocase?: InputMaybe; - subjectMetadataPointer_starts_with?: InputMaybe; - subjectMetadataPointer_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_not_starts_with?: InputMaybe; - subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_ends_with?: InputMaybe; - subjectMetadataPointer_ends_with_nocase?: InputMaybe; - subjectMetadataPointer_not_ends_with?: InputMaybe; - subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; - subjectId?: InputMaybe; - subjectId_not?: InputMaybe; - subjectId_gt?: InputMaybe; - subjectId_lt?: InputMaybe; - subjectId_gte?: InputMaybe; - subjectId_lte?: InputMaybe; - subjectId_in?: InputMaybe>; - subjectId_not_in?: InputMaybe>; - objectId?: InputMaybe; - objectId_not?: InputMaybe; - objectId_gt?: InputMaybe; - objectId_lt?: InputMaybe; - objectId_gte?: InputMaybe; - objectId_lte?: InputMaybe; - objectId_in?: InputMaybe>; - objectId_not_in?: InputMaybe>; - subject?: InputMaybe; - subject_not?: InputMaybe; - subject_gt?: InputMaybe; - subject_lt?: InputMaybe; - subject_gte?: InputMaybe; - subject_lte?: InputMaybe; - subject_in?: InputMaybe>; - subject_not_in?: InputMaybe>; - subject_contains?: InputMaybe; - subject_contains_nocase?: InputMaybe; - subject_not_contains?: InputMaybe; - subject_not_contains_nocase?: InputMaybe; - subject_starts_with?: InputMaybe; - subject_starts_with_nocase?: InputMaybe; - subject_not_starts_with?: InputMaybe; - subject_not_starts_with_nocase?: InputMaybe; - subject_ends_with?: InputMaybe; - subject_ends_with_nocase?: InputMaybe; - subject_not_ends_with?: InputMaybe; - subject_not_ends_with_nocase?: InputMaybe; - subject_?: InputMaybe; - object?: InputMaybe; - object_not?: InputMaybe; - object_gt?: InputMaybe; - object_lt?: InputMaybe; - object_gte?: InputMaybe; - object_lte?: InputMaybe; - object_in?: InputMaybe>; - object_not_in?: InputMaybe>; - object_contains?: InputMaybe; - object_contains_nocase?: InputMaybe; - object_not_contains?: InputMaybe; - object_not_contains_nocase?: InputMaybe; - object_starts_with?: InputMaybe; - object_starts_with_nocase?: InputMaybe; - object_not_starts_with?: InputMaybe; - object_not_starts_with_nocase?: InputMaybe; - object_ends_with?: InputMaybe; - object_ends_with_nocase?: InputMaybe; - object_not_ends_with?: InputMaybe; - object_not_ends_with_nocase?: InputMaybe; - object_?: InputMaybe; - embed?: InputMaybe; - embed_not?: InputMaybe; - embed_gt?: InputMaybe; - embed_lt?: InputMaybe; - embed_gte?: InputMaybe; - embed_lte?: InputMaybe; - embed_in?: InputMaybe>; - embed_not_in?: InputMaybe>; - embed_contains?: InputMaybe; - embed_contains_nocase?: InputMaybe; - embed_not_contains?: InputMaybe; - embed_not_contains_nocase?: InputMaybe; - embed_starts_with?: InputMaybe; - embed_starts_with_nocase?: InputMaybe; - embed_not_starts_with?: InputMaybe; - embed_not_starts_with_nocase?: InputMaybe; - embed_ends_with?: InputMaybe; - embed_ends_with_nocase?: InputMaybe; - embed_not_ends_with?: InputMaybe; - embed_not_ends_with_nocase?: InputMaybe; - embed_?: InputMaybe; - details?: InputMaybe; - details_not?: InputMaybe; - details_gt?: InputMaybe; - details_lt?: InputMaybe; - details_gte?: InputMaybe; - details_lte?: InputMaybe; - details_in?: InputMaybe>; - details_not_in?: InputMaybe>; - details_contains?: InputMaybe; - details_contains_nocase?: InputMaybe; - details_not_contains?: InputMaybe; - details_not_contains_nocase?: InputMaybe; - details_starts_with?: InputMaybe; - details_starts_with_nocase?: InputMaybe; - details_not_starts_with?: InputMaybe; - details_not_starts_with_nocase?: InputMaybe; - details_ends_with?: InputMaybe; - details_ends_with_nocase?: InputMaybe; - details_not_ends_with?: InputMaybe; - details_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +export type SubscriptionupdateArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItem_orderBy = - | 'id' - | 'timestamp' - | 'content' - | 'sender' - | 'tag' - | 'subjectMetadataPointer' - | 'subjectId' - | 'objectId' - | 'subject' - | 'subject__id' - | 'subject__name' - | 'subject__type' - | 'object' - | 'object__id' - | 'object__name' - | 'object__type' - | 'embed' - | 'embed__id' - | 'embed__key' - | 'embed__pointer' - | 'embed__protocol' - | 'embed__content' - | 'details'; -export type GameManager = { - id: Scalars['Bytes']; - poolId: Scalars['BigInt']; - gameFacilitatorId: Scalars['BigInt']; - rootAccount: Scalars['Bytes']; - tokenAddress: Scalars['Bytes']; - currentRoundId: Scalars['BigInt']; - currentRound?: Maybe; - poolFunds: Scalars['BigInt']; +export type SubscriptionupdatesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameManager_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - gameFacilitatorId?: InputMaybe; - gameFacilitatorId_not?: InputMaybe; - gameFacilitatorId_gt?: InputMaybe; - gameFacilitatorId_lt?: InputMaybe; - gameFacilitatorId_gte?: InputMaybe; - gameFacilitatorId_lte?: InputMaybe; - gameFacilitatorId_in?: InputMaybe>; - gameFacilitatorId_not_in?: InputMaybe>; - rootAccount?: InputMaybe; - rootAccount_not?: InputMaybe; - rootAccount_gt?: InputMaybe; - rootAccount_lt?: InputMaybe; - rootAccount_gte?: InputMaybe; - rootAccount_lte?: InputMaybe; - rootAccount_in?: InputMaybe>; - rootAccount_not_in?: InputMaybe>; - rootAccount_contains?: InputMaybe; - rootAccount_not_contains?: InputMaybe; - tokenAddress?: InputMaybe; - tokenAddress_not?: InputMaybe; - tokenAddress_gt?: InputMaybe; - tokenAddress_lt?: InputMaybe; - tokenAddress_gte?: InputMaybe; - tokenAddress_lte?: InputMaybe; - tokenAddress_in?: InputMaybe>; - tokenAddress_not_in?: InputMaybe>; - tokenAddress_contains?: InputMaybe; - tokenAddress_not_contains?: InputMaybe; - currentRoundId?: InputMaybe; - currentRoundId_not?: InputMaybe; - currentRoundId_gt?: InputMaybe; - currentRoundId_lt?: InputMaybe; - currentRoundId_gte?: InputMaybe; - currentRoundId_lte?: InputMaybe; - currentRoundId_in?: InputMaybe>; - currentRoundId_not_in?: InputMaybe>; - currentRound?: InputMaybe; - currentRound_not?: InputMaybe; - currentRound_gt?: InputMaybe; - currentRound_lt?: InputMaybe; - currentRound_gte?: InputMaybe; - currentRound_lte?: InputMaybe; - currentRound_in?: InputMaybe>; - currentRound_not_in?: InputMaybe>; - currentRound_contains?: InputMaybe; - currentRound_contains_nocase?: InputMaybe; - currentRound_not_contains?: InputMaybe; - currentRound_not_contains_nocase?: InputMaybe; - currentRound_starts_with?: InputMaybe; - currentRound_starts_with_nocase?: InputMaybe; - currentRound_not_starts_with?: InputMaybe; - currentRound_not_starts_with_nocase?: InputMaybe; - currentRound_ends_with?: InputMaybe; - currentRound_ends_with_nocase?: InputMaybe; - currentRound_not_ends_with?: InputMaybe; - currentRound_not_ends_with_nocase?: InputMaybe; - currentRound_?: InputMaybe; - poolFunds?: InputMaybe; - poolFunds_not?: InputMaybe; - poolFunds_gt?: InputMaybe; - poolFunds_lt?: InputMaybe; - poolFunds_gte?: InputMaybe; - poolFunds_lte?: InputMaybe; - poolFunds_in?: InputMaybe>; - poolFunds_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type GameManager_orderBy = - | 'id' - | 'poolId' - | 'gameFacilitatorId' - | 'rootAccount' - | 'tokenAddress' - | 'currentRoundId' - | 'currentRound' - | 'currentRound__id' - | 'currentRound__startTime' - | 'currentRound__endTime' - | 'currentRound__totalRoundAmount' - | 'currentRound__totalAllocatedAmount' - | 'currentRound__totalDistributedAmount' - | 'currentRound__gameStatus' - | 'currentRound__isGameActive' - | 'currentRound__realStartTime' - | 'currentRound__realEndTime' - | 'poolFunds'; -export type GameRound = { +export type SubscriptiongrantShipArgs = { id: Scalars['ID']; - startTime: Scalars['BigInt']; - endTime: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocatedAmount: Scalars['BigInt']; - totalDistributedAmount: Scalars['BigInt']; - gameStatus: Scalars['Int']; - ships: Array; - isGameActive: Scalars['Boolean']; - realStartTime?: Maybe; - realEndTime?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRoundshipsArgs = { +export type SubscriptiongrantShipsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; orderDirection?: InputMaybe; where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRound_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - startTime?: InputMaybe; - startTime_not?: InputMaybe; - startTime_gt?: InputMaybe; - startTime_lt?: InputMaybe; - startTime_gte?: InputMaybe; - startTime_lte?: InputMaybe; - startTime_in?: InputMaybe>; - startTime_not_in?: InputMaybe>; - endTime?: InputMaybe; - endTime_not?: InputMaybe; - endTime_gt?: InputMaybe; - endTime_lt?: InputMaybe; - endTime_gte?: InputMaybe; - endTime_lte?: InputMaybe; - endTime_in?: InputMaybe>; - endTime_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocatedAmount?: InputMaybe; - totalAllocatedAmount_not?: InputMaybe; - totalAllocatedAmount_gt?: InputMaybe; - totalAllocatedAmount_lt?: InputMaybe; - totalAllocatedAmount_gte?: InputMaybe; - totalAllocatedAmount_lte?: InputMaybe; - totalAllocatedAmount_in?: InputMaybe>; - totalAllocatedAmount_not_in?: InputMaybe>; - totalDistributedAmount?: InputMaybe; - totalDistributedAmount_not?: InputMaybe; - totalDistributedAmount_gt?: InputMaybe; - totalDistributedAmount_lt?: InputMaybe; - totalDistributedAmount_gte?: InputMaybe; - totalDistributedAmount_lte?: InputMaybe; - totalDistributedAmount_in?: InputMaybe>; - totalDistributedAmount_not_in?: InputMaybe>; - gameStatus?: InputMaybe; - gameStatus_not?: InputMaybe; - gameStatus_gt?: InputMaybe; - gameStatus_lt?: InputMaybe; - gameStatus_gte?: InputMaybe; - gameStatus_lte?: InputMaybe; - gameStatus_in?: InputMaybe>; - gameStatus_not_in?: InputMaybe>; - ships?: InputMaybe>; - ships_not?: InputMaybe>; - ships_contains?: InputMaybe>; - ships_contains_nocase?: InputMaybe>; - ships_not_contains?: InputMaybe>; - ships_not_contains_nocase?: InputMaybe>; - ships_?: InputMaybe; - isGameActive?: InputMaybe; - isGameActive_not?: InputMaybe; - isGameActive_in?: InputMaybe>; - isGameActive_not_in?: InputMaybe>; - realStartTime?: InputMaybe; - realStartTime_not?: InputMaybe; - realStartTime_gt?: InputMaybe; - realStartTime_lt?: InputMaybe; - realStartTime_gte?: InputMaybe; - realStartTime_lte?: InputMaybe; - realStartTime_in?: InputMaybe>; - realStartTime_not_in?: InputMaybe>; - realEndTime?: InputMaybe; - realEndTime_not?: InputMaybe; - realEndTime_gt?: InputMaybe; - realEndTime_lt?: InputMaybe; - realEndTime_gte?: InputMaybe; - realEndTime_lte?: InputMaybe; - realEndTime_in?: InputMaybe>; - realEndTime_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionpoolIdLookupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRound_orderBy = - | 'id' - | 'startTime' - | 'endTime' - | 'totalRoundAmount' - | 'totalAllocatedAmount' - | 'totalDistributedAmount' - | 'gameStatus' - | 'ships' - | 'isGameActive' - | 'realStartTime' - | 'realEndTime'; -export type GmDeployment = { +export type SubscriptionpoolIdLookupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongameManagerArgs = { id: Scalars['ID']; - address: Scalars['Bytes']; - version: GmVersion; - blockNumber: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - timestamp: Scalars['BigInt']; - hasPool: Scalars['Boolean']; - poolId?: Maybe; - profileId: Scalars['Bytes']; - poolMetadata: RawMetadata; - poolProfileMetadata: RawMetadata; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmDeployment_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; - version?: InputMaybe; - version_not?: InputMaybe; - version_gt?: InputMaybe; - version_lt?: InputMaybe; - version_gte?: InputMaybe; - version_lte?: InputMaybe; - version_in?: InputMaybe>; - version_not_in?: InputMaybe>; - version_contains?: InputMaybe; - version_contains_nocase?: InputMaybe; - version_not_contains?: InputMaybe; - version_not_contains_nocase?: InputMaybe; - version_starts_with?: InputMaybe; - version_starts_with_nocase?: InputMaybe; - version_not_starts_with?: InputMaybe; - version_not_starts_with_nocase?: InputMaybe; - version_ends_with?: InputMaybe; - version_ends_with_nocase?: InputMaybe; - version_not_ends_with?: InputMaybe; - version_not_ends_with_nocase?: InputMaybe; - version_?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - hasPool?: InputMaybe; - hasPool_not?: InputMaybe; - hasPool_in?: InputMaybe>; - hasPool_not_in?: InputMaybe>; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - poolMetadata?: InputMaybe; - poolMetadata_not?: InputMaybe; - poolMetadata_gt?: InputMaybe; - poolMetadata_lt?: InputMaybe; - poolMetadata_gte?: InputMaybe; - poolMetadata_lte?: InputMaybe; - poolMetadata_in?: InputMaybe>; - poolMetadata_not_in?: InputMaybe>; - poolMetadata_contains?: InputMaybe; - poolMetadata_contains_nocase?: InputMaybe; - poolMetadata_not_contains?: InputMaybe; - poolMetadata_not_contains_nocase?: InputMaybe; - poolMetadata_starts_with?: InputMaybe; - poolMetadata_starts_with_nocase?: InputMaybe; - poolMetadata_not_starts_with?: InputMaybe; - poolMetadata_not_starts_with_nocase?: InputMaybe; - poolMetadata_ends_with?: InputMaybe; - poolMetadata_ends_with_nocase?: InputMaybe; - poolMetadata_not_ends_with?: InputMaybe; - poolMetadata_not_ends_with_nocase?: InputMaybe; - poolMetadata_?: InputMaybe; - poolProfileMetadata?: InputMaybe; - poolProfileMetadata_not?: InputMaybe; - poolProfileMetadata_gt?: InputMaybe; - poolProfileMetadata_lt?: InputMaybe; - poolProfileMetadata_gte?: InputMaybe; - poolProfileMetadata_lte?: InputMaybe; - poolProfileMetadata_in?: InputMaybe>; - poolProfileMetadata_not_in?: InputMaybe>; - poolProfileMetadata_contains?: InputMaybe; - poolProfileMetadata_contains_nocase?: InputMaybe; - poolProfileMetadata_not_contains?: InputMaybe; - poolProfileMetadata_not_contains_nocase?: InputMaybe; - poolProfileMetadata_starts_with?: InputMaybe; - poolProfileMetadata_starts_with_nocase?: InputMaybe; - poolProfileMetadata_not_starts_with?: InputMaybe; - poolProfileMetadata_not_starts_with_nocase?: InputMaybe; - poolProfileMetadata_ends_with?: InputMaybe; - poolProfileMetadata_ends_with_nocase?: InputMaybe; - poolProfileMetadata_not_ends_with?: InputMaybe; - poolProfileMetadata_not_ends_with_nocase?: InputMaybe; - poolProfileMetadata_?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptiongameManagersArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmDeployment_orderBy = - | 'id' - | 'address' - | 'version' - | 'version__id' - | 'version__name' - | 'version__address' - | 'blockNumber' - | 'transactionHash' - | 'timestamp' - | 'hasPool' - | 'poolId' - | 'profileId' - | 'poolMetadata' - | 'poolMetadata__id' - | 'poolMetadata__protocol' - | 'poolMetadata__pointer' - | 'poolProfileMetadata' - | 'poolProfileMetadata__id' - | 'poolProfileMetadata__protocol' - | 'poolProfileMetadata__pointer'; -export type GmVersion = { +export type SubscriptiongameRoundArgs = { id: Scalars['ID']; - name: Scalars['String']; - address: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmVersion_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptiongameRoundsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmVersion_orderBy = - | 'id' - | 'name' - | 'address'; -export type Grant = { +export type SubscriptionapplicationHistoryArgs = { id: Scalars['ID']; - projectId: Project; - shipId: GrantShip; - lastUpdated: Scalars['BigInt']; - hasResubmitted: Scalars['Boolean']; - grantStatus: Scalars['Int']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; - currentMilestoneIndex: Scalars['BigInt']; - milestonesAmount: Scalars['BigInt']; - milestones?: Maybe>; - shipApprovalReason?: Maybe; - hasShipApproved?: Maybe; - amtAllocated: Scalars['BigInt']; - amtDistributed: Scalars['BigInt']; - allocatedBy?: Maybe; - facilitatorReason?: Maybe; - hasFacilitatorApproved?: Maybe; - milestonesApproved?: Maybe; - milestonesApprovedReason?: Maybe; - currentMilestoneRejectedReason?: Maybe; - resubmitHistory: Array; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantmilestonesArgs = { +export type SubscriptionapplicationHistoriesArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantresubmitHistoryArgs = { +export type SubscriptiongrantArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongrantsArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip = { - id: Scalars['Bytes']; - profileId: Scalars['Bytes']; - nonce: Scalars['BigInt']; - name: Scalars['String']; - profileMetadata: RawMetadata; - owner: Scalars['Bytes']; - anchor: Scalars['Bytes']; - blockNumber: Scalars['BigInt']; - blockTimestamp: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - status: Scalars['Int']; - poolFunded: Scalars['Boolean']; - balance: Scalars['BigInt']; - shipAllocation: Scalars['BigInt']; - totalAvailableFunds: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocated: Scalars['BigInt']; - totalDistributed: Scalars['BigInt']; - grants: Array; - alloProfileMembers?: Maybe; - shipApplicationBytesData?: Maybe; - applicationSubmittedTime?: Maybe; - isAwaitingApproval?: Maybe; - hasSubmittedApplication?: Maybe; - isApproved?: Maybe; - approvedTime?: Maybe; - isRejected?: Maybe; - rejectedTime?: Maybe; - applicationReviewReason?: Maybe; - poolId?: Maybe; - hatId?: Maybe; - shipContractAddress?: Maybe; - shipLaunched?: Maybe; - poolActive?: Maybe; - isAllocated?: Maybe; - isDistributed?: Maybe; + +export type SubscriptionmilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShipgrantsArgs = { +export type SubscriptionmilestonesArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - nonce?: InputMaybe; - nonce_not?: InputMaybe; - nonce_gt?: InputMaybe; - nonce_lt?: InputMaybe; - nonce_gte?: InputMaybe; - nonce_lte?: InputMaybe; - nonce_in?: InputMaybe>; - nonce_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - profileMetadata?: InputMaybe; - profileMetadata_not?: InputMaybe; - profileMetadata_gt?: InputMaybe; - profileMetadata_lt?: InputMaybe; - profileMetadata_gte?: InputMaybe; - profileMetadata_lte?: InputMaybe; - profileMetadata_in?: InputMaybe>; - profileMetadata_not_in?: InputMaybe>; - profileMetadata_contains?: InputMaybe; - profileMetadata_contains_nocase?: InputMaybe; - profileMetadata_not_contains?: InputMaybe; - profileMetadata_not_contains_nocase?: InputMaybe; - profileMetadata_starts_with?: InputMaybe; - profileMetadata_starts_with_nocase?: InputMaybe; - profileMetadata_not_starts_with?: InputMaybe; - profileMetadata_not_starts_with_nocase?: InputMaybe; - profileMetadata_ends_with?: InputMaybe; - profileMetadata_ends_with_nocase?: InputMaybe; - profileMetadata_not_ends_with?: InputMaybe; - profileMetadata_not_ends_with_nocase?: InputMaybe; - profileMetadata_?: InputMaybe; - owner?: InputMaybe; - owner_not?: InputMaybe; - owner_gt?: InputMaybe; - owner_lt?: InputMaybe; - owner_gte?: InputMaybe; - owner_lte?: InputMaybe; - owner_in?: InputMaybe>; - owner_not_in?: InputMaybe>; - owner_contains?: InputMaybe; - owner_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - blockTimestamp?: InputMaybe; - blockTimestamp_not?: InputMaybe; - blockTimestamp_gt?: InputMaybe; - blockTimestamp_lt?: InputMaybe; - blockTimestamp_gte?: InputMaybe; - blockTimestamp_lte?: InputMaybe; - blockTimestamp_in?: InputMaybe>; - blockTimestamp_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - poolFunded?: InputMaybe; - poolFunded_not?: InputMaybe; - poolFunded_in?: InputMaybe>; - poolFunded_not_in?: InputMaybe>; - balance?: InputMaybe; - balance_not?: InputMaybe; - balance_gt?: InputMaybe; - balance_lt?: InputMaybe; - balance_gte?: InputMaybe; - balance_lte?: InputMaybe; - balance_in?: InputMaybe>; - balance_not_in?: InputMaybe>; - shipAllocation?: InputMaybe; - shipAllocation_not?: InputMaybe; - shipAllocation_gt?: InputMaybe; - shipAllocation_lt?: InputMaybe; - shipAllocation_gte?: InputMaybe; - shipAllocation_lte?: InputMaybe; - shipAllocation_in?: InputMaybe>; - shipAllocation_not_in?: InputMaybe>; - totalAvailableFunds?: InputMaybe; - totalAvailableFunds_not?: InputMaybe; - totalAvailableFunds_gt?: InputMaybe; - totalAvailableFunds_lt?: InputMaybe; - totalAvailableFunds_gte?: InputMaybe; - totalAvailableFunds_lte?: InputMaybe; - totalAvailableFunds_in?: InputMaybe>; - totalAvailableFunds_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocated?: InputMaybe; - totalAllocated_not?: InputMaybe; - totalAllocated_gt?: InputMaybe; - totalAllocated_lt?: InputMaybe; - totalAllocated_gte?: InputMaybe; - totalAllocated_lte?: InputMaybe; - totalAllocated_in?: InputMaybe>; - totalAllocated_not_in?: InputMaybe>; - totalDistributed?: InputMaybe; - totalDistributed_not?: InputMaybe; - totalDistributed_gt?: InputMaybe; - totalDistributed_lt?: InputMaybe; - totalDistributed_gte?: InputMaybe; - totalDistributed_lte?: InputMaybe; - totalDistributed_in?: InputMaybe>; - totalDistributed_not_in?: InputMaybe>; - grants_?: InputMaybe; - alloProfileMembers?: InputMaybe; - alloProfileMembers_not?: InputMaybe; - alloProfileMembers_gt?: InputMaybe; - alloProfileMembers_lt?: InputMaybe; - alloProfileMembers_gte?: InputMaybe; - alloProfileMembers_lte?: InputMaybe; - alloProfileMembers_in?: InputMaybe>; - alloProfileMembers_not_in?: InputMaybe>; - alloProfileMembers_contains?: InputMaybe; - alloProfileMembers_contains_nocase?: InputMaybe; - alloProfileMembers_not_contains?: InputMaybe; - alloProfileMembers_not_contains_nocase?: InputMaybe; - alloProfileMembers_starts_with?: InputMaybe; - alloProfileMembers_starts_with_nocase?: InputMaybe; - alloProfileMembers_not_starts_with?: InputMaybe; - alloProfileMembers_not_starts_with_nocase?: InputMaybe; - alloProfileMembers_ends_with?: InputMaybe; - alloProfileMembers_ends_with_nocase?: InputMaybe; - alloProfileMembers_not_ends_with?: InputMaybe; - alloProfileMembers_not_ends_with_nocase?: InputMaybe; - alloProfileMembers_?: InputMaybe; - shipApplicationBytesData?: InputMaybe; - shipApplicationBytesData_not?: InputMaybe; - shipApplicationBytesData_gt?: InputMaybe; - shipApplicationBytesData_lt?: InputMaybe; - shipApplicationBytesData_gte?: InputMaybe; - shipApplicationBytesData_lte?: InputMaybe; - shipApplicationBytesData_in?: InputMaybe>; - shipApplicationBytesData_not_in?: InputMaybe>; - shipApplicationBytesData_contains?: InputMaybe; - shipApplicationBytesData_not_contains?: InputMaybe; - applicationSubmittedTime?: InputMaybe; - applicationSubmittedTime_not?: InputMaybe; - applicationSubmittedTime_gt?: InputMaybe; - applicationSubmittedTime_lt?: InputMaybe; - applicationSubmittedTime_gte?: InputMaybe; - applicationSubmittedTime_lte?: InputMaybe; - applicationSubmittedTime_in?: InputMaybe>; - applicationSubmittedTime_not_in?: InputMaybe>; - isAwaitingApproval?: InputMaybe; - isAwaitingApproval_not?: InputMaybe; - isAwaitingApproval_in?: InputMaybe>; - isAwaitingApproval_not_in?: InputMaybe>; - hasSubmittedApplication?: InputMaybe; - hasSubmittedApplication_not?: InputMaybe; - hasSubmittedApplication_in?: InputMaybe>; - hasSubmittedApplication_not_in?: InputMaybe>; - isApproved?: InputMaybe; - isApproved_not?: InputMaybe; - isApproved_in?: InputMaybe>; - isApproved_not_in?: InputMaybe>; - approvedTime?: InputMaybe; - approvedTime_not?: InputMaybe; - approvedTime_gt?: InputMaybe; - approvedTime_lt?: InputMaybe; - approvedTime_gte?: InputMaybe; - approvedTime_lte?: InputMaybe; - approvedTime_in?: InputMaybe>; - approvedTime_not_in?: InputMaybe>; - isRejected?: InputMaybe; - isRejected_not?: InputMaybe; - isRejected_in?: InputMaybe>; - isRejected_not_in?: InputMaybe>; - rejectedTime?: InputMaybe; - rejectedTime_not?: InputMaybe; - rejectedTime_gt?: InputMaybe; - rejectedTime_lt?: InputMaybe; - rejectedTime_gte?: InputMaybe; - rejectedTime_lte?: InputMaybe; - rejectedTime_in?: InputMaybe>; - rejectedTime_not_in?: InputMaybe>; - applicationReviewReason?: InputMaybe; - applicationReviewReason_not?: InputMaybe; - applicationReviewReason_gt?: InputMaybe; - applicationReviewReason_lt?: InputMaybe; - applicationReviewReason_gte?: InputMaybe; - applicationReviewReason_lte?: InputMaybe; - applicationReviewReason_in?: InputMaybe>; - applicationReviewReason_not_in?: InputMaybe>; - applicationReviewReason_contains?: InputMaybe; - applicationReviewReason_contains_nocase?: InputMaybe; - applicationReviewReason_not_contains?: InputMaybe; - applicationReviewReason_not_contains_nocase?: InputMaybe; - applicationReviewReason_starts_with?: InputMaybe; - applicationReviewReason_starts_with_nocase?: InputMaybe; - applicationReviewReason_not_starts_with?: InputMaybe; - applicationReviewReason_not_starts_with_nocase?: InputMaybe; - applicationReviewReason_ends_with?: InputMaybe; - applicationReviewReason_ends_with_nocase?: InputMaybe; - applicationReviewReason_not_ends_with?: InputMaybe; - applicationReviewReason_not_ends_with_nocase?: InputMaybe; - applicationReviewReason_?: InputMaybe; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - hatId?: InputMaybe; - hatId_not?: InputMaybe; - hatId_gt?: InputMaybe; - hatId_lt?: InputMaybe; - hatId_gte?: InputMaybe; - hatId_lte?: InputMaybe; - hatId_in?: InputMaybe>; - hatId_not_in?: InputMaybe>; - hatId_contains?: InputMaybe; - hatId_contains_nocase?: InputMaybe; - hatId_not_contains?: InputMaybe; - hatId_not_contains_nocase?: InputMaybe; - hatId_starts_with?: InputMaybe; - hatId_starts_with_nocase?: InputMaybe; - hatId_not_starts_with?: InputMaybe; - hatId_not_starts_with_nocase?: InputMaybe; - hatId_ends_with?: InputMaybe; - hatId_ends_with_nocase?: InputMaybe; - hatId_not_ends_with?: InputMaybe; - hatId_not_ends_with_nocase?: InputMaybe; - shipContractAddress?: InputMaybe; - shipContractAddress_not?: InputMaybe; - shipContractAddress_gt?: InputMaybe; - shipContractAddress_lt?: InputMaybe; - shipContractAddress_gte?: InputMaybe; - shipContractAddress_lte?: InputMaybe; - shipContractAddress_in?: InputMaybe>; - shipContractAddress_not_in?: InputMaybe>; - shipContractAddress_contains?: InputMaybe; - shipContractAddress_not_contains?: InputMaybe; - shipLaunched?: InputMaybe; - shipLaunched_not?: InputMaybe; - shipLaunched_in?: InputMaybe>; - shipLaunched_not_in?: InputMaybe>; - poolActive?: InputMaybe; - poolActive_not?: InputMaybe; - poolActive_in?: InputMaybe>; - poolActive_not_in?: InputMaybe>; - isAllocated?: InputMaybe; - isAllocated_not?: InputMaybe; - isAllocated_in?: InputMaybe>; - isAllocated_not_in?: InputMaybe>; - isDistributed?: InputMaybe; - isDistributed_not?: InputMaybe; - isDistributed_in?: InputMaybe>; - isDistributed_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip_orderBy = - | 'id' - | 'profileId' - | 'nonce' - | 'name' - | 'profileMetadata' - | 'profileMetadata__id' - | 'profileMetadata__protocol' - | 'profileMetadata__pointer' - | 'owner' - | 'anchor' - | 'blockNumber' - | 'blockTimestamp' - | 'transactionHash' - | 'status' - | 'poolFunded' - | 'balance' - | 'shipAllocation' - | 'totalAvailableFunds' - | 'totalRoundAmount' - | 'totalAllocated' - | 'totalDistributed' - | 'grants' - | 'alloProfileMembers' - | 'alloProfileMembers__id' - | 'shipApplicationBytesData' - | 'applicationSubmittedTime' - | 'isAwaitingApproval' - | 'hasSubmittedApplication' - | 'isApproved' - | 'approvedTime' - | 'isRejected' - | 'rejectedTime' - | 'applicationReviewReason' - | 'applicationReviewReason__id' - | 'applicationReviewReason__protocol' - | 'applicationReviewReason__pointer' - | 'poolId' - | 'hatId' - | 'shipContractAddress' - | 'shipLaunched' - | 'poolActive' - | 'isAllocated' - | 'isDistributed'; -export type Grant_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - projectId?: InputMaybe; - projectId_not?: InputMaybe; - projectId_gt?: InputMaybe; - projectId_lt?: InputMaybe; - projectId_gte?: InputMaybe; - projectId_lte?: InputMaybe; - projectId_in?: InputMaybe>; - projectId_not_in?: InputMaybe>; - projectId_contains?: InputMaybe; - projectId_contains_nocase?: InputMaybe; - projectId_not_contains?: InputMaybe; - projectId_not_contains_nocase?: InputMaybe; - projectId_starts_with?: InputMaybe; - projectId_starts_with_nocase?: InputMaybe; - projectId_not_starts_with?: InputMaybe; - projectId_not_starts_with_nocase?: InputMaybe; - projectId_ends_with?: InputMaybe; - projectId_ends_with_nocase?: InputMaybe; - projectId_not_ends_with?: InputMaybe; - projectId_not_ends_with_nocase?: InputMaybe; - projectId_?: InputMaybe; - shipId?: InputMaybe; - shipId_not?: InputMaybe; - shipId_gt?: InputMaybe; - shipId_lt?: InputMaybe; - shipId_gte?: InputMaybe; - shipId_lte?: InputMaybe; - shipId_in?: InputMaybe>; - shipId_not_in?: InputMaybe>; - shipId_contains?: InputMaybe; - shipId_contains_nocase?: InputMaybe; - shipId_not_contains?: InputMaybe; - shipId_not_contains_nocase?: InputMaybe; - shipId_starts_with?: InputMaybe; - shipId_starts_with_nocase?: InputMaybe; - shipId_not_starts_with?: InputMaybe; - shipId_not_starts_with_nocase?: InputMaybe; - shipId_ends_with?: InputMaybe; - shipId_ends_with_nocase?: InputMaybe; - shipId_not_ends_with?: InputMaybe; - shipId_not_ends_with_nocase?: InputMaybe; - shipId_?: InputMaybe; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - hasResubmitted?: InputMaybe; - hasResubmitted_not?: InputMaybe; - hasResubmitted_in?: InputMaybe>; - hasResubmitted_not_in?: InputMaybe>; - grantStatus?: InputMaybe; - grantStatus_not?: InputMaybe; - grantStatus_gt?: InputMaybe; - grantStatus_lt?: InputMaybe; - grantStatus_gte?: InputMaybe; - grantStatus_lte?: InputMaybe; - grantStatus_in?: InputMaybe>; - grantStatus_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - currentMilestoneIndex?: InputMaybe; - currentMilestoneIndex_not?: InputMaybe; - currentMilestoneIndex_gt?: InputMaybe; - currentMilestoneIndex_lt?: InputMaybe; - currentMilestoneIndex_gte?: InputMaybe; - currentMilestoneIndex_lte?: InputMaybe; - currentMilestoneIndex_in?: InputMaybe>; - currentMilestoneIndex_not_in?: InputMaybe>; - milestonesAmount?: InputMaybe; - milestonesAmount_not?: InputMaybe; - milestonesAmount_gt?: InputMaybe; - milestonesAmount_lt?: InputMaybe; - milestonesAmount_gte?: InputMaybe; - milestonesAmount_lte?: InputMaybe; - milestonesAmount_in?: InputMaybe>; - milestonesAmount_not_in?: InputMaybe>; - milestones?: InputMaybe>; - milestones_not?: InputMaybe>; - milestones_contains?: InputMaybe>; - milestones_contains_nocase?: InputMaybe>; - milestones_not_contains?: InputMaybe>; - milestones_not_contains_nocase?: InputMaybe>; - milestones_?: InputMaybe; - shipApprovalReason?: InputMaybe; - shipApprovalReason_not?: InputMaybe; - shipApprovalReason_gt?: InputMaybe; - shipApprovalReason_lt?: InputMaybe; - shipApprovalReason_gte?: InputMaybe; - shipApprovalReason_lte?: InputMaybe; - shipApprovalReason_in?: InputMaybe>; - shipApprovalReason_not_in?: InputMaybe>; - shipApprovalReason_contains?: InputMaybe; - shipApprovalReason_contains_nocase?: InputMaybe; - shipApprovalReason_not_contains?: InputMaybe; - shipApprovalReason_not_contains_nocase?: InputMaybe; - shipApprovalReason_starts_with?: InputMaybe; - shipApprovalReason_starts_with_nocase?: InputMaybe; - shipApprovalReason_not_starts_with?: InputMaybe; - shipApprovalReason_not_starts_with_nocase?: InputMaybe; - shipApprovalReason_ends_with?: InputMaybe; - shipApprovalReason_ends_with_nocase?: InputMaybe; - shipApprovalReason_not_ends_with?: InputMaybe; - shipApprovalReason_not_ends_with_nocase?: InputMaybe; - shipApprovalReason_?: InputMaybe; - hasShipApproved?: InputMaybe; - hasShipApproved_not?: InputMaybe; - hasShipApproved_in?: InputMaybe>; - hasShipApproved_not_in?: InputMaybe>; - amtAllocated?: InputMaybe; - amtAllocated_not?: InputMaybe; - amtAllocated_gt?: InputMaybe; - amtAllocated_lt?: InputMaybe; - amtAllocated_gte?: InputMaybe; - amtAllocated_lte?: InputMaybe; - amtAllocated_in?: InputMaybe>; - amtAllocated_not_in?: InputMaybe>; - amtDistributed?: InputMaybe; - amtDistributed_not?: InputMaybe; - amtDistributed_gt?: InputMaybe; - amtDistributed_lt?: InputMaybe; - amtDistributed_gte?: InputMaybe; - amtDistributed_lte?: InputMaybe; - amtDistributed_in?: InputMaybe>; - amtDistributed_not_in?: InputMaybe>; - allocatedBy?: InputMaybe; - allocatedBy_not?: InputMaybe; - allocatedBy_gt?: InputMaybe; - allocatedBy_lt?: InputMaybe; - allocatedBy_gte?: InputMaybe; - allocatedBy_lte?: InputMaybe; - allocatedBy_in?: InputMaybe>; - allocatedBy_not_in?: InputMaybe>; - allocatedBy_contains?: InputMaybe; - allocatedBy_not_contains?: InputMaybe; - facilitatorReason?: InputMaybe; - facilitatorReason_not?: InputMaybe; - facilitatorReason_gt?: InputMaybe; - facilitatorReason_lt?: InputMaybe; - facilitatorReason_gte?: InputMaybe; - facilitatorReason_lte?: InputMaybe; - facilitatorReason_in?: InputMaybe>; - facilitatorReason_not_in?: InputMaybe>; - facilitatorReason_contains?: InputMaybe; - facilitatorReason_contains_nocase?: InputMaybe; - facilitatorReason_not_contains?: InputMaybe; - facilitatorReason_not_contains_nocase?: InputMaybe; - facilitatorReason_starts_with?: InputMaybe; - facilitatorReason_starts_with_nocase?: InputMaybe; - facilitatorReason_not_starts_with?: InputMaybe; - facilitatorReason_not_starts_with_nocase?: InputMaybe; - facilitatorReason_ends_with?: InputMaybe; - facilitatorReason_ends_with_nocase?: InputMaybe; - facilitatorReason_not_ends_with?: InputMaybe; - facilitatorReason_not_ends_with_nocase?: InputMaybe; - facilitatorReason_?: InputMaybe; - hasFacilitatorApproved?: InputMaybe; - hasFacilitatorApproved_not?: InputMaybe; - hasFacilitatorApproved_in?: InputMaybe>; - hasFacilitatorApproved_not_in?: InputMaybe>; - milestonesApproved?: InputMaybe; - milestonesApproved_not?: InputMaybe; - milestonesApproved_in?: InputMaybe>; - milestonesApproved_not_in?: InputMaybe>; - milestonesApprovedReason?: InputMaybe; - milestonesApprovedReason_not?: InputMaybe; - milestonesApprovedReason_gt?: InputMaybe; - milestonesApprovedReason_lt?: InputMaybe; - milestonesApprovedReason_gte?: InputMaybe; - milestonesApprovedReason_lte?: InputMaybe; - milestonesApprovedReason_in?: InputMaybe>; - milestonesApprovedReason_not_in?: InputMaybe>; - milestonesApprovedReason_contains?: InputMaybe; - milestonesApprovedReason_contains_nocase?: InputMaybe; - milestonesApprovedReason_not_contains?: InputMaybe; - milestonesApprovedReason_not_contains_nocase?: InputMaybe; - milestonesApprovedReason_starts_with?: InputMaybe; - milestonesApprovedReason_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_not_starts_with?: InputMaybe; - milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_ends_with?: InputMaybe; - milestonesApprovedReason_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_not_ends_with?: InputMaybe; - milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_?: InputMaybe; - currentMilestoneRejectedReason?: InputMaybe; - currentMilestoneRejectedReason_not?: InputMaybe; - currentMilestoneRejectedReason_gt?: InputMaybe; - currentMilestoneRejectedReason_lt?: InputMaybe; - currentMilestoneRejectedReason_gte?: InputMaybe; - currentMilestoneRejectedReason_lte?: InputMaybe; - currentMilestoneRejectedReason_in?: InputMaybe>; - currentMilestoneRejectedReason_not_in?: InputMaybe>; - currentMilestoneRejectedReason_contains?: InputMaybe; - currentMilestoneRejectedReason_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_contains?: InputMaybe; - currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_starts_with?: InputMaybe; - currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_ends_with?: InputMaybe; - currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_?: InputMaybe; - resubmitHistory?: InputMaybe>; - resubmitHistory_not?: InputMaybe>; - resubmitHistory_contains?: InputMaybe>; - resubmitHistory_contains_nocase?: InputMaybe>; - resubmitHistory_not_contains?: InputMaybe>; - resubmitHistory_not_contains_nocase?: InputMaybe>; - resubmitHistory_?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +export type SubscriptionprofileIdToAnchorsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Grant_orderBy = - | 'id' - | 'projectId' - | 'projectId__id' - | 'projectId__profileId' - | 'projectId__status' - | 'projectId__nonce' - | 'projectId__name' - | 'projectId__owner' - | 'projectId__anchor' - | 'projectId__blockNumber' - | 'projectId__blockTimestamp' - | 'projectId__transactionHash' - | 'projectId__totalAmountReceived' - | 'shipId' - | 'shipId__id' - | 'shipId__profileId' - | 'shipId__nonce' - | 'shipId__name' - | 'shipId__owner' - | 'shipId__anchor' - | 'shipId__blockNumber' - | 'shipId__blockTimestamp' - | 'shipId__transactionHash' - | 'shipId__status' - | 'shipId__poolFunded' - | 'shipId__balance' - | 'shipId__shipAllocation' - | 'shipId__totalAvailableFunds' - | 'shipId__totalRoundAmount' - | 'shipId__totalAllocated' - | 'shipId__totalDistributed' - | 'shipId__shipApplicationBytesData' - | 'shipId__applicationSubmittedTime' - | 'shipId__isAwaitingApproval' - | 'shipId__hasSubmittedApplication' - | 'shipId__isApproved' - | 'shipId__approvedTime' - | 'shipId__isRejected' - | 'shipId__rejectedTime' - | 'shipId__poolId' - | 'shipId__hatId' - | 'shipId__shipContractAddress' - | 'shipId__shipLaunched' - | 'shipId__poolActive' - | 'shipId__isAllocated' - | 'shipId__isDistributed' - | 'lastUpdated' - | 'hasResubmitted' - | 'grantStatus' - | 'grantApplicationBytes' - | 'applicationSubmitted' - | 'currentMilestoneIndex' - | 'milestonesAmount' - | 'milestones' - | 'shipApprovalReason' - | 'shipApprovalReason__id' - | 'shipApprovalReason__protocol' - | 'shipApprovalReason__pointer' - | 'hasShipApproved' - | 'amtAllocated' - | 'amtDistributed' - | 'allocatedBy' - | 'facilitatorReason' - | 'facilitatorReason__id' - | 'facilitatorReason__protocol' - | 'facilitatorReason__pointer' - | 'hasFacilitatorApproved' - | 'milestonesApproved' - | 'milestonesApprovedReason' - | 'milestonesApprovedReason__id' - | 'milestonesApprovedReason__protocol' - | 'milestonesApprovedReason__pointer' - | 'currentMilestoneRejectedReason' - | 'currentMilestoneRejectedReason__id' - | 'currentMilestoneRejectedReason__protocol' - | 'currentMilestoneRejectedReason__pointer' - | 'resubmitHistory'; -export type Log = { +export type SubscriptionprofileMemberGroupArgs = { id: Scalars['ID']; - message: Scalars['String']; - description?: Maybe; - type?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Log_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - message?: InputMaybe; - message_not?: InputMaybe; - message_gt?: InputMaybe; - message_lt?: InputMaybe; - message_gte?: InputMaybe; - message_lte?: InputMaybe; - message_in?: InputMaybe>; - message_not_in?: InputMaybe>; - message_contains?: InputMaybe; - message_contains_nocase?: InputMaybe; - message_not_contains?: InputMaybe; - message_not_contains_nocase?: InputMaybe; - message_starts_with?: InputMaybe; - message_starts_with_nocase?: InputMaybe; - message_not_starts_with?: InputMaybe; - message_not_starts_with_nocase?: InputMaybe; - message_ends_with?: InputMaybe; - message_ends_with_nocase?: InputMaybe; - message_not_ends_with?: InputMaybe; - message_not_ends_with_nocase?: InputMaybe; - description?: InputMaybe; - description_not?: InputMaybe; - description_gt?: InputMaybe; - description_lt?: InputMaybe; - description_gte?: InputMaybe; - description_lte?: InputMaybe; - description_in?: InputMaybe>; - description_not_in?: InputMaybe>; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionprofileMemberGroupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Log_orderBy = - | 'id' - | 'message' - | 'description' - | 'type'; -export type Milestone = { +export type SubscriptiontransactionArgs = { id: Scalars['ID']; - amountPercentage: Scalars['Bytes']; - mmetadata: Scalars['BigInt']; - amount: Scalars['BigInt']; - status: Scalars['Int']; - lastUpdated: Scalars['BigInt']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Milestone_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - amountPercentage?: InputMaybe; - amountPercentage_not?: InputMaybe; - amountPercentage_gt?: InputMaybe; - amountPercentage_lt?: InputMaybe; - amountPercentage_gte?: InputMaybe; - amountPercentage_lte?: InputMaybe; - amountPercentage_in?: InputMaybe>; - amountPercentage_not_in?: InputMaybe>; - amountPercentage_contains?: InputMaybe; - amountPercentage_not_contains?: InputMaybe; - mmetadata?: InputMaybe; - mmetadata_not?: InputMaybe; - mmetadata_gt?: InputMaybe; - mmetadata_lt?: InputMaybe; - mmetadata_gte?: InputMaybe; - mmetadata_lte?: InputMaybe; - mmetadata_in?: InputMaybe>; - mmetadata_not_in?: InputMaybe>; - amount?: InputMaybe; - amount_not?: InputMaybe; - amount_gt?: InputMaybe; - amount_lt?: InputMaybe; - amount_gte?: InputMaybe; - amount_lte?: InputMaybe; - amount_in?: InputMaybe>; - amount_not_in?: InputMaybe>; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; -export type Milestone_orderBy = - | 'id' - | 'amountPercentage' - | 'mmetadata' - | 'amount' - | 'status' - | 'lastUpdated'; +export type SubscriptiontransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = - | 'asc' - | 'desc'; -export type PoolIdLookup = { +export type SubscriptionrawMetadataArgs = { id: Scalars['ID']; - entityId: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type PoolIdLookup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - entityId?: InputMaybe; - entityId_not?: InputMaybe; - entityId_gt?: InputMaybe; - entityId_lt?: InputMaybe; - entityId_gte?: InputMaybe; - entityId_lte?: InputMaybe; - entityId_in?: InputMaybe>; - entityId_not_in?: InputMaybe>; - entityId_contains?: InputMaybe; - entityId_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type PoolIdLookup_orderBy = - | 'id' - | 'entityId'; -export type ProfileIdToAnchor = { +export type SubscriptionlogArgs = { id: Scalars['ID']; - profileId: Scalars['Bytes']; - anchor: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileIdToAnchor_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptionlogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileIdToAnchor_orderBy = - | 'id' - | 'profileId' - | 'anchor'; -export type ProfileMemberGroup = { - id: Scalars['Bytes']; - addresses?: Maybe>; +export type SubscriptiongmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileMemberGroup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - addresses?: InputMaybe>; - addresses_not?: InputMaybe>; - addresses_contains?: InputMaybe>; - addresses_contains_nocase?: InputMaybe>; - addresses_not_contains?: InputMaybe>; - addresses_not_contains_nocase?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type SubscriptiongmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileMemberGroup_orderBy = - | 'id' - | 'addresses'; -export type Project = { - id: Scalars['Bytes']; - profileId: Scalars['Bytes']; - status: Scalars['Int']; - nonce: Scalars['BigInt']; - name: Scalars['String']; - metadata: RawMetadata; - owner: Scalars['Bytes']; - anchor: Scalars['Bytes']; - blockNumber: Scalars['BigInt']; - blockTimestamp: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - grants: Array; - members?: Maybe; - totalAmountReceived: Scalars['BigInt']; +export type SubscriptiongmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProjectgrantsArgs = { +export type SubscriptiongmDeploymentsArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; -}; - -export type Project_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - nonce?: InputMaybe; - nonce_not?: InputMaybe; - nonce_gt?: InputMaybe; - nonce_lt?: InputMaybe; - nonce_gte?: InputMaybe; - nonce_lte?: InputMaybe; - nonce_in?: InputMaybe>; - nonce_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - metadata?: InputMaybe; - metadata_not?: InputMaybe; - metadata_gt?: InputMaybe; - metadata_lt?: InputMaybe; - metadata_gte?: InputMaybe; - metadata_lte?: InputMaybe; - metadata_in?: InputMaybe>; - metadata_not_in?: InputMaybe>; - metadata_contains?: InputMaybe; - metadata_contains_nocase?: InputMaybe; - metadata_not_contains?: InputMaybe; - metadata_not_contains_nocase?: InputMaybe; - metadata_starts_with?: InputMaybe; - metadata_starts_with_nocase?: InputMaybe; - metadata_not_starts_with?: InputMaybe; - metadata_not_starts_with_nocase?: InputMaybe; - metadata_ends_with?: InputMaybe; - metadata_ends_with_nocase?: InputMaybe; - metadata_not_ends_with?: InputMaybe; - metadata_not_ends_with_nocase?: InputMaybe; - metadata_?: InputMaybe; - owner?: InputMaybe; - owner_not?: InputMaybe; - owner_gt?: InputMaybe; - owner_lt?: InputMaybe; - owner_gte?: InputMaybe; - owner_lte?: InputMaybe; - owner_in?: InputMaybe>; - owner_not_in?: InputMaybe>; - owner_contains?: InputMaybe; - owner_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - blockTimestamp?: InputMaybe; - blockTimestamp_not?: InputMaybe; - blockTimestamp_gt?: InputMaybe; - blockTimestamp_lt?: InputMaybe; - blockTimestamp_gte?: InputMaybe; - blockTimestamp_lte?: InputMaybe; - blockTimestamp_in?: InputMaybe>; - blockTimestamp_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - grants_?: InputMaybe; - members?: InputMaybe; - members_not?: InputMaybe; - members_gt?: InputMaybe; - members_lt?: InputMaybe; - members_gte?: InputMaybe; - members_lte?: InputMaybe; - members_in?: InputMaybe>; - members_not_in?: InputMaybe>; - members_contains?: InputMaybe; - members_contains_nocase?: InputMaybe; - members_not_contains?: InputMaybe; - members_not_contains_nocase?: InputMaybe; - members_starts_with?: InputMaybe; - members_starts_with_nocase?: InputMaybe; - members_not_starts_with?: InputMaybe; - members_not_starts_with_nocase?: InputMaybe; - members_ends_with?: InputMaybe; - members_ends_with_nocase?: InputMaybe; - members_not_ends_with?: InputMaybe; - members_not_ends_with_nocase?: InputMaybe; - members_?: InputMaybe; - totalAmountReceived?: InputMaybe; - totalAmountReceived_not?: InputMaybe; - totalAmountReceived_gt?: InputMaybe; - totalAmountReceived_lt?: InputMaybe; - totalAmountReceived_gte?: InputMaybe; - totalAmountReceived_lte?: InputMaybe; - totalAmountReceived_in?: InputMaybe>; - totalAmountReceived_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Project_orderBy = - | 'id' - | 'profileId' - | 'status' - | 'nonce' - | 'name' - | 'metadata' - | 'metadata__id' - | 'metadata__protocol' - | 'metadata__pointer' - | 'owner' - | 'anchor' - | 'blockNumber' - | 'blockTimestamp' - | 'transactionHash' - | 'grants' - | 'members' - | 'members__id' - | 'totalAmountReceived'; -export type RawMetadata = { - id: Scalars['String']; - protocol: Scalars['BigInt']; - pointer: Scalars['String']; +export type Subscription_metaArgs = { + block?: InputMaybe; }; -export type RawMetadata_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_contains_nocase?: InputMaybe; - id_not_contains?: InputMaybe; - id_not_contains_nocase?: InputMaybe; - id_starts_with?: InputMaybe; - id_starts_with_nocase?: InputMaybe; - id_not_starts_with?: InputMaybe; - id_not_starts_with_nocase?: InputMaybe; - id_ends_with?: InputMaybe; - id_ends_with_nocase?: InputMaybe; - id_not_ends_with?: InputMaybe; - id_not_ends_with_nocase?: InputMaybe; - protocol?: InputMaybe; - protocol_not?: InputMaybe; - protocol_gt?: InputMaybe; - protocol_lt?: InputMaybe; - protocol_gte?: InputMaybe; - protocol_lte?: InputMaybe; - protocol_in?: InputMaybe>; - protocol_not_in?: InputMaybe>; - pointer?: InputMaybe; - pointer_not?: InputMaybe; - pointer_gt?: InputMaybe; - pointer_lt?: InputMaybe; - pointer_gte?: InputMaybe; - pointer_lte?: InputMaybe; - pointer_in?: InputMaybe>; - pointer_not_in?: InputMaybe>; - pointer_contains?: InputMaybe; - pointer_contains_nocase?: InputMaybe; - pointer_not_contains?: InputMaybe; - pointer_not_contains_nocase?: InputMaybe; - pointer_starts_with?: InputMaybe; - pointer_starts_with_nocase?: InputMaybe; - pointer_not_starts_with?: InputMaybe; - pointer_not_starts_with_nocase?: InputMaybe; - pointer_ends_with?: InputMaybe; - pointer_ends_with_nocase?: InputMaybe; - pointer_not_ends_with?: InputMaybe; - pointer_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; -export type RawMetadata_orderBy = - | 'id' - | 'protocol' - | 'pointer'; +/** columns and relationships of "Contest" */ +export type Contest = { + /** An object relationship */ + choicesModule?: Maybe; + choicesModule_id: Scalars['String']; + contestAddress: Scalars['String']; + contestStatus: Scalars['numeric']; + contestVersion: Scalars['String']; + db_write_timestamp?: Maybe; + /** An object relationship */ + executionModule?: Maybe; + executionModule_id: Scalars['String']; + filterTag: Scalars['String']; + id: Scalars['String']; + isContinuous: Scalars['Boolean']; + isRetractable: Scalars['Boolean']; + /** An object relationship */ + pointsModule?: Maybe; + pointsModule_id: Scalars['String']; + /** An object relationship */ + votesModule?: Maybe; + votesModule_id: Scalars['String']; +}; -export type Transaction = { - id: Scalars['ID']; - blockNumber: Scalars['BigInt']; - sender: Scalars['Bytes']; - txHash: Scalars['Bytes']; +/** columns and relationships of "ContestClone" */ +export type ContestClone = { + contestAddress: Scalars['String']; + contestVersion: Scalars['String']; + db_write_timestamp?: Maybe; + filterTag: Scalars['String']; + id: Scalars['String']; }; -export type Transaction_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - sender?: InputMaybe; - sender_not?: InputMaybe; - sender_gt?: InputMaybe; - sender_lt?: InputMaybe; - sender_gte?: InputMaybe; - sender_lte?: InputMaybe; - sender_in?: InputMaybe>; - sender_not_in?: InputMaybe>; - sender_contains?: InputMaybe; - sender_not_contains?: InputMaybe; - txHash?: InputMaybe; - txHash_not?: InputMaybe; - txHash_gt?: InputMaybe; - txHash_lt?: InputMaybe; - txHash_gte?: InputMaybe; - txHash_lte?: InputMaybe; - txHash_in?: InputMaybe>; - txHash_not_in?: InputMaybe>; - txHash_contains?: InputMaybe; - txHash_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. */ +export type ContestClone_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; }; -export type Transaction_orderBy = - | 'id' - | 'blockNumber' - | 'sender' - | 'txHash'; +/** Ordering options when selecting data from "ContestClone". */ +export type ContestClone_order_by = { + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; +}; -export type Update = { - id: Scalars['ID']; - scope: Scalars['Int']; - posterRole: Scalars['Int']; - entityAddress: Scalars['Bytes']; - postedBy: Scalars['Bytes']; - content: RawMetadata; - contentSchema: Scalars['Int']; - postDecorator: Scalars['Int']; - timestamp: Scalars['BigInt']; -}; - -export type Update_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - scope?: InputMaybe; - scope_not?: InputMaybe; - scope_gt?: InputMaybe; - scope_lt?: InputMaybe; - scope_gte?: InputMaybe; - scope_lte?: InputMaybe; - scope_in?: InputMaybe>; - scope_not_in?: InputMaybe>; - posterRole?: InputMaybe; - posterRole_not?: InputMaybe; - posterRole_gt?: InputMaybe; - posterRole_lt?: InputMaybe; - posterRole_gte?: InputMaybe; - posterRole_lte?: InputMaybe; - posterRole_in?: InputMaybe>; - posterRole_not_in?: InputMaybe>; - entityAddress?: InputMaybe; - entityAddress_not?: InputMaybe; - entityAddress_gt?: InputMaybe; - entityAddress_lt?: InputMaybe; - entityAddress_gte?: InputMaybe; - entityAddress_lte?: InputMaybe; - entityAddress_in?: InputMaybe>; - entityAddress_not_in?: InputMaybe>; - entityAddress_contains?: InputMaybe; - entityAddress_not_contains?: InputMaybe; - postedBy?: InputMaybe; - postedBy_not?: InputMaybe; - postedBy_gt?: InputMaybe; - postedBy_lt?: InputMaybe; - postedBy_gte?: InputMaybe; - postedBy_lte?: InputMaybe; - postedBy_in?: InputMaybe>; - postedBy_not_in?: InputMaybe>; - postedBy_contains?: InputMaybe; - postedBy_not_contains?: InputMaybe; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - content_?: InputMaybe; - contentSchema?: InputMaybe; - contentSchema_not?: InputMaybe; - contentSchema_gt?: InputMaybe; - contentSchema_lt?: InputMaybe; - contentSchema_gte?: InputMaybe; - contentSchema_lte?: InputMaybe; - contentSchema_in?: InputMaybe>; - contentSchema_not_in?: InputMaybe>; - postDecorator?: InputMaybe; - postDecorator_not?: InputMaybe; - postDecorator_gt?: InputMaybe; - postDecorator_lt?: InputMaybe; - postDecorator_gte?: InputMaybe; - postDecorator_lte?: InputMaybe; - postDecorator_in?: InputMaybe>; - postDecorator_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type Update_orderBy = - | 'id' - | 'scope' - | 'posterRole' - | 'entityAddress' - | 'postedBy' - | 'content' - | 'content__id' - | 'content__protocol' - | 'content__pointer' - | 'contentSchema' - | 'postDecorator' - | 'timestamp'; - -export type _Block_ = { - /** The hash of the block */ - hash?: Maybe; - /** The block number */ - number: Scalars['Int']; - /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp?: Maybe; - /** The hash of the parent block */ - parentHash?: Maybe; -}; - -/** The type for the top-level _meta field */ -export type _Meta_ = { - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - * - */ - block: _Block_; - /** The deployment ID */ - deployment: Scalars['String']; - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean']; -}; - -export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny'; - -/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ -export type Boolean_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "Contest" */ -export type Contest = { - /** An object relationship */ - choicesModule?: Maybe; - choicesModule_id: Scalars['String']; - contestAddress: Scalars['String']; - contestStatus: Scalars['numeric']; - contestVersion: Scalars['String']; - db_write_timestamp?: Maybe; - /** An object relationship */ - executionModule?: Maybe; - executionModule_id: Scalars['String']; - filterTag: Scalars['String']; - id: Scalars['String']; - isContinuous: Scalars['Boolean']; - isRetractable: Scalars['Boolean']; - /** An object relationship */ - pointsModule?: Maybe; - pointsModule_id: Scalars['String']; - /** An object relationship */ - votesModule?: Maybe; - votesModule_id: Scalars['String']; -}; - -/** columns and relationships of "ContestClone" */ -export type ContestClone = { - contestAddress: Scalars['String']; - contestVersion: Scalars['String']; - db_write_timestamp?: Maybe; - filterTag: Scalars['String']; - id: Scalars['String']; -}; - -/** Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. */ -export type ContestClone_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; -}; - -/** Ordering options when selecting data from "ContestClone". */ -export type ContestClone_order_by = { - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; -}; - -/** select columns of table "ContestClone" */ -export type ContestClone_select_column = - /** column name */ - | 'contestAddress' - /** column name */ - | 'contestVersion' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'filterTag' - /** column name */ - | 'id'; - -/** Streaming cursor of the table "ContestClone" */ -export type ContestClone_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ContestClone_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; +/** select columns of table "ContestClone" */ +export type ContestClone_select_column = + /** column name */ + | 'contestAddress' + /** column name */ + | 'contestVersion' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'filterTag' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "ContestClone" */ +export type ContestClone_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ContestClone_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; }; /** Initial value of the column from where the streaming should start */ @@ -4991,7 +2556,7 @@ export type EventPost_variance_order_by = { /** columns and relationships of "FactoryEventsSummary" */ export type FactoryEventsSummary = { address: Scalars['String']; - admins: Array; + admins: Scalars['_text']; contestBuiltCount: Scalars['numeric']; contestCloneCount: Scalars['numeric']; contestTemplateCount: Scalars['numeric']; @@ -5007,7 +2572,7 @@ export type FactoryEventsSummary_bool_exp = { _not?: InputMaybe; _or?: InputMaybe>; address?: InputMaybe; - admins?: InputMaybe; + admins?: InputMaybe<_text_comparison_exp>; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -5062,7 +2627,7 @@ export type FactoryEventsSummary_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type FactoryEventsSummary_stream_cursor_value_input = { address?: InputMaybe; - admins?: InputMaybe>; + admins?: InputMaybe; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -5072,6 +2637,68 @@ export type FactoryEventsSummary_stream_cursor_value_input = { moduleTemplateCount?: InputMaybe; }; +/** columns and relationships of "GSVoter" */ +export type GSVoter = { + address: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + /** An array relationship */ + votes: Array; +}; + + +/** columns and relationships of "GSVoter" */ +export type GSVotervotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. */ +export type GSVoter_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes?: InputMaybe; +}; + +/** Ordering options when selecting data from "GSVoter". */ +export type GSVoter_order_by = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes_aggregate?: InputMaybe; +}; + +/** select columns of table "GSVoter" */ +export type GSVoter_select_column = + /** column name */ + | 'address' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "GSVoter" */ +export type GSVoter_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: GSVoter_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GSVoter_stream_cursor_value_input = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; +}; + /** columns and relationships of "GrantShipsVoting" */ export type GrantShipsVoting = { /** An array relationship */ @@ -5265,7 +2892,7 @@ export type HatsPoster = { db_write_timestamp?: Maybe; /** An array relationship */ eventPosts: Array; - hatIds: Array; + hatIds: Scalars['_numeric']; hatsAddress: Scalars['String']; id: Scalars['String']; /** An array relationship */ @@ -5299,7 +2926,7 @@ export type HatsPoster_bool_exp = { _or?: InputMaybe>; db_write_timestamp?: InputMaybe; eventPosts?: InputMaybe; - hatIds?: InputMaybe; + hatIds?: InputMaybe<_numeric_comparison_exp>; hatsAddress?: InputMaybe; id?: InputMaybe; record?: InputMaybe; @@ -5337,7 +2964,7 @@ export type HatsPoster_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type HatsPoster_stream_cursor_value_input = { db_write_timestamp?: InputMaybe; - hatIds?: InputMaybe>; + hatIds?: InputMaybe; hatsAddress?: InputMaybe; id?: InputMaybe; }; @@ -5836,10 +3463,12 @@ export type ShipVote = { contest_id: Scalars['String']; db_write_timestamp?: Maybe; id: Scalars['String']; - isRectractVote: Scalars['Boolean']; + isRetractVote: Scalars['Boolean']; mdPointer: Scalars['String']; mdProtocol: Scalars['numeric']; - voter: Scalars['String']; + /** An object relationship */ + voter?: Maybe; + voter_id: Scalars['String']; }; /** order by aggregate values of table "ShipVote" */ @@ -5875,10 +3504,11 @@ export type ShipVote_bool_exp = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by max() on columns of table "ShipVote" */ @@ -5890,7 +3520,7 @@ export type ShipVote_max_order_by = { id?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by min() on columns of table "ShipVote" */ @@ -5902,7 +3532,7 @@ export type ShipVote_min_order_by = { id?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** Ordering options when selecting data from "ShipVote". */ @@ -5914,10 +3544,11 @@ export type ShipVote_order_by = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; }; /** select columns of table "ShipVote" */ @@ -5933,13 +3564,13 @@ export type ShipVote_select_column = /** column name */ | 'id' /** column name */ - | 'isRectractVote' + | 'isRetractVote' /** column name */ | 'mdPointer' /** column name */ | 'mdProtocol' /** column name */ - | 'voter'; + | 'voter_id'; /** order by stddev() on columns of table "ShipVote" */ export type ShipVote_stddev_order_by = { @@ -5974,10 +3605,10 @@ export type ShipVote_stream_cursor_value_input = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by sum() on columns of table "ShipVote" */ @@ -6090,23 +3721,6 @@ export type StemModule_stream_cursor_value_input = { moduleTemplate_id?: InputMaybe; }; -/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ -export type String_array_comparison_exp = { - /** is the array contained in the given array value */ - _contained_in?: InputMaybe>; - /** does the array contain the given value */ - _contains?: InputMaybe>; - _eq?: InputMaybe>; - _gt?: InputMaybe>; - _gte?: InputMaybe>; - _in?: InputMaybe>>; - _is_null?: InputMaybe; - _lt?: InputMaybe>; - _lte?: InputMaybe>; - _neq?: InputMaybe>; - _nin?: InputMaybe>>; -}; - /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ export type String_comparison_exp = { _eq?: InputMaybe; @@ -6188,6 +3802,32 @@ export type TVParams_stream_cursor_value_input = { voteDuration?: InputMaybe; }; +/** Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. */ +export type _numeric_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. */ +export type _text_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** columns and relationships of "chain_metadata" */ export type chain_metadata = { block_height: Scalars['Int']; @@ -6667,422 +4307,2887 @@ export type entity_history_stream_cursor_value_input = { previous_log_index?: InputMaybe; }; -/** order by sum() on columns of table "entity_history" */ -export type entity_history_sum_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; +/** order by sum() on columns of table "entity_history" */ +export type entity_history_sum_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by var_pop() on columns of table "entity_history" */ +export type entity_history_var_pop_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by var_samp() on columns of table "entity_history" */ +export type entity_history_var_samp_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by variance() on columns of table "entity_history" */ +export type entity_history_variance_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. */ +export type entity_type_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "event_sync_state" */ +export type event_sync_state = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + log_index: Scalars['Int']; + transaction_index: Scalars['Int']; +}; + +/** Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. */ +export type event_sync_state_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "event_sync_state". */ +export type event_sync_state_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** select columns of table "event_sync_state" */ +export type event_sync_state_select_column = + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'log_index' + /** column name */ + | 'transaction_index'; + +/** Streaming cursor of the table "event_sync_state" */ +export type event_sync_state_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: event_sync_state_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type event_sync_state_stream_cursor_value_input = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ +export type event_type_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type get_entity_history_filter_args = { + end_block?: InputMaybe; + end_chain_id?: InputMaybe; + end_log_index?: InputMaybe; + end_timestamp?: InputMaybe; + start_block?: InputMaybe; + start_chain_id?: InputMaybe; + start_log_index?: InputMaybe; + start_timestamp?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type json_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type numeric_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** column ordering options */ +export type order_by = + /** in ascending order, nulls last */ + | 'asc' + /** in ascending order, nulls first */ + | 'asc_nulls_first' + /** in ascending order, nulls last */ + | 'asc_nulls_last' + /** in descending order, nulls first */ + | 'desc' + /** in descending order, nulls first */ + | 'desc_nulls_first' + /** in descending order, nulls last */ + | 'desc_nulls_last'; + +/** columns and relationships of "persisted_state" */ +export type persisted_state = { + abi_files_hash: Scalars['String']; + config_hash: Scalars['String']; + envio_version: Scalars['String']; + handler_files_hash: Scalars['String']; + id: Scalars['Int']; + schema_hash: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. */ +export type persisted_state_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; +}; + +/** Ordering options when selecting data from "persisted_state". */ +export type persisted_state_order_by = { + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; +}; + +/** select columns of table "persisted_state" */ +export type persisted_state_select_column = + /** column name */ + | 'abi_files_hash' + /** column name */ + | 'config_hash' + /** column name */ + | 'envio_version' + /** column name */ + | 'handler_files_hash' + /** column name */ + | 'id' + /** column name */ + | 'schema_hash'; + +/** Streaming cursor of the table "persisted_state" */ +export type persisted_state_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: persisted_state_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type persisted_state_stream_cursor_value_input = { + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; +}; + +/** columns and relationships of "raw_events" */ +export type raw_events = { + block_hash: Scalars['String']; + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + db_write_timestamp?: Maybe; + /** An array relationship */ + event_history: Array; + event_id: Scalars['numeric']; + event_type: Scalars['event_type']; + log_index: Scalars['Int']; + params: Scalars['json']; + src_address: Scalars['String']; + transaction_hash: Scalars['String']; + transaction_index: Scalars['Int']; +}; + + +/** columns and relationships of "raw_events" */ +export type raw_eventsevent_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "raw_events" */ +export type raw_eventsparamsArgs = { + path?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. */ +export type raw_events_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_history?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "raw_events". */ +export type raw_events_order_by = { + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_history_aggregate?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** select columns of table "raw_events" */ +export type raw_events_select_column = + /** column name */ + | 'block_hash' + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'event_id' + /** column name */ + | 'event_type' + /** column name */ + | 'log_index' + /** column name */ + | 'params' + /** column name */ + | 'src_address' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'transaction_index'; + +/** Streaming cursor of the table "raw_events" */ +export type raw_events_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: raw_events_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type raw_events_stream_cursor_value_input = { + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +export type timestamp_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type timestamptz_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Aggregation_interval = + | 'hour' + | 'day'; + +export type ApplicationHistory = { + id: Scalars['ID']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; +}; + +export type ApplicationHistory_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type ApplicationHistory_orderBy = + | 'id' + | 'grantApplicationBytes' + | 'applicationSubmitted'; + +export type BlockChangedFilter = { + number_gte: Scalars['Int']; +}; + +export type Block_height = { + hash?: InputMaybe; + number?: InputMaybe; + number_gte?: InputMaybe; +}; + +export type FeedItem = { + id: Scalars['ID']; + timestamp?: Maybe; + content: Scalars['String']; + sender: Scalars['Bytes']; + tag: Scalars['String']; + subjectMetadataPointer: Scalars['String']; + subjectId: Scalars['ID']; + objectId?: Maybe; + subject: FeedItemEntity; + object?: Maybe; + embed?: Maybe; + details?: Maybe; +}; + +export type FeedItemEmbed = { + id: Scalars['ID']; + key?: Maybe; + pointer?: Maybe; + protocol?: Maybe; + content?: Maybe; +}; + +export type FeedItemEmbed_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + key?: InputMaybe; + key_not?: InputMaybe; + key_gt?: InputMaybe; + key_lt?: InputMaybe; + key_gte?: InputMaybe; + key_lte?: InputMaybe; + key_in?: InputMaybe>; + key_not_in?: InputMaybe>; + key_contains?: InputMaybe; + key_contains_nocase?: InputMaybe; + key_not_contains?: InputMaybe; + key_not_contains_nocase?: InputMaybe; + key_starts_with?: InputMaybe; + key_starts_with_nocase?: InputMaybe; + key_not_starts_with?: InputMaybe; + key_not_starts_with_nocase?: InputMaybe; + key_ends_with?: InputMaybe; + key_ends_with_nocase?: InputMaybe; + key_not_ends_with?: InputMaybe; + key_not_ends_with_nocase?: InputMaybe; + pointer?: InputMaybe; + pointer_not?: InputMaybe; + pointer_gt?: InputMaybe; + pointer_lt?: InputMaybe; + pointer_gte?: InputMaybe; + pointer_lte?: InputMaybe; + pointer_in?: InputMaybe>; + pointer_not_in?: InputMaybe>; + pointer_contains?: InputMaybe; + pointer_contains_nocase?: InputMaybe; + pointer_not_contains?: InputMaybe; + pointer_not_contains_nocase?: InputMaybe; + pointer_starts_with?: InputMaybe; + pointer_starts_with_nocase?: InputMaybe; + pointer_not_starts_with?: InputMaybe; + pointer_not_starts_with_nocase?: InputMaybe; + pointer_ends_with?: InputMaybe; + pointer_ends_with_nocase?: InputMaybe; + pointer_not_ends_with?: InputMaybe; + pointer_not_ends_with_nocase?: InputMaybe; + protocol?: InputMaybe; + protocol_not?: InputMaybe; + protocol_gt?: InputMaybe; + protocol_lt?: InputMaybe; + protocol_gte?: InputMaybe; + protocol_lte?: InputMaybe; + protocol_in?: InputMaybe>; + protocol_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItemEmbed_orderBy = + | 'id' + | 'key' + | 'pointer' + | 'protocol' + | 'content'; + +export type FeedItemEntity = { + id: Scalars['ID']; + name: Scalars['String']; + type: Scalars['String']; +}; + +export type FeedItemEntity_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItemEntity_orderBy = + | 'id' + | 'name' + | 'type'; + +export type FeedItem_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + sender?: InputMaybe; + sender_not?: InputMaybe; + sender_gt?: InputMaybe; + sender_lt?: InputMaybe; + sender_gte?: InputMaybe; + sender_lte?: InputMaybe; + sender_in?: InputMaybe>; + sender_not_in?: InputMaybe>; + sender_contains?: InputMaybe; + sender_not_contains?: InputMaybe; + tag?: InputMaybe; + tag_not?: InputMaybe; + tag_gt?: InputMaybe; + tag_lt?: InputMaybe; + tag_gte?: InputMaybe; + tag_lte?: InputMaybe; + tag_in?: InputMaybe>; + tag_not_in?: InputMaybe>; + tag_contains?: InputMaybe; + tag_contains_nocase?: InputMaybe; + tag_not_contains?: InputMaybe; + tag_not_contains_nocase?: InputMaybe; + tag_starts_with?: InputMaybe; + tag_starts_with_nocase?: InputMaybe; + tag_not_starts_with?: InputMaybe; + tag_not_starts_with_nocase?: InputMaybe; + tag_ends_with?: InputMaybe; + tag_ends_with_nocase?: InputMaybe; + tag_not_ends_with?: InputMaybe; + tag_not_ends_with_nocase?: InputMaybe; + subjectMetadataPointer?: InputMaybe; + subjectMetadataPointer_not?: InputMaybe; + subjectMetadataPointer_gt?: InputMaybe; + subjectMetadataPointer_lt?: InputMaybe; + subjectMetadataPointer_gte?: InputMaybe; + subjectMetadataPointer_lte?: InputMaybe; + subjectMetadataPointer_in?: InputMaybe>; + subjectMetadataPointer_not_in?: InputMaybe>; + subjectMetadataPointer_contains?: InputMaybe; + subjectMetadataPointer_contains_nocase?: InputMaybe; + subjectMetadataPointer_not_contains?: InputMaybe; + subjectMetadataPointer_not_contains_nocase?: InputMaybe; + subjectMetadataPointer_starts_with?: InputMaybe; + subjectMetadataPointer_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_not_starts_with?: InputMaybe; + subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_ends_with?: InputMaybe; + subjectMetadataPointer_ends_with_nocase?: InputMaybe; + subjectMetadataPointer_not_ends_with?: InputMaybe; + subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; + subjectId?: InputMaybe; + subjectId_not?: InputMaybe; + subjectId_gt?: InputMaybe; + subjectId_lt?: InputMaybe; + subjectId_gte?: InputMaybe; + subjectId_lte?: InputMaybe; + subjectId_in?: InputMaybe>; + subjectId_not_in?: InputMaybe>; + objectId?: InputMaybe; + objectId_not?: InputMaybe; + objectId_gt?: InputMaybe; + objectId_lt?: InputMaybe; + objectId_gte?: InputMaybe; + objectId_lte?: InputMaybe; + objectId_in?: InputMaybe>; + objectId_not_in?: InputMaybe>; + subject?: InputMaybe; + subject_not?: InputMaybe; + subject_gt?: InputMaybe; + subject_lt?: InputMaybe; + subject_gte?: InputMaybe; + subject_lte?: InputMaybe; + subject_in?: InputMaybe>; + subject_not_in?: InputMaybe>; + subject_contains?: InputMaybe; + subject_contains_nocase?: InputMaybe; + subject_not_contains?: InputMaybe; + subject_not_contains_nocase?: InputMaybe; + subject_starts_with?: InputMaybe; + subject_starts_with_nocase?: InputMaybe; + subject_not_starts_with?: InputMaybe; + subject_not_starts_with_nocase?: InputMaybe; + subject_ends_with?: InputMaybe; + subject_ends_with_nocase?: InputMaybe; + subject_not_ends_with?: InputMaybe; + subject_not_ends_with_nocase?: InputMaybe; + subject_?: InputMaybe; + object?: InputMaybe; + object_not?: InputMaybe; + object_gt?: InputMaybe; + object_lt?: InputMaybe; + object_gte?: InputMaybe; + object_lte?: InputMaybe; + object_in?: InputMaybe>; + object_not_in?: InputMaybe>; + object_contains?: InputMaybe; + object_contains_nocase?: InputMaybe; + object_not_contains?: InputMaybe; + object_not_contains_nocase?: InputMaybe; + object_starts_with?: InputMaybe; + object_starts_with_nocase?: InputMaybe; + object_not_starts_with?: InputMaybe; + object_not_starts_with_nocase?: InputMaybe; + object_ends_with?: InputMaybe; + object_ends_with_nocase?: InputMaybe; + object_not_ends_with?: InputMaybe; + object_not_ends_with_nocase?: InputMaybe; + object_?: InputMaybe; + embed?: InputMaybe; + embed_not?: InputMaybe; + embed_gt?: InputMaybe; + embed_lt?: InputMaybe; + embed_gte?: InputMaybe; + embed_lte?: InputMaybe; + embed_in?: InputMaybe>; + embed_not_in?: InputMaybe>; + embed_contains?: InputMaybe; + embed_contains_nocase?: InputMaybe; + embed_not_contains?: InputMaybe; + embed_not_contains_nocase?: InputMaybe; + embed_starts_with?: InputMaybe; + embed_starts_with_nocase?: InputMaybe; + embed_not_starts_with?: InputMaybe; + embed_not_starts_with_nocase?: InputMaybe; + embed_ends_with?: InputMaybe; + embed_ends_with_nocase?: InputMaybe; + embed_not_ends_with?: InputMaybe; + embed_not_ends_with_nocase?: InputMaybe; + embed_?: InputMaybe; + details?: InputMaybe; + details_not?: InputMaybe; + details_gt?: InputMaybe; + details_lt?: InputMaybe; + details_gte?: InputMaybe; + details_lte?: InputMaybe; + details_in?: InputMaybe>; + details_not_in?: InputMaybe>; + details_contains?: InputMaybe; + details_contains_nocase?: InputMaybe; + details_not_contains?: InputMaybe; + details_not_contains_nocase?: InputMaybe; + details_starts_with?: InputMaybe; + details_starts_with_nocase?: InputMaybe; + details_not_starts_with?: InputMaybe; + details_not_starts_with_nocase?: InputMaybe; + details_ends_with?: InputMaybe; + details_ends_with_nocase?: InputMaybe; + details_not_ends_with?: InputMaybe; + details_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItem_orderBy = + | 'id' + | 'timestamp' + | 'content' + | 'sender' + | 'tag' + | 'subjectMetadataPointer' + | 'subjectId' + | 'objectId' + | 'subject' + | 'subject__id' + | 'subject__name' + | 'subject__type' + | 'object' + | 'object__id' + | 'object__name' + | 'object__type' + | 'embed' + | 'embed__id' + | 'embed__key' + | 'embed__pointer' + | 'embed__protocol' + | 'embed__content' + | 'details'; + +export type GameManager = { + id: Scalars['Bytes']; + poolId: Scalars['BigInt']; + gameFacilitatorId: Scalars['BigInt']; + rootAccount: Scalars['Bytes']; + tokenAddress: Scalars['Bytes']; + currentRoundId: Scalars['BigInt']; + currentRound?: Maybe; + poolFunds: Scalars['BigInt']; +}; + +export type GameManager_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + gameFacilitatorId?: InputMaybe; + gameFacilitatorId_not?: InputMaybe; + gameFacilitatorId_gt?: InputMaybe; + gameFacilitatorId_lt?: InputMaybe; + gameFacilitatorId_gte?: InputMaybe; + gameFacilitatorId_lte?: InputMaybe; + gameFacilitatorId_in?: InputMaybe>; + gameFacilitatorId_not_in?: InputMaybe>; + rootAccount?: InputMaybe; + rootAccount_not?: InputMaybe; + rootAccount_gt?: InputMaybe; + rootAccount_lt?: InputMaybe; + rootAccount_gte?: InputMaybe; + rootAccount_lte?: InputMaybe; + rootAccount_in?: InputMaybe>; + rootAccount_not_in?: InputMaybe>; + rootAccount_contains?: InputMaybe; + rootAccount_not_contains?: InputMaybe; + tokenAddress?: InputMaybe; + tokenAddress_not?: InputMaybe; + tokenAddress_gt?: InputMaybe; + tokenAddress_lt?: InputMaybe; + tokenAddress_gte?: InputMaybe; + tokenAddress_lte?: InputMaybe; + tokenAddress_in?: InputMaybe>; + tokenAddress_not_in?: InputMaybe>; + tokenAddress_contains?: InputMaybe; + tokenAddress_not_contains?: InputMaybe; + currentRoundId?: InputMaybe; + currentRoundId_not?: InputMaybe; + currentRoundId_gt?: InputMaybe; + currentRoundId_lt?: InputMaybe; + currentRoundId_gte?: InputMaybe; + currentRoundId_lte?: InputMaybe; + currentRoundId_in?: InputMaybe>; + currentRoundId_not_in?: InputMaybe>; + currentRound?: InputMaybe; + currentRound_not?: InputMaybe; + currentRound_gt?: InputMaybe; + currentRound_lt?: InputMaybe; + currentRound_gte?: InputMaybe; + currentRound_lte?: InputMaybe; + currentRound_in?: InputMaybe>; + currentRound_not_in?: InputMaybe>; + currentRound_contains?: InputMaybe; + currentRound_contains_nocase?: InputMaybe; + currentRound_not_contains?: InputMaybe; + currentRound_not_contains_nocase?: InputMaybe; + currentRound_starts_with?: InputMaybe; + currentRound_starts_with_nocase?: InputMaybe; + currentRound_not_starts_with?: InputMaybe; + currentRound_not_starts_with_nocase?: InputMaybe; + currentRound_ends_with?: InputMaybe; + currentRound_ends_with_nocase?: InputMaybe; + currentRound_not_ends_with?: InputMaybe; + currentRound_not_ends_with_nocase?: InputMaybe; + currentRound_?: InputMaybe; + poolFunds?: InputMaybe; + poolFunds_not?: InputMaybe; + poolFunds_gt?: InputMaybe; + poolFunds_lt?: InputMaybe; + poolFunds_gte?: InputMaybe; + poolFunds_lte?: InputMaybe; + poolFunds_in?: InputMaybe>; + poolFunds_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GameManager_orderBy = + | 'id' + | 'poolId' + | 'gameFacilitatorId' + | 'rootAccount' + | 'tokenAddress' + | 'currentRoundId' + | 'currentRound' + | 'currentRound__id' + | 'currentRound__startTime' + | 'currentRound__endTime' + | 'currentRound__totalRoundAmount' + | 'currentRound__totalAllocatedAmount' + | 'currentRound__totalDistributedAmount' + | 'currentRound__gameStatus' + | 'currentRound__isGameActive' + | 'currentRound__realStartTime' + | 'currentRound__realEndTime' + | 'poolFunds'; + +export type GameRound = { + id: Scalars['ID']; + startTime: Scalars['BigInt']; + endTime: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocatedAmount: Scalars['BigInt']; + totalDistributedAmount: Scalars['BigInt']; + gameStatus: Scalars['Int']; + ships: Array; + isGameActive: Scalars['Boolean']; + realStartTime?: Maybe; + realEndTime?: Maybe; +}; + + +export type GameRoundshipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GameRound_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + startTime?: InputMaybe; + startTime_not?: InputMaybe; + startTime_gt?: InputMaybe; + startTime_lt?: InputMaybe; + startTime_gte?: InputMaybe; + startTime_lte?: InputMaybe; + startTime_in?: InputMaybe>; + startTime_not_in?: InputMaybe>; + endTime?: InputMaybe; + endTime_not?: InputMaybe; + endTime_gt?: InputMaybe; + endTime_lt?: InputMaybe; + endTime_gte?: InputMaybe; + endTime_lte?: InputMaybe; + endTime_in?: InputMaybe>; + endTime_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocatedAmount?: InputMaybe; + totalAllocatedAmount_not?: InputMaybe; + totalAllocatedAmount_gt?: InputMaybe; + totalAllocatedAmount_lt?: InputMaybe; + totalAllocatedAmount_gte?: InputMaybe; + totalAllocatedAmount_lte?: InputMaybe; + totalAllocatedAmount_in?: InputMaybe>; + totalAllocatedAmount_not_in?: InputMaybe>; + totalDistributedAmount?: InputMaybe; + totalDistributedAmount_not?: InputMaybe; + totalDistributedAmount_gt?: InputMaybe; + totalDistributedAmount_lt?: InputMaybe; + totalDistributedAmount_gte?: InputMaybe; + totalDistributedAmount_lte?: InputMaybe; + totalDistributedAmount_in?: InputMaybe>; + totalDistributedAmount_not_in?: InputMaybe>; + gameStatus?: InputMaybe; + gameStatus_not?: InputMaybe; + gameStatus_gt?: InputMaybe; + gameStatus_lt?: InputMaybe; + gameStatus_gte?: InputMaybe; + gameStatus_lte?: InputMaybe; + gameStatus_in?: InputMaybe>; + gameStatus_not_in?: InputMaybe>; + ships?: InputMaybe>; + ships_not?: InputMaybe>; + ships_contains?: InputMaybe>; + ships_contains_nocase?: InputMaybe>; + ships_not_contains?: InputMaybe>; + ships_not_contains_nocase?: InputMaybe>; + ships_?: InputMaybe; + isGameActive?: InputMaybe; + isGameActive_not?: InputMaybe; + isGameActive_in?: InputMaybe>; + isGameActive_not_in?: InputMaybe>; + realStartTime?: InputMaybe; + realStartTime_not?: InputMaybe; + realStartTime_gt?: InputMaybe; + realStartTime_lt?: InputMaybe; + realStartTime_gte?: InputMaybe; + realStartTime_lte?: InputMaybe; + realStartTime_in?: InputMaybe>; + realStartTime_not_in?: InputMaybe>; + realEndTime?: InputMaybe; + realEndTime_not?: InputMaybe; + realEndTime_gt?: InputMaybe; + realEndTime_lt?: InputMaybe; + realEndTime_gte?: InputMaybe; + realEndTime_lte?: InputMaybe; + realEndTime_in?: InputMaybe>; + realEndTime_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GameRound_orderBy = + | 'id' + | 'startTime' + | 'endTime' + | 'totalRoundAmount' + | 'totalAllocatedAmount' + | 'totalDistributedAmount' + | 'gameStatus' + | 'ships' + | 'isGameActive' + | 'realStartTime' + | 'realEndTime'; + +export type GmDeployment = { + id: Scalars['ID']; + address: Scalars['Bytes']; + version: GmVersion; + blockNumber: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + timestamp: Scalars['BigInt']; + hasPool: Scalars['Boolean']; + poolId?: Maybe; + profileId: Scalars['Bytes']; + poolMetadata: RawMetadata; + poolProfileMetadata: RawMetadata; +}; + +export type GmDeployment_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + version?: InputMaybe; + version_not?: InputMaybe; + version_gt?: InputMaybe; + version_lt?: InputMaybe; + version_gte?: InputMaybe; + version_lte?: InputMaybe; + version_in?: InputMaybe>; + version_not_in?: InputMaybe>; + version_contains?: InputMaybe; + version_contains_nocase?: InputMaybe; + version_not_contains?: InputMaybe; + version_not_contains_nocase?: InputMaybe; + version_starts_with?: InputMaybe; + version_starts_with_nocase?: InputMaybe; + version_not_starts_with?: InputMaybe; + version_not_starts_with_nocase?: InputMaybe; + version_ends_with?: InputMaybe; + version_ends_with_nocase?: InputMaybe; + version_not_ends_with?: InputMaybe; + version_not_ends_with_nocase?: InputMaybe; + version_?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + hasPool?: InputMaybe; + hasPool_not?: InputMaybe; + hasPool_in?: InputMaybe>; + hasPool_not_in?: InputMaybe>; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + poolMetadata?: InputMaybe; + poolMetadata_not?: InputMaybe; + poolMetadata_gt?: InputMaybe; + poolMetadata_lt?: InputMaybe; + poolMetadata_gte?: InputMaybe; + poolMetadata_lte?: InputMaybe; + poolMetadata_in?: InputMaybe>; + poolMetadata_not_in?: InputMaybe>; + poolMetadata_contains?: InputMaybe; + poolMetadata_contains_nocase?: InputMaybe; + poolMetadata_not_contains?: InputMaybe; + poolMetadata_not_contains_nocase?: InputMaybe; + poolMetadata_starts_with?: InputMaybe; + poolMetadata_starts_with_nocase?: InputMaybe; + poolMetadata_not_starts_with?: InputMaybe; + poolMetadata_not_starts_with_nocase?: InputMaybe; + poolMetadata_ends_with?: InputMaybe; + poolMetadata_ends_with_nocase?: InputMaybe; + poolMetadata_not_ends_with?: InputMaybe; + poolMetadata_not_ends_with_nocase?: InputMaybe; + poolMetadata_?: InputMaybe; + poolProfileMetadata?: InputMaybe; + poolProfileMetadata_not?: InputMaybe; + poolProfileMetadata_gt?: InputMaybe; + poolProfileMetadata_lt?: InputMaybe; + poolProfileMetadata_gte?: InputMaybe; + poolProfileMetadata_lte?: InputMaybe; + poolProfileMetadata_in?: InputMaybe>; + poolProfileMetadata_not_in?: InputMaybe>; + poolProfileMetadata_contains?: InputMaybe; + poolProfileMetadata_contains_nocase?: InputMaybe; + poolProfileMetadata_not_contains?: InputMaybe; + poolProfileMetadata_not_contains_nocase?: InputMaybe; + poolProfileMetadata_starts_with?: InputMaybe; + poolProfileMetadata_starts_with_nocase?: InputMaybe; + poolProfileMetadata_not_starts_with?: InputMaybe; + poolProfileMetadata_not_starts_with_nocase?: InputMaybe; + poolProfileMetadata_ends_with?: InputMaybe; + poolProfileMetadata_ends_with_nocase?: InputMaybe; + poolProfileMetadata_not_ends_with?: InputMaybe; + poolProfileMetadata_not_ends_with_nocase?: InputMaybe; + poolProfileMetadata_?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GmDeployment_orderBy = + | 'id' + | 'address' + | 'version' + | 'version__id' + | 'version__name' + | 'version__address' + | 'blockNumber' + | 'transactionHash' + | 'timestamp' + | 'hasPool' + | 'poolId' + | 'profileId' + | 'poolMetadata' + | 'poolMetadata__id' + | 'poolMetadata__protocol' + | 'poolMetadata__pointer' + | 'poolProfileMetadata' + | 'poolProfileMetadata__id' + | 'poolProfileMetadata__protocol' + | 'poolProfileMetadata__pointer'; + +export type GmVersion = { + id: Scalars['ID']; + name: Scalars['String']; + address: Scalars['Bytes']; +}; + +export type GmVersion_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GmVersion_orderBy = + | 'id' + | 'name' + | 'address'; + +export type Grant = { + id: Scalars['ID']; + projectId: Project; + shipId: GrantShip; + lastUpdated: Scalars['BigInt']; + hasResubmitted: Scalars['Boolean']; + grantStatus: Scalars['Int']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; + currentMilestoneIndex: Scalars['BigInt']; + milestonesAmount: Scalars['BigInt']; + milestones?: Maybe>; + shipApprovalReason?: Maybe; + hasShipApproved?: Maybe; + amtAllocated: Scalars['BigInt']; + amtDistributed: Scalars['BigInt']; + allocatedBy?: Maybe; + facilitatorReason?: Maybe; + hasFacilitatorApproved?: Maybe; + milestonesApproved?: Maybe; + milestonesApprovedReason?: Maybe; + currentMilestoneRejectedReason?: Maybe; + resubmitHistory: Array; +}; + + +export type GrantmilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + + +export type GrantresubmitHistoryArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GrantShip = { + id: Scalars['Bytes']; + profileId: Scalars['Bytes']; + nonce: Scalars['BigInt']; + name: Scalars['String']; + profileMetadata: RawMetadata; + owner: Scalars['Bytes']; + anchor: Scalars['Bytes']; + blockNumber: Scalars['BigInt']; + blockTimestamp: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + status: Scalars['Int']; + poolFunded: Scalars['Boolean']; + balance: Scalars['BigInt']; + shipAllocation: Scalars['BigInt']; + totalAvailableFunds: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocated: Scalars['BigInt']; + totalDistributed: Scalars['BigInt']; + grants: Array; + alloProfileMembers?: Maybe; + shipApplicationBytesData?: Maybe; + applicationSubmittedTime?: Maybe; + isAwaitingApproval?: Maybe; + hasSubmittedApplication?: Maybe; + isApproved?: Maybe; + approvedTime?: Maybe; + isRejected?: Maybe; + rejectedTime?: Maybe; + applicationReviewReason?: Maybe; + poolId?: Maybe; + hatId?: Maybe; + shipContractAddress?: Maybe; + shipLaunched?: Maybe; + poolActive?: Maybe; + isAllocated?: Maybe; + isDistributed?: Maybe; +}; + + +export type GrantShipgrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GrantShip_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + nonce?: InputMaybe; + nonce_not?: InputMaybe; + nonce_gt?: InputMaybe; + nonce_lt?: InputMaybe; + nonce_gte?: InputMaybe; + nonce_lte?: InputMaybe; + nonce_in?: InputMaybe>; + nonce_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + profileMetadata?: InputMaybe; + profileMetadata_not?: InputMaybe; + profileMetadata_gt?: InputMaybe; + profileMetadata_lt?: InputMaybe; + profileMetadata_gte?: InputMaybe; + profileMetadata_lte?: InputMaybe; + profileMetadata_in?: InputMaybe>; + profileMetadata_not_in?: InputMaybe>; + profileMetadata_contains?: InputMaybe; + profileMetadata_contains_nocase?: InputMaybe; + profileMetadata_not_contains?: InputMaybe; + profileMetadata_not_contains_nocase?: InputMaybe; + profileMetadata_starts_with?: InputMaybe; + profileMetadata_starts_with_nocase?: InputMaybe; + profileMetadata_not_starts_with?: InputMaybe; + profileMetadata_not_starts_with_nocase?: InputMaybe; + profileMetadata_ends_with?: InputMaybe; + profileMetadata_ends_with_nocase?: InputMaybe; + profileMetadata_not_ends_with?: InputMaybe; + profileMetadata_not_ends_with_nocase?: InputMaybe; + profileMetadata_?: InputMaybe; + owner?: InputMaybe; + owner_not?: InputMaybe; + owner_gt?: InputMaybe; + owner_lt?: InputMaybe; + owner_gte?: InputMaybe; + owner_lte?: InputMaybe; + owner_in?: InputMaybe>; + owner_not_in?: InputMaybe>; + owner_contains?: InputMaybe; + owner_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + blockTimestamp?: InputMaybe; + blockTimestamp_not?: InputMaybe; + blockTimestamp_gt?: InputMaybe; + blockTimestamp_lt?: InputMaybe; + blockTimestamp_gte?: InputMaybe; + blockTimestamp_lte?: InputMaybe; + blockTimestamp_in?: InputMaybe>; + blockTimestamp_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + poolFunded?: InputMaybe; + poolFunded_not?: InputMaybe; + poolFunded_in?: InputMaybe>; + poolFunded_not_in?: InputMaybe>; + balance?: InputMaybe; + balance_not?: InputMaybe; + balance_gt?: InputMaybe; + balance_lt?: InputMaybe; + balance_gte?: InputMaybe; + balance_lte?: InputMaybe; + balance_in?: InputMaybe>; + balance_not_in?: InputMaybe>; + shipAllocation?: InputMaybe; + shipAllocation_not?: InputMaybe; + shipAllocation_gt?: InputMaybe; + shipAllocation_lt?: InputMaybe; + shipAllocation_gte?: InputMaybe; + shipAllocation_lte?: InputMaybe; + shipAllocation_in?: InputMaybe>; + shipAllocation_not_in?: InputMaybe>; + totalAvailableFunds?: InputMaybe; + totalAvailableFunds_not?: InputMaybe; + totalAvailableFunds_gt?: InputMaybe; + totalAvailableFunds_lt?: InputMaybe; + totalAvailableFunds_gte?: InputMaybe; + totalAvailableFunds_lte?: InputMaybe; + totalAvailableFunds_in?: InputMaybe>; + totalAvailableFunds_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocated?: InputMaybe; + totalAllocated_not?: InputMaybe; + totalAllocated_gt?: InputMaybe; + totalAllocated_lt?: InputMaybe; + totalAllocated_gte?: InputMaybe; + totalAllocated_lte?: InputMaybe; + totalAllocated_in?: InputMaybe>; + totalAllocated_not_in?: InputMaybe>; + totalDistributed?: InputMaybe; + totalDistributed_not?: InputMaybe; + totalDistributed_gt?: InputMaybe; + totalDistributed_lt?: InputMaybe; + totalDistributed_gte?: InputMaybe; + totalDistributed_lte?: InputMaybe; + totalDistributed_in?: InputMaybe>; + totalDistributed_not_in?: InputMaybe>; + grants_?: InputMaybe; + alloProfileMembers?: InputMaybe; + alloProfileMembers_not?: InputMaybe; + alloProfileMembers_gt?: InputMaybe; + alloProfileMembers_lt?: InputMaybe; + alloProfileMembers_gte?: InputMaybe; + alloProfileMembers_lte?: InputMaybe; + alloProfileMembers_in?: InputMaybe>; + alloProfileMembers_not_in?: InputMaybe>; + alloProfileMembers_contains?: InputMaybe; + alloProfileMembers_contains_nocase?: InputMaybe; + alloProfileMembers_not_contains?: InputMaybe; + alloProfileMembers_not_contains_nocase?: InputMaybe; + alloProfileMembers_starts_with?: InputMaybe; + alloProfileMembers_starts_with_nocase?: InputMaybe; + alloProfileMembers_not_starts_with?: InputMaybe; + alloProfileMembers_not_starts_with_nocase?: InputMaybe; + alloProfileMembers_ends_with?: InputMaybe; + alloProfileMembers_ends_with_nocase?: InputMaybe; + alloProfileMembers_not_ends_with?: InputMaybe; + alloProfileMembers_not_ends_with_nocase?: InputMaybe; + alloProfileMembers_?: InputMaybe; + shipApplicationBytesData?: InputMaybe; + shipApplicationBytesData_not?: InputMaybe; + shipApplicationBytesData_gt?: InputMaybe; + shipApplicationBytesData_lt?: InputMaybe; + shipApplicationBytesData_gte?: InputMaybe; + shipApplicationBytesData_lte?: InputMaybe; + shipApplicationBytesData_in?: InputMaybe>; + shipApplicationBytesData_not_in?: InputMaybe>; + shipApplicationBytesData_contains?: InputMaybe; + shipApplicationBytesData_not_contains?: InputMaybe; + applicationSubmittedTime?: InputMaybe; + applicationSubmittedTime_not?: InputMaybe; + applicationSubmittedTime_gt?: InputMaybe; + applicationSubmittedTime_lt?: InputMaybe; + applicationSubmittedTime_gte?: InputMaybe; + applicationSubmittedTime_lte?: InputMaybe; + applicationSubmittedTime_in?: InputMaybe>; + applicationSubmittedTime_not_in?: InputMaybe>; + isAwaitingApproval?: InputMaybe; + isAwaitingApproval_not?: InputMaybe; + isAwaitingApproval_in?: InputMaybe>; + isAwaitingApproval_not_in?: InputMaybe>; + hasSubmittedApplication?: InputMaybe; + hasSubmittedApplication_not?: InputMaybe; + hasSubmittedApplication_in?: InputMaybe>; + hasSubmittedApplication_not_in?: InputMaybe>; + isApproved?: InputMaybe; + isApproved_not?: InputMaybe; + isApproved_in?: InputMaybe>; + isApproved_not_in?: InputMaybe>; + approvedTime?: InputMaybe; + approvedTime_not?: InputMaybe; + approvedTime_gt?: InputMaybe; + approvedTime_lt?: InputMaybe; + approvedTime_gte?: InputMaybe; + approvedTime_lte?: InputMaybe; + approvedTime_in?: InputMaybe>; + approvedTime_not_in?: InputMaybe>; + isRejected?: InputMaybe; + isRejected_not?: InputMaybe; + isRejected_in?: InputMaybe>; + isRejected_not_in?: InputMaybe>; + rejectedTime?: InputMaybe; + rejectedTime_not?: InputMaybe; + rejectedTime_gt?: InputMaybe; + rejectedTime_lt?: InputMaybe; + rejectedTime_gte?: InputMaybe; + rejectedTime_lte?: InputMaybe; + rejectedTime_in?: InputMaybe>; + rejectedTime_not_in?: InputMaybe>; + applicationReviewReason?: InputMaybe; + applicationReviewReason_not?: InputMaybe; + applicationReviewReason_gt?: InputMaybe; + applicationReviewReason_lt?: InputMaybe; + applicationReviewReason_gte?: InputMaybe; + applicationReviewReason_lte?: InputMaybe; + applicationReviewReason_in?: InputMaybe>; + applicationReviewReason_not_in?: InputMaybe>; + applicationReviewReason_contains?: InputMaybe; + applicationReviewReason_contains_nocase?: InputMaybe; + applicationReviewReason_not_contains?: InputMaybe; + applicationReviewReason_not_contains_nocase?: InputMaybe; + applicationReviewReason_starts_with?: InputMaybe; + applicationReviewReason_starts_with_nocase?: InputMaybe; + applicationReviewReason_not_starts_with?: InputMaybe; + applicationReviewReason_not_starts_with_nocase?: InputMaybe; + applicationReviewReason_ends_with?: InputMaybe; + applicationReviewReason_ends_with_nocase?: InputMaybe; + applicationReviewReason_not_ends_with?: InputMaybe; + applicationReviewReason_not_ends_with_nocase?: InputMaybe; + applicationReviewReason_?: InputMaybe; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + hatId?: InputMaybe; + hatId_not?: InputMaybe; + hatId_gt?: InputMaybe; + hatId_lt?: InputMaybe; + hatId_gte?: InputMaybe; + hatId_lte?: InputMaybe; + hatId_in?: InputMaybe>; + hatId_not_in?: InputMaybe>; + hatId_contains?: InputMaybe; + hatId_contains_nocase?: InputMaybe; + hatId_not_contains?: InputMaybe; + hatId_not_contains_nocase?: InputMaybe; + hatId_starts_with?: InputMaybe; + hatId_starts_with_nocase?: InputMaybe; + hatId_not_starts_with?: InputMaybe; + hatId_not_starts_with_nocase?: InputMaybe; + hatId_ends_with?: InputMaybe; + hatId_ends_with_nocase?: InputMaybe; + hatId_not_ends_with?: InputMaybe; + hatId_not_ends_with_nocase?: InputMaybe; + shipContractAddress?: InputMaybe; + shipContractAddress_not?: InputMaybe; + shipContractAddress_gt?: InputMaybe; + shipContractAddress_lt?: InputMaybe; + shipContractAddress_gte?: InputMaybe; + shipContractAddress_lte?: InputMaybe; + shipContractAddress_in?: InputMaybe>; + shipContractAddress_not_in?: InputMaybe>; + shipContractAddress_contains?: InputMaybe; + shipContractAddress_not_contains?: InputMaybe; + shipLaunched?: InputMaybe; + shipLaunched_not?: InputMaybe; + shipLaunched_in?: InputMaybe>; + shipLaunched_not_in?: InputMaybe>; + poolActive?: InputMaybe; + poolActive_not?: InputMaybe; + poolActive_in?: InputMaybe>; + poolActive_not_in?: InputMaybe>; + isAllocated?: InputMaybe; + isAllocated_not?: InputMaybe; + isAllocated_in?: InputMaybe>; + isAllocated_not_in?: InputMaybe>; + isDistributed?: InputMaybe; + isDistributed_not?: InputMaybe; + isDistributed_in?: InputMaybe>; + isDistributed_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GrantShip_orderBy = + | 'id' + | 'profileId' + | 'nonce' + | 'name' + | 'profileMetadata' + | 'profileMetadata__id' + | 'profileMetadata__protocol' + | 'profileMetadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'status' + | 'poolFunded' + | 'balance' + | 'shipAllocation' + | 'totalAvailableFunds' + | 'totalRoundAmount' + | 'totalAllocated' + | 'totalDistributed' + | 'grants' + | 'alloProfileMembers' + | 'alloProfileMembers__id' + | 'shipApplicationBytesData' + | 'applicationSubmittedTime' + | 'isAwaitingApproval' + | 'hasSubmittedApplication' + | 'isApproved' + | 'approvedTime' + | 'isRejected' + | 'rejectedTime' + | 'applicationReviewReason' + | 'applicationReviewReason__id' + | 'applicationReviewReason__protocol' + | 'applicationReviewReason__pointer' + | 'poolId' + | 'hatId' + | 'shipContractAddress' + | 'shipLaunched' + | 'poolActive' + | 'isAllocated' + | 'isDistributed'; -/** order by var_pop() on columns of table "entity_history" */ -export type entity_history_var_pop_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; +export type Grant_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + projectId?: InputMaybe; + projectId_not?: InputMaybe; + projectId_gt?: InputMaybe; + projectId_lt?: InputMaybe; + projectId_gte?: InputMaybe; + projectId_lte?: InputMaybe; + projectId_in?: InputMaybe>; + projectId_not_in?: InputMaybe>; + projectId_contains?: InputMaybe; + projectId_contains_nocase?: InputMaybe; + projectId_not_contains?: InputMaybe; + projectId_not_contains_nocase?: InputMaybe; + projectId_starts_with?: InputMaybe; + projectId_starts_with_nocase?: InputMaybe; + projectId_not_starts_with?: InputMaybe; + projectId_not_starts_with_nocase?: InputMaybe; + projectId_ends_with?: InputMaybe; + projectId_ends_with_nocase?: InputMaybe; + projectId_not_ends_with?: InputMaybe; + projectId_not_ends_with_nocase?: InputMaybe; + projectId_?: InputMaybe; + shipId?: InputMaybe; + shipId_not?: InputMaybe; + shipId_gt?: InputMaybe; + shipId_lt?: InputMaybe; + shipId_gte?: InputMaybe; + shipId_lte?: InputMaybe; + shipId_in?: InputMaybe>; + shipId_not_in?: InputMaybe>; + shipId_contains?: InputMaybe; + shipId_contains_nocase?: InputMaybe; + shipId_not_contains?: InputMaybe; + shipId_not_contains_nocase?: InputMaybe; + shipId_starts_with?: InputMaybe; + shipId_starts_with_nocase?: InputMaybe; + shipId_not_starts_with?: InputMaybe; + shipId_not_starts_with_nocase?: InputMaybe; + shipId_ends_with?: InputMaybe; + shipId_ends_with_nocase?: InputMaybe; + shipId_not_ends_with?: InputMaybe; + shipId_not_ends_with_nocase?: InputMaybe; + shipId_?: InputMaybe; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + hasResubmitted?: InputMaybe; + hasResubmitted_not?: InputMaybe; + hasResubmitted_in?: InputMaybe>; + hasResubmitted_not_in?: InputMaybe>; + grantStatus?: InputMaybe; + grantStatus_not?: InputMaybe; + grantStatus_gt?: InputMaybe; + grantStatus_lt?: InputMaybe; + grantStatus_gte?: InputMaybe; + grantStatus_lte?: InputMaybe; + grantStatus_in?: InputMaybe>; + grantStatus_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + currentMilestoneIndex?: InputMaybe; + currentMilestoneIndex_not?: InputMaybe; + currentMilestoneIndex_gt?: InputMaybe; + currentMilestoneIndex_lt?: InputMaybe; + currentMilestoneIndex_gte?: InputMaybe; + currentMilestoneIndex_lte?: InputMaybe; + currentMilestoneIndex_in?: InputMaybe>; + currentMilestoneIndex_not_in?: InputMaybe>; + milestonesAmount?: InputMaybe; + milestonesAmount_not?: InputMaybe; + milestonesAmount_gt?: InputMaybe; + milestonesAmount_lt?: InputMaybe; + milestonesAmount_gte?: InputMaybe; + milestonesAmount_lte?: InputMaybe; + milestonesAmount_in?: InputMaybe>; + milestonesAmount_not_in?: InputMaybe>; + milestones?: InputMaybe>; + milestones_not?: InputMaybe>; + milestones_contains?: InputMaybe>; + milestones_contains_nocase?: InputMaybe>; + milestones_not_contains?: InputMaybe>; + milestones_not_contains_nocase?: InputMaybe>; + milestones_?: InputMaybe; + shipApprovalReason?: InputMaybe; + shipApprovalReason_not?: InputMaybe; + shipApprovalReason_gt?: InputMaybe; + shipApprovalReason_lt?: InputMaybe; + shipApprovalReason_gte?: InputMaybe; + shipApprovalReason_lte?: InputMaybe; + shipApprovalReason_in?: InputMaybe>; + shipApprovalReason_not_in?: InputMaybe>; + shipApprovalReason_contains?: InputMaybe; + shipApprovalReason_contains_nocase?: InputMaybe; + shipApprovalReason_not_contains?: InputMaybe; + shipApprovalReason_not_contains_nocase?: InputMaybe; + shipApprovalReason_starts_with?: InputMaybe; + shipApprovalReason_starts_with_nocase?: InputMaybe; + shipApprovalReason_not_starts_with?: InputMaybe; + shipApprovalReason_not_starts_with_nocase?: InputMaybe; + shipApprovalReason_ends_with?: InputMaybe; + shipApprovalReason_ends_with_nocase?: InputMaybe; + shipApprovalReason_not_ends_with?: InputMaybe; + shipApprovalReason_not_ends_with_nocase?: InputMaybe; + shipApprovalReason_?: InputMaybe; + hasShipApproved?: InputMaybe; + hasShipApproved_not?: InputMaybe; + hasShipApproved_in?: InputMaybe>; + hasShipApproved_not_in?: InputMaybe>; + amtAllocated?: InputMaybe; + amtAllocated_not?: InputMaybe; + amtAllocated_gt?: InputMaybe; + amtAllocated_lt?: InputMaybe; + amtAllocated_gte?: InputMaybe; + amtAllocated_lte?: InputMaybe; + amtAllocated_in?: InputMaybe>; + amtAllocated_not_in?: InputMaybe>; + amtDistributed?: InputMaybe; + amtDistributed_not?: InputMaybe; + amtDistributed_gt?: InputMaybe; + amtDistributed_lt?: InputMaybe; + amtDistributed_gte?: InputMaybe; + amtDistributed_lte?: InputMaybe; + amtDistributed_in?: InputMaybe>; + amtDistributed_not_in?: InputMaybe>; + allocatedBy?: InputMaybe; + allocatedBy_not?: InputMaybe; + allocatedBy_gt?: InputMaybe; + allocatedBy_lt?: InputMaybe; + allocatedBy_gte?: InputMaybe; + allocatedBy_lte?: InputMaybe; + allocatedBy_in?: InputMaybe>; + allocatedBy_not_in?: InputMaybe>; + allocatedBy_contains?: InputMaybe; + allocatedBy_not_contains?: InputMaybe; + facilitatorReason?: InputMaybe; + facilitatorReason_not?: InputMaybe; + facilitatorReason_gt?: InputMaybe; + facilitatorReason_lt?: InputMaybe; + facilitatorReason_gte?: InputMaybe; + facilitatorReason_lte?: InputMaybe; + facilitatorReason_in?: InputMaybe>; + facilitatorReason_not_in?: InputMaybe>; + facilitatorReason_contains?: InputMaybe; + facilitatorReason_contains_nocase?: InputMaybe; + facilitatorReason_not_contains?: InputMaybe; + facilitatorReason_not_contains_nocase?: InputMaybe; + facilitatorReason_starts_with?: InputMaybe; + facilitatorReason_starts_with_nocase?: InputMaybe; + facilitatorReason_not_starts_with?: InputMaybe; + facilitatorReason_not_starts_with_nocase?: InputMaybe; + facilitatorReason_ends_with?: InputMaybe; + facilitatorReason_ends_with_nocase?: InputMaybe; + facilitatorReason_not_ends_with?: InputMaybe; + facilitatorReason_not_ends_with_nocase?: InputMaybe; + facilitatorReason_?: InputMaybe; + hasFacilitatorApproved?: InputMaybe; + hasFacilitatorApproved_not?: InputMaybe; + hasFacilitatorApproved_in?: InputMaybe>; + hasFacilitatorApproved_not_in?: InputMaybe>; + milestonesApproved?: InputMaybe; + milestonesApproved_not?: InputMaybe; + milestonesApproved_in?: InputMaybe>; + milestonesApproved_not_in?: InputMaybe>; + milestonesApprovedReason?: InputMaybe; + milestonesApprovedReason_not?: InputMaybe; + milestonesApprovedReason_gt?: InputMaybe; + milestonesApprovedReason_lt?: InputMaybe; + milestonesApprovedReason_gte?: InputMaybe; + milestonesApprovedReason_lte?: InputMaybe; + milestonesApprovedReason_in?: InputMaybe>; + milestonesApprovedReason_not_in?: InputMaybe>; + milestonesApprovedReason_contains?: InputMaybe; + milestonesApprovedReason_contains_nocase?: InputMaybe; + milestonesApprovedReason_not_contains?: InputMaybe; + milestonesApprovedReason_not_contains_nocase?: InputMaybe; + milestonesApprovedReason_starts_with?: InputMaybe; + milestonesApprovedReason_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_not_starts_with?: InputMaybe; + milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_ends_with?: InputMaybe; + milestonesApprovedReason_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_not_ends_with?: InputMaybe; + milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_?: InputMaybe; + currentMilestoneRejectedReason?: InputMaybe; + currentMilestoneRejectedReason_not?: InputMaybe; + currentMilestoneRejectedReason_gt?: InputMaybe; + currentMilestoneRejectedReason_lt?: InputMaybe; + currentMilestoneRejectedReason_gte?: InputMaybe; + currentMilestoneRejectedReason_lte?: InputMaybe; + currentMilestoneRejectedReason_in?: InputMaybe>; + currentMilestoneRejectedReason_not_in?: InputMaybe>; + currentMilestoneRejectedReason_contains?: InputMaybe; + currentMilestoneRejectedReason_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_contains?: InputMaybe; + currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_starts_with?: InputMaybe; + currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_ends_with?: InputMaybe; + currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_?: InputMaybe; + resubmitHistory?: InputMaybe>; + resubmitHistory_not?: InputMaybe>; + resubmitHistory_contains?: InputMaybe>; + resubmitHistory_contains_nocase?: InputMaybe>; + resubmitHistory_not_contains?: InputMaybe>; + resubmitHistory_not_contains_nocase?: InputMaybe>; + resubmitHistory_?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** order by var_samp() on columns of table "entity_history" */ -export type entity_history_var_samp_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; +export type Grant_orderBy = + | 'id' + | 'projectId' + | 'projectId__id' + | 'projectId__profileId' + | 'projectId__status' + | 'projectId__nonce' + | 'projectId__name' + | 'projectId__owner' + | 'projectId__anchor' + | 'projectId__blockNumber' + | 'projectId__blockTimestamp' + | 'projectId__transactionHash' + | 'projectId__totalAmountReceived' + | 'shipId' + | 'shipId__id' + | 'shipId__profileId' + | 'shipId__nonce' + | 'shipId__name' + | 'shipId__owner' + | 'shipId__anchor' + | 'shipId__blockNumber' + | 'shipId__blockTimestamp' + | 'shipId__transactionHash' + | 'shipId__status' + | 'shipId__poolFunded' + | 'shipId__balance' + | 'shipId__shipAllocation' + | 'shipId__totalAvailableFunds' + | 'shipId__totalRoundAmount' + | 'shipId__totalAllocated' + | 'shipId__totalDistributed' + | 'shipId__shipApplicationBytesData' + | 'shipId__applicationSubmittedTime' + | 'shipId__isAwaitingApproval' + | 'shipId__hasSubmittedApplication' + | 'shipId__isApproved' + | 'shipId__approvedTime' + | 'shipId__isRejected' + | 'shipId__rejectedTime' + | 'shipId__poolId' + | 'shipId__hatId' + | 'shipId__shipContractAddress' + | 'shipId__shipLaunched' + | 'shipId__poolActive' + | 'shipId__isAllocated' + | 'shipId__isDistributed' + | 'lastUpdated' + | 'hasResubmitted' + | 'grantStatus' + | 'grantApplicationBytes' + | 'applicationSubmitted' + | 'currentMilestoneIndex' + | 'milestonesAmount' + | 'milestones' + | 'shipApprovalReason' + | 'shipApprovalReason__id' + | 'shipApprovalReason__protocol' + | 'shipApprovalReason__pointer' + | 'hasShipApproved' + | 'amtAllocated' + | 'amtDistributed' + | 'allocatedBy' + | 'facilitatorReason' + | 'facilitatorReason__id' + | 'facilitatorReason__protocol' + | 'facilitatorReason__pointer' + | 'hasFacilitatorApproved' + | 'milestonesApproved' + | 'milestonesApprovedReason' + | 'milestonesApprovedReason__id' + | 'milestonesApprovedReason__protocol' + | 'milestonesApprovedReason__pointer' + | 'currentMilestoneRejectedReason' + | 'currentMilestoneRejectedReason__id' + | 'currentMilestoneRejectedReason__protocol' + | 'currentMilestoneRejectedReason__pointer' + | 'resubmitHistory'; -/** order by variance() on columns of table "entity_history" */ -export type entity_history_variance_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; +export type Log = { + id: Scalars['ID']; + message: Scalars['String']; + description?: Maybe; + type?: Maybe; }; -/** Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. */ -export type entity_type_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type Log_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + message?: InputMaybe; + message_not?: InputMaybe; + message_gt?: InputMaybe; + message_lt?: InputMaybe; + message_gte?: InputMaybe; + message_lte?: InputMaybe; + message_in?: InputMaybe>; + message_not_in?: InputMaybe>; + message_contains?: InputMaybe; + message_contains_nocase?: InputMaybe; + message_not_contains?: InputMaybe; + message_not_contains_nocase?: InputMaybe; + message_starts_with?: InputMaybe; + message_starts_with_nocase?: InputMaybe; + message_not_starts_with?: InputMaybe; + message_not_starts_with_nocase?: InputMaybe; + message_ends_with?: InputMaybe; + message_ends_with_nocase?: InputMaybe; + message_not_ends_with?: InputMaybe; + message_not_ends_with_nocase?: InputMaybe; + description?: InputMaybe; + description_not?: InputMaybe; + description_gt?: InputMaybe; + description_lt?: InputMaybe; + description_gte?: InputMaybe; + description_lte?: InputMaybe; + description_in?: InputMaybe>; + description_not_in?: InputMaybe>; + description_contains?: InputMaybe; + description_contains_nocase?: InputMaybe; + description_not_contains?: InputMaybe; + description_not_contains_nocase?: InputMaybe; + description_starts_with?: InputMaybe; + description_starts_with_nocase?: InputMaybe; + description_not_starts_with?: InputMaybe; + description_not_starts_with_nocase?: InputMaybe; + description_ends_with?: InputMaybe; + description_ends_with_nocase?: InputMaybe; + description_not_ends_with?: InputMaybe; + description_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** columns and relationships of "event_sync_state" */ -export type event_sync_state = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - log_index: Scalars['Int']; - transaction_index: Scalars['Int']; -}; +export type Log_orderBy = + | 'id' + | 'message' + | 'description' + | 'type'; -/** Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. */ -export type event_sync_state_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; +export type Milestone = { + id: Scalars['ID']; + amountPercentage: Scalars['Bytes']; + mmetadata: Scalars['BigInt']; + amount: Scalars['BigInt']; + status: Scalars['Int']; + lastUpdated: Scalars['BigInt']; }; -/** Ordering options when selecting data from "event_sync_state". */ -export type event_sync_state_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; +export type Milestone_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + amountPercentage?: InputMaybe; + amountPercentage_not?: InputMaybe; + amountPercentage_gt?: InputMaybe; + amountPercentage_lt?: InputMaybe; + amountPercentage_gte?: InputMaybe; + amountPercentage_lte?: InputMaybe; + amountPercentage_in?: InputMaybe>; + amountPercentage_not_in?: InputMaybe>; + amountPercentage_contains?: InputMaybe; + amountPercentage_not_contains?: InputMaybe; + mmetadata?: InputMaybe; + mmetadata_not?: InputMaybe; + mmetadata_gt?: InputMaybe; + mmetadata_lt?: InputMaybe; + mmetadata_gte?: InputMaybe; + mmetadata_lte?: InputMaybe; + mmetadata_in?: InputMaybe>; + mmetadata_not_in?: InputMaybe>; + amount?: InputMaybe; + amount_not?: InputMaybe; + amount_gt?: InputMaybe; + amount_lt?: InputMaybe; + amount_gte?: InputMaybe; + amount_lte?: InputMaybe; + amount_in?: InputMaybe>; + amount_not_in?: InputMaybe>; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "event_sync_state" */ -export type event_sync_state_select_column = - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'log_index' - /** column name */ - | 'transaction_index'; +export type Milestone_orderBy = + | 'id' + | 'amountPercentage' + | 'mmetadata' + | 'amount' + | 'status' + | 'lastUpdated'; -/** Streaming cursor of the table "event_sync_state" */ -export type event_sync_state_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: event_sync_state_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; +/** Defines the order direction, either ascending or descending */ +export type OrderDirection = + | 'asc' + | 'desc'; -/** Initial value of the column from where the streaming should start */ -export type event_sync_state_stream_cursor_value_input = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; +export type PoolIdLookup = { + id: Scalars['ID']; + entityId: Scalars['Bytes']; }; -/** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ -export type event_type_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type PoolIdLookup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + entityId?: InputMaybe; + entityId_not?: InputMaybe; + entityId_gt?: InputMaybe; + entityId_lt?: InputMaybe; + entityId_gte?: InputMaybe; + entityId_lte?: InputMaybe; + entityId_in?: InputMaybe>; + entityId_not_in?: InputMaybe>; + entityId_contains?: InputMaybe; + entityId_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type get_entity_history_filter_args = { - end_block?: InputMaybe; - end_chain_id?: InputMaybe; - end_log_index?: InputMaybe; - end_timestamp?: InputMaybe; - start_block?: InputMaybe; - start_chain_id?: InputMaybe; - start_log_index?: InputMaybe; - start_timestamp?: InputMaybe; +export type PoolIdLookup_orderBy = + | 'id' + | 'entityId'; + +export type ProfileIdToAnchor = { + id: Scalars['ID']; + profileId: Scalars['Bytes']; + anchor: Scalars['Bytes']; }; -/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ -export type json_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type ProfileIdToAnchor_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type numeric_array_comparison_exp = { - /** is the array contained in the given array value */ - _contained_in?: InputMaybe>; - /** does the array contain the given value */ - _contains?: InputMaybe>; - _eq?: InputMaybe>; - _gt?: InputMaybe>; - _gte?: InputMaybe>; - _in?: InputMaybe>>; - _is_null?: InputMaybe; - _lt?: InputMaybe>; - _lte?: InputMaybe>; - _neq?: InputMaybe>; - _nin?: InputMaybe>>; +export type ProfileIdToAnchor_orderBy = + | 'id' + | 'profileId' + | 'anchor'; + +export type ProfileMemberGroup = { + id: Scalars['Bytes']; + addresses?: Maybe>; }; -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type numeric_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +export type ProfileMemberGroup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + addresses?: InputMaybe>; + addresses_not?: InputMaybe>; + addresses_contains?: InputMaybe>; + addresses_contains_nocase?: InputMaybe>; + addresses_not_contains?: InputMaybe>; + addresses_not_contains_nocase?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** column ordering options */ -export type order_by = - /** in ascending order, nulls last */ - | 'asc' - /** in ascending order, nulls first */ - | 'asc_nulls_first' - /** in ascending order, nulls last */ - | 'asc_nulls_last' - /** in descending order, nulls first */ - | 'desc' - /** in descending order, nulls first */ - | 'desc_nulls_first' - /** in descending order, nulls last */ - | 'desc_nulls_last'; +export type ProfileMemberGroup_orderBy = + | 'id' + | 'addresses'; -/** columns and relationships of "persisted_state" */ -export type persisted_state = { - abi_files_hash: Scalars['String']; - config_hash: Scalars['String']; - envio_version: Scalars['String']; - handler_files_hash: Scalars['String']; - id: Scalars['Int']; - schema_hash: Scalars['String']; +export type Project = { + id: Scalars['Bytes']; + profileId: Scalars['Bytes']; + status: Scalars['Int']; + nonce: Scalars['BigInt']; + name: Scalars['String']; + metadata: RawMetadata; + owner: Scalars['Bytes']; + anchor: Scalars['Bytes']; + blockNumber: Scalars['BigInt']; + blockTimestamp: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + grants: Array; + members?: Maybe; + totalAmountReceived: Scalars['BigInt']; }; -/** Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. */ -export type persisted_state_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; + +export type ProjectgrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; }; -/** Ordering options when selecting data from "persisted_state". */ -export type persisted_state_order_by = { - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; +export type Project_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + nonce?: InputMaybe; + nonce_not?: InputMaybe; + nonce_gt?: InputMaybe; + nonce_lt?: InputMaybe; + nonce_gte?: InputMaybe; + nonce_lte?: InputMaybe; + nonce_in?: InputMaybe>; + nonce_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + metadata?: InputMaybe; + metadata_not?: InputMaybe; + metadata_gt?: InputMaybe; + metadata_lt?: InputMaybe; + metadata_gte?: InputMaybe; + metadata_lte?: InputMaybe; + metadata_in?: InputMaybe>; + metadata_not_in?: InputMaybe>; + metadata_contains?: InputMaybe; + metadata_contains_nocase?: InputMaybe; + metadata_not_contains?: InputMaybe; + metadata_not_contains_nocase?: InputMaybe; + metadata_starts_with?: InputMaybe; + metadata_starts_with_nocase?: InputMaybe; + metadata_not_starts_with?: InputMaybe; + metadata_not_starts_with_nocase?: InputMaybe; + metadata_ends_with?: InputMaybe; + metadata_ends_with_nocase?: InputMaybe; + metadata_not_ends_with?: InputMaybe; + metadata_not_ends_with_nocase?: InputMaybe; + metadata_?: InputMaybe; + owner?: InputMaybe; + owner_not?: InputMaybe; + owner_gt?: InputMaybe; + owner_lt?: InputMaybe; + owner_gte?: InputMaybe; + owner_lte?: InputMaybe; + owner_in?: InputMaybe>; + owner_not_in?: InputMaybe>; + owner_contains?: InputMaybe; + owner_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + blockTimestamp?: InputMaybe; + blockTimestamp_not?: InputMaybe; + blockTimestamp_gt?: InputMaybe; + blockTimestamp_lt?: InputMaybe; + blockTimestamp_gte?: InputMaybe; + blockTimestamp_lte?: InputMaybe; + blockTimestamp_in?: InputMaybe>; + blockTimestamp_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + grants_?: InputMaybe; + members?: InputMaybe; + members_not?: InputMaybe; + members_gt?: InputMaybe; + members_lt?: InputMaybe; + members_gte?: InputMaybe; + members_lte?: InputMaybe; + members_in?: InputMaybe>; + members_not_in?: InputMaybe>; + members_contains?: InputMaybe; + members_contains_nocase?: InputMaybe; + members_not_contains?: InputMaybe; + members_not_contains_nocase?: InputMaybe; + members_starts_with?: InputMaybe; + members_starts_with_nocase?: InputMaybe; + members_not_starts_with?: InputMaybe; + members_not_starts_with_nocase?: InputMaybe; + members_ends_with?: InputMaybe; + members_ends_with_nocase?: InputMaybe; + members_not_ends_with?: InputMaybe; + members_not_ends_with_nocase?: InputMaybe; + members_?: InputMaybe; + totalAmountReceived?: InputMaybe; + totalAmountReceived_not?: InputMaybe; + totalAmountReceived_gt?: InputMaybe; + totalAmountReceived_lt?: InputMaybe; + totalAmountReceived_gte?: InputMaybe; + totalAmountReceived_lte?: InputMaybe; + totalAmountReceived_in?: InputMaybe>; + totalAmountReceived_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "persisted_state" */ -export type persisted_state_select_column = - /** column name */ - | 'abi_files_hash' - /** column name */ - | 'config_hash' - /** column name */ - | 'envio_version' - /** column name */ - | 'handler_files_hash' - /** column name */ +export type Project_orderBy = | 'id' - /** column name */ - | 'schema_hash'; - -/** Streaming cursor of the table "persisted_state" */ -export type persisted_state_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: persisted_state_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; + | 'profileId' + | 'status' + | 'nonce' + | 'name' + | 'metadata' + | 'metadata__id' + | 'metadata__protocol' + | 'metadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'grants' + | 'members' + | 'members__id' + | 'totalAmountReceived'; -/** Initial value of the column from where the streaming should start */ -export type persisted_state_stream_cursor_value_input = { - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; +export type RawMetadata = { + id: Scalars['String']; + protocol: Scalars['BigInt']; + pointer: Scalars['String']; }; -/** columns and relationships of "raw_events" */ -export type raw_events = { - block_hash: Scalars['String']; - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - db_write_timestamp?: Maybe; - /** An array relationship */ - event_history: Array; - event_id: Scalars['numeric']; - event_type: Scalars['event_type']; - log_index: Scalars['Int']; - params: Scalars['json']; - src_address: Scalars['String']; - transaction_hash: Scalars['String']; - transaction_index: Scalars['Int']; +export type RawMetadata_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_contains_nocase?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_contains_nocase?: InputMaybe; + id_starts_with?: InputMaybe; + id_starts_with_nocase?: InputMaybe; + id_not_starts_with?: InputMaybe; + id_not_starts_with_nocase?: InputMaybe; + id_ends_with?: InputMaybe; + id_ends_with_nocase?: InputMaybe; + id_not_ends_with?: InputMaybe; + id_not_ends_with_nocase?: InputMaybe; + protocol?: InputMaybe; + protocol_not?: InputMaybe; + protocol_gt?: InputMaybe; + protocol_lt?: InputMaybe; + protocol_gte?: InputMaybe; + protocol_lte?: InputMaybe; + protocol_in?: InputMaybe>; + protocol_not_in?: InputMaybe>; + pointer?: InputMaybe; + pointer_not?: InputMaybe; + pointer_gt?: InputMaybe; + pointer_lt?: InputMaybe; + pointer_gte?: InputMaybe; + pointer_lte?: InputMaybe; + pointer_in?: InputMaybe>; + pointer_not_in?: InputMaybe>; + pointer_contains?: InputMaybe; + pointer_contains_nocase?: InputMaybe; + pointer_not_contains?: InputMaybe; + pointer_not_contains_nocase?: InputMaybe; + pointer_starts_with?: InputMaybe; + pointer_starts_with_nocase?: InputMaybe; + pointer_not_starts_with?: InputMaybe; + pointer_not_starts_with_nocase?: InputMaybe; + pointer_ends_with?: InputMaybe; + pointer_ends_with_nocase?: InputMaybe; + pointer_not_ends_with?: InputMaybe; + pointer_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type RawMetadata_orderBy = + | 'id' + | 'protocol' + | 'pointer'; -/** columns and relationships of "raw_events" */ -export type raw_eventsevent_historyArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Transaction = { + id: Scalars['ID']; + blockNumber: Scalars['BigInt']; + sender: Scalars['Bytes']; + txHash: Scalars['Bytes']; }; - -/** columns and relationships of "raw_events" */ -export type raw_eventsparamsArgs = { - path?: InputMaybe; +export type Transaction_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + sender?: InputMaybe; + sender_not?: InputMaybe; + sender_gt?: InputMaybe; + sender_lt?: InputMaybe; + sender_gte?: InputMaybe; + sender_lte?: InputMaybe; + sender_in?: InputMaybe>; + sender_not_in?: InputMaybe>; + sender_contains?: InputMaybe; + sender_not_contains?: InputMaybe; + txHash?: InputMaybe; + txHash_not?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. */ -export type raw_events_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_history?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; +export type Transaction_orderBy = + | 'id' + | 'blockNumber' + | 'sender' + | 'txHash'; + +export type Update = { + id: Scalars['ID']; + scope: Scalars['Int']; + posterRole: Scalars['Int']; + entityAddress: Scalars['Bytes']; + postedBy: Scalars['Bytes']; + content: RawMetadata; + contentSchema: Scalars['Int']; + postDecorator: Scalars['Int']; + timestamp: Scalars['BigInt']; }; -/** Ordering options when selecting data from "raw_events". */ -export type raw_events_order_by = { - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_history_aggregate?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; +export type Update_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + scope?: InputMaybe; + scope_not?: InputMaybe; + scope_gt?: InputMaybe; + scope_lt?: InputMaybe; + scope_gte?: InputMaybe; + scope_lte?: InputMaybe; + scope_in?: InputMaybe>; + scope_not_in?: InputMaybe>; + posterRole?: InputMaybe; + posterRole_not?: InputMaybe; + posterRole_gt?: InputMaybe; + posterRole_lt?: InputMaybe; + posterRole_gte?: InputMaybe; + posterRole_lte?: InputMaybe; + posterRole_in?: InputMaybe>; + posterRole_not_in?: InputMaybe>; + entityAddress?: InputMaybe; + entityAddress_not?: InputMaybe; + entityAddress_gt?: InputMaybe; + entityAddress_lt?: InputMaybe; + entityAddress_gte?: InputMaybe; + entityAddress_lte?: InputMaybe; + entityAddress_in?: InputMaybe>; + entityAddress_not_in?: InputMaybe>; + entityAddress_contains?: InputMaybe; + entityAddress_not_contains?: InputMaybe; + postedBy?: InputMaybe; + postedBy_not?: InputMaybe; + postedBy_gt?: InputMaybe; + postedBy_lt?: InputMaybe; + postedBy_gte?: InputMaybe; + postedBy_lte?: InputMaybe; + postedBy_in?: InputMaybe>; + postedBy_not_in?: InputMaybe>; + postedBy_contains?: InputMaybe; + postedBy_not_contains?: InputMaybe; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + content_?: InputMaybe; + contentSchema?: InputMaybe; + contentSchema_not?: InputMaybe; + contentSchema_gt?: InputMaybe; + contentSchema_lt?: InputMaybe; + contentSchema_gte?: InputMaybe; + contentSchema_lte?: InputMaybe; + contentSchema_in?: InputMaybe>; + contentSchema_not_in?: InputMaybe>; + postDecorator?: InputMaybe; + postDecorator_not?: InputMaybe; + postDecorator_gt?: InputMaybe; + postDecorator_lt?: InputMaybe; + postDecorator_gte?: InputMaybe; + postDecorator_lte?: InputMaybe; + postDecorator_in?: InputMaybe>; + postDecorator_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "raw_events" */ -export type raw_events_select_column = - /** column name */ - | 'block_hash' - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'event_id' - /** column name */ - | 'event_type' - /** column name */ - | 'log_index' - /** column name */ - | 'params' - /** column name */ - | 'src_address' - /** column name */ - | 'transaction_hash' - /** column name */ - | 'transaction_index'; - -/** Streaming cursor of the table "raw_events" */ -export type raw_events_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: raw_events_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; +export type Update_orderBy = + | 'id' + | 'scope' + | 'posterRole' + | 'entityAddress' + | 'postedBy' + | 'content' + | 'content__id' + | 'content__protocol' + | 'content__pointer' + | 'contentSchema' + | 'postDecorator' + | 'timestamp'; -/** Initial value of the column from where the streaming should start */ -export type raw_events_stream_cursor_value_input = { - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; +export type _Block_ = { + /** The hash of the block */ + hash?: Maybe; + /** The block number */ + number: Scalars['Int']; + /** Integer representation of the timestamp stored in blocks for the chain */ + timestamp?: Maybe; + /** The hash of the parent block */ + parentHash?: Maybe; }; -/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ -export type timestamp_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; +/** The type for the top-level _meta field */ +export type _Meta_ = { + /** + * Information about a specific subgraph block. The hash of the block + * will be null if the _meta field has a block constraint that asks for + * a block number. It will be filled if the _meta field has no block constraint + * and therefore asks for the latest block + * + */ + block: _Block_; + /** The deployment ID */ + deployment: Scalars['String']; + /** If `true`, the subgraph encountered indexing errors at some past block */ + hasIndexingErrors: Scalars['Boolean']; }; -/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ -export type timestamptz_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; +export type _SubgraphErrorPolicy_ = + /** Data will be returned even if the subgraph has indexing errors */ + | 'allow' + /** If the subgraph has indexing errors, data will be omitted. The default. */ + | 'deny'; export type WithIndex = TObject & Record; export type ResolversObject = WithIndex; @@ -7172,80 +7277,7 @@ export type DirectiveResolverFn; Subscription: ResolverTypeWrapper<{}>; - Aggregation_interval: Aggregation_interval; - ApplicationHistory: ResolverTypeWrapper; - ApplicationHistory_filter: ApplicationHistory_filter; - ApplicationHistory_orderBy: ApplicationHistory_orderBy; - BigDecimal: ResolverTypeWrapper; - BigInt: ResolverTypeWrapper; - BlockChangedFilter: BlockChangedFilter; - Block_height: Block_height; Boolean: ResolverTypeWrapper; - Bytes: ResolverTypeWrapper; - FeedItem: ResolverTypeWrapper; - FeedItemEmbed: ResolverTypeWrapper; - FeedItemEmbed_filter: FeedItemEmbed_filter; - FeedItemEmbed_orderBy: FeedItemEmbed_orderBy; - FeedItemEntity: ResolverTypeWrapper; - FeedItemEntity_filter: FeedItemEntity_filter; - FeedItemEntity_orderBy: FeedItemEntity_orderBy; - FeedItem_filter: FeedItem_filter; - FeedItem_orderBy: FeedItem_orderBy; - Float: ResolverTypeWrapper; - GameManager: ResolverTypeWrapper; - GameManager_filter: GameManager_filter; - GameManager_orderBy: GameManager_orderBy; - GameRound: ResolverTypeWrapper; - GameRound_filter: GameRound_filter; - GameRound_orderBy: GameRound_orderBy; - GmDeployment: ResolverTypeWrapper; - GmDeployment_filter: GmDeployment_filter; - GmDeployment_orderBy: GmDeployment_orderBy; - GmVersion: ResolverTypeWrapper; - GmVersion_filter: GmVersion_filter; - GmVersion_orderBy: GmVersion_orderBy; - Grant: ResolverTypeWrapper; - GrantShip: ResolverTypeWrapper; - GrantShip_filter: GrantShip_filter; - GrantShip_orderBy: GrantShip_orderBy; - Grant_filter: Grant_filter; - Grant_orderBy: Grant_orderBy; - ID: ResolverTypeWrapper; - Int: ResolverTypeWrapper; - Int8: ResolverTypeWrapper; - Log: ResolverTypeWrapper; - Log_filter: Log_filter; - Log_orderBy: Log_orderBy; - Milestone: ResolverTypeWrapper; - Milestone_filter: Milestone_filter; - Milestone_orderBy: Milestone_orderBy; - OrderDirection: OrderDirection; - PoolIdLookup: ResolverTypeWrapper; - PoolIdLookup_filter: PoolIdLookup_filter; - PoolIdLookup_orderBy: PoolIdLookup_orderBy; - ProfileIdToAnchor: ResolverTypeWrapper; - ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; - ProfileIdToAnchor_orderBy: ProfileIdToAnchor_orderBy; - ProfileMemberGroup: ResolverTypeWrapper; - ProfileMemberGroup_filter: ProfileMemberGroup_filter; - ProfileMemberGroup_orderBy: ProfileMemberGroup_orderBy; - Project: ResolverTypeWrapper; - Project_filter: Project_filter; - Project_orderBy: Project_orderBy; - RawMetadata: ResolverTypeWrapper; - RawMetadata_filter: RawMetadata_filter; - RawMetadata_orderBy: RawMetadata_orderBy; - String: ResolverTypeWrapper; - Timestamp: ResolverTypeWrapper; - Transaction: ResolverTypeWrapper; - Transaction_filter: Transaction_filter; - Transaction_orderBy: Transaction_orderBy; - Update: ResolverTypeWrapper; - Update_filter: Update_filter; - Update_orderBy: Update_orderBy; - _Block_: ResolverTypeWrapper<_Block_>; - _Meta_: ResolverTypeWrapper<_Meta_>; - _SubgraphErrorPolicy_: _SubgraphErrorPolicy_; Boolean_comparison_exp: Boolean_comparison_exp; Contest: ResolverTypeWrapper; ContestClone: ResolverTypeWrapper; @@ -7300,6 +7332,12 @@ export type ResolversTypes = ResolversObject<{ FactoryEventsSummary_select_column: FactoryEventsSummary_select_column; FactoryEventsSummary_stream_cursor_input: FactoryEventsSummary_stream_cursor_input; FactoryEventsSummary_stream_cursor_value_input: FactoryEventsSummary_stream_cursor_value_input; + GSVoter: ResolverTypeWrapper; + GSVoter_bool_exp: GSVoter_bool_exp; + GSVoter_order_by: GSVoter_order_by; + GSVoter_select_column: GSVoter_select_column; + GSVoter_stream_cursor_input: GSVoter_stream_cursor_input; + GSVoter_stream_cursor_value_input: GSVoter_stream_cursor_value_input; GrantShipsVoting: ResolverTypeWrapper; GrantShipsVoting_bool_exp: GrantShipsVoting_bool_exp; GrantShipsVoting_order_by: GrantShipsVoting_order_by; @@ -7318,6 +7356,7 @@ export type ResolversTypes = ResolversObject<{ HatsPoster_select_column: HatsPoster_select_column; HatsPoster_stream_cursor_input: HatsPoster_stream_cursor_input; HatsPoster_stream_cursor_value_input: HatsPoster_stream_cursor_value_input; + Int: ResolverTypeWrapper; Int_comparison_exp: Int_comparison_exp; LocalLog: ResolverTypeWrapper; LocalLog_bool_exp: LocalLog_bool_exp; @@ -7388,7 +7427,7 @@ export type ResolversTypes = ResolversObject<{ StemModule_select_column: StemModule_select_column; StemModule_stream_cursor_input: StemModule_stream_cursor_input; StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; - String_array_comparison_exp: String_array_comparison_exp; + String: ResolverTypeWrapper; String_comparison_exp: String_comparison_exp; TVParams: ResolverTypeWrapper; TVParams_bool_exp: TVParams_bool_exp; @@ -7396,6 +7435,10 @@ export type ResolversTypes = ResolversObject<{ TVParams_select_column: TVParams_select_column; TVParams_stream_cursor_input: TVParams_stream_cursor_input; TVParams_stream_cursor_value_input: TVParams_stream_cursor_value_input; + _numeric: ResolverTypeWrapper; + _numeric_comparison_exp: _numeric_comparison_exp; + _text: ResolverTypeWrapper; + _text_comparison_exp: _text_comparison_exp; chain_metadata: ResolverTypeWrapper; chain_metadata_bool_exp: chain_metadata_bool_exp; chain_metadata_order_by: chain_metadata_order_by; @@ -7448,7 +7491,6 @@ export type ResolversTypes = ResolversObject<{ json: ResolverTypeWrapper; json_comparison_exp: json_comparison_exp; numeric: ResolverTypeWrapper; - numeric_array_comparison_exp: numeric_array_comparison_exp; numeric_comparison_exp: numeric_comparison_exp; order_by: order_by; persisted_state: ResolverTypeWrapper; @@ -7467,64 +7509,84 @@ export type ResolversTypes = ResolversObject<{ timestamp_comparison_exp: timestamp_comparison_exp; timestamptz: ResolverTypeWrapper; timestamptz_comparison_exp: timestamptz_comparison_exp; -}>; - -/** Mapping between all available schema types and the resolvers parents */ -export type ResolversParentTypes = ResolversObject<{ - Query: {}; - Subscription: {}; - ApplicationHistory: ApplicationHistory; + Aggregation_interval: Aggregation_interval; + ApplicationHistory: ResolverTypeWrapper; ApplicationHistory_filter: ApplicationHistory_filter; - BigDecimal: Scalars['BigDecimal']; - BigInt: Scalars['BigInt']; + ApplicationHistory_orderBy: ApplicationHistory_orderBy; + BigDecimal: ResolverTypeWrapper; + BigInt: ResolverTypeWrapper; BlockChangedFilter: BlockChangedFilter; Block_height: Block_height; - Boolean: Scalars['Boolean']; - Bytes: Scalars['Bytes']; - FeedItem: FeedItem; - FeedItemEmbed: FeedItemEmbed; + Bytes: ResolverTypeWrapper; + FeedItem: ResolverTypeWrapper; + FeedItemEmbed: ResolverTypeWrapper; FeedItemEmbed_filter: FeedItemEmbed_filter; - FeedItemEntity: FeedItemEntity; + FeedItemEmbed_orderBy: FeedItemEmbed_orderBy; + FeedItemEntity: ResolverTypeWrapper; FeedItemEntity_filter: FeedItemEntity_filter; + FeedItemEntity_orderBy: FeedItemEntity_orderBy; FeedItem_filter: FeedItem_filter; - Float: Scalars['Float']; - GameManager: GameManager; + FeedItem_orderBy: FeedItem_orderBy; + Float: ResolverTypeWrapper; + GameManager: ResolverTypeWrapper; GameManager_filter: GameManager_filter; - GameRound: GameRound; + GameManager_orderBy: GameManager_orderBy; + GameRound: ResolverTypeWrapper; GameRound_filter: GameRound_filter; - GmDeployment: GmDeployment; + GameRound_orderBy: GameRound_orderBy; + GmDeployment: ResolverTypeWrapper; GmDeployment_filter: GmDeployment_filter; - GmVersion: GmVersion; + GmDeployment_orderBy: GmDeployment_orderBy; + GmVersion: ResolverTypeWrapper; GmVersion_filter: GmVersion_filter; - Grant: Grant; - GrantShip: GrantShip; + GmVersion_orderBy: GmVersion_orderBy; + Grant: ResolverTypeWrapper; + GrantShip: ResolverTypeWrapper; GrantShip_filter: GrantShip_filter; + GrantShip_orderBy: GrantShip_orderBy; Grant_filter: Grant_filter; - ID: Scalars['ID']; - Int: Scalars['Int']; - Int8: Scalars['Int8']; - Log: Log; + Grant_orderBy: Grant_orderBy; + ID: ResolverTypeWrapper; + Int8: ResolverTypeWrapper; + Log: ResolverTypeWrapper; Log_filter: Log_filter; - Milestone: Milestone; + Log_orderBy: Log_orderBy; + Milestone: ResolverTypeWrapper; Milestone_filter: Milestone_filter; - PoolIdLookup: PoolIdLookup; + Milestone_orderBy: Milestone_orderBy; + OrderDirection: OrderDirection; + PoolIdLookup: ResolverTypeWrapper; PoolIdLookup_filter: PoolIdLookup_filter; - ProfileIdToAnchor: ProfileIdToAnchor; + PoolIdLookup_orderBy: PoolIdLookup_orderBy; + ProfileIdToAnchor: ResolverTypeWrapper; ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; - ProfileMemberGroup: ProfileMemberGroup; + ProfileIdToAnchor_orderBy: ProfileIdToAnchor_orderBy; + ProfileMemberGroup: ResolverTypeWrapper; ProfileMemberGroup_filter: ProfileMemberGroup_filter; - Project: Project; + ProfileMemberGroup_orderBy: ProfileMemberGroup_orderBy; + Project: ResolverTypeWrapper; Project_filter: Project_filter; - RawMetadata: RawMetadata; + Project_orderBy: Project_orderBy; + RawMetadata: ResolverTypeWrapper; RawMetadata_filter: RawMetadata_filter; - String: Scalars['String']; - Timestamp: Scalars['Timestamp']; - Transaction: Transaction; + RawMetadata_orderBy: RawMetadata_orderBy; + Timestamp: ResolverTypeWrapper; + Transaction: ResolverTypeWrapper; Transaction_filter: Transaction_filter; - Update: Update; + Transaction_orderBy: Transaction_orderBy; + Update: ResolverTypeWrapper; Update_filter: Update_filter; - _Block_: _Block_; - _Meta_: _Meta_; + Update_orderBy: Update_orderBy; + _Block_: ResolverTypeWrapper<_Block_>; + _Meta_: ResolverTypeWrapper<_Meta_>; + _SubgraphErrorPolicy_: _SubgraphErrorPolicy_; +}>; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = ResolversObject<{ + Query: {}; + Subscription: {}; + Boolean: Scalars['Boolean']; Boolean_comparison_exp: Boolean_comparison_exp; Contest: Contest; ContestClone: ContestClone; @@ -7572,6 +7634,11 @@ export type ResolversParentTypes = ResolversObject<{ FactoryEventsSummary_order_by: FactoryEventsSummary_order_by; FactoryEventsSummary_stream_cursor_input: FactoryEventsSummary_stream_cursor_input; FactoryEventsSummary_stream_cursor_value_input: FactoryEventsSummary_stream_cursor_value_input; + GSVoter: GSVoter; + GSVoter_bool_exp: GSVoter_bool_exp; + GSVoter_order_by: GSVoter_order_by; + GSVoter_stream_cursor_input: GSVoter_stream_cursor_input; + GSVoter_stream_cursor_value_input: GSVoter_stream_cursor_value_input; GrantShipsVoting: GrantShipsVoting; GrantShipsVoting_bool_exp: GrantShipsVoting_bool_exp; GrantShipsVoting_order_by: GrantShipsVoting_order_by; @@ -7587,6 +7654,7 @@ export type ResolversParentTypes = ResolversObject<{ HatsPoster_order_by: HatsPoster_order_by; HatsPoster_stream_cursor_input: HatsPoster_stream_cursor_input; HatsPoster_stream_cursor_value_input: HatsPoster_stream_cursor_value_input; + Int: Scalars['Int']; Int_comparison_exp: Int_comparison_exp; LocalLog: LocalLog; LocalLog_bool_exp: LocalLog_bool_exp; @@ -7651,13 +7719,17 @@ export type ResolversParentTypes = ResolversObject<{ StemModule_order_by: StemModule_order_by; StemModule_stream_cursor_input: StemModule_stream_cursor_input; StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; - String_array_comparison_exp: String_array_comparison_exp; + String: Scalars['String']; String_comparison_exp: String_comparison_exp; TVParams: TVParams; TVParams_bool_exp: TVParams_bool_exp; TVParams_order_by: TVParams_order_by; TVParams_stream_cursor_input: TVParams_stream_cursor_input; TVParams_stream_cursor_value_input: TVParams_stream_cursor_value_input; + _numeric: Scalars['_numeric']; + _numeric_comparison_exp: _numeric_comparison_exp; + _text: Scalars['_text']; + _text_comparison_exp: _text_comparison_exp; chain_metadata: chain_metadata; chain_metadata_bool_exp: chain_metadata_bool_exp; chain_metadata_order_by: chain_metadata_order_by; @@ -7704,7 +7776,6 @@ export type ResolversParentTypes = ResolversObject<{ json: Scalars['json']; json_comparison_exp: json_comparison_exp; numeric: Scalars['numeric']; - numeric_array_comparison_exp: numeric_array_comparison_exp; numeric_comparison_exp: numeric_comparison_exp; persisted_state: persisted_state; persisted_state_bool_exp: persisted_state_bool_exp; @@ -7720,8 +7791,64 @@ export type ResolversParentTypes = ResolversObject<{ timestamp_comparison_exp: timestamp_comparison_exp; timestamptz: Scalars['timestamptz']; timestamptz_comparison_exp: timestamptz_comparison_exp; + ApplicationHistory: ApplicationHistory; + ApplicationHistory_filter: ApplicationHistory_filter; + BigDecimal: Scalars['BigDecimal']; + BigInt: Scalars['BigInt']; + BlockChangedFilter: BlockChangedFilter; + Block_height: Block_height; + Bytes: Scalars['Bytes']; + FeedItem: FeedItem; + FeedItemEmbed: FeedItemEmbed; + FeedItemEmbed_filter: FeedItemEmbed_filter; + FeedItemEntity: FeedItemEntity; + FeedItemEntity_filter: FeedItemEntity_filter; + FeedItem_filter: FeedItem_filter; + Float: Scalars['Float']; + GameManager: GameManager; + GameManager_filter: GameManager_filter; + GameRound: GameRound; + GameRound_filter: GameRound_filter; + GmDeployment: GmDeployment; + GmDeployment_filter: GmDeployment_filter; + GmVersion: GmVersion; + GmVersion_filter: GmVersion_filter; + Grant: Grant; + GrantShip: GrantShip; + GrantShip_filter: GrantShip_filter; + Grant_filter: Grant_filter; + ID: Scalars['ID']; + Int8: Scalars['Int8']; + Log: Log; + Log_filter: Log_filter; + Milestone: Milestone; + Milestone_filter: Milestone_filter; + PoolIdLookup: PoolIdLookup; + PoolIdLookup_filter: PoolIdLookup_filter; + ProfileIdToAnchor: ProfileIdToAnchor; + ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; + ProfileMemberGroup: ProfileMemberGroup; + ProfileMemberGroup_filter: ProfileMemberGroup_filter; + Project: Project; + Project_filter: Project_filter; + RawMetadata: RawMetadata; + RawMetadata_filter: RawMetadata_filter; + Timestamp: Scalars['Timestamp']; + Transaction: Transaction; + Transaction_filter: Transaction_filter; + Update: Update; + Update_filter: Update_filter; + _Block_: _Block_; + _Meta_: _Meta_; }>; +export type cachedDirectiveArgs = { + ttl?: Scalars['Int']; + refresh?: Scalars['Boolean']; +}; + +export type cachedDirectiveResolver = DirectiveResolverFn; + export type entityDirectiveArgs = { }; export type entityDirectiveResolver = DirectiveResolverFn; @@ -7738,53 +7865,7 @@ export type derivedFromDirectiveArgs = { export type derivedFromDirectiveResolver = DirectiveResolverFn; -export type cachedDirectiveArgs = { - ttl?: Scalars['Int']; - refresh?: Scalars['Boolean']; -}; - -export type cachedDirectiveResolver = DirectiveResolverFn; - export type QueryResolvers = ResolversObject<{ - project?: Resolver, ParentType, ContextType, RequireFields>; - projects?: Resolver, ParentType, ContextType, RequireFields>; - feedItem?: Resolver, ParentType, ContextType, RequireFields>; - feedItems?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEntity?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEntities?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEmbed?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEmbeds?: Resolver, ParentType, ContextType, RequireFields>; - update?: Resolver, ParentType, ContextType, RequireFields>; - updates?: Resolver, ParentType, ContextType, RequireFields>; - grantShip?: Resolver, ParentType, ContextType, RequireFields>; - grantShips?: Resolver, ParentType, ContextType, RequireFields>; - poolIdLookup?: Resolver, ParentType, ContextType, RequireFields>; - poolIdLookups?: Resolver, ParentType, ContextType, RequireFields>; - gameManager?: Resolver, ParentType, ContextType, RequireFields>; - gameManagers?: Resolver, ParentType, ContextType, RequireFields>; - gameRound?: Resolver, ParentType, ContextType, RequireFields>; - gameRounds?: Resolver, ParentType, ContextType, RequireFields>; - applicationHistory?: Resolver, ParentType, ContextType, RequireFields>; - applicationHistories?: Resolver, ParentType, ContextType, RequireFields>; - grant?: Resolver, ParentType, ContextType, RequireFields>; - grants?: Resolver, ParentType, ContextType, RequireFields>; - milestone?: Resolver, ParentType, ContextType, RequireFields>; - milestones?: Resolver, ParentType, ContextType, RequireFields>; - profileIdToAnchor?: Resolver, ParentType, ContextType, RequireFields>; - profileIdToAnchors?: Resolver, ParentType, ContextType, RequireFields>; - profileMemberGroup?: Resolver, ParentType, ContextType, RequireFields>; - profileMemberGroups?: Resolver, ParentType, ContextType, RequireFields>; - transaction?: Resolver, ParentType, ContextType, RequireFields>; - transactions?: Resolver, ParentType, ContextType, RequireFields>; - rawMetadata?: Resolver, ParentType, ContextType, RequireFields>; - rawMetadata_collection?: Resolver, ParentType, ContextType, RequireFields>; - log?: Resolver, ParentType, ContextType, RequireFields>; - logs?: Resolver, ParentType, ContextType, RequireFields>; - gmVersion?: Resolver, ParentType, ContextType, RequireFields>; - gmVersions?: Resolver, ParentType, ContextType, RequireFields>; - gmDeployment?: Resolver, ParentType, ContextType, RequireFields>; - gmDeployments?: Resolver, ParentType, ContextType, RequireFields>; - _meta?: Resolver, ParentType, ContextType, Partial>; Contest?: Resolver, ParentType, ContextType, Partial>; ContestClone?: Resolver, ParentType, ContextType, Partial>; ContestClone_by_pk?: Resolver, ParentType, ContextType, RequireFields>; @@ -7799,6 +7880,8 @@ export type QueryResolvers, ParentType, ContextType, RequireFields>; FactoryEventsSummary?: Resolver, ParentType, ContextType, Partial>; FactoryEventsSummary_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + GSVoter?: Resolver, ParentType, ContextType, Partial>; + GSVoter_by_pk?: Resolver, ParentType, ContextType, RequireFields>; GrantShipsVoting?: Resolver, ParentType, ContextType, Partial>; GrantShipsVoting_by_pk?: Resolver, ParentType, ContextType, RequireFields>; HALParams?: Resolver, ParentType, ContextType, Partial>; @@ -7834,48 +7917,48 @@ export type QueryResolvers, ParentType, ContextType, RequireFields>; raw_events?: Resolver, ParentType, ContextType, Partial>; raw_events_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + project?: Resolver, ParentType, ContextType, RequireFields>; + projects?: Resolver, ParentType, ContextType, RequireFields>; + feedItem?: Resolver, ParentType, ContextType, RequireFields>; + feedItems?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEntity?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEntities?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEmbed?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEmbeds?: Resolver, ParentType, ContextType, RequireFields>; + update?: Resolver, ParentType, ContextType, RequireFields>; + updates?: Resolver, ParentType, ContextType, RequireFields>; + grantShip?: Resolver, ParentType, ContextType, RequireFields>; + grantShips?: Resolver, ParentType, ContextType, RequireFields>; + poolIdLookup?: Resolver, ParentType, ContextType, RequireFields>; + poolIdLookups?: Resolver, ParentType, ContextType, RequireFields>; + gameManager?: Resolver, ParentType, ContextType, RequireFields>; + gameManagers?: Resolver, ParentType, ContextType, RequireFields>; + gameRound?: Resolver, ParentType, ContextType, RequireFields>; + gameRounds?: Resolver, ParentType, ContextType, RequireFields>; + applicationHistory?: Resolver, ParentType, ContextType, RequireFields>; + applicationHistories?: Resolver, ParentType, ContextType, RequireFields>; + grant?: Resolver, ParentType, ContextType, RequireFields>; + grants?: Resolver, ParentType, ContextType, RequireFields>; + milestone?: Resolver, ParentType, ContextType, RequireFields>; + milestones?: Resolver, ParentType, ContextType, RequireFields>; + profileIdToAnchor?: Resolver, ParentType, ContextType, RequireFields>; + profileIdToAnchors?: Resolver, ParentType, ContextType, RequireFields>; + profileMemberGroup?: Resolver, ParentType, ContextType, RequireFields>; + profileMemberGroups?: Resolver, ParentType, ContextType, RequireFields>; + transaction?: Resolver, ParentType, ContextType, RequireFields>; + transactions?: Resolver, ParentType, ContextType, RequireFields>; + rawMetadata?: Resolver, ParentType, ContextType, RequireFields>; + rawMetadata_collection?: Resolver, ParentType, ContextType, RequireFields>; + log?: Resolver, ParentType, ContextType, RequireFields>; + logs?: Resolver, ParentType, ContextType, RequireFields>; + gmVersion?: Resolver, ParentType, ContextType, RequireFields>; + gmVersions?: Resolver, ParentType, ContextType, RequireFields>; + gmDeployment?: Resolver, ParentType, ContextType, RequireFields>; + gmDeployments?: Resolver, ParentType, ContextType, RequireFields>; + _meta?: Resolver, ParentType, ContextType, Partial>; }>; export type SubscriptionResolvers = ResolversObject<{ - project?: SubscriptionResolver, "project", ParentType, ContextType, RequireFields>; - projects?: SubscriptionResolver, "projects", ParentType, ContextType, RequireFields>; - feedItem?: SubscriptionResolver, "feedItem", ParentType, ContextType, RequireFields>; - feedItems?: SubscriptionResolver, "feedItems", ParentType, ContextType, RequireFields>; - feedItemEntity?: SubscriptionResolver, "feedItemEntity", ParentType, ContextType, RequireFields>; - feedItemEntities?: SubscriptionResolver, "feedItemEntities", ParentType, ContextType, RequireFields>; - feedItemEmbed?: SubscriptionResolver, "feedItemEmbed", ParentType, ContextType, RequireFields>; - feedItemEmbeds?: SubscriptionResolver, "feedItemEmbeds", ParentType, ContextType, RequireFields>; - update?: SubscriptionResolver, "update", ParentType, ContextType, RequireFields>; - updates?: SubscriptionResolver, "updates", ParentType, ContextType, RequireFields>; - grantShip?: SubscriptionResolver, "grantShip", ParentType, ContextType, RequireFields>; - grantShips?: SubscriptionResolver, "grantShips", ParentType, ContextType, RequireFields>; - poolIdLookup?: SubscriptionResolver, "poolIdLookup", ParentType, ContextType, RequireFields>; - poolIdLookups?: SubscriptionResolver, "poolIdLookups", ParentType, ContextType, RequireFields>; - gameManager?: SubscriptionResolver, "gameManager", ParentType, ContextType, RequireFields>; - gameManagers?: SubscriptionResolver, "gameManagers", ParentType, ContextType, RequireFields>; - gameRound?: SubscriptionResolver, "gameRound", ParentType, ContextType, RequireFields>; - gameRounds?: SubscriptionResolver, "gameRounds", ParentType, ContextType, RequireFields>; - applicationHistory?: SubscriptionResolver, "applicationHistory", ParentType, ContextType, RequireFields>; - applicationHistories?: SubscriptionResolver, "applicationHistories", ParentType, ContextType, RequireFields>; - grant?: SubscriptionResolver, "grant", ParentType, ContextType, RequireFields>; - grants?: SubscriptionResolver, "grants", ParentType, ContextType, RequireFields>; - milestone?: SubscriptionResolver, "milestone", ParentType, ContextType, RequireFields>; - milestones?: SubscriptionResolver, "milestones", ParentType, ContextType, RequireFields>; - profileIdToAnchor?: SubscriptionResolver, "profileIdToAnchor", ParentType, ContextType, RequireFields>; - profileIdToAnchors?: SubscriptionResolver, "profileIdToAnchors", ParentType, ContextType, RequireFields>; - profileMemberGroup?: SubscriptionResolver, "profileMemberGroup", ParentType, ContextType, RequireFields>; - profileMemberGroups?: SubscriptionResolver, "profileMemberGroups", ParentType, ContextType, RequireFields>; - transaction?: SubscriptionResolver, "transaction", ParentType, ContextType, RequireFields>; - transactions?: SubscriptionResolver, "transactions", ParentType, ContextType, RequireFields>; - rawMetadata?: SubscriptionResolver, "rawMetadata", ParentType, ContextType, RequireFields>; - rawMetadata_collection?: SubscriptionResolver, "rawMetadata_collection", ParentType, ContextType, RequireFields>; - log?: SubscriptionResolver, "log", ParentType, ContextType, RequireFields>; - logs?: SubscriptionResolver, "logs", ParentType, ContextType, RequireFields>; - gmVersion?: SubscriptionResolver, "gmVersion", ParentType, ContextType, RequireFields>; - gmVersions?: SubscriptionResolver, "gmVersions", ParentType, ContextType, RequireFields>; - gmDeployment?: SubscriptionResolver, "gmDeployment", ParentType, ContextType, RequireFields>; - gmDeployments?: SubscriptionResolver, "gmDeployments", ParentType, ContextType, RequireFields>; - _meta?: SubscriptionResolver, "_meta", ParentType, ContextType, Partial>; Contest?: SubscriptionResolver, "Contest", ParentType, ContextType, Partial>; ContestClone?: SubscriptionResolver, "ContestClone", ParentType, ContextType, Partial>; ContestClone_by_pk?: SubscriptionResolver, "ContestClone_by_pk", ParentType, ContextType, RequireFields>; @@ -7897,6 +7980,9 @@ export type SubscriptionResolvers, "FactoryEventsSummary", ParentType, ContextType, Partial>; FactoryEventsSummary_by_pk?: SubscriptionResolver, "FactoryEventsSummary_by_pk", ParentType, ContextType, RequireFields>; FactoryEventsSummary_stream?: SubscriptionResolver, "FactoryEventsSummary_stream", ParentType, ContextType, RequireFields>; + GSVoter?: SubscriptionResolver, "GSVoter", ParentType, ContextType, Partial>; + GSVoter_by_pk?: SubscriptionResolver, "GSVoter_by_pk", ParentType, ContextType, RequireFields>; + GSVoter_stream?: SubscriptionResolver, "GSVoter_stream", ParentType, ContextType, RequireFields>; GrantShipsVoting?: SubscriptionResolver, "GrantShipsVoting", ParentType, ContextType, Partial>; GrantShipsVoting_by_pk?: SubscriptionResolver, "GrantShipsVoting_by_pk", ParentType, ContextType, RequireFields>; GrantShipsVoting_stream?: SubscriptionResolver, "GrantShipsVoting_stream", ParentType, ContextType, RequireFields>; @@ -7944,634 +8030,664 @@ export type SubscriptionResolvers, "event_sync_state_stream", ParentType, ContextType, RequireFields>; get_entity_history_filter?: SubscriptionResolver, "get_entity_history_filter", ParentType, ContextType, RequireFields>; persisted_state?: SubscriptionResolver, "persisted_state", ParentType, ContextType, Partial>; - persisted_state_by_pk?: SubscriptionResolver, "persisted_state_by_pk", ParentType, ContextType, RequireFields>; - persisted_state_stream?: SubscriptionResolver, "persisted_state_stream", ParentType, ContextType, RequireFields>; - raw_events?: SubscriptionResolver, "raw_events", ParentType, ContextType, Partial>; - raw_events_by_pk?: SubscriptionResolver, "raw_events_by_pk", ParentType, ContextType, RequireFields>; - raw_events_stream?: SubscriptionResolver, "raw_events_stream", ParentType, ContextType, RequireFields>; -}>; - -export type ApplicationHistoryResolvers = ResolversObject<{ - id?: Resolver; - grantApplicationBytes?: Resolver; - applicationSubmitted?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; + persisted_state_by_pk?: SubscriptionResolver, "persisted_state_by_pk", ParentType, ContextType, RequireFields>; + persisted_state_stream?: SubscriptionResolver, "persisted_state_stream", ParentType, ContextType, RequireFields>; + raw_events?: SubscriptionResolver, "raw_events", ParentType, ContextType, Partial>; + raw_events_by_pk?: SubscriptionResolver, "raw_events_by_pk", ParentType, ContextType, RequireFields>; + raw_events_stream?: SubscriptionResolver, "raw_events_stream", ParentType, ContextType, RequireFields>; + project?: SubscriptionResolver, "project", ParentType, ContextType, RequireFields>; + projects?: SubscriptionResolver, "projects", ParentType, ContextType, RequireFields>; + feedItem?: SubscriptionResolver, "feedItem", ParentType, ContextType, RequireFields>; + feedItems?: SubscriptionResolver, "feedItems", ParentType, ContextType, RequireFields>; + feedItemEntity?: SubscriptionResolver, "feedItemEntity", ParentType, ContextType, RequireFields>; + feedItemEntities?: SubscriptionResolver, "feedItemEntities", ParentType, ContextType, RequireFields>; + feedItemEmbed?: SubscriptionResolver, "feedItemEmbed", ParentType, ContextType, RequireFields>; + feedItemEmbeds?: SubscriptionResolver, "feedItemEmbeds", ParentType, ContextType, RequireFields>; + update?: SubscriptionResolver, "update", ParentType, ContextType, RequireFields>; + updates?: SubscriptionResolver, "updates", ParentType, ContextType, RequireFields>; + grantShip?: SubscriptionResolver, "grantShip", ParentType, ContextType, RequireFields>; + grantShips?: SubscriptionResolver, "grantShips", ParentType, ContextType, RequireFields>; + poolIdLookup?: SubscriptionResolver, "poolIdLookup", ParentType, ContextType, RequireFields>; + poolIdLookups?: SubscriptionResolver, "poolIdLookups", ParentType, ContextType, RequireFields>; + gameManager?: SubscriptionResolver, "gameManager", ParentType, ContextType, RequireFields>; + gameManagers?: SubscriptionResolver, "gameManagers", ParentType, ContextType, RequireFields>; + gameRound?: SubscriptionResolver, "gameRound", ParentType, ContextType, RequireFields>; + gameRounds?: SubscriptionResolver, "gameRounds", ParentType, ContextType, RequireFields>; + applicationHistory?: SubscriptionResolver, "applicationHistory", ParentType, ContextType, RequireFields>; + applicationHistories?: SubscriptionResolver, "applicationHistories", ParentType, ContextType, RequireFields>; + grant?: SubscriptionResolver, "grant", ParentType, ContextType, RequireFields>; + grants?: SubscriptionResolver, "grants", ParentType, ContextType, RequireFields>; + milestone?: SubscriptionResolver, "milestone", ParentType, ContextType, RequireFields>; + milestones?: SubscriptionResolver, "milestones", ParentType, ContextType, RequireFields>; + profileIdToAnchor?: SubscriptionResolver, "profileIdToAnchor", ParentType, ContextType, RequireFields>; + profileIdToAnchors?: SubscriptionResolver, "profileIdToAnchors", ParentType, ContextType, RequireFields>; + profileMemberGroup?: SubscriptionResolver, "profileMemberGroup", ParentType, ContextType, RequireFields>; + profileMemberGroups?: SubscriptionResolver, "profileMemberGroups", ParentType, ContextType, RequireFields>; + transaction?: SubscriptionResolver, "transaction", ParentType, ContextType, RequireFields>; + transactions?: SubscriptionResolver, "transactions", ParentType, ContextType, RequireFields>; + rawMetadata?: SubscriptionResolver, "rawMetadata", ParentType, ContextType, RequireFields>; + rawMetadata_collection?: SubscriptionResolver, "rawMetadata_collection", ParentType, ContextType, RequireFields>; + log?: SubscriptionResolver, "log", ParentType, ContextType, RequireFields>; + logs?: SubscriptionResolver, "logs", ParentType, ContextType, RequireFields>; + gmVersion?: SubscriptionResolver, "gmVersion", ParentType, ContextType, RequireFields>; + gmVersions?: SubscriptionResolver, "gmVersions", ParentType, ContextType, RequireFields>; + gmDeployment?: SubscriptionResolver, "gmDeployment", ParentType, ContextType, RequireFields>; + gmDeployments?: SubscriptionResolver, "gmDeployments", ParentType, ContextType, RequireFields>; + _meta?: SubscriptionResolver, "_meta", ParentType, ContextType, Partial>; }>; -export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigDecimal'; -} - -export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigInt'; -} - -export interface BytesScalarConfig extends GraphQLScalarTypeConfig { - name: 'Bytes'; -} - -export type FeedItemResolvers = ResolversObject<{ - id?: Resolver; - timestamp?: Resolver, ParentType, ContextType>; - content?: Resolver; - sender?: Resolver; - tag?: Resolver; - subjectMetadataPointer?: Resolver; - subjectId?: Resolver; - objectId?: Resolver, ParentType, ContextType>; - subject?: Resolver; - object?: Resolver, ParentType, ContextType>; - embed?: Resolver, ParentType, ContextType>; - details?: Resolver, ParentType, ContextType>; +export type ContestResolvers = ResolversObject<{ + choicesModule?: Resolver, ParentType, ContextType>; + choicesModule_id?: Resolver; + contestAddress?: Resolver; + contestStatus?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + executionModule?: Resolver, ParentType, ContextType>; + executionModule_id?: Resolver; + filterTag?: Resolver; + id?: Resolver; + isContinuous?: Resolver; + isRetractable?: Resolver; + pointsModule?: Resolver, ParentType, ContextType>; + pointsModule_id?: Resolver; + votesModule?: Resolver, ParentType, ContextType>; + votesModule_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FeedItemEmbedResolvers = ResolversObject<{ - id?: Resolver; - key?: Resolver, ParentType, ContextType>; - pointer?: Resolver, ParentType, ContextType>; - protocol?: Resolver, ParentType, ContextType>; - content?: Resolver, ParentType, ContextType>; +export type ContestCloneResolvers = ResolversObject<{ + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FeedItemEntityResolvers = ResolversObject<{ - id?: Resolver; - name?: Resolver; - type?: Resolver; +export type ContestTemplateResolvers = ResolversObject<{ + active?: Resolver; + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GameManagerResolvers = ResolversObject<{ - id?: Resolver; - poolId?: Resolver; - gameFacilitatorId?: Resolver; - rootAccount?: Resolver; - tokenAddress?: Resolver; - currentRoundId?: Resolver; - currentRound?: Resolver, ParentType, ContextType>; - poolFunds?: Resolver; +export type ERCPointParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteTokenAddress?: Resolver; + votingCheckpoint?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GameRoundResolvers = ResolversObject<{ - id?: Resolver; - startTime?: Resolver; - endTime?: Resolver; - totalRoundAmount?: Resolver; - totalAllocatedAmount?: Resolver; - totalDistributedAmount?: Resolver; - gameStatus?: Resolver; - ships?: Resolver, ParentType, ContextType, RequireFields>; - isGameActive?: Resolver; - realStartTime?: Resolver, ParentType, ContextType>; - realEndTime?: Resolver, ParentType, ContextType>; +export type EnvioTXResolvers = ResolversObject<{ + blockNumber?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + srcAddress?: Resolver; + txHash?: Resolver; + txOrigin?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GmDeploymentResolvers = ResolversObject<{ - id?: Resolver; - address?: Resolver; - version?: Resolver; - blockNumber?: Resolver; - transactionHash?: Resolver; - timestamp?: Resolver; - hasPool?: Resolver; - poolId?: Resolver, ParentType, ContextType>; - profileId?: Resolver; - poolMetadata?: Resolver; - poolProfileMetadata?: Resolver; +export type EventPostResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsPoster?: Resolver, ParentType, ContextType>; + hatsPoster_id?: Resolver; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + tag?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GmVersionResolvers = ResolversObject<{ - id?: Resolver; - name?: Resolver; - address?: Resolver; +export type FactoryEventsSummaryResolvers = ResolversObject<{ + address?: Resolver; + admins?: Resolver; + contestBuiltCount?: Resolver; + contestCloneCount?: Resolver; + contestTemplateCount?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + moduleCloneCount?: Resolver; + moduleTemplateCount?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantResolvers = ResolversObject<{ - id?: Resolver; - projectId?: Resolver; - shipId?: Resolver; - lastUpdated?: Resolver; - hasResubmitted?: Resolver; - grantStatus?: Resolver; - grantApplicationBytes?: Resolver; - applicationSubmitted?: Resolver; - currentMilestoneIndex?: Resolver; - milestonesAmount?: Resolver; - milestones?: Resolver>, ParentType, ContextType, RequireFields>; - shipApprovalReason?: Resolver, ParentType, ContextType>; - hasShipApproved?: Resolver, ParentType, ContextType>; - amtAllocated?: Resolver; - amtDistributed?: Resolver; - allocatedBy?: Resolver, ParentType, ContextType>; - facilitatorReason?: Resolver, ParentType, ContextType>; - hasFacilitatorApproved?: Resolver, ParentType, ContextType>; - milestonesApproved?: Resolver, ParentType, ContextType>; - milestonesApprovedReason?: Resolver, ParentType, ContextType>; - currentMilestoneRejectedReason?: Resolver, ParentType, ContextType>; - resubmitHistory?: Resolver, ParentType, ContextType, RequireFields>; +export type GSVoterResolvers = ResolversObject<{ + address?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantShipResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - nonce?: Resolver; - name?: Resolver; - profileMetadata?: Resolver; - owner?: Resolver; - anchor?: Resolver; - blockNumber?: Resolver; - blockTimestamp?: Resolver; - transactionHash?: Resolver; - status?: Resolver; - poolFunded?: Resolver; - balance?: Resolver; - shipAllocation?: Resolver; - totalAvailableFunds?: Resolver; - totalRoundAmount?: Resolver; - totalAllocated?: Resolver; - totalDistributed?: Resolver; - grants?: Resolver, ParentType, ContextType, RequireFields>; - alloProfileMembers?: Resolver, ParentType, ContextType>; - shipApplicationBytesData?: Resolver, ParentType, ContextType>; - applicationSubmittedTime?: Resolver, ParentType, ContextType>; - isAwaitingApproval?: Resolver, ParentType, ContextType>; - hasSubmittedApplication?: Resolver, ParentType, ContextType>; - isApproved?: Resolver, ParentType, ContextType>; - approvedTime?: Resolver, ParentType, ContextType>; - isRejected?: Resolver, ParentType, ContextType>; - rejectedTime?: Resolver, ParentType, ContextType>; - applicationReviewReason?: Resolver, ParentType, ContextType>; - poolId?: Resolver, ParentType, ContextType>; - hatId?: Resolver, ParentType, ContextType>; - shipContractAddress?: Resolver, ParentType, ContextType>; - shipLaunched?: Resolver, ParentType, ContextType>; - poolActive?: Resolver, ParentType, ContextType>; - isAllocated?: Resolver, ParentType, ContextType>; - isDistributed?: Resolver, ParentType, ContextType>; +export type GrantShipsVotingResolvers = ResolversObject<{ + choices?: Resolver, ParentType, ContextType, Partial>; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + endTime?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; + isVotingActive?: Resolver; + startTime?: Resolver, ParentType, ContextType>; + totalVotes?: Resolver; + voteDuration?: Resolver; + voteTokenAddress?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; + votingCheckpoint?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface Int8ScalarConfig extends GraphQLScalarTypeConfig { - name: 'Int8'; -} - -export type LogResolvers = ResolversObject<{ - id?: Resolver; - message?: Resolver; - description?: Resolver, ParentType, ContextType>; - type?: Resolver, ParentType, ContextType>; +export type HALParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type MilestoneResolvers = ResolversObject<{ - id?: Resolver; - amountPercentage?: Resolver; - mmetadata?: Resolver; - amount?: Resolver; - status?: Resolver; - lastUpdated?: Resolver; +export type HatsPosterResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + eventPosts?: Resolver, ParentType, ContextType, Partial>; + hatIds?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; + record?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type PoolIdLookupResolvers = ResolversObject<{ - id?: Resolver; - entityId?: Resolver; +export type LocalLogResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + message?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProfileIdToAnchorResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - anchor?: Resolver; +export type ModuleTemplateResolvers = ResolversObject<{ + active?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + moduleName?: Resolver; + templateAddress?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProfileMemberGroupResolvers = ResolversObject<{ - id?: Resolver; - addresses?: Resolver>, ParentType, ContextType>; +export type RecordResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsPoster?: Resolver, ParentType, ContextType>; + hatsPoster_id?: Resolver; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + nonce?: Resolver; + tag?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProjectResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - status?: Resolver; - nonce?: Resolver; - name?: Resolver; - metadata?: Resolver; - owner?: Resolver; - anchor?: Resolver; - blockNumber?: Resolver; - blockTimestamp?: Resolver; - transactionHash?: Resolver; - grants?: Resolver, ParentType, ContextType, RequireFields>; - members?: Resolver, ParentType, ContextType>; - totalAmountReceived?: Resolver; +export type ShipChoiceResolvers = ResolversObject<{ + active?: Resolver; + choiceData?: Resolver; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voteTally?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type RawMetadataResolvers = ResolversObject<{ +export type ShipVoteResolvers = ResolversObject<{ + amount?: Resolver; + choice?: Resolver, ParentType, ContextType>; + choice_id?: Resolver; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; id?: Resolver; - protocol?: Resolver; - pointer?: Resolver; + isRetractVote?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voter?: Resolver, ParentType, ContextType>; + voter_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { - name: 'Timestamp'; -} +export type StemModuleResolvers = ResolversObject<{ + contest?: Resolver, ParentType, ContextType>; + contestAddress?: Resolver, ParentType, ContextType>; + contest_id?: Resolver, ParentType, ContextType>; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; + moduleAddress?: Resolver; + moduleName?: Resolver; + moduleTemplate?: Resolver, ParentType, ContextType>; + moduleTemplate_id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; -export type TransactionResolvers = ResolversObject<{ - id?: Resolver; - blockNumber?: Resolver; - sender?: Resolver; - txHash?: Resolver; +export type TVParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteDuration?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type UpdateResolvers = ResolversObject<{ - id?: Resolver; - scope?: Resolver; - posterRole?: Resolver; - entityAddress?: Resolver; - postedBy?: Resolver; - content?: Resolver; - contentSchema?: Resolver; - postDecorator?: Resolver; - timestamp?: Resolver; +export interface _numericScalarConfig extends GraphQLScalarTypeConfig { + name: '_numeric'; +} + +export interface _textScalarConfig extends GraphQLScalarTypeConfig { + name: '_text'; +} + +export type chain_metadataResolvers = ResolversObject<{ + block_height?: Resolver; + chain_id?: Resolver; + end_block?: Resolver, ParentType, ContextType>; + first_event_block_number?: Resolver, ParentType, ContextType>; + is_hyper_sync?: Resolver; + latest_fetched_block_number?: Resolver; + latest_processed_block?: Resolver, ParentType, ContextType>; + num_batches_fetched?: Resolver; + num_events_processed?: Resolver, ParentType, ContextType>; + start_block?: Resolver; + timestamp_caught_up_to_head_or_endblock?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type _Block_Resolvers = ResolversObject<{ - hash?: Resolver, ParentType, ContextType>; - number?: Resolver; - timestamp?: Resolver, ParentType, ContextType>; - parentHash?: Resolver, ParentType, ContextType>; +export interface contract_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'contract_type'; +} + +export type dynamic_contract_registryResolvers = ResolversObject<{ + block_timestamp?: Resolver; + chain_id?: Resolver; + contract_address?: Resolver; + contract_type?: Resolver; + event_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type _Meta_Resolvers = ResolversObject<{ - block?: Resolver; - deployment?: Resolver; - hasIndexingErrors?: Resolver; +export type entity_historyResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + entity_id?: Resolver; + entity_type?: Resolver; + event?: Resolver, ParentType, ContextType>; + log_index?: Resolver; + params?: Resolver, ParentType, ContextType, Partial>; + previous_block_number?: Resolver, ParentType, ContextType>; + previous_block_timestamp?: Resolver, ParentType, ContextType>; + previous_chain_id?: Resolver, ParentType, ContextType>; + previous_log_index?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ContestResolvers = ResolversObject<{ - choicesModule?: Resolver, ParentType, ContextType>; - choicesModule_id?: Resolver; - contestAddress?: Resolver; - contestStatus?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - executionModule?: Resolver, ParentType, ContextType>; - executionModule_id?: Resolver; - filterTag?: Resolver; - id?: Resolver; - isContinuous?: Resolver; - isRetractable?: Resolver; - pointsModule?: Resolver, ParentType, ContextType>; - pointsModule_id?: Resolver; - votesModule?: Resolver, ParentType, ContextType>; - votesModule_id?: Resolver; +export type entity_history_filterResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + entity_id?: Resolver; + entity_type?: Resolver; + event?: Resolver, ParentType, ContextType>; + log_index?: Resolver; + new_val?: Resolver, ParentType, ContextType, Partial>; + old_val?: Resolver, ParentType, ContextType, Partial>; + previous_block_number?: Resolver; + previous_log_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ContestCloneResolvers = ResolversObject<{ - contestAddress?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - filterTag?: Resolver; - id?: Resolver; +export interface entity_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'entity_type'; +} + +export type event_sync_stateResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + log_index?: Resolver; + transaction_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ContestTemplateResolvers = ResolversObject<{ - active?: Resolver; - contestAddress?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; +export interface event_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'event_type'; +} + +export interface jsonScalarConfig extends GraphQLScalarTypeConfig { + name: 'json'; +} + +export interface numericScalarConfig extends GraphQLScalarTypeConfig { + name: 'numeric'; +} + +export type persisted_stateResolvers = ResolversObject<{ + abi_files_hash?: Resolver; + config_hash?: Resolver; + envio_version?: Resolver; + handler_files_hash?: Resolver; + id?: Resolver; + schema_hash?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ERCPointParamsResolvers = ResolversObject<{ +export type raw_eventsResolvers = ResolversObject<{ + block_hash?: Resolver; + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - voteTokenAddress?: Resolver; - votingCheckpoint?: Resolver; + event_history?: Resolver, ParentType, ContextType, Partial>; + event_id?: Resolver; + event_type?: Resolver; + log_index?: Resolver; + params?: Resolver>; + src_address?: Resolver; + transaction_hash?: Resolver; + transaction_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type EnvioTXResolvers = ResolversObject<{ - blockNumber?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - srcAddress?: Resolver; - txHash?: Resolver; - txOrigin?: Resolver, ParentType, ContextType>; +export interface timestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'timestamp'; +} + +export interface timestamptzScalarConfig extends GraphQLScalarTypeConfig { + name: 'timestamptz'; +} + +export type ApplicationHistoryResolvers = ResolversObject<{ + id?: Resolver; + grantApplicationBytes?: Resolver; + applicationSubmitted?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type EventPostResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsPoster?: Resolver, ParentType, ContextType>; - hatsPoster_id?: Resolver; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; +export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigDecimal'; +} + +export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigInt'; +} + +export interface BytesScalarConfig extends GraphQLScalarTypeConfig { + name: 'Bytes'; +} + +export type FeedItemResolvers = ResolversObject<{ + id?: Resolver; + timestamp?: Resolver, ParentType, ContextType>; + content?: Resolver; + sender?: Resolver; tag?: Resolver; + subjectMetadataPointer?: Resolver; + subjectId?: Resolver; + objectId?: Resolver, ParentType, ContextType>; + subject?: Resolver; + object?: Resolver, ParentType, ContextType>; + embed?: Resolver, ParentType, ContextType>; + details?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FactoryEventsSummaryResolvers = ResolversObject<{ - address?: Resolver; - admins?: Resolver, ParentType, ContextType>; - contestBuiltCount?: Resolver; - contestCloneCount?: Resolver; - contestTemplateCount?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - moduleCloneCount?: Resolver; - moduleTemplateCount?: Resolver; +export type FeedItemEmbedResolvers = ResolversObject<{ + id?: Resolver; + key?: Resolver, ParentType, ContextType>; + pointer?: Resolver, ParentType, ContextType>; + protocol?: Resolver, ParentType, ContextType>; + content?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantShipsVotingResolvers = ResolversObject<{ - choices?: Resolver, ParentType, ContextType, Partial>; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - endTime?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsAddress?: Resolver; - id?: Resolver; - isVotingActive?: Resolver; - startTime?: Resolver, ParentType, ContextType>; - totalVotes?: Resolver; - voteDuration?: Resolver; - voteTokenAddress?: Resolver; - votes?: Resolver, ParentType, ContextType, Partial>; - votingCheckpoint?: Resolver; +export type FeedItemEntityResolvers = ResolversObject<{ + id?: Resolver; + name?: Resolver; + type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type HALParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsAddress?: Resolver; - id?: Resolver; +export type GameManagerResolvers = ResolversObject<{ + id?: Resolver; + poolId?: Resolver; + gameFacilitatorId?: Resolver; + rootAccount?: Resolver; + tokenAddress?: Resolver; + currentRoundId?: Resolver; + currentRound?: Resolver, ParentType, ContextType>; + poolFunds?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type HatsPosterResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - eventPosts?: Resolver, ParentType, ContextType, Partial>; - hatIds?: Resolver, ParentType, ContextType>; - hatsAddress?: Resolver; - id?: Resolver; - record?: Resolver, ParentType, ContextType, Partial>; +export type GameRoundResolvers = ResolversObject<{ + id?: Resolver; + startTime?: Resolver; + endTime?: Resolver; + totalRoundAmount?: Resolver; + totalAllocatedAmount?: Resolver; + totalDistributedAmount?: Resolver; + gameStatus?: Resolver; + ships?: Resolver, ParentType, ContextType, RequireFields>; + isGameActive?: Resolver; + realStartTime?: Resolver, ParentType, ContextType>; + realEndTime?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type LocalLogResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - message?: Resolver, ParentType, ContextType>; +export type GmDeploymentResolvers = ResolversObject<{ + id?: Resolver; + address?: Resolver; + version?: Resolver; + blockNumber?: Resolver; + transactionHash?: Resolver; + timestamp?: Resolver; + hasPool?: Resolver; + poolId?: Resolver, ParentType, ContextType>; + profileId?: Resolver; + poolMetadata?: Resolver; + poolProfileMetadata?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ModuleTemplateResolvers = ResolversObject<{ - active?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - moduleName?: Resolver; - templateAddress?: Resolver; +export type GmVersionResolvers = ResolversObject<{ + id?: Resolver; + name?: Resolver; + address?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type RecordResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsPoster?: Resolver, ParentType, ContextType>; - hatsPoster_id?: Resolver; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - nonce?: Resolver; - tag?: Resolver; +export type GrantResolvers = ResolversObject<{ + id?: Resolver; + projectId?: Resolver; + shipId?: Resolver; + lastUpdated?: Resolver; + hasResubmitted?: Resolver; + grantStatus?: Resolver; + grantApplicationBytes?: Resolver; + applicationSubmitted?: Resolver; + currentMilestoneIndex?: Resolver; + milestonesAmount?: Resolver; + milestones?: Resolver>, ParentType, ContextType, RequireFields>; + shipApprovalReason?: Resolver, ParentType, ContextType>; + hasShipApproved?: Resolver, ParentType, ContextType>; + amtAllocated?: Resolver; + amtDistributed?: Resolver; + allocatedBy?: Resolver, ParentType, ContextType>; + facilitatorReason?: Resolver, ParentType, ContextType>; + hasFacilitatorApproved?: Resolver, ParentType, ContextType>; + milestonesApproved?: Resolver, ParentType, ContextType>; + milestonesApprovedReason?: Resolver, ParentType, ContextType>; + currentMilestoneRejectedReason?: Resolver, ParentType, ContextType>; + resubmitHistory?: Resolver, ParentType, ContextType, RequireFields>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ShipChoiceResolvers = ResolversObject<{ - active?: Resolver; - choiceData?: Resolver; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - voteTally?: Resolver; - votes?: Resolver, ParentType, ContextType, Partial>; +export type GrantShipResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + nonce?: Resolver; + name?: Resolver; + profileMetadata?: Resolver; + owner?: Resolver; + anchor?: Resolver; + blockNumber?: Resolver; + blockTimestamp?: Resolver; + transactionHash?: Resolver; + status?: Resolver; + poolFunded?: Resolver; + balance?: Resolver; + shipAllocation?: Resolver; + totalAvailableFunds?: Resolver; + totalRoundAmount?: Resolver; + totalAllocated?: Resolver; + totalDistributed?: Resolver; + grants?: Resolver, ParentType, ContextType, RequireFields>; + alloProfileMembers?: Resolver, ParentType, ContextType>; + shipApplicationBytesData?: Resolver, ParentType, ContextType>; + applicationSubmittedTime?: Resolver, ParentType, ContextType>; + isAwaitingApproval?: Resolver, ParentType, ContextType>; + hasSubmittedApplication?: Resolver, ParentType, ContextType>; + isApproved?: Resolver, ParentType, ContextType>; + approvedTime?: Resolver, ParentType, ContextType>; + isRejected?: Resolver, ParentType, ContextType>; + rejectedTime?: Resolver, ParentType, ContextType>; + applicationReviewReason?: Resolver, ParentType, ContextType>; + poolId?: Resolver, ParentType, ContextType>; + hatId?: Resolver, ParentType, ContextType>; + shipContractAddress?: Resolver, ParentType, ContextType>; + shipLaunched?: Resolver, ParentType, ContextType>; + poolActive?: Resolver, ParentType, ContextType>; + isAllocated?: Resolver, ParentType, ContextType>; + isDistributed?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ShipVoteResolvers = ResolversObject<{ - amount?: Resolver; - choice?: Resolver, ParentType, ContextType>; - choice_id?: Resolver; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - isRectractVote?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - voter?: Resolver; +export interface Int8ScalarConfig extends GraphQLScalarTypeConfig { + name: 'Int8'; +} + +export type LogResolvers = ResolversObject<{ + id?: Resolver; + message?: Resolver; + description?: Resolver, ParentType, ContextType>; + type?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type StemModuleResolvers = ResolversObject<{ - contest?: Resolver, ParentType, ContextType>; - contestAddress?: Resolver, ParentType, ContextType>; - contest_id?: Resolver, ParentType, ContextType>; - db_write_timestamp?: Resolver, ParentType, ContextType>; - filterTag?: Resolver; - id?: Resolver; - moduleAddress?: Resolver; - moduleName?: Resolver; - moduleTemplate?: Resolver, ParentType, ContextType>; - moduleTemplate_id?: Resolver; +export type MilestoneResolvers = ResolversObject<{ + id?: Resolver; + amountPercentage?: Resolver; + mmetadata?: Resolver; + amount?: Resolver; + status?: Resolver; + lastUpdated?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type TVParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - voteDuration?: Resolver; +export type PoolIdLookupResolvers = ResolversObject<{ + id?: Resolver; + entityId?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type chain_metadataResolvers = ResolversObject<{ - block_height?: Resolver; - chain_id?: Resolver; - end_block?: Resolver, ParentType, ContextType>; - first_event_block_number?: Resolver, ParentType, ContextType>; - is_hyper_sync?: Resolver; - latest_fetched_block_number?: Resolver; - latest_processed_block?: Resolver, ParentType, ContextType>; - num_batches_fetched?: Resolver; - num_events_processed?: Resolver, ParentType, ContextType>; - start_block?: Resolver; - timestamp_caught_up_to_head_or_endblock?: Resolver, ParentType, ContextType>; +export type ProfileIdToAnchorResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + anchor?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface contract_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'contract_type'; -} - -export type dynamic_contract_registryResolvers = ResolversObject<{ - block_timestamp?: Resolver; - chain_id?: Resolver; - contract_address?: Resolver; - contract_type?: Resolver; - event_id?: Resolver; +export type ProfileMemberGroupResolvers = ResolversObject<{ + id?: Resolver; + addresses?: Resolver>, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type entity_historyResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - entity_id?: Resolver; - entity_type?: Resolver; - event?: Resolver, ParentType, ContextType>; - log_index?: Resolver; - params?: Resolver, ParentType, ContextType, Partial>; - previous_block_number?: Resolver, ParentType, ContextType>; - previous_block_timestamp?: Resolver, ParentType, ContextType>; - previous_chain_id?: Resolver, ParentType, ContextType>; - previous_log_index?: Resolver, ParentType, ContextType>; +export type ProjectResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + status?: Resolver; + nonce?: Resolver; + name?: Resolver; + metadata?: Resolver; + owner?: Resolver; + anchor?: Resolver; + blockNumber?: Resolver; + blockTimestamp?: Resolver; + transactionHash?: Resolver; + grants?: Resolver, ParentType, ContextType, RequireFields>; + members?: Resolver, ParentType, ContextType>; + totalAmountReceived?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type entity_history_filterResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - entity_id?: Resolver; - entity_type?: Resolver; - event?: Resolver, ParentType, ContextType>; - log_index?: Resolver; - new_val?: Resolver, ParentType, ContextType, Partial>; - old_val?: Resolver, ParentType, ContextType, Partial>; - previous_block_number?: Resolver; - previous_log_index?: Resolver; +export type RawMetadataResolvers = ResolversObject<{ + id?: Resolver; + protocol?: Resolver; + pointer?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface entity_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'entity_type'; +export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'Timestamp'; } -export type event_sync_stateResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - log_index?: Resolver; - transaction_index?: Resolver; +export type TransactionResolvers = ResolversObject<{ + id?: Resolver; + blockNumber?: Resolver; + sender?: Resolver; + txHash?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface event_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'event_type'; -} - -export interface jsonScalarConfig extends GraphQLScalarTypeConfig { - name: 'json'; -} - -export interface numericScalarConfig extends GraphQLScalarTypeConfig { - name: 'numeric'; -} - -export type persisted_stateResolvers = ResolversObject<{ - abi_files_hash?: Resolver; - config_hash?: Resolver; - envio_version?: Resolver; - handler_files_hash?: Resolver; - id?: Resolver; - schema_hash?: Resolver; +export type UpdateResolvers = ResolversObject<{ + id?: Resolver; + scope?: Resolver; + posterRole?: Resolver; + entityAddress?: Resolver; + postedBy?: Resolver; + content?: Resolver; + contentSchema?: Resolver; + postDecorator?: Resolver; + timestamp?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type raw_eventsResolvers = ResolversObject<{ - block_hash?: Resolver; - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - event_history?: Resolver, ParentType, ContextType, Partial>; - event_id?: Resolver; - event_type?: Resolver; - log_index?: Resolver; - params?: Resolver>; - src_address?: Resolver; - transaction_hash?: Resolver; - transaction_index?: Resolver; +export type _Block_Resolvers = ResolversObject<{ + hash?: Resolver, ParentType, ContextType>; + number?: Resolver; + timestamp?: Resolver, ParentType, ContextType>; + parentHash?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface timestampScalarConfig extends GraphQLScalarTypeConfig { - name: 'timestamp'; -} - -export interface timestamptzScalarConfig extends GraphQLScalarTypeConfig { - name: 'timestamptz'; -} +export type _Meta_Resolvers = ResolversObject<{ + block?: Resolver; + deployment?: Resolver; + hasIndexingErrors?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; export type Resolvers = ResolversObject<{ Query?: QueryResolvers; Subscription?: SubscriptionResolvers; - ApplicationHistory?: ApplicationHistoryResolvers; - BigDecimal?: GraphQLScalarType; - BigInt?: GraphQLScalarType; - Bytes?: GraphQLScalarType; - FeedItem?: FeedItemResolvers; - FeedItemEmbed?: FeedItemEmbedResolvers; - FeedItemEntity?: FeedItemEntityResolvers; - GameManager?: GameManagerResolvers; - GameRound?: GameRoundResolvers; - GmDeployment?: GmDeploymentResolvers; - GmVersion?: GmVersionResolvers; - Grant?: GrantResolvers; - GrantShip?: GrantShipResolvers; - Int8?: GraphQLScalarType; - Log?: LogResolvers; - Milestone?: MilestoneResolvers; - PoolIdLookup?: PoolIdLookupResolvers; - ProfileIdToAnchor?: ProfileIdToAnchorResolvers; - ProfileMemberGroup?: ProfileMemberGroupResolvers; - Project?: ProjectResolvers; - RawMetadata?: RawMetadataResolvers; - Timestamp?: GraphQLScalarType; - Transaction?: TransactionResolvers; - Update?: UpdateResolvers; - _Block_?: _Block_Resolvers; - _Meta_?: _Meta_Resolvers; Contest?: ContestResolvers; ContestClone?: ContestCloneResolvers; ContestTemplate?: ContestTemplateResolvers; @@ -8579,6 +8695,7 @@ export type Resolvers = ResolversObject<{ EnvioTX?: EnvioTXResolvers; EventPost?: EventPostResolvers; FactoryEventsSummary?: FactoryEventsSummaryResolvers; + GSVoter?: GSVoterResolvers; GrantShipsVoting?: GrantShipsVotingResolvers; HALParams?: HALParamsResolvers; HatsPoster?: HatsPosterResolvers; @@ -8589,6 +8706,8 @@ export type Resolvers = ResolversObject<{ ShipVote?: ShipVoteResolvers; StemModule?: StemModuleResolvers; TVParams?: TVParamsResolvers; + _numeric?: GraphQLScalarType; + _text?: GraphQLScalarType; chain_metadata?: chain_metadataResolvers; contract_type?: GraphQLScalarType; dynamic_contract_registry?: dynamic_contract_registryResolvers; @@ -8603,16 +8722,42 @@ export type Resolvers = ResolversObject<{ raw_events?: raw_eventsResolvers; timestamp?: GraphQLScalarType; timestamptz?: GraphQLScalarType; + ApplicationHistory?: ApplicationHistoryResolvers; + BigDecimal?: GraphQLScalarType; + BigInt?: GraphQLScalarType; + Bytes?: GraphQLScalarType; + FeedItem?: FeedItemResolvers; + FeedItemEmbed?: FeedItemEmbedResolvers; + FeedItemEntity?: FeedItemEntityResolvers; + GameManager?: GameManagerResolvers; + GameRound?: GameRoundResolvers; + GmDeployment?: GmDeploymentResolvers; + GmVersion?: GmVersionResolvers; + Grant?: GrantResolvers; + GrantShip?: GrantShipResolvers; + Int8?: GraphQLScalarType; + Log?: LogResolvers; + Milestone?: MilestoneResolvers; + PoolIdLookup?: PoolIdLookupResolvers; + ProfileIdToAnchor?: ProfileIdToAnchorResolvers; + ProfileMemberGroup?: ProfileMemberGroupResolvers; + Project?: ProjectResolvers; + RawMetadata?: RawMetadataResolvers; + Timestamp?: GraphQLScalarType; + Transaction?: TransactionResolvers; + Update?: UpdateResolvers; + _Block_?: _Block_Resolvers; + _Meta_?: _Meta_Resolvers; }>; export type DirectiveResolvers = ResolversObject<{ + cached?: cachedDirectiveResolver; entity?: entityDirectiveResolver; subgraphId?: subgraphIdDirectiveResolver; derivedFrom?: derivedFromDirectiveResolver; - cached?: cachedDirectiveResolver; }>; -export type MeshContext = GrantShipsTypes.Context & GsVotingTypes.Context & BaseMeshContext; +export type MeshContext = GsVotingTypes.Context & GrantShipsTypes.Context & BaseMeshContext; import { fileURLToPath } from '@graphql-mesh/utils'; @@ -8621,10 +8766,10 @@ const baseDir = pathModule.join(pathModule.dirname(fileURLToPath(import.meta.url const importFn: ImportFn = (moduleId: string) => { const relativeModuleId = (pathModule.isAbsolute(moduleId) ? pathModule.relative(baseDir, moduleId) : moduleId).split('\\').join('/').replace(baseDir + '/', ''); switch(relativeModuleId) { - case ".graphclient/sources/grant-ships/introspectionSchema": + case ".graphclient/sources/gs-voting/introspectionSchema": return Promise.resolve(importedModule$0) as T; - case ".graphclient/sources/gs-voting/introspectionSchema": + case ".graphclient/sources/grant-ships/introspectionSchema": return Promise.resolve(importedModule$1) as T; default: @@ -8672,7 +8817,7 @@ const grantShipsHandler = new GraphqlHandler({ }); const gsVotingHandler = new GraphqlHandler({ name: "gs-voting", - config: {"endpoint":"https://indexer.bigdevenergy.link/c8f8ea8/v1/graphql"}, + config: {"endpoint":"http://localhost:8080/v1/graphql"}, baseDir, cache, pubsub, @@ -8848,6 +8993,12 @@ const merger = new(StitchingMerger as any)({ return printWithCache(GetUserVotesDocument); }, location: 'GetUserVotesDocument.graphql' + },{ + document: GetVotersDocument, + get rawSDL() { + return printWithCache(GetVotersDocument); + }, + location: 'GetVotersDocument.graphql' },{ document: ProjectPageQueryDocument, get rawSDL() { @@ -9230,6 +9381,19 @@ export type getUserVotesQueryVariables = Exact<{ export type getUserVotesQuery = { ShipVote: Array> }; +export type getVotersQueryVariables = Exact<{ + contestId: Scalars['String']; +}>; + + +export type getVotersQuery = { GSVoter: Array<( + Pick + & { votes: Array<( + Pick + & { choice?: Maybe> } + )> } + )> }; + export type projectPageQueryQueryVariables = Exact<{ id: Scalars['ID']; }>; @@ -9706,7 +9870,7 @@ ${RawMetadataFragmentDoc} ${FacShipDataFragmentDoc}` as unknown as DocumentNode; export const getUserVotesDocument = gql` query getUserVotes($contestId: String!, $voterAddress: String!) { - ShipVote(where: {voter: {_eq: $voterAddress}, contest_id: {_eq: $contestId}}) { + ShipVote(where: {voter_id: {_eq: $voterAddress}, contest_id: {_eq: $contestId}}) { id choice_id mdPointer @@ -9715,6 +9879,23 @@ export const getUserVotesDocument = gql` } } ` as unknown as DocumentNode; +export const getVotersDocument = gql` + query getVoters($contestId: String!) { + GSVoter(where: {votes: {contest_id: {_eq: $contestId}}}) { + id + votes(where: {contest_id: {_eq: $contestId}, isRetractVote: {_eq: false}}) { + id + amount + mdPointer + mdProtocol + isRetractVote + choice { + id + } + } + } +} + ` as unknown as DocumentNode; export const projectPageQueryDocument = gql` query projectPageQuery($id: ID!) { project(id: $id) { @@ -9771,6 +9952,7 @@ export const ShipsPageQueryDocument = gql` + export type Requester = (doc: DocumentNode, vars?: V, options?: C) => Promise | AsyncIterable @@ -9845,6 +10027,9 @@ export function getSdk(requester: Requester) { getUserVotes(variables: getUserVotesQueryVariables, options?: C): Promise { return requester(getUserVotesDocument, variables, options) as Promise; }, + getVoters(variables: getVotersQueryVariables, options?: C): Promise { + return requester(getVotersDocument, variables, options) as Promise; + }, projectPageQuery(variables: projectPageQueryQueryVariables, options?: C): Promise { return requester(projectPageQueryDocument, variables, options) as Promise; }, diff --git a/src/.graphclient/schema.graphql b/src/.graphclient/schema.graphql index 34d15c2a..6f8cc8ba 100644 --- a/src/.graphclient/schema.graphql +++ b/src/.graphclient/schema.graphql @@ -3,6 +3,14 @@ schema { subscription: Subscription } +"whether this query should be cached (Hasura Cloud only)" +directive @cached( + """measured in seconds""" + ttl: Int! = 60 + """refresh the cache entry""" + refresh: Boolean! = false +) on QUERY + "Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive." directive @entity on OBJECT @@ -12,511 +20,7 @@ directive @subgraphId(id: String!) on OBJECT "creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API." directive @derivedFrom(field: String!) on FIELD_DEFINITION -"whether this query should be cached (Hasura Cloud only)" -directive @cached( - """measured in seconds""" - ttl: Int! = 60 - """refresh the cache entry""" - refresh: Boolean! = false -) on QUERY - type Query { - project( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Project - projects( - skip: Int = 0 - first: Int = 100 - orderBy: Project_orderBy - orderDirection: OrderDirection - where: Project_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Project!]! - feedItem( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): FeedItem - feedItems( - skip: Int = 0 - first: Int = 100 - orderBy: FeedItem_orderBy - orderDirection: OrderDirection - where: FeedItem_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [FeedItem!]! - feedItemEntity( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): FeedItemEntity - feedItemEntities( - skip: Int = 0 - first: Int = 100 - orderBy: FeedItemEntity_orderBy - orderDirection: OrderDirection - where: FeedItemEntity_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [FeedItemEntity!]! - feedItemEmbed( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): FeedItemEmbed - feedItemEmbeds( - skip: Int = 0 - first: Int = 100 - orderBy: FeedItemEmbed_orderBy - orderDirection: OrderDirection - where: FeedItemEmbed_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [FeedItemEmbed!]! - update( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Update - updates( - skip: Int = 0 - first: Int = 100 - orderBy: Update_orderBy - orderDirection: OrderDirection - where: Update_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Update!]! - grantShip( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): GrantShip - grantShips( - skip: Int = 0 - first: Int = 100 - orderBy: GrantShip_orderBy - orderDirection: OrderDirection - where: GrantShip_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [GrantShip!]! - poolIdLookup( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): PoolIdLookup - poolIdLookups( - skip: Int = 0 - first: Int = 100 - orderBy: PoolIdLookup_orderBy - orderDirection: OrderDirection - where: PoolIdLookup_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [PoolIdLookup!]! - gameManager( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): GameManager - gameManagers( - skip: Int = 0 - first: Int = 100 - orderBy: GameManager_orderBy - orderDirection: OrderDirection - where: GameManager_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [GameManager!]! - gameRound( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): GameRound - gameRounds( - skip: Int = 0 - first: Int = 100 - orderBy: GameRound_orderBy - orderDirection: OrderDirection - where: GameRound_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [GameRound!]! - applicationHistory( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ApplicationHistory - applicationHistories( - skip: Int = 0 - first: Int = 100 - orderBy: ApplicationHistory_orderBy - orderDirection: OrderDirection - where: ApplicationHistory_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ApplicationHistory!]! - grant( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Grant - grants( - skip: Int = 0 - first: Int = 100 - orderBy: Grant_orderBy - orderDirection: OrderDirection - where: Grant_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Grant!]! - milestone( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Milestone - milestones( - skip: Int = 0 - first: Int = 100 - orderBy: Milestone_orderBy - orderDirection: OrderDirection - where: Milestone_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Milestone!]! - profileIdToAnchor( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ProfileIdToAnchor - profileIdToAnchors( - skip: Int = 0 - first: Int = 100 - orderBy: ProfileIdToAnchor_orderBy - orderDirection: OrderDirection - where: ProfileIdToAnchor_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ProfileIdToAnchor!]! - profileMemberGroup( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): ProfileMemberGroup - profileMemberGroups( - skip: Int = 0 - first: Int = 100 - orderBy: ProfileMemberGroup_orderBy - orderDirection: OrderDirection - where: ProfileMemberGroup_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [ProfileMemberGroup!]! - transaction( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Transaction - transactions( - skip: Int = 0 - first: Int = 100 - orderBy: Transaction_orderBy - orderDirection: OrderDirection - where: Transaction_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Transaction!]! - rawMetadata( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): RawMetadata - rawMetadata_collection( - skip: Int = 0 - first: Int = 100 - orderBy: RawMetadata_orderBy - orderDirection: OrderDirection - where: RawMetadata_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [RawMetadata!]! - log( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): Log - logs( - skip: Int = 0 - first: Int = 100 - orderBy: Log_orderBy - orderDirection: OrderDirection - where: Log_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [Log!]! - gmVersion( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): GmVersion - gmVersions( - skip: Int = 0 - first: Int = 100 - orderBy: GmVersion_orderBy - orderDirection: OrderDirection - where: GmVersion_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [GmVersion!]! - gmDeployment( - id: ID! - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): GmDeployment - gmDeployments( - skip: Int = 0 - first: Int = 100 - orderBy: GmDeployment_orderBy - orderDirection: OrderDirection - where: GmDeployment_filter - """ - The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. - """ - block: Block_height - """ - Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. - """ - subgraphError: _SubgraphErrorPolicy_! = deny - ): [GmDeployment!]! - """Access to subgraph metadata""" - _meta(block: Block_height): _Meta_ """ fetch data from the table: "Contest" """ @@ -639,6 +143,23 @@ type Query { """ FactoryEventsSummary_by_pk(id: String!): FactoryEventsSummary """ + fetch data from the table: "GSVoter" + """ + GSVoter( + """distinct select on columns""" + distinct_on: [GSVoter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GSVoter_order_by!] + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """fetch data from the table: "GSVoter" using primary key columns""" + GSVoter_by_pk(id: String!): GSVoter + """ fetch data from the table: "GrantShipsVoting" """ GrantShipsVoting( @@ -952,9 +473,6 @@ type Query { ): [raw_events!]! """fetch data from the table: "raw_events" using primary key columns""" raw_events_by_pk(chain_id: Int!, event_id: numeric!): raw_events -} - -type Subscription { project( id: ID! """ @@ -1451,6 +969,9 @@ type Subscription { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ +} + +type Subscription { """ fetch data from the table: "Contest" """ @@ -1650,6 +1171,34 @@ type Subscription { where: FactoryEventsSummary_bool_exp ): [FactoryEventsSummary!]! """ + fetch data from the table: "GSVoter" + """ + GSVoter( + """distinct select on columns""" + distinct_on: [GSVoter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GSVoter_order_by!] + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """fetch data from the table: "GSVoter" using primary key columns""" + GSVoter_by_pk(id: String!): GSVoter + """ + fetch data from the table in a streaming manner: "GSVoter" + """ + GSVoter_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [GSVoter_stream_cursor_input]! + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """ fetch data from the table: "GrantShipsVoting" """ GrantShipsVoting( @@ -2150,2921 +1699,1749 @@ type Subscription { """filter the rows returned""" where: raw_events_bool_exp ): [raw_events!]! + project( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Project + projects( + skip: Int = 0 + first: Int = 100 + orderBy: Project_orderBy + orderDirection: OrderDirection + where: Project_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Project!]! + feedItem( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): FeedItem + feedItems( + skip: Int = 0 + first: Int = 100 + orderBy: FeedItem_orderBy + orderDirection: OrderDirection + where: FeedItem_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [FeedItem!]! + feedItemEntity( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): FeedItemEntity + feedItemEntities( + skip: Int = 0 + first: Int = 100 + orderBy: FeedItemEntity_orderBy + orderDirection: OrderDirection + where: FeedItemEntity_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [FeedItemEntity!]! + feedItemEmbed( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): FeedItemEmbed + feedItemEmbeds( + skip: Int = 0 + first: Int = 100 + orderBy: FeedItemEmbed_orderBy + orderDirection: OrderDirection + where: FeedItemEmbed_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [FeedItemEmbed!]! + update( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Update + updates( + skip: Int = 0 + first: Int = 100 + orderBy: Update_orderBy + orderDirection: OrderDirection + where: Update_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Update!]! + grantShip( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): GrantShip + grantShips( + skip: Int = 0 + first: Int = 100 + orderBy: GrantShip_orderBy + orderDirection: OrderDirection + where: GrantShip_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [GrantShip!]! + poolIdLookup( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): PoolIdLookup + poolIdLookups( + skip: Int = 0 + first: Int = 100 + orderBy: PoolIdLookup_orderBy + orderDirection: OrderDirection + where: PoolIdLookup_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [PoolIdLookup!]! + gameManager( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): GameManager + gameManagers( + skip: Int = 0 + first: Int = 100 + orderBy: GameManager_orderBy + orderDirection: OrderDirection + where: GameManager_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [GameManager!]! + gameRound( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): GameRound + gameRounds( + skip: Int = 0 + first: Int = 100 + orderBy: GameRound_orderBy + orderDirection: OrderDirection + where: GameRound_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [GameRound!]! + applicationHistory( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): ApplicationHistory + applicationHistories( + skip: Int = 0 + first: Int = 100 + orderBy: ApplicationHistory_orderBy + orderDirection: OrderDirection + where: ApplicationHistory_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [ApplicationHistory!]! + grant( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Grant + grants( + skip: Int = 0 + first: Int = 100 + orderBy: Grant_orderBy + orderDirection: OrderDirection + where: Grant_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Grant!]! + milestone( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Milestone + milestones( + skip: Int = 0 + first: Int = 100 + orderBy: Milestone_orderBy + orderDirection: OrderDirection + where: Milestone_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Milestone!]! + profileIdToAnchor( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): ProfileIdToAnchor + profileIdToAnchors( + skip: Int = 0 + first: Int = 100 + orderBy: ProfileIdToAnchor_orderBy + orderDirection: OrderDirection + where: ProfileIdToAnchor_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [ProfileIdToAnchor!]! + profileMemberGroup( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): ProfileMemberGroup + profileMemberGroups( + skip: Int = 0 + first: Int = 100 + orderBy: ProfileMemberGroup_orderBy + orderDirection: OrderDirection + where: ProfileMemberGroup_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [ProfileMemberGroup!]! + transaction( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Transaction + transactions( + skip: Int = 0 + first: Int = 100 + orderBy: Transaction_orderBy + orderDirection: OrderDirection + where: Transaction_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Transaction!]! + rawMetadata( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): RawMetadata + rawMetadata_collection( + skip: Int = 0 + first: Int = 100 + orderBy: RawMetadata_orderBy + orderDirection: OrderDirection + where: RawMetadata_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [RawMetadata!]! + log( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): Log + logs( + skip: Int = 0 + first: Int = 100 + orderBy: Log_orderBy + orderDirection: OrderDirection + where: Log_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [Log!]! + gmVersion( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): GmVersion + gmVersions( + skip: Int = 0 + first: Int = 100 + orderBy: GmVersion_orderBy + orderDirection: OrderDirection + where: GmVersion_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [GmVersion!]! + gmDeployment( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): GmDeployment + gmDeployments( + skip: Int = 0 + first: Int = 100 + orderBy: GmDeployment_orderBy + orderDirection: OrderDirection + where: GmDeployment_filter + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): [GmDeployment!]! + """Access to subgraph metadata""" + _meta(block: Block_height): _Meta_ } -enum Aggregation_interval { - hour - day -} - -type ApplicationHistory { - id: ID! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! -} - -input ApplicationHistory_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ApplicationHistory_filter] - or: [ApplicationHistory_filter] -} - -enum ApplicationHistory_orderBy { - id - grantApplicationBytes - applicationSubmitted -} - -scalar BigDecimal - -scalar BigInt - -input BlockChangedFilter { - number_gte: Int! -} - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -scalar Bytes - -type FeedItem { - id: ID! - timestamp: BigInt - content: String! - sender: Bytes! - tag: String! - subjectMetadataPointer: String! - subjectId: ID! - objectId: ID - subject: FeedItemEntity! - object: FeedItemEntity - embed: FeedItemEmbed - details: String -} - -type FeedItemEmbed { - id: ID! - key: String - pointer: String - protocol: BigInt - content: String -} - -input FeedItemEmbed_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - key: String - key_not: String - key_gt: String - key_lt: String - key_gte: String - key_lte: String - key_in: [String!] - key_not_in: [String!] - key_contains: String - key_contains_nocase: String - key_not_contains: String - key_not_contains_nocase: String - key_starts_with: String - key_starts_with_nocase: String - key_not_starts_with: String - key_not_starts_with_nocase: String - key_ends_with: String - key_ends_with_nocase: String - key_not_ends_with: String - key_not_ends_with_nocase: String - pointer: String - pointer_not: String - pointer_gt: String - pointer_lt: String - pointer_gte: String - pointer_lte: String - pointer_in: [String!] - pointer_not_in: [String!] - pointer_contains: String - pointer_contains_nocase: String - pointer_not_contains: String - pointer_not_contains_nocase: String - pointer_starts_with: String - pointer_starts_with_nocase: String - pointer_not_starts_with: String - pointer_not_starts_with_nocase: String - pointer_ends_with: String - pointer_ends_with_nocase: String - pointer_not_ends_with: String - pointer_not_ends_with_nocase: String - protocol: BigInt - protocol_not: BigInt - protocol_gt: BigInt - protocol_lt: BigInt - protocol_gte: BigInt - protocol_lte: BigInt - protocol_in: [BigInt!] - protocol_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItemEmbed_filter] - or: [FeedItemEmbed_filter] -} - -enum FeedItemEmbed_orderBy { - id - key - pointer - protocol - content -} - -type FeedItemEntity { - id: ID! - name: String! - type: String! -} - -input FeedItemEntity_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - type: String - type_not: String - type_gt: String - type_lt: String - type_gte: String - type_lte: String - type_in: [String!] - type_not_in: [String!] - type_contains: String - type_contains_nocase: String - type_not_contains: String - type_not_contains_nocase: String - type_starts_with: String - type_starts_with_nocase: String - type_not_starts_with: String - type_not_starts_with_nocase: String - type_ends_with: String - type_ends_with_nocase: String - type_not_ends_with: String - type_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItemEntity_filter] - or: [FeedItemEntity_filter] -} - -enum FeedItemEntity_orderBy { - id - name - type -} - -input FeedItem_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - sender: Bytes - sender_not: Bytes - sender_gt: Bytes - sender_lt: Bytes - sender_gte: Bytes - sender_lte: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_not_contains: Bytes - tag: String - tag_not: String - tag_gt: String - tag_lt: String - tag_gte: String - tag_lte: String - tag_in: [String!] - tag_not_in: [String!] - tag_contains: String - tag_contains_nocase: String - tag_not_contains: String - tag_not_contains_nocase: String - tag_starts_with: String - tag_starts_with_nocase: String - tag_not_starts_with: String - tag_not_starts_with_nocase: String - tag_ends_with: String - tag_ends_with_nocase: String - tag_not_ends_with: String - tag_not_ends_with_nocase: String - subjectMetadataPointer: String - subjectMetadataPointer_not: String - subjectMetadataPointer_gt: String - subjectMetadataPointer_lt: String - subjectMetadataPointer_gte: String - subjectMetadataPointer_lte: String - subjectMetadataPointer_in: [String!] - subjectMetadataPointer_not_in: [String!] - subjectMetadataPointer_contains: String - subjectMetadataPointer_contains_nocase: String - subjectMetadataPointer_not_contains: String - subjectMetadataPointer_not_contains_nocase: String - subjectMetadataPointer_starts_with: String - subjectMetadataPointer_starts_with_nocase: String - subjectMetadataPointer_not_starts_with: String - subjectMetadataPointer_not_starts_with_nocase: String - subjectMetadataPointer_ends_with: String - subjectMetadataPointer_ends_with_nocase: String - subjectMetadataPointer_not_ends_with: String - subjectMetadataPointer_not_ends_with_nocase: String - subjectId: ID - subjectId_not: ID - subjectId_gt: ID - subjectId_lt: ID - subjectId_gte: ID - subjectId_lte: ID - subjectId_in: [ID!] - subjectId_not_in: [ID!] - objectId: ID - objectId_not: ID - objectId_gt: ID - objectId_lt: ID - objectId_gte: ID - objectId_lte: ID - objectId_in: [ID!] - objectId_not_in: [ID!] - subject: String - subject_not: String - subject_gt: String - subject_lt: String - subject_gte: String - subject_lte: String - subject_in: [String!] - subject_not_in: [String!] - subject_contains: String - subject_contains_nocase: String - subject_not_contains: String - subject_not_contains_nocase: String - subject_starts_with: String - subject_starts_with_nocase: String - subject_not_starts_with: String - subject_not_starts_with_nocase: String - subject_ends_with: String - subject_ends_with_nocase: String - subject_not_ends_with: String - subject_not_ends_with_nocase: String - subject_: FeedItemEntity_filter - object: String - object_not: String - object_gt: String - object_lt: String - object_gte: String - object_lte: String - object_in: [String!] - object_not_in: [String!] - object_contains: String - object_contains_nocase: String - object_not_contains: String - object_not_contains_nocase: String - object_starts_with: String - object_starts_with_nocase: String - object_not_starts_with: String - object_not_starts_with_nocase: String - object_ends_with: String - object_ends_with_nocase: String - object_not_ends_with: String - object_not_ends_with_nocase: String - object_: FeedItemEntity_filter - embed: String - embed_not: String - embed_gt: String - embed_lt: String - embed_gte: String - embed_lte: String - embed_in: [String!] - embed_not_in: [String!] - embed_contains: String - embed_contains_nocase: String - embed_not_contains: String - embed_not_contains_nocase: String - embed_starts_with: String - embed_starts_with_nocase: String - embed_not_starts_with: String - embed_not_starts_with_nocase: String - embed_ends_with: String - embed_ends_with_nocase: String - embed_not_ends_with: String - embed_not_ends_with_nocase: String - embed_: FeedItemEmbed_filter - details: String - details_not: String - details_gt: String - details_lt: String - details_gte: String - details_lte: String - details_in: [String!] - details_not_in: [String!] - details_contains: String - details_contains_nocase: String - details_not_contains: String - details_not_contains_nocase: String - details_starts_with: String - details_starts_with_nocase: String - details_not_starts_with: String - details_not_starts_with_nocase: String - details_ends_with: String - details_ends_with_nocase: String - details_not_ends_with: String - details_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItem_filter] - or: [FeedItem_filter] -} - -enum FeedItem_orderBy { - id - timestamp - content - sender - tag - subjectMetadataPointer - subjectId - objectId - subject - subject__id - subject__name - subject__type - object - object__id - object__name - object__type - embed - embed__id - embed__key - embed__pointer - embed__protocol - embed__content - details -} - -type GameManager { - id: Bytes! - poolId: BigInt! - gameFacilitatorId: BigInt! - rootAccount: Bytes! - tokenAddress: Bytes! - currentRoundId: BigInt! - currentRound: GameRound - poolFunds: BigInt! -} - -input GameManager_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 - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - gameFacilitatorId: BigInt - gameFacilitatorId_not: BigInt - gameFacilitatorId_gt: BigInt - gameFacilitatorId_lt: BigInt - gameFacilitatorId_gte: BigInt - gameFacilitatorId_lte: BigInt - gameFacilitatorId_in: [BigInt!] - gameFacilitatorId_not_in: [BigInt!] - rootAccount: Bytes - rootAccount_not: Bytes - rootAccount_gt: Bytes - rootAccount_lt: Bytes - rootAccount_gte: Bytes - rootAccount_lte: Bytes - rootAccount_in: [Bytes!] - rootAccount_not_in: [Bytes!] - rootAccount_contains: Bytes - rootAccount_not_contains: Bytes - tokenAddress: Bytes - tokenAddress_not: Bytes - tokenAddress_gt: Bytes - tokenAddress_lt: Bytes - tokenAddress_gte: Bytes - tokenAddress_lte: Bytes - tokenAddress_in: [Bytes!] - tokenAddress_not_in: [Bytes!] - tokenAddress_contains: Bytes - tokenAddress_not_contains: Bytes - currentRoundId: BigInt - currentRoundId_not: BigInt - currentRoundId_gt: BigInt - currentRoundId_lt: BigInt - currentRoundId_gte: BigInt - currentRoundId_lte: BigInt - currentRoundId_in: [BigInt!] - currentRoundId_not_in: [BigInt!] - currentRound: String - currentRound_not: String - currentRound_gt: String - currentRound_lt: String - currentRound_gte: String - currentRound_lte: String - currentRound_in: [String!] - currentRound_not_in: [String!] - currentRound_contains: String - currentRound_contains_nocase: String - currentRound_not_contains: String - currentRound_not_contains_nocase: String - currentRound_starts_with: String - currentRound_starts_with_nocase: String - currentRound_not_starts_with: String - currentRound_not_starts_with_nocase: String - currentRound_ends_with: String - currentRound_ends_with_nocase: String - currentRound_not_ends_with: String - currentRound_not_ends_with_nocase: String - currentRound_: GameRound_filter - poolFunds: BigInt - poolFunds_not: BigInt - poolFunds_gt: BigInt - poolFunds_lt: BigInt - poolFunds_gte: BigInt - poolFunds_lte: BigInt - poolFunds_in: [BigInt!] - poolFunds_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GameManager_filter] - or: [GameManager_filter] -} - -enum GameManager_orderBy { - id - poolId - gameFacilitatorId - rootAccount - tokenAddress - currentRoundId - currentRound - currentRound__id - currentRound__startTime - currentRound__endTime - currentRound__totalRoundAmount - currentRound__totalAllocatedAmount - currentRound__totalDistributedAmount - currentRound__gameStatus - currentRound__isGameActive - currentRound__realStartTime - currentRound__realEndTime - poolFunds -} - -type GameRound { - id: ID! - startTime: BigInt! - endTime: BigInt! - totalRoundAmount: BigInt! - totalAllocatedAmount: BigInt! - totalDistributedAmount: BigInt! - gameStatus: Int! - ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! - isGameActive: Boolean! - realStartTime: BigInt - realEndTime: BigInt -} - -input GameRound_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - startTime: BigInt - startTime_not: BigInt - startTime_gt: BigInt - startTime_lt: BigInt - startTime_gte: BigInt - startTime_lte: BigInt - startTime_in: [BigInt!] - startTime_not_in: [BigInt!] - endTime: BigInt - endTime_not: BigInt - endTime_gt: BigInt - endTime_lt: BigInt - endTime_gte: BigInt - endTime_lte: BigInt - endTime_in: [BigInt!] - endTime_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocatedAmount: BigInt - totalAllocatedAmount_not: BigInt - totalAllocatedAmount_gt: BigInt - totalAllocatedAmount_lt: BigInt - totalAllocatedAmount_gte: BigInt - totalAllocatedAmount_lte: BigInt - totalAllocatedAmount_in: [BigInt!] - totalAllocatedAmount_not_in: [BigInt!] - totalDistributedAmount: BigInt - totalDistributedAmount_not: BigInt - totalDistributedAmount_gt: BigInt - totalDistributedAmount_lt: BigInt - totalDistributedAmount_gte: BigInt - totalDistributedAmount_lte: BigInt - totalDistributedAmount_in: [BigInt!] - totalDistributedAmount_not_in: [BigInt!] - gameStatus: Int - gameStatus_not: Int - gameStatus_gt: Int - gameStatus_lt: Int - gameStatus_gte: Int - gameStatus_lte: Int - gameStatus_in: [Int!] - gameStatus_not_in: [Int!] - ships: [String!] - ships_not: [String!] - ships_contains: [String!] - ships_contains_nocase: [String!] - ships_not_contains: [String!] - ships_not_contains_nocase: [String!] - ships_: GrantShip_filter - isGameActive: Boolean - isGameActive_not: Boolean - isGameActive_in: [Boolean!] - isGameActive_not_in: [Boolean!] - realStartTime: BigInt - realStartTime_not: BigInt - realStartTime_gt: BigInt - realStartTime_lt: BigInt - realStartTime_gte: BigInt - realStartTime_lte: BigInt - realStartTime_in: [BigInt!] - realStartTime_not_in: [BigInt!] - realEndTime: BigInt - realEndTime_not: BigInt - realEndTime_gt: BigInt - realEndTime_lt: BigInt - realEndTime_gte: BigInt - realEndTime_lte: BigInt - realEndTime_in: [BigInt!] - realEndTime_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GameRound_filter] - or: [GameRound_filter] -} - -enum GameRound_orderBy { - id - startTime - endTime - totalRoundAmount - totalAllocatedAmount - totalDistributedAmount - gameStatus - ships - isGameActive - realStartTime - realEndTime -} - -type GmDeployment { - id: ID! - address: Bytes! - version: GmVersion! - blockNumber: BigInt! - transactionHash: Bytes! - timestamp: BigInt! - hasPool: Boolean! - poolId: BigInt - profileId: Bytes! - poolMetadata: RawMetadata! - poolProfileMetadata: RawMetadata! -} - -input GmDeployment_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - version: String - version_not: String - version_gt: String - version_lt: String - version_gte: String - version_lte: String - version_in: [String!] - version_not_in: [String!] - version_contains: String - version_contains_nocase: String - version_not_contains: String - version_not_contains_nocase: String - version_starts_with: String - version_starts_with_nocase: String - version_not_starts_with: String - version_not_starts_with_nocase: String - version_ends_with: String - version_ends_with_nocase: String - version_not_ends_with: String - version_not_ends_with_nocase: String - version_: GmVersion_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!] - 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 - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - hasPool: Boolean - hasPool_not: Boolean - hasPool_in: [Boolean!] - hasPool_not_in: [Boolean!] - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - poolMetadata: String - poolMetadata_not: String - poolMetadata_gt: String - poolMetadata_lt: String - poolMetadata_gte: String - poolMetadata_lte: String - poolMetadata_in: [String!] - poolMetadata_not_in: [String!] - poolMetadata_contains: String - poolMetadata_contains_nocase: String - poolMetadata_not_contains: String - poolMetadata_not_contains_nocase: String - poolMetadata_starts_with: String - poolMetadata_starts_with_nocase: String - poolMetadata_not_starts_with: String - poolMetadata_not_starts_with_nocase: String - poolMetadata_ends_with: String - poolMetadata_ends_with_nocase: String - poolMetadata_not_ends_with: String - poolMetadata_not_ends_with_nocase: String - poolMetadata_: RawMetadata_filter - poolProfileMetadata: String - poolProfileMetadata_not: String - poolProfileMetadata_gt: String - poolProfileMetadata_lt: String - poolProfileMetadata_gte: String - poolProfileMetadata_lte: String - poolProfileMetadata_in: [String!] - poolProfileMetadata_not_in: [String!] - poolProfileMetadata_contains: String - poolProfileMetadata_contains_nocase: String - poolProfileMetadata_not_contains: String - poolProfileMetadata_not_contains_nocase: String - poolProfileMetadata_starts_with: String - poolProfileMetadata_starts_with_nocase: String - poolProfileMetadata_not_starts_with: String - poolProfileMetadata_not_starts_with_nocase: String - poolProfileMetadata_ends_with: String - poolProfileMetadata_ends_with_nocase: String - poolProfileMetadata_not_ends_with: String - poolProfileMetadata_not_ends_with_nocase: String - poolProfileMetadata_: RawMetadata_filter - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GmDeployment_filter] - or: [GmDeployment_filter] -} - -enum GmDeployment_orderBy { - id - address - version - version__id - version__name - version__address - blockNumber - transactionHash - timestamp - hasPool - poolId - profileId - poolMetadata - poolMetadata__id - poolMetadata__protocol - poolMetadata__pointer - poolProfileMetadata - poolProfileMetadata__id - poolProfileMetadata__protocol - poolProfileMetadata__pointer -} - -type GmVersion { - id: ID! - name: String! - address: Bytes! -} - -input GmVersion_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GmVersion_filter] - or: [GmVersion_filter] -} - -enum GmVersion_orderBy { - id - name - address -} - -type Grant { - id: ID! - projectId: Project! - shipId: GrantShip! - lastUpdated: BigInt! - hasResubmitted: Boolean! - grantStatus: Int! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! - currentMilestoneIndex: BigInt! - milestonesAmount: BigInt! - milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] - shipApprovalReason: RawMetadata - hasShipApproved: Boolean - amtAllocated: BigInt! - amtDistributed: BigInt! - allocatedBy: Bytes - facilitatorReason: RawMetadata - hasFacilitatorApproved: Boolean - milestonesApproved: Boolean - milestonesApprovedReason: RawMetadata - currentMilestoneRejectedReason: RawMetadata - resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! -} - -type GrantShip { - id: Bytes! - profileId: Bytes! - nonce: BigInt! - name: String! - profileMetadata: RawMetadata! - owner: Bytes! - anchor: Bytes! - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! - status: Int! - poolFunded: Boolean! - balance: BigInt! - shipAllocation: BigInt! - totalAvailableFunds: BigInt! - totalRoundAmount: BigInt! - totalAllocated: BigInt! - totalDistributed: BigInt! - grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! - alloProfileMembers: ProfileMemberGroup - shipApplicationBytesData: Bytes - applicationSubmittedTime: BigInt - isAwaitingApproval: Boolean - hasSubmittedApplication: Boolean - isApproved: Boolean - approvedTime: BigInt - isRejected: Boolean - rejectedTime: BigInt - applicationReviewReason: RawMetadata - poolId: BigInt - hatId: String - shipContractAddress: Bytes - shipLaunched: Boolean - poolActive: Boolean - isAllocated: Boolean - isDistributed: Boolean -} - -input GrantShip_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 - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - nonce: BigInt - nonce_not: BigInt - nonce_gt: BigInt - nonce_lt: BigInt - nonce_gte: BigInt - nonce_lte: BigInt - nonce_in: [BigInt!] - nonce_not_in: [BigInt!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - profileMetadata: String - profileMetadata_not: String - profileMetadata_gt: String - profileMetadata_lt: String - profileMetadata_gte: String - profileMetadata_lte: String - profileMetadata_in: [String!] - profileMetadata_not_in: [String!] - profileMetadata_contains: String - profileMetadata_contains_nocase: String - profileMetadata_not_contains: String - profileMetadata_not_contains_nocase: String - profileMetadata_starts_with: String - profileMetadata_starts_with_nocase: String - profileMetadata_not_starts_with: String - profileMetadata_not_starts_with_nocase: String - profileMetadata_ends_with: String - profileMetadata_ends_with_nocase: String - profileMetadata_not_ends_with: String - profileMetadata_not_ends_with_nocase: String - profileMetadata_: RawMetadata_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 - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_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 - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - poolFunded: Boolean - poolFunded_not: Boolean - poolFunded_in: [Boolean!] - poolFunded_not_in: [Boolean!] - balance: BigInt - balance_not: BigInt - balance_gt: BigInt - balance_lt: BigInt - balance_gte: BigInt - balance_lte: BigInt - balance_in: [BigInt!] - balance_not_in: [BigInt!] - shipAllocation: BigInt - shipAllocation_not: BigInt - shipAllocation_gt: BigInt - shipAllocation_lt: BigInt - shipAllocation_gte: BigInt - shipAllocation_lte: BigInt - shipAllocation_in: [BigInt!] - shipAllocation_not_in: [BigInt!] - totalAvailableFunds: BigInt - totalAvailableFunds_not: BigInt - totalAvailableFunds_gt: BigInt - totalAvailableFunds_lt: BigInt - totalAvailableFunds_gte: BigInt - totalAvailableFunds_lte: BigInt - totalAvailableFunds_in: [BigInt!] - totalAvailableFunds_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocated: BigInt - totalAllocated_not: BigInt - totalAllocated_gt: BigInt - totalAllocated_lt: BigInt - totalAllocated_gte: BigInt - totalAllocated_lte: BigInt - totalAllocated_in: [BigInt!] - totalAllocated_not_in: [BigInt!] - totalDistributed: BigInt - totalDistributed_not: BigInt - totalDistributed_gt: BigInt - totalDistributed_lt: BigInt - totalDistributed_gte: BigInt - totalDistributed_lte: BigInt - totalDistributed_in: [BigInt!] - totalDistributed_not_in: [BigInt!] - grants_: Grant_filter - alloProfileMembers: String - alloProfileMembers_not: String - alloProfileMembers_gt: String - alloProfileMembers_lt: String - alloProfileMembers_gte: String - alloProfileMembers_lte: String - alloProfileMembers_in: [String!] - alloProfileMembers_not_in: [String!] - alloProfileMembers_contains: String - alloProfileMembers_contains_nocase: String - alloProfileMembers_not_contains: String - alloProfileMembers_not_contains_nocase: String - alloProfileMembers_starts_with: String - alloProfileMembers_starts_with_nocase: String - alloProfileMembers_not_starts_with: String - alloProfileMembers_not_starts_with_nocase: String - alloProfileMembers_ends_with: String - alloProfileMembers_ends_with_nocase: String - alloProfileMembers_not_ends_with: String - alloProfileMembers_not_ends_with_nocase: String - alloProfileMembers_: ProfileMemberGroup_filter - shipApplicationBytesData: Bytes - shipApplicationBytesData_not: Bytes - shipApplicationBytesData_gt: Bytes - shipApplicationBytesData_lt: Bytes - shipApplicationBytesData_gte: Bytes - shipApplicationBytesData_lte: Bytes - shipApplicationBytesData_in: [Bytes!] - shipApplicationBytesData_not_in: [Bytes!] - shipApplicationBytesData_contains: Bytes - shipApplicationBytesData_not_contains: Bytes - applicationSubmittedTime: BigInt - applicationSubmittedTime_not: BigInt - applicationSubmittedTime_gt: BigInt - applicationSubmittedTime_lt: BigInt - applicationSubmittedTime_gte: BigInt - applicationSubmittedTime_lte: BigInt - applicationSubmittedTime_in: [BigInt!] - applicationSubmittedTime_not_in: [BigInt!] - isAwaitingApproval: Boolean - isAwaitingApproval_not: Boolean - isAwaitingApproval_in: [Boolean!] - isAwaitingApproval_not_in: [Boolean!] - hasSubmittedApplication: Boolean - hasSubmittedApplication_not: Boolean - hasSubmittedApplication_in: [Boolean!] - hasSubmittedApplication_not_in: [Boolean!] - isApproved: Boolean - isApproved_not: Boolean - isApproved_in: [Boolean!] - isApproved_not_in: [Boolean!] - approvedTime: BigInt - approvedTime_not: BigInt - approvedTime_gt: BigInt - approvedTime_lt: BigInt - approvedTime_gte: BigInt - approvedTime_lte: BigInt - approvedTime_in: [BigInt!] - approvedTime_not_in: [BigInt!] - isRejected: Boolean - isRejected_not: Boolean - isRejected_in: [Boolean!] - isRejected_not_in: [Boolean!] - rejectedTime: BigInt - rejectedTime_not: BigInt - rejectedTime_gt: BigInt - rejectedTime_lt: BigInt - rejectedTime_gte: BigInt - rejectedTime_lte: BigInt - rejectedTime_in: [BigInt!] - rejectedTime_not_in: [BigInt!] - applicationReviewReason: String - applicationReviewReason_not: String - applicationReviewReason_gt: String - applicationReviewReason_lt: String - applicationReviewReason_gte: String - applicationReviewReason_lte: String - applicationReviewReason_in: [String!] - applicationReviewReason_not_in: [String!] - applicationReviewReason_contains: String - applicationReviewReason_contains_nocase: String - applicationReviewReason_not_contains: String - applicationReviewReason_not_contains_nocase: String - applicationReviewReason_starts_with: String - applicationReviewReason_starts_with_nocase: String - applicationReviewReason_not_starts_with: String - applicationReviewReason_not_starts_with_nocase: String - applicationReviewReason_ends_with: String - applicationReviewReason_ends_with_nocase: String - applicationReviewReason_not_ends_with: String - applicationReviewReason_not_ends_with_nocase: String - applicationReviewReason_: RawMetadata_filter - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - hatId: String - hatId_not: String - hatId_gt: String - hatId_lt: String - hatId_gte: String - hatId_lte: String - hatId_in: [String!] - hatId_not_in: [String!] - hatId_contains: String - hatId_contains_nocase: String - hatId_not_contains: String - hatId_not_contains_nocase: String - hatId_starts_with: String - hatId_starts_with_nocase: String - hatId_not_starts_with: String - hatId_not_starts_with_nocase: String - hatId_ends_with: String - hatId_ends_with_nocase: String - hatId_not_ends_with: String - hatId_not_ends_with_nocase: String - shipContractAddress: Bytes - shipContractAddress_not: Bytes - shipContractAddress_gt: Bytes - shipContractAddress_lt: Bytes - shipContractAddress_gte: Bytes - shipContractAddress_lte: Bytes - shipContractAddress_in: [Bytes!] - shipContractAddress_not_in: [Bytes!] - shipContractAddress_contains: Bytes - shipContractAddress_not_contains: Bytes - shipLaunched: Boolean - shipLaunched_not: Boolean - shipLaunched_in: [Boolean!] - shipLaunched_not_in: [Boolean!] - poolActive: Boolean - poolActive_not: Boolean - poolActive_in: [Boolean!] - poolActive_not_in: [Boolean!] - isAllocated: Boolean - isAllocated_not: Boolean - isAllocated_in: [Boolean!] - isAllocated_not_in: [Boolean!] - isDistributed: Boolean - isDistributed_not: Boolean - isDistributed_in: [Boolean!] - isDistributed_not_in: [Boolean!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GrantShip_filter] - or: [GrantShip_filter] -} - -enum GrantShip_orderBy { - id - profileId - nonce - name - profileMetadata - profileMetadata__id - profileMetadata__protocol - profileMetadata__pointer - owner - anchor - blockNumber - blockTimestamp - transactionHash - status - poolFunded - balance - shipAllocation - totalAvailableFunds - totalRoundAmount - totalAllocated - totalDistributed - grants - alloProfileMembers - alloProfileMembers__id - shipApplicationBytesData - applicationSubmittedTime - isAwaitingApproval - hasSubmittedApplication - isApproved - approvedTime - isRejected - rejectedTime - applicationReviewReason - applicationReviewReason__id - applicationReviewReason__protocol - applicationReviewReason__pointer - poolId - hatId - shipContractAddress - shipLaunched - poolActive - isAllocated - isDistributed -} - -input Grant_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - projectId: String - projectId_not: String - projectId_gt: String - projectId_lt: String - projectId_gte: String - projectId_lte: String - projectId_in: [String!] - projectId_not_in: [String!] - projectId_contains: String - projectId_contains_nocase: String - projectId_not_contains: String - projectId_not_contains_nocase: String - projectId_starts_with: String - projectId_starts_with_nocase: String - projectId_not_starts_with: String - projectId_not_starts_with_nocase: String - projectId_ends_with: String - projectId_ends_with_nocase: String - projectId_not_ends_with: String - projectId_not_ends_with_nocase: String - projectId_: Project_filter - shipId: String - shipId_not: String - shipId_gt: String - shipId_lt: String - shipId_gte: String - shipId_lte: String - shipId_in: [String!] - shipId_not_in: [String!] - shipId_contains: String - shipId_contains_nocase: String - shipId_not_contains: String - shipId_not_contains_nocase: String - shipId_starts_with: String - shipId_starts_with_nocase: String - shipId_not_starts_with: String - shipId_not_starts_with_nocase: String - shipId_ends_with: String - shipId_ends_with_nocase: String - shipId_not_ends_with: String - shipId_not_ends_with_nocase: String - shipId_: GrantShip_filter - lastUpdated: BigInt - lastUpdated_not: BigInt - lastUpdated_gt: BigInt - lastUpdated_lt: BigInt - lastUpdated_gte: BigInt - lastUpdated_lte: BigInt - lastUpdated_in: [BigInt!] - lastUpdated_not_in: [BigInt!] - hasResubmitted: Boolean - hasResubmitted_not: Boolean - hasResubmitted_in: [Boolean!] - hasResubmitted_not_in: [Boolean!] - grantStatus: Int - grantStatus_not: Int - grantStatus_gt: Int - grantStatus_lt: Int - grantStatus_gte: Int - grantStatus_lte: Int - grantStatus_in: [Int!] - grantStatus_not_in: [Int!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] - currentMilestoneIndex: BigInt - currentMilestoneIndex_not: BigInt - currentMilestoneIndex_gt: BigInt - currentMilestoneIndex_lt: BigInt - currentMilestoneIndex_gte: BigInt - currentMilestoneIndex_lte: BigInt - currentMilestoneIndex_in: [BigInt!] - currentMilestoneIndex_not_in: [BigInt!] - milestonesAmount: BigInt - milestonesAmount_not: BigInt - milestonesAmount_gt: BigInt - milestonesAmount_lt: BigInt - milestonesAmount_gte: BigInt - milestonesAmount_lte: BigInt - milestonesAmount_in: [BigInt!] - milestonesAmount_not_in: [BigInt!] - milestones: [String!] - milestones_not: [String!] - milestones_contains: [String!] - milestones_contains_nocase: [String!] - milestones_not_contains: [String!] - milestones_not_contains_nocase: [String!] - milestones_: Milestone_filter - shipApprovalReason: String - shipApprovalReason_not: String - shipApprovalReason_gt: String - shipApprovalReason_lt: String - shipApprovalReason_gte: String - shipApprovalReason_lte: String - shipApprovalReason_in: [String!] - shipApprovalReason_not_in: [String!] - shipApprovalReason_contains: String - shipApprovalReason_contains_nocase: String - shipApprovalReason_not_contains: String - shipApprovalReason_not_contains_nocase: String - shipApprovalReason_starts_with: String - shipApprovalReason_starts_with_nocase: String - shipApprovalReason_not_starts_with: String - shipApprovalReason_not_starts_with_nocase: String - shipApprovalReason_ends_with: String - shipApprovalReason_ends_with_nocase: String - shipApprovalReason_not_ends_with: String - shipApprovalReason_not_ends_with_nocase: String - shipApprovalReason_: RawMetadata_filter - hasShipApproved: Boolean - hasShipApproved_not: Boolean - hasShipApproved_in: [Boolean!] - hasShipApproved_not_in: [Boolean!] - amtAllocated: BigInt - amtAllocated_not: BigInt - amtAllocated_gt: BigInt - amtAllocated_lt: BigInt - amtAllocated_gte: BigInt - amtAllocated_lte: BigInt - amtAllocated_in: [BigInt!] - amtAllocated_not_in: [BigInt!] - amtDistributed: BigInt - amtDistributed_not: BigInt - amtDistributed_gt: BigInt - amtDistributed_lt: BigInt - amtDistributed_gte: BigInt - amtDistributed_lte: BigInt - amtDistributed_in: [BigInt!] - amtDistributed_not_in: [BigInt!] - allocatedBy: Bytes - allocatedBy_not: Bytes - allocatedBy_gt: Bytes - allocatedBy_lt: Bytes - allocatedBy_gte: Bytes - allocatedBy_lte: Bytes - allocatedBy_in: [Bytes!] - allocatedBy_not_in: [Bytes!] - allocatedBy_contains: Bytes - allocatedBy_not_contains: Bytes - facilitatorReason: String - facilitatorReason_not: String - facilitatorReason_gt: String - facilitatorReason_lt: String - facilitatorReason_gte: String - facilitatorReason_lte: String - facilitatorReason_in: [String!] - facilitatorReason_not_in: [String!] - facilitatorReason_contains: String - facilitatorReason_contains_nocase: String - facilitatorReason_not_contains: String - facilitatorReason_not_contains_nocase: String - facilitatorReason_starts_with: String - facilitatorReason_starts_with_nocase: String - facilitatorReason_not_starts_with: String - facilitatorReason_not_starts_with_nocase: String - facilitatorReason_ends_with: String - facilitatorReason_ends_with_nocase: String - facilitatorReason_not_ends_with: String - facilitatorReason_not_ends_with_nocase: String - facilitatorReason_: RawMetadata_filter - hasFacilitatorApproved: Boolean - hasFacilitatorApproved_not: Boolean - hasFacilitatorApproved_in: [Boolean!] - hasFacilitatorApproved_not_in: [Boolean!] - milestonesApproved: Boolean - milestonesApproved_not: Boolean - milestonesApproved_in: [Boolean!] - milestonesApproved_not_in: [Boolean!] - milestonesApprovedReason: String - milestonesApprovedReason_not: String - milestonesApprovedReason_gt: String - milestonesApprovedReason_lt: String - milestonesApprovedReason_gte: String - milestonesApprovedReason_lte: String - milestonesApprovedReason_in: [String!] - milestonesApprovedReason_not_in: [String!] - milestonesApprovedReason_contains: String - milestonesApprovedReason_contains_nocase: String - milestonesApprovedReason_not_contains: String - milestonesApprovedReason_not_contains_nocase: String - milestonesApprovedReason_starts_with: String - milestonesApprovedReason_starts_with_nocase: String - milestonesApprovedReason_not_starts_with: String - milestonesApprovedReason_not_starts_with_nocase: String - milestonesApprovedReason_ends_with: String - milestonesApprovedReason_ends_with_nocase: String - milestonesApprovedReason_not_ends_with: String - milestonesApprovedReason_not_ends_with_nocase: String - milestonesApprovedReason_: RawMetadata_filter - currentMilestoneRejectedReason: String - currentMilestoneRejectedReason_not: String - currentMilestoneRejectedReason_gt: String - currentMilestoneRejectedReason_lt: String - currentMilestoneRejectedReason_gte: String - currentMilestoneRejectedReason_lte: String - currentMilestoneRejectedReason_in: [String!] - currentMilestoneRejectedReason_not_in: [String!] - currentMilestoneRejectedReason_contains: String - currentMilestoneRejectedReason_contains_nocase: String - currentMilestoneRejectedReason_not_contains: String - currentMilestoneRejectedReason_not_contains_nocase: String - currentMilestoneRejectedReason_starts_with: String - currentMilestoneRejectedReason_starts_with_nocase: String - currentMilestoneRejectedReason_not_starts_with: String - currentMilestoneRejectedReason_not_starts_with_nocase: String - currentMilestoneRejectedReason_ends_with: String - currentMilestoneRejectedReason_ends_with_nocase: String - currentMilestoneRejectedReason_not_ends_with: String - currentMilestoneRejectedReason_not_ends_with_nocase: String - currentMilestoneRejectedReason_: RawMetadata_filter - resubmitHistory: [String!] - resubmitHistory_not: [String!] - resubmitHistory_contains: [String!] - resubmitHistory_contains_nocase: [String!] - resubmitHistory_not_contains: [String!] - resubmitHistory_not_contains_nocase: [String!] - resubmitHistory_: ApplicationHistory_filter - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Grant_filter] - or: [Grant_filter] -} - -enum Grant_orderBy { +""" +Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. +""" +input Boolean_comparison_exp { + _eq: Boolean + _gt: Boolean + _gte: Boolean + _in: [Boolean!] + _is_null: Boolean + _lt: Boolean + _lte: Boolean + _neq: Boolean + _nin: [Boolean!] +} + +""" +columns and relationships of "Contest" +""" +type Contest { + """An object relationship""" + choicesModule: StemModule + choicesModule_id: String! + contestAddress: String! + contestStatus: numeric! + contestVersion: String! + db_write_timestamp: timestamp + """An object relationship""" + executionModule: StemModule + executionModule_id: String! + filterTag: String! + id: String! + isContinuous: Boolean! + isRetractable: Boolean! + """An object relationship""" + pointsModule: StemModule + pointsModule_id: String! + """An object relationship""" + votesModule: StemModule + votesModule_id: String! +} + +""" +columns and relationships of "ContestClone" +""" +type ContestClone { + contestAddress: String! + contestVersion: String! + db_write_timestamp: timestamp + filterTag: String! + id: String! +} + +""" +Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. +""" +input ContestClone_bool_exp { + _and: [ContestClone_bool_exp!] + _not: ContestClone_bool_exp + _or: [ContestClone_bool_exp!] + contestAddress: String_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + filterTag: String_comparison_exp + id: String_comparison_exp +} + +"""Ordering options when selecting data from "ContestClone".""" +input ContestClone_order_by { + contestAddress: order_by + contestVersion: order_by + db_write_timestamp: order_by + filterTag: order_by + id: order_by +} + +""" +select columns of table "ContestClone" +""" +enum ContestClone_select_column { + """column name""" + contestAddress + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" + filterTag + """column name""" + id +} + +""" +Streaming cursor of the table "ContestClone" +""" +input ContestClone_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ContestClone_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ContestClone_stream_cursor_value_input { + contestAddress: String + contestVersion: String + db_write_timestamp: timestamp + filterTag: String + id: String +} + +""" +columns and relationships of "ContestTemplate" +""" +type ContestTemplate { + active: Boolean! + contestAddress: String! + contestVersion: String! + db_write_timestamp: timestamp + id: String! + mdPointer: String! + mdProtocol: numeric! +} + +""" +Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. +""" +input ContestTemplate_bool_exp { + _and: [ContestTemplate_bool_exp!] + _not: ContestTemplate_bool_exp + _or: [ContestTemplate_bool_exp!] + active: Boolean_comparison_exp + contestAddress: String_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp +} + +"""Ordering options when selecting data from "ContestTemplate".""" +input ContestTemplate_order_by { + active: order_by + contestAddress: order_by + contestVersion: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by +} + +""" +select columns of table "ContestTemplate" +""" +enum ContestTemplate_select_column { + """column name""" + active + """column name""" + contestAddress + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" id - projectId - projectId__id - projectId__profileId - projectId__status - projectId__nonce - projectId__name - projectId__owner - projectId__anchor - projectId__blockNumber - projectId__blockTimestamp - projectId__transactionHash - projectId__totalAmountReceived - shipId - shipId__id - shipId__profileId - shipId__nonce - shipId__name - shipId__owner - shipId__anchor - shipId__blockNumber - shipId__blockTimestamp - shipId__transactionHash - shipId__status - shipId__poolFunded - shipId__balance - shipId__shipAllocation - shipId__totalAvailableFunds - shipId__totalRoundAmount - shipId__totalAllocated - shipId__totalDistributed - shipId__shipApplicationBytesData - shipId__applicationSubmittedTime - shipId__isAwaitingApproval - shipId__hasSubmittedApplication - shipId__isApproved - shipId__approvedTime - shipId__isRejected - shipId__rejectedTime - shipId__poolId - shipId__hatId - shipId__shipContractAddress - shipId__shipLaunched - shipId__poolActive - shipId__isAllocated - shipId__isDistributed - lastUpdated - hasResubmitted - grantStatus - grantApplicationBytes - applicationSubmitted - currentMilestoneIndex - milestonesAmount - milestones - shipApprovalReason - shipApprovalReason__id - shipApprovalReason__protocol - shipApprovalReason__pointer - hasShipApproved - amtAllocated - amtDistributed - allocatedBy - facilitatorReason - facilitatorReason__id - facilitatorReason__protocol - facilitatorReason__pointer - hasFacilitatorApproved - milestonesApproved - milestonesApprovedReason - milestonesApprovedReason__id - milestonesApprovedReason__protocol - milestonesApprovedReason__pointer - currentMilestoneRejectedReason - currentMilestoneRejectedReason__id - currentMilestoneRejectedReason__protocol - currentMilestoneRejectedReason__pointer - resubmitHistory + """column name""" + mdPointer + """column name""" + mdProtocol } """ -8 bytes signed integer +Streaming cursor of the table "ContestTemplate" +""" +input ContestTemplate_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ContestTemplate_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ContestTemplate_stream_cursor_value_input { + active: Boolean + contestAddress: String + contestVersion: String + db_write_timestamp: timestamp + id: String + mdPointer: String + mdProtocol: numeric +} """ -scalar Int8 +Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. +""" +input Contest_bool_exp { + _and: [Contest_bool_exp!] + _not: Contest_bool_exp + _or: [Contest_bool_exp!] + choicesModule: StemModule_bool_exp + choicesModule_id: String_comparison_exp + contestAddress: String_comparison_exp + contestStatus: numeric_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + executionModule: StemModule_bool_exp + executionModule_id: String_comparison_exp + filterTag: String_comparison_exp + id: String_comparison_exp + isContinuous: Boolean_comparison_exp + isRetractable: Boolean_comparison_exp + pointsModule: StemModule_bool_exp + pointsModule_id: String_comparison_exp + votesModule: StemModule_bool_exp + votesModule_id: String_comparison_exp +} -type Log { - id: ID! - message: String! - description: String - type: String +"""Ordering options when selecting data from "Contest".""" +input Contest_order_by { + choicesModule: StemModule_order_by + choicesModule_id: order_by + contestAddress: order_by + contestStatus: order_by + contestVersion: order_by + db_write_timestamp: order_by + executionModule: StemModule_order_by + executionModule_id: order_by + filterTag: order_by + id: order_by + isContinuous: order_by + isRetractable: order_by + pointsModule: StemModule_order_by + pointsModule_id: order_by + votesModule: StemModule_order_by + votesModule_id: order_by } -input Log_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - message: String - message_not: String - message_gt: String - message_lt: String - message_gte: String - message_lte: String - message_in: [String!] - message_not_in: [String!] - message_contains: String - message_contains_nocase: String - message_not_contains: String - message_not_contains_nocase: String - message_starts_with: String - message_starts_with_nocase: String - message_not_starts_with: String - message_not_starts_with_nocase: String - message_ends_with: String - message_ends_with_nocase: String - message_not_ends_with: String - message_not_ends_with_nocase: String - 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_contains: String - description_contains_nocase: String - description_not_contains: String - description_not_contains_nocase: 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 - type: String - type_not: String - type_gt: String - type_lt: String - type_gte: String - type_lte: String - type_in: [String!] - type_not_in: [String!] - type_contains: String - type_contains_nocase: String - type_not_contains: String - type_not_contains_nocase: String - type_starts_with: String - type_starts_with_nocase: String - type_not_starts_with: String - type_not_starts_with_nocase: String - type_ends_with: String - type_ends_with_nocase: String - type_not_ends_with: String - type_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Log_filter] - or: [Log_filter] +""" +select columns of table "Contest" +""" +enum Contest_select_column { + """column name""" + choicesModule_id + """column name""" + contestAddress + """column name""" + contestStatus + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" + executionModule_id + """column name""" + filterTag + """column name""" + id + """column name""" + isContinuous + """column name""" + isRetractable + """column name""" + pointsModule_id + """column name""" + votesModule_id +} + +""" +Streaming cursor of the table "Contest" +""" +input Contest_stream_cursor_input { + """Stream column input with initial value""" + initial_value: Contest_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -enum Log_orderBy { - id - message - description - type +"""Initial value of the column from where the streaming should start""" +input Contest_stream_cursor_value_input { + choicesModule_id: String + contestAddress: String + contestStatus: numeric + contestVersion: String + db_write_timestamp: timestamp + executionModule_id: String + filterTag: String + id: String + isContinuous: Boolean + isRetractable: Boolean + pointsModule_id: String + votesModule_id: String } -type Milestone { - id: ID! - amountPercentage: Bytes! - mmetadata: BigInt! - amount: BigInt! - status: Int! - lastUpdated: BigInt! +""" +columns and relationships of "ERCPointParams" +""" +type ERCPointParams { + db_write_timestamp: timestamp + id: String! + voteTokenAddress: String! + votingCheckpoint: numeric! } -input Milestone_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - amountPercentage: Bytes - amountPercentage_not: Bytes - amountPercentage_gt: Bytes - amountPercentage_lt: Bytes - amountPercentage_gte: Bytes - amountPercentage_lte: Bytes - amountPercentage_in: [Bytes!] - amountPercentage_not_in: [Bytes!] - amountPercentage_contains: Bytes - amountPercentage_not_contains: Bytes - mmetadata: BigInt - mmetadata_not: BigInt - mmetadata_gt: BigInt - mmetadata_lt: BigInt - mmetadata_gte: BigInt - mmetadata_lte: BigInt - mmetadata_in: [BigInt!] - mmetadata_not_in: [BigInt!] - amount: BigInt - amount_not: BigInt - amount_gt: BigInt - amount_lt: BigInt - amount_gte: BigInt - amount_lte: BigInt - amount_in: [BigInt!] - amount_not_in: [BigInt!] - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - lastUpdated: BigInt - lastUpdated_not: BigInt - lastUpdated_gt: BigInt - lastUpdated_lt: BigInt - lastUpdated_gte: BigInt - lastUpdated_lte: BigInt - lastUpdated_in: [BigInt!] - lastUpdated_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Milestone_filter] - or: [Milestone_filter] +""" +Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. +""" +input ERCPointParams_bool_exp { + _and: [ERCPointParams_bool_exp!] + _not: ERCPointParams_bool_exp + _or: [ERCPointParams_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + voteTokenAddress: String_comparison_exp + votingCheckpoint: numeric_comparison_exp } -enum Milestone_orderBy { - id - amountPercentage - mmetadata - amount - status - lastUpdated +"""Ordering options when selecting data from "ERCPointParams".""" +input ERCPointParams_order_by { + db_write_timestamp: order_by + id: order_by + voteTokenAddress: order_by + votingCheckpoint: order_by } -"""Defines the order direction, either ascending or descending""" -enum OrderDirection { - asc - desc +""" +select columns of table "ERCPointParams" +""" +enum ERCPointParams_select_column { + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + voteTokenAddress + """column name""" + votingCheckpoint } -type PoolIdLookup { - id: ID! - entityId: Bytes! +""" +Streaming cursor of the table "ERCPointParams" +""" +input ERCPointParams_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ERCPointParams_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -input PoolIdLookup_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - entityId: Bytes - entityId_not: Bytes - entityId_gt: Bytes - entityId_lt: Bytes - entityId_gte: Bytes - entityId_lte: Bytes - entityId_in: [Bytes!] - entityId_not_in: [Bytes!] - entityId_contains: Bytes - entityId_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [PoolIdLookup_filter] - or: [PoolIdLookup_filter] +"""Initial value of the column from where the streaming should start""" +input ERCPointParams_stream_cursor_value_input { + db_write_timestamp: timestamp + id: String + voteTokenAddress: String + votingCheckpoint: numeric } -enum PoolIdLookup_orderBy { - id - entityId +""" +columns and relationships of "EnvioTX" +""" +type EnvioTX { + blockNumber: numeric! + db_write_timestamp: timestamp + id: String! + srcAddress: String! + txHash: String! + txOrigin: String } -type ProfileIdToAnchor { - id: ID! - profileId: Bytes! - anchor: Bytes! +""" +Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. +""" +input EnvioTX_bool_exp { + _and: [EnvioTX_bool_exp!] + _not: EnvioTX_bool_exp + _or: [EnvioTX_bool_exp!] + blockNumber: numeric_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + srcAddress: String_comparison_exp + txHash: String_comparison_exp + txOrigin: String_comparison_exp } -input ProfileIdToAnchor_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ProfileIdToAnchor_filter] - or: [ProfileIdToAnchor_filter] +"""Ordering options when selecting data from "EnvioTX".""" +input EnvioTX_order_by { + blockNumber: order_by + db_write_timestamp: order_by + id: order_by + srcAddress: order_by + txHash: order_by + txOrigin: order_by } -enum ProfileIdToAnchor_orderBy { +""" +select columns of table "EnvioTX" +""" +enum EnvioTX_select_column { + """column name""" + blockNumber + """column name""" + db_write_timestamp + """column name""" id - profileId - anchor + """column name""" + srcAddress + """column name""" + txHash + """column name""" + txOrigin } -type ProfileMemberGroup { - id: Bytes! - addresses: [Bytes!] +""" +Streaming cursor of the table "EnvioTX" +""" +input EnvioTX_stream_cursor_input { + """Stream column input with initial value""" + initial_value: EnvioTX_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -input ProfileMemberGroup_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 - addresses: [Bytes!] - addresses_not: [Bytes!] - addresses_contains: [Bytes!] - addresses_contains_nocase: [Bytes!] - addresses_not_contains: [Bytes!] - addresses_not_contains_nocase: [Bytes!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ProfileMemberGroup_filter] - or: [ProfileMemberGroup_filter] +"""Initial value of the column from where the streaming should start""" +input EnvioTX_stream_cursor_value_input { + blockNumber: numeric + db_write_timestamp: timestamp + id: String + srcAddress: String + txHash: String + txOrigin: String } -enum ProfileMemberGroup_orderBy { - id - addresses +""" +columns and relationships of "EventPost" +""" +type EventPost { + db_write_timestamp: timestamp + hatId: numeric! + """An object relationship""" + hatsPoster: HatsPoster + hatsPoster_id: String! + id: String! + mdPointer: String! + mdProtocol: numeric! + tag: String! } -type Project { - id: Bytes! - profileId: Bytes! - status: Int! - nonce: BigInt! - name: String! - metadata: RawMetadata! - owner: Bytes! - anchor: Bytes! - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! - grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! - members: ProfileMemberGroup - totalAmountReceived: BigInt! +""" +order by aggregate values of table "EventPost" +""" +input EventPost_aggregate_order_by { + avg: EventPost_avg_order_by + count: order_by + max: EventPost_max_order_by + min: EventPost_min_order_by + stddev: EventPost_stddev_order_by + stddev_pop: EventPost_stddev_pop_order_by + stddev_samp: EventPost_stddev_samp_order_by + sum: EventPost_sum_order_by + var_pop: EventPost_var_pop_order_by + var_samp: EventPost_var_samp_order_by + variance: EventPost_variance_order_by } - -input Project_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 - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - nonce: BigInt - nonce_not: BigInt - nonce_gt: BigInt - nonce_lt: BigInt - nonce_gte: BigInt - nonce_lte: BigInt - nonce_in: [BigInt!] - nonce_not_in: [BigInt!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - metadata: String - metadata_not: String - metadata_gt: String - metadata_lt: String - metadata_gte: String - metadata_lte: String - metadata_in: [String!] - metadata_not_in: [String!] - metadata_contains: String - metadata_contains_nocase: String - metadata_not_contains: String - metadata_not_contains_nocase: String - metadata_starts_with: String - metadata_starts_with_nocase: String - metadata_not_starts_with: String - metadata_not_starts_with_nocase: String - metadata_ends_with: String - metadata_ends_with_nocase: String - metadata_not_ends_with: String - metadata_not_ends_with_nocase: String - metadata_: RawMetadata_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 - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_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 - grants_: Grant_filter - members: String - members_not: String - members_gt: String - members_lt: String - members_gte: String - members_lte: String - members_in: [String!] - members_not_in: [String!] - members_contains: String - members_contains_nocase: String - members_not_contains: String - members_not_contains_nocase: String - members_starts_with: String - members_starts_with_nocase: String - members_not_starts_with: String - members_not_starts_with_nocase: String - members_ends_with: String - members_ends_with_nocase: String - members_not_ends_with: String - members_not_ends_with_nocase: String - members_: ProfileMemberGroup_filter - totalAmountReceived: BigInt - totalAmountReceived_not: BigInt - totalAmountReceived_gt: BigInt - totalAmountReceived_lt: BigInt - totalAmountReceived_gte: BigInt - totalAmountReceived_lte: BigInt - totalAmountReceived_in: [BigInt!] - totalAmountReceived_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Project_filter] - or: [Project_filter] + +""" +order by avg() on columns of table "EventPost" +""" +input EventPost_avg_order_by { + hatId: order_by + mdProtocol: order_by } -enum Project_orderBy { - id - profileId - status - nonce - name - metadata - metadata__id - metadata__protocol - metadata__pointer - owner - anchor - blockNumber - blockTimestamp - transactionHash - grants - members - members__id - totalAmountReceived +""" +Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. +""" +input EventPost_bool_exp { + _and: [EventPost_bool_exp!] + _not: EventPost_bool_exp + _or: [EventPost_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + hatId: numeric_comparison_exp + hatsPoster: HatsPoster_bool_exp + hatsPoster_id: String_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + tag: String_comparison_exp } -type RawMetadata { - id: String! - protocol: BigInt! - pointer: String! +""" +order by max() on columns of table "EventPost" +""" +input EventPost_max_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by } -input RawMetadata_filter { - id: String - id_not: String - id_gt: String - id_lt: String - id_gte: String - id_lte: String - id_in: [String!] - id_not_in: [String!] - id_contains: String - id_contains_nocase: String - id_not_contains: String - id_not_contains_nocase: String - id_starts_with: String - id_starts_with_nocase: String - id_not_starts_with: String - id_not_starts_with_nocase: String - id_ends_with: String - id_ends_with_nocase: String - id_not_ends_with: String - id_not_ends_with_nocase: String - protocol: BigInt - protocol_not: BigInt - protocol_gt: BigInt - protocol_lt: BigInt - protocol_gte: BigInt - protocol_lte: BigInt - protocol_in: [BigInt!] - protocol_not_in: [BigInt!] - pointer: String - pointer_not: String - pointer_gt: String - pointer_lt: String - pointer_gte: String - pointer_lte: String - pointer_in: [String!] - pointer_not_in: [String!] - pointer_contains: String - pointer_contains_nocase: String - pointer_not_contains: String - pointer_not_contains_nocase: String - pointer_starts_with: String - pointer_starts_with_nocase: String - pointer_not_starts_with: String - pointer_not_starts_with_nocase: String - pointer_ends_with: String - pointer_ends_with_nocase: String - pointer_not_ends_with: String - pointer_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [RawMetadata_filter] - or: [RawMetadata_filter] +""" +order by min() on columns of table "EventPost" +""" +input EventPost_min_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by } -enum RawMetadata_orderBy { +"""Ordering options when selecting data from "EventPost".""" +input EventPost_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster: HatsPoster_order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by +} + +""" +select columns of table "EventPost" +""" +enum EventPost_select_column { + """column name""" + db_write_timestamp + """column name""" + hatId + """column name""" + hatsPoster_id + """column name""" id - protocol - pointer + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + tag } """ -A string representation of microseconds UNIX timestamp (16 digits) +order by stddev() on columns of table "EventPost" +""" +input EventPost_stddev_order_by { + hatId: order_by + mdProtocol: order_by +} """ -scalar Timestamp +order by stddev_pop() on columns of table "EventPost" +""" +input EventPost_stddev_pop_order_by { + hatId: order_by + mdProtocol: order_by +} -type Transaction { - id: ID! - blockNumber: BigInt! - sender: Bytes! - txHash: Bytes! +""" +order by stddev_samp() on columns of table "EventPost" +""" +input EventPost_stddev_samp_order_by { + hatId: order_by + mdProtocol: order_by } -input Transaction_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - blockNumber: BigInt - blockNumber_not: BigInt - blockNumber_gt: BigInt - blockNumber_lt: BigInt - blockNumber_gte: BigInt - blockNumber_lte: BigInt - blockNumber_in: [BigInt!] - blockNumber_not_in: [BigInt!] - sender: Bytes - sender_not: Bytes - sender_gt: Bytes - sender_lt: Bytes - sender_gte: Bytes - sender_lte: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_not_contains: Bytes - txHash: Bytes - txHash_not: Bytes - txHash_gt: Bytes - txHash_lt: Bytes - txHash_gte: Bytes - txHash_lte: Bytes - txHash_in: [Bytes!] - txHash_not_in: [Bytes!] - txHash_contains: Bytes - txHash_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Transaction_filter] - or: [Transaction_filter] +""" +Streaming cursor of the table "EventPost" +""" +input EventPost_stream_cursor_input { + """Stream column input with initial value""" + initial_value: EventPost_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input EventPost_stream_cursor_value_input { + db_write_timestamp: timestamp + hatId: numeric + hatsPoster_id: String + id: String + mdPointer: String + mdProtocol: numeric + tag: String +} + +""" +order by sum() on columns of table "EventPost" +""" +input EventPost_sum_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_pop() on columns of table "EventPost" +""" +input EventPost_var_pop_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_samp() on columns of table "EventPost" +""" +input EventPost_var_samp_order_by { + hatId: order_by + mdProtocol: order_by } -enum Transaction_orderBy { - id - blockNumber - sender - txHash +""" +order by variance() on columns of table "EventPost" +""" +input EventPost_variance_order_by { + hatId: order_by + mdProtocol: order_by } -type Update { - id: ID! - scope: Int! - posterRole: Int! - entityAddress: Bytes! - postedBy: Bytes! - content: RawMetadata! - contentSchema: Int! - postDecorator: Int! - timestamp: BigInt! +""" +columns and relationships of "FactoryEventsSummary" +""" +type FactoryEventsSummary { + address: String! + admins: _text! + contestBuiltCount: numeric! + contestCloneCount: numeric! + contestTemplateCount: numeric! + db_write_timestamp: timestamp + id: String! + moduleCloneCount: numeric! + moduleTemplateCount: numeric! } -input Update_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - scope: Int - scope_not: Int - scope_gt: Int - scope_lt: Int - scope_gte: Int - scope_lte: Int - scope_in: [Int!] - scope_not_in: [Int!] - posterRole: Int - posterRole_not: Int - posterRole_gt: Int - posterRole_lt: Int - posterRole_gte: Int - posterRole_lte: Int - posterRole_in: [Int!] - posterRole_not_in: [Int!] - entityAddress: Bytes - entityAddress_not: Bytes - entityAddress_gt: Bytes - entityAddress_lt: Bytes - entityAddress_gte: Bytes - entityAddress_lte: Bytes - entityAddress_in: [Bytes!] - entityAddress_not_in: [Bytes!] - entityAddress_contains: Bytes - entityAddress_not_contains: Bytes - postedBy: Bytes - postedBy_not: Bytes - postedBy_gt: Bytes - postedBy_lt: Bytes - postedBy_gte: Bytes - postedBy_lte: Bytes - postedBy_in: [Bytes!] - postedBy_not_in: [Bytes!] - postedBy_contains: Bytes - postedBy_not_contains: Bytes - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - content_: RawMetadata_filter - contentSchema: Int - contentSchema_not: Int - contentSchema_gt: Int - contentSchema_lt: Int - contentSchema_gte: Int - contentSchema_lte: Int - contentSchema_in: [Int!] - contentSchema_not_in: [Int!] - postDecorator: Int - postDecorator_not: Int - postDecorator_gt: Int - postDecorator_lt: Int - postDecorator_gte: Int - postDecorator_lte: Int - postDecorator_in: [Int!] - postDecorator_not_in: [Int!] - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Update_filter] - or: [Update_filter] +""" +Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. +""" +input FactoryEventsSummary_bool_exp { + _and: [FactoryEventsSummary_bool_exp!] + _not: FactoryEventsSummary_bool_exp + _or: [FactoryEventsSummary_bool_exp!] + address: String_comparison_exp + admins: _text_comparison_exp + contestBuiltCount: numeric_comparison_exp + contestCloneCount: numeric_comparison_exp + contestTemplateCount: numeric_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + moduleCloneCount: numeric_comparison_exp + moduleTemplateCount: numeric_comparison_exp } -enum Update_orderBy { +"""Ordering options when selecting data from "FactoryEventsSummary".""" +input FactoryEventsSummary_order_by { + address: order_by + admins: order_by + contestBuiltCount: order_by + contestCloneCount: order_by + contestTemplateCount: order_by + db_write_timestamp: order_by + id: order_by + moduleCloneCount: order_by + moduleTemplateCount: order_by +} + +""" +select columns of table "FactoryEventsSummary" +""" +enum FactoryEventsSummary_select_column { + """column name""" + address + """column name""" + admins + """column name""" + contestBuiltCount + """column name""" + contestCloneCount + """column name""" + contestTemplateCount + """column name""" + db_write_timestamp + """column name""" id - scope - posterRole - entityAddress - postedBy - content - content__id - content__protocol - content__pointer - contentSchema - postDecorator - timestamp + """column name""" + moduleCloneCount + """column name""" + moduleTemplateCount } -type _Block_ { - """The hash of the block""" - hash: Bytes - """The block number""" - number: Int! - """Integer representation of the timestamp stored in blocks for the chain""" - timestamp: Int - """The hash of the parent block""" - parentHash: Bytes +""" +Streaming cursor of the table "FactoryEventsSummary" +""" +input FactoryEventsSummary_stream_cursor_input { + """Stream column input with initial value""" + initial_value: FactoryEventsSummary_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -"""The type for the top-level _meta field""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - - """ - block: _Block_! - """The deployment ID""" - deployment: String! - """If `true`, the subgraph encountered indexing errors at some past block""" - hasIndexingErrors: Boolean! +"""Initial value of the column from where the streaming should start""" +input FactoryEventsSummary_stream_cursor_value_input { + address: String + admins: _text + contestBuiltCount: numeric + contestCloneCount: numeric + contestTemplateCount: numeric + db_write_timestamp: timestamp + id: String + moduleCloneCount: numeric + moduleTemplateCount: numeric +} + +""" +columns and relationships of "GSVoter" +""" +type GSVoter { + address: String! + db_write_timestamp: timestamp + id: String! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! +} + +""" +Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. +""" +input GSVoter_bool_exp { + _and: [GSVoter_bool_exp!] + _not: GSVoter_bool_exp + _or: [GSVoter_bool_exp!] + address: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + votes: ShipVote_bool_exp } -enum _SubgraphErrorPolicy_ { - """Data will be returned even if the subgraph has indexing errors""" - allow - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny +"""Ordering options when selecting data from "GSVoter".""" +input GSVoter_order_by { + address: order_by + db_write_timestamp: order_by + id: order_by + votes_aggregate: ShipVote_aggregate_order_by } """ -Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. +select columns of table "GSVoter" """ -input Boolean_comparison_exp { - _eq: Boolean - _gt: Boolean - _gte: Boolean - _in: [Boolean!] - _is_null: Boolean - _lt: Boolean - _lte: Boolean - _neq: Boolean - _nin: [Boolean!] +enum GSVoter_select_column { + """column name""" + address + """column name""" + db_write_timestamp + """column name""" + id } """ -columns and relationships of "Contest" +Streaming cursor of the table "GSVoter" """ -type Contest { - """An object relationship""" - choicesModule: StemModule - choicesModule_id: String! - contestAddress: String! - contestStatus: numeric! - contestVersion: String! +input GSVoter_stream_cursor_input { + """Stream column input with initial value""" + initial_value: GSVoter_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input GSVoter_stream_cursor_value_input { + address: String db_write_timestamp: timestamp - """An object relationship""" - executionModule: StemModule - executionModule_id: String! - filterTag: String! - id: String! - isContinuous: Boolean! - isRetractable: Boolean! - """An object relationship""" - pointsModule: StemModule - pointsModule_id: String! - """An object relationship""" - votesModule: StemModule - votesModule_id: String! + id: String } """ -columns and relationships of "ContestClone" +columns and relationships of "GrantShipsVoting" """ -type ContestClone { - contestAddress: String! - contestVersion: String! +type GrantShipsVoting { + """An array relationship""" + choices( + """distinct select on columns""" + distinct_on: [ShipChoice_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipChoice_order_by!] + """filter the rows returned""" + where: ShipChoice_bool_exp + ): [ShipChoice!]! + """An object relationship""" + contest: Contest + contest_id: String! db_write_timestamp: timestamp - filterTag: String! + endTime: numeric + hatId: numeric! + hatsAddress: String! id: String! + isVotingActive: Boolean! + startTime: numeric + totalVotes: numeric! + voteDuration: numeric! + voteTokenAddress: String! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! + votingCheckpoint: numeric! } """ -Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. """ -input ContestClone_bool_exp { - _and: [ContestClone_bool_exp!] - _not: ContestClone_bool_exp - _or: [ContestClone_bool_exp!] - contestAddress: String_comparison_exp - contestVersion: String_comparison_exp +input GrantShipsVoting_bool_exp { + _and: [GrantShipsVoting_bool_exp!] + _not: GrantShipsVoting_bool_exp + _or: [GrantShipsVoting_bool_exp!] + choices: ShipChoice_bool_exp + contest: Contest_bool_exp + contest_id: String_comparison_exp db_write_timestamp: timestamp_comparison_exp - filterTag: String_comparison_exp + endTime: numeric_comparison_exp + hatId: numeric_comparison_exp + hatsAddress: String_comparison_exp id: String_comparison_exp + isVotingActive: Boolean_comparison_exp + startTime: numeric_comparison_exp + totalVotes: numeric_comparison_exp + voteDuration: numeric_comparison_exp + voteTokenAddress: String_comparison_exp + votes: ShipVote_bool_exp + votingCheckpoint: numeric_comparison_exp } -"""Ordering options when selecting data from "ContestClone".""" -input ContestClone_order_by { - contestAddress: order_by - contestVersion: order_by +"""Ordering options when selecting data from "GrantShipsVoting".""" +input GrantShipsVoting_order_by { + choices_aggregate: ShipChoice_aggregate_order_by + contest: Contest_order_by + contest_id: order_by db_write_timestamp: order_by - filterTag: order_by + endTime: order_by + hatId: order_by + hatsAddress: order_by id: order_by + isVotingActive: order_by + startTime: order_by + totalVotes: order_by + voteDuration: order_by + voteTokenAddress: order_by + votes_aggregate: ShipVote_aggregate_order_by + votingCheckpoint: order_by } """ -select columns of table "ContestClone" +select columns of table "GrantShipsVoting" """ -enum ContestClone_select_column { - """column name""" - contestAddress +enum GrantShipsVoting_select_column { """column name""" - contestVersion + contest_id """column name""" db_write_timestamp """column name""" - filterTag + endTime + """column name""" + hatId + """column name""" + hatsAddress """column name""" id + """column name""" + isVotingActive + """column name""" + startTime + """column name""" + totalVotes + """column name""" + voteDuration + """column name""" + voteTokenAddress + """column name""" + votingCheckpoint } """ -Streaming cursor of the table "ContestClone" +Streaming cursor of the table "GrantShipsVoting" """ -input ContestClone_stream_cursor_input { +input GrantShipsVoting_stream_cursor_input { """Stream column input with initial value""" - initial_value: ContestClone_stream_cursor_value_input! + initial_value: GrantShipsVoting_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ContestClone_stream_cursor_value_input { - contestAddress: String - contestVersion: String +input GrantShipsVoting_stream_cursor_value_input { + contest_id: String db_write_timestamp: timestamp - filterTag: String + endTime: numeric + hatId: numeric + hatsAddress: String id: String + isVotingActive: Boolean + startTime: numeric + totalVotes: numeric + voteDuration: numeric + voteTokenAddress: String + votingCheckpoint: numeric } """ -columns and relationships of "ContestTemplate" +columns and relationships of "HALParams" """ -type ContestTemplate { - active: Boolean! - contestAddress: String! - contestVersion: String! +type HALParams { db_write_timestamp: timestamp + hatId: numeric! + hatsAddress: String! id: String! - mdPointer: String! - mdProtocol: numeric! } """ -Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. """ -input ContestTemplate_bool_exp { - _and: [ContestTemplate_bool_exp!] - _not: ContestTemplate_bool_exp - _or: [ContestTemplate_bool_exp!] - active: Boolean_comparison_exp - contestAddress: String_comparison_exp - contestVersion: String_comparison_exp +input HALParams_bool_exp { + _and: [HALParams_bool_exp!] + _not: HALParams_bool_exp + _or: [HALParams_bool_exp!] db_write_timestamp: timestamp_comparison_exp + hatId: numeric_comparison_exp + hatsAddress: String_comparison_exp id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp } -"""Ordering options when selecting data from "ContestTemplate".""" -input ContestTemplate_order_by { - active: order_by - contestAddress: order_by - contestVersion: order_by +"""Ordering options when selecting data from "HALParams".""" +input HALParams_order_by { db_write_timestamp: order_by + hatId: order_by + hatsAddress: order_by id: order_by - mdPointer: order_by - mdProtocol: order_by } """ -select columns of table "ContestTemplate" +select columns of table "HALParams" """ -enum ContestTemplate_select_column { - """column name""" - active - """column name""" - contestAddress - """column name""" - contestVersion +enum HALParams_select_column { """column name""" db_write_timestamp """column name""" - id + hatId """column name""" - mdPointer + hatsAddress """column name""" - mdProtocol + id } """ -Streaming cursor of the table "ContestTemplate" +Streaming cursor of the table "HALParams" """ -input ContestTemplate_stream_cursor_input { +input HALParams_stream_cursor_input { """Stream column input with initial value""" - initial_value: ContestTemplate_stream_cursor_value_input! + initial_value: HALParams_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ContestTemplate_stream_cursor_value_input { - active: Boolean - contestAddress: String - contestVersion: String +input HALParams_stream_cursor_value_input { db_write_timestamp: timestamp + hatId: numeric + hatsAddress: String id: String - mdPointer: String - mdProtocol: numeric } """ -Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. +columns and relationships of "HatsPoster" """ -input Contest_bool_exp { - _and: [Contest_bool_exp!] - _not: Contest_bool_exp - _or: [Contest_bool_exp!] - choicesModule: StemModule_bool_exp - choicesModule_id: String_comparison_exp - contestAddress: String_comparison_exp - contestStatus: numeric_comparison_exp - contestVersion: String_comparison_exp +type HatsPoster { + db_write_timestamp: timestamp + """An array relationship""" + eventPosts( + """distinct select on columns""" + distinct_on: [EventPost_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [EventPost_order_by!] + """filter the rows returned""" + where: EventPost_bool_exp + ): [EventPost!]! + hatIds: _numeric! + hatsAddress: String! + id: String! + """An array relationship""" + record( + """distinct select on columns""" + distinct_on: [Record_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [Record_order_by!] + """filter the rows returned""" + where: Record_bool_exp + ): [Record!]! +} + +""" +Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. +""" +input HatsPoster_bool_exp { + _and: [HatsPoster_bool_exp!] + _not: HatsPoster_bool_exp + _or: [HatsPoster_bool_exp!] db_write_timestamp: timestamp_comparison_exp - executionModule: StemModule_bool_exp - executionModule_id: String_comparison_exp - filterTag: String_comparison_exp + eventPosts: EventPost_bool_exp + hatIds: _numeric_comparison_exp + hatsAddress: String_comparison_exp id: String_comparison_exp - isContinuous: Boolean_comparison_exp - isRetractable: Boolean_comparison_exp - pointsModule: StemModule_bool_exp - pointsModule_id: String_comparison_exp - votesModule: StemModule_bool_exp - votesModule_id: String_comparison_exp + record: Record_bool_exp } -"""Ordering options when selecting data from "Contest".""" -input Contest_order_by { - choicesModule: StemModule_order_by - choicesModule_id: order_by - contestAddress: order_by - contestStatus: order_by - contestVersion: order_by +"""Ordering options when selecting data from "HatsPoster".""" +input HatsPoster_order_by { db_write_timestamp: order_by - executionModule: StemModule_order_by - executionModule_id: order_by - filterTag: order_by + eventPosts_aggregate: EventPost_aggregate_order_by + hatIds: order_by + hatsAddress: order_by id: order_by - isContinuous: order_by - isRetractable: order_by - pointsModule: StemModule_order_by - pointsModule_id: order_by - votesModule: StemModule_order_by - votesModule_id: order_by + record_aggregate: Record_aggregate_order_by } """ -select columns of table "Contest" +select columns of table "HatsPoster" """ -enum Contest_select_column { - """column name""" - choicesModule_id - """column name""" - contestAddress - """column name""" - contestStatus - """column name""" - contestVersion +enum HatsPoster_select_column { """column name""" db_write_timestamp """column name""" - executionModule_id + hatIds """column name""" - filterTag + hatsAddress """column name""" id - """column name""" - isContinuous - """column name""" - isRetractable - """column name""" - pointsModule_id - """column name""" - votesModule_id } """ -Streaming cursor of the table "Contest" +Streaming cursor of the table "HatsPoster" """ -input Contest_stream_cursor_input { +input HatsPoster_stream_cursor_input { """Stream column input with initial value""" - initial_value: Contest_stream_cursor_value_input! + initial_value: HatsPoster_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input Contest_stream_cursor_value_input { - choicesModule_id: String - contestAddress: String - contestStatus: numeric - contestVersion: String +input HatsPoster_stream_cursor_value_input { db_write_timestamp: timestamp - executionModule_id: String - filterTag: String + hatIds: _numeric + hatsAddress: String id: String - isContinuous: Boolean - isRetractable: Boolean - pointsModule_id: String - votesModule_id: String } """ -columns and relationships of "ERCPointParams" +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. """ -type ERCPointParams { +input Int_comparison_exp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _is_null: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] +} + +""" +columns and relationships of "LocalLog" +""" +type LocalLog { db_write_timestamp: timestamp id: String! - voteTokenAddress: String! - votingCheckpoint: numeric! + message: String } """ -Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. """ -input ERCPointParams_bool_exp { - _and: [ERCPointParams_bool_exp!] - _not: ERCPointParams_bool_exp - _or: [ERCPointParams_bool_exp!] +input LocalLog_bool_exp { + _and: [LocalLog_bool_exp!] + _not: LocalLog_bool_exp + _or: [LocalLog_bool_exp!] db_write_timestamp: timestamp_comparison_exp id: String_comparison_exp - voteTokenAddress: String_comparison_exp - votingCheckpoint: numeric_comparison_exp + message: String_comparison_exp } -"""Ordering options when selecting data from "ERCPointParams".""" -input ERCPointParams_order_by { +"""Ordering options when selecting data from "LocalLog".""" +input LocalLog_order_by { db_write_timestamp: order_by id: order_by - voteTokenAddress: order_by - votingCheckpoint: order_by + message: order_by } """ -select columns of table "ERCPointParams" +select columns of table "LocalLog" """ -enum ERCPointParams_select_column { +enum LocalLog_select_column { """column name""" db_write_timestamp """column name""" id """column name""" - voteTokenAddress - """column name""" - votingCheckpoint + message } """ -Streaming cursor of the table "ERCPointParams" +Streaming cursor of the table "LocalLog" """ -input ERCPointParams_stream_cursor_input { +input LocalLog_stream_cursor_input { """Stream column input with initial value""" - initial_value: ERCPointParams_stream_cursor_value_input! + initial_value: LocalLog_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ERCPointParams_stream_cursor_value_input { +input LocalLog_stream_cursor_value_input { db_write_timestamp: timestamp id: String - voteTokenAddress: String - votingCheckpoint: numeric + message: String } """ -columns and relationships of "EnvioTX" +columns and relationships of "ModuleTemplate" """ -type EnvioTX { - blockNumber: numeric! +type ModuleTemplate { + active: Boolean! db_write_timestamp: timestamp id: String! - srcAddress: String! - txHash: String! - txOrigin: String + mdPointer: String! + mdProtocol: numeric! + moduleName: String! + templateAddress: String! } """ -Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. """ -input EnvioTX_bool_exp { - _and: [EnvioTX_bool_exp!] - _not: EnvioTX_bool_exp - _or: [EnvioTX_bool_exp!] - blockNumber: numeric_comparison_exp +input ModuleTemplate_bool_exp { + _and: [ModuleTemplate_bool_exp!] + _not: ModuleTemplate_bool_exp + _or: [ModuleTemplate_bool_exp!] + active: Boolean_comparison_exp db_write_timestamp: timestamp_comparison_exp id: String_comparison_exp - srcAddress: String_comparison_exp - txHash: String_comparison_exp - txOrigin: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + moduleName: String_comparison_exp + templateAddress: String_comparison_exp } -"""Ordering options when selecting data from "EnvioTX".""" -input EnvioTX_order_by { - blockNumber: order_by +"""Ordering options when selecting data from "ModuleTemplate".""" +input ModuleTemplate_order_by { + active: order_by db_write_timestamp: order_by id: order_by - srcAddress: order_by - txHash: order_by - txOrigin: order_by + mdPointer: order_by + mdProtocol: order_by + moduleName: order_by + templateAddress: order_by } """ -select columns of table "EnvioTX" +select columns of table "ModuleTemplate" """ -enum EnvioTX_select_column { +enum ModuleTemplate_select_column { """column name""" - blockNumber + active """column name""" db_write_timestamp """column name""" id """column name""" - srcAddress + mdPointer + """column name""" + mdProtocol """column name""" - txHash + moduleName """column name""" - txOrigin + templateAddress } """ -Streaming cursor of the table "EnvioTX" +Streaming cursor of the table "ModuleTemplate" """ -input EnvioTX_stream_cursor_input { +input ModuleTemplate_stream_cursor_input { """Stream column input with initial value""" - initial_value: EnvioTX_stream_cursor_value_input! + initial_value: ModuleTemplate_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input EnvioTX_stream_cursor_value_input { - blockNumber: numeric +input ModuleTemplate_stream_cursor_value_input { + active: Boolean db_write_timestamp: timestamp id: String - srcAddress: String - txHash: String - txOrigin: String + mdPointer: String + mdProtocol: numeric + moduleName: String + templateAddress: String } """ -columns and relationships of "EventPost" +columns and relationships of "Record" """ -type EventPost { +type Record { db_write_timestamp: timestamp hatId: numeric! """An object relationship""" @@ -5073,41 +3450,42 @@ type EventPost { id: String! mdPointer: String! mdProtocol: numeric! + nonce: String! tag: String! } """ -order by aggregate values of table "EventPost" +order by aggregate values of table "Record" """ -input EventPost_aggregate_order_by { - avg: EventPost_avg_order_by +input Record_aggregate_order_by { + avg: Record_avg_order_by count: order_by - max: EventPost_max_order_by - min: EventPost_min_order_by - stddev: EventPost_stddev_order_by - stddev_pop: EventPost_stddev_pop_order_by - stddev_samp: EventPost_stddev_samp_order_by - sum: EventPost_sum_order_by - var_pop: EventPost_var_pop_order_by - var_samp: EventPost_var_samp_order_by - variance: EventPost_variance_order_by + max: Record_max_order_by + min: Record_min_order_by + stddev: Record_stddev_order_by + stddev_pop: Record_stddev_pop_order_by + stddev_samp: Record_stddev_samp_order_by + sum: Record_sum_order_by + var_pop: Record_var_pop_order_by + var_samp: Record_var_samp_order_by + variance: Record_variance_order_by } """ -order by avg() on columns of table "EventPost" +order by avg() on columns of table "Record" """ -input EventPost_avg_order_by { +input Record_avg_order_by { hatId: order_by mdProtocol: order_by } """ -Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. """ -input EventPost_bool_exp { - _and: [EventPost_bool_exp!] - _not: EventPost_bool_exp - _or: [EventPost_bool_exp!] +input Record_bool_exp { + _and: [Record_bool_exp!] + _not: Record_bool_exp + _or: [Record_bool_exp!] db_write_timestamp: timestamp_comparison_exp hatId: numeric_comparison_exp hatsPoster: HatsPoster_bool_exp @@ -5115,37 +3493,40 @@ input EventPost_bool_exp { id: String_comparison_exp mdPointer: String_comparison_exp mdProtocol: numeric_comparison_exp + nonce: String_comparison_exp tag: String_comparison_exp } """ -order by max() on columns of table "EventPost" +order by max() on columns of table "Record" """ -input EventPost_max_order_by { +input Record_max_order_by { db_write_timestamp: order_by hatId: order_by hatsPoster_id: order_by id: order_by mdPointer: order_by mdProtocol: order_by + nonce: order_by tag: order_by } """ -order by min() on columns of table "EventPost" +order by min() on columns of table "Record" """ -input EventPost_min_order_by { +input Record_min_order_by { db_write_timestamp: order_by hatId: order_by hatsPoster_id: order_by id: order_by mdPointer: order_by mdProtocol: order_by + nonce: order_by tag: order_by } -"""Ordering options when selecting data from "EventPost".""" -input EventPost_order_by { +"""Ordering options when selecting data from "Record".""" +input Record_order_by { db_write_timestamp: order_by hatId: order_by hatsPoster: HatsPoster_order_by @@ -5153,13 +3534,14 @@ input EventPost_order_by { id: order_by mdPointer: order_by mdProtocol: order_by + nonce: order_by tag: order_by } """ -select columns of table "EventPost" +select columns of table "Record" """ -enum EventPost_select_column { +enum Record_select_column { """column name""" db_write_timestamp """column name""" @@ -5173,209 +3555,103 @@ enum EventPost_select_column { """column name""" mdProtocol """column name""" + nonce + """column name""" tag } """ -order by stddev() on columns of table "EventPost" +order by stddev() on columns of table "Record" """ -input EventPost_stddev_order_by { +input Record_stddev_order_by { hatId: order_by mdProtocol: order_by } """ -order by stddev_pop() on columns of table "EventPost" +order by stddev_pop() on columns of table "Record" """ -input EventPost_stddev_pop_order_by { +input Record_stddev_pop_order_by { hatId: order_by mdProtocol: order_by } """ -order by stddev_samp() on columns of table "EventPost" +order by stddev_samp() on columns of table "Record" """ -input EventPost_stddev_samp_order_by { +input Record_stddev_samp_order_by { hatId: order_by mdProtocol: order_by } """ -Streaming cursor of the table "EventPost" +Streaming cursor of the table "Record" """ -input EventPost_stream_cursor_input { +input Record_stream_cursor_input { """Stream column input with initial value""" - initial_value: EventPost_stream_cursor_value_input! + initial_value: Record_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input EventPost_stream_cursor_value_input { +input Record_stream_cursor_value_input { db_write_timestamp: timestamp hatId: numeric hatsPoster_id: String id: String mdPointer: String mdProtocol: numeric + nonce: String tag: String } """ -order by sum() on columns of table "EventPost" +order by sum() on columns of table "Record" """ -input EventPost_sum_order_by { +input Record_sum_order_by { hatId: order_by mdProtocol: order_by } """ -order by var_pop() on columns of table "EventPost" +order by var_pop() on columns of table "Record" """ -input EventPost_var_pop_order_by { +input Record_var_pop_order_by { hatId: order_by mdProtocol: order_by } """ -order by var_samp() on columns of table "EventPost" +order by var_samp() on columns of table "Record" """ -input EventPost_var_samp_order_by { +input Record_var_samp_order_by { hatId: order_by mdProtocol: order_by } """ -order by variance() on columns of table "EventPost" +order by variance() on columns of table "Record" """ -input EventPost_variance_order_by { +input Record_variance_order_by { hatId: order_by mdProtocol: order_by } """ -columns and relationships of "FactoryEventsSummary" -""" -type FactoryEventsSummary { - address: String! - admins: [String!]! - contestBuiltCount: numeric! - contestCloneCount: numeric! - contestTemplateCount: numeric! - db_write_timestamp: timestamp - id: String! - moduleCloneCount: numeric! - moduleTemplateCount: numeric! -} - -""" -Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. -""" -input FactoryEventsSummary_bool_exp { - _and: [FactoryEventsSummary_bool_exp!] - _not: FactoryEventsSummary_bool_exp - _or: [FactoryEventsSummary_bool_exp!] - address: String_comparison_exp - admins: String_array_comparison_exp - contestBuiltCount: numeric_comparison_exp - contestCloneCount: numeric_comparison_exp - contestTemplateCount: numeric_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - moduleCloneCount: numeric_comparison_exp - moduleTemplateCount: numeric_comparison_exp -} - -"""Ordering options when selecting data from "FactoryEventsSummary".""" -input FactoryEventsSummary_order_by { - address: order_by - admins: order_by - contestBuiltCount: order_by - contestCloneCount: order_by - contestTemplateCount: order_by - db_write_timestamp: order_by - id: order_by - moduleCloneCount: order_by - moduleTemplateCount: order_by -} - -""" -select columns of table "FactoryEventsSummary" -""" -enum FactoryEventsSummary_select_column { - """column name""" - address - """column name""" - admins - """column name""" - contestBuiltCount - """column name""" - contestCloneCount - """column name""" - contestTemplateCount - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - moduleCloneCount - """column name""" - moduleTemplateCount -} - -""" -Streaming cursor of the table "FactoryEventsSummary" -""" -input FactoryEventsSummary_stream_cursor_input { - """Stream column input with initial value""" - initial_value: FactoryEventsSummary_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input FactoryEventsSummary_stream_cursor_value_input { - address: String - admins: [String!] - contestBuiltCount: numeric - contestCloneCount: numeric - contestTemplateCount: numeric - db_write_timestamp: timestamp - id: String - moduleCloneCount: numeric - moduleTemplateCount: numeric -} - -""" -columns and relationships of "GrantShipsVoting" +columns and relationships of "ShipChoice" """ -type GrantShipsVoting { - """An array relationship""" - choices( - """distinct select on columns""" - distinct_on: [ShipChoice_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipChoice_order_by!] - """filter the rows returned""" - where: ShipChoice_bool_exp - ): [ShipChoice!]! +type ShipChoice { + active: Boolean! + choiceData: String! """An object relationship""" - contest: Contest + contest: GrantShipsVoting contest_id: String! db_write_timestamp: timestamp - endTime: numeric - hatId: numeric! - hatsAddress: String! id: String! - isVotingActive: Boolean! - startTime: numeric - totalVotes: numeric! - voteDuration: numeric! - voteTokenAddress: String! + mdPointer: String! + mdProtocol: numeric! + voteTally: numeric! """An array relationship""" votes( """distinct select on columns""" @@ -5389,2252 +3665,4093 @@ type GrantShipsVoting { """filter the rows returned""" where: ShipVote_bool_exp ): [ShipVote!]! - votingCheckpoint: numeric! } """ -Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. +order by aggregate values of table "ShipChoice" +""" +input ShipChoice_aggregate_order_by { + avg: ShipChoice_avg_order_by + count: order_by + max: ShipChoice_max_order_by + min: ShipChoice_min_order_by + stddev: ShipChoice_stddev_order_by + stddev_pop: ShipChoice_stddev_pop_order_by + stddev_samp: ShipChoice_stddev_samp_order_by + sum: ShipChoice_sum_order_by + var_pop: ShipChoice_var_pop_order_by + var_samp: ShipChoice_var_samp_order_by + variance: ShipChoice_variance_order_by +} + +""" +order by avg() on columns of table "ShipChoice" """ -input GrantShipsVoting_bool_exp { - _and: [GrantShipsVoting_bool_exp!] - _not: GrantShipsVoting_bool_exp - _or: [GrantShipsVoting_bool_exp!] - choices: ShipChoice_bool_exp - contest: Contest_bool_exp +input ShipChoice_avg_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. +""" +input ShipChoice_bool_exp { + _and: [ShipChoice_bool_exp!] + _not: ShipChoice_bool_exp + _or: [ShipChoice_bool_exp!] + active: Boolean_comparison_exp + choiceData: String_comparison_exp + contest: GrantShipsVoting_bool_exp contest_id: String_comparison_exp db_write_timestamp: timestamp_comparison_exp - endTime: numeric_comparison_exp - hatId: numeric_comparison_exp - hatsAddress: String_comparison_exp id: String_comparison_exp - isVotingActive: Boolean_comparison_exp - startTime: numeric_comparison_exp - totalVotes: numeric_comparison_exp - voteDuration: numeric_comparison_exp - voteTokenAddress: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + voteTally: numeric_comparison_exp votes: ShipVote_bool_exp - votingCheckpoint: numeric_comparison_exp } -"""Ordering options when selecting data from "GrantShipsVoting".""" -input GrantShipsVoting_order_by { - choices_aggregate: ShipChoice_aggregate_order_by - contest: Contest_order_by +""" +order by max() on columns of table "ShipChoice" +""" +input ShipChoice_max_order_by { + choiceData: order_by contest_id: order_by db_write_timestamp: order_by - endTime: order_by - hatId: order_by - hatsAddress: order_by id: order_by - isVotingActive: order_by - startTime: order_by - totalVotes: order_by - voteDuration: order_by - voteTokenAddress: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by +} + +""" +order by min() on columns of table "ShipChoice" +""" +input ShipChoice_min_order_by { + choiceData: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by +} + +"""Ordering options when selecting data from "ShipChoice".""" +input ShipChoice_order_by { + active: order_by + choiceData: order_by + contest: GrantShipsVoting_order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by votes_aggregate: ShipVote_aggregate_order_by - votingCheckpoint: order_by } """ -select columns of table "GrantShipsVoting" +select columns of table "ShipChoice" """ -enum GrantShipsVoting_select_column { - """column name""" - contest_id +enum ShipChoice_select_column { """column name""" - db_write_timestamp + active """column name""" - endTime + choiceData """column name""" - hatId + contest_id """column name""" - hatsAddress + db_write_timestamp """column name""" id """column name""" - isVotingActive - """column name""" - startTime - """column name""" - totalVotes - """column name""" - voteDuration + mdPointer """column name""" - voteTokenAddress + mdProtocol """column name""" - votingCheckpoint + voteTally } """ -Streaming cursor of the table "GrantShipsVoting" +order by stddev() on columns of table "ShipChoice" """ -input GrantShipsVoting_stream_cursor_input { +input ShipChoice_stddev_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by stddev_pop() on columns of table "ShipChoice" +""" +input ShipChoice_stddev_pop_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by stddev_samp() on columns of table "ShipChoice" +""" +input ShipChoice_stddev_samp_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +Streaming cursor of the table "ShipChoice" +""" +input ShipChoice_stream_cursor_input { """Stream column input with initial value""" - initial_value: GrantShipsVoting_stream_cursor_value_input! + initial_value: ShipChoice_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input GrantShipsVoting_stream_cursor_value_input { +input ShipChoice_stream_cursor_value_input { + active: Boolean + choiceData: String contest_id: String db_write_timestamp: timestamp - endTime: numeric - hatId: numeric - hatsAddress: String id: String - isVotingActive: Boolean - startTime: numeric - totalVotes: numeric - voteDuration: numeric - voteTokenAddress: String - votingCheckpoint: numeric + mdPointer: String + mdProtocol: numeric + voteTally: numeric } """ -columns and relationships of "HALParams" +order by sum() on columns of table "ShipChoice" """ -type HALParams { +input ShipChoice_sum_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by var_pop() on columns of table "ShipChoice" +""" +input ShipChoice_var_pop_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by var_samp() on columns of table "ShipChoice" +""" +input ShipChoice_var_samp_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by variance() on columns of table "ShipChoice" +""" +input ShipChoice_variance_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +columns and relationships of "ShipVote" +""" +type ShipVote { + amount: numeric! + """An object relationship""" + choice: ShipChoice + choice_id: String! + """An object relationship""" + contest: GrantShipsVoting + contest_id: String! db_write_timestamp: timestamp - hatId: numeric! - hatsAddress: String! id: String! + isRetractVote: Boolean! + mdPointer: String! + mdProtocol: numeric! + """An object relationship""" + voter: GSVoter + voter_id: String! +} + +""" +order by aggregate values of table "ShipVote" +""" +input ShipVote_aggregate_order_by { + avg: ShipVote_avg_order_by + count: order_by + max: ShipVote_max_order_by + min: ShipVote_min_order_by + stddev: ShipVote_stddev_order_by + stddev_pop: ShipVote_stddev_pop_order_by + stddev_samp: ShipVote_stddev_samp_order_by + sum: ShipVote_sum_order_by + var_pop: ShipVote_var_pop_order_by + var_samp: ShipVote_var_samp_order_by + variance: ShipVote_variance_order_by +} + +""" +order by avg() on columns of table "ShipVote" +""" +input ShipVote_avg_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. +""" +input ShipVote_bool_exp { + _and: [ShipVote_bool_exp!] + _not: ShipVote_bool_exp + _or: [ShipVote_bool_exp!] + amount: numeric_comparison_exp + choice: ShipChoice_bool_exp + choice_id: String_comparison_exp + contest: GrantShipsVoting_bool_exp + contest_id: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + isRetractVote: Boolean_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + voter: GSVoter_bool_exp + voter_id: String_comparison_exp +} + +""" +order by max() on columns of table "ShipVote" +""" +input ShipVote_max_order_by { + amount: order_by + choice_id: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voter_id: order_by } """ -Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. +order by min() on columns of table "ShipVote" """ -input HALParams_bool_exp { - _and: [HALParams_bool_exp!] - _not: HALParams_bool_exp - _or: [HALParams_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - hatId: numeric_comparison_exp - hatsAddress: String_comparison_exp - id: String_comparison_exp +input ShipVote_min_order_by { + amount: order_by + choice_id: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voter_id: order_by } -"""Ordering options when selecting data from "HALParams".""" -input HALParams_order_by { +"""Ordering options when selecting data from "ShipVote".""" +input ShipVote_order_by { + amount: order_by + choice: ShipChoice_order_by + choice_id: order_by + contest: GrantShipsVoting_order_by + contest_id: order_by db_write_timestamp: order_by - hatId: order_by - hatsAddress: order_by id: order_by + isRetractVote: order_by + mdPointer: order_by + mdProtocol: order_by + voter: GSVoter_order_by + voter_id: order_by } """ -select columns of table "HALParams" +select columns of table "ShipVote" """ -enum HALParams_select_column { +enum ShipVote_select_column { """column name""" - db_write_timestamp + amount """column name""" - hatId + choice_id """column name""" - hatsAddress + contest_id + """column name""" + db_write_timestamp """column name""" id + """column name""" + isRetractVote + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + voter_id } """ -Streaming cursor of the table "HALParams" -""" -input HALParams_stream_cursor_input { - """Stream column input with initial value""" - initial_value: HALParams_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input HALParams_stream_cursor_value_input { - db_write_timestamp: timestamp - hatId: numeric - hatsAddress: String - id: String -} - -""" -columns and relationships of "HatsPoster" +order by stddev() on columns of table "ShipVote" """ -type HatsPoster { - db_write_timestamp: timestamp - """An array relationship""" - eventPosts( - """distinct select on columns""" - distinct_on: [EventPost_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [EventPost_order_by!] - """filter the rows returned""" - where: EventPost_bool_exp - ): [EventPost!]! - hatIds: [numeric!]! - hatsAddress: String! - id: String! - """An array relationship""" - record( - """distinct select on columns""" - distinct_on: [Record_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [Record_order_by!] - """filter the rows returned""" - where: Record_bool_exp - ): [Record!]! +input ShipVote_stddev_order_by { + amount: order_by + mdProtocol: order_by } """ -Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. +order by stddev_pop() on columns of table "ShipVote" """ -input HatsPoster_bool_exp { - _and: [HatsPoster_bool_exp!] - _not: HatsPoster_bool_exp - _or: [HatsPoster_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - eventPosts: EventPost_bool_exp - hatIds: numeric_array_comparison_exp - hatsAddress: String_comparison_exp - id: String_comparison_exp - record: Record_bool_exp -} - -"""Ordering options when selecting data from "HatsPoster".""" -input HatsPoster_order_by { - db_write_timestamp: order_by - eventPosts_aggregate: EventPost_aggregate_order_by - hatIds: order_by - hatsAddress: order_by - id: order_by - record_aggregate: Record_aggregate_order_by +input ShipVote_stddev_pop_order_by { + amount: order_by + mdProtocol: order_by } """ -select columns of table "HatsPoster" +order by stddev_samp() on columns of table "ShipVote" """ -enum HatsPoster_select_column { - """column name""" - db_write_timestamp - """column name""" - hatIds - """column name""" - hatsAddress - """column name""" - id +input ShipVote_stddev_samp_order_by { + amount: order_by + mdProtocol: order_by } """ -Streaming cursor of the table "HatsPoster" +Streaming cursor of the table "ShipVote" """ -input HatsPoster_stream_cursor_input { +input ShipVote_stream_cursor_input { """Stream column input with initial value""" - initial_value: HatsPoster_stream_cursor_value_input! + initial_value: ShipVote_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input HatsPoster_stream_cursor_value_input { +input ShipVote_stream_cursor_value_input { + amount: numeric + choice_id: String + contest_id: String db_write_timestamp: timestamp - hatIds: [numeric!] - hatsAddress: String id: String + isRetractVote: Boolean + mdPointer: String + mdProtocol: numeric + voter_id: String } """ -Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. -""" -input Int_comparison_exp { - _eq: Int - _gt: Int - _gte: Int - _in: [Int!] - _is_null: Boolean - _lt: Int - _lte: Int - _neq: Int - _nin: [Int!] -} - -""" -columns and relationships of "LocalLog" +order by sum() on columns of table "ShipVote" """ -type LocalLog { - db_write_timestamp: timestamp - id: String! - message: String +input ShipVote_sum_order_by { + amount: order_by + mdProtocol: order_by } """ -Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. +order by var_pop() on columns of table "ShipVote" """ -input LocalLog_bool_exp { - _and: [LocalLog_bool_exp!] - _not: LocalLog_bool_exp - _or: [LocalLog_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - message: String_comparison_exp -} - -"""Ordering options when selecting data from "LocalLog".""" -input LocalLog_order_by { - db_write_timestamp: order_by - id: order_by - message: order_by +input ShipVote_var_pop_order_by { + amount: order_by + mdProtocol: order_by } """ -select columns of table "LocalLog" +order by var_samp() on columns of table "ShipVote" """ -enum LocalLog_select_column { - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - message +input ShipVote_var_samp_order_by { + amount: order_by + mdProtocol: order_by } """ -Streaming cursor of the table "LocalLog" +order by variance() on columns of table "ShipVote" """ -input LocalLog_stream_cursor_input { - """Stream column input with initial value""" - initial_value: LocalLog_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input LocalLog_stream_cursor_value_input { - db_write_timestamp: timestamp - id: String - message: String +input ShipVote_variance_order_by { + amount: order_by + mdProtocol: order_by } """ -columns and relationships of "ModuleTemplate" +columns and relationships of "StemModule" """ -type ModuleTemplate { - active: Boolean! +type StemModule { + """An object relationship""" + contest: Contest + contestAddress: String + contest_id: String db_write_timestamp: timestamp + filterTag: String! id: String! - mdPointer: String! - mdProtocol: numeric! + moduleAddress: String! moduleName: String! - templateAddress: String! + """An object relationship""" + moduleTemplate: ModuleTemplate + moduleTemplate_id: String! } """ -Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. """ -input ModuleTemplate_bool_exp { - _and: [ModuleTemplate_bool_exp!] - _not: ModuleTemplate_bool_exp - _or: [ModuleTemplate_bool_exp!] - active: Boolean_comparison_exp +input StemModule_bool_exp { + _and: [StemModule_bool_exp!] + _not: StemModule_bool_exp + _or: [StemModule_bool_exp!] + contest: Contest_bool_exp + contestAddress: String_comparison_exp + contest_id: String_comparison_exp db_write_timestamp: timestamp_comparison_exp + filterTag: String_comparison_exp id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp + moduleAddress: String_comparison_exp moduleName: String_comparison_exp - templateAddress: String_comparison_exp + moduleTemplate: ModuleTemplate_bool_exp + moduleTemplate_id: String_comparison_exp } -"""Ordering options when selecting data from "ModuleTemplate".""" -input ModuleTemplate_order_by { - active: order_by +"""Ordering options when selecting data from "StemModule".""" +input StemModule_order_by { + contest: Contest_order_by + contestAddress: order_by + contest_id: order_by db_write_timestamp: order_by + filterTag: order_by id: order_by - mdPointer: order_by - mdProtocol: order_by + moduleAddress: order_by moduleName: order_by - templateAddress: order_by + moduleTemplate: ModuleTemplate_order_by + moduleTemplate_id: order_by } """ -select columns of table "ModuleTemplate" +select columns of table "StemModule" """ -enum ModuleTemplate_select_column { +enum StemModule_select_column { """column name""" - active + contestAddress + """column name""" + contest_id """column name""" db_write_timestamp """column name""" - id + filterTag """column name""" - mdPointer + id """column name""" - mdProtocol + moduleAddress """column name""" moduleName """column name""" - templateAddress + moduleTemplate_id } """ -Streaming cursor of the table "ModuleTemplate" +Streaming cursor of the table "StemModule" """ -input ModuleTemplate_stream_cursor_input { +input StemModule_stream_cursor_input { """Stream column input with initial value""" - initial_value: ModuleTemplate_stream_cursor_value_input! + initial_value: StemModule_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ModuleTemplate_stream_cursor_value_input { - active: Boolean +input StemModule_stream_cursor_value_input { + contestAddress: String + contest_id: String db_write_timestamp: timestamp + filterTag: String id: String - mdPointer: String - mdProtocol: numeric + moduleAddress: String moduleName: String - templateAddress: String -} - -""" -columns and relationships of "Record" -""" -type Record { - db_write_timestamp: timestamp - hatId: numeric! - """An object relationship""" - hatsPoster: HatsPoster - hatsPoster_id: String! - id: String! - mdPointer: String! - mdProtocol: numeric! - nonce: String! - tag: String! + moduleTemplate_id: String } """ -order by aggregate values of table "Record" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. """ -input Record_aggregate_order_by { - avg: Record_avg_order_by - count: order_by - max: Record_max_order_by - min: Record_min_order_by - stddev: Record_stddev_order_by - stddev_pop: Record_stddev_pop_order_by - stddev_samp: Record_stddev_samp_order_by - sum: Record_sum_order_by - var_pop: Record_var_pop_order_by - var_samp: Record_var_samp_order_by - variance: Record_variance_order_by +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + """does the column match the given case-insensitive pattern""" + _ilike: String + _in: [String!] + """ + does the column match the given POSIX regular expression, case insensitive + """ + _iregex: String + _is_null: Boolean + """does the column match the given pattern""" + _like: String + _lt: String + _lte: String + _neq: String + """does the column NOT match the given case-insensitive pattern""" + _nilike: String + _nin: [String!] + """ + does the column NOT match the given POSIX regular expression, case insensitive + """ + _niregex: String + """does the column NOT match the given pattern""" + _nlike: String + """ + does the column NOT match the given POSIX regular expression, case sensitive + """ + _nregex: String + """does the column NOT match the given SQL regular expression""" + _nsimilar: String + """ + does the column match the given POSIX regular expression, case sensitive + """ + _regex: String + """does the column match the given SQL regular expression""" + _similar: String } """ -order by avg() on columns of table "Record" +columns and relationships of "TVParams" """ -input Record_avg_order_by { - hatId: order_by - mdProtocol: order_by +type TVParams { + db_write_timestamp: timestamp + id: String! + voteDuration: numeric! } """ -Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. """ -input Record_bool_exp { - _and: [Record_bool_exp!] - _not: Record_bool_exp - _or: [Record_bool_exp!] +input TVParams_bool_exp { + _and: [TVParams_bool_exp!] + _not: TVParams_bool_exp + _or: [TVParams_bool_exp!] db_write_timestamp: timestamp_comparison_exp - hatId: numeric_comparison_exp - hatsPoster: HatsPoster_bool_exp - hatsPoster_id: String_comparison_exp id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - nonce: String_comparison_exp - tag: String_comparison_exp -} - -""" -order by max() on columns of table "Record" -""" -input Record_max_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by -} - -""" -order by min() on columns of table "Record" -""" -input Record_min_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by + voteDuration: numeric_comparison_exp } -"""Ordering options when selecting data from "Record".""" -input Record_order_by { +"""Ordering options when selecting data from "TVParams".""" +input TVParams_order_by { db_write_timestamp: order_by - hatId: order_by - hatsPoster: HatsPoster_order_by - hatsPoster_id: order_by id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by + voteDuration: order_by } """ -select columns of table "Record" +select columns of table "TVParams" """ -enum Record_select_column { +enum TVParams_select_column { """column name""" db_write_timestamp """column name""" - hatId - """column name""" - hatsPoster_id - """column name""" id """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - nonce - """column name""" - tag -} - -""" -order by stddev() on columns of table "Record" -""" -input Record_stddev_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_pop() on columns of table "Record" -""" -input Record_stddev_pop_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_samp() on columns of table "Record" -""" -input Record_stddev_samp_order_by { - hatId: order_by - mdProtocol: order_by + voteDuration } """ -Streaming cursor of the table "Record" +Streaming cursor of the table "TVParams" """ -input Record_stream_cursor_input { +input TVParams_stream_cursor_input { """Stream column input with initial value""" - initial_value: Record_stream_cursor_value_input! + initial_value: TVParams_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input Record_stream_cursor_value_input { +input TVParams_stream_cursor_value_input { db_write_timestamp: timestamp - hatId: numeric - hatsPoster_id: String id: String - mdPointer: String - mdProtocol: numeric - nonce: String - tag: String + voteDuration: numeric } -""" -order by sum() on columns of table "Record" -""" -input Record_sum_order_by { - hatId: order_by - mdProtocol: order_by -} +scalar _numeric """ -order by var_pop() on columns of table "Record" +Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. """ -input Record_var_pop_order_by { - hatId: order_by - mdProtocol: order_by +input _numeric_comparison_exp { + _eq: _numeric + _gt: _numeric + _gte: _numeric + _in: [_numeric!] + _is_null: Boolean + _lt: _numeric + _lte: _numeric + _neq: _numeric + _nin: [_numeric!] } +scalar _text + """ -order by var_samp() on columns of table "Record" +Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. """ -input Record_var_samp_order_by { - hatId: order_by - mdProtocol: order_by +input _text_comparison_exp { + _eq: _text + _gt: _text + _gte: _text + _in: [_text!] + _is_null: Boolean + _lt: _text + _lte: _text + _neq: _text + _nin: [_text!] } """ -order by variance() on columns of table "Record" +columns and relationships of "chain_metadata" """ -input Record_variance_order_by { - hatId: order_by - mdProtocol: order_by +type chain_metadata { + block_height: Int! + chain_id: Int! + end_block: Int + first_event_block_number: Int + is_hyper_sync: Boolean! + latest_fetched_block_number: Int! + latest_processed_block: Int + num_batches_fetched: Int! + num_events_processed: Int + start_block: Int! + timestamp_caught_up_to_head_or_endblock: timestamptz } """ -columns and relationships of "ShipChoice" +Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. """ -type ShipChoice { - active: Boolean! - choiceData: String! - """An object relationship""" - contest: GrantShipsVoting - contest_id: String! - db_write_timestamp: timestamp - id: String! - mdPointer: String! - mdProtocol: numeric! - voteTally: numeric! - """An array relationship""" - votes( - """distinct select on columns""" - distinct_on: [ShipVote_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipVote_order_by!] - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! +input chain_metadata_bool_exp { + _and: [chain_metadata_bool_exp!] + _not: chain_metadata_bool_exp + _or: [chain_metadata_bool_exp!] + block_height: Int_comparison_exp + chain_id: Int_comparison_exp + end_block: Int_comparison_exp + first_event_block_number: Int_comparison_exp + is_hyper_sync: Boolean_comparison_exp + latest_fetched_block_number: Int_comparison_exp + latest_processed_block: Int_comparison_exp + num_batches_fetched: Int_comparison_exp + num_events_processed: Int_comparison_exp + start_block: Int_comparison_exp + timestamp_caught_up_to_head_or_endblock: timestamptz_comparison_exp } -""" -order by aggregate values of table "ShipChoice" -""" -input ShipChoice_aggregate_order_by { - avg: ShipChoice_avg_order_by - count: order_by - max: ShipChoice_max_order_by - min: ShipChoice_min_order_by - stddev: ShipChoice_stddev_order_by - stddev_pop: ShipChoice_stddev_pop_order_by - stddev_samp: ShipChoice_stddev_samp_order_by - sum: ShipChoice_sum_order_by - var_pop: ShipChoice_var_pop_order_by - var_samp: ShipChoice_var_samp_order_by - variance: ShipChoice_variance_order_by +"""Ordering options when selecting data from "chain_metadata".""" +input chain_metadata_order_by { + block_height: order_by + chain_id: order_by + end_block: order_by + first_event_block_number: order_by + is_hyper_sync: order_by + latest_fetched_block_number: order_by + latest_processed_block: order_by + num_batches_fetched: order_by + num_events_processed: order_by + start_block: order_by + timestamp_caught_up_to_head_or_endblock: order_by } """ -order by avg() on columns of table "ShipChoice" +select columns of table "chain_metadata" """ -input ShipChoice_avg_order_by { - mdProtocol: order_by - voteTally: order_by +enum chain_metadata_select_column { + """column name""" + block_height + """column name""" + chain_id + """column name""" + end_block + """column name""" + first_event_block_number + """column name""" + is_hyper_sync + """column name""" + latest_fetched_block_number + """column name""" + latest_processed_block + """column name""" + num_batches_fetched + """column name""" + num_events_processed + """column name""" + start_block + """column name""" + timestamp_caught_up_to_head_or_endblock } """ -Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. +Streaming cursor of the table "chain_metadata" """ -input ShipChoice_bool_exp { - _and: [ShipChoice_bool_exp!] - _not: ShipChoice_bool_exp - _or: [ShipChoice_bool_exp!] - active: Boolean_comparison_exp - choiceData: String_comparison_exp - contest: GrantShipsVoting_bool_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - voteTally: numeric_comparison_exp - votes: ShipVote_bool_exp +input chain_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: chain_metadata_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -""" -order by max() on columns of table "ShipChoice" -""" -input ShipChoice_max_order_by { - choiceData: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by +"""Initial value of the column from where the streaming should start""" +input chain_metadata_stream_cursor_value_input { + block_height: Int + chain_id: Int + end_block: Int + first_event_block_number: Int + is_hyper_sync: Boolean + latest_fetched_block_number: Int + latest_processed_block: Int + num_batches_fetched: Int + num_events_processed: Int + start_block: Int + timestamp_caught_up_to_head_or_endblock: timestamptz } +scalar contract_type + """ -order by min() on columns of table "ShipChoice" +Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. """ -input ShipChoice_min_order_by { - choiceData: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by +input contract_type_comparison_exp { + _eq: contract_type + _gt: contract_type + _gte: contract_type + _in: [contract_type!] + _is_null: Boolean + _lt: contract_type + _lte: contract_type + _neq: contract_type + _nin: [contract_type!] } -"""Ordering options when selecting data from "ShipChoice".""" -input ShipChoice_order_by { - active: order_by - choiceData: order_by - contest: GrantShipsVoting_order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by - votes_aggregate: ShipVote_aggregate_order_by +"""ordering argument of a cursor""" +enum cursor_ordering { + """ascending ordering of the cursor""" + ASC + """descending ordering of the cursor""" + DESC } """ -select columns of table "ShipChoice" +columns and relationships of "dynamic_contract_registry" """ -enum ShipChoice_select_column { - """column name""" - active - """column name""" - choiceData - """column name""" - contest_id - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - voteTally +type dynamic_contract_registry { + block_timestamp: Int! + chain_id: Int! + contract_address: String! + contract_type: contract_type! + event_id: numeric! } """ -order by stddev() on columns of table "ShipChoice" +Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. """ -input ShipChoice_stddev_order_by { - mdProtocol: order_by - voteTally: order_by +input dynamic_contract_registry_bool_exp { + _and: [dynamic_contract_registry_bool_exp!] + _not: dynamic_contract_registry_bool_exp + _or: [dynamic_contract_registry_bool_exp!] + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + contract_address: String_comparison_exp + contract_type: contract_type_comparison_exp + event_id: numeric_comparison_exp } -""" -order by stddev_pop() on columns of table "ShipChoice" -""" -input ShipChoice_stddev_pop_order_by { - mdProtocol: order_by - voteTally: order_by +"""Ordering options when selecting data from "dynamic_contract_registry".""" +input dynamic_contract_registry_order_by { + block_timestamp: order_by + chain_id: order_by + contract_address: order_by + contract_type: order_by + event_id: order_by } """ -order by stddev_samp() on columns of table "ShipChoice" +select columns of table "dynamic_contract_registry" """ -input ShipChoice_stddev_samp_order_by { - mdProtocol: order_by - voteTally: order_by +enum dynamic_contract_registry_select_column { + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + contract_address + """column name""" + contract_type + """column name""" + event_id } """ -Streaming cursor of the table "ShipChoice" +Streaming cursor of the table "dynamic_contract_registry" """ -input ShipChoice_stream_cursor_input { +input dynamic_contract_registry_stream_cursor_input { """Stream column input with initial value""" - initial_value: ShipChoice_stream_cursor_value_input! + initial_value: dynamic_contract_registry_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ShipChoice_stream_cursor_value_input { - active: Boolean - choiceData: String - contest_id: String - db_write_timestamp: timestamp - id: String - mdPointer: String - mdProtocol: numeric - voteTally: numeric +input dynamic_contract_registry_stream_cursor_value_input { + block_timestamp: Int + chain_id: Int + contract_address: String + contract_type: contract_type + event_id: numeric } """ -order by sum() on columns of table "ShipChoice" +columns and relationships of "entity_history" """ -input ShipChoice_sum_order_by { - mdProtocol: order_by - voteTally: order_by +type entity_history { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + entity_id: String! + entity_type: entity_type! + """An object relationship""" + event: raw_events + log_index: Int! + params( + """JSON select path""" + path: String + ): json + previous_block_number: Int + previous_block_timestamp: Int + previous_chain_id: Int + previous_log_index: Int } """ -order by var_pop() on columns of table "ShipChoice" +order by aggregate values of table "entity_history" """ -input ShipChoice_var_pop_order_by { - mdProtocol: order_by - voteTally: order_by +input entity_history_aggregate_order_by { + avg: entity_history_avg_order_by + count: order_by + max: entity_history_max_order_by + min: entity_history_min_order_by + stddev: entity_history_stddev_order_by + stddev_pop: entity_history_stddev_pop_order_by + stddev_samp: entity_history_stddev_samp_order_by + sum: entity_history_sum_order_by + var_pop: entity_history_var_pop_order_by + var_samp: entity_history_var_samp_order_by + variance: entity_history_variance_order_by } """ -order by var_samp() on columns of table "ShipChoice" +order by avg() on columns of table "entity_history" """ -input ShipChoice_var_samp_order_by { - mdProtocol: order_by - voteTally: order_by +input entity_history_avg_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by variance() on columns of table "ShipChoice" +Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. """ -input ShipChoice_variance_order_by { - mdProtocol: order_by - voteTally: order_by +input entity_history_bool_exp { + _and: [entity_history_bool_exp!] + _not: entity_history_bool_exp + _or: [entity_history_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + entity_id: String_comparison_exp + entity_type: entity_type_comparison_exp + event: raw_events_bool_exp + log_index: Int_comparison_exp + params: json_comparison_exp + previous_block_number: Int_comparison_exp + previous_block_timestamp: Int_comparison_exp + previous_chain_id: Int_comparison_exp + previous_log_index: Int_comparison_exp } """ -columns and relationships of "ShipVote" +columns and relationships of "entity_history_filter" """ -type ShipVote { - amount: numeric! - """An object relationship""" - choice: ShipChoice - choice_id: String! +type entity_history_filter { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + entity_id: String! + entity_type: entity_type! """An object relationship""" - contest: GrantShipsVoting - contest_id: String! - db_write_timestamp: timestamp - id: String! - isRectractVote: Boolean! - mdPointer: String! - mdProtocol: numeric! - voter: String! + event: raw_events + log_index: Int! + new_val( + """JSON select path""" + path: String + ): json + old_val( + """JSON select path""" + path: String + ): json + previous_block_number: Int! + previous_log_index: Int! } """ -order by aggregate values of table "ShipVote" +Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. """ -input ShipVote_aggregate_order_by { - avg: ShipVote_avg_order_by - count: order_by - max: ShipVote_max_order_by - min: ShipVote_min_order_by - stddev: ShipVote_stddev_order_by - stddev_pop: ShipVote_stddev_pop_order_by - stddev_samp: ShipVote_stddev_samp_order_by - sum: ShipVote_sum_order_by - var_pop: ShipVote_var_pop_order_by - var_samp: ShipVote_var_samp_order_by - variance: ShipVote_variance_order_by +input entity_history_filter_bool_exp { + _and: [entity_history_filter_bool_exp!] + _not: entity_history_filter_bool_exp + _or: [entity_history_filter_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + entity_id: String_comparison_exp + entity_type: entity_type_comparison_exp + event: raw_events_bool_exp + log_index: Int_comparison_exp + new_val: json_comparison_exp + old_val: json_comparison_exp + previous_block_number: Int_comparison_exp + previous_log_index: Int_comparison_exp +} + +"""Ordering options when selecting data from "entity_history_filter".""" +input entity_history_filter_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + event: raw_events_order_by + log_index: order_by + new_val: order_by + old_val: order_by + previous_block_number: order_by + previous_log_index: order_by } """ -order by avg() on columns of table "ShipVote" +select columns of table "entity_history_filter" """ -input ShipVote_avg_order_by { - amount: order_by - mdProtocol: order_by +enum entity_history_filter_select_column { + """column name""" + block_number + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + entity_id + """column name""" + entity_type + """column name""" + log_index + """column name""" + new_val + """column name""" + old_val + """column name""" + previous_block_number + """column name""" + previous_log_index } """ -Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. +Streaming cursor of the table "entity_history_filter" """ -input ShipVote_bool_exp { - _and: [ShipVote_bool_exp!] - _not: ShipVote_bool_exp - _or: [ShipVote_bool_exp!] - amount: numeric_comparison_exp - choice: ShipChoice_bool_exp - choice_id: String_comparison_exp - contest: GrantShipsVoting_bool_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - isRectractVote: Boolean_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - voter: String_comparison_exp +input entity_history_filter_stream_cursor_input { + """Stream column input with initial value""" + initial_value: entity_history_filter_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input entity_history_filter_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + entity_id: String + entity_type: entity_type + log_index: Int + new_val: json + old_val: json + previous_block_number: Int + previous_log_index: Int } """ -order by max() on columns of table "ShipVote" +order by max() on columns of table "entity_history" """ -input ShipVote_max_order_by { - amount: order_by - choice_id: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voter: order_by +input entity_history_max_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by min() on columns of table "ShipVote" +order by min() on columns of table "entity_history" """ -input ShipVote_min_order_by { - amount: order_by - choice_id: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voter: order_by +input entity_history_min_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -"""Ordering options when selecting data from "ShipVote".""" -input ShipVote_order_by { - amount: order_by - choice: ShipChoice_order_by - choice_id: order_by - contest: GrantShipsVoting_order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - isRectractVote: order_by - mdPointer: order_by - mdProtocol: order_by - voter: order_by +"""Ordering options when selecting data from "entity_history".""" +input entity_history_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + event: raw_events_order_by + log_index: order_by + params: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -select columns of table "ShipVote" +select columns of table "entity_history" """ -enum ShipVote_select_column { +enum entity_history_select_column { """column name""" - amount + block_number """column name""" - choice_id + block_timestamp """column name""" - contest_id + chain_id """column name""" - db_write_timestamp + entity_id """column name""" - id + entity_type """column name""" - isRectractVote + log_index """column name""" - mdPointer + params """column name""" - mdProtocol + previous_block_number + """column name""" + previous_block_timestamp """column name""" - voter + previous_chain_id + """column name""" + previous_log_index } """ -order by stddev() on columns of table "ShipVote" +order by stddev() on columns of table "entity_history" """ -input ShipVote_stddev_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_stddev_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by stddev_pop() on columns of table "ShipVote" +order by stddev_pop() on columns of table "entity_history" """ -input ShipVote_stddev_pop_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_stddev_pop_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by stddev_samp() on columns of table "ShipVote" +order by stddev_samp() on columns of table "entity_history" """ -input ShipVote_stddev_samp_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_stddev_samp_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -Streaming cursor of the table "ShipVote" +Streaming cursor of the table "entity_history" """ -input ShipVote_stream_cursor_input { +input entity_history_stream_cursor_input { """Stream column input with initial value""" - initial_value: ShipVote_stream_cursor_value_input! + initial_value: entity_history_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input ShipVote_stream_cursor_value_input { - amount: numeric - choice_id: String - contest_id: String - db_write_timestamp: timestamp - id: String - isRectractVote: Boolean - mdPointer: String - mdProtocol: numeric - voter: String +input entity_history_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + entity_id: String + entity_type: entity_type + log_index: Int + params: json + previous_block_number: Int + previous_block_timestamp: Int + previous_chain_id: Int + previous_log_index: Int } """ -order by sum() on columns of table "ShipVote" +order by sum() on columns of table "entity_history" """ -input ShipVote_sum_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_sum_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by var_pop() on columns of table "ShipVote" +order by var_pop() on columns of table "entity_history" """ -input ShipVote_var_pop_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_var_pop_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by var_samp() on columns of table "ShipVote" +order by var_samp() on columns of table "entity_history" """ -input ShipVote_var_samp_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_var_samp_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } """ -order by variance() on columns of table "ShipVote" +order by variance() on columns of table "entity_history" """ -input ShipVote_variance_order_by { - amount: order_by - mdProtocol: order_by +input entity_history_variance_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } +scalar entity_type + """ -columns and relationships of "StemModule" +Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. """ -type StemModule { - """An object relationship""" - contest: Contest - contestAddress: String - contest_id: String - db_write_timestamp: timestamp - filterTag: String! - id: String! - moduleAddress: String! - moduleName: String! - """An object relationship""" - moduleTemplate: ModuleTemplate - moduleTemplate_id: String! +input entity_type_comparison_exp { + _eq: entity_type + _gt: entity_type + _gte: entity_type + _in: [entity_type!] + _is_null: Boolean + _lt: entity_type + _lte: entity_type + _neq: entity_type + _nin: [entity_type!] +} + +""" +columns and relationships of "event_sync_state" +""" +type event_sync_state { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + log_index: Int! + transaction_index: Int! } """ -Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. """ -input StemModule_bool_exp { - _and: [StemModule_bool_exp!] - _not: StemModule_bool_exp - _or: [StemModule_bool_exp!] - contest: Contest_bool_exp - contestAddress: String_comparison_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - filterTag: String_comparison_exp - id: String_comparison_exp - moduleAddress: String_comparison_exp - moduleName: String_comparison_exp - moduleTemplate: ModuleTemplate_bool_exp - moduleTemplate_id: String_comparison_exp +input event_sync_state_bool_exp { + _and: [event_sync_state_bool_exp!] + _not: event_sync_state_bool_exp + _or: [event_sync_state_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + log_index: Int_comparison_exp + transaction_index: Int_comparison_exp } -"""Ordering options when selecting data from "StemModule".""" -input StemModule_order_by { - contest: Contest_order_by - contestAddress: order_by - contest_id: order_by - db_write_timestamp: order_by - filterTag: order_by - id: order_by - moduleAddress: order_by - moduleName: order_by - moduleTemplate: ModuleTemplate_order_by - moduleTemplate_id: order_by +"""Ordering options when selecting data from "event_sync_state".""" +input event_sync_state_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + transaction_index: order_by } """ -select columns of table "StemModule" +select columns of table "event_sync_state" """ -enum StemModule_select_column { - """column name""" - contestAddress - """column name""" - contest_id - """column name""" - db_write_timestamp +enum event_sync_state_select_column { """column name""" - filterTag + block_number """column name""" - id + block_timestamp """column name""" - moduleAddress + chain_id """column name""" - moduleName + log_index """column name""" - moduleTemplate_id + transaction_index } """ -Streaming cursor of the table "StemModule" +Streaming cursor of the table "event_sync_state" """ -input StemModule_stream_cursor_input { +input event_sync_state_stream_cursor_input { """Stream column input with initial value""" - initial_value: StemModule_stream_cursor_value_input! + initial_value: event_sync_state_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input StemModule_stream_cursor_value_input { - contestAddress: String - contest_id: String - db_write_timestamp: timestamp - filterTag: String - id: String - moduleAddress: String - moduleName: String - moduleTemplate_id: String +input event_sync_state_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + log_index: Int + transaction_index: Int } +scalar event_type + """ -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. """ -input String_array_comparison_exp { - """is the array contained in the given array value""" - _contained_in: [String!] - """does the array contain the given value""" - _contains: [String!] - _eq: [String!] - _gt: [String!] - _gte: [String!] - _in: [[String!]!] +input event_type_comparison_exp { + _eq: event_type + _gt: event_type + _gte: event_type + _in: [event_type!] _is_null: Boolean - _lt: [String!] - _lte: [String!] - _neq: [String!] - _nin: [[String!]!] + _lt: event_type + _lte: event_type + _neq: event_type + _nin: [event_type!] +} + +input get_entity_history_filter_args { + end_block: Int + end_chain_id: Int + end_log_index: Int + end_timestamp: Int + start_block: Int + start_chain_id: Int + start_log_index: Int + start_timestamp: Int } +scalar json + """ -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. """ -input String_comparison_exp { - _eq: String - _gt: String - _gte: String - """does the column match the given case-insensitive pattern""" - _ilike: String - _in: [String!] - """ - does the column match the given POSIX regular expression, case insensitive - """ - _iregex: String +input json_comparison_exp { + _eq: json + _gt: json + _gte: json + _in: [json!] _is_null: Boolean - """does the column match the given pattern""" - _like: String - _lt: String - _lte: String - _neq: String - """does the column NOT match the given case-insensitive pattern""" - _nilike: String - _nin: [String!] - """ - does the column NOT match the given POSIX regular expression, case insensitive - """ - _niregex: String - """does the column NOT match the given pattern""" - _nlike: String - """ - does the column NOT match the given POSIX regular expression, case sensitive - """ - _nregex: String - """does the column NOT match the given SQL regular expression""" - _nsimilar: String - """ - does the column match the given POSIX regular expression, case sensitive - """ - _regex: String - """does the column match the given SQL regular expression""" - _similar: String + _lt: json + _lte: json + _neq: json + _nin: [json!] } +scalar numeric + """ -columns and relationships of "TVParams" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. """ -type TVParams { - db_write_timestamp: timestamp - id: String! - voteDuration: numeric! +input numeric_comparison_exp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _is_null: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] +} + +"""column ordering options""" +enum order_by { + """in ascending order, nulls last""" + asc + """in ascending order, nulls first""" + asc_nulls_first + """in ascending order, nulls last""" + asc_nulls_last + """in descending order, nulls first""" + desc + """in descending order, nulls first""" + desc_nulls_first + """in descending order, nulls last""" + desc_nulls_last } """ -Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. +columns and relationships of "persisted_state" """ -input TVParams_bool_exp { - _and: [TVParams_bool_exp!] - _not: TVParams_bool_exp - _or: [TVParams_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - voteDuration: numeric_comparison_exp +type persisted_state { + abi_files_hash: String! + config_hash: String! + envio_version: String! + handler_files_hash: String! + id: Int! + schema_hash: String! } -"""Ordering options when selecting data from "TVParams".""" -input TVParams_order_by { - db_write_timestamp: order_by +""" +Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. +""" +input persisted_state_bool_exp { + _and: [persisted_state_bool_exp!] + _not: persisted_state_bool_exp + _or: [persisted_state_bool_exp!] + abi_files_hash: String_comparison_exp + config_hash: String_comparison_exp + envio_version: String_comparison_exp + handler_files_hash: String_comparison_exp + id: Int_comparison_exp + schema_hash: String_comparison_exp +} + +"""Ordering options when selecting data from "persisted_state".""" +input persisted_state_order_by { + abi_files_hash: order_by + config_hash: order_by + envio_version: order_by + handler_files_hash: order_by id: order_by - voteDuration: order_by + schema_hash: order_by } """ -select columns of table "TVParams" +select columns of table "persisted_state" """ -enum TVParams_select_column { +enum persisted_state_select_column { """column name""" - db_write_timestamp + abi_files_hash + """column name""" + config_hash + """column name""" + envio_version + """column name""" + handler_files_hash """column name""" id """column name""" - voteDuration + schema_hash } """ -Streaming cursor of the table "TVParams" +Streaming cursor of the table "persisted_state" """ -input TVParams_stream_cursor_input { +input persisted_state_stream_cursor_input { """Stream column input with initial value""" - initial_value: TVParams_stream_cursor_value_input! + initial_value: persisted_state_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input TVParams_stream_cursor_value_input { - db_write_timestamp: timestamp - id: String - voteDuration: numeric +input persisted_state_stream_cursor_value_input { + abi_files_hash: String + config_hash: String + envio_version: String + handler_files_hash: String + id: Int + schema_hash: String } """ -columns and relationships of "chain_metadata" +columns and relationships of "raw_events" """ -type chain_metadata { - block_height: Int! +type raw_events { + block_hash: String! + block_number: Int! + block_timestamp: Int! chain_id: Int! - end_block: Int - first_event_block_number: Int - is_hyper_sync: Boolean! - latest_fetched_block_number: Int! - latest_processed_block: Int - num_batches_fetched: Int! - num_events_processed: Int - start_block: Int! - timestamp_caught_up_to_head_or_endblock: timestamptz + db_write_timestamp: timestamp + """An array relationship""" + event_history( + """distinct select on columns""" + distinct_on: [entity_history_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [entity_history_order_by!] + """filter the rows returned""" + where: entity_history_bool_exp + ): [entity_history!]! + event_id: numeric! + event_type: event_type! + log_index: Int! + params( + """JSON select path""" + path: String + ): json! + src_address: String! + transaction_hash: String! + transaction_index: Int! } """ -Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. +Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. """ -input chain_metadata_bool_exp { - _and: [chain_metadata_bool_exp!] - _not: chain_metadata_bool_exp - _or: [chain_metadata_bool_exp!] - block_height: Int_comparison_exp +input raw_events_bool_exp { + _and: [raw_events_bool_exp!] + _not: raw_events_bool_exp + _or: [raw_events_bool_exp!] + block_hash: String_comparison_exp + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp chain_id: Int_comparison_exp - end_block: Int_comparison_exp - first_event_block_number: Int_comparison_exp - is_hyper_sync: Boolean_comparison_exp - latest_fetched_block_number: Int_comparison_exp - latest_processed_block: Int_comparison_exp - num_batches_fetched: Int_comparison_exp - num_events_processed: Int_comparison_exp - start_block: Int_comparison_exp - timestamp_caught_up_to_head_or_endblock: timestamptz_comparison_exp + db_write_timestamp: timestamp_comparison_exp + event_history: entity_history_bool_exp + event_id: numeric_comparison_exp + event_type: event_type_comparison_exp + log_index: Int_comparison_exp + params: json_comparison_exp + src_address: String_comparison_exp + transaction_hash: String_comparison_exp + transaction_index: Int_comparison_exp } -"""Ordering options when selecting data from "chain_metadata".""" -input chain_metadata_order_by { - block_height: order_by +"""Ordering options when selecting data from "raw_events".""" +input raw_events_order_by { + block_hash: order_by + block_number: order_by + block_timestamp: order_by chain_id: order_by - end_block: order_by - first_event_block_number: order_by - is_hyper_sync: order_by - latest_fetched_block_number: order_by - latest_processed_block: order_by - num_batches_fetched: order_by - num_events_processed: order_by - start_block: order_by - timestamp_caught_up_to_head_or_endblock: order_by + db_write_timestamp: order_by + event_history_aggregate: entity_history_aggregate_order_by + event_id: order_by + event_type: order_by + log_index: order_by + params: order_by + src_address: order_by + transaction_hash: order_by + transaction_index: order_by } """ -select columns of table "chain_metadata" +select columns of table "raw_events" """ -enum chain_metadata_select_column { +enum raw_events_select_column { """column name""" - block_height + block_hash """column name""" - chain_id + block_number """column name""" - end_block + block_timestamp """column name""" - first_event_block_number + chain_id """column name""" - is_hyper_sync + db_write_timestamp """column name""" - latest_fetched_block_number + event_id """column name""" - latest_processed_block + event_type """column name""" - num_batches_fetched + log_index """column name""" - num_events_processed + params """column name""" - start_block + src_address """column name""" - timestamp_caught_up_to_head_or_endblock + transaction_hash + """column name""" + transaction_index } """ -Streaming cursor of the table "chain_metadata" +Streaming cursor of the table "raw_events" """ -input chain_metadata_stream_cursor_input { +input raw_events_stream_cursor_input { """Stream column input with initial value""" - initial_value: chain_metadata_stream_cursor_value_input! + initial_value: raw_events_stream_cursor_value_input! """cursor ordering""" ordering: cursor_ordering } """Initial value of the column from where the streaming should start""" -input chain_metadata_stream_cursor_value_input { - block_height: Int +input raw_events_stream_cursor_value_input { + block_hash: String + block_number: Int + block_timestamp: Int chain_id: Int - end_block: Int - first_event_block_number: Int - is_hyper_sync: Boolean - latest_fetched_block_number: Int - latest_processed_block: Int - num_batches_fetched: Int - num_events_processed: Int - start_block: Int - timestamp_caught_up_to_head_or_endblock: timestamptz + db_write_timestamp: timestamp + event_id: numeric + event_type: event_type + log_index: Int + params: json + src_address: String + transaction_hash: String + transaction_index: Int +} + +scalar timestamp + +""" +Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. +""" +input timestamp_comparison_exp { + _eq: timestamp + _gt: timestamp + _gte: timestamp + _in: [timestamp!] + _is_null: Boolean + _lt: timestamp + _lte: timestamp + _neq: timestamp + _nin: [timestamp!] +} + +scalar timestamptz + +""" +Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +""" +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] +} + +enum Aggregation_interval { + hour + day +} + +type ApplicationHistory { + id: ID! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! +} + +input ApplicationHistory_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ApplicationHistory_filter] + or: [ApplicationHistory_filter] +} + +enum ApplicationHistory_orderBy { + id + grantApplicationBytes + applicationSubmitted +} + +scalar BigDecimal + +scalar BigInt + +input BlockChangedFilter { + number_gte: Int! } -scalar contract_type +input Block_height { + hash: Bytes + number: Int + number_gte: Int +} -""" -Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. -""" -input contract_type_comparison_exp { - _eq: contract_type - _gt: contract_type - _gte: contract_type - _in: [contract_type!] - _is_null: Boolean - _lt: contract_type - _lte: contract_type - _neq: contract_type - _nin: [contract_type!] +scalar Bytes + +type FeedItem { + id: ID! + timestamp: BigInt + content: String! + sender: Bytes! + tag: String! + subjectMetadataPointer: String! + subjectId: ID! + objectId: ID + subject: FeedItemEntity! + object: FeedItemEntity + embed: FeedItemEmbed + details: String } -"""ordering argument of a cursor""" -enum cursor_ordering { - """ascending ordering of the cursor""" - ASC - """descending ordering of the cursor""" - DESC +type FeedItemEmbed { + id: ID! + key: String + pointer: String + protocol: BigInt + content: String } -""" -columns and relationships of "dynamic_contract_registry" -""" -type dynamic_contract_registry { - block_timestamp: Int! - chain_id: Int! - contract_address: String! - contract_type: contract_type! - event_id: numeric! +input FeedItemEmbed_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + key: String + key_not: String + key_gt: String + key_lt: String + key_gte: String + key_lte: String + key_in: [String!] + key_not_in: [String!] + key_contains: String + key_contains_nocase: String + key_not_contains: String + key_not_contains_nocase: String + key_starts_with: String + key_starts_with_nocase: String + key_not_starts_with: String + key_not_starts_with_nocase: String + key_ends_with: String + key_ends_with_nocase: String + key_not_ends_with: String + key_not_ends_with_nocase: String + pointer: String + pointer_not: String + pointer_gt: String + pointer_lt: String + pointer_gte: String + pointer_lte: String + pointer_in: [String!] + pointer_not_in: [String!] + pointer_contains: String + pointer_contains_nocase: String + pointer_not_contains: String + pointer_not_contains_nocase: String + pointer_starts_with: String + pointer_starts_with_nocase: String + pointer_not_starts_with: String + pointer_not_starts_with_nocase: String + pointer_ends_with: String + pointer_ends_with_nocase: String + pointer_not_ends_with: String + pointer_not_ends_with_nocase: String + protocol: BigInt + protocol_not: BigInt + protocol_gt: BigInt + protocol_lt: BigInt + protocol_gte: BigInt + protocol_lte: BigInt + protocol_in: [BigInt!] + protocol_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEmbed_filter] + or: [FeedItemEmbed_filter] } -""" -Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. -""" -input dynamic_contract_registry_bool_exp { - _and: [dynamic_contract_registry_bool_exp!] - _not: dynamic_contract_registry_bool_exp - _or: [dynamic_contract_registry_bool_exp!] - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - contract_address: String_comparison_exp - contract_type: contract_type_comparison_exp - event_id: numeric_comparison_exp +enum FeedItemEmbed_orderBy { + id + key + pointer + protocol + content } -"""Ordering options when selecting data from "dynamic_contract_registry".""" -input dynamic_contract_registry_order_by { - block_timestamp: order_by - chain_id: order_by - contract_address: order_by - contract_type: order_by - event_id: order_by +type FeedItemEntity { + id: ID! + name: String! + type: String! } -""" -select columns of table "dynamic_contract_registry" -""" -enum dynamic_contract_registry_select_column { - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - contract_address - """column name""" - contract_type - """column name""" - event_id +input FeedItemEntity_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + type: String + type_not: String + type_gt: String + type_lt: String + type_gte: String + type_lte: String + type_in: [String!] + type_not_in: [String!] + type_contains: String + type_contains_nocase: String + type_not_contains: String + type_not_contains_nocase: String + type_starts_with: String + type_starts_with_nocase: String + type_not_starts_with: String + type_not_starts_with_nocase: String + type_ends_with: String + type_ends_with_nocase: String + type_not_ends_with: String + type_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEntity_filter] + or: [FeedItemEntity_filter] } -""" -Streaming cursor of the table "dynamic_contract_registry" -""" -input dynamic_contract_registry_stream_cursor_input { - """Stream column input with initial value""" - initial_value: dynamic_contract_registry_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering +enum FeedItemEntity_orderBy { + id + name + type } -"""Initial value of the column from where the streaming should start""" -input dynamic_contract_registry_stream_cursor_value_input { - block_timestamp: Int - chain_id: Int - contract_address: String - contract_type: contract_type - event_id: numeric +input FeedItem_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + tag: String + tag_not: String + tag_gt: String + tag_lt: String + tag_gte: String + tag_lte: String + tag_in: [String!] + tag_not_in: [String!] + tag_contains: String + tag_contains_nocase: String + tag_not_contains: String + tag_not_contains_nocase: String + tag_starts_with: String + tag_starts_with_nocase: String + tag_not_starts_with: String + tag_not_starts_with_nocase: String + tag_ends_with: String + tag_ends_with_nocase: String + tag_not_ends_with: String + tag_not_ends_with_nocase: String + subjectMetadataPointer: String + subjectMetadataPointer_not: String + subjectMetadataPointer_gt: String + subjectMetadataPointer_lt: String + subjectMetadataPointer_gte: String + subjectMetadataPointer_lte: String + subjectMetadataPointer_in: [String!] + subjectMetadataPointer_not_in: [String!] + subjectMetadataPointer_contains: String + subjectMetadataPointer_contains_nocase: String + subjectMetadataPointer_not_contains: String + subjectMetadataPointer_not_contains_nocase: String + subjectMetadataPointer_starts_with: String + subjectMetadataPointer_starts_with_nocase: String + subjectMetadataPointer_not_starts_with: String + subjectMetadataPointer_not_starts_with_nocase: String + subjectMetadataPointer_ends_with: String + subjectMetadataPointer_ends_with_nocase: String + subjectMetadataPointer_not_ends_with: String + subjectMetadataPointer_not_ends_with_nocase: String + subjectId: ID + subjectId_not: ID + subjectId_gt: ID + subjectId_lt: ID + subjectId_gte: ID + subjectId_lte: ID + subjectId_in: [ID!] + subjectId_not_in: [ID!] + objectId: ID + objectId_not: ID + objectId_gt: ID + objectId_lt: ID + objectId_gte: ID + objectId_lte: ID + objectId_in: [ID!] + objectId_not_in: [ID!] + subject: String + subject_not: String + subject_gt: String + subject_lt: String + subject_gte: String + subject_lte: String + subject_in: [String!] + subject_not_in: [String!] + subject_contains: String + subject_contains_nocase: String + subject_not_contains: String + subject_not_contains_nocase: String + subject_starts_with: String + subject_starts_with_nocase: String + subject_not_starts_with: String + subject_not_starts_with_nocase: String + subject_ends_with: String + subject_ends_with_nocase: String + subject_not_ends_with: String + subject_not_ends_with_nocase: String + subject_: FeedItemEntity_filter + object: String + object_not: String + object_gt: String + object_lt: String + object_gte: String + object_lte: String + object_in: [String!] + object_not_in: [String!] + object_contains: String + object_contains_nocase: String + object_not_contains: String + object_not_contains_nocase: String + object_starts_with: String + object_starts_with_nocase: String + object_not_starts_with: String + object_not_starts_with_nocase: String + object_ends_with: String + object_ends_with_nocase: String + object_not_ends_with: String + object_not_ends_with_nocase: String + object_: FeedItemEntity_filter + embed: String + embed_not: String + embed_gt: String + embed_lt: String + embed_gte: String + embed_lte: String + embed_in: [String!] + embed_not_in: [String!] + embed_contains: String + embed_contains_nocase: String + embed_not_contains: String + embed_not_contains_nocase: String + embed_starts_with: String + embed_starts_with_nocase: String + embed_not_starts_with: String + embed_not_starts_with_nocase: String + embed_ends_with: String + embed_ends_with_nocase: String + embed_not_ends_with: String + embed_not_ends_with_nocase: String + embed_: FeedItemEmbed_filter + details: String + details_not: String + details_gt: String + details_lt: String + details_gte: String + details_lte: String + details_in: [String!] + details_not_in: [String!] + details_contains: String + details_contains_nocase: String + details_not_contains: String + details_not_contains_nocase: String + details_starts_with: String + details_starts_with_nocase: String + details_not_starts_with: String + details_not_starts_with_nocase: String + details_ends_with: String + details_ends_with_nocase: String + details_not_ends_with: String + details_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItem_filter] + or: [FeedItem_filter] } -""" -columns and relationships of "entity_history" -""" -type entity_history { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - entity_id: String! - entity_type: entity_type! - """An object relationship""" - event: raw_events - log_index: Int! - params( - """JSON select path""" - path: String - ): json - previous_block_number: Int - previous_block_timestamp: Int - previous_chain_id: Int - previous_log_index: Int +enum FeedItem_orderBy { + id + timestamp + content + sender + tag + subjectMetadataPointer + subjectId + objectId + subject + subject__id + subject__name + subject__type + object + object__id + object__name + object__type + embed + embed__id + embed__key + embed__pointer + embed__protocol + embed__content + details } -""" -order by aggregate values of table "entity_history" -""" -input entity_history_aggregate_order_by { - avg: entity_history_avg_order_by - count: order_by - max: entity_history_max_order_by - min: entity_history_min_order_by - stddev: entity_history_stddev_order_by - stddev_pop: entity_history_stddev_pop_order_by - stddev_samp: entity_history_stddev_samp_order_by - sum: entity_history_sum_order_by - var_pop: entity_history_var_pop_order_by - var_samp: entity_history_var_samp_order_by - variance: entity_history_variance_order_by +type GameManager { + id: Bytes! + poolId: BigInt! + gameFacilitatorId: BigInt! + rootAccount: Bytes! + tokenAddress: Bytes! + currentRoundId: BigInt! + currentRound: GameRound + poolFunds: BigInt! } -""" -order by avg() on columns of table "entity_history" -""" -input entity_history_avg_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +input GameManager_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 + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + gameFacilitatorId: BigInt + gameFacilitatorId_not: BigInt + gameFacilitatorId_gt: BigInt + gameFacilitatorId_lt: BigInt + gameFacilitatorId_gte: BigInt + gameFacilitatorId_lte: BigInt + gameFacilitatorId_in: [BigInt!] + gameFacilitatorId_not_in: [BigInt!] + rootAccount: Bytes + rootAccount_not: Bytes + rootAccount_gt: Bytes + rootAccount_lt: Bytes + rootAccount_gte: Bytes + rootAccount_lte: Bytes + rootAccount_in: [Bytes!] + rootAccount_not_in: [Bytes!] + rootAccount_contains: Bytes + rootAccount_not_contains: Bytes + tokenAddress: Bytes + tokenAddress_not: Bytes + tokenAddress_gt: Bytes + tokenAddress_lt: Bytes + tokenAddress_gte: Bytes + tokenAddress_lte: Bytes + tokenAddress_in: [Bytes!] + tokenAddress_not_in: [Bytes!] + tokenAddress_contains: Bytes + tokenAddress_not_contains: Bytes + currentRoundId: BigInt + currentRoundId_not: BigInt + currentRoundId_gt: BigInt + currentRoundId_lt: BigInt + currentRoundId_gte: BigInt + currentRoundId_lte: BigInt + currentRoundId_in: [BigInt!] + currentRoundId_not_in: [BigInt!] + currentRound: String + currentRound_not: String + currentRound_gt: String + currentRound_lt: String + currentRound_gte: String + currentRound_lte: String + currentRound_in: [String!] + currentRound_not_in: [String!] + currentRound_contains: String + currentRound_contains_nocase: String + currentRound_not_contains: String + currentRound_not_contains_nocase: String + currentRound_starts_with: String + currentRound_starts_with_nocase: String + currentRound_not_starts_with: String + currentRound_not_starts_with_nocase: String + currentRound_ends_with: String + currentRound_ends_with_nocase: String + currentRound_not_ends_with: String + currentRound_not_ends_with_nocase: String + currentRound_: GameRound_filter + poolFunds: BigInt + poolFunds_not: BigInt + poolFunds_gt: BigInt + poolFunds_lt: BigInt + poolFunds_gte: BigInt + poolFunds_lte: BigInt + poolFunds_in: [BigInt!] + poolFunds_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GameManager_filter] + or: [GameManager_filter] } -""" -Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. -""" -input entity_history_bool_exp { - _and: [entity_history_bool_exp!] - _not: entity_history_bool_exp - _or: [entity_history_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - entity_id: String_comparison_exp - entity_type: entity_type_comparison_exp - event: raw_events_bool_exp - log_index: Int_comparison_exp - params: json_comparison_exp - previous_block_number: Int_comparison_exp - previous_block_timestamp: Int_comparison_exp - previous_chain_id: Int_comparison_exp - previous_log_index: Int_comparison_exp +enum GameManager_orderBy { + id + poolId + gameFacilitatorId + rootAccount + tokenAddress + currentRoundId + currentRound + currentRound__id + currentRound__startTime + currentRound__endTime + currentRound__totalRoundAmount + currentRound__totalAllocatedAmount + currentRound__totalDistributedAmount + currentRound__gameStatus + currentRound__isGameActive + currentRound__realStartTime + currentRound__realEndTime + poolFunds } -""" -columns and relationships of "entity_history_filter" -""" -type entity_history_filter { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - entity_id: String! - entity_type: entity_type! - """An object relationship""" - event: raw_events - log_index: Int! - new_val( - """JSON select path""" - path: String - ): json - old_val( - """JSON select path""" - path: String - ): json - previous_block_number: Int! - previous_log_index: Int! +type GameRound { + id: ID! + startTime: BigInt! + endTime: BigInt! + totalRoundAmount: BigInt! + totalAllocatedAmount: BigInt! + totalDistributedAmount: BigInt! + gameStatus: Int! + ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! + isGameActive: Boolean! + realStartTime: BigInt + realEndTime: BigInt } -""" -Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. -""" -input entity_history_filter_bool_exp { - _and: [entity_history_filter_bool_exp!] - _not: entity_history_filter_bool_exp - _or: [entity_history_filter_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - entity_id: String_comparison_exp - entity_type: entity_type_comparison_exp - event: raw_events_bool_exp - log_index: Int_comparison_exp - new_val: json_comparison_exp - old_val: json_comparison_exp - previous_block_number: Int_comparison_exp - previous_log_index: Int_comparison_exp +input GameRound_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + startTime: BigInt + startTime_not: BigInt + startTime_gt: BigInt + startTime_lt: BigInt + startTime_gte: BigInt + startTime_lte: BigInt + startTime_in: [BigInt!] + startTime_not_in: [BigInt!] + endTime: BigInt + endTime_not: BigInt + endTime_gt: BigInt + endTime_lt: BigInt + endTime_gte: BigInt + endTime_lte: BigInt + endTime_in: [BigInt!] + endTime_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocatedAmount: BigInt + totalAllocatedAmount_not: BigInt + totalAllocatedAmount_gt: BigInt + totalAllocatedAmount_lt: BigInt + totalAllocatedAmount_gte: BigInt + totalAllocatedAmount_lte: BigInt + totalAllocatedAmount_in: [BigInt!] + totalAllocatedAmount_not_in: [BigInt!] + totalDistributedAmount: BigInt + totalDistributedAmount_not: BigInt + totalDistributedAmount_gt: BigInt + totalDistributedAmount_lt: BigInt + totalDistributedAmount_gte: BigInt + totalDistributedAmount_lte: BigInt + totalDistributedAmount_in: [BigInt!] + totalDistributedAmount_not_in: [BigInt!] + gameStatus: Int + gameStatus_not: Int + gameStatus_gt: Int + gameStatus_lt: Int + gameStatus_gte: Int + gameStatus_lte: Int + gameStatus_in: [Int!] + gameStatus_not_in: [Int!] + ships: [String!] + ships_not: [String!] + ships_contains: [String!] + ships_contains_nocase: [String!] + ships_not_contains: [String!] + ships_not_contains_nocase: [String!] + ships_: GrantShip_filter + isGameActive: Boolean + isGameActive_not: Boolean + isGameActive_in: [Boolean!] + isGameActive_not_in: [Boolean!] + realStartTime: BigInt + realStartTime_not: BigInt + realStartTime_gt: BigInt + realStartTime_lt: BigInt + realStartTime_gte: BigInt + realStartTime_lte: BigInt + realStartTime_in: [BigInt!] + realStartTime_not_in: [BigInt!] + realEndTime: BigInt + realEndTime_not: BigInt + realEndTime_gt: BigInt + realEndTime_lt: BigInt + realEndTime_gte: BigInt + realEndTime_lte: BigInt + realEndTime_in: [BigInt!] + realEndTime_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GameRound_filter] + or: [GameRound_filter] } -"""Ordering options when selecting data from "entity_history_filter".""" -input entity_history_filter_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - event: raw_events_order_by - log_index: order_by - new_val: order_by - old_val: order_by - previous_block_number: order_by - previous_log_index: order_by +enum GameRound_orderBy { + id + startTime + endTime + totalRoundAmount + totalAllocatedAmount + totalDistributedAmount + gameStatus + ships + isGameActive + realStartTime + realEndTime } -""" -select columns of table "entity_history_filter" -""" -enum entity_history_filter_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - entity_id - """column name""" - entity_type - """column name""" - log_index - """column name""" - new_val - """column name""" - old_val - """column name""" - previous_block_number - """column name""" - previous_log_index +type GmDeployment { + id: ID! + address: Bytes! + version: GmVersion! + blockNumber: BigInt! + transactionHash: Bytes! + timestamp: BigInt! + hasPool: Boolean! + poolId: BigInt + profileId: Bytes! + poolMetadata: RawMetadata! + poolProfileMetadata: RawMetadata! } -""" -Streaming cursor of the table "entity_history_filter" -""" -input entity_history_filter_stream_cursor_input { - """Stream column input with initial value""" - initial_value: entity_history_filter_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering +input GmDeployment_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes + version: String + version_not: String + version_gt: String + version_lt: String + version_gte: String + version_lte: String + version_in: [String!] + version_not_in: [String!] + version_contains: String + version_contains_nocase: String + version_not_contains: String + version_not_contains_nocase: String + version_starts_with: String + version_starts_with_nocase: String + version_not_starts_with: String + version_not_starts_with_nocase: String + version_ends_with: String + version_ends_with_nocase: String + version_not_ends_with: String + version_not_ends_with_nocase: String + version_: GmVersion_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!] + 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 + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + hasPool: Boolean + hasPool_not: Boolean + hasPool_in: [Boolean!] + hasPool_not_in: [Boolean!] + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + poolMetadata: String + poolMetadata_not: String + poolMetadata_gt: String + poolMetadata_lt: String + poolMetadata_gte: String + poolMetadata_lte: String + poolMetadata_in: [String!] + poolMetadata_not_in: [String!] + poolMetadata_contains: String + poolMetadata_contains_nocase: String + poolMetadata_not_contains: String + poolMetadata_not_contains_nocase: String + poolMetadata_starts_with: String + poolMetadata_starts_with_nocase: String + poolMetadata_not_starts_with: String + poolMetadata_not_starts_with_nocase: String + poolMetadata_ends_with: String + poolMetadata_ends_with_nocase: String + poolMetadata_not_ends_with: String + poolMetadata_not_ends_with_nocase: String + poolMetadata_: RawMetadata_filter + poolProfileMetadata: String + poolProfileMetadata_not: String + poolProfileMetadata_gt: String + poolProfileMetadata_lt: String + poolProfileMetadata_gte: String + poolProfileMetadata_lte: String + poolProfileMetadata_in: [String!] + poolProfileMetadata_not_in: [String!] + poolProfileMetadata_contains: String + poolProfileMetadata_contains_nocase: String + poolProfileMetadata_not_contains: String + poolProfileMetadata_not_contains_nocase: String + poolProfileMetadata_starts_with: String + poolProfileMetadata_starts_with_nocase: String + poolProfileMetadata_not_starts_with: String + poolProfileMetadata_not_starts_with_nocase: String + poolProfileMetadata_ends_with: String + poolProfileMetadata_ends_with_nocase: String + poolProfileMetadata_not_ends_with: String + poolProfileMetadata_not_ends_with_nocase: String + poolProfileMetadata_: RawMetadata_filter + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GmDeployment_filter] + or: [GmDeployment_filter] } -"""Initial value of the column from where the streaming should start""" -input entity_history_filter_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - entity_id: String - entity_type: entity_type - log_index: Int - new_val: json - old_val: json - previous_block_number: Int - previous_log_index: Int +enum GmDeployment_orderBy { + id + address + version + version__id + version__name + version__address + blockNumber + transactionHash + timestamp + hasPool + poolId + profileId + poolMetadata + poolMetadata__id + poolMetadata__protocol + poolMetadata__pointer + poolProfileMetadata + poolProfileMetadata__id + poolProfileMetadata__protocol + poolProfileMetadata__pointer } -""" -order by max() on columns of table "entity_history" -""" -input entity_history_max_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +type GmVersion { + id: ID! + name: String! + address: Bytes! } -""" -order by min() on columns of table "entity_history" -""" -input entity_history_min_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +input GmVersion_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GmVersion_filter] + or: [GmVersion_filter] } -"""Ordering options when selecting data from "entity_history".""" -input entity_history_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - event: raw_events_order_by - log_index: order_by - params: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +enum GmVersion_orderBy { + id + name + address } -""" -select columns of table "entity_history" -""" -enum entity_history_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - entity_id - """column name""" - entity_type - """column name""" - log_index - """column name""" - params - """column name""" - previous_block_number - """column name""" - previous_block_timestamp - """column name""" - previous_chain_id - """column name""" - previous_log_index +type Grant { + id: ID! + projectId: Project! + shipId: GrantShip! + lastUpdated: BigInt! + hasResubmitted: Boolean! + grantStatus: Int! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! + currentMilestoneIndex: BigInt! + milestonesAmount: BigInt! + milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] + shipApprovalReason: RawMetadata + hasShipApproved: Boolean + amtAllocated: BigInt! + amtDistributed: BigInt! + allocatedBy: Bytes + facilitatorReason: RawMetadata + hasFacilitatorApproved: Boolean + milestonesApproved: Boolean + milestonesApprovedReason: RawMetadata + currentMilestoneRejectedReason: RawMetadata + resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! +} + +type GrantShip { + id: Bytes! + profileId: Bytes! + nonce: BigInt! + name: String! + profileMetadata: RawMetadata! + owner: Bytes! + anchor: Bytes! + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! + status: Int! + poolFunded: Boolean! + balance: BigInt! + shipAllocation: BigInt! + totalAvailableFunds: BigInt! + totalRoundAmount: BigInt! + totalAllocated: BigInt! + totalDistributed: BigInt! + grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! + alloProfileMembers: ProfileMemberGroup + shipApplicationBytesData: Bytes + applicationSubmittedTime: BigInt + isAwaitingApproval: Boolean + hasSubmittedApplication: Boolean + isApproved: Boolean + approvedTime: BigInt + isRejected: Boolean + rejectedTime: BigInt + applicationReviewReason: RawMetadata + poolId: BigInt + hatId: String + shipContractAddress: Bytes + shipLaunched: Boolean + poolActive: Boolean + isAllocated: Boolean + isDistributed: Boolean +} + +input GrantShip_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 + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + nonce: BigInt + nonce_not: BigInt + nonce_gt: BigInt + nonce_lt: BigInt + nonce_gte: BigInt + nonce_lte: BigInt + nonce_in: [BigInt!] + nonce_not_in: [BigInt!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + profileMetadata: String + profileMetadata_not: String + profileMetadata_gt: String + profileMetadata_lt: String + profileMetadata_gte: String + profileMetadata_lte: String + profileMetadata_in: [String!] + profileMetadata_not_in: [String!] + profileMetadata_contains: String + profileMetadata_contains_nocase: String + profileMetadata_not_contains: String + profileMetadata_not_contains_nocase: String + profileMetadata_starts_with: String + profileMetadata_starts_with_nocase: String + profileMetadata_not_starts_with: String + profileMetadata_not_starts_with_nocase: String + profileMetadata_ends_with: String + profileMetadata_ends_with_nocase: String + profileMetadata_not_ends_with: String + profileMetadata_not_ends_with_nocase: String + profileMetadata_: RawMetadata_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 + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_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 + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + poolFunded: Boolean + poolFunded_not: Boolean + poolFunded_in: [Boolean!] + poolFunded_not_in: [Boolean!] + balance: BigInt + balance_not: BigInt + balance_gt: BigInt + balance_lt: BigInt + balance_gte: BigInt + balance_lte: BigInt + balance_in: [BigInt!] + balance_not_in: [BigInt!] + shipAllocation: BigInt + shipAllocation_not: BigInt + shipAllocation_gt: BigInt + shipAllocation_lt: BigInt + shipAllocation_gte: BigInt + shipAllocation_lte: BigInt + shipAllocation_in: [BigInt!] + shipAllocation_not_in: [BigInt!] + totalAvailableFunds: BigInt + totalAvailableFunds_not: BigInt + totalAvailableFunds_gt: BigInt + totalAvailableFunds_lt: BigInt + totalAvailableFunds_gte: BigInt + totalAvailableFunds_lte: BigInt + totalAvailableFunds_in: [BigInt!] + totalAvailableFunds_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocated: BigInt + totalAllocated_not: BigInt + totalAllocated_gt: BigInt + totalAllocated_lt: BigInt + totalAllocated_gte: BigInt + totalAllocated_lte: BigInt + totalAllocated_in: [BigInt!] + totalAllocated_not_in: [BigInt!] + totalDistributed: BigInt + totalDistributed_not: BigInt + totalDistributed_gt: BigInt + totalDistributed_lt: BigInt + totalDistributed_gte: BigInt + totalDistributed_lte: BigInt + totalDistributed_in: [BigInt!] + totalDistributed_not_in: [BigInt!] + grants_: Grant_filter + alloProfileMembers: String + alloProfileMembers_not: String + alloProfileMembers_gt: String + alloProfileMembers_lt: String + alloProfileMembers_gte: String + alloProfileMembers_lte: String + alloProfileMembers_in: [String!] + alloProfileMembers_not_in: [String!] + alloProfileMembers_contains: String + alloProfileMembers_contains_nocase: String + alloProfileMembers_not_contains: String + alloProfileMembers_not_contains_nocase: String + alloProfileMembers_starts_with: String + alloProfileMembers_starts_with_nocase: String + alloProfileMembers_not_starts_with: String + alloProfileMembers_not_starts_with_nocase: String + alloProfileMembers_ends_with: String + alloProfileMembers_ends_with_nocase: String + alloProfileMembers_not_ends_with: String + alloProfileMembers_not_ends_with_nocase: String + alloProfileMembers_: ProfileMemberGroup_filter + shipApplicationBytesData: Bytes + shipApplicationBytesData_not: Bytes + shipApplicationBytesData_gt: Bytes + shipApplicationBytesData_lt: Bytes + shipApplicationBytesData_gte: Bytes + shipApplicationBytesData_lte: Bytes + shipApplicationBytesData_in: [Bytes!] + shipApplicationBytesData_not_in: [Bytes!] + shipApplicationBytesData_contains: Bytes + shipApplicationBytesData_not_contains: Bytes + applicationSubmittedTime: BigInt + applicationSubmittedTime_not: BigInt + applicationSubmittedTime_gt: BigInt + applicationSubmittedTime_lt: BigInt + applicationSubmittedTime_gte: BigInt + applicationSubmittedTime_lte: BigInt + applicationSubmittedTime_in: [BigInt!] + applicationSubmittedTime_not_in: [BigInt!] + isAwaitingApproval: Boolean + isAwaitingApproval_not: Boolean + isAwaitingApproval_in: [Boolean!] + isAwaitingApproval_not_in: [Boolean!] + hasSubmittedApplication: Boolean + hasSubmittedApplication_not: Boolean + hasSubmittedApplication_in: [Boolean!] + hasSubmittedApplication_not_in: [Boolean!] + isApproved: Boolean + isApproved_not: Boolean + isApproved_in: [Boolean!] + isApproved_not_in: [Boolean!] + approvedTime: BigInt + approvedTime_not: BigInt + approvedTime_gt: BigInt + approvedTime_lt: BigInt + approvedTime_gte: BigInt + approvedTime_lte: BigInt + approvedTime_in: [BigInt!] + approvedTime_not_in: [BigInt!] + isRejected: Boolean + isRejected_not: Boolean + isRejected_in: [Boolean!] + isRejected_not_in: [Boolean!] + rejectedTime: BigInt + rejectedTime_not: BigInt + rejectedTime_gt: BigInt + rejectedTime_lt: BigInt + rejectedTime_gte: BigInt + rejectedTime_lte: BigInt + rejectedTime_in: [BigInt!] + rejectedTime_not_in: [BigInt!] + applicationReviewReason: String + applicationReviewReason_not: String + applicationReviewReason_gt: String + applicationReviewReason_lt: String + applicationReviewReason_gte: String + applicationReviewReason_lte: String + applicationReviewReason_in: [String!] + applicationReviewReason_not_in: [String!] + applicationReviewReason_contains: String + applicationReviewReason_contains_nocase: String + applicationReviewReason_not_contains: String + applicationReviewReason_not_contains_nocase: String + applicationReviewReason_starts_with: String + applicationReviewReason_starts_with_nocase: String + applicationReviewReason_not_starts_with: String + applicationReviewReason_not_starts_with_nocase: String + applicationReviewReason_ends_with: String + applicationReviewReason_ends_with_nocase: String + applicationReviewReason_not_ends_with: String + applicationReviewReason_not_ends_with_nocase: String + applicationReviewReason_: RawMetadata_filter + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + hatId: String + hatId_not: String + hatId_gt: String + hatId_lt: String + hatId_gte: String + hatId_lte: String + hatId_in: [String!] + hatId_not_in: [String!] + hatId_contains: String + hatId_contains_nocase: String + hatId_not_contains: String + hatId_not_contains_nocase: String + hatId_starts_with: String + hatId_starts_with_nocase: String + hatId_not_starts_with: String + hatId_not_starts_with_nocase: String + hatId_ends_with: String + hatId_ends_with_nocase: String + hatId_not_ends_with: String + hatId_not_ends_with_nocase: String + shipContractAddress: Bytes + shipContractAddress_not: Bytes + shipContractAddress_gt: Bytes + shipContractAddress_lt: Bytes + shipContractAddress_gte: Bytes + shipContractAddress_lte: Bytes + shipContractAddress_in: [Bytes!] + shipContractAddress_not_in: [Bytes!] + shipContractAddress_contains: Bytes + shipContractAddress_not_contains: Bytes + shipLaunched: Boolean + shipLaunched_not: Boolean + shipLaunched_in: [Boolean!] + shipLaunched_not_in: [Boolean!] + poolActive: Boolean + poolActive_not: Boolean + poolActive_in: [Boolean!] + poolActive_not_in: [Boolean!] + isAllocated: Boolean + isAllocated_not: Boolean + isAllocated_in: [Boolean!] + isAllocated_not_in: [Boolean!] + isDistributed: Boolean + isDistributed_not: Boolean + isDistributed_in: [Boolean!] + isDistributed_not_in: [Boolean!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GrantShip_filter] + or: [GrantShip_filter] } -""" -order by stddev() on columns of table "entity_history" -""" -input entity_history_stddev_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +enum GrantShip_orderBy { + id + profileId + nonce + name + profileMetadata + profileMetadata__id + profileMetadata__protocol + profileMetadata__pointer + owner + anchor + blockNumber + blockTimestamp + transactionHash + status + poolFunded + balance + shipAllocation + totalAvailableFunds + totalRoundAmount + totalAllocated + totalDistributed + grants + alloProfileMembers + alloProfileMembers__id + shipApplicationBytesData + applicationSubmittedTime + isAwaitingApproval + hasSubmittedApplication + isApproved + approvedTime + isRejected + rejectedTime + applicationReviewReason + applicationReviewReason__id + applicationReviewReason__protocol + applicationReviewReason__pointer + poolId + hatId + shipContractAddress + shipLaunched + poolActive + isAllocated + isDistributed +} + +input Grant_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + projectId: String + projectId_not: String + projectId_gt: String + projectId_lt: String + projectId_gte: String + projectId_lte: String + projectId_in: [String!] + projectId_not_in: [String!] + projectId_contains: String + projectId_contains_nocase: String + projectId_not_contains: String + projectId_not_contains_nocase: String + projectId_starts_with: String + projectId_starts_with_nocase: String + projectId_not_starts_with: String + projectId_not_starts_with_nocase: String + projectId_ends_with: String + projectId_ends_with_nocase: String + projectId_not_ends_with: String + projectId_not_ends_with_nocase: String + projectId_: Project_filter + shipId: String + shipId_not: String + shipId_gt: String + shipId_lt: String + shipId_gte: String + shipId_lte: String + shipId_in: [String!] + shipId_not_in: [String!] + shipId_contains: String + shipId_contains_nocase: String + shipId_not_contains: String + shipId_not_contains_nocase: String + shipId_starts_with: String + shipId_starts_with_nocase: String + shipId_not_starts_with: String + shipId_not_starts_with_nocase: String + shipId_ends_with: String + shipId_ends_with_nocase: String + shipId_not_ends_with: String + shipId_not_ends_with_nocase: String + shipId_: GrantShip_filter + lastUpdated: BigInt + lastUpdated_not: BigInt + lastUpdated_gt: BigInt + lastUpdated_lt: BigInt + lastUpdated_gte: BigInt + lastUpdated_lte: BigInt + lastUpdated_in: [BigInt!] + lastUpdated_not_in: [BigInt!] + hasResubmitted: Boolean + hasResubmitted_not: Boolean + hasResubmitted_in: [Boolean!] + hasResubmitted_not_in: [Boolean!] + grantStatus: Int + grantStatus_not: Int + grantStatus_gt: Int + grantStatus_lt: Int + grantStatus_gte: Int + grantStatus_lte: Int + grantStatus_in: [Int!] + grantStatus_not_in: [Int!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + currentMilestoneIndex: BigInt + currentMilestoneIndex_not: BigInt + currentMilestoneIndex_gt: BigInt + currentMilestoneIndex_lt: BigInt + currentMilestoneIndex_gte: BigInt + currentMilestoneIndex_lte: BigInt + currentMilestoneIndex_in: [BigInt!] + currentMilestoneIndex_not_in: [BigInt!] + milestonesAmount: BigInt + milestonesAmount_not: BigInt + milestonesAmount_gt: BigInt + milestonesAmount_lt: BigInt + milestonesAmount_gte: BigInt + milestonesAmount_lte: BigInt + milestonesAmount_in: [BigInt!] + milestonesAmount_not_in: [BigInt!] + milestones: [String!] + milestones_not: [String!] + milestones_contains: [String!] + milestones_contains_nocase: [String!] + milestones_not_contains: [String!] + milestones_not_contains_nocase: [String!] + milestones_: Milestone_filter + shipApprovalReason: String + shipApprovalReason_not: String + shipApprovalReason_gt: String + shipApprovalReason_lt: String + shipApprovalReason_gte: String + shipApprovalReason_lte: String + shipApprovalReason_in: [String!] + shipApprovalReason_not_in: [String!] + shipApprovalReason_contains: String + shipApprovalReason_contains_nocase: String + shipApprovalReason_not_contains: String + shipApprovalReason_not_contains_nocase: String + shipApprovalReason_starts_with: String + shipApprovalReason_starts_with_nocase: String + shipApprovalReason_not_starts_with: String + shipApprovalReason_not_starts_with_nocase: String + shipApprovalReason_ends_with: String + shipApprovalReason_ends_with_nocase: String + shipApprovalReason_not_ends_with: String + shipApprovalReason_not_ends_with_nocase: String + shipApprovalReason_: RawMetadata_filter + hasShipApproved: Boolean + hasShipApproved_not: Boolean + hasShipApproved_in: [Boolean!] + hasShipApproved_not_in: [Boolean!] + amtAllocated: BigInt + amtAllocated_not: BigInt + amtAllocated_gt: BigInt + amtAllocated_lt: BigInt + amtAllocated_gte: BigInt + amtAllocated_lte: BigInt + amtAllocated_in: [BigInt!] + amtAllocated_not_in: [BigInt!] + amtDistributed: BigInt + amtDistributed_not: BigInt + amtDistributed_gt: BigInt + amtDistributed_lt: BigInt + amtDistributed_gte: BigInt + amtDistributed_lte: BigInt + amtDistributed_in: [BigInt!] + amtDistributed_not_in: [BigInt!] + allocatedBy: Bytes + allocatedBy_not: Bytes + allocatedBy_gt: Bytes + allocatedBy_lt: Bytes + allocatedBy_gte: Bytes + allocatedBy_lte: Bytes + allocatedBy_in: [Bytes!] + allocatedBy_not_in: [Bytes!] + allocatedBy_contains: Bytes + allocatedBy_not_contains: Bytes + facilitatorReason: String + facilitatorReason_not: String + facilitatorReason_gt: String + facilitatorReason_lt: String + facilitatorReason_gte: String + facilitatorReason_lte: String + facilitatorReason_in: [String!] + facilitatorReason_not_in: [String!] + facilitatorReason_contains: String + facilitatorReason_contains_nocase: String + facilitatorReason_not_contains: String + facilitatorReason_not_contains_nocase: String + facilitatorReason_starts_with: String + facilitatorReason_starts_with_nocase: String + facilitatorReason_not_starts_with: String + facilitatorReason_not_starts_with_nocase: String + facilitatorReason_ends_with: String + facilitatorReason_ends_with_nocase: String + facilitatorReason_not_ends_with: String + facilitatorReason_not_ends_with_nocase: String + facilitatorReason_: RawMetadata_filter + hasFacilitatorApproved: Boolean + hasFacilitatorApproved_not: Boolean + hasFacilitatorApproved_in: [Boolean!] + hasFacilitatorApproved_not_in: [Boolean!] + milestonesApproved: Boolean + milestonesApproved_not: Boolean + milestonesApproved_in: [Boolean!] + milestonesApproved_not_in: [Boolean!] + milestonesApprovedReason: String + milestonesApprovedReason_not: String + milestonesApprovedReason_gt: String + milestonesApprovedReason_lt: String + milestonesApprovedReason_gte: String + milestonesApprovedReason_lte: String + milestonesApprovedReason_in: [String!] + milestonesApprovedReason_not_in: [String!] + milestonesApprovedReason_contains: String + milestonesApprovedReason_contains_nocase: String + milestonesApprovedReason_not_contains: String + milestonesApprovedReason_not_contains_nocase: String + milestonesApprovedReason_starts_with: String + milestonesApprovedReason_starts_with_nocase: String + milestonesApprovedReason_not_starts_with: String + milestonesApprovedReason_not_starts_with_nocase: String + milestonesApprovedReason_ends_with: String + milestonesApprovedReason_ends_with_nocase: String + milestonesApprovedReason_not_ends_with: String + milestonesApprovedReason_not_ends_with_nocase: String + milestonesApprovedReason_: RawMetadata_filter + currentMilestoneRejectedReason: String + currentMilestoneRejectedReason_not: String + currentMilestoneRejectedReason_gt: String + currentMilestoneRejectedReason_lt: String + currentMilestoneRejectedReason_gte: String + currentMilestoneRejectedReason_lte: String + currentMilestoneRejectedReason_in: [String!] + currentMilestoneRejectedReason_not_in: [String!] + currentMilestoneRejectedReason_contains: String + currentMilestoneRejectedReason_contains_nocase: String + currentMilestoneRejectedReason_not_contains: String + currentMilestoneRejectedReason_not_contains_nocase: String + currentMilestoneRejectedReason_starts_with: String + currentMilestoneRejectedReason_starts_with_nocase: String + currentMilestoneRejectedReason_not_starts_with: String + currentMilestoneRejectedReason_not_starts_with_nocase: String + currentMilestoneRejectedReason_ends_with: String + currentMilestoneRejectedReason_ends_with_nocase: String + currentMilestoneRejectedReason_not_ends_with: String + currentMilestoneRejectedReason_not_ends_with_nocase: String + currentMilestoneRejectedReason_: RawMetadata_filter + resubmitHistory: [String!] + resubmitHistory_not: [String!] + resubmitHistory_contains: [String!] + resubmitHistory_contains_nocase: [String!] + resubmitHistory_not_contains: [String!] + resubmitHistory_not_contains_nocase: [String!] + resubmitHistory_: ApplicationHistory_filter + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Grant_filter] + or: [Grant_filter] } -""" -order by stddev_pop() on columns of table "entity_history" -""" -input entity_history_stddev_pop_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +enum Grant_orderBy { + id + projectId + projectId__id + projectId__profileId + projectId__status + projectId__nonce + projectId__name + projectId__owner + projectId__anchor + projectId__blockNumber + projectId__blockTimestamp + projectId__transactionHash + projectId__totalAmountReceived + shipId + shipId__id + shipId__profileId + shipId__nonce + shipId__name + shipId__owner + shipId__anchor + shipId__blockNumber + shipId__blockTimestamp + shipId__transactionHash + shipId__status + shipId__poolFunded + shipId__balance + shipId__shipAllocation + shipId__totalAvailableFunds + shipId__totalRoundAmount + shipId__totalAllocated + shipId__totalDistributed + shipId__shipApplicationBytesData + shipId__applicationSubmittedTime + shipId__isAwaitingApproval + shipId__hasSubmittedApplication + shipId__isApproved + shipId__approvedTime + shipId__isRejected + shipId__rejectedTime + shipId__poolId + shipId__hatId + shipId__shipContractAddress + shipId__shipLaunched + shipId__poolActive + shipId__isAllocated + shipId__isDistributed + lastUpdated + hasResubmitted + grantStatus + grantApplicationBytes + applicationSubmitted + currentMilestoneIndex + milestonesAmount + milestones + shipApprovalReason + shipApprovalReason__id + shipApprovalReason__protocol + shipApprovalReason__pointer + hasShipApproved + amtAllocated + amtDistributed + allocatedBy + facilitatorReason + facilitatorReason__id + facilitatorReason__protocol + facilitatorReason__pointer + hasFacilitatorApproved + milestonesApproved + milestonesApprovedReason + milestonesApprovedReason__id + milestonesApprovedReason__protocol + milestonesApprovedReason__pointer + currentMilestoneRejectedReason + currentMilestoneRejectedReason__id + currentMilestoneRejectedReason__protocol + currentMilestoneRejectedReason__pointer + resubmitHistory } """ -order by stddev_samp() on columns of table "entity_history" -""" -input entity_history_stddev_samp_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} +8 bytes signed integer """ -Streaming cursor of the table "entity_history" -""" -input entity_history_stream_cursor_input { - """Stream column input with initial value""" - initial_value: entity_history_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} +scalar Int8 -"""Initial value of the column from where the streaming should start""" -input entity_history_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - entity_id: String - entity_type: entity_type - log_index: Int - params: json - previous_block_number: Int - previous_block_timestamp: Int - previous_chain_id: Int - previous_log_index: Int +type Log { + id: ID! + message: String! + description: String + type: String } -""" -order by sum() on columns of table "entity_history" -""" -input entity_history_sum_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +input Log_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + message: String + message_not: String + message_gt: String + message_lt: String + message_gte: String + message_lte: String + message_in: [String!] + message_not_in: [String!] + message_contains: String + message_contains_nocase: String + message_not_contains: String + message_not_contains_nocase: String + message_starts_with: String + message_starts_with_nocase: String + message_not_starts_with: String + message_not_starts_with_nocase: String + message_ends_with: String + message_ends_with_nocase: String + message_not_ends_with: String + message_not_ends_with_nocase: String + 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_contains: String + description_contains_nocase: String + description_not_contains: String + description_not_contains_nocase: 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 + type: String + type_not: String + type_gt: String + type_lt: String + type_gte: String + type_lte: String + type_in: [String!] + type_not_in: [String!] + type_contains: String + type_contains_nocase: String + type_not_contains: String + type_not_contains_nocase: String + type_starts_with: String + type_starts_with_nocase: String + type_not_starts_with: String + type_not_starts_with_nocase: String + type_ends_with: String + type_ends_with_nocase: String + type_not_ends_with: String + type_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Log_filter] + or: [Log_filter] } -""" -order by var_pop() on columns of table "entity_history" -""" -input entity_history_var_pop_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +enum Log_orderBy { + id + message + description + type } -""" -order by var_samp() on columns of table "entity_history" -""" -input entity_history_var_samp_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +type Milestone { + id: ID! + amountPercentage: Bytes! + mmetadata: BigInt! + amount: BigInt! + status: Int! + lastUpdated: BigInt! } -""" -order by variance() on columns of table "entity_history" -""" -input entity_history_variance_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by +input Milestone_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + amountPercentage: Bytes + amountPercentage_not: Bytes + amountPercentage_gt: Bytes + amountPercentage_lt: Bytes + amountPercentage_gte: Bytes + amountPercentage_lte: Bytes + amountPercentage_in: [Bytes!] + amountPercentage_not_in: [Bytes!] + amountPercentage_contains: Bytes + amountPercentage_not_contains: Bytes + mmetadata: BigInt + mmetadata_not: BigInt + mmetadata_gt: BigInt + mmetadata_lt: BigInt + mmetadata_gte: BigInt + mmetadata_lte: BigInt + mmetadata_in: [BigInt!] + mmetadata_not_in: [BigInt!] + amount: BigInt + amount_not: BigInt + amount_gt: BigInt + amount_lt: BigInt + amount_gte: BigInt + amount_lte: BigInt + amount_in: [BigInt!] + amount_not_in: [BigInt!] + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + lastUpdated: BigInt + lastUpdated_not: BigInt + lastUpdated_gt: BigInt + lastUpdated_lt: BigInt + lastUpdated_gte: BigInt + lastUpdated_lte: BigInt + lastUpdated_in: [BigInt!] + lastUpdated_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Milestone_filter] + or: [Milestone_filter] } -scalar entity_type - -""" -Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. -""" -input entity_type_comparison_exp { - _eq: entity_type - _gt: entity_type - _gte: entity_type - _in: [entity_type!] - _is_null: Boolean - _lt: entity_type - _lte: entity_type - _neq: entity_type - _nin: [entity_type!] +enum Milestone_orderBy { + id + amountPercentage + mmetadata + amount + status + lastUpdated } -""" -columns and relationships of "event_sync_state" -""" -type event_sync_state { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - log_index: Int! - transaction_index: Int! +"""Defines the order direction, either ascending or descending""" +enum OrderDirection { + asc + desc } -""" -Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. -""" -input event_sync_state_bool_exp { - _and: [event_sync_state_bool_exp!] - _not: event_sync_state_bool_exp - _or: [event_sync_state_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - log_index: Int_comparison_exp - transaction_index: Int_comparison_exp +type PoolIdLookup { + id: ID! + entityId: Bytes! } -"""Ordering options when selecting data from "event_sync_state".""" -input event_sync_state_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - transaction_index: order_by +input PoolIdLookup_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + entityId: Bytes + entityId_not: Bytes + entityId_gt: Bytes + entityId_lt: Bytes + entityId_gte: Bytes + entityId_lte: Bytes + entityId_in: [Bytes!] + entityId_not_in: [Bytes!] + entityId_contains: Bytes + entityId_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [PoolIdLookup_filter] + or: [PoolIdLookup_filter] } -""" -select columns of table "event_sync_state" -""" -enum event_sync_state_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - log_index - """column name""" - transaction_index +enum PoolIdLookup_orderBy { + id + entityId } -""" -Streaming cursor of the table "event_sync_state" -""" -input event_sync_state_stream_cursor_input { - """Stream column input with initial value""" - initial_value: event_sync_state_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering +type ProfileIdToAnchor { + id: ID! + profileId: Bytes! + anchor: Bytes! } -"""Initial value of the column from where the streaming should start""" -input event_sync_state_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - log_index: Int - transaction_index: Int +input ProfileIdToAnchor_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ProfileIdToAnchor_filter] + or: [ProfileIdToAnchor_filter] } -scalar event_type - -""" -Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. -""" -input event_type_comparison_exp { - _eq: event_type - _gt: event_type - _gte: event_type - _in: [event_type!] - _is_null: Boolean - _lt: event_type - _lte: event_type - _neq: event_type - _nin: [event_type!] +enum ProfileIdToAnchor_orderBy { + id + profileId + anchor } -input get_entity_history_filter_args { - end_block: Int - end_chain_id: Int - end_log_index: Int - end_timestamp: Int - start_block: Int - start_chain_id: Int - start_log_index: Int - start_timestamp: Int +type ProfileMemberGroup { + id: Bytes! + addresses: [Bytes!] } -scalar json - -""" -Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. -""" -input json_comparison_exp { - _eq: json - _gt: json - _gte: json - _in: [json!] - _is_null: Boolean - _lt: json - _lte: json - _neq: json - _nin: [json!] +input ProfileMemberGroup_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 + addresses: [Bytes!] + addresses_not: [Bytes!] + addresses_contains: [Bytes!] + addresses_contains_nocase: [Bytes!] + addresses_not_contains: [Bytes!] + addresses_not_contains_nocase: [Bytes!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ProfileMemberGroup_filter] + or: [ProfileMemberGroup_filter] } -scalar numeric - -""" -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. -""" -input numeric_array_comparison_exp { - """is the array contained in the given array value""" - _contained_in: [numeric!] - """does the array contain the given value""" - _contains: [numeric!] - _eq: [numeric!] - _gt: [numeric!] - _gte: [numeric!] - _in: [[numeric!]!] - _is_null: Boolean - _lt: [numeric!] - _lte: [numeric!] - _neq: [numeric!] - _nin: [[numeric!]!] +enum ProfileMemberGroup_orderBy { + id + addresses } -""" -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. -""" -input numeric_comparison_exp { - _eq: numeric - _gt: numeric - _gte: numeric - _in: [numeric!] - _is_null: Boolean - _lt: numeric - _lte: numeric - _neq: numeric - _nin: [numeric!] +type Project { + id: Bytes! + profileId: Bytes! + status: Int! + nonce: BigInt! + name: String! + metadata: RawMetadata! + owner: Bytes! + anchor: Bytes! + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! + grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! + members: ProfileMemberGroup + totalAmountReceived: BigInt! } -"""column ordering options""" -enum order_by { - """in ascending order, nulls last""" - asc - """in ascending order, nulls first""" - asc_nulls_first - """in ascending order, nulls last""" - asc_nulls_last - """in descending order, nulls first""" - desc - """in descending order, nulls first""" - desc_nulls_first - """in descending order, nulls last""" - desc_nulls_last +input Project_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 + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + nonce: BigInt + nonce_not: BigInt + nonce_gt: BigInt + nonce_lt: BigInt + nonce_gte: BigInt + nonce_lte: BigInt + nonce_in: [BigInt!] + nonce_not_in: [BigInt!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + metadata: String + metadata_not: String + metadata_gt: String + metadata_lt: String + metadata_gte: String + metadata_lte: String + metadata_in: [String!] + metadata_not_in: [String!] + metadata_contains: String + metadata_contains_nocase: String + metadata_not_contains: String + metadata_not_contains_nocase: String + metadata_starts_with: String + metadata_starts_with_nocase: String + metadata_not_starts_with: String + metadata_not_starts_with_nocase: String + metadata_ends_with: String + metadata_ends_with_nocase: String + metadata_not_ends_with: String + metadata_not_ends_with_nocase: String + metadata_: RawMetadata_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 + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_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 + grants_: Grant_filter + members: String + members_not: String + members_gt: String + members_lt: String + members_gte: String + members_lte: String + members_in: [String!] + members_not_in: [String!] + members_contains: String + members_contains_nocase: String + members_not_contains: String + members_not_contains_nocase: String + members_starts_with: String + members_starts_with_nocase: String + members_not_starts_with: String + members_not_starts_with_nocase: String + members_ends_with: String + members_ends_with_nocase: String + members_not_ends_with: String + members_not_ends_with_nocase: String + members_: ProfileMemberGroup_filter + totalAmountReceived: BigInt + totalAmountReceived_not: BigInt + totalAmountReceived_gt: BigInt + totalAmountReceived_lt: BigInt + totalAmountReceived_gte: BigInt + totalAmountReceived_lte: BigInt + totalAmountReceived_in: [BigInt!] + totalAmountReceived_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Project_filter] + or: [Project_filter] } -""" -columns and relationships of "persisted_state" -""" -type persisted_state { - abi_files_hash: String! - config_hash: String! - envio_version: String! - handler_files_hash: String! - id: Int! - schema_hash: String! +enum Project_orderBy { + id + profileId + status + nonce + name + metadata + metadata__id + metadata__protocol + metadata__pointer + owner + anchor + blockNumber + blockTimestamp + transactionHash + grants + members + members__id + totalAmountReceived } -""" -Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. -""" -input persisted_state_bool_exp { - _and: [persisted_state_bool_exp!] - _not: persisted_state_bool_exp - _or: [persisted_state_bool_exp!] - abi_files_hash: String_comparison_exp - config_hash: String_comparison_exp - envio_version: String_comparison_exp - handler_files_hash: String_comparison_exp - id: Int_comparison_exp - schema_hash: String_comparison_exp +type RawMetadata { + id: String! + protocol: BigInt! + pointer: String! } -"""Ordering options when selecting data from "persisted_state".""" -input persisted_state_order_by { - abi_files_hash: order_by - config_hash: order_by - envio_version: order_by - handler_files_hash: order_by - id: order_by - schema_hash: order_by +input RawMetadata_filter { + id: String + id_not: String + id_gt: String + id_lt: String + id_gte: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_contains_nocase: String + id_not_contains: String + id_not_contains_nocase: String + id_starts_with: String + id_starts_with_nocase: String + id_not_starts_with: String + id_not_starts_with_nocase: String + id_ends_with: String + id_ends_with_nocase: String + id_not_ends_with: String + id_not_ends_with_nocase: String + protocol: BigInt + protocol_not: BigInt + protocol_gt: BigInt + protocol_lt: BigInt + protocol_gte: BigInt + protocol_lte: BigInt + protocol_in: [BigInt!] + protocol_not_in: [BigInt!] + pointer: String + pointer_not: String + pointer_gt: String + pointer_lt: String + pointer_gte: String + pointer_lte: String + pointer_in: [String!] + pointer_not_in: [String!] + pointer_contains: String + pointer_contains_nocase: String + pointer_not_contains: String + pointer_not_contains_nocase: String + pointer_starts_with: String + pointer_starts_with_nocase: String + pointer_not_starts_with: String + pointer_not_starts_with_nocase: String + pointer_ends_with: String + pointer_ends_with_nocase: String + pointer_not_ends_with: String + pointer_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [RawMetadata_filter] + or: [RawMetadata_filter] } -""" -select columns of table "persisted_state" -""" -enum persisted_state_select_column { - """column name""" - abi_files_hash - """column name""" - config_hash - """column name""" - envio_version - """column name""" - handler_files_hash - """column name""" +enum RawMetadata_orderBy { id - """column name""" - schema_hash + protocol + pointer } """ -Streaming cursor of the table "persisted_state" -""" -input persisted_state_stream_cursor_input { - """Stream column input with initial value""" - initial_value: persisted_state_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input persisted_state_stream_cursor_value_input { - abi_files_hash: String - config_hash: String - envio_version: String - handler_files_hash: String - id: Int - schema_hash: String -} +A string representation of microseconds UNIX timestamp (16 digits) """ -columns and relationships of "raw_events" -""" -type raw_events { - block_hash: String! - block_number: Int! - block_timestamp: Int! - chain_id: Int! - db_write_timestamp: timestamp - """An array relationship""" - event_history( - """distinct select on columns""" - distinct_on: [entity_history_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [entity_history_order_by!] - """filter the rows returned""" - where: entity_history_bool_exp - ): [entity_history!]! - event_id: numeric! - event_type: event_type! - log_index: Int! - params( - """JSON select path""" - path: String - ): json! - src_address: String! - transaction_hash: String! - transaction_index: Int! +scalar Timestamp + +type Transaction { + id: ID! + blockNumber: BigInt! + sender: Bytes! + txHash: Bytes! } -""" -Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. -""" -input raw_events_bool_exp { - _and: [raw_events_bool_exp!] - _not: raw_events_bool_exp - _or: [raw_events_bool_exp!] - block_hash: String_comparison_exp - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - db_write_timestamp: timestamp_comparison_exp - event_history: entity_history_bool_exp - event_id: numeric_comparison_exp - event_type: event_type_comparison_exp - log_index: Int_comparison_exp - params: json_comparison_exp - src_address: String_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp +input Transaction_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + blockNumber: BigInt + blockNumber_not: BigInt + blockNumber_gt: BigInt + blockNumber_lt: BigInt + blockNumber_gte: BigInt + blockNumber_lte: BigInt + blockNumber_in: [BigInt!] + blockNumber_not_in: [BigInt!] + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + txHash: Bytes + txHash_not: Bytes + txHash_gt: Bytes + txHash_lt: Bytes + txHash_gte: Bytes + txHash_lte: Bytes + txHash_in: [Bytes!] + txHash_not_in: [Bytes!] + txHash_contains: Bytes + txHash_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Transaction_filter] + or: [Transaction_filter] } -"""Ordering options when selecting data from "raw_events".""" -input raw_events_order_by { - block_hash: order_by - block_number: order_by - block_timestamp: order_by - chain_id: order_by - db_write_timestamp: order_by - event_history_aggregate: entity_history_aggregate_order_by - event_id: order_by - event_type: order_by - log_index: order_by - params: order_by - src_address: order_by - transaction_hash: order_by - transaction_index: order_by +enum Transaction_orderBy { + id + blockNumber + sender + txHash } -""" -select columns of table "raw_events" -""" -enum raw_events_select_column { - """column name""" - block_hash - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - db_write_timestamp - """column name""" - event_id - """column name""" - event_type - """column name""" - log_index - """column name""" - params - """column name""" - src_address - """column name""" - transaction_hash - """column name""" - transaction_index +type Update { + id: ID! + scope: Int! + posterRole: Int! + entityAddress: Bytes! + postedBy: Bytes! + content: RawMetadata! + contentSchema: Int! + postDecorator: Int! + timestamp: BigInt! } -""" -Streaming cursor of the table "raw_events" -""" -input raw_events_stream_cursor_input { - """Stream column input with initial value""" - initial_value: raw_events_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering +input Update_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + scope: Int + scope_not: Int + scope_gt: Int + scope_lt: Int + scope_gte: Int + scope_lte: Int + scope_in: [Int!] + scope_not_in: [Int!] + posterRole: Int + posterRole_not: Int + posterRole_gt: Int + posterRole_lt: Int + posterRole_gte: Int + posterRole_lte: Int + posterRole_in: [Int!] + posterRole_not_in: [Int!] + entityAddress: Bytes + entityAddress_not: Bytes + entityAddress_gt: Bytes + entityAddress_lt: Bytes + entityAddress_gte: Bytes + entityAddress_lte: Bytes + entityAddress_in: [Bytes!] + entityAddress_not_in: [Bytes!] + entityAddress_contains: Bytes + entityAddress_not_contains: Bytes + postedBy: Bytes + postedBy_not: Bytes + postedBy_gt: Bytes + postedBy_lt: Bytes + postedBy_gte: Bytes + postedBy_lte: Bytes + postedBy_in: [Bytes!] + postedBy_not_in: [Bytes!] + postedBy_contains: Bytes + postedBy_not_contains: Bytes + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + content_: RawMetadata_filter + contentSchema: Int + contentSchema_not: Int + contentSchema_gt: Int + contentSchema_lt: Int + contentSchema_gte: Int + contentSchema_lte: Int + contentSchema_in: [Int!] + contentSchema_not_in: [Int!] + postDecorator: Int + postDecorator_not: Int + postDecorator_gt: Int + postDecorator_lt: Int + postDecorator_gte: Int + postDecorator_lte: Int + postDecorator_in: [Int!] + postDecorator_not_in: [Int!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Update_filter] + or: [Update_filter] } -"""Initial value of the column from where the streaming should start""" -input raw_events_stream_cursor_value_input { - block_hash: String - block_number: Int - block_timestamp: Int - chain_id: Int - db_write_timestamp: timestamp - event_id: numeric - event_type: event_type - log_index: Int - params: json - src_address: String - transaction_hash: String - transaction_index: Int +enum Update_orderBy { + id + scope + posterRole + entityAddress + postedBy + content + content__id + content__protocol + content__pointer + contentSchema + postDecorator + timestamp } -scalar timestamp - -""" -Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. -""" -input timestamp_comparison_exp { - _eq: timestamp - _gt: timestamp - _gte: timestamp - _in: [timestamp!] - _is_null: Boolean - _lt: timestamp - _lte: timestamp - _neq: timestamp - _nin: [timestamp!] +type _Block_ { + """The hash of the block""" + hash: Bytes + """The block number""" + number: Int! + """Integer representation of the timestamp stored in blocks for the chain""" + timestamp: Int + """The hash of the parent block""" + parentHash: Bytes } -scalar timestamptz +"""The type for the top-level _meta field""" +type _Meta_ { + """ + Information about a specific subgraph block. The hash of the block + will be null if the _meta field has a block constraint that asks for + a block number. It will be filled if the _meta field has no block constraint + and therefore asks for the latest block + + """ + block: _Block_! + """The deployment ID""" + deployment: String! + """If `true`, the subgraph encountered indexing errors at some past block""" + hasIndexingErrors: Boolean! +} -""" -Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. -""" -input timestamptz_comparison_exp { - _eq: timestamptz - _gt: timestamptz - _gte: timestamptz - _in: [timestamptz!] - _is_null: Boolean - _lt: timestamptz - _lte: timestamptz - _neq: timestamptz - _nin: [timestamptz!] +enum _SubgraphErrorPolicy_ { + """Data will be returned even if the subgraph has indexing errors""" + allow + """ + If the subgraph has indexing errors, data will be omitted. The default. + """ + deny } \ No newline at end of file diff --git a/src/.graphclient/sources/gs-voting/introspectionSchema.ts b/src/.graphclient/sources/gs-voting/introspectionSchema.ts index c1324acc..0118ee6c 100644 --- a/src/.graphclient/sources/gs-voting/introspectionSchema.ts +++ b/src/.graphclient/sources/gs-voting/introspectionSchema.ts @@ -5626,16 +5626,10 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" } } }, @@ -5869,7 +5863,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "String_array_comparison_exp" + "value": "_text_comparison_exp" } }, "directives": [] @@ -6356,16 +6350,10 @@ const schemaAST = { "value": "admins" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" } }, "directives": [] @@ -6482,14 +6470,68 @@ const schemaAST = { "kind": "ObjectTypeDefinition", "description": { "kind": "StringValue", - "value": "columns and relationships of \"GrantShipsVoting\"", + "value": "columns and relationships of \"GSVoter\"", "block": true }, "name": { "kind": "Name", - "value": "GrantShipsVoting" + "value": "GSVoter" }, "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, { "kind": "FieldDefinition", "description": { @@ -6499,7 +6541,7 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "choices" + "value": "votes" }, "arguments": [ { @@ -6521,7 +6563,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipChoice_select_column" + "value": "ShipVote_select_column" } } } @@ -6587,7 +6629,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipChoice_order_by" + "value": "ShipVote_order_by" } } } @@ -6609,7 +6651,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipChoice_bool_exp" + "value": "ShipVote_bool_exp" } }, "directives": [] @@ -6625,235 +6667,409 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipChoice" + "value": "ShipVote" } } } } }, "directives": [] - }, + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"GSVoter\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GSVoter_bool_exp" + }, + "fields": [ { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "An object relationship", - "block": true + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GSVoter_bool_exp" + } + } + } }, + "directives": [] + }, + { + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "contest" + "value": "_not" }, - "arguments": [], "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest" + "value": "GSVoter_bool_exp" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "contest_id" + "value": "_or" }, - "arguments": [], "type": { - "kind": "NonNullType", + "kind": "ListType", "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GSVoter_bool_exp" + } } } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "db_write_timestamp" + "value": "address" }, - "arguments": [], "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "timestamp" + "value": "String_comparison_exp" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "endTime" + "value": "db_write_timestamp" }, - "arguments": [], "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric" + "value": "timestamp_comparison_exp" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "hatId" + "value": "id" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "hatsAddress" + "value": "votes" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" } }, "directives": [] - }, + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"GSVoter\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "GSVoter_order_by" + }, + "fields": [ { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "id" + "value": "address" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "isVotingActive" + "value": "db_write_timestamp" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "startTime" + "value": "id" }, - "arguments": [], "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric" + "value": "order_by" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "totalVotes" + "value": "votes_aggregate" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_aggregate_order_by" } }, "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"GSVoter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GSVoter_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "directives": [] }, { - "kind": "FieldDefinition", + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, "name": { "kind": "Name", - "value": "voteDuration" + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"GSVoter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GSVoter_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" }, - "arguments": [], "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric" + "value": "GSVoter_stream_cursor_value_input" } } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, "name": { "kind": "Name", - "value": "voteTokenAddress" + "value": "ordering" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "GSVoter_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" } }, "directives": [] }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + }, + "fields": [ { "kind": "FieldDefinition", "description": { @@ -6863,7 +7079,7 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "votes" + "value": "choices" }, "arguments": [ { @@ -6885,7 +7101,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipVote_select_column" + "value": "ShipChoice_select_column" } } } @@ -6951,7 +7167,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipVote_order_by" + "value": "ShipChoice_order_by" } } } @@ -6973,7 +7189,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipVote_bool_exp" + "value": "ShipChoice_bool_exp" } }, "directives": [] @@ -6989,7 +7205,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ShipVote" + "value": "ShipChoice" } } } @@ -6999,71 +7215,435 @@ const schemaAST = { }, { "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, "name": { "kind": "Name", - "value": "votingCheckpoint" + "value": "contest" }, "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" } }, "directives": [] - } - ], - "interfaces": [], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Boolean expression to filter rows from the table \"GrantShipsVoting\". All fields are combined with a logical 'AND'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "GrantShipsVoting_bool_exp" - }, - "fields": [ + }, { - "kind": "InputValueDefinition", + "kind": "FieldDefinition", "name": { "kind": "Name", - "value": "_and" + "value": "contest_id" }, + "arguments": [], "type": { - "kind": "ListType", + "kind": "NonNullType", "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "GrantShipsVoting_bool_exp" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } } }, "directives": [] }, { - "kind": "InputValueDefinition", + "kind": "FieldDefinition", "name": { "kind": "Name", - "value": "_not" + "value": "db_write_timestamp" }, + "arguments": [], "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "GrantShipsVoting_bool_exp" + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "endTime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "startTime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "votes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"GrantShipsVoting\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" } }, "directives": [] @@ -8658,16 +9238,10 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" } } }, @@ -8967,7 +9541,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric_array_comparison_exp" + "value": "_numeric_comparison_exp" } }, "directives": [] @@ -9284,16 +9858,10 @@ const schemaAST = { "value": "hatIds" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" } }, "directives": [] @@ -14259,7 +14827,7 @@ const schemaAST = { "kind": "FieldDefinition", "name": { "kind": "Name", - "value": "isRectractVote" + "value": "isRetractVote" }, "arguments": [], "type": { @@ -14314,11 +14882,32 @@ const schemaAST = { }, { "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, "name": { "kind": "Name", "value": "voter" }, "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GSVoter" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voter_id" + }, + "arguments": [], "type": { "kind": "NonNullType", "type": { @@ -14738,7 +15327,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "isRectractVote" + "value": "isRetractVote" }, "type": { "kind": "NamedType", @@ -14785,6 +15374,21 @@ const schemaAST = { "kind": "Name", "value": "voter" }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GSVoter_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter_id" + }, "type": { "kind": "NamedType", "name": { @@ -14918,7 +15522,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voter" + "value": "voter_id" }, "type": { "kind": "NamedType", @@ -15053,7 +15657,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voter" + "value": "voter_id" }, "type": { "kind": "NamedType", @@ -15188,7 +15792,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "isRectractVote" + "value": "isRetractVote" }, "type": { "kind": "NamedType", @@ -15235,6 +15839,21 @@ const schemaAST = { "kind": "Name", "value": "voter" }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GSVoter_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter_id" + }, "type": { "kind": "NamedType", "name": { @@ -15333,7 +15952,7 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "isRectractVote" + "value": "isRetractVote" }, "directives": [] }, @@ -15372,7 +15991,7 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "voter" + "value": "voter_id" }, "directives": [] } @@ -15663,7 +16282,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "isRectractVote" + "value": "isRetractVote" }, "type": { "kind": "NamedType", @@ -15708,7 +16327,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voter" + "value": "voter_id" }, "type": { "kind": "NamedType", @@ -16811,57 +17430,35 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "String_array_comparison_exp" + "value": "String_comparison_exp" }, "fields": [ { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "is the array contained in the given array value", - "block": true - }, "name": { "kind": "Name", - "value": "_contained_in" + "value": "_eq" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the array contain the given value", - "block": true - }, "name": { "kind": "Name", - "value": "_contains" + "value": "_gt" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] @@ -16870,40 +17467,33 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_eq" + "value": "_gte" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given case-insensitive pattern", + "block": true + }, "name": { "kind": "Name", - "value": "_gt" + "value": "_ilike" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] @@ -16912,7 +17502,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_gte" + "value": "_in" }, "type": { "kind": "ListType", @@ -16931,27 +17521,20 @@ const schemaAST = { }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given POSIX regular expression, case insensitive", + "block": true + }, "name": { "kind": "Name", - "value": "_in" + "value": "_iregex" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] @@ -16971,6 +17554,26 @@ const schemaAST = { }, "directives": [] }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_like" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, { "kind": "InputValueDefinition", "name": { @@ -16978,16 +17581,10 @@ const schemaAST = { "value": "_lt" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] @@ -16999,16 +17596,10 @@ const schemaAST = { "value": "_lte" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] @@ -17019,6 +17610,41 @@ const schemaAST = { "kind": "Name", "value": "_neq" }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given case-insensitive pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nilike" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, "type": { "kind": "ListType", "type": { @@ -17036,51 +17662,54 @@ const schemaAST = { }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given POSIX regular expression, case insensitive", + "block": true + }, "name": { "kind": "Name", - "value": "_nin" + "value": "_niregex" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Boolean expression to compare columns of type \"String\". All fields are combined with logical 'AND'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "String_comparison_exp" - }, - "fields": [ + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nlike" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given POSIX regular expression, case sensitive", + "block": true + }, "name": { "kind": "Name", - "value": "_eq" + "value": "_nregex" }, "type": { "kind": "NamedType", @@ -17093,9 +17722,14 @@ const schemaAST = { }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given SQL regular expression", + "block": true + }, "name": { "kind": "Name", - "value": "_gt" + "value": "_nsimilar" }, "type": { "kind": "NamedType", @@ -17108,9 +17742,14 @@ const schemaAST = { }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given POSIX regular expression, case sensitive", + "block": true + }, "name": { "kind": "Name", - "value": "_gte" + "value": "_regex" }, "type": { "kind": "NamedType", @@ -17125,12 +17764,12 @@ const schemaAST = { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "does the column match the given case-insensitive pattern", + "value": "does the column match the given SQL regular expression", "block": true }, "name": { "kind": "Name", - "value": "_ilike" + "value": "_similar" }, "type": { "kind": "NamedType", @@ -17140,12 +17779,97 @@ const schemaAST = { } }, "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"TVParams\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + }, + "fields": [ { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_in" + "value": "_and" }, "type": { "kind": "ListType", @@ -17155,7 +17879,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "TVParams_bool_exp" } } } @@ -17164,20 +17888,15 @@ const schemaAST = { }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column match the given POSIX regular expression, case insensitive", - "block": true - }, "name": { "kind": "Name", - "value": "_iregex" + "value": "_not" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "TVParams_bool_exp" } }, "directives": [] @@ -17186,33 +17905,34 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_is_null" + "value": "_or" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + } } }, "directives": [] }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column match the given pattern", - "block": true - }, "name": { "kind": "Name", - "value": "_like" + "value": "db_write_timestamp" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "timestamp_comparison_exp" } }, "directives": [] @@ -17221,13 +17941,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lt" + "value": "id" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "String_comparison_exp" } }, "directives": [] @@ -17236,169 +17956,165 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lte" + "value": "voteDuration" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "numeric_comparison_exp" } }, "directives": [] - }, + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"TVParams\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_order_by" + }, + "fields": [ { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_neq" + "value": "db_write_timestamp" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "order_by" } }, "directives": [] }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column NOT match the given case-insensitive pattern", - "block": true - }, "name": { "kind": "Name", - "value": "_nilike" + "value": "id" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_nin" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } + "value": "order_by" } }, "directives": [] }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column NOT match the given POSIX regular expression, case insensitive", - "block": true - }, "name": { "kind": "Name", - "value": "_niregex" + "value": "voteDuration" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "order_by" } }, "directives": [] - }, + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_select_column" + }, + "values": [ { - "kind": "InputValueDefinition", + "kind": "EnumValueDefinition", "description": { "kind": "StringValue", - "value": "does the column NOT match the given pattern", + "value": "column name", "block": true }, "name": { "kind": "Name", - "value": "_nlike" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "value": "db_write_timestamp" }, "directives": [] }, { - "kind": "InputValueDefinition", + "kind": "EnumValueDefinition", "description": { "kind": "StringValue", - "value": "does the column NOT match the given POSIX regular expression, case sensitive", + "value": "column name", "block": true }, "name": { "kind": "Name", - "value": "_nregex" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "value": "id" }, "directives": [] }, { - "kind": "InputValueDefinition", + "kind": "EnumValueDefinition", "description": { "kind": "StringValue", - "value": "does the column NOT match the given SQL regular expression", + "value": "column name", "block": true }, "name": { "kind": "Name", - "value": "_nsimilar" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "value": "voteDuration" }, "directives": [] - }, + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_input" + }, + "fields": [ { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "does the column match the given POSIX regular expression, case sensitive", + "value": "Stream column input with initial value", "block": true }, "name": { "kind": "Name", - "value": "_regex" + "value": "initial_value" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_value_input" + } } }, "directives": [] @@ -17407,18 +18123,18 @@ const schemaAST = { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "does the column match the given SQL regular expression", + "value": "cursor ordering", "block": true }, "name": { "kind": "Name", - "value": "_similar" + "value": "ordering" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "cursor_ordering" } }, "directives": [] @@ -17427,24 +18143,23 @@ const schemaAST = { "directives": [] }, { - "kind": "ObjectTypeDefinition", + "kind": "InputObjectTypeDefinition", "description": { "kind": "StringValue", - "value": "columns and relationships of \"TVParams\"", + "value": "Initial value of the column from where the streaming should start", "block": true }, "name": { "kind": "Name", - "value": "TVParams" + "value": "TVParams_stream_cursor_value_input" }, "fields": [ { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", "value": "db_write_timestamp" }, - "arguments": [], "type": { "kind": "NamedType", "name": { @@ -17455,76 +18170,69 @@ const schemaAST = { "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", "value": "id" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } }, "directives": [] }, { - "kind": "FieldDefinition", + "kind": "InputValueDefinition", "name": { "kind": "Name", "value": "voteDuration" }, - "arguments": [], "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" } }, "directives": [] } ], - "interfaces": [], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "_numeric" + }, "directives": [] }, { "kind": "InputObjectTypeDefinition", "description": { "kind": "StringValue", - "value": "Boolean expression to filter rows from the table \"TVParams\". All fields are combined with a logical 'AND'.", + "value": "Boolean expression to compare columns of type \"_numeric\". All fields are combined with logical 'AND'.", "block": true }, "name": { "kind": "Name", - "value": "TVParams_bool_exp" + "value": "_numeric_comparison_exp" }, "fields": [ { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_and" + "value": "_eq" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TVParams_bool_exp" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" } }, "directives": [] @@ -17533,13 +18241,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_not" + "value": "_gt" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "TVParams_bool_exp" + "value": "_numeric" } }, "directives": [] @@ -17548,19 +18256,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_or" + "value": "_gte" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TVParams_bool_exp" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" } }, "directives": [] @@ -17569,13 +18271,19 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "db_write_timestamp" + "value": "_in" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "timestamp_comparison_exp" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" + } + } } }, "directives": [] @@ -17584,13 +18292,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "id" + "value": "_is_null" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String_comparison_exp" + "value": "Boolean" } }, "directives": [] @@ -17599,43 +18307,28 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voteDuration" + "value": "_lt" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric_comparison_exp" + "value": "_numeric" } }, "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Ordering options when selecting data from \"TVParams\".", - "block": true - }, - "name": { - "kind": "Name", - "value": "TVParams_order_by" - }, - "fields": [ + }, { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "db_write_timestamp" + "value": "_lte" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "order_by" + "value": "_numeric" } }, "directives": [] @@ -17644,13 +18337,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "id" + "value": "_neq" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "order_by" + "value": "_numeric" } }, "directives": [] @@ -17659,13 +18352,19 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voteDuration" + "value": "_nin" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "order_by" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_numeric" + } + } } }, "directives": [] @@ -17674,89 +18373,86 @@ const schemaAST = { "directives": [] }, { - "kind": "EnumTypeDefinition", - "description": { - "kind": "StringValue", - "value": "select columns of table \"TVParams\"", - "block": true - }, - "name": { - "kind": "Name", - "value": "TVParams_select_column" - }, - "values": [ - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "column name", - "block": true - }, - "name": { - "kind": "Name", - "value": "db_write_timestamp" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "column name", - "block": true - }, - "name": { - "kind": "Name", - "value": "id" - }, - "directives": [] - }, - { - "kind": "EnumValueDefinition", - "description": { - "kind": "StringValue", - "value": "column name", - "block": true - }, - "name": { - "kind": "Name", - "value": "voteDuration" - }, - "directives": [] - } - ], + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "_text" + }, "directives": [] }, { "kind": "InputObjectTypeDefinition", "description": { "kind": "StringValue", - "value": "Streaming cursor of the table \"TVParams\"", + "value": "Boolean expression to compare columns of type \"_text\". All fields are combined with logical 'AND'.", "block": true }, "name": { "kind": "Name", - "value": "TVParams_stream_cursor_input" + "value": "_text_comparison_exp" }, "fields": [ { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "Stream column input with initial value", - "block": true + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" + } }, + "directives": [] + }, + { + "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "initial_value" + "value": "_gt" }, "type": { - "kind": "NonNullType", + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "TVParams_stream_cursor_value_input" + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" + } } } }, @@ -17764,50 +18460,30 @@ const schemaAST = { }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "cursor ordering", - "block": true - }, "name": { "kind": "Name", - "value": "ordering" + "value": "_is_null" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "cursor_ordering" + "value": "Boolean" } }, "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Initial value of the column from where the streaming should start", - "block": true - }, - "name": { - "kind": "Name", - "value": "TVParams_stream_cursor_value_input" - }, - "fields": [ + }, { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "db_write_timestamp" + "value": "_lt" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "timestamp" + "value": "_text" } }, "directives": [] @@ -17816,13 +18492,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "id" + "value": "_lte" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "String" + "value": "_text" } }, "directives": [] @@ -17831,13 +18507,34 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "voteDuration" + "value": "_neq" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric" + "value": "_text" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_text" + } + } } }, "directives": [] @@ -24260,143 +24957,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "event_type" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_neq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "event_type" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_nin" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "event_type" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "get_entity_history_filter_args" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "end_block" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "end_chain_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "end_log_index" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "end_timestamp" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "start_block" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "start_chain_id" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" + "value": "event_type" } }, "directives": [] @@ -24405,13 +24966,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "start_log_index" + "value": "_neq" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "Int" + "value": "event_type" } }, "directives": [] @@ -24420,13 +24981,19 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "start_timestamp" + "value": "_nin" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + } } }, "directives": [] @@ -24434,37 +25001,24 @@ const schemaAST = { ], "directives": [] }, - { - "kind": "ScalarTypeDefinition", - "name": { - "kind": "Name", - "value": "json" - }, - "directives": [] - }, { "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Boolean expression to compare columns of type \"json\". All fields are combined with logical 'AND'.", - "block": true - }, "name": { "kind": "Name", - "value": "json_comparison_exp" + "value": "get_entity_history_filter_args" }, "fields": [ { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_eq" + "value": "end_block" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" + "value": "Int" } }, "directives": [] @@ -24473,13 +25027,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_gt" + "value": "end_chain_id" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" + "value": "Int" } }, "directives": [] @@ -24488,34 +25042,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_gte" + "value": "end_log_index" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "json" - } - } + "value": "Int" } }, "directives": [] @@ -24524,13 +25057,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_is_null" + "value": "end_timestamp" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "Boolean" + "value": "Int" } }, "directives": [] @@ -24539,13 +25072,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lt" + "value": "start_block" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" + "value": "Int" } }, "directives": [] @@ -24554,13 +25087,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lte" + "value": "start_chain_id" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" + "value": "Int" } }, "directives": [] @@ -24569,13 +25102,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_neq" + "value": "start_log_index" }, "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "json" + "value": "Int" } }, "directives": [] @@ -24584,19 +25117,13 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_nin" + "value": "start_timestamp" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "json" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" } }, "directives": [] @@ -24608,7 +25135,7 @@ const schemaAST = { "kind": "ScalarTypeDefinition", "name": { "kind": "Name", - "value": "numeric" + "value": "json" }, "directives": [] }, @@ -24616,66 +25143,14 @@ const schemaAST = { "kind": "InputObjectTypeDefinition", "description": { "kind": "StringValue", - "value": "Boolean expression to compare columns of type \"numeric\". All fields are combined with logical 'AND'.", + "value": "Boolean expression to compare columns of type \"json\". All fields are combined with logical 'AND'.", "block": true }, "name": { "kind": "Name", - "value": "numeric_array_comparison_exp" + "value": "json_comparison_exp" }, "fields": [ - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "is the array contained in the given array value", - "block": true - }, - "name": { - "kind": "Name", - "value": "_contained_in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the array contain the given value", - "block": true - }, - "name": { - "kind": "Name", - "value": "_contains" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } - } - }, - "directives": [] - }, { "kind": "InputValueDefinition", "name": { @@ -24683,16 +25158,10 @@ const schemaAST = { "value": "_eq" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] @@ -24704,16 +25173,10 @@ const schemaAST = { "value": "_gt" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] @@ -24725,16 +25188,10 @@ const schemaAST = { "value": "_gte" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] @@ -24750,16 +25207,10 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } } } @@ -24788,16 +25239,10 @@ const schemaAST = { "value": "_lt" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] @@ -24809,37 +25254,25 @@ const schemaAST = { "value": "_lte" }, "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_neq" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } }, "directives": [] @@ -24855,16 +25288,10 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "numeric" - } - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" } } } @@ -24874,6 +25301,14 @@ const schemaAST = { ], "directives": [] }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "numeric" + }, + "directives": [] + }, { "kind": "InputObjectTypeDefinition", "description": { @@ -26212,7 +26647,230 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_order_by" + "value": "ContestTemplate_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_order_by" } } } @@ -26234,7 +26892,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_bool_exp" + "value": "ERCPointParams_bool_exp" } }, "directives": [] @@ -26250,7 +26908,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate" + "value": "ERCPointParams" } } } @@ -26262,52 +26920,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", - "block": true - }, - "name": { - "kind": "Name", - "value": "ContestTemplate_by_pk" - }, - "arguments": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "id" - }, - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" - } - } - }, - "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ContestTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "fetch data from the table: \"Contest\" using primary key columns", + "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "Contest_by_pk" + "value": "ERCPointParams_by_pk" }, "arguments": [ { @@ -26333,7 +26951,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest" + "value": "ERCPointParams" } }, "directives": [] @@ -26342,12 +26960,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ERCPointParams\"", + "value": "fetch data from the table: \"EnvioTX\"", "block": true }, "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" }, "arguments": [ { @@ -26369,7 +26987,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_select_column" + "value": "EnvioTX_select_column" } } } @@ -26435,7 +27053,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_order_by" + "value": "EnvioTX_order_by" } } } @@ -26457,7 +27075,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_bool_exp" + "value": "EnvioTX_bool_exp" } }, "directives": [] @@ -26473,7 +27091,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" } } } @@ -26485,12 +27103,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", + "value": "fetch data from the table: \"EnvioTX\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "ERCPointParams_by_pk" + "value": "EnvioTX_by_pk" }, "arguments": [ { @@ -26516,7 +27134,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" } }, "directives": [] @@ -26525,12 +27143,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EnvioTX\"", + "value": "fetch data from the table: \"EventPost\"", "block": true }, "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" }, "arguments": [ { @@ -26552,7 +27170,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_select_column" + "value": "EventPost_select_column" } } } @@ -26618,7 +27236,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_order_by" + "value": "EventPost_order_by" } } } @@ -26640,7 +27258,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_bool_exp" + "value": "EventPost_bool_exp" } }, "directives": [] @@ -26656,7 +27274,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" } } } @@ -26668,12 +27286,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EnvioTX\" using primary key columns", + "value": "fetch data from the table: \"EventPost\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "EnvioTX_by_pk" + "value": "EventPost_by_pk" }, "arguments": [ { @@ -26699,7 +27317,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" } }, "directives": [] @@ -26708,12 +27326,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EventPost\"", + "value": "fetch data from the table: \"FactoryEventsSummary\"", "block": true }, "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" }, "arguments": [ { @@ -26735,7 +27353,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_select_column" + "value": "FactoryEventsSummary_select_column" } } } @@ -26801,7 +27419,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_order_by" + "value": "FactoryEventsSummary_order_by" } } } @@ -26823,7 +27441,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_bool_exp" + "value": "FactoryEventsSummary_bool_exp" } }, "directives": [] @@ -26839,7 +27457,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" } } } @@ -26851,12 +27469,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EventPost\" using primary key columns", + "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "EventPost_by_pk" + "value": "FactoryEventsSummary_by_pk" }, "arguments": [ { @@ -26882,7 +27500,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" } }, "directives": [] @@ -26891,12 +27509,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"FactoryEventsSummary\"", + "value": "fetch data from the table: \"GSVoter\"", "block": true }, "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" }, "arguments": [ { @@ -26918,7 +27536,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_select_column" + "value": "GSVoter_select_column" } } } @@ -26984,7 +27602,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_order_by" + "value": "GSVoter_order_by" } } } @@ -27006,7 +27624,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_bool_exp" + "value": "GSVoter_bool_exp" } }, "directives": [] @@ -27022,7 +27640,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" } } } @@ -27034,12 +27652,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", + "value": "fetch data from the table: \"GSVoter\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "FactoryEventsSummary_by_pk" + "value": "GSVoter_by_pk" }, "arguments": [ { @@ -27065,7 +27683,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" } }, "directives": [] @@ -31869,27 +32487,170 @@ const schemaAST = { } }, "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ObjectTypeDefinition", - "name": { - "kind": "Name", - "value": "subscription_root" - }, - "fields": [ + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "subscription_root" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + } + } + } + }, + "directives": [] + }, { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"Contest\"", + "value": "fetch data from the table: \"ContestClone\"", "block": true }, "name": { "kind": "Name", - "value": "Contest" + "value": "ContestClone" }, "arguments": [ { @@ -31911,7 +32672,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest_select_column" + "value": "ContestClone_select_column" } } } @@ -31977,7 +32738,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest_order_by" + "value": "ContestClone_order_by" } } } @@ -31999,7 +32760,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest_bool_exp" + "value": "ContestClone_bool_exp" } }, "directives": [] @@ -32015,7 +32776,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest" + "value": "ContestClone" } } } @@ -32027,12 +32788,152 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ContestClone\"", + "value": "fetch data from the table: \"ContestClone\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "ContestClone" + "value": "ContestClone_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate" }, "arguments": [ { @@ -32054,7 +32955,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone_select_column" + "value": "ContestTemplate_select_column" } } } @@ -32120,7 +33021,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone_order_by" + "value": "ContestTemplate_order_by" } } } @@ -32142,7 +33043,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone_bool_exp" + "value": "ContestTemplate_bool_exp" } }, "directives": [] @@ -32158,7 +33059,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone" + "value": "ContestTemplate" } } } @@ -32170,12 +33071,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ContestClone\" using primary key columns", + "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "ContestClone_by_pk" + "value": "ContestTemplate_by_pk" }, "arguments": [ { @@ -32201,7 +33102,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone" + "value": "ContestTemplate" } }, "directives": [] @@ -32210,12 +33111,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"ContestClone\"", + "value": "fetch data from the table in a streaming manner: \"ContestTemplate\"", "block": true }, "name": { "kind": "Name", - "value": "ContestClone_stream" + "value": "ContestTemplate_stream" }, "arguments": [ { @@ -32260,7 +33161,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone_stream_cursor_input" + "value": "ContestTemplate_stream_cursor_input" } } } @@ -32282,7 +33183,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone_bool_exp" + "value": "ContestTemplate_bool_exp" } }, "directives": [] @@ -32298,7 +33199,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestClone" + "value": "ContestTemplate" } } } @@ -32310,76 +33211,73 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ContestTemplate\"", + "value": "fetch data from the table: \"Contest\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "ContestTemplate" + "value": "Contest_by_pk" }, "arguments": [ { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "distinct select on columns", - "block": true - }, "name": { "kind": "Name", - "value": "distinct_on" + "value": "id" }, "type": { - "kind": "ListType", + "kind": "NonNullType", "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ContestTemplate_select_column" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" } } }, "directives": [] - }, - { - "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "limit the number of rows returned", - "block": true - }, - "name": { - "kind": "Name", - "value": "limit" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } - }, - "directives": [] - }, + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_stream" + }, + "arguments": [ { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "skip the first n rows. Use only with order_by", + "value": "maximum number of rows returned in a single batch", "block": true }, "name": { "kind": "Name", - "value": "offset" + "value": "batch_size" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } } }, "directives": [] @@ -32388,22 +33286,22 @@ const schemaAST = { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "sort the rows by one or more columns", + "value": "cursor to stream the results returned by the query", "block": true }, "name": { "kind": "Name", - "value": "order_by" + "value": "cursor" }, "type": { - "kind": "ListType", + "kind": "NonNullType", "type": { - "kind": "NonNullType", + "kind": "ListType", "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_order_by" + "value": "Contest_stream_cursor_input" } } } @@ -32425,7 +33323,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_bool_exp" + "value": "Contest_bool_exp" } }, "directives": [] @@ -32441,7 +33339,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate" + "value": "Contest" } } } @@ -32453,73 +33351,56 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", + "value": "fetch data from the table: \"ERCPointParams\"", "block": true }, "name": { "kind": "Name", - "value": "ContestTemplate_by_pk" + "value": "ERCPointParams" }, "arguments": [ { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, "name": { "kind": "Name", - "value": "id" + "value": "distinct_on" }, "type": { - "kind": "NonNullType", + "kind": "ListType", "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_select_column" + } } } }, "directives": [] - } - ], - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "ContestTemplate" - } - }, - "directives": [] - }, - { - "kind": "FieldDefinition", - "description": { - "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"ContestTemplate\"", - "block": true - }, - "name": { - "kind": "Name", - "value": "ContestTemplate_stream" - }, - "arguments": [ + }, { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "maximum number of rows returned in a single batch", + "value": "limit the number of rows returned", "block": true }, "name": { "kind": "Name", - "value": "batch_size" + "value": "limit" }, "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Int" - } + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" } }, "directives": [] @@ -32528,22 +33409,42 @@ const schemaAST = { "kind": "InputValueDefinition", "description": { "kind": "StringValue", - "value": "cursor to stream the results returned by the query", + "value": "skip the first n rows. Use only with order_by", "block": true }, "name": { "kind": "Name", - "value": "cursor" + "value": "offset" }, "type": { - "kind": "NonNullType", + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", "type": { - "kind": "ListType", + "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_stream_cursor_input" + "value": "ERCPointParams_order_by" } } } @@ -32565,7 +33466,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate_bool_exp" + "value": "ERCPointParams_bool_exp" } }, "directives": [] @@ -32581,7 +33482,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ContestTemplate" + "value": "ERCPointParams" } } } @@ -32593,12 +33494,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"Contest\" using primary key columns", + "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "Contest_by_pk" + "value": "ERCPointParams_by_pk" }, "arguments": [ { @@ -32624,7 +33525,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest" + "value": "ERCPointParams" } }, "directives": [] @@ -32633,12 +33534,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"Contest\"", + "value": "fetch data from the table in a streaming manner: \"ERCPointParams\"", "block": true }, "name": { "kind": "Name", - "value": "Contest_stream" + "value": "ERCPointParams_stream" }, "arguments": [ { @@ -32683,7 +33584,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest_stream_cursor_input" + "value": "ERCPointParams_stream_cursor_input" } } } @@ -32705,7 +33606,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest_bool_exp" + "value": "ERCPointParams_bool_exp" } }, "directives": [] @@ -32721,7 +33622,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "Contest" + "value": "ERCPointParams" } } } @@ -32733,12 +33634,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ERCPointParams\"", + "value": "fetch data from the table: \"EnvioTX\"", "block": true }, "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" }, "arguments": [ { @@ -32760,7 +33661,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_select_column" + "value": "EnvioTX_select_column" } } } @@ -32826,7 +33727,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_order_by" + "value": "EnvioTX_order_by" } } } @@ -32848,7 +33749,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_bool_exp" + "value": "EnvioTX_bool_exp" } }, "directives": [] @@ -32864,7 +33765,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" } } } @@ -32876,12 +33777,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", + "value": "fetch data from the table: \"EnvioTX\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "ERCPointParams_by_pk" + "value": "EnvioTX_by_pk" }, "arguments": [ { @@ -32907,7 +33808,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" } }, "directives": [] @@ -32916,12 +33817,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"ERCPointParams\"", + "value": "fetch data from the table in a streaming manner: \"EnvioTX\"", "block": true }, "name": { "kind": "Name", - "value": "ERCPointParams_stream" + "value": "EnvioTX_stream" }, "arguments": [ { @@ -32966,7 +33867,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_stream_cursor_input" + "value": "EnvioTX_stream_cursor_input" } } } @@ -32988,7 +33889,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams_bool_exp" + "value": "EnvioTX_bool_exp" } }, "directives": [] @@ -33004,7 +33905,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "ERCPointParams" + "value": "EnvioTX" } } } @@ -33016,12 +33917,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EnvioTX\"", + "value": "fetch data from the table: \"EventPost\"", "block": true }, "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" }, "arguments": [ { @@ -33043,7 +33944,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_select_column" + "value": "EventPost_select_column" } } } @@ -33109,7 +34010,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_order_by" + "value": "EventPost_order_by" } } } @@ -33131,7 +34032,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_bool_exp" + "value": "EventPost_bool_exp" } }, "directives": [] @@ -33147,7 +34048,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" } } } @@ -33159,12 +34060,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EnvioTX\" using primary key columns", + "value": "fetch data from the table: \"EventPost\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "EnvioTX_by_pk" + "value": "EventPost_by_pk" }, "arguments": [ { @@ -33190,7 +34091,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" } }, "directives": [] @@ -33199,12 +34100,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"EnvioTX\"", + "value": "fetch data from the table in a streaming manner: \"EventPost\"", "block": true }, "name": { "kind": "Name", - "value": "EnvioTX_stream" + "value": "EventPost_stream" }, "arguments": [ { @@ -33249,7 +34150,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_stream_cursor_input" + "value": "EventPost_stream_cursor_input" } } } @@ -33271,7 +34172,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX_bool_exp" + "value": "EventPost_bool_exp" } }, "directives": [] @@ -33287,7 +34188,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EnvioTX" + "value": "EventPost" } } } @@ -33299,12 +34200,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EventPost\"", + "value": "fetch data from the table: \"FactoryEventsSummary\"", "block": true }, "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" }, "arguments": [ { @@ -33326,7 +34227,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_select_column" + "value": "FactoryEventsSummary_select_column" } } } @@ -33392,7 +34293,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_order_by" + "value": "FactoryEventsSummary_order_by" } } } @@ -33414,7 +34315,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_bool_exp" + "value": "FactoryEventsSummary_bool_exp" } }, "directives": [] @@ -33430,7 +34331,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" } } } @@ -33442,12 +34343,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"EventPost\" using primary key columns", + "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "EventPost_by_pk" + "value": "FactoryEventsSummary_by_pk" }, "arguments": [ { @@ -33473,7 +34374,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" } }, "directives": [] @@ -33482,12 +34383,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"EventPost\"", + "value": "fetch data from the table in a streaming manner: \"FactoryEventsSummary\"", "block": true }, "name": { "kind": "Name", - "value": "EventPost_stream" + "value": "FactoryEventsSummary_stream" }, "arguments": [ { @@ -33532,7 +34433,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_stream_cursor_input" + "value": "FactoryEventsSummary_stream_cursor_input" } } } @@ -33554,7 +34455,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost_bool_exp" + "value": "FactoryEventsSummary_bool_exp" } }, "directives": [] @@ -33570,7 +34471,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "EventPost" + "value": "FactoryEventsSummary" } } } @@ -33582,12 +34483,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"FactoryEventsSummary\"", + "value": "fetch data from the table: \"GSVoter\"", "block": true }, "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" }, "arguments": [ { @@ -33609,7 +34510,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_select_column" + "value": "GSVoter_select_column" } } } @@ -33675,7 +34576,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_order_by" + "value": "GSVoter_order_by" } } } @@ -33697,7 +34598,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_bool_exp" + "value": "GSVoter_bool_exp" } }, "directives": [] @@ -33713,7 +34614,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" } } } @@ -33725,12 +34626,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", + "value": "fetch data from the table: \"GSVoter\" using primary key columns", "block": true }, "name": { "kind": "Name", - "value": "FactoryEventsSummary_by_pk" + "value": "GSVoter_by_pk" }, "arguments": [ { @@ -33756,7 +34657,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" } }, "directives": [] @@ -33765,12 +34666,12 @@ const schemaAST = { "kind": "FieldDefinition", "description": { "kind": "StringValue", - "value": "fetch data from the table in a streaming manner: \"FactoryEventsSummary\"", + "value": "fetch data from the table in a streaming manner: \"GSVoter\"", "block": true }, "name": { "kind": "Name", - "value": "FactoryEventsSummary_stream" + "value": "GSVoter_stream" }, "arguments": [ { @@ -33815,7 +34716,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_stream_cursor_input" + "value": "GSVoter_stream_cursor_input" } } } @@ -33837,7 +34738,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary_bool_exp" + "value": "GSVoter_bool_exp" } }, "directives": [] @@ -33853,7 +34754,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "FactoryEventsSummary" + "value": "GSVoter" } } } diff --git a/src/.graphclient/sources/gs-voting/schema.graphql b/src/.graphclient/sources/gs-voting/schema.graphql index 2d23e52e..e37d45c5 100644 --- a/src/.graphclient/sources/gs-voting/schema.graphql +++ b/src/.graphclient/sources/gs-voting/schema.graphql @@ -638,7 +638,7 @@ columns and relationships of "FactoryEventsSummary" """ type FactoryEventsSummary { address: String! - admins: [String!]! + admins: _text! contestBuiltCount: numeric! contestCloneCount: numeric! contestTemplateCount: numeric! @@ -656,7 +656,7 @@ input FactoryEventsSummary_bool_exp { _not: FactoryEventsSummary_bool_exp _or: [FactoryEventsSummary_bool_exp!] address: String_comparison_exp - admins: String_array_comparison_exp + admins: _text_comparison_exp contestBuiltCount: numeric_comparison_exp contestCloneCount: numeric_comparison_exp contestTemplateCount: numeric_comparison_exp @@ -716,7 +716,7 @@ input FactoryEventsSummary_stream_cursor_input { """Initial value of the column from where the streaming should start""" input FactoryEventsSummary_stream_cursor_value_input { address: String - admins: [String!] + admins: _text contestBuiltCount: numeric contestCloneCount: numeric contestTemplateCount: numeric @@ -726,6 +726,78 @@ input FactoryEventsSummary_stream_cursor_value_input { moduleTemplateCount: numeric } +""" +columns and relationships of "GSVoter" +""" +type GSVoter { + address: String! + db_write_timestamp: timestamp + id: String! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! +} + +""" +Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. +""" +input GSVoter_bool_exp { + _and: [GSVoter_bool_exp!] + _not: GSVoter_bool_exp + _or: [GSVoter_bool_exp!] + address: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + votes: ShipVote_bool_exp +} + +"""Ordering options when selecting data from "GSVoter".""" +input GSVoter_order_by { + address: order_by + db_write_timestamp: order_by + id: order_by + votes_aggregate: ShipVote_aggregate_order_by +} + +""" +select columns of table "GSVoter" +""" +enum GSVoter_select_column { + """column name""" + address + """column name""" + db_write_timestamp + """column name""" + id +} + +""" +Streaming cursor of the table "GSVoter" +""" +input GSVoter_stream_cursor_input { + """Stream column input with initial value""" + initial_value: GSVoter_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input GSVoter_stream_cursor_value_input { + address: String + db_write_timestamp: timestamp + id: String +} + """ columns and relationships of "GrantShipsVoting" """ @@ -952,7 +1024,7 @@ type HatsPoster { """filter the rows returned""" where: EventPost_bool_exp ): [EventPost!]! - hatIds: [numeric!]! + hatIds: _numeric! hatsAddress: String! id: String! """An array relationship""" @@ -979,7 +1051,7 @@ input HatsPoster_bool_exp { _or: [HatsPoster_bool_exp!] db_write_timestamp: timestamp_comparison_exp eventPosts: EventPost_bool_exp - hatIds: numeric_array_comparison_exp + hatIds: _numeric_comparison_exp hatsAddress: String_comparison_exp id: String_comparison_exp record: Record_bool_exp @@ -1022,7 +1094,7 @@ input HatsPoster_stream_cursor_input { """Initial value of the column from where the streaming should start""" input HatsPoster_stream_cursor_value_input { db_write_timestamp: timestamp - hatIds: [numeric!] + hatIds: _numeric hatsAddress: String id: String } @@ -1606,10 +1678,12 @@ type ShipVote { contest_id: String! db_write_timestamp: timestamp id: String! - isRectractVote: Boolean! + isRetractVote: Boolean! mdPointer: String! mdProtocol: numeric! - voter: String! + """An object relationship""" + voter: GSVoter + voter_id: String! } """ @@ -1651,10 +1725,11 @@ input ShipVote_bool_exp { contest_id: String_comparison_exp db_write_timestamp: timestamp_comparison_exp id: String_comparison_exp - isRectractVote: Boolean_comparison_exp + isRetractVote: Boolean_comparison_exp mdPointer: String_comparison_exp mdProtocol: numeric_comparison_exp - voter: String_comparison_exp + voter: GSVoter_bool_exp + voter_id: String_comparison_exp } """ @@ -1668,7 +1743,7 @@ input ShipVote_max_order_by { id: order_by mdPointer: order_by mdProtocol: order_by - voter: order_by + voter_id: order_by } """ @@ -1682,7 +1757,7 @@ input ShipVote_min_order_by { id: order_by mdPointer: order_by mdProtocol: order_by - voter: order_by + voter_id: order_by } """Ordering options when selecting data from "ShipVote".""" @@ -1694,10 +1769,11 @@ input ShipVote_order_by { contest_id: order_by db_write_timestamp: order_by id: order_by - isRectractVote: order_by + isRetractVote: order_by mdPointer: order_by mdProtocol: order_by - voter: order_by + voter: GSVoter_order_by + voter_id: order_by } """ @@ -1715,13 +1791,13 @@ enum ShipVote_select_column { """column name""" id """column name""" - isRectractVote + isRetractVote """column name""" mdPointer """column name""" mdProtocol """column name""" - voter + voter_id } """ @@ -1765,10 +1841,10 @@ input ShipVote_stream_cursor_value_input { contest_id: String db_write_timestamp: timestamp id: String - isRectractVote: Boolean + isRetractVote: Boolean mdPointer: String mdProtocol: numeric - voter: String + voter_id: String } """ @@ -1898,25 +1974,6 @@ input StemModule_stream_cursor_value_input { moduleTemplate_id: String } -""" -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. -""" -input String_array_comparison_exp { - """is the array contained in the given array value""" - _contained_in: [String!] - """does the array contain the given value""" - _contains: [String!] - _eq: [String!] - _gt: [String!] - _gte: [String!] - _in: [[String!]!] - _is_null: Boolean - _lt: [String!] - _lte: [String!] - _neq: [String!] - _nin: [[String!]!] -} - """ Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. """ @@ -2017,6 +2074,40 @@ input TVParams_stream_cursor_value_input { voteDuration: numeric } +scalar _numeric + +""" +Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. +""" +input _numeric_comparison_exp { + _eq: _numeric + _gt: _numeric + _gte: _numeric + _in: [_numeric!] + _is_null: Boolean + _lt: _numeric + _lte: _numeric + _neq: _numeric + _nin: [_numeric!] +} + +scalar _text + +""" +Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. +""" +input _text_comparison_exp { + _eq: _text + _gt: _text + _gte: _text + _in: [_text!] + _is_null: Boolean + _lt: _text + _lte: _text + _neq: _text + _nin: [_text!] +} + """ columns and relationships of "chain_metadata" """ @@ -2731,25 +2822,6 @@ input json_comparison_exp { scalar numeric -""" -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. -""" -input numeric_array_comparison_exp { - """is the array contained in the given array value""" - _contained_in: [numeric!] - """does the array contain the given value""" - _contains: [numeric!] - _eq: [numeric!] - _gt: [numeric!] - _gte: [numeric!] - _in: [[numeric!]!] - _is_null: Boolean - _lt: [numeric!] - _lte: [numeric!] - _neq: [numeric!] - _nin: [[numeric!]!] -} - """ Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. """ @@ -2979,6 +3051,23 @@ type query_root { """ FactoryEventsSummary_by_pk(id: String!): FactoryEventsSummary """ + fetch data from the table: "GSVoter" + """ + GSVoter( + """distinct select on columns""" + distinct_on: [GSVoter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GSVoter_order_by!] + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """fetch data from the table: "GSVoter" using primary key columns""" + GSVoter_by_pk(id: String!): GSVoter + """ fetch data from the table: "GrantShipsVoting" """ GrantShipsVoting( @@ -3623,6 +3712,34 @@ type subscription_root { where: FactoryEventsSummary_bool_exp ): [FactoryEventsSummary!]! """ + fetch data from the table: "GSVoter" + """ + GSVoter( + """distinct select on columns""" + distinct_on: [GSVoter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GSVoter_order_by!] + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """fetch data from the table: "GSVoter" using primary key columns""" + GSVoter_by_pk(id: String!): GSVoter + """ + fetch data from the table in a streaming manner: "GSVoter" + """ + GSVoter_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [GSVoter_stream_cursor_input]! + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """ fetch data from the table: "GrantShipsVoting" """ GrantShipsVoting( diff --git a/src/.graphclient/sources/gs-voting/types.ts b/src/.graphclient/sources/gs-voting/types.ts index 37d13cea..522e1bbe 100644 --- a/src/.graphclient/sources/gs-voting/types.ts +++ b/src/.graphclient/sources/gs-voting/types.ts @@ -16,6 +16,8 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; + _numeric: any; + _text: any; contract_type: any; entity_type: any; event_type: any; @@ -572,7 +574,7 @@ export type EventPost_variance_order_by = { /** columns and relationships of "FactoryEventsSummary" */ export type FactoryEventsSummary = { address: Scalars['String']; - admins: Array; + admins: Scalars['_text']; contestBuiltCount: Scalars['numeric']; contestCloneCount: Scalars['numeric']; contestTemplateCount: Scalars['numeric']; @@ -588,7 +590,7 @@ export type FactoryEventsSummary_bool_exp = { _not?: InputMaybe; _or?: InputMaybe>; address?: InputMaybe; - admins?: InputMaybe; + admins?: InputMaybe<_text_comparison_exp>; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -643,7 +645,7 @@ export type FactoryEventsSummary_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type FactoryEventsSummary_stream_cursor_value_input = { address?: InputMaybe; - admins?: InputMaybe>; + admins?: InputMaybe; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -653,6 +655,68 @@ export type FactoryEventsSummary_stream_cursor_value_input = { moduleTemplateCount?: InputMaybe; }; +/** columns and relationships of "GSVoter" */ +export type GSVoter = { + address: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + /** An array relationship */ + votes: Array; +}; + + +/** columns and relationships of "GSVoter" */ +export type GSVotervotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. */ +export type GSVoter_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes?: InputMaybe; +}; + +/** Ordering options when selecting data from "GSVoter". */ +export type GSVoter_order_by = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes_aggregate?: InputMaybe; +}; + +/** select columns of table "GSVoter" */ +export type GSVoter_select_column = + /** column name */ + | 'address' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "GSVoter" */ +export type GSVoter_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: GSVoter_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GSVoter_stream_cursor_value_input = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; +}; + /** columns and relationships of "GrantShipsVoting" */ export type GrantShipsVoting = { /** An array relationship */ @@ -846,7 +910,7 @@ export type HatsPoster = { db_write_timestamp?: Maybe; /** An array relationship */ eventPosts: Array; - hatIds: Array; + hatIds: Scalars['_numeric']; hatsAddress: Scalars['String']; id: Scalars['String']; /** An array relationship */ @@ -880,7 +944,7 @@ export type HatsPoster_bool_exp = { _or?: InputMaybe>; db_write_timestamp?: InputMaybe; eventPosts?: InputMaybe; - hatIds?: InputMaybe; + hatIds?: InputMaybe<_numeric_comparison_exp>; hatsAddress?: InputMaybe; id?: InputMaybe; record?: InputMaybe; @@ -918,7 +982,7 @@ export type HatsPoster_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type HatsPoster_stream_cursor_value_input = { db_write_timestamp?: InputMaybe; - hatIds?: InputMaybe>; + hatIds?: InputMaybe; hatsAddress?: InputMaybe; id?: InputMaybe; }; @@ -1417,10 +1481,12 @@ export type ShipVote = { contest_id: Scalars['String']; db_write_timestamp?: Maybe; id: Scalars['String']; - isRectractVote: Scalars['Boolean']; + isRetractVote: Scalars['Boolean']; mdPointer: Scalars['String']; mdProtocol: Scalars['numeric']; - voter: Scalars['String']; + /** An object relationship */ + voter?: Maybe; + voter_id: Scalars['String']; }; /** order by aggregate values of table "ShipVote" */ @@ -1456,10 +1522,11 @@ export type ShipVote_bool_exp = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by max() on columns of table "ShipVote" */ @@ -1471,7 +1538,7 @@ export type ShipVote_max_order_by = { id?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by min() on columns of table "ShipVote" */ @@ -1483,7 +1550,7 @@ export type ShipVote_min_order_by = { id?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** Ordering options when selecting data from "ShipVote". */ @@ -1495,10 +1562,11 @@ export type ShipVote_order_by = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; }; /** select columns of table "ShipVote" */ @@ -1514,13 +1582,13 @@ export type ShipVote_select_column = /** column name */ | 'id' /** column name */ - | 'isRectractVote' + | 'isRetractVote' /** column name */ | 'mdPointer' /** column name */ | 'mdProtocol' /** column name */ - | 'voter'; + | 'voter_id'; /** order by stddev() on columns of table "ShipVote" */ export type ShipVote_stddev_order_by = { @@ -1555,10 +1623,10 @@ export type ShipVote_stream_cursor_value_input = { contest_id?: InputMaybe; db_write_timestamp?: InputMaybe; id?: InputMaybe; - isRectractVote?: InputMaybe; + isRetractVote?: InputMaybe; mdPointer?: InputMaybe; mdProtocol?: InputMaybe; - voter?: InputMaybe; + voter_id?: InputMaybe; }; /** order by sum() on columns of table "ShipVote" */ @@ -1671,23 +1739,6 @@ export type StemModule_stream_cursor_value_input = { moduleTemplate_id?: InputMaybe; }; -/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ -export type String_array_comparison_exp = { - /** is the array contained in the given array value */ - _contained_in?: InputMaybe>; - /** does the array contain the given value */ - _contains?: InputMaybe>; - _eq?: InputMaybe>; - _gt?: InputMaybe>; - _gte?: InputMaybe>; - _in?: InputMaybe>>; - _is_null?: InputMaybe; - _lt?: InputMaybe>; - _lte?: InputMaybe>; - _neq?: InputMaybe>; - _nin?: InputMaybe>>; -}; - /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ export type String_comparison_exp = { _eq?: InputMaybe; @@ -1769,6 +1820,32 @@ export type TVParams_stream_cursor_value_input = { voteDuration?: InputMaybe; }; +/** Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. */ +export type _numeric_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. */ +export type _text_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + /** columns and relationships of "chain_metadata" */ export type chain_metadata = { block_height: Scalars['Int']; @@ -2406,23 +2483,6 @@ export type json_comparison_exp = { _nin?: InputMaybe>; }; -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type numeric_array_comparison_exp = { - /** is the array contained in the given array value */ - _contained_in?: InputMaybe>; - /** does the array contain the given value */ - _contains?: InputMaybe>; - _eq?: InputMaybe>; - _gt?: InputMaybe>; - _gte?: InputMaybe>; - _in?: InputMaybe>>; - _is_null?: InputMaybe; - _lt?: InputMaybe>; - _lte?: InputMaybe>; - _neq?: InputMaybe>; - _nin?: InputMaybe>>; -}; - /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ export type numeric_comparison_exp = { _eq?: InputMaybe; @@ -2546,6 +2606,10 @@ export type query_root = { FactoryEventsSummary: Array; /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table: "GSVoter" */ + GSVoter: Array; + /** fetch data from the table: "GSVoter" using primary key columns */ + GSVoter_by_pk?: Maybe; /** fetch data from the table: "GrantShipsVoting" */ GrantShipsVoting: Array; /** fetch data from the table: "GrantShipsVoting" using primary key columns */ @@ -2717,6 +2781,20 @@ export type query_rootFactoryEventsSummary_by_pkArgs = { }; +export type query_rootGSVoterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootGSVoter_by_pkArgs = { + id: Scalars['String']; +}; + + export type query_rootGrantShipsVotingArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -3141,6 +3219,12 @@ export type subscription_root = { FactoryEventsSummary_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "FactoryEventsSummary" */ FactoryEventsSummary_stream: Array; + /** fetch data from the table: "GSVoter" */ + GSVoter: Array; + /** fetch data from the table: "GSVoter" using primary key columns */ + GSVoter_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "GSVoter" */ + GSVoter_stream: Array; /** fetch data from the table: "GrantShipsVoting" */ GrantShipsVoting: Array; /** fetch data from the table: "GrantShipsVoting" using primary key columns */ @@ -3395,6 +3479,27 @@ export type subscription_rootFactoryEventsSummary_streamArgs = { }; +export type subscription_rootGSVoterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootGSVoter_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootGSVoter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + export type subscription_rootGrantShipsVotingArgs = { distinct_on?: InputMaybe>; limit?: InputMaybe; @@ -3828,6 +3933,10 @@ export type timestamptz_comparison_exp = { FactoryEventsSummary: InContextSdkMethod, /** fetch data from the table: "FactoryEventsSummary" using primary key columns **/ FactoryEventsSummary_by_pk: InContextSdkMethod, + /** fetch data from the table: "GSVoter" **/ + GSVoter: InContextSdkMethod, + /** fetch data from the table: "GSVoter" using primary key columns **/ + GSVoter_by_pk: InContextSdkMethod, /** fetch data from the table: "GrantShipsVoting" **/ GrantShipsVoting: InContextSdkMethod, /** fetch data from the table: "GrantShipsVoting" using primary key columns **/ @@ -3947,6 +4056,12 @@ export type timestamptz_comparison_exp = { FactoryEventsSummary_by_pk: InContextSdkMethod, /** fetch data from the table in a streaming manner: "FactoryEventsSummary" **/ FactoryEventsSummary_stream: InContextSdkMethod, + /** fetch data from the table: "GSVoter" **/ + GSVoter: InContextSdkMethod, + /** fetch data from the table: "GSVoter" using primary key columns **/ + GSVoter_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "GSVoter" **/ + GSVoter_stream: InContextSdkMethod, /** fetch data from the table: "GrantShipsVoting" **/ GrantShipsVoting: InContextSdkMethod, /** fetch data from the table: "GrantShipsVoting" using primary key columns **/ diff --git a/src/components/forms/validationSchemas/votingFormSchema.ts b/src/components/forms/validationSchemas/votingFormSchema.ts index 25fba36a..d7d1e66e 100644 --- a/src/components/forms/validationSchemas/votingFormSchema.ts +++ b/src/components/forms/validationSchemas/votingFormSchema.ts @@ -9,3 +9,6 @@ export const votingSchema = z.object({ }) ), }); +export const voteReasonsSchema = z.object({ + voteReason: z.string().min(1, { message: 'Vote reason is required' }), +}); diff --git a/src/graphql/getUserVote.graphql b/src/graphql/getUserVote.graphql index af3d10bc..fc40627f 100644 --- a/src/graphql/getUserVote.graphql +++ b/src/graphql/getUserVote.graphql @@ -1,6 +1,6 @@ query getUserVotes($contestId: String!, $voterAddress: String!) { ShipVote( - where: { voter: { _eq: $voterAddress }, contest_id: { _eq: $contestId } } + where: { voter_id: { _eq: $voterAddress }, contest_id: { _eq: $contestId } } ) { id choice_id diff --git a/src/graphql/getVoters.graphql b/src/graphql/getVoters.graphql new file mode 100644 index 00000000..97b654b4 --- /dev/null +++ b/src/graphql/getVoters.graphql @@ -0,0 +1,17 @@ +query getVoters($contestId: String!) { + GSVoter(where: { votes: { contest_id: { _eq: $contestId } } }) { + id + votes( + where: { contest_id: { _eq: $contestId }, isRetractVote: { _eq: false } } + ) { + id + amount + mdPointer + mdProtocol + isRetractVote + choice { + id + } + } + } +} diff --git a/src/pages/Vote.tsx b/src/pages/Vote.tsx index 72569504..79ce7b38 100644 --- a/src/pages/Vote.tsx +++ b/src/pages/Vote.tsx @@ -6,10 +6,13 @@ import { Divider, Flex, Group, + Paper, Progress, + Spoiler, Stack, Stepper, Text, + useMantineTheme, } from '@mantine/core'; import { useQuery } from '@tanstack/react-query'; import { getShipsPageData } from '../queries/getShipsPage'; @@ -25,6 +28,9 @@ import { useVoting } from '../hooks/useVoting'; import { ShipsCardUI } from '../types/ui'; import { formatBigIntPercentage } from '../utils/helpers'; import { formatEther } from 'viem'; +import classes from '../components/feed/FeedStyles.module.css'; +import { IconChevronDown, IconChevronUp } from '@tabler/icons-react'; +import { getContestVoters } from '../queries/getVoters'; export type VotingFormValues = z.infer; @@ -135,6 +141,14 @@ export const Vote = () => { const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { const { contest, userVotes, tokenData } = useVoting(); + const { data: voters } = useQuery({ + queryKey: ['gs-voters'], + queryFn: () => getContestVoters(contest?.id as string), + enabled: !!contest, + }); + + const theme = useMantineTheme(); + const consolidated = useMemo(() => { if (!ships || !userVotes || !contest) return []; @@ -168,18 +182,24 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { totalVotes, }; }, [consolidated, contest]); + + const colors = [ + theme.colors.blue[5], + theme.colors.violet[5], + theme.colors.pink[5], + ]; return ( - + Your vote has been submitted! - + Your Vote - {consolidated.map((ship) => { + {consolidated.map((ship, index) => { const percentage = totals?.totalUserVotes ? formatBigIntPercentage( BigInt(ship.vote?.amount), @@ -196,7 +216,7 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { {ship.name} - + {Number(percentage)}% Voted ({tokenAmount}{' '} {tokenData.tokenSymbol}) @@ -204,12 +224,18 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { ); })} + + + Total:{' '} + + {formatEther(totals?.totalUserVotes || 0n)} {tokenData.tokenSymbol} + - + Total Vote Results - {consolidated?.map((ship) => { + {consolidated?.map((ship, index) => { const percentage = totals?.totalVotes ? formatBigIntPercentage( BigInt(ship.choice?.voteTally), @@ -225,16 +251,120 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { {ship.name} - + {Number(percentage)}% ({tokenAmount} {tokenData.tokenSymbol}) ); })} + + + Total:{' '} + + {formatEther(totals?.totalVotes || 0n)} {tokenData.tokenSymbol} + + + All Votes + + + + + + + + + ); }; + +const VoteCard = () => { + const theme = useMantineTheme(); + const colors = [ + theme.colors.blue[5], + theme.colors.violet[5], + theme.colors.pink[5], + ]; + + return ( + + + + 0x000...0000 + + + + + + + + } + showLabel={} + classNames={{ + root: classes.embedTextBox, + control: classes.embedTextControl, + }} + maxHeight={48} + > + + The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj + asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf + lkj;a sdf + + + + + + + + + } + showLabel={} + classNames={{ + root: classes.embedTextBox, + control: classes.embedTextControl, + }} + maxHeight={48} + > + + The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj + asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf + lkj;a sdf + + + + + + + + + } + showLabel={} + classNames={{ + root: classes.embedTextBox, + control: classes.embedTextControl, + }} + maxHeight={48} + > + + The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj + asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf + lkj;a sdf + + + + ); +}; diff --git a/src/queries/getVoters.ts b/src/queries/getVoters.ts new file mode 100644 index 00000000..a4382b2b --- /dev/null +++ b/src/queries/getVoters.ts @@ -0,0 +1,54 @@ +import { getBuiltGraphSDK, getVotersQuery } from '../.graphclient'; +import { voteReasonsSchema } from '../components/forms/validationSchemas/votingFormSchema'; +import { getIpfsJson } from '../utils/ipfs/get'; + +export type GsVote = { + id: string; + amount: string; + choice: { + id: string; + }; + isRetractVote: boolean; + mdPointer: string; + mdProtocol: number; + reason: string; +}; + +export type GsVoter = { + id: string; + votes: GsVote[]; +}; + +export const resolveVote = async (res: getVotersQuery) => { + const resolvedVoters = await Promise.all( + res.GSVoter.map(async (voter) => { + const resolvedVotes = await Promise.all( + voter.votes.map(async (vote) => { + const ipfsRes = await getIpfsJson(vote.mdPointer); + + const validated = voteReasonsSchema.safeParse(ipfsRes); + + if (!validated.success) { + console.error('Invalid metadata', validated.error); + return null; + } + + return { ...vote, reason: validated.data.voteReason } as GsVote; + }) + ); + + return { ...voter, votes: resolvedVotes } as GsVoter; + }) + ); + + return resolvedVoters as GsVoter[]; +}; + +export const getContestVoters = async (contestId: string) => { + const { getVoters } = getBuiltGraphSDK(); + + const res = await getVoters({ contestId: contestId }); + const resolved = await resolveVote(res); + + return resolved; +}; From f0031b4b6fd56a66df5e985040ce711c475a544d Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 12:46:28 -0700 Subject: [PATCH 03/12] pull down all vote data, display in cards --- src/pages/Vote.tsx | 182 ++++++++++++++++++++++++++------------------- 1 file changed, 106 insertions(+), 76 deletions(-) diff --git a/src/pages/Vote.tsx b/src/pages/Vote.tsx index 79ce7b38..d2c80a9c 100644 --- a/src/pages/Vote.tsx +++ b/src/pages/Vote.tsx @@ -27,10 +27,11 @@ import { ConfirmationPanel } from '../components/voting/ConfirmationPanel'; import { useVoting } from '../hooks/useVoting'; import { ShipsCardUI } from '../types/ui'; import { formatBigIntPercentage } from '../utils/helpers'; -import { formatEther } from 'viem'; +import { Address, formatEther } from 'viem'; import classes from '../components/feed/FeedStyles.module.css'; import { IconChevronDown, IconChevronUp } from '@tabler/icons-react'; -import { getContestVoters } from '../queries/getVoters'; +import { GsVoter, getContestVoters } from '../queries/getVoters'; +import { AddressAvatar } from '../components/AddressAvatar'; export type VotingFormValues = z.infer; @@ -141,12 +142,6 @@ export const Vote = () => { const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { const { contest, userVotes, tokenData } = useVoting(); - const { data: voters } = useQuery({ - queryKey: ['gs-voters'], - queryFn: () => getContestVoters(contest?.id as string), - enabled: !!contest, - }); - const theme = useMantineTheme(); const consolidated = useMemo(() => { @@ -183,6 +178,14 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { }; }, [consolidated, contest]); + const condensed = useMemo(() => { + return consolidated?.map((ship) => ({ + shipImg: ship.imgUrl, + shipName: ship.name, + id: ship.choice?.id as string, + })); + }, [consolidated]); + const colors = [ theme.colors.blue[5], theme.colors.violet[5], @@ -270,19 +273,41 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { All Votes - - - - - - - - + ); }; -const VoteCard = () => { +type CondensedChoiceData = { + id: string; + shipName: string; + shipImg: string; +}; + +const AllVotes = ({ choices }: { choices: CondensedChoiceData[] }) => { + const { contest } = useVoting(); + const { data: voters } = useQuery({ + queryKey: ['gs-voters'], + queryFn: () => getContestVoters(contest?.id as string), + enabled: !!contest, + }); + + return ( + + {voters?.map((voter) => ( + + ))} + + ); +}; + +const VoteCard = ({ + voter, + choices, +}: { + voter: GsVoter; + choices: CondensedChoiceData[]; +}) => { const theme = useMantineTheme(); const colors = [ theme.colors.blue[5], @@ -290,62 +315,69 @@ const VoteCard = () => { theme.colors.pink[5], ]; + const totalUserVotes = useMemo(() => { + return voter.votes.reduce((acc, vote) => { + return acc + BigInt(vote.amount); + }, 0n); + }, [voter]); + + const consolidated = useMemo(() => { + return choices.map((choice) => { + const vote = voter.votes.find((vote) => choice.id === vote.choice.id); + return { ...choice, vote }; + }); + }, [voter, choices]); + return ( - - - - 0x000...0000 - - - - - - - - } - showLabel={} - classNames={{ - root: classes.embedTextBox, - control: classes.embedTextControl, - }} - maxHeight={48} - > - - The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj - asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf - lkj;a sdf - - - - - - - - - } - showLabel={} - classNames={{ - root: classes.embedTextBox, - control: classes.embedTextControl, - }} - maxHeight={48} - > - - The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj - asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf - lkj;a sdf - - + + + + + + {consolidated.map((choice, index) => { + return ( + + ); + })} + + ); +}; + +const ShipChoiceVoteBar = ({ + choice, + totalVotes, + voteAmount, + reason, + color, +}: { + choice: CondensedChoiceData; + totalVotes: bigint; + voteAmount: bigint; + reason: string; + color: string; +}) => { + const votePercentage = formatBigIntPercentage(voteAmount, totalVotes); + return ( + - + - + { root: classes.embedTextBox, control: classes.embedTextControl, }} - maxHeight={48} + maxHeight={24} > - - The challenge sdfs sd fs sdf sd fs dfsdfsdfajsl;dkfjas;ldkfj - asdflkja;l df asdl;fj asldkfjlskdfj ;lasd asdfas dfjl;kj as;dlfk asdf - lkj;a sdf + + {reason} - + ); }; From 7ff6e2c6ed6c4579f8f99a5052f23905b8d7fa78 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 16:03:30 -0700 Subject: [PATCH 04/12] fix many bugs/validationerrors --- .../validationSchemas/votingFormSchema.ts | 21 +- src/components/voting/ConfirmationPanel.tsx | 239 ++++++++++++------ src/components/voting/VotingFooter.tsx | 5 +- .../voting/VotingWeightProgress.tsx | 6 +- src/constants/addresses.ts | 2 +- src/layout/Layout.tsx | 1 - src/pages/Vote.tsx | 61 +++-- src/queries/getVoters.ts | 2 +- src/theme.ts | 7 +- 9 files changed, 236 insertions(+), 108 deletions(-) diff --git a/src/components/forms/validationSchemas/votingFormSchema.ts b/src/components/forms/validationSchemas/votingFormSchema.ts index d7d1e66e..cd26e08a 100644 --- a/src/components/forms/validationSchemas/votingFormSchema.ts +++ b/src/components/forms/validationSchemas/votingFormSchema.ts @@ -1,14 +1,31 @@ import { z } from 'zod'; +export function validateNumberWithMaxDecimals( + input: string, + maxDecimals: number +) { + if (typeof input !== 'string') return null; + const number = Number(input); + if (Number.isNaN(number)) { + return 'Must be a number'; + } + + const parts = input.split('.'); + if (parts.length === 2 && parts[1].length > maxDecimals) { + return `Must have ${maxDecimals} or fewer decimal places`; + } + + return null; +} export const votingSchema = z.object({ ships: z.array( z.object({ shipId: z.string(), - shipPerc: z.string().regex(/^\d+(\.\d+)?$/, 'Must be a number'), + shipPerc: z.number().min(0).max(100), shipComment: z.string(), }) ), }); export const voteReasonsSchema = z.object({ - voteReason: z.string().min(1, { message: 'Vote reason is required' }), + voteReason: z.string(), }); diff --git a/src/components/voting/ConfirmationPanel.tsx b/src/components/voting/ConfirmationPanel.tsx index f580d0d7..60e90f5f 100644 --- a/src/components/voting/ConfirmationPanel.tsx +++ b/src/components/voting/ConfirmationPanel.tsx @@ -2,6 +2,7 @@ import { Avatar, Box, Group, + NumberInput, Progress, Text, TextInput, @@ -21,6 +22,10 @@ import { notifications } from '@mantine/notifications'; import { useTx } from '../../hooks/useTx'; import ContestABI from '../../abi/Contest.json'; import { ADDR } from '../../constants/addresses'; +import { useMemo } from 'react'; +import { validateNumberWithMaxDecimals } from '../forms/validationSchemas/votingFormSchema'; +import { FormValidationResult } from '@mantine/form/lib/types'; +import { object } from 'zod'; export const ConfirmationPanel = ({ ships, @@ -43,107 +48,161 @@ export const ConfirmationPanel = ({ ]; const isVotingActive = votingStage === VotingStage.Active; + const exceeds100percent = useMemo(() => { + return ( + form.values.ships.reduce((acc, curr) => { + return acc + Number(curr.shipPerc); + }, 0) > 100 + ); + }, [form.values]); + + const userHasVotes = userTokenData.totalUserTokenBalance > 0n; + const handleBatchVote = async () => { - if (!contest) { - notifications.show({ - title: 'Error', - message: 'Failed to submit vote', - color: 'red', - }); - return; - } + try { + if (!contest) { + notifications.show({ + title: 'Error', + message: 'Failed to submit vote', + color: 'red', + }); + return; + } - if (form.values.ships.length !== ships.length) { - notifications.show({ - title: 'Error', - message: 'Please fill out all fields', - color: 'red', - }); - return; - } + if (form.values.ships.length !== ships.length) { + notifications.show({ + title: 'Error', + message: 'Please fill out all fields', + color: 'red', + }); + return; + } - const withParams = await Promise.all( - form.values.ships.map(async (ship) => { - const choiceId = contest.choices.find( - (choice) => choice.shipId === ship.shipId - )?.id; + if (exceeds100percent) { + notifications.show({ + title: 'Error', + message: 'Total vote allocation exceeds 100%', + color: 'red', + }); + return; + } - const tokenAmount = - (userTokenData.totalUserTokenBalance * - BigInt(Number(ship.shipPerc) * 1e6)) / - BigInt(100 * 1e6); + const validationResult: FormValidationResult = form.validate(); - const pinRes = await pinJSONToIPFS({ - voteReason: ship.shipComment, + if (validationResult.hasErrors) { + notifications.show({ + title: 'Error', + message: `Form Validation error `, + color: 'red', }); + return; + } - if (!pinRes) { - throw new Error('Failed to pin to IPFS'); - } - - return { - ...ship, - ipfsPointer: pinRes.IpfsHash, - choiceId, - tokenAmount, - }; - }) - ); + const hasFilledInAllRequiredFields = form.values.ships.every( + (ship) => ship.shipId && ship.shipPerc + ); - const choiceIds = withParams.map((ship) => { - return ship.choiceId?.split('-')[1]; - }); - const tokenAmounts = withParams.map((ship) => ship.tokenAmount); - const metadataBytes = withParams.map((ship) => - encodeAbiParameters(parseAbiParameters('(uint256, string)'), [ - [1n, ship.ipfsPointer], - ]) - ); - const tokenSum = tokenAmounts.reduce((acc, curr) => acc + curr, 0n); + if (!hasFilledInAllRequiredFields) { + notifications.show({ + title: 'Error', + message: 'Please fill out all required fields', + color: 'red', + }); + return; + } - if (tokenSum > userTokenData.totalUserTokenBalance) { - notifications.show({ - title: 'Error', - message: 'Voting amounts exceeds balance', - color: 'red', + const withParams = await Promise.all( + form.values.ships + .filter((ship) => ship.shipPerc !== 0) + .map(async (ship) => { + const choiceId = contest.choices.find( + (choice) => choice.shipId === ship.shipId + )?.id; + + const tokenAmount = + (userTokenData.totalUserTokenBalance * + BigInt(Number(ship.shipPerc) * 1e6)) / + BigInt(100 * 1e6); + + const pinRes = await pinJSONToIPFS({ + voteReason: ship.shipComment, + }); + + if (!pinRes) { + throw new Error('Failed to pin to IPFS'); + } + + return { + ...ship, + ipfsPointer: pinRes.IpfsHash, + choiceId, + tokenAmount, + }; + }) + ); + + const choiceIds = withParams.map((ship) => { + return ship.choiceId?.split('-')[1]; }); - return; - } + const tokenAmounts = withParams.map((ship) => ship.tokenAmount); + const metadataBytes = withParams.map((ship) => + encodeAbiParameters(parseAbiParameters('(uint256, string)'), [ + [1n, ship.ipfsPointer], + ]) + ); + + const tokenSum = tokenAmounts.reduce((acc, curr) => acc + curr, 0n); + + if (tokenSum > userTokenData.totalUserTokenBalance) { + notifications.show({ + title: 'Error', + message: 'Voting amounts exceeds balance', + color: 'red', + }); + return; + } - if ( - choiceIds.length !== tokenAmounts.length || - tokenAmounts.length !== metadataBytes.length - ) { + if ( + choiceIds.length !== tokenAmounts.length || + tokenAmounts.length !== metadataBytes.length + ) { + notifications.show({ + title: 'Error', + message: 'data length mismatch', + color: 'red', + }); + return; + } + + tx({ + viewParams: { + awaitEnvioPoll: true, + }, + writeContractParams: { + abi: ContestABI, + address: ADDR.VOTE_CONTEST, + functionName: 'batchVote', + args: [choiceIds, tokenAmounts, metadataBytes, tokenSum], + }, + writeContractOptions: { + onPollSuccess() { + refetchGsVotes(); + }, + }, + }); + } catch (error: any) { notifications.show({ title: 'Error', - message: 'data length mismatch', + message: `Vote submission failed: ${error.message}`, color: 'red', }); - return; } - - tx({ - viewParams: { - awaitEnvioPoll: true, - }, - writeContractParams: { - abi: ContestABI, - address: ADDR.VOTE_CONTEST, - functionName: 'batchVote', - args: [choiceIds, tokenAmounts, metadataBytes, tokenSum], - }, - writeContractOptions: { - onPollSuccess() { - refetchGsVotes(); - }, - }, - }); }; return ( {ships.map((ship, index) => { - const shipPerc = form.values.ships[index].shipPerc || 0; + const shipPerc = form.values.ships[index].shipPerc || '0'; const voteAmount = userTokenData.totalUserTokenBalance && shipPerc ? formatEther( @@ -152,6 +211,7 @@ export const ConfirmationPanel = ({ BigInt(100 * 1e6) ) : 0n; + return ( @@ -159,11 +219,18 @@ export const ConfirmationPanel = ({ {ship.name} - @@ -192,11 +259,19 @@ export const ConfirmationPanel = ({ ); })} + + + {!userHasVotes && ( + + You have no votes to allocate + + )} + Submit diff --git a/src/components/voting/VotingFooter.tsx b/src/components/voting/VotingFooter.tsx index 90b54963..fa0e30b4 100644 --- a/src/components/voting/VotingFooter.tsx +++ b/src/components/voting/VotingFooter.tsx @@ -20,8 +20,9 @@ export const VotingFooter = ({ isVotingActive: boolean; }) => { const shipPercs = form.values.ships.map((s) => s.shipPerc); - const totalPercLeft = - 100 - shipPercs.reduce((acc, perc) => acc + Number(perc), 0); + const totalPercLeft = Number( + (100 - shipPercs.reduce((acc, perc) => acc + Number(perc), 0)).toFixed(2) + ); return ( diff --git a/src/components/voting/VotingWeightProgress.tsx b/src/components/voting/VotingWeightProgress.tsx index f2a6f989..653013fa 100644 --- a/src/components/voting/VotingWeightProgress.tsx +++ b/src/components/voting/VotingWeightProgress.tsx @@ -4,9 +4,9 @@ import { ComponentProps, useMemo } from 'react'; export const VotingWeightProgress = ( props: Omit, 'sections'> & { shipVotePercs: { - ship1: string; - ship2: string; - ship3: string; + ship1: number; + ship2: number; + ship3: number; }; } ) => { diff --git a/src/constants/addresses.ts b/src/constants/addresses.ts index 85bfc471..c6ee5373 100644 --- a/src/constants/addresses.ts +++ b/src/constants/addresses.ts @@ -8,7 +8,7 @@ export const ADDR_TESTNET: Record = { GM_FACTORY: '0x14e32E7893D6A1fA5f852d8B2fE8c57A2aB670ba', GS_FACTORY: '0x8D994BEef251e30C858e44eCE3670feb998CA77a', HATS_POSTER: '0x4F0dc1C7d91d914d921F3C9C188F4454AE260317', - VOTE_CONTEST: '0x7DBce100202fd643a41E3c5Eee74CEe7D185750E', + VOTE_CONTEST: '0xBECAfEd4384e4510c3fB1c40de6c86ff9672051F', } as const; export const ADDR_PROD: Record = { diff --git a/src/layout/Layout.tsx b/src/layout/Layout.tsx index d7d97c1e..751be4a1 100644 --- a/src/layout/Layout.tsx +++ b/src/layout/Layout.tsx @@ -7,7 +7,6 @@ import { MobileNav } from './MobileNav/MobileNav'; export const Layout = ({ children }: { children: React.ReactNode }) => { const isMobile = useMobile(); - return ( diff --git a/src/pages/Vote.tsx b/src/pages/Vote.tsx index d2c80a9c..019e82cd 100644 --- a/src/pages/Vote.tsx +++ b/src/pages/Vote.tsx @@ -55,6 +55,7 @@ export const Vote = () => { ships: [], } as VotingFormValues, validate: zodResolver(votingSchema), + validateInputOnBlur: true, }); useEffect( @@ -62,7 +63,7 @@ export const Vote = () => { if (!ships) return; const updatedShips = ships?.map((ship) => ({ shipId: ship.id, - shipPerc: '', + shipPerc: 0, shipComment: '', })); form.setValues((prev) => ({ ...prev, ships: updatedShips })); @@ -205,11 +206,11 @@ const VoteConfirmationPanel = ({ ships }: { ships: ShipsCardUI[] }) => { {consolidated.map((ship, index) => { const percentage = totals?.totalUserVotes ? formatBigIntPercentage( - BigInt(ship.vote?.amount), + BigInt(ship.vote?.amount || 0), totals?.totalUserVotes ) : '0'; - const tokenAmount = formatEther(BigInt(ship.vote?.amount)); + const tokenAmount = formatEther(BigInt(ship.vote?.amount || 0)); return ( @@ -285,7 +286,7 @@ type CondensedChoiceData = { }; const AllVotes = ({ choices }: { choices: CondensedChoiceData[] }) => { - const { contest } = useVoting(); + const { contest, tokenData } = useVoting(); const { data: voters } = useQuery({ queryKey: ['gs-voters'], queryFn: () => getContestVoters(contest?.id as string), @@ -295,7 +296,12 @@ const AllVotes = ({ choices }: { choices: CondensedChoiceData[] }) => { return ( {voters?.map((voter) => ( - + ))} ); @@ -304,9 +310,11 @@ const AllVotes = ({ choices }: { choices: CondensedChoiceData[] }) => { const VoteCard = ({ voter, choices, + tokenSymbol, }: { voter: GsVoter; choices: CondensedChoiceData[]; + tokenSymbol?: string; }) => { const theme = useMantineTheme(); const colors = [ @@ -317,7 +325,7 @@ const VoteCard = ({ const totalUserVotes = useMemo(() => { return voter.votes.reduce((acc, vote) => { - return acc + BigInt(vote.amount); + return acc + BigInt(vote?.amount ? vote.amount : 0); }, 0n); }, [voter]); @@ -329,14 +337,15 @@ const VoteCard = ({ }, [voter, choices]); return ( - + - + {consolidated.map((choice, index) => { return ( ); })} @@ -360,24 +370,33 @@ const ShipChoiceVoteBar = ({ voteAmount, reason, color, + tokenSymbol, + didVote, }: { choice: CondensedChoiceData; totalVotes: bigint; voteAmount: bigint; - reason: string; + reason?: string | null; color: string; + tokenSymbol?: string; + didVote?: boolean; }) => { const votePercentage = formatBigIntPercentage(voteAmount, totalVotes); return ( - - + + + + {votePercentage}% Voted ({formatEther(voteAmount)}){' '} + {tokenSymbol || ''} + - - {reason} - + {!didVote && ( + + Did not vote + + )} + {didVote && !reason && ( + + No reason given + + )} + {didVote && reason && ( + + {reason} + + )} ); diff --git a/src/queries/getVoters.ts b/src/queries/getVoters.ts index a4382b2b..4de393a5 100644 --- a/src/queries/getVoters.ts +++ b/src/queries/getVoters.ts @@ -11,7 +11,7 @@ export type GsVote = { isRetractVote: boolean; mdPointer: string; mdProtocol: number; - reason: string; + reason: string | null; }; export type GsVoter = { diff --git a/src/theme.ts b/src/theme.ts index 51054bae..dbcf30c9 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -1,4 +1,4 @@ -import { Loader, Tooltip, createTheme } from '@mantine/core'; +import { Loader, Modal, Tooltip, createTheme } from '@mantine/core'; import { RingLoader } from './components/loader/RingLoader'; import { BreakPoint } from './constants/style'; @@ -27,6 +27,11 @@ export const theme = createTheme({ color: 'dark.6', }, }), + Modal: Modal.extend({ + defaultProps: { + lockScroll: false, + }, + }), }, breakpoints: { xs: BreakPoint.Xs, From c86d52f94526de3560b4d26a034101ed98d4d87b Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 16:10:42 -0700 Subject: [PATCH 05/12] fix ts bugs --- src/components/voting/VoteAffix.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/voting/VoteAffix.tsx b/src/components/voting/VoteAffix.tsx index 23d11094..d5855c0c 100644 --- a/src/components/voting/VoteAffix.tsx +++ b/src/components/voting/VoteAffix.tsx @@ -27,9 +27,9 @@ export const VoteAffix = ({ formValues }: { formValues: VotingFormValues }) => { From e9babc4991c9230ba752223e7390cd587db91ec2 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 16:43:47 -0700 Subject: [PATCH 06/12] update endpoints --- .graphclientrc.yml | 2 +- src/.graphclient/index.ts | 13256 ++++++++-------- src/.graphclient/schema.graphql | 11900 +++++++------- .../sources/gs-voting/introspectionSchema.ts | 1066 +- .../sources/gs-voting/schema.graphql | 84 +- src/.graphclient/sources/gs-voting/types.ts | 74 +- src/constants/addresses.ts | 2 +- 7 files changed, 13299 insertions(+), 13085 deletions(-) diff --git a/.graphclientrc.yml b/.graphclientrc.yml index ded8c12f..4fcfc705 100644 --- a/.graphclientrc.yml +++ b/.graphclientrc.yml @@ -6,6 +6,6 @@ sources: - name: gs-voting handler: graphql: - endpoint: http://localhost:8080/v1/graphql + endpoint: https://indexer.bigdevenergy.link/6b18ba8/v1/graphql documents: - './src/**/*.graphql' diff --git a/src/.graphclient/index.ts b/src/.graphclient/index.ts index ba34ba0d..3cd289ee 100644 --- a/src/.graphclient/index.ts +++ b/src/.graphclient/index.ts @@ -22,8 +22,8 @@ import { path as pathModule } from '@graphql-mesh/cross-helpers'; import { ImportFn } from '@graphql-mesh/types'; import type { GrantShipsTypes } from './sources/grant-ships/types'; import type { GsVotingTypes } from './sources/gs-voting/types'; -import * as importedModule$0 from "./sources/gs-voting/introspectionSchema"; -import * as importedModule$1 from "./sources/grant-ships/introspectionSchema"; +import * as importedModule$0 from "./sources/grant-ships/introspectionSchema"; +import * as importedModule$1 from "./sources/gs-voting/introspectionSchema"; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; @@ -40,8 +40,11 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - _numeric: any; - _text: any; + BigDecimal: any; + BigInt: any; + Bytes: any; + Int8: any; + Timestamp: any; contract_type: any; entity_type: any; event_type: any; @@ -49,14 +52,49 @@ export type Scalars = { numeric: any; timestamp: any; timestamptz: any; - BigDecimal: any; - BigInt: any; - Bytes: any; - Int8: any; - Timestamp: any; }; export type Query = { + project?: Maybe; + projects: Array; + feedItem?: Maybe; + feedItems: Array; + feedItemEntity?: Maybe; + feedItemEntities: Array; + feedItemEmbed?: Maybe; + feedItemEmbeds: Array; + update?: Maybe; + updates: Array; + grantShip?: Maybe; + grantShips: Array; + poolIdLookup?: Maybe; + poolIdLookups: Array; + gameManager?: Maybe; + gameManagers: Array; + gameRound?: Maybe; + gameRounds: Array; + applicationHistory?: Maybe; + applicationHistories: Array; + grant?: Maybe; + grants: Array; + milestone?: Maybe; + milestones: Array; + profileIdToAnchor?: Maybe; + profileIdToAnchors: Array; + profileMemberGroup?: Maybe; + profileMemberGroups: Array; + transaction?: Maybe; + transactions: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; + log?: Maybe; + logs: Array; + gmVersion?: Maybe; + gmVersions: Array; + gmDeployment?: Maybe; + gmDeployments: Array; + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_>; /** fetch data from the table: "Contest" */ Contest: Array; /** fetch data from the table: "ContestClone" */ @@ -159,768 +197,768 @@ export type Query = { raw_events: Array; /** fetch data from the table: "raw_events" using primary key columns */ raw_events_by_pk?: Maybe; - project?: Maybe; - projects: Array; - feedItem?: Maybe; - feedItems: Array; - feedItemEntity?: Maybe; - feedItemEntities: Array; - feedItemEmbed?: Maybe; - feedItemEmbeds: Array; - update?: Maybe; - updates: Array; - grantShip?: Maybe; - grantShips: Array; - poolIdLookup?: Maybe; - poolIdLookups: Array; - gameManager?: Maybe; - gameManagers: Array; - gameRound?: Maybe; - gameRounds: Array; - applicationHistory?: Maybe; - applicationHistories: Array; - grant?: Maybe; - grants: Array; - milestone?: Maybe; - milestones: Array; - profileIdToAnchor?: Maybe; - profileIdToAnchors: Array; - profileMemberGroup?: Maybe; - profileMemberGroups: Array; - transaction?: Maybe; - transactions: Array; - rawMetadata?: Maybe; - rawMetadata_collection: Array; - log?: Maybe; - logs: Array; - gmVersion?: Maybe; - gmVersions: Array; - gmDeployment?: Maybe; - gmDeployments: Array; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; }; -export type QueryContestArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprojectArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryContestCloneArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprojectsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryContestClone_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryContestTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryfeedItemsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryContestTemplate_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemEntityArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryContest_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemEntitiesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryERCPointParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryfeedItemEmbedArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryERCPointParams_by_pkArgs = { - id: Scalars['String']; +export type QueryfeedItemEmbedsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryEnvioTXArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryupdateArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryEnvioTX_by_pkArgs = { - id: Scalars['String']; +export type QueryupdatesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryEventPostArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygrantShipArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryEventPost_by_pkArgs = { - id: Scalars['String']; +export type QuerygrantShipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryFactoryEventsSummaryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerypoolIdLookupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryFactoryEventsSummary_by_pkArgs = { - id: Scalars['String']; +export type QuerypoolIdLookupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryGSVoterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygameManagerArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryGSVoter_by_pkArgs = { - id: Scalars['String']; +export type QuerygameManagersArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryGrantShipsVotingArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygameRoundArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; +export type QuerygameRoundsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHALParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryapplicationHistoryArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHALParams_by_pkArgs = { - id: Scalars['String']; +export type QueryapplicationHistoriesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHatsPosterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygrantArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHatsPoster_by_pkArgs = { - id: Scalars['String']; +export type QuerygrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryLocalLogArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerymilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryLocalLog_by_pkArgs = { - id: Scalars['String']; +export type QuerymilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryModuleTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryModuleTemplate_by_pkArgs = { - id: Scalars['String']; +export type QueryprofileIdToAnchorsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryRecordArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryRecord_by_pkArgs = { - id: Scalars['String']; +export type QueryprofileMemberGroupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipChoiceArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerytransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipChoice_by_pkArgs = { - id: Scalars['String']; +export type QuerytransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipVoteArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QueryrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipVote_by_pkArgs = { - id: Scalars['String']; +export type QueryrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryStemModuleArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerylogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryStemModule_by_pkArgs = { - id: Scalars['String']; +export type QuerylogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryTVParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryTVParams_by_pkArgs = { - id: Scalars['String']; +export type QuerygmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querychain_metadataArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querychain_metadata_by_pkArgs = { - chain_id: Scalars['Int']; +export type QuerygmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querydynamic_contract_registryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Query_metaArgs = { + block?: InputMaybe; }; -export type Querydynamic_contract_registry_by_pkArgs = { - chain_id: Scalars['Int']; - contract_address: Scalars['String']; +export type QueryContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryentity_historyArgs = { - distinct_on?: InputMaybe>; +export type QueryContestCloneArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryentity_history_by_pkArgs = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - entity_type: Scalars['entity_type']; - log_index: Scalars['Int']; +export type QueryContestClone_by_pkArgs = { + id: Scalars['String']; }; -export type Queryentity_history_filterArgs = { - distinct_on?: InputMaybe>; +export type QueryContestTemplateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryentity_history_filter_by_pkArgs = { - block_number: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - log_index: Scalars['Int']; - previous_block_number: Scalars['Int']; - previous_log_index: Scalars['Int']; +export type QueryContestTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type Queryevent_sync_stateArgs = { - distinct_on?: InputMaybe>; +export type QueryContest_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryERCPointParamsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryevent_sync_state_by_pkArgs = { - chain_id: Scalars['Int']; +export type QueryERCPointParams_by_pkArgs = { + id: Scalars['String']; }; -export type Queryget_entity_history_filterArgs = { - args: get_entity_history_filter_args; - distinct_on?: InputMaybe>; +export type QueryEnvioTXArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Querypersisted_stateArgs = { - distinct_on?: InputMaybe>; +export type QueryEnvioTX_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryEventPostArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Querypersisted_state_by_pkArgs = { - id: Scalars['Int']; +export type QueryEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type Queryraw_eventsArgs = { - distinct_on?: InputMaybe>; +export type QueryFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryraw_events_by_pkArgs = { - chain_id: Scalars['Int']; - event_id: Scalars['numeric']; +export type QueryFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type QueryprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGSVoterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprojectsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGSVoter_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHALParams_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryfeedItemEmbedsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHatsPoster_by_pkArgs = { + id: Scalars['String']; }; -export type QueryupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryupdatesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type QuerypoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerypoolIdLookupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryRecord_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygameManagersArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipChoice_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipVote_by_pkArgs = { + id: Scalars['String']; }; -export type QueryapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryapplicationHistoriesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type QuerygrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type QuerygrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryStemModule_by_pkArgs = { + id: Scalars['String']; }; -export type QuerymilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerymilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryTVParams_by_pkArgs = { + id: Scalars['String']; }; -export type QueryprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querychain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querychain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type QueryprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querydynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querydynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; }; -export type QuerytransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerytransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryentity_history_by_pkArgs = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + log_index: Scalars['Int']; }; -export type QueryrawMetadataArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryrawMetadata_collectionArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryentity_history_filter_by_pkArgs = { + block_number: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + log_index: Scalars['Int']; + previous_block_number: Scalars['Int']; + previous_log_index: Scalars['Int']; }; -export type QuerylogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerylogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type QuerygmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryget_entity_history_filterArgs = { + args: get_entity_history_filter_args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querypersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QuerygmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Querypersisted_state_by_pkArgs = { + id: Scalars['Int']; }; -export type QuerygmDeploymentsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Queryraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Query_metaArgs = { - block?: InputMaybe; +export type Queryraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; }; export type Subscription = { + project?: Maybe; + projects: Array; + feedItem?: Maybe; + feedItems: Array; + feedItemEntity?: Maybe; + feedItemEntities: Array; + feedItemEmbed?: Maybe; + feedItemEmbeds: Array; + update?: Maybe; + updates: Array; + grantShip?: Maybe; + grantShips: Array; + poolIdLookup?: Maybe; + poolIdLookups: Array; + gameManager?: Maybe; + gameManagers: Array; + gameRound?: Maybe; + gameRounds: Array; + applicationHistory?: Maybe; + applicationHistories: Array; + grant?: Maybe; + grants: Array; + milestone?: Maybe; + milestones: Array; + profileIdToAnchor?: Maybe; + profileIdToAnchors: Array; + profileMemberGroup?: Maybe; + profileMemberGroups: Array; + transaction?: Maybe; + transactions: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; + log?: Maybe; + logs: Array; + gmVersion?: Maybe; + gmVersions: Array; + gmDeployment?: Maybe; + gmDeployments: Array; + /** Access to subgraph metadata */ + _meta?: Maybe<_Meta_>; /** fetch data from the table: "Contest" */ Contest: Array; /** fetch data from the table: "ContestClone" */ @@ -1073,4106 +1111,1923 @@ export type Subscription = { raw_events_by_pk?: Maybe; /** fetch data from the table in a streaming manner: "raw_events" */ raw_events_stream: Array; - project?: Maybe; - projects: Array; - feedItem?: Maybe; - feedItems: Array; - feedItemEntity?: Maybe; - feedItemEntities: Array; - feedItemEmbed?: Maybe; - feedItemEmbeds: Array; - update?: Maybe; - updates: Array; - grantShip?: Maybe; - grantShips: Array; - poolIdLookup?: Maybe; - poolIdLookups: Array; - gameManager?: Maybe; - gameManagers: Array; - gameRound?: Maybe; - gameRounds: Array; - applicationHistory?: Maybe; - applicationHistories: Array; - grant?: Maybe; - grants: Array; - milestone?: Maybe; - milestones: Array; - profileIdToAnchor?: Maybe; - profileIdToAnchors: Array; - profileMemberGroup?: Maybe; - profileMemberGroups: Array; - transaction?: Maybe; - transactions: Array; - rawMetadata?: Maybe; - rawMetadata_collection: Array; - log?: Maybe; - logs: Array; - gmVersion?: Maybe; - gmVersions: Array; - gmDeployment?: Maybe; - gmDeployments: Array; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; }; -export type SubscriptionContestArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionprojectArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestCloneArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionprojectsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestClone_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionfeedItemArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestClone_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionfeedItemsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionfeedItemEntityArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestTemplate_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionfeedItemEntitiesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContestTemplate_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionfeedItemEmbedArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContest_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionfeedItemEmbedsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionContest_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionupdateArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionERCPointParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionupdatesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionERCPointParams_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongrantShipArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionERCPointParams_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiongrantShipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEnvioTXArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionpoolIdLookupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEnvioTX_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionpoolIdLookupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEnvioTX_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiongameManagerArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEventPostArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptiongameManagersArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEventPost_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongameRoundArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionEventPost_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiongameRoundsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionFactoryEventsSummaryArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionapplicationHistoryArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionFactoryEventsSummary_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionapplicationHistoriesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionFactoryEventsSummary_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiongrantArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGSVoterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptiongrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGSVoter_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionmilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGSVoter_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionmilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGrantShipsVotingArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionprofileIdToAnchorsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGrantShipsVoting_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHALParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionprofileMemberGroupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHALParams_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiontransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHALParams_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiontransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHatsPosterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHatsPoster_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHatsPoster_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionlogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionLocalLogArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionlogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionLocalLog_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionLocalLog_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptiongmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionModuleTemplateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptiongmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionModuleTemplate_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionModuleTemplate_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type Subscription_metaArgs = { + block?: InputMaybe; }; -export type SubscriptionRecordArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionContestArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionRecord_by_pkArgs = { +export type SubscriptionContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionContestClone_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionRecord_streamArgs = { +export type SubscriptionContestClone_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionShipChoiceArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionContestTemplateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionShipChoice_by_pkArgs = { +export type SubscriptionContestTemplate_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionShipChoice_streamArgs = { +export type SubscriptionContestTemplate_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionShipVoteArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionShipVote_by_pkArgs = { +export type SubscriptionContest_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionShipVote_streamArgs = { +export type SubscriptionContest_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionStemModuleArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionERCPointParamsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionStemModule_by_pkArgs = { +export type SubscriptionERCPointParams_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionStemModule_streamArgs = { +export type SubscriptionERCPointParams_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionTVParamsArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionEnvioTXArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionTVParams_by_pkArgs = { +export type SubscriptionEnvioTX_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionTVParams_streamArgs = { +export type SubscriptionEnvioTX_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionchain_metadataArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionEventPostArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionchain_metadata_by_pkArgs = { - chain_id: Scalars['Int']; +export type SubscriptionEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionchain_metadata_streamArgs = { +export type SubscriptionEventPost_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptiondynamic_contract_registryArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptiondynamic_contract_registry_by_pkArgs = { - chain_id: Scalars['Int']; - contract_address: Scalars['String']; +export type SubscriptionFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptiondynamic_contract_registry_streamArgs = { +export type SubscriptionFactoryEventsSummary_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionentity_historyArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionGSVoterArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionentity_history_by_pkArgs = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - entity_type: Scalars['entity_type']; - log_index: Scalars['Int']; +export type SubscriptionGSVoter_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionentity_history_filterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionGSVoter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionentity_history_filter_by_pkArgs = { - block_number: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - log_index: Scalars['Int']; - previous_block_number: Scalars['Int']; - previous_log_index: Scalars['Int']; +export type SubscriptionGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionentity_history_filter_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionentity_history_streamArgs = { +export type SubscriptionGrantShipsVoting_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionevent_sync_stateArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionHALParamsArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionevent_sync_state_by_pkArgs = { - chain_id: Scalars['Int']; +export type SubscriptionHALParams_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionevent_sync_state_streamArgs = { +export type SubscriptionHALParams_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionget_entity_history_filterArgs = { - args: get_entity_history_filter_args; - distinct_on?: InputMaybe>; +export type SubscriptionHatsPosterArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionpersisted_stateArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionHatsPoster_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionHatsPoster_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionLocalLogArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionpersisted_state_by_pkArgs = { - id: Scalars['Int']; +export type SubscriptionLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionpersisted_state_streamArgs = { +export type SubscriptionLocalLog_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionraw_eventsArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionModuleTemplateArgs = { + distinct_on?: InputMaybe>; limit?: InputMaybe; offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscriptionraw_events_by_pkArgs = { - chain_id: Scalars['Int']; - event_id: Scalars['numeric']; +export type SubscriptionModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionraw_events_streamArgs = { +export type SubscriptionModuleTemplate_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionprojectsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionRecord_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionRecord_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionfeedItemsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipChoice_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipChoice_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEmbedsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipVote_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipVote_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionupdatesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionStemModule_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionStemModule_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionpoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionpoolIdLookupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionTVParams_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionTVParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongameManagersArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionchain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionchain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type SubscriptiongameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionchain_metadata_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptiondynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionapplicationHistoriesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptiondynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; }; -export type SubscriptiongrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptiondynamic_contract_registry_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionmilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_by_pkArgs = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + log_index: Scalars['Int']; }; -export type SubscriptionmilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_filter_by_pkArgs = { + block_number: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + log_index: Scalars['Int']; + previous_block_number: Scalars['Int']; + previous_log_index: Scalars['Int']; }; -export type SubscriptionprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_filter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiontransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type SubscriptiontransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionevent_sync_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionrawMetadataArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionget_entity_history_filterArgs = { + args: get_entity_history_filter_args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionrawMetadata_collectionArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionpersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionlogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionpersisted_state_by_pkArgs = { + id: Scalars['Int']; }; -export type SubscriptionlogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptiongmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptiongmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptiongmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionpersisted_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptiongmDeploymentsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Subscription_metaArgs = { - block?: InputMaybe; +export type Subscriptionraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; }; -/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ -export type Boolean_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; -/** columns and relationships of "Contest" */ -export type Contest = { - /** An object relationship */ - choicesModule?: Maybe; - choicesModule_id: Scalars['String']; - contestAddress: Scalars['String']; - contestStatus: Scalars['numeric']; - contestVersion: Scalars['String']; - db_write_timestamp?: Maybe; - /** An object relationship */ - executionModule?: Maybe; - executionModule_id: Scalars['String']; - filterTag: Scalars['String']; - id: Scalars['String']; - isContinuous: Scalars['Boolean']; - isRetractable: Scalars['Boolean']; - /** An object relationship */ - pointsModule?: Maybe; - pointsModule_id: Scalars['String']; - /** An object relationship */ - votesModule?: Maybe; - votesModule_id: Scalars['String']; +export type Subscriptionraw_events_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -/** columns and relationships of "ContestClone" */ -export type ContestClone = { - contestAddress: Scalars['String']; - contestVersion: Scalars['String']; - db_write_timestamp?: Maybe; - filterTag: Scalars['String']; - id: Scalars['String']; -}; +export type Aggregation_interval = + | 'hour' + | 'day'; -/** Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. */ -export type ContestClone_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; +export type ApplicationHistory = { + id: Scalars['ID']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; }; -/** Ordering options when selecting data from "ContestClone". */ -export type ContestClone_order_by = { - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; +export type ApplicationHistory_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "ContestClone" */ -export type ContestClone_select_column = - /** column name */ - | 'contestAddress' - /** column name */ - | 'contestVersion' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'filterTag' - /** column name */ - | 'id'; - -/** Streaming cursor of the table "ContestClone" */ -export type ContestClone_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ContestClone_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; +export type ApplicationHistory_orderBy = + | 'id' + | 'grantApplicationBytes' + | 'applicationSubmitted'; -/** Initial value of the column from where the streaming should start */ -export type ContestClone_stream_cursor_value_input = { - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; +export type BlockChangedFilter = { + number_gte: Scalars['Int']; }; -/** columns and relationships of "ContestTemplate" */ -export type ContestTemplate = { - active: Scalars['Boolean']; - contestAddress: Scalars['String']; - contestVersion: Scalars['String']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; +export type Block_height = { + hash?: InputMaybe; + number?: InputMaybe; + number_gte?: InputMaybe; }; -/** Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. */ -export type ContestTemplate_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - active?: InputMaybe; - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; +export type FeedItem = { + id: Scalars['ID']; + timestamp?: Maybe; + content: Scalars['String']; + sender: Scalars['Bytes']; + tag: Scalars['String']; + subjectMetadataPointer: Scalars['String']; + subjectId: Scalars['ID']; + objectId?: Maybe; + subject: FeedItemEntity; + object?: Maybe; + embed?: Maybe; + details?: Maybe; }; -/** Ordering options when selecting data from "ContestTemplate". */ -export type ContestTemplate_order_by = { - active?: InputMaybe; - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; +export type FeedItemEmbed = { + id: Scalars['ID']; + key?: Maybe; + pointer?: Maybe; + protocol?: Maybe; + content?: Maybe; }; -/** select columns of table "ContestTemplate" */ -export type ContestTemplate_select_column = - /** column name */ - | 'active' - /** column name */ - | 'contestAddress' - /** column name */ - | 'contestVersion' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol'; - -/** Streaming cursor of the table "ContestTemplate" */ -export type ContestTemplate_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ContestTemplate_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ContestTemplate_stream_cursor_value_input = { - active?: InputMaybe; - contestAddress?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. */ -export type Contest_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - choicesModule?: InputMaybe; - choicesModule_id?: InputMaybe; - contestAddress?: InputMaybe; - contestStatus?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - executionModule?: InputMaybe; - executionModule_id?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - isContinuous?: InputMaybe; - isRetractable?: InputMaybe; - pointsModule?: InputMaybe; - pointsModule_id?: InputMaybe; - votesModule?: InputMaybe; - votesModule_id?: InputMaybe; -}; - -/** Ordering options when selecting data from "Contest". */ -export type Contest_order_by = { - choicesModule?: InputMaybe; - choicesModule_id?: InputMaybe; - contestAddress?: InputMaybe; - contestStatus?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - executionModule?: InputMaybe; - executionModule_id?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - isContinuous?: InputMaybe; - isRetractable?: InputMaybe; - pointsModule?: InputMaybe; - pointsModule_id?: InputMaybe; - votesModule?: InputMaybe; - votesModule_id?: InputMaybe; +export type FeedItemEmbed_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + key?: InputMaybe; + key_not?: InputMaybe; + key_gt?: InputMaybe; + key_lt?: InputMaybe; + key_gte?: InputMaybe; + key_lte?: InputMaybe; + key_in?: InputMaybe>; + key_not_in?: InputMaybe>; + key_contains?: InputMaybe; + key_contains_nocase?: InputMaybe; + key_not_contains?: InputMaybe; + key_not_contains_nocase?: InputMaybe; + key_starts_with?: InputMaybe; + key_starts_with_nocase?: InputMaybe; + key_not_starts_with?: InputMaybe; + key_not_starts_with_nocase?: InputMaybe; + key_ends_with?: InputMaybe; + key_ends_with_nocase?: InputMaybe; + key_not_ends_with?: InputMaybe; + key_not_ends_with_nocase?: InputMaybe; + pointer?: InputMaybe; + pointer_not?: InputMaybe; + pointer_gt?: InputMaybe; + pointer_lt?: InputMaybe; + pointer_gte?: InputMaybe; + pointer_lte?: InputMaybe; + pointer_in?: InputMaybe>; + pointer_not_in?: InputMaybe>; + pointer_contains?: InputMaybe; + pointer_contains_nocase?: InputMaybe; + pointer_not_contains?: InputMaybe; + pointer_not_contains_nocase?: InputMaybe; + pointer_starts_with?: InputMaybe; + pointer_starts_with_nocase?: InputMaybe; + pointer_not_starts_with?: InputMaybe; + pointer_not_starts_with_nocase?: InputMaybe; + pointer_ends_with?: InputMaybe; + pointer_ends_with_nocase?: InputMaybe; + pointer_not_ends_with?: InputMaybe; + pointer_not_ends_with_nocase?: InputMaybe; + protocol?: InputMaybe; + protocol_not?: InputMaybe; + protocol_gt?: InputMaybe; + protocol_lt?: InputMaybe; + protocol_gte?: InputMaybe; + protocol_lte?: InputMaybe; + protocol_in?: InputMaybe>; + protocol_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "Contest" */ -export type Contest_select_column = - /** column name */ - | 'choicesModule_id' - /** column name */ - | 'contestAddress' - /** column name */ - | 'contestStatus' - /** column name */ - | 'contestVersion' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'executionModule_id' - /** column name */ - | 'filterTag' - /** column name */ +export type FeedItemEmbed_orderBy = | 'id' - /** column name */ - | 'isContinuous' - /** column name */ - | 'isRetractable' - /** column name */ - | 'pointsModule_id' - /** column name */ - | 'votesModule_id'; + | 'key' + | 'pointer' + | 'protocol' + | 'content'; -/** Streaming cursor of the table "Contest" */ -export type Contest_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: Contest_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; +export type FeedItemEntity = { + id: Scalars['ID']; + name: Scalars['String']; + type: Scalars['String']; }; -/** Initial value of the column from where the streaming should start */ -export type Contest_stream_cursor_value_input = { - choicesModule_id?: InputMaybe; - contestAddress?: InputMaybe; - contestStatus?: InputMaybe; - contestVersion?: InputMaybe; - db_write_timestamp?: InputMaybe; - executionModule_id?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - isContinuous?: InputMaybe; - isRetractable?: InputMaybe; - pointsModule_id?: InputMaybe; - votesModule_id?: InputMaybe; +export type FeedItemEntity_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** columns and relationships of "ERCPointParams" */ -export type ERCPointParams = { - db_write_timestamp?: Maybe; - id: Scalars['String']; - voteTokenAddress: Scalars['String']; - votingCheckpoint: Scalars['numeric']; -}; +export type FeedItemEntity_orderBy = + | 'id' + | 'name' + | 'type'; -/** Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. */ -export type ERCPointParams_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteTokenAddress?: InputMaybe; - votingCheckpoint?: InputMaybe; -}; - -/** Ordering options when selecting data from "ERCPointParams". */ -export type ERCPointParams_order_by = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteTokenAddress?: InputMaybe; - votingCheckpoint?: InputMaybe; +export type FeedItem_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + sender?: InputMaybe; + sender_not?: InputMaybe; + sender_gt?: InputMaybe; + sender_lt?: InputMaybe; + sender_gte?: InputMaybe; + sender_lte?: InputMaybe; + sender_in?: InputMaybe>; + sender_not_in?: InputMaybe>; + sender_contains?: InputMaybe; + sender_not_contains?: InputMaybe; + tag?: InputMaybe; + tag_not?: InputMaybe; + tag_gt?: InputMaybe; + tag_lt?: InputMaybe; + tag_gte?: InputMaybe; + tag_lte?: InputMaybe; + tag_in?: InputMaybe>; + tag_not_in?: InputMaybe>; + tag_contains?: InputMaybe; + tag_contains_nocase?: InputMaybe; + tag_not_contains?: InputMaybe; + tag_not_contains_nocase?: InputMaybe; + tag_starts_with?: InputMaybe; + tag_starts_with_nocase?: InputMaybe; + tag_not_starts_with?: InputMaybe; + tag_not_starts_with_nocase?: InputMaybe; + tag_ends_with?: InputMaybe; + tag_ends_with_nocase?: InputMaybe; + tag_not_ends_with?: InputMaybe; + tag_not_ends_with_nocase?: InputMaybe; + subjectMetadataPointer?: InputMaybe; + subjectMetadataPointer_not?: InputMaybe; + subjectMetadataPointer_gt?: InputMaybe; + subjectMetadataPointer_lt?: InputMaybe; + subjectMetadataPointer_gte?: InputMaybe; + subjectMetadataPointer_lte?: InputMaybe; + subjectMetadataPointer_in?: InputMaybe>; + subjectMetadataPointer_not_in?: InputMaybe>; + subjectMetadataPointer_contains?: InputMaybe; + subjectMetadataPointer_contains_nocase?: InputMaybe; + subjectMetadataPointer_not_contains?: InputMaybe; + subjectMetadataPointer_not_contains_nocase?: InputMaybe; + subjectMetadataPointer_starts_with?: InputMaybe; + subjectMetadataPointer_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_not_starts_with?: InputMaybe; + subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_ends_with?: InputMaybe; + subjectMetadataPointer_ends_with_nocase?: InputMaybe; + subjectMetadataPointer_not_ends_with?: InputMaybe; + subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; + subjectId?: InputMaybe; + subjectId_not?: InputMaybe; + subjectId_gt?: InputMaybe; + subjectId_lt?: InputMaybe; + subjectId_gte?: InputMaybe; + subjectId_lte?: InputMaybe; + subjectId_in?: InputMaybe>; + subjectId_not_in?: InputMaybe>; + objectId?: InputMaybe; + objectId_not?: InputMaybe; + objectId_gt?: InputMaybe; + objectId_lt?: InputMaybe; + objectId_gte?: InputMaybe; + objectId_lte?: InputMaybe; + objectId_in?: InputMaybe>; + objectId_not_in?: InputMaybe>; + subject?: InputMaybe; + subject_not?: InputMaybe; + subject_gt?: InputMaybe; + subject_lt?: InputMaybe; + subject_gte?: InputMaybe; + subject_lte?: InputMaybe; + subject_in?: InputMaybe>; + subject_not_in?: InputMaybe>; + subject_contains?: InputMaybe; + subject_contains_nocase?: InputMaybe; + subject_not_contains?: InputMaybe; + subject_not_contains_nocase?: InputMaybe; + subject_starts_with?: InputMaybe; + subject_starts_with_nocase?: InputMaybe; + subject_not_starts_with?: InputMaybe; + subject_not_starts_with_nocase?: InputMaybe; + subject_ends_with?: InputMaybe; + subject_ends_with_nocase?: InputMaybe; + subject_not_ends_with?: InputMaybe; + subject_not_ends_with_nocase?: InputMaybe; + subject_?: InputMaybe; + object?: InputMaybe; + object_not?: InputMaybe; + object_gt?: InputMaybe; + object_lt?: InputMaybe; + object_gte?: InputMaybe; + object_lte?: InputMaybe; + object_in?: InputMaybe>; + object_not_in?: InputMaybe>; + object_contains?: InputMaybe; + object_contains_nocase?: InputMaybe; + object_not_contains?: InputMaybe; + object_not_contains_nocase?: InputMaybe; + object_starts_with?: InputMaybe; + object_starts_with_nocase?: InputMaybe; + object_not_starts_with?: InputMaybe; + object_not_starts_with_nocase?: InputMaybe; + object_ends_with?: InputMaybe; + object_ends_with_nocase?: InputMaybe; + object_not_ends_with?: InputMaybe; + object_not_ends_with_nocase?: InputMaybe; + object_?: InputMaybe; + embed?: InputMaybe; + embed_not?: InputMaybe; + embed_gt?: InputMaybe; + embed_lt?: InputMaybe; + embed_gte?: InputMaybe; + embed_lte?: InputMaybe; + embed_in?: InputMaybe>; + embed_not_in?: InputMaybe>; + embed_contains?: InputMaybe; + embed_contains_nocase?: InputMaybe; + embed_not_contains?: InputMaybe; + embed_not_contains_nocase?: InputMaybe; + embed_starts_with?: InputMaybe; + embed_starts_with_nocase?: InputMaybe; + embed_not_starts_with?: InputMaybe; + embed_not_starts_with_nocase?: InputMaybe; + embed_ends_with?: InputMaybe; + embed_ends_with_nocase?: InputMaybe; + embed_not_ends_with?: InputMaybe; + embed_not_ends_with_nocase?: InputMaybe; + embed_?: InputMaybe; + details?: InputMaybe; + details_not?: InputMaybe; + details_gt?: InputMaybe; + details_lt?: InputMaybe; + details_gte?: InputMaybe; + details_lte?: InputMaybe; + details_in?: InputMaybe>; + details_not_in?: InputMaybe>; + details_contains?: InputMaybe; + details_contains_nocase?: InputMaybe; + details_not_contains?: InputMaybe; + details_not_contains_nocase?: InputMaybe; + details_starts_with?: InputMaybe; + details_starts_with_nocase?: InputMaybe; + details_not_starts_with?: InputMaybe; + details_not_starts_with_nocase?: InputMaybe; + details_ends_with?: InputMaybe; + details_ends_with_nocase?: InputMaybe; + details_not_ends_with?: InputMaybe; + details_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "ERCPointParams" */ -export type ERCPointParams_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ +export type FeedItem_orderBy = | 'id' - /** column name */ - | 'voteTokenAddress' - /** column name */ - | 'votingCheckpoint'; + | 'timestamp' + | 'content' + | 'sender' + | 'tag' + | 'subjectMetadataPointer' + | 'subjectId' + | 'objectId' + | 'subject' + | 'subject__id' + | 'subject__name' + | 'subject__type' + | 'object' + | 'object__id' + | 'object__name' + | 'object__type' + | 'embed' + | 'embed__id' + | 'embed__key' + | 'embed__pointer' + | 'embed__protocol' + | 'embed__content' + | 'details'; -/** Streaming cursor of the table "ERCPointParams" */ -export type ERCPointParams_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ERCPointParams_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; +export type GameManager = { + id: Scalars['Bytes']; + poolId: Scalars['BigInt']; + gameFacilitatorId: Scalars['BigInt']; + rootAccount: Scalars['Bytes']; + tokenAddress: Scalars['Bytes']; + currentRoundId: Scalars['BigInt']; + currentRound?: Maybe; + poolFunds: Scalars['BigInt']; }; -/** Initial value of the column from where the streaming should start */ -export type ERCPointParams_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteTokenAddress?: InputMaybe; - votingCheckpoint?: InputMaybe; -}; - -/** columns and relationships of "EnvioTX" */ -export type EnvioTX = { - blockNumber: Scalars['numeric']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - srcAddress: Scalars['String']; - txHash: Scalars['String']; - txOrigin?: Maybe; -}; - -/** Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. */ -export type EnvioTX_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - blockNumber?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - srcAddress?: InputMaybe; - txHash?: InputMaybe; - txOrigin?: InputMaybe; -}; - -/** Ordering options when selecting data from "EnvioTX". */ -export type EnvioTX_order_by = { - blockNumber?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - srcAddress?: InputMaybe; - txHash?: InputMaybe; - txOrigin?: InputMaybe; +export type GameManager_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + gameFacilitatorId?: InputMaybe; + gameFacilitatorId_not?: InputMaybe; + gameFacilitatorId_gt?: InputMaybe; + gameFacilitatorId_lt?: InputMaybe; + gameFacilitatorId_gte?: InputMaybe; + gameFacilitatorId_lte?: InputMaybe; + gameFacilitatorId_in?: InputMaybe>; + gameFacilitatorId_not_in?: InputMaybe>; + rootAccount?: InputMaybe; + rootAccount_not?: InputMaybe; + rootAccount_gt?: InputMaybe; + rootAccount_lt?: InputMaybe; + rootAccount_gte?: InputMaybe; + rootAccount_lte?: InputMaybe; + rootAccount_in?: InputMaybe>; + rootAccount_not_in?: InputMaybe>; + rootAccount_contains?: InputMaybe; + rootAccount_not_contains?: InputMaybe; + tokenAddress?: InputMaybe; + tokenAddress_not?: InputMaybe; + tokenAddress_gt?: InputMaybe; + tokenAddress_lt?: InputMaybe; + tokenAddress_gte?: InputMaybe; + tokenAddress_lte?: InputMaybe; + tokenAddress_in?: InputMaybe>; + tokenAddress_not_in?: InputMaybe>; + tokenAddress_contains?: InputMaybe; + tokenAddress_not_contains?: InputMaybe; + currentRoundId?: InputMaybe; + currentRoundId_not?: InputMaybe; + currentRoundId_gt?: InputMaybe; + currentRoundId_lt?: InputMaybe; + currentRoundId_gte?: InputMaybe; + currentRoundId_lte?: InputMaybe; + currentRoundId_in?: InputMaybe>; + currentRoundId_not_in?: InputMaybe>; + currentRound?: InputMaybe; + currentRound_not?: InputMaybe; + currentRound_gt?: InputMaybe; + currentRound_lt?: InputMaybe; + currentRound_gte?: InputMaybe; + currentRound_lte?: InputMaybe; + currentRound_in?: InputMaybe>; + currentRound_not_in?: InputMaybe>; + currentRound_contains?: InputMaybe; + currentRound_contains_nocase?: InputMaybe; + currentRound_not_contains?: InputMaybe; + currentRound_not_contains_nocase?: InputMaybe; + currentRound_starts_with?: InputMaybe; + currentRound_starts_with_nocase?: InputMaybe; + currentRound_not_starts_with?: InputMaybe; + currentRound_not_starts_with_nocase?: InputMaybe; + currentRound_ends_with?: InputMaybe; + currentRound_ends_with_nocase?: InputMaybe; + currentRound_not_ends_with?: InputMaybe; + currentRound_not_ends_with_nocase?: InputMaybe; + currentRound_?: InputMaybe; + poolFunds?: InputMaybe; + poolFunds_not?: InputMaybe; + poolFunds_gt?: InputMaybe; + poolFunds_lt?: InputMaybe; + poolFunds_gte?: InputMaybe; + poolFunds_lte?: InputMaybe; + poolFunds_in?: InputMaybe>; + poolFunds_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "EnvioTX" */ -export type EnvioTX_select_column = - /** column name */ - | 'blockNumber' - /** column name */ - | 'db_write_timestamp' - /** column name */ +export type GameManager_orderBy = | 'id' - /** column name */ - | 'srcAddress' - /** column name */ - | 'txHash' - /** column name */ - | 'txOrigin'; - -/** Streaming cursor of the table "EnvioTX" */ -export type EnvioTX_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: EnvioTX_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type EnvioTX_stream_cursor_value_input = { - blockNumber?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - srcAddress?: InputMaybe; - txHash?: InputMaybe; - txOrigin?: InputMaybe; -}; - -/** columns and relationships of "EventPost" */ -export type EventPost = { - db_write_timestamp?: Maybe; - hatId: Scalars['numeric']; - /** An object relationship */ - hatsPoster?: Maybe; - hatsPoster_id: Scalars['String']; - id: Scalars['String']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - tag: Scalars['String']; -}; - -/** order by aggregate values of table "EventPost" */ -export type EventPost_aggregate_order_by = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** order by avg() on columns of table "EventPost" */ -export type EventPost_avg_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; + | 'poolId' + | 'gameFacilitatorId' + | 'rootAccount' + | 'tokenAddress' + | 'currentRoundId' + | 'currentRound' + | 'currentRound__id' + | 'currentRound__startTime' + | 'currentRound__endTime' + | 'currentRound__totalRoundAmount' + | 'currentRound__totalAllocatedAmount' + | 'currentRound__totalDistributedAmount' + | 'currentRound__gameStatus' + | 'currentRound__isGameActive' + | 'currentRound__realStartTime' + | 'currentRound__realEndTime' + | 'poolFunds'; -/** Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. */ -export type EventPost_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - tag?: InputMaybe; +export type GameRound = { + id: Scalars['ID']; + startTime: Scalars['BigInt']; + endTime: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocatedAmount: Scalars['BigInt']; + totalDistributedAmount: Scalars['BigInt']; + gameStatus: Scalars['Int']; + ships: Array; + isGameActive: Scalars['Boolean']; + realStartTime?: Maybe; + realEndTime?: Maybe; }; -/** order by max() on columns of table "EventPost" */ -export type EventPost_max_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - tag?: InputMaybe; -}; -/** order by min() on columns of table "EventPost" */ -export type EventPost_min_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - tag?: InputMaybe; +export type GameRoundshipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; }; -/** Ordering options when selecting data from "EventPost". */ -export type EventPost_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - tag?: InputMaybe; +export type GameRound_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + startTime?: InputMaybe; + startTime_not?: InputMaybe; + startTime_gt?: InputMaybe; + startTime_lt?: InputMaybe; + startTime_gte?: InputMaybe; + startTime_lte?: InputMaybe; + startTime_in?: InputMaybe>; + startTime_not_in?: InputMaybe>; + endTime?: InputMaybe; + endTime_not?: InputMaybe; + endTime_gt?: InputMaybe; + endTime_lt?: InputMaybe; + endTime_gte?: InputMaybe; + endTime_lte?: InputMaybe; + endTime_in?: InputMaybe>; + endTime_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocatedAmount?: InputMaybe; + totalAllocatedAmount_not?: InputMaybe; + totalAllocatedAmount_gt?: InputMaybe; + totalAllocatedAmount_lt?: InputMaybe; + totalAllocatedAmount_gte?: InputMaybe; + totalAllocatedAmount_lte?: InputMaybe; + totalAllocatedAmount_in?: InputMaybe>; + totalAllocatedAmount_not_in?: InputMaybe>; + totalDistributedAmount?: InputMaybe; + totalDistributedAmount_not?: InputMaybe; + totalDistributedAmount_gt?: InputMaybe; + totalDistributedAmount_lt?: InputMaybe; + totalDistributedAmount_gte?: InputMaybe; + totalDistributedAmount_lte?: InputMaybe; + totalDistributedAmount_in?: InputMaybe>; + totalDistributedAmount_not_in?: InputMaybe>; + gameStatus?: InputMaybe; + gameStatus_not?: InputMaybe; + gameStatus_gt?: InputMaybe; + gameStatus_lt?: InputMaybe; + gameStatus_gte?: InputMaybe; + gameStatus_lte?: InputMaybe; + gameStatus_in?: InputMaybe>; + gameStatus_not_in?: InputMaybe>; + ships?: InputMaybe>; + ships_not?: InputMaybe>; + ships_contains?: InputMaybe>; + ships_contains_nocase?: InputMaybe>; + ships_not_contains?: InputMaybe>; + ships_not_contains_nocase?: InputMaybe>; + ships_?: InputMaybe; + isGameActive?: InputMaybe; + isGameActive_not?: InputMaybe; + isGameActive_in?: InputMaybe>; + isGameActive_not_in?: InputMaybe>; + realStartTime?: InputMaybe; + realStartTime_not?: InputMaybe; + realStartTime_gt?: InputMaybe; + realStartTime_lt?: InputMaybe; + realStartTime_gte?: InputMaybe; + realStartTime_lte?: InputMaybe; + realStartTime_in?: InputMaybe>; + realStartTime_not_in?: InputMaybe>; + realEndTime?: InputMaybe; + realEndTime_not?: InputMaybe; + realEndTime_gt?: InputMaybe; + realEndTime_lt?: InputMaybe; + realEndTime_gte?: InputMaybe; + realEndTime_lte?: InputMaybe; + realEndTime_in?: InputMaybe>; + realEndTime_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** select columns of table "EventPost" */ -export type EventPost_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'hatId' - /** column name */ - | 'hatsPoster_id' - /** column name */ +export type GameRound_orderBy = | 'id' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'tag'; - -/** order by stddev() on columns of table "EventPost" */ -export type EventPost_stddev_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_pop() on columns of table "EventPost" */ -export type EventPost_stddev_pop_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_samp() on columns of table "EventPost" */ -export type EventPost_stddev_samp_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Streaming cursor of the table "EventPost" */ -export type EventPost_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: EventPost_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type EventPost_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - tag?: InputMaybe; -}; - -/** order by sum() on columns of table "EventPost" */ -export type EventPost_sum_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_pop() on columns of table "EventPost" */ -export type EventPost_var_pop_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_samp() on columns of table "EventPost" */ -export type EventPost_var_samp_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by variance() on columns of table "EventPost" */ -export type EventPost_variance_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** columns and relationships of "FactoryEventsSummary" */ -export type FactoryEventsSummary = { - address: Scalars['String']; - admins: Scalars['_text']; - contestBuiltCount: Scalars['numeric']; - contestCloneCount: Scalars['numeric']; - contestTemplateCount: Scalars['numeric']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - moduleCloneCount: Scalars['numeric']; - moduleTemplateCount: Scalars['numeric']; -}; - -/** Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. */ -export type FactoryEventsSummary_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - address?: InputMaybe; - admins?: InputMaybe<_text_comparison_exp>; - contestBuiltCount?: InputMaybe; - contestCloneCount?: InputMaybe; - contestTemplateCount?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - moduleCloneCount?: InputMaybe; - moduleTemplateCount?: InputMaybe; -}; + | 'startTime' + | 'endTime' + | 'totalRoundAmount' + | 'totalAllocatedAmount' + | 'totalDistributedAmount' + | 'gameStatus' + | 'ships' + | 'isGameActive' + | 'realStartTime' + | 'realEndTime'; -/** Ordering options when selecting data from "FactoryEventsSummary". */ -export type FactoryEventsSummary_order_by = { - address?: InputMaybe; - admins?: InputMaybe; - contestBuiltCount?: InputMaybe; - contestCloneCount?: InputMaybe; - contestTemplateCount?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - moduleCloneCount?: InputMaybe; - moduleTemplateCount?: InputMaybe; +export type GmDeployment = { + id: Scalars['ID']; + address: Scalars['Bytes']; + version: GmVersion; + blockNumber: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + timestamp: Scalars['BigInt']; + hasPool: Scalars['Boolean']; + poolId?: Maybe; + profileId: Scalars['Bytes']; + poolMetadata: RawMetadata; + poolProfileMetadata: RawMetadata; }; -/** select columns of table "FactoryEventsSummary" */ -export type FactoryEventsSummary_select_column = - /** column name */ - | 'address' - /** column name */ - | 'admins' - /** column name */ - | 'contestBuiltCount' - /** column name */ - | 'contestCloneCount' - /** column name */ - | 'contestTemplateCount' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'moduleCloneCount' - /** column name */ - | 'moduleTemplateCount'; - -/** Streaming cursor of the table "FactoryEventsSummary" */ -export type FactoryEventsSummary_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: FactoryEventsSummary_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type FactoryEventsSummary_stream_cursor_value_input = { - address?: InputMaybe; - admins?: InputMaybe; - contestBuiltCount?: InputMaybe; - contestCloneCount?: InputMaybe; - contestTemplateCount?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - moduleCloneCount?: InputMaybe; - moduleTemplateCount?: InputMaybe; -}; - -/** columns and relationships of "GSVoter" */ -export type GSVoter = { - address: Scalars['String']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - /** An array relationship */ - votes: Array; +export type GmDeployment_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + version?: InputMaybe; + version_not?: InputMaybe; + version_gt?: InputMaybe; + version_lt?: InputMaybe; + version_gte?: InputMaybe; + version_lte?: InputMaybe; + version_in?: InputMaybe>; + version_not_in?: InputMaybe>; + version_contains?: InputMaybe; + version_contains_nocase?: InputMaybe; + version_not_contains?: InputMaybe; + version_not_contains_nocase?: InputMaybe; + version_starts_with?: InputMaybe; + version_starts_with_nocase?: InputMaybe; + version_not_starts_with?: InputMaybe; + version_not_starts_with_nocase?: InputMaybe; + version_ends_with?: InputMaybe; + version_ends_with_nocase?: InputMaybe; + version_not_ends_with?: InputMaybe; + version_not_ends_with_nocase?: InputMaybe; + version_?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + hasPool?: InputMaybe; + hasPool_not?: InputMaybe; + hasPool_in?: InputMaybe>; + hasPool_not_in?: InputMaybe>; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + poolMetadata?: InputMaybe; + poolMetadata_not?: InputMaybe; + poolMetadata_gt?: InputMaybe; + poolMetadata_lt?: InputMaybe; + poolMetadata_gte?: InputMaybe; + poolMetadata_lte?: InputMaybe; + poolMetadata_in?: InputMaybe>; + poolMetadata_not_in?: InputMaybe>; + poolMetadata_contains?: InputMaybe; + poolMetadata_contains_nocase?: InputMaybe; + poolMetadata_not_contains?: InputMaybe; + poolMetadata_not_contains_nocase?: InputMaybe; + poolMetadata_starts_with?: InputMaybe; + poolMetadata_starts_with_nocase?: InputMaybe; + poolMetadata_not_starts_with?: InputMaybe; + poolMetadata_not_starts_with_nocase?: InputMaybe; + poolMetadata_ends_with?: InputMaybe; + poolMetadata_ends_with_nocase?: InputMaybe; + poolMetadata_not_ends_with?: InputMaybe; + poolMetadata_not_ends_with_nocase?: InputMaybe; + poolMetadata_?: InputMaybe; + poolProfileMetadata?: InputMaybe; + poolProfileMetadata_not?: InputMaybe; + poolProfileMetadata_gt?: InputMaybe; + poolProfileMetadata_lt?: InputMaybe; + poolProfileMetadata_gte?: InputMaybe; + poolProfileMetadata_lte?: InputMaybe; + poolProfileMetadata_in?: InputMaybe>; + poolProfileMetadata_not_in?: InputMaybe>; + poolProfileMetadata_contains?: InputMaybe; + poolProfileMetadata_contains_nocase?: InputMaybe; + poolProfileMetadata_not_contains?: InputMaybe; + poolProfileMetadata_not_contains_nocase?: InputMaybe; + poolProfileMetadata_starts_with?: InputMaybe; + poolProfileMetadata_starts_with_nocase?: InputMaybe; + poolProfileMetadata_not_starts_with?: InputMaybe; + poolProfileMetadata_not_starts_with_nocase?: InputMaybe; + poolProfileMetadata_ends_with?: InputMaybe; + poolProfileMetadata_ends_with_nocase?: InputMaybe; + poolProfileMetadata_not_ends_with?: InputMaybe; + poolProfileMetadata_not_ends_with_nocase?: InputMaybe; + poolProfileMetadata_?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type GmDeployment_orderBy = + | 'id' + | 'address' + | 'version' + | 'version__id' + | 'version__name' + | 'version__address' + | 'blockNumber' + | 'transactionHash' + | 'timestamp' + | 'hasPool' + | 'poolId' + | 'profileId' + | 'poolMetadata' + | 'poolMetadata__id' + | 'poolMetadata__protocol' + | 'poolMetadata__pointer' + | 'poolProfileMetadata' + | 'poolProfileMetadata__id' + | 'poolProfileMetadata__protocol' + | 'poolProfileMetadata__pointer'; -/** columns and relationships of "GSVoter" */ -export type GSVotervotesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type GmVersion = { + id: Scalars['ID']; + name: Scalars['String']; + address: Scalars['Bytes']; }; -/** Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. */ -export type GSVoter_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - address?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - votes?: InputMaybe; +export type GmVersion_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -/** Ordering options when selecting data from "GSVoter". */ -export type GSVoter_order_by = { - address?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - votes_aggregate?: InputMaybe; -}; +export type GmVersion_orderBy = + | 'id' + | 'name' + | 'address'; -/** select columns of table "GSVoter" */ -export type GSVoter_select_column = - /** column name */ - | 'address' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id'; - -/** Streaming cursor of the table "GSVoter" */ -export type GSVoter_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: GSVoter_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type GSVoter_stream_cursor_value_input = { - address?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; -}; - -/** columns and relationships of "GrantShipsVoting" */ -export type GrantShipsVoting = { - /** An array relationship */ - choices: Array; - /** An object relationship */ - contest?: Maybe; - contest_id: Scalars['String']; - db_write_timestamp?: Maybe; - endTime?: Maybe; - hatId: Scalars['numeric']; - hatsAddress: Scalars['String']; - id: Scalars['String']; - isVotingActive: Scalars['Boolean']; - startTime?: Maybe; - totalVotes: Scalars['numeric']; - voteDuration: Scalars['numeric']; - voteTokenAddress: Scalars['String']; - /** An array relationship */ - votes: Array; - votingCheckpoint: Scalars['numeric']; -}; - - -/** columns and relationships of "GrantShipsVoting" */ -export type GrantShipsVotingchoicesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "GrantShipsVoting" */ -export type GrantShipsVotingvotesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Grant = { + id: Scalars['ID']; + projectId: Project; + shipId: GrantShip; + lastUpdated: Scalars['BigInt']; + hasResubmitted: Scalars['Boolean']; + grantStatus: Scalars['Int']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; + currentMilestoneIndex: Scalars['BigInt']; + milestonesAmount: Scalars['BigInt']; + milestones?: Maybe>; + shipApprovalReason?: Maybe; + hasShipApproved?: Maybe; + amtAllocated: Scalars['BigInt']; + amtDistributed: Scalars['BigInt']; + allocatedBy?: Maybe; + facilitatorReason?: Maybe; + hasFacilitatorApproved?: Maybe; + milestonesApproved?: Maybe; + milestonesApprovedReason?: Maybe; + currentMilestoneRejectedReason?: Maybe; + resubmitHistory: Array; }; -/** Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. */ -export type GrantShipsVoting_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - choices?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - endTime?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; - isVotingActive?: InputMaybe; - startTime?: InputMaybe; - totalVotes?: InputMaybe; - voteDuration?: InputMaybe; - voteTokenAddress?: InputMaybe; - votes?: InputMaybe; - votingCheckpoint?: InputMaybe; -}; -/** Ordering options when selecting data from "GrantShipsVoting". */ -export type GrantShipsVoting_order_by = { - choices_aggregate?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - endTime?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; - isVotingActive?: InputMaybe; - startTime?: InputMaybe; - totalVotes?: InputMaybe; - voteDuration?: InputMaybe; - voteTokenAddress?: InputMaybe; - votes_aggregate?: InputMaybe; - votingCheckpoint?: InputMaybe; +export type GrantmilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; }; -/** select columns of table "GrantShipsVoting" */ -export type GrantShipsVoting_select_column = - /** column name */ - | 'contest_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'endTime' - /** column name */ - | 'hatId' - /** column name */ - | 'hatsAddress' - /** column name */ - | 'id' - /** column name */ - | 'isVotingActive' - /** column name */ - | 'startTime' - /** column name */ - | 'totalVotes' - /** column name */ - | 'voteDuration' - /** column name */ - | 'voteTokenAddress' - /** column name */ - | 'votingCheckpoint'; - -/** Streaming cursor of the table "GrantShipsVoting" */ -export type GrantShipsVoting_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: GrantShipsVoting_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; -/** Initial value of the column from where the streaming should start */ -export type GrantShipsVoting_stream_cursor_value_input = { - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - endTime?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; - isVotingActive?: InputMaybe; - startTime?: InputMaybe; - totalVotes?: InputMaybe; - voteDuration?: InputMaybe; - voteTokenAddress?: InputMaybe; - votingCheckpoint?: InputMaybe; +export type GrantresubmitHistoryArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; }; -/** columns and relationships of "HALParams" */ -export type HALParams = { - db_write_timestamp?: Maybe; - hatId: Scalars['numeric']; - hatsAddress: Scalars['String']; - id: Scalars['String']; +export type GrantShip = { + id: Scalars['Bytes']; + profileId: Scalars['Bytes']; + nonce: Scalars['BigInt']; + name: Scalars['String']; + profileMetadata: RawMetadata; + owner: Scalars['Bytes']; + anchor: Scalars['Bytes']; + blockNumber: Scalars['BigInt']; + blockTimestamp: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + status: Scalars['Int']; + poolFunded: Scalars['Boolean']; + balance: Scalars['BigInt']; + shipAllocation: Scalars['BigInt']; + totalAvailableFunds: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocated: Scalars['BigInt']; + totalDistributed: Scalars['BigInt']; + grants: Array; + alloProfileMembers?: Maybe; + shipApplicationBytesData?: Maybe; + applicationSubmittedTime?: Maybe; + isAwaitingApproval?: Maybe; + hasSubmittedApplication?: Maybe; + isApproved?: Maybe; + approvedTime?: Maybe; + isRejected?: Maybe; + rejectedTime?: Maybe; + applicationReviewReason?: Maybe; + poolId?: Maybe; + hatId?: Maybe; + shipContractAddress?: Maybe; + shipLaunched?: Maybe; + poolActive?: Maybe; + isAllocated?: Maybe; + isDistributed?: Maybe; }; -/** Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. */ -export type HALParams_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; -}; -/** Ordering options when selecting data from "HALParams". */ -export type HALParams_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; +export type GrantShipgrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; }; -/** select columns of table "HALParams" */ -export type HALParams_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'hatId' - /** column name */ - | 'hatsAddress' - /** column name */ - | 'id'; - -/** Streaming cursor of the table "HALParams" */ -export type HALParams_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: HALParams_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HALParams_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; -}; - -/** columns and relationships of "HatsPoster" */ -export type HatsPoster = { - db_write_timestamp?: Maybe; - /** An array relationship */ - eventPosts: Array; - hatIds: Scalars['_numeric']; - hatsAddress: Scalars['String']; - id: Scalars['String']; - /** An array relationship */ - record: Array; -}; - - -/** columns and relationships of "HatsPoster" */ -export type HatsPostereventPostsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "HatsPoster" */ -export type HatsPosterrecordArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. */ -export type HatsPoster_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - eventPosts?: InputMaybe; - hatIds?: InputMaybe<_numeric_comparison_exp>; - hatsAddress?: InputMaybe; - id?: InputMaybe; - record?: InputMaybe; -}; - -/** Ordering options when selecting data from "HatsPoster". */ -export type HatsPoster_order_by = { - db_write_timestamp?: InputMaybe; - eventPosts_aggregate?: InputMaybe; - hatIds?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; - record_aggregate?: InputMaybe; -}; - -/** select columns of table "HatsPoster" */ -export type HatsPoster_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'hatIds' - /** column name */ - | 'hatsAddress' - /** column name */ - | 'id'; - -/** Streaming cursor of the table "HatsPoster" */ -export type HatsPoster_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: HatsPoster_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type HatsPoster_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - hatIds?: InputMaybe; - hatsAddress?: InputMaybe; - id?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ -export type Int_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "LocalLog" */ -export type LocalLog = { - db_write_timestamp?: Maybe; - id: Scalars['String']; - message?: Maybe; -}; - -/** Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. */ -export type LocalLog_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - message?: InputMaybe; -}; - -/** Ordering options when selecting data from "LocalLog". */ -export type LocalLog_order_by = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - message?: InputMaybe; -}; - -/** select columns of table "LocalLog" */ -export type LocalLog_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'message'; - -/** Streaming cursor of the table "LocalLog" */ -export type LocalLog_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: LocalLog_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type LocalLog_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - message?: InputMaybe; -}; - -/** columns and relationships of "ModuleTemplate" */ -export type ModuleTemplate = { - active: Scalars['Boolean']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - moduleName: Scalars['String']; - templateAddress: Scalars['String']; -}; - -/** Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. */ -export type ModuleTemplate_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - active?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - moduleName?: InputMaybe; - templateAddress?: InputMaybe; -}; - -/** Ordering options when selecting data from "ModuleTemplate". */ -export type ModuleTemplate_order_by = { - active?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - moduleName?: InputMaybe; - templateAddress?: InputMaybe; -}; - -/** select columns of table "ModuleTemplate" */ -export type ModuleTemplate_select_column = - /** column name */ - | 'active' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'moduleName' - /** column name */ - | 'templateAddress'; - -/** Streaming cursor of the table "ModuleTemplate" */ -export type ModuleTemplate_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ModuleTemplate_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ModuleTemplate_stream_cursor_value_input = { - active?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - moduleName?: InputMaybe; - templateAddress?: InputMaybe; -}; - -/** columns and relationships of "Record" */ -export type Record = { - db_write_timestamp?: Maybe; - hatId: Scalars['numeric']; - /** An object relationship */ - hatsPoster?: Maybe; - hatsPoster_id: Scalars['String']; - id: Scalars['String']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - nonce: Scalars['String']; - tag: Scalars['String']; -}; - -/** order by aggregate values of table "Record" */ -export type Record_aggregate_order_by = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** order by avg() on columns of table "Record" */ -export type Record_avg_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. */ -export type Record_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - nonce?: InputMaybe; - tag?: InputMaybe; -}; - -/** order by max() on columns of table "Record" */ -export type Record_max_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - nonce?: InputMaybe; - tag?: InputMaybe; -}; - -/** order by min() on columns of table "Record" */ -export type Record_min_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - nonce?: InputMaybe; - tag?: InputMaybe; -}; - -/** Ordering options when selecting data from "Record". */ -export type Record_order_by = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - nonce?: InputMaybe; - tag?: InputMaybe; -}; - -/** select columns of table "Record" */ -export type Record_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'hatId' - /** column name */ - | 'hatsPoster_id' - /** column name */ - | 'id' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'nonce' - /** column name */ - | 'tag'; - -/** order by stddev() on columns of table "Record" */ -export type Record_stddev_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_pop() on columns of table "Record" */ -export type Record_stddev_pop_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_samp() on columns of table "Record" */ -export type Record_stddev_samp_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Streaming cursor of the table "Record" */ -export type Record_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: Record_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type Record_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - hatId?: InputMaybe; - hatsPoster_id?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - nonce?: InputMaybe; - tag?: InputMaybe; -}; - -/** order by sum() on columns of table "Record" */ -export type Record_sum_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_pop() on columns of table "Record" */ -export type Record_var_pop_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_samp() on columns of table "Record" */ -export type Record_var_samp_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by variance() on columns of table "Record" */ -export type Record_variance_order_by = { - hatId?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** columns and relationships of "ShipChoice" */ -export type ShipChoice = { - active: Scalars['Boolean']; - choiceData: Scalars['String']; - /** An object relationship */ - contest?: Maybe; - contest_id: Scalars['String']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - voteTally: Scalars['numeric']; - /** An array relationship */ - votes: Array; -}; - - -/** columns and relationships of "ShipChoice" */ -export type ShipChoicevotesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - -/** order by aggregate values of table "ShipChoice" */ -export type ShipChoice_aggregate_order_by = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** order by avg() on columns of table "ShipChoice" */ -export type ShipChoice_avg_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. */ -export type ShipChoice_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - active?: InputMaybe; - choiceData?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; - votes?: InputMaybe; -}; - -/** order by max() on columns of table "ShipChoice" */ -export type ShipChoice_max_order_by = { - choiceData?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by min() on columns of table "ShipChoice" */ -export type ShipChoice_min_order_by = { - choiceData?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** Ordering options when selecting data from "ShipChoice". */ -export type ShipChoice_order_by = { - active?: InputMaybe; - choiceData?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; - votes_aggregate?: InputMaybe; -}; - -/** select columns of table "ShipChoice" */ -export type ShipChoice_select_column = - /** column name */ - | 'active' - /** column name */ - | 'choiceData' - /** column name */ - | 'contest_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'voteTally'; - -/** order by stddev() on columns of table "ShipChoice" */ -export type ShipChoice_stddev_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by stddev_pop() on columns of table "ShipChoice" */ -export type ShipChoice_stddev_pop_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by stddev_samp() on columns of table "ShipChoice" */ -export type ShipChoice_stddev_samp_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** Streaming cursor of the table "ShipChoice" */ -export type ShipChoice_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ShipChoice_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ShipChoice_stream_cursor_value_input = { - active?: InputMaybe; - choiceData?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by sum() on columns of table "ShipChoice" */ -export type ShipChoice_sum_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by var_pop() on columns of table "ShipChoice" */ -export type ShipChoice_var_pop_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by var_samp() on columns of table "ShipChoice" */ -export type ShipChoice_var_samp_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** order by variance() on columns of table "ShipChoice" */ -export type ShipChoice_variance_order_by = { - mdProtocol?: InputMaybe; - voteTally?: InputMaybe; -}; - -/** columns and relationships of "ShipVote" */ -export type ShipVote = { - amount: Scalars['numeric']; - /** An object relationship */ - choice?: Maybe; - choice_id: Scalars['String']; - /** An object relationship */ - contest?: Maybe; - contest_id: Scalars['String']; - db_write_timestamp?: Maybe; - id: Scalars['String']; - isRetractVote: Scalars['Boolean']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - /** An object relationship */ - voter?: Maybe; - voter_id: Scalars['String']; -}; - -/** order by aggregate values of table "ShipVote" */ -export type ShipVote_aggregate_order_by = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** order by avg() on columns of table "ShipVote" */ -export type ShipVote_avg_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. */ -export type ShipVote_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - amount?: InputMaybe; - choice?: InputMaybe; - choice_id?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - isRetractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter?: InputMaybe; - voter_id?: InputMaybe; -}; - -/** order by max() on columns of table "ShipVote" */ -export type ShipVote_max_order_by = { - amount?: InputMaybe; - choice_id?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter_id?: InputMaybe; -}; - -/** order by min() on columns of table "ShipVote" */ -export type ShipVote_min_order_by = { - amount?: InputMaybe; - choice_id?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter_id?: InputMaybe; -}; - -/** Ordering options when selecting data from "ShipVote". */ -export type ShipVote_order_by = { - amount?: InputMaybe; - choice?: InputMaybe; - choice_id?: InputMaybe; - contest?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - isRetractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter?: InputMaybe; - voter_id?: InputMaybe; -}; - -/** select columns of table "ShipVote" */ -export type ShipVote_select_column = - /** column name */ - | 'amount' - /** column name */ - | 'choice_id' - /** column name */ - | 'contest_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'isRetractVote' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'voter_id'; - -/** order by stddev() on columns of table "ShipVote" */ -export type ShipVote_stddev_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_pop() on columns of table "ShipVote" */ -export type ShipVote_stddev_pop_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by stddev_samp() on columns of table "ShipVote" */ -export type ShipVote_stddev_samp_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** Streaming cursor of the table "ShipVote" */ -export type ShipVote_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: ShipVote_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type ShipVote_stream_cursor_value_input = { - amount?: InputMaybe; - choice_id?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - isRetractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter_id?: InputMaybe; -}; - -/** order by sum() on columns of table "ShipVote" */ -export type ShipVote_sum_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_pop() on columns of table "ShipVote" */ -export type ShipVote_var_pop_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by var_samp() on columns of table "ShipVote" */ -export type ShipVote_var_samp_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** order by variance() on columns of table "ShipVote" */ -export type ShipVote_variance_order_by = { - amount?: InputMaybe; - mdProtocol?: InputMaybe; -}; - -/** columns and relationships of "StemModule" */ -export type StemModule = { - /** An object relationship */ - contest?: Maybe; - contestAddress?: Maybe; - contest_id?: Maybe; - db_write_timestamp?: Maybe; - filterTag: Scalars['String']; - id: Scalars['String']; - moduleAddress: Scalars['String']; - moduleName: Scalars['String']; - /** An object relationship */ - moduleTemplate?: Maybe; - moduleTemplate_id: Scalars['String']; -}; - -/** Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. */ -export type StemModule_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - contest?: InputMaybe; - contestAddress?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - moduleAddress?: InputMaybe; - moduleName?: InputMaybe; - moduleTemplate?: InputMaybe; - moduleTemplate_id?: InputMaybe; -}; - -/** Ordering options when selecting data from "StemModule". */ -export type StemModule_order_by = { - contest?: InputMaybe; - contestAddress?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - moduleAddress?: InputMaybe; - moduleName?: InputMaybe; - moduleTemplate?: InputMaybe; - moduleTemplate_id?: InputMaybe; -}; - -/** select columns of table "StemModule" */ -export type StemModule_select_column = - /** column name */ - | 'contestAddress' - /** column name */ - | 'contest_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'filterTag' - /** column name */ - | 'id' - /** column name */ - | 'moduleAddress' - /** column name */ - | 'moduleName' - /** column name */ - | 'moduleTemplate_id'; - -/** Streaming cursor of the table "StemModule" */ -export type StemModule_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: StemModule_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type StemModule_stream_cursor_value_input = { - contestAddress?: InputMaybe; - contest_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - filterTag?: InputMaybe; - id?: InputMaybe; - moduleAddress?: InputMaybe; - moduleName?: InputMaybe; - moduleTemplate_id?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ -export type String_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - /** does the column match the given case-insensitive pattern */ - _ilike?: InputMaybe; - _in?: InputMaybe>; - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: InputMaybe; - _is_null?: InputMaybe; - /** does the column match the given pattern */ - _like?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: InputMaybe; - _nin?: InputMaybe>; - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: InputMaybe; - /** does the column NOT match the given pattern */ - _nlike?: InputMaybe; - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: InputMaybe; - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: InputMaybe; - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: InputMaybe; - /** does the column match the given SQL regular expression */ - _similar?: InputMaybe; -}; - -/** columns and relationships of "TVParams" */ -export type TVParams = { - db_write_timestamp?: Maybe; - id: Scalars['String']; - voteDuration: Scalars['numeric']; -}; - -/** Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. */ -export type TVParams_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteDuration?: InputMaybe; -}; - -/** Ordering options when selecting data from "TVParams". */ -export type TVParams_order_by = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteDuration?: InputMaybe; -}; - -/** select columns of table "TVParams" */ -export type TVParams_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'id' - /** column name */ - | 'voteDuration'; - -/** Streaming cursor of the table "TVParams" */ -export type TVParams_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: TVParams_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type TVParams_stream_cursor_value_input = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteDuration?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. */ -export type _numeric_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. */ -export type _text_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "chain_metadata" */ -export type chain_metadata = { - block_height: Scalars['Int']; - chain_id: Scalars['Int']; - end_block?: Maybe; - first_event_block_number?: Maybe; - is_hyper_sync: Scalars['Boolean']; - latest_fetched_block_number: Scalars['Int']; - latest_processed_block?: Maybe; - num_batches_fetched: Scalars['Int']; - num_events_processed?: Maybe; - start_block: Scalars['Int']; - timestamp_caught_up_to_head_or_endblock?: Maybe; -}; - -/** Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. */ -export type chain_metadata_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_height?: InputMaybe; - chain_id?: InputMaybe; - end_block?: InputMaybe; - first_event_block_number?: InputMaybe; - is_hyper_sync?: InputMaybe; - latest_fetched_block_number?: InputMaybe; - latest_processed_block?: InputMaybe; - num_batches_fetched?: InputMaybe; - num_events_processed?: InputMaybe; - start_block?: InputMaybe; - timestamp_caught_up_to_head_or_endblock?: InputMaybe; -}; - -/** Ordering options when selecting data from "chain_metadata". */ -export type chain_metadata_order_by = { - block_height?: InputMaybe; - chain_id?: InputMaybe; - end_block?: InputMaybe; - first_event_block_number?: InputMaybe; - is_hyper_sync?: InputMaybe; - latest_fetched_block_number?: InputMaybe; - latest_processed_block?: InputMaybe; - num_batches_fetched?: InputMaybe; - num_events_processed?: InputMaybe; - start_block?: InputMaybe; - timestamp_caught_up_to_head_or_endblock?: InputMaybe; -}; - -/** select columns of table "chain_metadata" */ -export type chain_metadata_select_column = - /** column name */ - | 'block_height' - /** column name */ - | 'chain_id' - /** column name */ - | 'end_block' - /** column name */ - | 'first_event_block_number' - /** column name */ - | 'is_hyper_sync' - /** column name */ - | 'latest_fetched_block_number' - /** column name */ - | 'latest_processed_block' - /** column name */ - | 'num_batches_fetched' - /** column name */ - | 'num_events_processed' - /** column name */ - | 'start_block' - /** column name */ - | 'timestamp_caught_up_to_head_or_endblock'; - -/** Streaming cursor of the table "chain_metadata" */ -export type chain_metadata_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: chain_metadata_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type chain_metadata_stream_cursor_value_input = { - block_height?: InputMaybe; - chain_id?: InputMaybe; - end_block?: InputMaybe; - first_event_block_number?: InputMaybe; - is_hyper_sync?: InputMaybe; - latest_fetched_block_number?: InputMaybe; - latest_processed_block?: InputMaybe; - num_batches_fetched?: InputMaybe; - num_events_processed?: InputMaybe; - start_block?: InputMaybe; - timestamp_caught_up_to_head_or_endblock?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. */ -export type contract_type_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** ordering argument of a cursor */ -export type cursor_ordering = - /** ascending ordering of the cursor */ - | 'ASC' - /** descending ordering of the cursor */ - | 'DESC'; - -/** columns and relationships of "dynamic_contract_registry" */ -export type dynamic_contract_registry = { - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - contract_address: Scalars['String']; - contract_type: Scalars['contract_type']; - event_id: Scalars['numeric']; -}; - -/** Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. */ -export type dynamic_contract_registry_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - contract_address?: InputMaybe; - contract_type?: InputMaybe; - event_id?: InputMaybe; -}; - -/** Ordering options when selecting data from "dynamic_contract_registry". */ -export type dynamic_contract_registry_order_by = { - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - contract_address?: InputMaybe; - contract_type?: InputMaybe; - event_id?: InputMaybe; -}; - -/** select columns of table "dynamic_contract_registry" */ -export type dynamic_contract_registry_select_column = - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'contract_address' - /** column name */ - | 'contract_type' - /** column name */ - | 'event_id'; - -/** Streaming cursor of the table "dynamic_contract_registry" */ -export type dynamic_contract_registry_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: dynamic_contract_registry_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type dynamic_contract_registry_stream_cursor_value_input = { - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - contract_address?: InputMaybe; - contract_type?: InputMaybe; - event_id?: InputMaybe; -}; - -/** columns and relationships of "entity_history" */ -export type entity_history = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - entity_type: Scalars['entity_type']; - /** An object relationship */ - event?: Maybe; - log_index: Scalars['Int']; - params?: Maybe; - previous_block_number?: Maybe; - previous_block_timestamp?: Maybe; - previous_chain_id?: Maybe; - previous_log_index?: Maybe; -}; - - -/** columns and relationships of "entity_history" */ -export type entity_historyparamsArgs = { - path?: InputMaybe; -}; - -/** order by aggregate values of table "entity_history" */ -export type entity_history_aggregate_order_by = { - avg?: InputMaybe; - count?: InputMaybe; - max?: InputMaybe; - min?: InputMaybe; - stddev?: InputMaybe; - stddev_pop?: InputMaybe; - stddev_samp?: InputMaybe; - sum?: InputMaybe; - var_pop?: InputMaybe; - var_samp?: InputMaybe; - variance?: InputMaybe; -}; - -/** order by avg() on columns of table "entity_history" */ -export type entity_history_avg_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. */ -export type entity_history_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - event?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** columns and relationships of "entity_history_filter" */ -export type entity_history_filter = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - entity_id: Scalars['String']; - entity_type: Scalars['entity_type']; - /** An object relationship */ - event?: Maybe; - log_index: Scalars['Int']; - new_val?: Maybe; - old_val?: Maybe; - previous_block_number: Scalars['Int']; - previous_log_index: Scalars['Int']; -}; - - -/** columns and relationships of "entity_history_filter" */ -export type entity_history_filternew_valArgs = { - path?: InputMaybe; -}; - - -/** columns and relationships of "entity_history_filter" */ -export type entity_history_filterold_valArgs = { - path?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. */ -export type entity_history_filter_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - event?: InputMaybe; - log_index?: InputMaybe; - new_val?: InputMaybe; - old_val?: InputMaybe; - previous_block_number?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** Ordering options when selecting data from "entity_history_filter". */ -export type entity_history_filter_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - event?: InputMaybe; - log_index?: InputMaybe; - new_val?: InputMaybe; - old_val?: InputMaybe; - previous_block_number?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** select columns of table "entity_history_filter" */ -export type entity_history_filter_select_column = - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'entity_id' - /** column name */ - | 'entity_type' - /** column name */ - | 'log_index' - /** column name */ - | 'new_val' - /** column name */ - | 'old_val' - /** column name */ - | 'previous_block_number' - /** column name */ - | 'previous_log_index'; - -/** Streaming cursor of the table "entity_history_filter" */ -export type entity_history_filter_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: entity_history_filter_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type entity_history_filter_stream_cursor_value_input = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - log_index?: InputMaybe; - new_val?: InputMaybe; - old_val?: InputMaybe; - previous_block_number?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by max() on columns of table "entity_history" */ -export type entity_history_max_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by min() on columns of table "entity_history" */ -export type entity_history_min_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** Ordering options when selecting data from "entity_history". */ -export type entity_history_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - event?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** select columns of table "entity_history" */ -export type entity_history_select_column = - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'entity_id' - /** column name */ - | 'entity_type' - /** column name */ - | 'log_index' - /** column name */ - | 'params' - /** column name */ - | 'previous_block_number' - /** column name */ - | 'previous_block_timestamp' - /** column name */ - | 'previous_chain_id' - /** column name */ - | 'previous_log_index'; - -/** order by stddev() on columns of table "entity_history" */ -export type entity_history_stddev_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by stddev_pop() on columns of table "entity_history" */ -export type entity_history_stddev_pop_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by stddev_samp() on columns of table "entity_history" */ -export type entity_history_stddev_samp_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** Streaming cursor of the table "entity_history" */ -export type entity_history_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: entity_history_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type entity_history_stream_cursor_value_input = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - entity_id?: InputMaybe; - entity_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by sum() on columns of table "entity_history" */ -export type entity_history_sum_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by var_pop() on columns of table "entity_history" */ -export type entity_history_var_pop_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by var_samp() on columns of table "entity_history" */ -export type entity_history_var_samp_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** order by variance() on columns of table "entity_history" */ -export type entity_history_variance_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - previous_block_number?: InputMaybe; - previous_block_timestamp?: InputMaybe; - previous_chain_id?: InputMaybe; - previous_log_index?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. */ -export type entity_type_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** columns and relationships of "event_sync_state" */ -export type event_sync_state = { - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - log_index: Scalars['Int']; - transaction_index: Scalars['Int']; -}; - -/** Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. */ -export type event_sync_state_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** Ordering options when selecting data from "event_sync_state". */ -export type event_sync_state_order_by = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** select columns of table "event_sync_state" */ -export type event_sync_state_select_column = - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'log_index' - /** column name */ - | 'transaction_index'; - -/** Streaming cursor of the table "event_sync_state" */ -export type event_sync_state_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: event_sync_state_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type event_sync_state_stream_cursor_value_input = { - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - log_index?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ -export type event_type_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -export type get_entity_history_filter_args = { - end_block?: InputMaybe; - end_chain_id?: InputMaybe; - end_log_index?: InputMaybe; - end_timestamp?: InputMaybe; - start_block?: InputMaybe; - start_chain_id?: InputMaybe; - start_log_index?: InputMaybe; - start_timestamp?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ -export type json_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ -export type numeric_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** column ordering options */ -export type order_by = - /** in ascending order, nulls last */ - | 'asc' - /** in ascending order, nulls first */ - | 'asc_nulls_first' - /** in ascending order, nulls last */ - | 'asc_nulls_last' - /** in descending order, nulls first */ - | 'desc' - /** in descending order, nulls first */ - | 'desc_nulls_first' - /** in descending order, nulls last */ - | 'desc_nulls_last'; - -/** columns and relationships of "persisted_state" */ -export type persisted_state = { - abi_files_hash: Scalars['String']; - config_hash: Scalars['String']; - envio_version: Scalars['String']; - handler_files_hash: Scalars['String']; - id: Scalars['Int']; - schema_hash: Scalars['String']; -}; - -/** Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. */ -export type persisted_state_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; -}; - -/** Ordering options when selecting data from "persisted_state". */ -export type persisted_state_order_by = { - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; -}; - -/** select columns of table "persisted_state" */ -export type persisted_state_select_column = - /** column name */ - | 'abi_files_hash' - /** column name */ - | 'config_hash' - /** column name */ - | 'envio_version' - /** column name */ - | 'handler_files_hash' - /** column name */ - | 'id' - /** column name */ - | 'schema_hash'; - -/** Streaming cursor of the table "persisted_state" */ -export type persisted_state_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: persisted_state_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type persisted_state_stream_cursor_value_input = { - abi_files_hash?: InputMaybe; - config_hash?: InputMaybe; - envio_version?: InputMaybe; - handler_files_hash?: InputMaybe; - id?: InputMaybe; - schema_hash?: InputMaybe; -}; - -/** columns and relationships of "raw_events" */ -export type raw_events = { - block_hash: Scalars['String']; - block_number: Scalars['Int']; - block_timestamp: Scalars['Int']; - chain_id: Scalars['Int']; - db_write_timestamp?: Maybe; - /** An array relationship */ - event_history: Array; - event_id: Scalars['numeric']; - event_type: Scalars['event_type']; - log_index: Scalars['Int']; - params: Scalars['json']; - src_address: Scalars['String']; - transaction_hash: Scalars['String']; - transaction_index: Scalars['Int']; -}; - - -/** columns and relationships of "raw_events" */ -export type raw_eventsevent_historyArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; -}; - - -/** columns and relationships of "raw_events" */ -export type raw_eventsparamsArgs = { - path?: InputMaybe; -}; - -/** Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. */ -export type raw_events_bool_exp = { - _and?: InputMaybe>; - _not?: InputMaybe; - _or?: InputMaybe>; - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_history?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** Ordering options when selecting data from "raw_events". */ -export type raw_events_order_by = { - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_history_aggregate?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** select columns of table "raw_events" */ -export type raw_events_select_column = - /** column name */ - | 'block_hash' - /** column name */ - | 'block_number' - /** column name */ - | 'block_timestamp' - /** column name */ - | 'chain_id' - /** column name */ - | 'db_write_timestamp' - /** column name */ - | 'event_id' - /** column name */ - | 'event_type' - /** column name */ - | 'log_index' - /** column name */ - | 'params' - /** column name */ - | 'src_address' - /** column name */ - | 'transaction_hash' - /** column name */ - | 'transaction_index'; - -/** Streaming cursor of the table "raw_events" */ -export type raw_events_stream_cursor_input = { - /** Stream column input with initial value */ - initial_value: raw_events_stream_cursor_value_input; - /** cursor ordering */ - ordering?: InputMaybe; -}; - -/** Initial value of the column from where the streaming should start */ -export type raw_events_stream_cursor_value_input = { - block_hash?: InputMaybe; - block_number?: InputMaybe; - block_timestamp?: InputMaybe; - chain_id?: InputMaybe; - db_write_timestamp?: InputMaybe; - event_id?: InputMaybe; - event_type?: InputMaybe; - log_index?: InputMaybe; - params?: InputMaybe; - src_address?: InputMaybe; - transaction_hash?: InputMaybe; - transaction_index?: InputMaybe; -}; - -/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ -export type timestamp_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ -export type timestamptz_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -export type Aggregation_interval = - | 'hour' - | 'day'; - -export type ApplicationHistory = { - id: Scalars['ID']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; -}; - -export type ApplicationHistory_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type ApplicationHistory_orderBy = - | 'id' - | 'grantApplicationBytes' - | 'applicationSubmitted'; - -export type BlockChangedFilter = { - number_gte: Scalars['Int']; -}; - -export type Block_height = { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; -}; - -export type FeedItem = { - id: Scalars['ID']; - timestamp?: Maybe; - content: Scalars['String']; - sender: Scalars['Bytes']; - tag: Scalars['String']; - subjectMetadataPointer: Scalars['String']; - subjectId: Scalars['ID']; - objectId?: Maybe; - subject: FeedItemEntity; - object?: Maybe; - embed?: Maybe; - details?: Maybe; -}; - -export type FeedItemEmbed = { - id: Scalars['ID']; - key?: Maybe; - pointer?: Maybe; - protocol?: Maybe; - content?: Maybe; -}; - -export type FeedItemEmbed_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - key?: InputMaybe; - key_not?: InputMaybe; - key_gt?: InputMaybe; - key_lt?: InputMaybe; - key_gte?: InputMaybe; - key_lte?: InputMaybe; - key_in?: InputMaybe>; - key_not_in?: InputMaybe>; - key_contains?: InputMaybe; - key_contains_nocase?: InputMaybe; - key_not_contains?: InputMaybe; - key_not_contains_nocase?: InputMaybe; - key_starts_with?: InputMaybe; - key_starts_with_nocase?: InputMaybe; - key_not_starts_with?: InputMaybe; - key_not_starts_with_nocase?: InputMaybe; - key_ends_with?: InputMaybe; - key_ends_with_nocase?: InputMaybe; - key_not_ends_with?: InputMaybe; - key_not_ends_with_nocase?: InputMaybe; - pointer?: InputMaybe; - pointer_not?: InputMaybe; - pointer_gt?: InputMaybe; - pointer_lt?: InputMaybe; - pointer_gte?: InputMaybe; - pointer_lte?: InputMaybe; - pointer_in?: InputMaybe>; - pointer_not_in?: InputMaybe>; - pointer_contains?: InputMaybe; - pointer_contains_nocase?: InputMaybe; - pointer_not_contains?: InputMaybe; - pointer_not_contains_nocase?: InputMaybe; - pointer_starts_with?: InputMaybe; - pointer_starts_with_nocase?: InputMaybe; - pointer_not_starts_with?: InputMaybe; - pointer_not_starts_with_nocase?: InputMaybe; - pointer_ends_with?: InputMaybe; - pointer_ends_with_nocase?: InputMaybe; - pointer_not_ends_with?: InputMaybe; - pointer_not_ends_with_nocase?: InputMaybe; - protocol?: InputMaybe; - protocol_not?: InputMaybe; - protocol_gt?: InputMaybe; - protocol_lt?: InputMaybe; - protocol_gte?: InputMaybe; - protocol_lte?: InputMaybe; - protocol_in?: InputMaybe>; - protocol_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type FeedItemEmbed_orderBy = - | 'id' - | 'key' - | 'pointer' - | 'protocol' - | 'content'; - -export type FeedItemEntity = { - id: Scalars['ID']; - name: Scalars['String']; - type: Scalars['String']; -}; - -export type FeedItemEntity_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type FeedItemEntity_orderBy = - | 'id' - | 'name' - | 'type'; - -export type FeedItem_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - sender?: InputMaybe; - sender_not?: InputMaybe; - sender_gt?: InputMaybe; - sender_lt?: InputMaybe; - sender_gte?: InputMaybe; - sender_lte?: InputMaybe; - sender_in?: InputMaybe>; - sender_not_in?: InputMaybe>; - sender_contains?: InputMaybe; - sender_not_contains?: InputMaybe; - tag?: InputMaybe; - tag_not?: InputMaybe; - tag_gt?: InputMaybe; - tag_lt?: InputMaybe; - tag_gte?: InputMaybe; - tag_lte?: InputMaybe; - tag_in?: InputMaybe>; - tag_not_in?: InputMaybe>; - tag_contains?: InputMaybe; - tag_contains_nocase?: InputMaybe; - tag_not_contains?: InputMaybe; - tag_not_contains_nocase?: InputMaybe; - tag_starts_with?: InputMaybe; - tag_starts_with_nocase?: InputMaybe; - tag_not_starts_with?: InputMaybe; - tag_not_starts_with_nocase?: InputMaybe; - tag_ends_with?: InputMaybe; - tag_ends_with_nocase?: InputMaybe; - tag_not_ends_with?: InputMaybe; - tag_not_ends_with_nocase?: InputMaybe; - subjectMetadataPointer?: InputMaybe; - subjectMetadataPointer_not?: InputMaybe; - subjectMetadataPointer_gt?: InputMaybe; - subjectMetadataPointer_lt?: InputMaybe; - subjectMetadataPointer_gte?: InputMaybe; - subjectMetadataPointer_lte?: InputMaybe; - subjectMetadataPointer_in?: InputMaybe>; - subjectMetadataPointer_not_in?: InputMaybe>; - subjectMetadataPointer_contains?: InputMaybe; - subjectMetadataPointer_contains_nocase?: InputMaybe; - subjectMetadataPointer_not_contains?: InputMaybe; - subjectMetadataPointer_not_contains_nocase?: InputMaybe; - subjectMetadataPointer_starts_with?: InputMaybe; - subjectMetadataPointer_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_not_starts_with?: InputMaybe; - subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_ends_with?: InputMaybe; - subjectMetadataPointer_ends_with_nocase?: InputMaybe; - subjectMetadataPointer_not_ends_with?: InputMaybe; - subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; - subjectId?: InputMaybe; - subjectId_not?: InputMaybe; - subjectId_gt?: InputMaybe; - subjectId_lt?: InputMaybe; - subjectId_gte?: InputMaybe; - subjectId_lte?: InputMaybe; - subjectId_in?: InputMaybe>; - subjectId_not_in?: InputMaybe>; - objectId?: InputMaybe; - objectId_not?: InputMaybe; - objectId_gt?: InputMaybe; - objectId_lt?: InputMaybe; - objectId_gte?: InputMaybe; - objectId_lte?: InputMaybe; - objectId_in?: InputMaybe>; - objectId_not_in?: InputMaybe>; - subject?: InputMaybe; - subject_not?: InputMaybe; - subject_gt?: InputMaybe; - subject_lt?: InputMaybe; - subject_gte?: InputMaybe; - subject_lte?: InputMaybe; - subject_in?: InputMaybe>; - subject_not_in?: InputMaybe>; - subject_contains?: InputMaybe; - subject_contains_nocase?: InputMaybe; - subject_not_contains?: InputMaybe; - subject_not_contains_nocase?: InputMaybe; - subject_starts_with?: InputMaybe; - subject_starts_with_nocase?: InputMaybe; - subject_not_starts_with?: InputMaybe; - subject_not_starts_with_nocase?: InputMaybe; - subject_ends_with?: InputMaybe; - subject_ends_with_nocase?: InputMaybe; - subject_not_ends_with?: InputMaybe; - subject_not_ends_with_nocase?: InputMaybe; - subject_?: InputMaybe; - object?: InputMaybe; - object_not?: InputMaybe; - object_gt?: InputMaybe; - object_lt?: InputMaybe; - object_gte?: InputMaybe; - object_lte?: InputMaybe; - object_in?: InputMaybe>; - object_not_in?: InputMaybe>; - object_contains?: InputMaybe; - object_contains_nocase?: InputMaybe; - object_not_contains?: InputMaybe; - object_not_contains_nocase?: InputMaybe; - object_starts_with?: InputMaybe; - object_starts_with_nocase?: InputMaybe; - object_not_starts_with?: InputMaybe; - object_not_starts_with_nocase?: InputMaybe; - object_ends_with?: InputMaybe; - object_ends_with_nocase?: InputMaybe; - object_not_ends_with?: InputMaybe; - object_not_ends_with_nocase?: InputMaybe; - object_?: InputMaybe; - embed?: InputMaybe; - embed_not?: InputMaybe; - embed_gt?: InputMaybe; - embed_lt?: InputMaybe; - embed_gte?: InputMaybe; - embed_lte?: InputMaybe; - embed_in?: InputMaybe>; - embed_not_in?: InputMaybe>; - embed_contains?: InputMaybe; - embed_contains_nocase?: InputMaybe; - embed_not_contains?: InputMaybe; - embed_not_contains_nocase?: InputMaybe; - embed_starts_with?: InputMaybe; - embed_starts_with_nocase?: InputMaybe; - embed_not_starts_with?: InputMaybe; - embed_not_starts_with_nocase?: InputMaybe; - embed_ends_with?: InputMaybe; - embed_ends_with_nocase?: InputMaybe; - embed_not_ends_with?: InputMaybe; - embed_not_ends_with_nocase?: InputMaybe; - embed_?: InputMaybe; - details?: InputMaybe; - details_not?: InputMaybe; - details_gt?: InputMaybe; - details_lt?: InputMaybe; - details_gte?: InputMaybe; - details_lte?: InputMaybe; - details_in?: InputMaybe>; - details_not_in?: InputMaybe>; - details_contains?: InputMaybe; - details_contains_nocase?: InputMaybe; - details_not_contains?: InputMaybe; - details_not_contains_nocase?: InputMaybe; - details_starts_with?: InputMaybe; - details_starts_with_nocase?: InputMaybe; - details_not_starts_with?: InputMaybe; - details_not_starts_with_nocase?: InputMaybe; - details_ends_with?: InputMaybe; - details_ends_with_nocase?: InputMaybe; - details_not_ends_with?: InputMaybe; - details_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; - -export type FeedItem_orderBy = - | 'id' - | 'timestamp' - | 'content' - | 'sender' - | 'tag' - | 'subjectMetadataPointer' - | 'subjectId' - | 'objectId' - | 'subject' - | 'subject__id' - | 'subject__name' - | 'subject__type' - | 'object' - | 'object__id' - | 'object__name' - | 'object__type' - | 'embed' - | 'embed__id' - | 'embed__key' - | 'embed__pointer' - | 'embed__protocol' - | 'embed__content' - | 'details'; - -export type GameManager = { - id: Scalars['Bytes']; - poolId: Scalars['BigInt']; - gameFacilitatorId: Scalars['BigInt']; - rootAccount: Scalars['Bytes']; - tokenAddress: Scalars['Bytes']; - currentRoundId: Scalars['BigInt']; - currentRound?: Maybe; - poolFunds: Scalars['BigInt']; -}; - -export type GameManager_filter = { +export type GrantShip_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5183,6 +3038,264 @@ export type GameManager_filter = { id_not_in?: InputMaybe>; id_contains?: InputMaybe; id_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + nonce?: InputMaybe; + nonce_not?: InputMaybe; + nonce_gt?: InputMaybe; + nonce_lt?: InputMaybe; + nonce_gte?: InputMaybe; + nonce_lte?: InputMaybe; + nonce_in?: InputMaybe>; + nonce_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + profileMetadata?: InputMaybe; + profileMetadata_not?: InputMaybe; + profileMetadata_gt?: InputMaybe; + profileMetadata_lt?: InputMaybe; + profileMetadata_gte?: InputMaybe; + profileMetadata_lte?: InputMaybe; + profileMetadata_in?: InputMaybe>; + profileMetadata_not_in?: InputMaybe>; + profileMetadata_contains?: InputMaybe; + profileMetadata_contains_nocase?: InputMaybe; + profileMetadata_not_contains?: InputMaybe; + profileMetadata_not_contains_nocase?: InputMaybe; + profileMetadata_starts_with?: InputMaybe; + profileMetadata_starts_with_nocase?: InputMaybe; + profileMetadata_not_starts_with?: InputMaybe; + profileMetadata_not_starts_with_nocase?: InputMaybe; + profileMetadata_ends_with?: InputMaybe; + profileMetadata_ends_with_nocase?: InputMaybe; + profileMetadata_not_ends_with?: InputMaybe; + profileMetadata_not_ends_with_nocase?: InputMaybe; + profileMetadata_?: InputMaybe; + owner?: InputMaybe; + owner_not?: InputMaybe; + owner_gt?: InputMaybe; + owner_lt?: InputMaybe; + owner_gte?: InputMaybe; + owner_lte?: InputMaybe; + owner_in?: InputMaybe>; + owner_not_in?: InputMaybe>; + owner_contains?: InputMaybe; + owner_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + blockTimestamp?: InputMaybe; + blockTimestamp_not?: InputMaybe; + blockTimestamp_gt?: InputMaybe; + blockTimestamp_lt?: InputMaybe; + blockTimestamp_gte?: InputMaybe; + blockTimestamp_lte?: InputMaybe; + blockTimestamp_in?: InputMaybe>; + blockTimestamp_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + poolFunded?: InputMaybe; + poolFunded_not?: InputMaybe; + poolFunded_in?: InputMaybe>; + poolFunded_not_in?: InputMaybe>; + balance?: InputMaybe; + balance_not?: InputMaybe; + balance_gt?: InputMaybe; + balance_lt?: InputMaybe; + balance_gte?: InputMaybe; + balance_lte?: InputMaybe; + balance_in?: InputMaybe>; + balance_not_in?: InputMaybe>; + shipAllocation?: InputMaybe; + shipAllocation_not?: InputMaybe; + shipAllocation_gt?: InputMaybe; + shipAllocation_lt?: InputMaybe; + shipAllocation_gte?: InputMaybe; + shipAllocation_lte?: InputMaybe; + shipAllocation_in?: InputMaybe>; + shipAllocation_not_in?: InputMaybe>; + totalAvailableFunds?: InputMaybe; + totalAvailableFunds_not?: InputMaybe; + totalAvailableFunds_gt?: InputMaybe; + totalAvailableFunds_lt?: InputMaybe; + totalAvailableFunds_gte?: InputMaybe; + totalAvailableFunds_lte?: InputMaybe; + totalAvailableFunds_in?: InputMaybe>; + totalAvailableFunds_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocated?: InputMaybe; + totalAllocated_not?: InputMaybe; + totalAllocated_gt?: InputMaybe; + totalAllocated_lt?: InputMaybe; + totalAllocated_gte?: InputMaybe; + totalAllocated_lte?: InputMaybe; + totalAllocated_in?: InputMaybe>; + totalAllocated_not_in?: InputMaybe>; + totalDistributed?: InputMaybe; + totalDistributed_not?: InputMaybe; + totalDistributed_gt?: InputMaybe; + totalDistributed_lt?: InputMaybe; + totalDistributed_gte?: InputMaybe; + totalDistributed_lte?: InputMaybe; + totalDistributed_in?: InputMaybe>; + totalDistributed_not_in?: InputMaybe>; + grants_?: InputMaybe; + alloProfileMembers?: InputMaybe; + alloProfileMembers_not?: InputMaybe; + alloProfileMembers_gt?: InputMaybe; + alloProfileMembers_lt?: InputMaybe; + alloProfileMembers_gte?: InputMaybe; + alloProfileMembers_lte?: InputMaybe; + alloProfileMembers_in?: InputMaybe>; + alloProfileMembers_not_in?: InputMaybe>; + alloProfileMembers_contains?: InputMaybe; + alloProfileMembers_contains_nocase?: InputMaybe; + alloProfileMembers_not_contains?: InputMaybe; + alloProfileMembers_not_contains_nocase?: InputMaybe; + alloProfileMembers_starts_with?: InputMaybe; + alloProfileMembers_starts_with_nocase?: InputMaybe; + alloProfileMembers_not_starts_with?: InputMaybe; + alloProfileMembers_not_starts_with_nocase?: InputMaybe; + alloProfileMembers_ends_with?: InputMaybe; + alloProfileMembers_ends_with_nocase?: InputMaybe; + alloProfileMembers_not_ends_with?: InputMaybe; + alloProfileMembers_not_ends_with_nocase?: InputMaybe; + alloProfileMembers_?: InputMaybe; + shipApplicationBytesData?: InputMaybe; + shipApplicationBytesData_not?: InputMaybe; + shipApplicationBytesData_gt?: InputMaybe; + shipApplicationBytesData_lt?: InputMaybe; + shipApplicationBytesData_gte?: InputMaybe; + shipApplicationBytesData_lte?: InputMaybe; + shipApplicationBytesData_in?: InputMaybe>; + shipApplicationBytesData_not_in?: InputMaybe>; + shipApplicationBytesData_contains?: InputMaybe; + shipApplicationBytesData_not_contains?: InputMaybe; + applicationSubmittedTime?: InputMaybe; + applicationSubmittedTime_not?: InputMaybe; + applicationSubmittedTime_gt?: InputMaybe; + applicationSubmittedTime_lt?: InputMaybe; + applicationSubmittedTime_gte?: InputMaybe; + applicationSubmittedTime_lte?: InputMaybe; + applicationSubmittedTime_in?: InputMaybe>; + applicationSubmittedTime_not_in?: InputMaybe>; + isAwaitingApproval?: InputMaybe; + isAwaitingApproval_not?: InputMaybe; + isAwaitingApproval_in?: InputMaybe>; + isAwaitingApproval_not_in?: InputMaybe>; + hasSubmittedApplication?: InputMaybe; + hasSubmittedApplication_not?: InputMaybe; + hasSubmittedApplication_in?: InputMaybe>; + hasSubmittedApplication_not_in?: InputMaybe>; + isApproved?: InputMaybe; + isApproved_not?: InputMaybe; + isApproved_in?: InputMaybe>; + isApproved_not_in?: InputMaybe>; + approvedTime?: InputMaybe; + approvedTime_not?: InputMaybe; + approvedTime_gt?: InputMaybe; + approvedTime_lt?: InputMaybe; + approvedTime_gte?: InputMaybe; + approvedTime_lte?: InputMaybe; + approvedTime_in?: InputMaybe>; + approvedTime_not_in?: InputMaybe>; + isRejected?: InputMaybe; + isRejected_not?: InputMaybe; + isRejected_in?: InputMaybe>; + isRejected_not_in?: InputMaybe>; + rejectedTime?: InputMaybe; + rejectedTime_not?: InputMaybe; + rejectedTime_gt?: InputMaybe; + rejectedTime_lt?: InputMaybe; + rejectedTime_gte?: InputMaybe; + rejectedTime_lte?: InputMaybe; + rejectedTime_in?: InputMaybe>; + rejectedTime_not_in?: InputMaybe>; + applicationReviewReason?: InputMaybe; + applicationReviewReason_not?: InputMaybe; + applicationReviewReason_gt?: InputMaybe; + applicationReviewReason_lt?: InputMaybe; + applicationReviewReason_gte?: InputMaybe; + applicationReviewReason_lte?: InputMaybe; + applicationReviewReason_in?: InputMaybe>; + applicationReviewReason_not_in?: InputMaybe>; + applicationReviewReason_contains?: InputMaybe; + applicationReviewReason_contains_nocase?: InputMaybe; + applicationReviewReason_not_contains?: InputMaybe; + applicationReviewReason_not_contains_nocase?: InputMaybe; + applicationReviewReason_starts_with?: InputMaybe; + applicationReviewReason_starts_with_nocase?: InputMaybe; + applicationReviewReason_not_starts_with?: InputMaybe; + applicationReviewReason_not_starts_with_nocase?: InputMaybe; + applicationReviewReason_ends_with?: InputMaybe; + applicationReviewReason_ends_with_nocase?: InputMaybe; + applicationReviewReason_not_ends_with?: InputMaybe; + applicationReviewReason_not_ends_with_nocase?: InputMaybe; + applicationReviewReason_?: InputMaybe; poolId?: InputMaybe; poolId_not?: InputMaybe; poolId_gt?: InputMaybe; @@ -5191,121 +3304,437 @@ export type GameManager_filter = { poolId_lte?: InputMaybe; poolId_in?: InputMaybe>; poolId_not_in?: InputMaybe>; - gameFacilitatorId?: InputMaybe; - gameFacilitatorId_not?: InputMaybe; - gameFacilitatorId_gt?: InputMaybe; - gameFacilitatorId_lt?: InputMaybe; - gameFacilitatorId_gte?: InputMaybe; - gameFacilitatorId_lte?: InputMaybe; - gameFacilitatorId_in?: InputMaybe>; - gameFacilitatorId_not_in?: InputMaybe>; - rootAccount?: InputMaybe; - rootAccount_not?: InputMaybe; - rootAccount_gt?: InputMaybe; - rootAccount_lt?: InputMaybe; - rootAccount_gte?: InputMaybe; - rootAccount_lte?: InputMaybe; - rootAccount_in?: InputMaybe>; - rootAccount_not_in?: InputMaybe>; - rootAccount_contains?: InputMaybe; - rootAccount_not_contains?: InputMaybe; - tokenAddress?: InputMaybe; - tokenAddress_not?: InputMaybe; - tokenAddress_gt?: InputMaybe; - tokenAddress_lt?: InputMaybe; - tokenAddress_gte?: InputMaybe; - tokenAddress_lte?: InputMaybe; - tokenAddress_in?: InputMaybe>; - tokenAddress_not_in?: InputMaybe>; - tokenAddress_contains?: InputMaybe; - tokenAddress_not_contains?: InputMaybe; - currentRoundId?: InputMaybe; - currentRoundId_not?: InputMaybe; - currentRoundId_gt?: InputMaybe; - currentRoundId_lt?: InputMaybe; - currentRoundId_gte?: InputMaybe; - currentRoundId_lte?: InputMaybe; - currentRoundId_in?: InputMaybe>; - currentRoundId_not_in?: InputMaybe>; - currentRound?: InputMaybe; - currentRound_not?: InputMaybe; - currentRound_gt?: InputMaybe; - currentRound_lt?: InputMaybe; - currentRound_gte?: InputMaybe; - currentRound_lte?: InputMaybe; - currentRound_in?: InputMaybe>; - currentRound_not_in?: InputMaybe>; - currentRound_contains?: InputMaybe; - currentRound_contains_nocase?: InputMaybe; - currentRound_not_contains?: InputMaybe; - currentRound_not_contains_nocase?: InputMaybe; - currentRound_starts_with?: InputMaybe; - currentRound_starts_with_nocase?: InputMaybe; - currentRound_not_starts_with?: InputMaybe; - currentRound_not_starts_with_nocase?: InputMaybe; - currentRound_ends_with?: InputMaybe; - currentRound_ends_with_nocase?: InputMaybe; - currentRound_not_ends_with?: InputMaybe; - currentRound_not_ends_with_nocase?: InputMaybe; - currentRound_?: InputMaybe; - poolFunds?: InputMaybe; - poolFunds_not?: InputMaybe; - poolFunds_gt?: InputMaybe; - poolFunds_lt?: InputMaybe; - poolFunds_gte?: InputMaybe; - poolFunds_lte?: InputMaybe; - poolFunds_in?: InputMaybe>; - poolFunds_not_in?: InputMaybe>; + hatId?: InputMaybe; + hatId_not?: InputMaybe; + hatId_gt?: InputMaybe; + hatId_lt?: InputMaybe; + hatId_gte?: InputMaybe; + hatId_lte?: InputMaybe; + hatId_in?: InputMaybe>; + hatId_not_in?: InputMaybe>; + hatId_contains?: InputMaybe; + hatId_contains_nocase?: InputMaybe; + hatId_not_contains?: InputMaybe; + hatId_not_contains_nocase?: InputMaybe; + hatId_starts_with?: InputMaybe; + hatId_starts_with_nocase?: InputMaybe; + hatId_not_starts_with?: InputMaybe; + hatId_not_starts_with_nocase?: InputMaybe; + hatId_ends_with?: InputMaybe; + hatId_ends_with_nocase?: InputMaybe; + hatId_not_ends_with?: InputMaybe; + hatId_not_ends_with_nocase?: InputMaybe; + shipContractAddress?: InputMaybe; + shipContractAddress_not?: InputMaybe; + shipContractAddress_gt?: InputMaybe; + shipContractAddress_lt?: InputMaybe; + shipContractAddress_gte?: InputMaybe; + shipContractAddress_lte?: InputMaybe; + shipContractAddress_in?: InputMaybe>; + shipContractAddress_not_in?: InputMaybe>; + shipContractAddress_contains?: InputMaybe; + shipContractAddress_not_contains?: InputMaybe; + shipLaunched?: InputMaybe; + shipLaunched_not?: InputMaybe; + shipLaunched_in?: InputMaybe>; + shipLaunched_not_in?: InputMaybe>; + poolActive?: InputMaybe; + poolActive_not?: InputMaybe; + poolActive_in?: InputMaybe>; + poolActive_not_in?: InputMaybe>; + isAllocated?: InputMaybe; + isAllocated_not?: InputMaybe; + isAllocated_in?: InputMaybe>; + isAllocated_not_in?: InputMaybe>; + isDistributed?: InputMaybe; + isDistributed_not?: InputMaybe; + isDistributed_in?: InputMaybe>; + isDistributed_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GrantShip_orderBy = + | 'id' + | 'profileId' + | 'nonce' + | 'name' + | 'profileMetadata' + | 'profileMetadata__id' + | 'profileMetadata__protocol' + | 'profileMetadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'status' + | 'poolFunded' + | 'balance' + | 'shipAllocation' + | 'totalAvailableFunds' + | 'totalRoundAmount' + | 'totalAllocated' + | 'totalDistributed' + | 'grants' + | 'alloProfileMembers' + | 'alloProfileMembers__id' + | 'shipApplicationBytesData' + | 'applicationSubmittedTime' + | 'isAwaitingApproval' + | 'hasSubmittedApplication' + | 'isApproved' + | 'approvedTime' + | 'isRejected' + | 'rejectedTime' + | 'applicationReviewReason' + | 'applicationReviewReason__id' + | 'applicationReviewReason__protocol' + | 'applicationReviewReason__pointer' + | 'poolId' + | 'hatId' + | 'shipContractAddress' + | 'shipLaunched' + | 'poolActive' + | 'isAllocated' + | 'isDistributed'; + +export type Grant_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + projectId?: InputMaybe; + projectId_not?: InputMaybe; + projectId_gt?: InputMaybe; + projectId_lt?: InputMaybe; + projectId_gte?: InputMaybe; + projectId_lte?: InputMaybe; + projectId_in?: InputMaybe>; + projectId_not_in?: InputMaybe>; + projectId_contains?: InputMaybe; + projectId_contains_nocase?: InputMaybe; + projectId_not_contains?: InputMaybe; + projectId_not_contains_nocase?: InputMaybe; + projectId_starts_with?: InputMaybe; + projectId_starts_with_nocase?: InputMaybe; + projectId_not_starts_with?: InputMaybe; + projectId_not_starts_with_nocase?: InputMaybe; + projectId_ends_with?: InputMaybe; + projectId_ends_with_nocase?: InputMaybe; + projectId_not_ends_with?: InputMaybe; + projectId_not_ends_with_nocase?: InputMaybe; + projectId_?: InputMaybe; + shipId?: InputMaybe; + shipId_not?: InputMaybe; + shipId_gt?: InputMaybe; + shipId_lt?: InputMaybe; + shipId_gte?: InputMaybe; + shipId_lte?: InputMaybe; + shipId_in?: InputMaybe>; + shipId_not_in?: InputMaybe>; + shipId_contains?: InputMaybe; + shipId_contains_nocase?: InputMaybe; + shipId_not_contains?: InputMaybe; + shipId_not_contains_nocase?: InputMaybe; + shipId_starts_with?: InputMaybe; + shipId_starts_with_nocase?: InputMaybe; + shipId_not_starts_with?: InputMaybe; + shipId_not_starts_with_nocase?: InputMaybe; + shipId_ends_with?: InputMaybe; + shipId_ends_with_nocase?: InputMaybe; + shipId_not_ends_with?: InputMaybe; + shipId_not_ends_with_nocase?: InputMaybe; + shipId_?: InputMaybe; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + hasResubmitted?: InputMaybe; + hasResubmitted_not?: InputMaybe; + hasResubmitted_in?: InputMaybe>; + hasResubmitted_not_in?: InputMaybe>; + grantStatus?: InputMaybe; + grantStatus_not?: InputMaybe; + grantStatus_gt?: InputMaybe; + grantStatus_lt?: InputMaybe; + grantStatus_gte?: InputMaybe; + grantStatus_lte?: InputMaybe; + grantStatus_in?: InputMaybe>; + grantStatus_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + currentMilestoneIndex?: InputMaybe; + currentMilestoneIndex_not?: InputMaybe; + currentMilestoneIndex_gt?: InputMaybe; + currentMilestoneIndex_lt?: InputMaybe; + currentMilestoneIndex_gte?: InputMaybe; + currentMilestoneIndex_lte?: InputMaybe; + currentMilestoneIndex_in?: InputMaybe>; + currentMilestoneIndex_not_in?: InputMaybe>; + milestonesAmount?: InputMaybe; + milestonesAmount_not?: InputMaybe; + milestonesAmount_gt?: InputMaybe; + milestonesAmount_lt?: InputMaybe; + milestonesAmount_gte?: InputMaybe; + milestonesAmount_lte?: InputMaybe; + milestonesAmount_in?: InputMaybe>; + milestonesAmount_not_in?: InputMaybe>; + milestones?: InputMaybe>; + milestones_not?: InputMaybe>; + milestones_contains?: InputMaybe>; + milestones_contains_nocase?: InputMaybe>; + milestones_not_contains?: InputMaybe>; + milestones_not_contains_nocase?: InputMaybe>; + milestones_?: InputMaybe; + shipApprovalReason?: InputMaybe; + shipApprovalReason_not?: InputMaybe; + shipApprovalReason_gt?: InputMaybe; + shipApprovalReason_lt?: InputMaybe; + shipApprovalReason_gte?: InputMaybe; + shipApprovalReason_lte?: InputMaybe; + shipApprovalReason_in?: InputMaybe>; + shipApprovalReason_not_in?: InputMaybe>; + shipApprovalReason_contains?: InputMaybe; + shipApprovalReason_contains_nocase?: InputMaybe; + shipApprovalReason_not_contains?: InputMaybe; + shipApprovalReason_not_contains_nocase?: InputMaybe; + shipApprovalReason_starts_with?: InputMaybe; + shipApprovalReason_starts_with_nocase?: InputMaybe; + shipApprovalReason_not_starts_with?: InputMaybe; + shipApprovalReason_not_starts_with_nocase?: InputMaybe; + shipApprovalReason_ends_with?: InputMaybe; + shipApprovalReason_ends_with_nocase?: InputMaybe; + shipApprovalReason_not_ends_with?: InputMaybe; + shipApprovalReason_not_ends_with_nocase?: InputMaybe; + shipApprovalReason_?: InputMaybe; + hasShipApproved?: InputMaybe; + hasShipApproved_not?: InputMaybe; + hasShipApproved_in?: InputMaybe>; + hasShipApproved_not_in?: InputMaybe>; + amtAllocated?: InputMaybe; + amtAllocated_not?: InputMaybe; + amtAllocated_gt?: InputMaybe; + amtAllocated_lt?: InputMaybe; + amtAllocated_gte?: InputMaybe; + amtAllocated_lte?: InputMaybe; + amtAllocated_in?: InputMaybe>; + amtAllocated_not_in?: InputMaybe>; + amtDistributed?: InputMaybe; + amtDistributed_not?: InputMaybe; + amtDistributed_gt?: InputMaybe; + amtDistributed_lt?: InputMaybe; + amtDistributed_gte?: InputMaybe; + amtDistributed_lte?: InputMaybe; + amtDistributed_in?: InputMaybe>; + amtDistributed_not_in?: InputMaybe>; + allocatedBy?: InputMaybe; + allocatedBy_not?: InputMaybe; + allocatedBy_gt?: InputMaybe; + allocatedBy_lt?: InputMaybe; + allocatedBy_gte?: InputMaybe; + allocatedBy_lte?: InputMaybe; + allocatedBy_in?: InputMaybe>; + allocatedBy_not_in?: InputMaybe>; + allocatedBy_contains?: InputMaybe; + allocatedBy_not_contains?: InputMaybe; + facilitatorReason?: InputMaybe; + facilitatorReason_not?: InputMaybe; + facilitatorReason_gt?: InputMaybe; + facilitatorReason_lt?: InputMaybe; + facilitatorReason_gte?: InputMaybe; + facilitatorReason_lte?: InputMaybe; + facilitatorReason_in?: InputMaybe>; + facilitatorReason_not_in?: InputMaybe>; + facilitatorReason_contains?: InputMaybe; + facilitatorReason_contains_nocase?: InputMaybe; + facilitatorReason_not_contains?: InputMaybe; + facilitatorReason_not_contains_nocase?: InputMaybe; + facilitatorReason_starts_with?: InputMaybe; + facilitatorReason_starts_with_nocase?: InputMaybe; + facilitatorReason_not_starts_with?: InputMaybe; + facilitatorReason_not_starts_with_nocase?: InputMaybe; + facilitatorReason_ends_with?: InputMaybe; + facilitatorReason_ends_with_nocase?: InputMaybe; + facilitatorReason_not_ends_with?: InputMaybe; + facilitatorReason_not_ends_with_nocase?: InputMaybe; + facilitatorReason_?: InputMaybe; + hasFacilitatorApproved?: InputMaybe; + hasFacilitatorApproved_not?: InputMaybe; + hasFacilitatorApproved_in?: InputMaybe>; + hasFacilitatorApproved_not_in?: InputMaybe>; + milestonesApproved?: InputMaybe; + milestonesApproved_not?: InputMaybe; + milestonesApproved_in?: InputMaybe>; + milestonesApproved_not_in?: InputMaybe>; + milestonesApprovedReason?: InputMaybe; + milestonesApprovedReason_not?: InputMaybe; + milestonesApprovedReason_gt?: InputMaybe; + milestonesApprovedReason_lt?: InputMaybe; + milestonesApprovedReason_gte?: InputMaybe; + milestonesApprovedReason_lte?: InputMaybe; + milestonesApprovedReason_in?: InputMaybe>; + milestonesApprovedReason_not_in?: InputMaybe>; + milestonesApprovedReason_contains?: InputMaybe; + milestonesApprovedReason_contains_nocase?: InputMaybe; + milestonesApprovedReason_not_contains?: InputMaybe; + milestonesApprovedReason_not_contains_nocase?: InputMaybe; + milestonesApprovedReason_starts_with?: InputMaybe; + milestonesApprovedReason_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_not_starts_with?: InputMaybe; + milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_ends_with?: InputMaybe; + milestonesApprovedReason_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_not_ends_with?: InputMaybe; + milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_?: InputMaybe; + currentMilestoneRejectedReason?: InputMaybe; + currentMilestoneRejectedReason_not?: InputMaybe; + currentMilestoneRejectedReason_gt?: InputMaybe; + currentMilestoneRejectedReason_lt?: InputMaybe; + currentMilestoneRejectedReason_gte?: InputMaybe; + currentMilestoneRejectedReason_lte?: InputMaybe; + currentMilestoneRejectedReason_in?: InputMaybe>; + currentMilestoneRejectedReason_not_in?: InputMaybe>; + currentMilestoneRejectedReason_contains?: InputMaybe; + currentMilestoneRejectedReason_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_contains?: InputMaybe; + currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_starts_with?: InputMaybe; + currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_ends_with?: InputMaybe; + currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_?: InputMaybe; + resubmitHistory?: InputMaybe>; + resubmitHistory_not?: InputMaybe>; + resubmitHistory_contains?: InputMaybe>; + resubmitHistory_contains_nocase?: InputMaybe>; + resubmitHistory_not_contains?: InputMaybe>; + resubmitHistory_not_contains_nocase?: InputMaybe>; + resubmitHistory_?: InputMaybe; /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type GameManager_orderBy = +export type Grant_orderBy = | 'id' - | 'poolId' - | 'gameFacilitatorId' - | 'rootAccount' - | 'tokenAddress' - | 'currentRoundId' - | 'currentRound' - | 'currentRound__id' - | 'currentRound__startTime' - | 'currentRound__endTime' - | 'currentRound__totalRoundAmount' - | 'currentRound__totalAllocatedAmount' - | 'currentRound__totalDistributedAmount' - | 'currentRound__gameStatus' - | 'currentRound__isGameActive' - | 'currentRound__realStartTime' - | 'currentRound__realEndTime' - | 'poolFunds'; + | 'projectId' + | 'projectId__id' + | 'projectId__profileId' + | 'projectId__status' + | 'projectId__nonce' + | 'projectId__name' + | 'projectId__owner' + | 'projectId__anchor' + | 'projectId__blockNumber' + | 'projectId__blockTimestamp' + | 'projectId__transactionHash' + | 'projectId__totalAmountReceived' + | 'shipId' + | 'shipId__id' + | 'shipId__profileId' + | 'shipId__nonce' + | 'shipId__name' + | 'shipId__owner' + | 'shipId__anchor' + | 'shipId__blockNumber' + | 'shipId__blockTimestamp' + | 'shipId__transactionHash' + | 'shipId__status' + | 'shipId__poolFunded' + | 'shipId__balance' + | 'shipId__shipAllocation' + | 'shipId__totalAvailableFunds' + | 'shipId__totalRoundAmount' + | 'shipId__totalAllocated' + | 'shipId__totalDistributed' + | 'shipId__shipApplicationBytesData' + | 'shipId__applicationSubmittedTime' + | 'shipId__isAwaitingApproval' + | 'shipId__hasSubmittedApplication' + | 'shipId__isApproved' + | 'shipId__approvedTime' + | 'shipId__isRejected' + | 'shipId__rejectedTime' + | 'shipId__poolId' + | 'shipId__hatId' + | 'shipId__shipContractAddress' + | 'shipId__shipLaunched' + | 'shipId__poolActive' + | 'shipId__isAllocated' + | 'shipId__isDistributed' + | 'lastUpdated' + | 'hasResubmitted' + | 'grantStatus' + | 'grantApplicationBytes' + | 'applicationSubmitted' + | 'currentMilestoneIndex' + | 'milestonesAmount' + | 'milestones' + | 'shipApprovalReason' + | 'shipApprovalReason__id' + | 'shipApprovalReason__protocol' + | 'shipApprovalReason__pointer' + | 'hasShipApproved' + | 'amtAllocated' + | 'amtDistributed' + | 'allocatedBy' + | 'facilitatorReason' + | 'facilitatorReason__id' + | 'facilitatorReason__protocol' + | 'facilitatorReason__pointer' + | 'hasFacilitatorApproved' + | 'milestonesApproved' + | 'milestonesApprovedReason' + | 'milestonesApprovedReason__id' + | 'milestonesApprovedReason__protocol' + | 'milestonesApprovedReason__pointer' + | 'currentMilestoneRejectedReason' + | 'currentMilestoneRejectedReason__id' + | 'currentMilestoneRejectedReason__protocol' + | 'currentMilestoneRejectedReason__pointer' + | 'resubmitHistory'; -export type GameRound = { +export type Log = { id: Scalars['ID']; - startTime: Scalars['BigInt']; - endTime: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocatedAmount: Scalars['BigInt']; - totalDistributedAmount: Scalars['BigInt']; - gameStatus: Scalars['Int']; - ships: Array; - isGameActive: Scalars['Boolean']; - realStartTime?: Maybe; - realEndTime?: Maybe; -}; - - -export type GameRoundshipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; + message: Scalars['String']; + description?: Maybe; + type?: Maybe; }; -export type GameRound_filter = { +export type Log_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5314,115 +3743,88 @@ export type GameRound_filter = { id_lte?: InputMaybe; id_in?: InputMaybe>; id_not_in?: InputMaybe>; - startTime?: InputMaybe; - startTime_not?: InputMaybe; - startTime_gt?: InputMaybe; - startTime_lt?: InputMaybe; - startTime_gte?: InputMaybe; - startTime_lte?: InputMaybe; - startTime_in?: InputMaybe>; - startTime_not_in?: InputMaybe>; - endTime?: InputMaybe; - endTime_not?: InputMaybe; - endTime_gt?: InputMaybe; - endTime_lt?: InputMaybe; - endTime_gte?: InputMaybe; - endTime_lte?: InputMaybe; - endTime_in?: InputMaybe>; - endTime_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocatedAmount?: InputMaybe; - totalAllocatedAmount_not?: InputMaybe; - totalAllocatedAmount_gt?: InputMaybe; - totalAllocatedAmount_lt?: InputMaybe; - totalAllocatedAmount_gte?: InputMaybe; - totalAllocatedAmount_lte?: InputMaybe; - totalAllocatedAmount_in?: InputMaybe>; - totalAllocatedAmount_not_in?: InputMaybe>; - totalDistributedAmount?: InputMaybe; - totalDistributedAmount_not?: InputMaybe; - totalDistributedAmount_gt?: InputMaybe; - totalDistributedAmount_lt?: InputMaybe; - totalDistributedAmount_gte?: InputMaybe; - totalDistributedAmount_lte?: InputMaybe; - totalDistributedAmount_in?: InputMaybe>; - totalDistributedAmount_not_in?: InputMaybe>; - gameStatus?: InputMaybe; - gameStatus_not?: InputMaybe; - gameStatus_gt?: InputMaybe; - gameStatus_lt?: InputMaybe; - gameStatus_gte?: InputMaybe; - gameStatus_lte?: InputMaybe; - gameStatus_in?: InputMaybe>; - gameStatus_not_in?: InputMaybe>; - ships?: InputMaybe>; - ships_not?: InputMaybe>; - ships_contains?: InputMaybe>; - ships_contains_nocase?: InputMaybe>; - ships_not_contains?: InputMaybe>; - ships_not_contains_nocase?: InputMaybe>; - ships_?: InputMaybe; - isGameActive?: InputMaybe; - isGameActive_not?: InputMaybe; - isGameActive_in?: InputMaybe>; - isGameActive_not_in?: InputMaybe>; - realStartTime?: InputMaybe; - realStartTime_not?: InputMaybe; - realStartTime_gt?: InputMaybe; - realStartTime_lt?: InputMaybe; - realStartTime_gte?: InputMaybe; - realStartTime_lte?: InputMaybe; - realStartTime_in?: InputMaybe>; - realStartTime_not_in?: InputMaybe>; - realEndTime?: InputMaybe; - realEndTime_not?: InputMaybe; - realEndTime_gt?: InputMaybe; - realEndTime_lt?: InputMaybe; - realEndTime_gte?: InputMaybe; - realEndTime_lte?: InputMaybe; - realEndTime_in?: InputMaybe>; - realEndTime_not_in?: InputMaybe>; + message?: InputMaybe; + message_not?: InputMaybe; + message_gt?: InputMaybe; + message_lt?: InputMaybe; + message_gte?: InputMaybe; + message_lte?: InputMaybe; + message_in?: InputMaybe>; + message_not_in?: InputMaybe>; + message_contains?: InputMaybe; + message_contains_nocase?: InputMaybe; + message_not_contains?: InputMaybe; + message_not_contains_nocase?: InputMaybe; + message_starts_with?: InputMaybe; + message_starts_with_nocase?: InputMaybe; + message_not_starts_with?: InputMaybe; + message_not_starts_with_nocase?: InputMaybe; + message_ends_with?: InputMaybe; + message_ends_with_nocase?: InputMaybe; + message_not_ends_with?: InputMaybe; + message_not_ends_with_nocase?: InputMaybe; + description?: InputMaybe; + description_not?: InputMaybe; + description_gt?: InputMaybe; + description_lt?: InputMaybe; + description_gte?: InputMaybe; + description_lte?: InputMaybe; + description_in?: InputMaybe>; + description_not_in?: InputMaybe>; + description_contains?: InputMaybe; + description_contains_nocase?: InputMaybe; + description_not_contains?: InputMaybe; + description_not_contains_nocase?: InputMaybe; + description_starts_with?: InputMaybe; + description_starts_with_nocase?: InputMaybe; + description_not_starts_with?: InputMaybe; + description_not_starts_with_nocase?: InputMaybe; + description_ends_with?: InputMaybe; + description_ends_with_nocase?: InputMaybe; + description_not_ends_with?: InputMaybe; + description_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type GameRound_orderBy = +export type Log_orderBy = | 'id' - | 'startTime' - | 'endTime' - | 'totalRoundAmount' - | 'totalAllocatedAmount' - | 'totalDistributedAmount' - | 'gameStatus' - | 'ships' - | 'isGameActive' - | 'realStartTime' - | 'realEndTime'; + | 'message' + | 'description' + | 'type'; -export type GmDeployment = { +export type Milestone = { id: Scalars['ID']; - address: Scalars['Bytes']; - version: GmVersion; - blockNumber: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - timestamp: Scalars['BigInt']; - hasPool: Scalars['Boolean']; - poolId?: Maybe; - profileId: Scalars['Bytes']; - poolMetadata: RawMetadata; - poolProfileMetadata: RawMetadata; + amountPercentage: Scalars['Bytes']; + mmetadata: Scalars['BigInt']; + amount: Scalars['BigInt']; + status: Scalars['Int']; + lastUpdated: Scalars['BigInt']; }; -export type GmDeployment_filter = { +export type Milestone_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5431,162 +3833,108 @@ export type GmDeployment_filter = { id_lte?: InputMaybe; id_in?: InputMaybe>; id_not_in?: InputMaybe>; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; - version?: InputMaybe; - version_not?: InputMaybe; - version_gt?: InputMaybe; - version_lt?: InputMaybe; - version_gte?: InputMaybe; - version_lte?: InputMaybe; - version_in?: InputMaybe>; - version_not_in?: InputMaybe>; - version_contains?: InputMaybe; - version_contains_nocase?: InputMaybe; - version_not_contains?: InputMaybe; - version_not_contains_nocase?: InputMaybe; - version_starts_with?: InputMaybe; - version_starts_with_nocase?: InputMaybe; - version_not_starts_with?: InputMaybe; - version_not_starts_with_nocase?: InputMaybe; - version_ends_with?: InputMaybe; - version_ends_with_nocase?: InputMaybe; - version_not_ends_with?: InputMaybe; - version_not_ends_with_nocase?: InputMaybe; - version_?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - hasPool?: InputMaybe; - hasPool_not?: InputMaybe; - hasPool_in?: InputMaybe>; - hasPool_not_in?: InputMaybe>; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - poolMetadata?: InputMaybe; - poolMetadata_not?: InputMaybe; - poolMetadata_gt?: InputMaybe; - poolMetadata_lt?: InputMaybe; - poolMetadata_gte?: InputMaybe; - poolMetadata_lte?: InputMaybe; - poolMetadata_in?: InputMaybe>; - poolMetadata_not_in?: InputMaybe>; - poolMetadata_contains?: InputMaybe; - poolMetadata_contains_nocase?: InputMaybe; - poolMetadata_not_contains?: InputMaybe; - poolMetadata_not_contains_nocase?: InputMaybe; - poolMetadata_starts_with?: InputMaybe; - poolMetadata_starts_with_nocase?: InputMaybe; - poolMetadata_not_starts_with?: InputMaybe; - poolMetadata_not_starts_with_nocase?: InputMaybe; - poolMetadata_ends_with?: InputMaybe; - poolMetadata_ends_with_nocase?: InputMaybe; - poolMetadata_not_ends_with?: InputMaybe; - poolMetadata_not_ends_with_nocase?: InputMaybe; - poolMetadata_?: InputMaybe; - poolProfileMetadata?: InputMaybe; - poolProfileMetadata_not?: InputMaybe; - poolProfileMetadata_gt?: InputMaybe; - poolProfileMetadata_lt?: InputMaybe; - poolProfileMetadata_gte?: InputMaybe; - poolProfileMetadata_lte?: InputMaybe; - poolProfileMetadata_in?: InputMaybe>; - poolProfileMetadata_not_in?: InputMaybe>; - poolProfileMetadata_contains?: InputMaybe; - poolProfileMetadata_contains_nocase?: InputMaybe; - poolProfileMetadata_not_contains?: InputMaybe; - poolProfileMetadata_not_contains_nocase?: InputMaybe; - poolProfileMetadata_starts_with?: InputMaybe; - poolProfileMetadata_starts_with_nocase?: InputMaybe; - poolProfileMetadata_not_starts_with?: InputMaybe; - poolProfileMetadata_not_starts_with_nocase?: InputMaybe; - poolProfileMetadata_ends_with?: InputMaybe; - poolProfileMetadata_ends_with_nocase?: InputMaybe; - poolProfileMetadata_not_ends_with?: InputMaybe; - poolProfileMetadata_not_ends_with_nocase?: InputMaybe; - poolProfileMetadata_?: InputMaybe; + amountPercentage?: InputMaybe; + amountPercentage_not?: InputMaybe; + amountPercentage_gt?: InputMaybe; + amountPercentage_lt?: InputMaybe; + amountPercentage_gte?: InputMaybe; + amountPercentage_lte?: InputMaybe; + amountPercentage_in?: InputMaybe>; + amountPercentage_not_in?: InputMaybe>; + amountPercentage_contains?: InputMaybe; + amountPercentage_not_contains?: InputMaybe; + mmetadata?: InputMaybe; + mmetadata_not?: InputMaybe; + mmetadata_gt?: InputMaybe; + mmetadata_lt?: InputMaybe; + mmetadata_gte?: InputMaybe; + mmetadata_lte?: InputMaybe; + mmetadata_in?: InputMaybe>; + mmetadata_not_in?: InputMaybe>; + amount?: InputMaybe; + amount_not?: InputMaybe; + amount_gt?: InputMaybe; + amount_lt?: InputMaybe; + amount_gte?: InputMaybe; + amount_lte?: InputMaybe; + amount_in?: InputMaybe>; + amount_not_in?: InputMaybe>; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type Milestone_orderBy = + | 'id' + | 'amountPercentage' + | 'mmetadata' + | 'amount' + | 'status' + | 'lastUpdated'; + +/** Defines the order direction, either ascending or descending */ +export type OrderDirection = + | 'asc' + | 'desc'; + +export type PoolIdLookup = { + id: Scalars['ID']; + entityId: Scalars['Bytes']; +}; + +export type PoolIdLookup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + entityId?: InputMaybe; + entityId_not?: InputMaybe; + entityId_gt?: InputMaybe; + entityId_lt?: InputMaybe; + entityId_gte?: InputMaybe; + entityId_lte?: InputMaybe; + entityId_in?: InputMaybe>; + entityId_not_in?: InputMaybe>; + entityId_contains?: InputMaybe; + entityId_not_contains?: InputMaybe; /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type GmDeployment_orderBy = +export type PoolIdLookup_orderBy = | 'id' - | 'address' - | 'version' - | 'version__id' - | 'version__name' - | 'version__address' - | 'blockNumber' - | 'transactionHash' - | 'timestamp' - | 'hasPool' - | 'poolId' - | 'profileId' - | 'poolMetadata' - | 'poolMetadata__id' - | 'poolMetadata__protocol' - | 'poolMetadata__pointer' - | 'poolProfileMetadata' - | 'poolProfileMetadata__id' - | 'poolProfileMetadata__protocol' - | 'poolProfileMetadata__pointer'; + | 'entityId'; -export type GmVersion = { +export type ProfileIdToAnchor = { id: Scalars['ID']; - name: Scalars['String']; - address: Scalars['Bytes']; + profileId: Scalars['Bytes']; + anchor: Scalars['Bytes']; }; -export type GmVersion_filter = { +export type ProfileIdToAnchor_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5595,131 +3943,88 @@ export type GmVersion_filter = { id_lte?: InputMaybe; id_in?: InputMaybe>; id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type GmVersion_orderBy = +export type ProfileIdToAnchor_orderBy = | 'id' - | 'name' - | 'address'; + | 'profileId' + | 'anchor'; -export type Grant = { - id: Scalars['ID']; - projectId: Project; - shipId: GrantShip; - lastUpdated: Scalars['BigInt']; - hasResubmitted: Scalars['Boolean']; - grantStatus: Scalars['Int']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; - currentMilestoneIndex: Scalars['BigInt']; - milestonesAmount: Scalars['BigInt']; - milestones?: Maybe>; - shipApprovalReason?: Maybe; - hasShipApproved?: Maybe; - amtAllocated: Scalars['BigInt']; - amtDistributed: Scalars['BigInt']; - allocatedBy?: Maybe; - facilitatorReason?: Maybe; - hasFacilitatorApproved?: Maybe; - milestonesApproved?: Maybe; - milestonesApprovedReason?: Maybe; - currentMilestoneRejectedReason?: Maybe; - resubmitHistory: Array; +export type ProfileMemberGroup = { + id: Scalars['Bytes']; + addresses?: Maybe>; }; - -export type GrantmilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; +export type ProfileMemberGroup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + addresses?: InputMaybe>; + addresses_not?: InputMaybe>; + addresses_contains?: InputMaybe>; + addresses_contains_nocase?: InputMaybe>; + addresses_not_contains?: InputMaybe>; + addresses_not_contains_nocase?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type ProfileMemberGroup_orderBy = + | 'id' + | 'addresses'; -export type GrantresubmitHistoryArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; -}; - -export type GrantShip = { +export type Project = { id: Scalars['Bytes']; profileId: Scalars['Bytes']; + status: Scalars['Int']; nonce: Scalars['BigInt']; name: Scalars['String']; - profileMetadata: RawMetadata; + metadata: RawMetadata; owner: Scalars['Bytes']; anchor: Scalars['Bytes']; blockNumber: Scalars['BigInt']; blockTimestamp: Scalars['BigInt']; transactionHash: Scalars['Bytes']; - status: Scalars['Int']; - poolFunded: Scalars['Boolean']; - balance: Scalars['BigInt']; - shipAllocation: Scalars['BigInt']; - totalAvailableFunds: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocated: Scalars['BigInt']; - totalDistributed: Scalars['BigInt']; grants: Array; - alloProfileMembers?: Maybe; - shipApplicationBytesData?: Maybe; - applicationSubmittedTime?: Maybe; - isAwaitingApproval?: Maybe; - hasSubmittedApplication?: Maybe; - isApproved?: Maybe; - approvedTime?: Maybe; - isRejected?: Maybe; - rejectedTime?: Maybe; - applicationReviewReason?: Maybe; - poolId?: Maybe; - hatId?: Maybe; - shipContractAddress?: Maybe; - shipLaunched?: Maybe; - poolActive?: Maybe; - isAllocated?: Maybe; - isDistributed?: Maybe; + members?: Maybe; + totalAmountReceived: Scalars['BigInt']; }; -export type GrantShipgrantsArgs = { +export type ProjectgrantsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -5727,7 +4032,7 @@ export type GrantShipgrantsArgs = { where?: InputMaybe; }; -export type GrantShip_filter = { +export type Project_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5748,6 +4053,14 @@ export type GrantShip_filter = { profileId_not_in?: InputMaybe>; profileId_contains?: InputMaybe; profileId_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; nonce?: InputMaybe; nonce_not?: InputMaybe; nonce_gt?: InputMaybe; @@ -5756,47 +4069,47 @@ export type GrantShip_filter = { nonce_lte?: InputMaybe; nonce_in?: InputMaybe>; nonce_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - profileMetadata?: InputMaybe; - profileMetadata_not?: InputMaybe; - profileMetadata_gt?: InputMaybe; - profileMetadata_lt?: InputMaybe; - profileMetadata_gte?: InputMaybe; - profileMetadata_lte?: InputMaybe; - profileMetadata_in?: InputMaybe>; - profileMetadata_not_in?: InputMaybe>; - profileMetadata_contains?: InputMaybe; - profileMetadata_contains_nocase?: InputMaybe; - profileMetadata_not_contains?: InputMaybe; - profileMetadata_not_contains_nocase?: InputMaybe; - profileMetadata_starts_with?: InputMaybe; - profileMetadata_starts_with_nocase?: InputMaybe; - profileMetadata_not_starts_with?: InputMaybe; - profileMetadata_not_starts_with_nocase?: InputMaybe; - profileMetadata_ends_with?: InputMaybe; - profileMetadata_ends_with_nocase?: InputMaybe; - profileMetadata_not_ends_with?: InputMaybe; - profileMetadata_not_ends_with_nocase?: InputMaybe; - profileMetadata_?: InputMaybe; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + metadata?: InputMaybe; + metadata_not?: InputMaybe; + metadata_gt?: InputMaybe; + metadata_lt?: InputMaybe; + metadata_gte?: InputMaybe; + metadata_lte?: InputMaybe; + metadata_in?: InputMaybe>; + metadata_not_in?: InputMaybe>; + metadata_contains?: InputMaybe; + metadata_contains_nocase?: InputMaybe; + metadata_not_contains?: InputMaybe; + metadata_not_contains_nocase?: InputMaybe; + metadata_starts_with?: InputMaybe; + metadata_starts_with_nocase?: InputMaybe; + metadata_not_starts_with?: InputMaybe; + metadata_not_starts_with_nocase?: InputMaybe; + metadata_ends_with?: InputMaybe; + metadata_ends_with_nocase?: InputMaybe; + metadata_not_ends_with?: InputMaybe; + metadata_not_ends_with_nocase?: InputMaybe; + metadata_?: InputMaybe; owner?: InputMaybe; owner_not?: InputMaybe; owner_gt?: InputMaybe; @@ -5843,1351 +4156,3044 @@ export type GrantShip_filter = { transactionHash_not_in?: InputMaybe>; transactionHash_contains?: InputMaybe; transactionHash_not_contains?: InputMaybe; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - poolFunded?: InputMaybe; - poolFunded_not?: InputMaybe; - poolFunded_in?: InputMaybe>; - poolFunded_not_in?: InputMaybe>; - balance?: InputMaybe; - balance_not?: InputMaybe; - balance_gt?: InputMaybe; - balance_lt?: InputMaybe; - balance_gte?: InputMaybe; - balance_lte?: InputMaybe; - balance_in?: InputMaybe>; - balance_not_in?: InputMaybe>; - shipAllocation?: InputMaybe; - shipAllocation_not?: InputMaybe; - shipAllocation_gt?: InputMaybe; - shipAllocation_lt?: InputMaybe; - shipAllocation_gte?: InputMaybe; - shipAllocation_lte?: InputMaybe; - shipAllocation_in?: InputMaybe>; - shipAllocation_not_in?: InputMaybe>; - totalAvailableFunds?: InputMaybe; - totalAvailableFunds_not?: InputMaybe; - totalAvailableFunds_gt?: InputMaybe; - totalAvailableFunds_lt?: InputMaybe; - totalAvailableFunds_gte?: InputMaybe; - totalAvailableFunds_lte?: InputMaybe; - totalAvailableFunds_in?: InputMaybe>; - totalAvailableFunds_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocated?: InputMaybe; - totalAllocated_not?: InputMaybe; - totalAllocated_gt?: InputMaybe; - totalAllocated_lt?: InputMaybe; - totalAllocated_gte?: InputMaybe; - totalAllocated_lte?: InputMaybe; - totalAllocated_in?: InputMaybe>; - totalAllocated_not_in?: InputMaybe>; - totalDistributed?: InputMaybe; - totalDistributed_not?: InputMaybe; - totalDistributed_gt?: InputMaybe; - totalDistributed_lt?: InputMaybe; - totalDistributed_gte?: InputMaybe; - totalDistributed_lte?: InputMaybe; - totalDistributed_in?: InputMaybe>; - totalDistributed_not_in?: InputMaybe>; grants_?: InputMaybe; - alloProfileMembers?: InputMaybe; - alloProfileMembers_not?: InputMaybe; - alloProfileMembers_gt?: InputMaybe; - alloProfileMembers_lt?: InputMaybe; - alloProfileMembers_gte?: InputMaybe; - alloProfileMembers_lte?: InputMaybe; - alloProfileMembers_in?: InputMaybe>; - alloProfileMembers_not_in?: InputMaybe>; - alloProfileMembers_contains?: InputMaybe; - alloProfileMembers_contains_nocase?: InputMaybe; - alloProfileMembers_not_contains?: InputMaybe; - alloProfileMembers_not_contains_nocase?: InputMaybe; - alloProfileMembers_starts_with?: InputMaybe; - alloProfileMembers_starts_with_nocase?: InputMaybe; - alloProfileMembers_not_starts_with?: InputMaybe; - alloProfileMembers_not_starts_with_nocase?: InputMaybe; - alloProfileMembers_ends_with?: InputMaybe; - alloProfileMembers_ends_with_nocase?: InputMaybe; - alloProfileMembers_not_ends_with?: InputMaybe; - alloProfileMembers_not_ends_with_nocase?: InputMaybe; - alloProfileMembers_?: InputMaybe; - shipApplicationBytesData?: InputMaybe; - shipApplicationBytesData_not?: InputMaybe; - shipApplicationBytesData_gt?: InputMaybe; - shipApplicationBytesData_lt?: InputMaybe; - shipApplicationBytesData_gte?: InputMaybe; - shipApplicationBytesData_lte?: InputMaybe; - shipApplicationBytesData_in?: InputMaybe>; - shipApplicationBytesData_not_in?: InputMaybe>; - shipApplicationBytesData_contains?: InputMaybe; - shipApplicationBytesData_not_contains?: InputMaybe; - applicationSubmittedTime?: InputMaybe; - applicationSubmittedTime_not?: InputMaybe; - applicationSubmittedTime_gt?: InputMaybe; - applicationSubmittedTime_lt?: InputMaybe; - applicationSubmittedTime_gte?: InputMaybe; - applicationSubmittedTime_lte?: InputMaybe; - applicationSubmittedTime_in?: InputMaybe>; - applicationSubmittedTime_not_in?: InputMaybe>; - isAwaitingApproval?: InputMaybe; - isAwaitingApproval_not?: InputMaybe; - isAwaitingApproval_in?: InputMaybe>; - isAwaitingApproval_not_in?: InputMaybe>; - hasSubmittedApplication?: InputMaybe; - hasSubmittedApplication_not?: InputMaybe; - hasSubmittedApplication_in?: InputMaybe>; - hasSubmittedApplication_not_in?: InputMaybe>; - isApproved?: InputMaybe; - isApproved_not?: InputMaybe; - isApproved_in?: InputMaybe>; - isApproved_not_in?: InputMaybe>; - approvedTime?: InputMaybe; - approvedTime_not?: InputMaybe; - approvedTime_gt?: InputMaybe; - approvedTime_lt?: InputMaybe; - approvedTime_gte?: InputMaybe; - approvedTime_lte?: InputMaybe; - approvedTime_in?: InputMaybe>; - approvedTime_not_in?: InputMaybe>; - isRejected?: InputMaybe; - isRejected_not?: InputMaybe; - isRejected_in?: InputMaybe>; - isRejected_not_in?: InputMaybe>; - rejectedTime?: InputMaybe; - rejectedTime_not?: InputMaybe; - rejectedTime_gt?: InputMaybe; - rejectedTime_lt?: InputMaybe; - rejectedTime_gte?: InputMaybe; - rejectedTime_lte?: InputMaybe; - rejectedTime_in?: InputMaybe>; - rejectedTime_not_in?: InputMaybe>; - applicationReviewReason?: InputMaybe; - applicationReviewReason_not?: InputMaybe; - applicationReviewReason_gt?: InputMaybe; - applicationReviewReason_lt?: InputMaybe; - applicationReviewReason_gte?: InputMaybe; - applicationReviewReason_lte?: InputMaybe; - applicationReviewReason_in?: InputMaybe>; - applicationReviewReason_not_in?: InputMaybe>; - applicationReviewReason_contains?: InputMaybe; - applicationReviewReason_contains_nocase?: InputMaybe; - applicationReviewReason_not_contains?: InputMaybe; - applicationReviewReason_not_contains_nocase?: InputMaybe; - applicationReviewReason_starts_with?: InputMaybe; - applicationReviewReason_starts_with_nocase?: InputMaybe; - applicationReviewReason_not_starts_with?: InputMaybe; - applicationReviewReason_not_starts_with_nocase?: InputMaybe; - applicationReviewReason_ends_with?: InputMaybe; - applicationReviewReason_ends_with_nocase?: InputMaybe; - applicationReviewReason_not_ends_with?: InputMaybe; - applicationReviewReason_not_ends_with_nocase?: InputMaybe; - applicationReviewReason_?: InputMaybe; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - hatId?: InputMaybe; - hatId_not?: InputMaybe; - hatId_gt?: InputMaybe; - hatId_lt?: InputMaybe; - hatId_gte?: InputMaybe; - hatId_lte?: InputMaybe; - hatId_in?: InputMaybe>; - hatId_not_in?: InputMaybe>; - hatId_contains?: InputMaybe; - hatId_contains_nocase?: InputMaybe; - hatId_not_contains?: InputMaybe; - hatId_not_contains_nocase?: InputMaybe; - hatId_starts_with?: InputMaybe; - hatId_starts_with_nocase?: InputMaybe; - hatId_not_starts_with?: InputMaybe; - hatId_not_starts_with_nocase?: InputMaybe; - hatId_ends_with?: InputMaybe; - hatId_ends_with_nocase?: InputMaybe; - hatId_not_ends_with?: InputMaybe; - hatId_not_ends_with_nocase?: InputMaybe; - shipContractAddress?: InputMaybe; - shipContractAddress_not?: InputMaybe; - shipContractAddress_gt?: InputMaybe; - shipContractAddress_lt?: InputMaybe; - shipContractAddress_gte?: InputMaybe; - shipContractAddress_lte?: InputMaybe; - shipContractAddress_in?: InputMaybe>; - shipContractAddress_not_in?: InputMaybe>; - shipContractAddress_contains?: InputMaybe; - shipContractAddress_not_contains?: InputMaybe; - shipLaunched?: InputMaybe; - shipLaunched_not?: InputMaybe; - shipLaunched_in?: InputMaybe>; - shipLaunched_not_in?: InputMaybe>; - poolActive?: InputMaybe; - poolActive_not?: InputMaybe; - poolActive_in?: InputMaybe>; - poolActive_not_in?: InputMaybe>; - isAllocated?: InputMaybe; - isAllocated_not?: InputMaybe; - isAllocated_in?: InputMaybe>; - isAllocated_not_in?: InputMaybe>; - isDistributed?: InputMaybe; - isDistributed_not?: InputMaybe; - isDistributed_in?: InputMaybe>; - isDistributed_not_in?: InputMaybe>; + members?: InputMaybe; + members_not?: InputMaybe; + members_gt?: InputMaybe; + members_lt?: InputMaybe; + members_gte?: InputMaybe; + members_lte?: InputMaybe; + members_in?: InputMaybe>; + members_not_in?: InputMaybe>; + members_contains?: InputMaybe; + members_contains_nocase?: InputMaybe; + members_not_contains?: InputMaybe; + members_not_contains_nocase?: InputMaybe; + members_starts_with?: InputMaybe; + members_starts_with_nocase?: InputMaybe; + members_not_starts_with?: InputMaybe; + members_not_starts_with_nocase?: InputMaybe; + members_ends_with?: InputMaybe; + members_ends_with_nocase?: InputMaybe; + members_not_ends_with?: InputMaybe; + members_not_ends_with_nocase?: InputMaybe; + members_?: InputMaybe; + totalAmountReceived?: InputMaybe; + totalAmountReceived_not?: InputMaybe; + totalAmountReceived_gt?: InputMaybe; + totalAmountReceived_lt?: InputMaybe; + totalAmountReceived_gte?: InputMaybe; + totalAmountReceived_lte?: InputMaybe; + totalAmountReceived_in?: InputMaybe>; + totalAmountReceived_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type Project_orderBy = + | 'id' + | 'profileId' + | 'status' + | 'nonce' + | 'name' + | 'metadata' + | 'metadata__id' + | 'metadata__protocol' + | 'metadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'grants' + | 'members' + | 'members__id' + | 'totalAmountReceived'; + +export type RawMetadata = { + id: Scalars['String']; + protocol: Scalars['BigInt']; + pointer: Scalars['String']; +}; + +export type RawMetadata_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_contains_nocase?: InputMaybe; + id_not_contains?: InputMaybe; + id_not_contains_nocase?: InputMaybe; + id_starts_with?: InputMaybe; + id_starts_with_nocase?: InputMaybe; + id_not_starts_with?: InputMaybe; + id_not_starts_with_nocase?: InputMaybe; + id_ends_with?: InputMaybe; + id_ends_with_nocase?: InputMaybe; + id_not_ends_with?: InputMaybe; + id_not_ends_with_nocase?: InputMaybe; + protocol?: InputMaybe; + protocol_not?: InputMaybe; + protocol_gt?: InputMaybe; + protocol_lt?: InputMaybe; + protocol_gte?: InputMaybe; + protocol_lte?: InputMaybe; + protocol_in?: InputMaybe>; + protocol_not_in?: InputMaybe>; + pointer?: InputMaybe; + pointer_not?: InputMaybe; + pointer_gt?: InputMaybe; + pointer_lt?: InputMaybe; + pointer_gte?: InputMaybe; + pointer_lte?: InputMaybe; + pointer_in?: InputMaybe>; + pointer_not_in?: InputMaybe>; + pointer_contains?: InputMaybe; + pointer_contains_nocase?: InputMaybe; + pointer_not_contains?: InputMaybe; + pointer_not_contains_nocase?: InputMaybe; + pointer_starts_with?: InputMaybe; + pointer_starts_with_nocase?: InputMaybe; + pointer_not_starts_with?: InputMaybe; + pointer_not_starts_with_nocase?: InputMaybe; + pointer_ends_with?: InputMaybe; + pointer_ends_with_nocase?: InputMaybe; + pointer_not_ends_with?: InputMaybe; + pointer_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type RawMetadata_orderBy = + | 'id' + | 'protocol' + | 'pointer'; + +export type Transaction = { + id: Scalars['ID']; + blockNumber: Scalars['BigInt']; + sender: Scalars['Bytes']; + txHash: Scalars['Bytes']; +}; + +export type Transaction_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + sender?: InputMaybe; + sender_not?: InputMaybe; + sender_gt?: InputMaybe; + sender_lt?: InputMaybe; + sender_gte?: InputMaybe; + sender_lte?: InputMaybe; + sender_in?: InputMaybe>; + sender_not_in?: InputMaybe>; + sender_contains?: InputMaybe; + sender_not_contains?: InputMaybe; + txHash?: InputMaybe; + txHash_not?: InputMaybe; + txHash_gt?: InputMaybe; + txHash_lt?: InputMaybe; + txHash_gte?: InputMaybe; + txHash_lte?: InputMaybe; + txHash_in?: InputMaybe>; + txHash_not_in?: InputMaybe>; + txHash_contains?: InputMaybe; + txHash_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type Transaction_orderBy = + | 'id' + | 'blockNumber' + | 'sender' + | 'txHash'; + +export type Update = { + id: Scalars['ID']; + scope: Scalars['Int']; + posterRole: Scalars['Int']; + entityAddress: Scalars['Bytes']; + postedBy: Scalars['Bytes']; + content: RawMetadata; + contentSchema: Scalars['Int']; + postDecorator: Scalars['Int']; + timestamp: Scalars['BigInt']; +}; + +export type Update_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + scope?: InputMaybe; + scope_not?: InputMaybe; + scope_gt?: InputMaybe; + scope_lt?: InputMaybe; + scope_gte?: InputMaybe; + scope_lte?: InputMaybe; + scope_in?: InputMaybe>; + scope_not_in?: InputMaybe>; + posterRole?: InputMaybe; + posterRole_not?: InputMaybe; + posterRole_gt?: InputMaybe; + posterRole_lt?: InputMaybe; + posterRole_gte?: InputMaybe; + posterRole_lte?: InputMaybe; + posterRole_in?: InputMaybe>; + posterRole_not_in?: InputMaybe>; + entityAddress?: InputMaybe; + entityAddress_not?: InputMaybe; + entityAddress_gt?: InputMaybe; + entityAddress_lt?: InputMaybe; + entityAddress_gte?: InputMaybe; + entityAddress_lte?: InputMaybe; + entityAddress_in?: InputMaybe>; + entityAddress_not_in?: InputMaybe>; + entityAddress_contains?: InputMaybe; + entityAddress_not_contains?: InputMaybe; + postedBy?: InputMaybe; + postedBy_not?: InputMaybe; + postedBy_gt?: InputMaybe; + postedBy_lt?: InputMaybe; + postedBy_gte?: InputMaybe; + postedBy_lte?: InputMaybe; + postedBy_in?: InputMaybe>; + postedBy_not_in?: InputMaybe>; + postedBy_contains?: InputMaybe; + postedBy_not_contains?: InputMaybe; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + content_?: InputMaybe; + contentSchema?: InputMaybe; + contentSchema_not?: InputMaybe; + contentSchema_gt?: InputMaybe; + contentSchema_lt?: InputMaybe; + contentSchema_gte?: InputMaybe; + contentSchema_lte?: InputMaybe; + contentSchema_in?: InputMaybe>; + contentSchema_not_in?: InputMaybe>; + postDecorator?: InputMaybe; + postDecorator_not?: InputMaybe; + postDecorator_gt?: InputMaybe; + postDecorator_lt?: InputMaybe; + postDecorator_gte?: InputMaybe; + postDecorator_lte?: InputMaybe; + postDecorator_in?: InputMaybe>; + postDecorator_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; /** Filter for the block changed event. */ _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type Update_orderBy = + | 'id' + | 'scope' + | 'posterRole' + | 'entityAddress' + | 'postedBy' + | 'content' + | 'content__id' + | 'content__protocol' + | 'content__pointer' + | 'contentSchema' + | 'postDecorator' + | 'timestamp'; + +export type _Block_ = { + /** The hash of the block */ + hash?: Maybe; + /** The block number */ + number: Scalars['Int']; + /** Integer representation of the timestamp stored in blocks for the chain */ + timestamp?: Maybe; + /** The hash of the parent block */ + parentHash?: Maybe; +}; + +/** The type for the top-level _meta field */ +export type _Meta_ = { + /** + * Information about a specific subgraph block. The hash of the block + * will be null if the _meta field has a block constraint that asks for + * a block number. It will be filled if the _meta field has no block constraint + * and therefore asks for the latest block + * + */ + block: _Block_; + /** The deployment ID */ + deployment: Scalars['String']; + /** If `true`, the subgraph encountered indexing errors at some past block */ + hasIndexingErrors: Scalars['Boolean']; +}; + +export type _SubgraphErrorPolicy_ = + /** Data will be returned even if the subgraph has indexing errors */ + | 'allow' + /** If the subgraph has indexing errors, data will be omitted. The default. */ + | 'deny'; + +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "Contest" */ +export type Contest = { + /** An object relationship */ + choicesModule?: Maybe; + choicesModule_id: Scalars['String']; + contestAddress: Scalars['String']; + contestStatus: Scalars['numeric']; + contestVersion: Scalars['String']; + db_write_timestamp?: Maybe; + /** An object relationship */ + executionModule?: Maybe; + executionModule_id: Scalars['String']; + filterTag: Scalars['String']; + id: Scalars['String']; + isContinuous: Scalars['Boolean']; + isRetractable: Scalars['Boolean']; + /** An object relationship */ + pointsModule?: Maybe; + pointsModule_id: Scalars['String']; + /** An object relationship */ + votesModule?: Maybe; + votesModule_id: Scalars['String']; +}; + +/** columns and relationships of "ContestClone" */ +export type ContestClone = { + contestAddress: Scalars['String']; + contestVersion: Scalars['String']; + db_write_timestamp?: Maybe; + filterTag: Scalars['String']; + id: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. */ +export type ContestClone_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "ContestClone". */ +export type ContestClone_order_by = { + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "ContestClone" */ +export type ContestClone_select_column = + /** column name */ + | 'contestAddress' + /** column name */ + | 'contestVersion' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'filterTag' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "ContestClone" */ +export type ContestClone_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ContestClone_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ContestClone_stream_cursor_value_input = { + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; +}; + +/** columns and relationships of "ContestTemplate" */ +export type ContestTemplate = { + active: Scalars['Boolean']; + contestAddress: Scalars['String']; + contestVersion: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; +}; + +/** Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. */ +export type ContestTemplate_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + active?: InputMaybe; + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Ordering options when selecting data from "ContestTemplate". */ +export type ContestTemplate_order_by = { + active?: InputMaybe; + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** select columns of table "ContestTemplate" */ +export type ContestTemplate_select_column = + /** column name */ + | 'active' + /** column name */ + | 'contestAddress' + /** column name */ + | 'contestVersion' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol'; + +/** Streaming cursor of the table "ContestTemplate" */ +export type ContestTemplate_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ContestTemplate_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ContestTemplate_stream_cursor_value_input = { + active?: InputMaybe; + contestAddress?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. */ +export type Contest_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + choicesModule?: InputMaybe; + choicesModule_id?: InputMaybe; + contestAddress?: InputMaybe; + contestStatus?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + executionModule?: InputMaybe; + executionModule_id?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + isContinuous?: InputMaybe; + isRetractable?: InputMaybe; + pointsModule?: InputMaybe; + pointsModule_id?: InputMaybe; + votesModule?: InputMaybe; + votesModule_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "Contest". */ +export type Contest_order_by = { + choicesModule?: InputMaybe; + choicesModule_id?: InputMaybe; + contestAddress?: InputMaybe; + contestStatus?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + executionModule?: InputMaybe; + executionModule_id?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + isContinuous?: InputMaybe; + isRetractable?: InputMaybe; + pointsModule?: InputMaybe; + pointsModule_id?: InputMaybe; + votesModule?: InputMaybe; + votesModule_id?: InputMaybe; +}; + +/** select columns of table "Contest" */ +export type Contest_select_column = + /** column name */ + | 'choicesModule_id' + /** column name */ + | 'contestAddress' + /** column name */ + | 'contestStatus' + /** column name */ + | 'contestVersion' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'executionModule_id' + /** column name */ + | 'filterTag' + /** column name */ + | 'id' + /** column name */ + | 'isContinuous' + /** column name */ + | 'isRetractable' + /** column name */ + | 'pointsModule_id' + /** column name */ + | 'votesModule_id'; + +/** Streaming cursor of the table "Contest" */ +export type Contest_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: Contest_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Contest_stream_cursor_value_input = { + choicesModule_id?: InputMaybe; + contestAddress?: InputMaybe; + contestStatus?: InputMaybe; + contestVersion?: InputMaybe; + db_write_timestamp?: InputMaybe; + executionModule_id?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + isContinuous?: InputMaybe; + isRetractable?: InputMaybe; + pointsModule_id?: InputMaybe; + votesModule_id?: InputMaybe; +}; + +/** columns and relationships of "ERCPointParams" */ +export type ERCPointParams = { + db_write_timestamp?: Maybe; + id: Scalars['String']; + voteTokenAddress: Scalars['String']; + votingCheckpoint: Scalars['numeric']; +}; + +/** Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. */ +export type ERCPointParams_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteTokenAddress?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** Ordering options when selecting data from "ERCPointParams". */ +export type ERCPointParams_order_by = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteTokenAddress?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** select columns of table "ERCPointParams" */ +export type ERCPointParams_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'voteTokenAddress' + /** column name */ + | 'votingCheckpoint'; + +/** Streaming cursor of the table "ERCPointParams" */ +export type ERCPointParams_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ERCPointParams_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ERCPointParams_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteTokenAddress?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** columns and relationships of "EnvioTX" */ +export type EnvioTX = { + blockNumber: Scalars['numeric']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + srcAddress: Scalars['String']; + txHash: Scalars['String']; + txOrigin?: Maybe; +}; + +/** Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. */ +export type EnvioTX_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + blockNumber?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + srcAddress?: InputMaybe; + txHash?: InputMaybe; + txOrigin?: InputMaybe; +}; + +/** Ordering options when selecting data from "EnvioTX". */ +export type EnvioTX_order_by = { + blockNumber?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + srcAddress?: InputMaybe; + txHash?: InputMaybe; + txOrigin?: InputMaybe; +}; + +/** select columns of table "EnvioTX" */ +export type EnvioTX_select_column = + /** column name */ + | 'blockNumber' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'srcAddress' + /** column name */ + | 'txHash' + /** column name */ + | 'txOrigin'; + +/** Streaming cursor of the table "EnvioTX" */ +export type EnvioTX_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: EnvioTX_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type EnvioTX_stream_cursor_value_input = { + blockNumber?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + srcAddress?: InputMaybe; + txHash?: InputMaybe; + txOrigin?: InputMaybe; +}; + +/** columns and relationships of "EventPost" */ +export type EventPost = { + db_write_timestamp?: Maybe; + hatId: Scalars['numeric']; + /** An object relationship */ + hatsPoster?: Maybe; + hatsPoster_id: Scalars['String']; + id: Scalars['String']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + tag: Scalars['String']; +}; + +/** order by aggregate values of table "EventPost" */ +export type EventPost_aggregate_order_by = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "EventPost" */ +export type EventPost_avg_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. */ +export type EventPost_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by max() on columns of table "EventPost" */ +export type EventPost_max_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by min() on columns of table "EventPost" */ +export type EventPost_min_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + tag?: InputMaybe; +}; + +/** Ordering options when selecting data from "EventPost". */ +export type EventPost_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + tag?: InputMaybe; +}; + +/** select columns of table "EventPost" */ +export type EventPost_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'hatId' + /** column name */ + | 'hatsPoster_id' + /** column name */ + | 'id' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'tag'; + +/** order by stddev() on columns of table "EventPost" */ +export type EventPost_stddev_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "EventPost" */ +export type EventPost_stddev_pop_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "EventPost" */ +export type EventPost_stddev_samp_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Streaming cursor of the table "EventPost" */ +export type EventPost_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: EventPost_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type EventPost_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by sum() on columns of table "EventPost" */ +export type EventPost_sum_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_pop() on columns of table "EventPost" */ +export type EventPost_var_pop_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_samp() on columns of table "EventPost" */ +export type EventPost_var_samp_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by variance() on columns of table "EventPost" */ +export type EventPost_variance_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** columns and relationships of "FactoryEventsSummary" */ +export type FactoryEventsSummary = { + address: Scalars['String']; + admins: Array; + contestBuiltCount: Scalars['numeric']; + contestCloneCount: Scalars['numeric']; + contestTemplateCount: Scalars['numeric']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + moduleCloneCount: Scalars['numeric']; + moduleTemplateCount: Scalars['numeric']; +}; + +/** Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. */ +export type FactoryEventsSummary_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + admins?: InputMaybe; + contestBuiltCount?: InputMaybe; + contestCloneCount?: InputMaybe; + contestTemplateCount?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + moduleCloneCount?: InputMaybe; + moduleTemplateCount?: InputMaybe; +}; + +/** Ordering options when selecting data from "FactoryEventsSummary". */ +export type FactoryEventsSummary_order_by = { + address?: InputMaybe; + admins?: InputMaybe; + contestBuiltCount?: InputMaybe; + contestCloneCount?: InputMaybe; + contestTemplateCount?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + moduleCloneCount?: InputMaybe; + moduleTemplateCount?: InputMaybe; +}; + +/** select columns of table "FactoryEventsSummary" */ +export type FactoryEventsSummary_select_column = + /** column name */ + | 'address' + /** column name */ + | 'admins' + /** column name */ + | 'contestBuiltCount' + /** column name */ + | 'contestCloneCount' + /** column name */ + | 'contestTemplateCount' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'moduleCloneCount' + /** column name */ + | 'moduleTemplateCount'; + +/** Streaming cursor of the table "FactoryEventsSummary" */ +export type FactoryEventsSummary_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: FactoryEventsSummary_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type FactoryEventsSummary_stream_cursor_value_input = { + address?: InputMaybe; + admins?: InputMaybe>; + contestBuiltCount?: InputMaybe; + contestCloneCount?: InputMaybe; + contestTemplateCount?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + moduleCloneCount?: InputMaybe; + moduleTemplateCount?: InputMaybe; +}; + +/** columns and relationships of "GSVoter" */ +export type GSVoter = { + address: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + /** An array relationship */ + votes: Array; +}; + + +/** columns and relationships of "GSVoter" */ +export type GSVotervotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. */ +export type GSVoter_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes?: InputMaybe; +}; + +/** Ordering options when selecting data from "GSVoter". */ +export type GSVoter_order_by = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + votes_aggregate?: InputMaybe; +}; + +/** select columns of table "GSVoter" */ +export type GSVoter_select_column = + /** column name */ + | 'address' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "GSVoter" */ +export type GSVoter_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: GSVoter_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GSVoter_stream_cursor_value_input = { + address?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; +}; + +/** columns and relationships of "GrantShipsVoting" */ +export type GrantShipsVoting = { + /** An array relationship */ + choices: Array; + /** An object relationship */ + contest?: Maybe; + contest_id: Scalars['String']; + db_write_timestamp?: Maybe; + endTime?: Maybe; + hatId: Scalars['numeric']; + hatsAddress: Scalars['String']; + id: Scalars['String']; + isVotingActive: Scalars['Boolean']; + startTime?: Maybe; + totalVotes: Scalars['numeric']; + voteDuration: Scalars['numeric']; + voteTokenAddress: Scalars['String']; + /** An array relationship */ + votes: Array; + votingCheckpoint: Scalars['numeric']; +}; + + +/** columns and relationships of "GrantShipsVoting" */ +export type GrantShipsVotingchoicesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "GrantShipsVoting" */ +export type GrantShipsVotingvotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. */ +export type GrantShipsVoting_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + choices?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + endTime?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; + isVotingActive?: InputMaybe; + startTime?: InputMaybe; + totalVotes?: InputMaybe; + voteDuration?: InputMaybe; + voteTokenAddress?: InputMaybe; + votes?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** Ordering options when selecting data from "GrantShipsVoting". */ +export type GrantShipsVoting_order_by = { + choices_aggregate?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + endTime?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; + isVotingActive?: InputMaybe; + startTime?: InputMaybe; + totalVotes?: InputMaybe; + voteDuration?: InputMaybe; + voteTokenAddress?: InputMaybe; + votes_aggregate?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** select columns of table "GrantShipsVoting" */ +export type GrantShipsVoting_select_column = + /** column name */ + | 'contest_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'endTime' + /** column name */ + | 'hatId' + /** column name */ + | 'hatsAddress' + /** column name */ + | 'id' + /** column name */ + | 'isVotingActive' + /** column name */ + | 'startTime' + /** column name */ + | 'totalVotes' + /** column name */ + | 'voteDuration' + /** column name */ + | 'voteTokenAddress' + /** column name */ + | 'votingCheckpoint'; + +/** Streaming cursor of the table "GrantShipsVoting" */ +export type GrantShipsVoting_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: GrantShipsVoting_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type GrantShipsVoting_stream_cursor_value_input = { + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + endTime?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; + isVotingActive?: InputMaybe; + startTime?: InputMaybe; + totalVotes?: InputMaybe; + voteDuration?: InputMaybe; + voteTokenAddress?: InputMaybe; + votingCheckpoint?: InputMaybe; +}; + +/** columns and relationships of "HALParams" */ +export type HALParams = { + db_write_timestamp?: Maybe; + hatId: Scalars['numeric']; + hatsAddress: Scalars['String']; + id: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. */ +export type HALParams_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "HALParams". */ +export type HALParams_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; +}; + +/** select columns of table "HALParams" */ +export type HALParams_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'hatId' + /** column name */ + | 'hatsAddress' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "HALParams" */ +export type HALParams_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: HALParams_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HALParams_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; +}; + +/** columns and relationships of "HatsPoster" */ +export type HatsPoster = { + db_write_timestamp?: Maybe; + /** An array relationship */ + eventPosts: Array; + hatIds: Array; + hatsAddress: Scalars['String']; + id: Scalars['String']; + /** An array relationship */ + record: Array; +}; + + +/** columns and relationships of "HatsPoster" */ +export type HatsPostereventPostsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "HatsPoster" */ +export type HatsPosterrecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. */ +export type HatsPoster_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + eventPosts?: InputMaybe; + hatIds?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; + record?: InputMaybe; +}; + +/** Ordering options when selecting data from "HatsPoster". */ +export type HatsPoster_order_by = { + db_write_timestamp?: InputMaybe; + eventPosts_aggregate?: InputMaybe; + hatIds?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; + record_aggregate?: InputMaybe; +}; + +/** select columns of table "HatsPoster" */ +export type HatsPoster_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'hatIds' + /** column name */ + | 'hatsAddress' + /** column name */ + | 'id'; + +/** Streaming cursor of the table "HatsPoster" */ +export type HatsPoster_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: HatsPoster_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HatsPoster_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + hatIds?: InputMaybe>; + hatsAddress?: InputMaybe; + id?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ +export type Int_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "LocalLog" */ +export type LocalLog = { + db_write_timestamp?: Maybe; + id: Scalars['String']; + message?: Maybe; +}; + +/** Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. */ +export type LocalLog_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; +}; + +/** Ordering options when selecting data from "LocalLog". */ +export type LocalLog_order_by = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; +}; + +/** select columns of table "LocalLog" */ +export type LocalLog_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'message'; + +/** Streaming cursor of the table "LocalLog" */ +export type LocalLog_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: LocalLog_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LocalLog_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + message?: InputMaybe; +}; + +/** columns and relationships of "ModuleTemplate" */ +export type ModuleTemplate = { + active: Scalars['Boolean']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + moduleName: Scalars['String']; + templateAddress: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. */ +export type ModuleTemplate_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + active?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + moduleName?: InputMaybe; + templateAddress?: InputMaybe; +}; + +/** Ordering options when selecting data from "ModuleTemplate". */ +export type ModuleTemplate_order_by = { + active?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + moduleName?: InputMaybe; + templateAddress?: InputMaybe; +}; + +/** select columns of table "ModuleTemplate" */ +export type ModuleTemplate_select_column = + /** column name */ + | 'active' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'moduleName' + /** column name */ + | 'templateAddress'; + +/** Streaming cursor of the table "ModuleTemplate" */ +export type ModuleTemplate_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ModuleTemplate_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ModuleTemplate_stream_cursor_value_input = { + active?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + moduleName?: InputMaybe; + templateAddress?: InputMaybe; +}; + +/** columns and relationships of "Record" */ +export type Record = { + db_write_timestamp?: Maybe; + hatId: Scalars['numeric']; + /** An object relationship */ + hatsPoster?: Maybe; + hatsPoster_id: Scalars['String']; + id: Scalars['String']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + nonce: Scalars['String']; + tag: Scalars['String']; +}; + +/** order by aggregate values of table "Record" */ +export type Record_aggregate_order_by = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "Record" */ +export type Record_avg_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. */ +export type Record_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + nonce?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by max() on columns of table "Record" */ +export type Record_max_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + nonce?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by min() on columns of table "Record" */ +export type Record_min_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + nonce?: InputMaybe; + tag?: InputMaybe; +}; + +/** Ordering options when selecting data from "Record". */ +export type Record_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + nonce?: InputMaybe; + tag?: InputMaybe; +}; + +/** select columns of table "Record" */ +export type Record_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'hatId' + /** column name */ + | 'hatsPoster_id' + /** column name */ + | 'id' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'nonce' + /** column name */ + | 'tag'; + +/** order by stddev() on columns of table "Record" */ +export type Record_stddev_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "Record" */ +export type Record_stddev_pop_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "Record" */ +export type Record_stddev_samp_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Streaming cursor of the table "Record" */ +export type Record_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: Record_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Record_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsPoster_id?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + nonce?: InputMaybe; + tag?: InputMaybe; +}; + +/** order by sum() on columns of table "Record" */ +export type Record_sum_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_pop() on columns of table "Record" */ +export type Record_var_pop_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_samp() on columns of table "Record" */ +export type Record_var_samp_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by variance() on columns of table "Record" */ +export type Record_variance_order_by = { + hatId?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** columns and relationships of "ShipChoice" */ +export type ShipChoice = { + active: Scalars['Boolean']; + choiceData: Scalars['String']; + /** An object relationship */ + contest?: Maybe; + contest_id: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + voteTally: Scalars['numeric']; + /** An array relationship */ + votes: Array; +}; + + +/** columns and relationships of "ShipChoice" */ +export type ShipChoicevotesArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "ShipChoice" */ +export type ShipChoice_aggregate_order_by = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; +}; + +/** order by avg() on columns of table "ShipChoice" */ +export type ShipChoice_avg_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. */ +export type ShipChoice_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + active?: InputMaybe; + choiceData?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; + votes?: InputMaybe; +}; + +/** order by max() on columns of table "ShipChoice" */ +export type ShipChoice_max_order_by = { + choiceData?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by min() on columns of table "ShipChoice" */ +export type ShipChoice_min_order_by = { + choiceData?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** Ordering options when selecting data from "ShipChoice". */ +export type ShipChoice_order_by = { + active?: InputMaybe; + choiceData?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; + votes_aggregate?: InputMaybe; +}; + +/** select columns of table "ShipChoice" */ +export type ShipChoice_select_column = + /** column name */ + | 'active' + /** column name */ + | 'choiceData' + /** column name */ + | 'contest_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'id' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'voteTally'; + +/** order by stddev() on columns of table "ShipChoice" */ +export type ShipChoice_stddev_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "ShipChoice" */ +export type ShipChoice_stddev_pop_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "ShipChoice" */ +export type ShipChoice_stddev_samp_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** Streaming cursor of the table "ShipChoice" */ +export type ShipChoice_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ShipChoice_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ShipChoice_stream_cursor_value_input = { + active?: InputMaybe; + choiceData?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by sum() on columns of table "ShipChoice" */ +export type ShipChoice_sum_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by var_pop() on columns of table "ShipChoice" */ +export type ShipChoice_var_pop_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by var_samp() on columns of table "ShipChoice" */ +export type ShipChoice_var_samp_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** order by variance() on columns of table "ShipChoice" */ +export type ShipChoice_variance_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; +}; + +/** columns and relationships of "ShipVote" */ +export type ShipVote = { + amount: Scalars['numeric']; + /** An object relationship */ + choice?: Maybe; + choice_id: Scalars['String']; + /** An object relationship */ + contest?: Maybe; + contest_id: Scalars['String']; + db_write_timestamp?: Maybe; + id: Scalars['String']; + isRetractVote: Scalars['Boolean']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + /** An object relationship */ + voter?: Maybe; + voter_id: Scalars['String']; +}; + +/** order by aggregate values of table "ShipVote" */ +export type ShipVote_aggregate_order_by = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -export type GrantShip_orderBy = +/** order by avg() on columns of table "ShipVote" */ +export type ShipVote_avg_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. */ +export type ShipVote_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amount?: InputMaybe; + choice?: InputMaybe; + choice_id?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + isRetractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; +}; + +/** order by max() on columns of table "ShipVote" */ +export type ShipVote_max_order_by = { + amount?: InputMaybe; + choice_id?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter_id?: InputMaybe; +}; + +/** order by min() on columns of table "ShipVote" */ +export type ShipVote_min_order_by = { + amount?: InputMaybe; + choice_id?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "ShipVote". */ +export type ShipVote_order_by = { + amount?: InputMaybe; + choice?: InputMaybe; + choice_id?: InputMaybe; + contest?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + isRetractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter?: InputMaybe; + voter_id?: InputMaybe; +}; + +/** select columns of table "ShipVote" */ +export type ShipVote_select_column = + /** column name */ + | 'amount' + /** column name */ + | 'choice_id' + /** column name */ + | 'contest_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ | 'id' - | 'profileId' - | 'nonce' - | 'name' - | 'profileMetadata' - | 'profileMetadata__id' - | 'profileMetadata__protocol' - | 'profileMetadata__pointer' - | 'owner' - | 'anchor' - | 'blockNumber' - | 'blockTimestamp' - | 'transactionHash' - | 'status' - | 'poolFunded' - | 'balance' - | 'shipAllocation' - | 'totalAvailableFunds' - | 'totalRoundAmount' - | 'totalAllocated' - | 'totalDistributed' - | 'grants' - | 'alloProfileMembers' - | 'alloProfileMembers__id' - | 'shipApplicationBytesData' - | 'applicationSubmittedTime' - | 'isAwaitingApproval' - | 'hasSubmittedApplication' - | 'isApproved' - | 'approvedTime' - | 'isRejected' - | 'rejectedTime' - | 'applicationReviewReason' - | 'applicationReviewReason__id' - | 'applicationReviewReason__protocol' - | 'applicationReviewReason__pointer' - | 'poolId' - | 'hatId' - | 'shipContractAddress' - | 'shipLaunched' - | 'poolActive' - | 'isAllocated' - | 'isDistributed'; + /** column name */ + | 'isRetractVote' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'voter_id'; + +/** order by stddev() on columns of table "ShipVote" */ +export type ShipVote_stddev_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "ShipVote" */ +export type ShipVote_stddev_pop_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "ShipVote" */ +export type ShipVote_stddev_samp_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** Streaming cursor of the table "ShipVote" */ +export type ShipVote_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: ShipVote_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ShipVote_stream_cursor_value_input = { + amount?: InputMaybe; + choice_id?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + isRetractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter_id?: InputMaybe; +}; + +/** order by sum() on columns of table "ShipVote" */ +export type ShipVote_sum_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_pop() on columns of table "ShipVote" */ +export type ShipVote_var_pop_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by var_samp() on columns of table "ShipVote" */ +export type ShipVote_var_samp_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** order by variance() on columns of table "ShipVote" */ +export type ShipVote_variance_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; +}; + +/** columns and relationships of "StemModule" */ +export type StemModule = { + /** An object relationship */ + contest?: Maybe; + contestAddress?: Maybe; + contest_id?: Maybe; + db_write_timestamp?: Maybe; + filterTag: Scalars['String']; + id: Scalars['String']; + moduleAddress: Scalars['String']; + moduleName: Scalars['String']; + /** An object relationship */ + moduleTemplate?: Maybe; + moduleTemplate_id: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. */ +export type StemModule_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contest?: InputMaybe; + contestAddress?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + moduleAddress?: InputMaybe; + moduleName?: InputMaybe; + moduleTemplate?: InputMaybe; + moduleTemplate_id?: InputMaybe; +}; + +/** Ordering options when selecting data from "StemModule". */ +export type StemModule_order_by = { + contest?: InputMaybe; + contestAddress?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + moduleAddress?: InputMaybe; + moduleName?: InputMaybe; + moduleTemplate?: InputMaybe; + moduleTemplate_id?: InputMaybe; +}; + +/** select columns of table "StemModule" */ +export type StemModule_select_column = + /** column name */ + | 'contestAddress' + /** column name */ + | 'contest_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'filterTag' + /** column name */ + | 'id' + /** column name */ + | 'moduleAddress' + /** column name */ + | 'moduleName' + /** column name */ + | 'moduleTemplate_id'; -export type Grant_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - projectId?: InputMaybe; - projectId_not?: InputMaybe; - projectId_gt?: InputMaybe; - projectId_lt?: InputMaybe; - projectId_gte?: InputMaybe; - projectId_lte?: InputMaybe; - projectId_in?: InputMaybe>; - projectId_not_in?: InputMaybe>; - projectId_contains?: InputMaybe; - projectId_contains_nocase?: InputMaybe; - projectId_not_contains?: InputMaybe; - projectId_not_contains_nocase?: InputMaybe; - projectId_starts_with?: InputMaybe; - projectId_starts_with_nocase?: InputMaybe; - projectId_not_starts_with?: InputMaybe; - projectId_not_starts_with_nocase?: InputMaybe; - projectId_ends_with?: InputMaybe; - projectId_ends_with_nocase?: InputMaybe; - projectId_not_ends_with?: InputMaybe; - projectId_not_ends_with_nocase?: InputMaybe; - projectId_?: InputMaybe; - shipId?: InputMaybe; - shipId_not?: InputMaybe; - shipId_gt?: InputMaybe; - shipId_lt?: InputMaybe; - shipId_gte?: InputMaybe; - shipId_lte?: InputMaybe; - shipId_in?: InputMaybe>; - shipId_not_in?: InputMaybe>; - shipId_contains?: InputMaybe; - shipId_contains_nocase?: InputMaybe; - shipId_not_contains?: InputMaybe; - shipId_not_contains_nocase?: InputMaybe; - shipId_starts_with?: InputMaybe; - shipId_starts_with_nocase?: InputMaybe; - shipId_not_starts_with?: InputMaybe; - shipId_not_starts_with_nocase?: InputMaybe; - shipId_ends_with?: InputMaybe; - shipId_ends_with_nocase?: InputMaybe; - shipId_not_ends_with?: InputMaybe; - shipId_not_ends_with_nocase?: InputMaybe; - shipId_?: InputMaybe; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - hasResubmitted?: InputMaybe; - hasResubmitted_not?: InputMaybe; - hasResubmitted_in?: InputMaybe>; - hasResubmitted_not_in?: InputMaybe>; - grantStatus?: InputMaybe; - grantStatus_not?: InputMaybe; - grantStatus_gt?: InputMaybe; - grantStatus_lt?: InputMaybe; - grantStatus_gte?: InputMaybe; - grantStatus_lte?: InputMaybe; - grantStatus_in?: InputMaybe>; - grantStatus_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - currentMilestoneIndex?: InputMaybe; - currentMilestoneIndex_not?: InputMaybe; - currentMilestoneIndex_gt?: InputMaybe; - currentMilestoneIndex_lt?: InputMaybe; - currentMilestoneIndex_gte?: InputMaybe; - currentMilestoneIndex_lte?: InputMaybe; - currentMilestoneIndex_in?: InputMaybe>; - currentMilestoneIndex_not_in?: InputMaybe>; - milestonesAmount?: InputMaybe; - milestonesAmount_not?: InputMaybe; - milestonesAmount_gt?: InputMaybe; - milestonesAmount_lt?: InputMaybe; - milestonesAmount_gte?: InputMaybe; - milestonesAmount_lte?: InputMaybe; - milestonesAmount_in?: InputMaybe>; - milestonesAmount_not_in?: InputMaybe>; - milestones?: InputMaybe>; - milestones_not?: InputMaybe>; - milestones_contains?: InputMaybe>; - milestones_contains_nocase?: InputMaybe>; - milestones_not_contains?: InputMaybe>; - milestones_not_contains_nocase?: InputMaybe>; - milestones_?: InputMaybe; - shipApprovalReason?: InputMaybe; - shipApprovalReason_not?: InputMaybe; - shipApprovalReason_gt?: InputMaybe; - shipApprovalReason_lt?: InputMaybe; - shipApprovalReason_gte?: InputMaybe; - shipApprovalReason_lte?: InputMaybe; - shipApprovalReason_in?: InputMaybe>; - shipApprovalReason_not_in?: InputMaybe>; - shipApprovalReason_contains?: InputMaybe; - shipApprovalReason_contains_nocase?: InputMaybe; - shipApprovalReason_not_contains?: InputMaybe; - shipApprovalReason_not_contains_nocase?: InputMaybe; - shipApprovalReason_starts_with?: InputMaybe; - shipApprovalReason_starts_with_nocase?: InputMaybe; - shipApprovalReason_not_starts_with?: InputMaybe; - shipApprovalReason_not_starts_with_nocase?: InputMaybe; - shipApprovalReason_ends_with?: InputMaybe; - shipApprovalReason_ends_with_nocase?: InputMaybe; - shipApprovalReason_not_ends_with?: InputMaybe; - shipApprovalReason_not_ends_with_nocase?: InputMaybe; - shipApprovalReason_?: InputMaybe; - hasShipApproved?: InputMaybe; - hasShipApproved_not?: InputMaybe; - hasShipApproved_in?: InputMaybe>; - hasShipApproved_not_in?: InputMaybe>; - amtAllocated?: InputMaybe; - amtAllocated_not?: InputMaybe; - amtAllocated_gt?: InputMaybe; - amtAllocated_lt?: InputMaybe; - amtAllocated_gte?: InputMaybe; - amtAllocated_lte?: InputMaybe; - amtAllocated_in?: InputMaybe>; - amtAllocated_not_in?: InputMaybe>; - amtDistributed?: InputMaybe; - amtDistributed_not?: InputMaybe; - amtDistributed_gt?: InputMaybe; - amtDistributed_lt?: InputMaybe; - amtDistributed_gte?: InputMaybe; - amtDistributed_lte?: InputMaybe; - amtDistributed_in?: InputMaybe>; - amtDistributed_not_in?: InputMaybe>; - allocatedBy?: InputMaybe; - allocatedBy_not?: InputMaybe; - allocatedBy_gt?: InputMaybe; - allocatedBy_lt?: InputMaybe; - allocatedBy_gte?: InputMaybe; - allocatedBy_lte?: InputMaybe; - allocatedBy_in?: InputMaybe>; - allocatedBy_not_in?: InputMaybe>; - allocatedBy_contains?: InputMaybe; - allocatedBy_not_contains?: InputMaybe; - facilitatorReason?: InputMaybe; - facilitatorReason_not?: InputMaybe; - facilitatorReason_gt?: InputMaybe; - facilitatorReason_lt?: InputMaybe; - facilitatorReason_gte?: InputMaybe; - facilitatorReason_lte?: InputMaybe; - facilitatorReason_in?: InputMaybe>; - facilitatorReason_not_in?: InputMaybe>; - facilitatorReason_contains?: InputMaybe; - facilitatorReason_contains_nocase?: InputMaybe; - facilitatorReason_not_contains?: InputMaybe; - facilitatorReason_not_contains_nocase?: InputMaybe; - facilitatorReason_starts_with?: InputMaybe; - facilitatorReason_starts_with_nocase?: InputMaybe; - facilitatorReason_not_starts_with?: InputMaybe; - facilitatorReason_not_starts_with_nocase?: InputMaybe; - facilitatorReason_ends_with?: InputMaybe; - facilitatorReason_ends_with_nocase?: InputMaybe; - facilitatorReason_not_ends_with?: InputMaybe; - facilitatorReason_not_ends_with_nocase?: InputMaybe; - facilitatorReason_?: InputMaybe; - hasFacilitatorApproved?: InputMaybe; - hasFacilitatorApproved_not?: InputMaybe; - hasFacilitatorApproved_in?: InputMaybe>; - hasFacilitatorApproved_not_in?: InputMaybe>; - milestonesApproved?: InputMaybe; - milestonesApproved_not?: InputMaybe; - milestonesApproved_in?: InputMaybe>; - milestonesApproved_not_in?: InputMaybe>; - milestonesApprovedReason?: InputMaybe; - milestonesApprovedReason_not?: InputMaybe; - milestonesApprovedReason_gt?: InputMaybe; - milestonesApprovedReason_lt?: InputMaybe; - milestonesApprovedReason_gte?: InputMaybe; - milestonesApprovedReason_lte?: InputMaybe; - milestonesApprovedReason_in?: InputMaybe>; - milestonesApprovedReason_not_in?: InputMaybe>; - milestonesApprovedReason_contains?: InputMaybe; - milestonesApprovedReason_contains_nocase?: InputMaybe; - milestonesApprovedReason_not_contains?: InputMaybe; - milestonesApprovedReason_not_contains_nocase?: InputMaybe; - milestonesApprovedReason_starts_with?: InputMaybe; - milestonesApprovedReason_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_not_starts_with?: InputMaybe; - milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_ends_with?: InputMaybe; - milestonesApprovedReason_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_not_ends_with?: InputMaybe; - milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_?: InputMaybe; - currentMilestoneRejectedReason?: InputMaybe; - currentMilestoneRejectedReason_not?: InputMaybe; - currentMilestoneRejectedReason_gt?: InputMaybe; - currentMilestoneRejectedReason_lt?: InputMaybe; - currentMilestoneRejectedReason_gte?: InputMaybe; - currentMilestoneRejectedReason_lte?: InputMaybe; - currentMilestoneRejectedReason_in?: InputMaybe>; - currentMilestoneRejectedReason_not_in?: InputMaybe>; - currentMilestoneRejectedReason_contains?: InputMaybe; - currentMilestoneRejectedReason_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_contains?: InputMaybe; - currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_starts_with?: InputMaybe; - currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_ends_with?: InputMaybe; - currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_?: InputMaybe; - resubmitHistory?: InputMaybe>; - resubmitHistory_not?: InputMaybe>; - resubmitHistory_contains?: InputMaybe>; - resubmitHistory_contains_nocase?: InputMaybe>; - resubmitHistory_not_contains?: InputMaybe>; - resubmitHistory_not_contains_nocase?: InputMaybe>; - resubmitHistory_?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Streaming cursor of the table "StemModule" */ +export type StemModule_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: StemModule_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type StemModule_stream_cursor_value_input = { + contestAddress?: InputMaybe; + contest_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + filterTag?: InputMaybe; + id?: InputMaybe; + moduleAddress?: InputMaybe; + moduleName?: InputMaybe; + moduleTemplate_id?: InputMaybe; }; -export type Grant_orderBy = +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_array_comparison_exp = { + /** is the array contained in the given array value */ + _contained_in?: InputMaybe>; + /** does the array contain the given value */ + _contains?: InputMaybe>; + _eq?: InputMaybe>; + _gt?: InputMaybe>; + _gte?: InputMaybe>; + _in?: InputMaybe>>; + _is_null?: InputMaybe; + _lt?: InputMaybe>; + _lte?: InputMaybe>; + _neq?: InputMaybe>; + _nin?: InputMaybe>>; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe; + _in?: InputMaybe>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe; + _is_null?: InputMaybe; + /** does the column match the given pattern */ + _like?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe; + _nin?: InputMaybe>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe; +}; + +/** columns and relationships of "TVParams" */ +export type TVParams = { + db_write_timestamp?: Maybe; + id: Scalars['String']; + voteDuration: Scalars['numeric']; +}; + +/** Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. */ +export type TVParams_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteDuration?: InputMaybe; +}; + +/** Ordering options when selecting data from "TVParams". */ +export type TVParams_order_by = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteDuration?: InputMaybe; +}; + +/** select columns of table "TVParams" */ +export type TVParams_select_column = + /** column name */ + | 'db_write_timestamp' + /** column name */ | 'id' - | 'projectId' - | 'projectId__id' - | 'projectId__profileId' - | 'projectId__status' - | 'projectId__nonce' - | 'projectId__name' - | 'projectId__owner' - | 'projectId__anchor' - | 'projectId__blockNumber' - | 'projectId__blockTimestamp' - | 'projectId__transactionHash' - | 'projectId__totalAmountReceived' - | 'shipId' - | 'shipId__id' - | 'shipId__profileId' - | 'shipId__nonce' - | 'shipId__name' - | 'shipId__owner' - | 'shipId__anchor' - | 'shipId__blockNumber' - | 'shipId__blockTimestamp' - | 'shipId__transactionHash' - | 'shipId__status' - | 'shipId__poolFunded' - | 'shipId__balance' - | 'shipId__shipAllocation' - | 'shipId__totalAvailableFunds' - | 'shipId__totalRoundAmount' - | 'shipId__totalAllocated' - | 'shipId__totalDistributed' - | 'shipId__shipApplicationBytesData' - | 'shipId__applicationSubmittedTime' - | 'shipId__isAwaitingApproval' - | 'shipId__hasSubmittedApplication' - | 'shipId__isApproved' - | 'shipId__approvedTime' - | 'shipId__isRejected' - | 'shipId__rejectedTime' - | 'shipId__poolId' - | 'shipId__hatId' - | 'shipId__shipContractAddress' - | 'shipId__shipLaunched' - | 'shipId__poolActive' - | 'shipId__isAllocated' - | 'shipId__isDistributed' - | 'lastUpdated' - | 'hasResubmitted' - | 'grantStatus' - | 'grantApplicationBytes' - | 'applicationSubmitted' - | 'currentMilestoneIndex' - | 'milestonesAmount' - | 'milestones' - | 'shipApprovalReason' - | 'shipApprovalReason__id' - | 'shipApprovalReason__protocol' - | 'shipApprovalReason__pointer' - | 'hasShipApproved' - | 'amtAllocated' - | 'amtDistributed' - | 'allocatedBy' - | 'facilitatorReason' - | 'facilitatorReason__id' - | 'facilitatorReason__protocol' - | 'facilitatorReason__pointer' - | 'hasFacilitatorApproved' - | 'milestonesApproved' - | 'milestonesApprovedReason' - | 'milestonesApprovedReason__id' - | 'milestonesApprovedReason__protocol' - | 'milestonesApprovedReason__pointer' - | 'currentMilestoneRejectedReason' - | 'currentMilestoneRejectedReason__id' - | 'currentMilestoneRejectedReason__protocol' - | 'currentMilestoneRejectedReason__pointer' - | 'resubmitHistory'; + /** column name */ + | 'voteDuration'; + +/** Streaming cursor of the table "TVParams" */ +export type TVParams_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: TVParams_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type TVParams_stream_cursor_value_input = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteDuration?: InputMaybe; +}; + +/** columns and relationships of "chain_metadata" */ +export type chain_metadata = { + block_height: Scalars['Int']; + chain_id: Scalars['Int']; + end_block?: Maybe; + first_event_block_number?: Maybe; + is_hyper_sync: Scalars['Boolean']; + latest_fetched_block_number: Scalars['Int']; + latest_processed_block?: Maybe; + num_batches_fetched: Scalars['Int']; + num_events_processed?: Maybe; + start_block: Scalars['Int']; + timestamp_caught_up_to_head_or_endblock?: Maybe; +}; + +/** Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. */ +export type chain_metadata_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_height?: InputMaybe; + chain_id?: InputMaybe; + end_block?: InputMaybe; + first_event_block_number?: InputMaybe; + is_hyper_sync?: InputMaybe; + latest_fetched_block_number?: InputMaybe; + latest_processed_block?: InputMaybe; + num_batches_fetched?: InputMaybe; + num_events_processed?: InputMaybe; + start_block?: InputMaybe; + timestamp_caught_up_to_head_or_endblock?: InputMaybe; +}; + +/** Ordering options when selecting data from "chain_metadata". */ +export type chain_metadata_order_by = { + block_height?: InputMaybe; + chain_id?: InputMaybe; + end_block?: InputMaybe; + first_event_block_number?: InputMaybe; + is_hyper_sync?: InputMaybe; + latest_fetched_block_number?: InputMaybe; + latest_processed_block?: InputMaybe; + num_batches_fetched?: InputMaybe; + num_events_processed?: InputMaybe; + start_block?: InputMaybe; + timestamp_caught_up_to_head_or_endblock?: InputMaybe; +}; + +/** select columns of table "chain_metadata" */ +export type chain_metadata_select_column = + /** column name */ + | 'block_height' + /** column name */ + | 'chain_id' + /** column name */ + | 'end_block' + /** column name */ + | 'first_event_block_number' + /** column name */ + | 'is_hyper_sync' + /** column name */ + | 'latest_fetched_block_number' + /** column name */ + | 'latest_processed_block' + /** column name */ + | 'num_batches_fetched' + /** column name */ + | 'num_events_processed' + /** column name */ + | 'start_block' + /** column name */ + | 'timestamp_caught_up_to_head_or_endblock'; + +/** Streaming cursor of the table "chain_metadata" */ +export type chain_metadata_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: chain_metadata_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type chain_metadata_stream_cursor_value_input = { + block_height?: InputMaybe; + chain_id?: InputMaybe; + end_block?: InputMaybe; + first_event_block_number?: InputMaybe; + is_hyper_sync?: InputMaybe; + latest_fetched_block_number?: InputMaybe; + latest_processed_block?: InputMaybe; + num_batches_fetched?: InputMaybe; + num_events_processed?: InputMaybe; + start_block?: InputMaybe; + timestamp_caught_up_to_head_or_endblock?: InputMaybe; +}; -export type Log = { - id: Scalars['ID']; - message: Scalars['String']; - description?: Maybe; - type?: Maybe; +/** Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. */ +export type contract_type_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; -export type Log_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - message?: InputMaybe; - message_not?: InputMaybe; - message_gt?: InputMaybe; - message_lt?: InputMaybe; - message_gte?: InputMaybe; - message_lte?: InputMaybe; - message_in?: InputMaybe>; - message_not_in?: InputMaybe>; - message_contains?: InputMaybe; - message_contains_nocase?: InputMaybe; - message_not_contains?: InputMaybe; - message_not_contains_nocase?: InputMaybe; - message_starts_with?: InputMaybe; - message_starts_with_nocase?: InputMaybe; - message_not_starts_with?: InputMaybe; - message_not_starts_with_nocase?: InputMaybe; - message_ends_with?: InputMaybe; - message_ends_with_nocase?: InputMaybe; - message_not_ends_with?: InputMaybe; - message_not_ends_with_nocase?: InputMaybe; - description?: InputMaybe; - description_not?: InputMaybe; - description_gt?: InputMaybe; - description_lt?: InputMaybe; - description_gte?: InputMaybe; - description_lte?: InputMaybe; - description_in?: InputMaybe>; - description_not_in?: InputMaybe>; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** ordering argument of a cursor */ +export type cursor_ordering = + /** ascending ordering of the cursor */ + | 'ASC' + /** descending ordering of the cursor */ + | 'DESC'; + +/** columns and relationships of "dynamic_contract_registry" */ +export type dynamic_contract_registry = { + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + contract_address: Scalars['String']; + contract_type: Scalars['contract_type']; + event_id: Scalars['numeric']; }; -export type Log_orderBy = - | 'id' - | 'message' - | 'description' - | 'type'; +/** Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. */ +export type dynamic_contract_registry_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_address?: InputMaybe; + contract_type?: InputMaybe; + event_id?: InputMaybe; +}; -export type Milestone = { - id: Scalars['ID']; - amountPercentage: Scalars['Bytes']; - mmetadata: Scalars['BigInt']; - amount: Scalars['BigInt']; - status: Scalars['Int']; - lastUpdated: Scalars['BigInt']; +/** Ordering options when selecting data from "dynamic_contract_registry". */ +export type dynamic_contract_registry_order_by = { + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_address?: InputMaybe; + contract_type?: InputMaybe; + event_id?: InputMaybe; }; -export type Milestone_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - amountPercentage?: InputMaybe; - amountPercentage_not?: InputMaybe; - amountPercentage_gt?: InputMaybe; - amountPercentage_lt?: InputMaybe; - amountPercentage_gte?: InputMaybe; - amountPercentage_lte?: InputMaybe; - amountPercentage_in?: InputMaybe>; - amountPercentage_not_in?: InputMaybe>; - amountPercentage_contains?: InputMaybe; - amountPercentage_not_contains?: InputMaybe; - mmetadata?: InputMaybe; - mmetadata_not?: InputMaybe; - mmetadata_gt?: InputMaybe; - mmetadata_lt?: InputMaybe; - mmetadata_gte?: InputMaybe; - mmetadata_lte?: InputMaybe; - mmetadata_in?: InputMaybe>; - mmetadata_not_in?: InputMaybe>; - amount?: InputMaybe; - amount_not?: InputMaybe; - amount_gt?: InputMaybe; - amount_lt?: InputMaybe; - amount_gte?: InputMaybe; - amount_lte?: InputMaybe; - amount_in?: InputMaybe>; - amount_not_in?: InputMaybe>; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** select columns of table "dynamic_contract_registry" */ +export type dynamic_contract_registry_select_column = + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'contract_address' + /** column name */ + | 'contract_type' + /** column name */ + | 'event_id'; + +/** Streaming cursor of the table "dynamic_contract_registry" */ +export type dynamic_contract_registry_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: dynamic_contract_registry_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type dynamic_contract_registry_stream_cursor_value_input = { + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_address?: InputMaybe; + contract_type?: InputMaybe; + event_id?: InputMaybe; +}; + +/** columns and relationships of "entity_history" */ +export type entity_history = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + /** An object relationship */ + event?: Maybe; + log_index: Scalars['Int']; + params?: Maybe; + previous_block_number?: Maybe; + previous_block_timestamp?: Maybe; + previous_chain_id?: Maybe; + previous_log_index?: Maybe; +}; + + +/** columns and relationships of "entity_history" */ +export type entity_historyparamsArgs = { + path?: InputMaybe; +}; + +/** order by aggregate values of table "entity_history" */ +export type entity_history_aggregate_order_by = { + avg?: InputMaybe; + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; + stddev?: InputMaybe; + stddev_pop?: InputMaybe; + stddev_samp?: InputMaybe; + sum?: InputMaybe; + var_pop?: InputMaybe; + var_samp?: InputMaybe; + variance?: InputMaybe; }; -export type Milestone_orderBy = - | 'id' - | 'amountPercentage' - | 'mmetadata' - | 'amount' - | 'status' - | 'lastUpdated'; +/** order by avg() on columns of table "entity_history" */ +export type entity_history_avg_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = - | 'asc' - | 'desc'; +/** Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. */ +export type entity_history_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + event?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; -export type PoolIdLookup = { - id: Scalars['ID']; - entityId: Scalars['Bytes']; +/** columns and relationships of "entity_history_filter" */ +export type entity_history_filter = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + /** An object relationship */ + event?: Maybe; + log_index: Scalars['Int']; + new_val?: Maybe; + old_val?: Maybe; + previous_block_number: Scalars['Int']; + previous_log_index: Scalars['Int']; }; -export type PoolIdLookup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - entityId?: InputMaybe; - entityId_not?: InputMaybe; - entityId_gt?: InputMaybe; - entityId_lt?: InputMaybe; - entityId_gte?: InputMaybe; - entityId_lte?: InputMaybe; - entityId_in?: InputMaybe>; - entityId_not_in?: InputMaybe>; - entityId_contains?: InputMaybe; - entityId_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +/** columns and relationships of "entity_history_filter" */ +export type entity_history_filternew_valArgs = { + path?: InputMaybe; }; -export type PoolIdLookup_orderBy = - | 'id' - | 'entityId'; -export type ProfileIdToAnchor = { - id: Scalars['ID']; - profileId: Scalars['Bytes']; - anchor: Scalars['Bytes']; +/** columns and relationships of "entity_history_filter" */ +export type entity_history_filterold_valArgs = { + path?: InputMaybe; }; -export type ProfileIdToAnchor_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. */ +export type entity_history_filter_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + event?: InputMaybe; + log_index?: InputMaybe; + new_val?: InputMaybe; + old_val?: InputMaybe; + previous_block_number?: InputMaybe; + previous_log_index?: InputMaybe; }; -export type ProfileIdToAnchor_orderBy = - | 'id' - | 'profileId' - | 'anchor'; +/** Ordering options when selecting data from "entity_history_filter". */ +export type entity_history_filter_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + event?: InputMaybe; + log_index?: InputMaybe; + new_val?: InputMaybe; + old_val?: InputMaybe; + previous_block_number?: InputMaybe; + previous_log_index?: InputMaybe; +}; -export type ProfileMemberGroup = { - id: Scalars['Bytes']; - addresses?: Maybe>; +/** select columns of table "entity_history_filter" */ +export type entity_history_filter_select_column = + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'entity_id' + /** column name */ + | 'entity_type' + /** column name */ + | 'log_index' + /** column name */ + | 'new_val' + /** column name */ + | 'old_val' + /** column name */ + | 'previous_block_number' + /** column name */ + | 'previous_log_index'; + +/** Streaming cursor of the table "entity_history_filter" */ +export type entity_history_filter_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: entity_history_filter_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; }; -export type ProfileMemberGroup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - addresses?: InputMaybe>; - addresses_not?: InputMaybe>; - addresses_contains?: InputMaybe>; - addresses_contains_nocase?: InputMaybe>; - addresses_not_contains?: InputMaybe>; - addresses_not_contains_nocase?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Initial value of the column from where the streaming should start */ +export type entity_history_filter_stream_cursor_value_input = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + log_index?: InputMaybe; + new_val?: InputMaybe; + old_val?: InputMaybe; + previous_block_number?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by max() on columns of table "entity_history" */ +export type entity_history_max_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by min() on columns of table "entity_history" */ +export type entity_history_min_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; }; -export type ProfileMemberGroup_orderBy = - | 'id' - | 'addresses'; - -export type Project = { - id: Scalars['Bytes']; - profileId: Scalars['Bytes']; - status: Scalars['Int']; - nonce: Scalars['BigInt']; - name: Scalars['String']; - metadata: RawMetadata; - owner: Scalars['Bytes']; - anchor: Scalars['Bytes']; - blockNumber: Scalars['BigInt']; - blockTimestamp: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - grants: Array; - members?: Maybe; - totalAmountReceived: Scalars['BigInt']; +/** Ordering options when selecting data from "entity_history". */ +export type entity_history_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + event?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; }; +/** select columns of table "entity_history" */ +export type entity_history_select_column = + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'entity_id' + /** column name */ + | 'entity_type' + /** column name */ + | 'log_index' + /** column name */ + | 'params' + /** column name */ + | 'previous_block_number' + /** column name */ + | 'previous_block_timestamp' + /** column name */ + | 'previous_chain_id' + /** column name */ + | 'previous_log_index'; -export type ProjectgrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; +/** order by stddev() on columns of table "entity_history" */ +export type entity_history_stddev_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; }; -export type Project_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - nonce?: InputMaybe; - nonce_not?: InputMaybe; - nonce_gt?: InputMaybe; - nonce_lt?: InputMaybe; - nonce_gte?: InputMaybe; - nonce_lte?: InputMaybe; - nonce_in?: InputMaybe>; - nonce_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - metadata?: InputMaybe; - metadata_not?: InputMaybe; - metadata_gt?: InputMaybe; - metadata_lt?: InputMaybe; - metadata_gte?: InputMaybe; - metadata_lte?: InputMaybe; - metadata_in?: InputMaybe>; - metadata_not_in?: InputMaybe>; - metadata_contains?: InputMaybe; - metadata_contains_nocase?: InputMaybe; - metadata_not_contains?: InputMaybe; - metadata_not_contains_nocase?: InputMaybe; - metadata_starts_with?: InputMaybe; - metadata_starts_with_nocase?: InputMaybe; - metadata_not_starts_with?: InputMaybe; - metadata_not_starts_with_nocase?: InputMaybe; - metadata_ends_with?: InputMaybe; - metadata_ends_with_nocase?: InputMaybe; - metadata_not_ends_with?: InputMaybe; - metadata_not_ends_with_nocase?: InputMaybe; - metadata_?: InputMaybe; - owner?: InputMaybe; - owner_not?: InputMaybe; - owner_gt?: InputMaybe; - owner_lt?: InputMaybe; - owner_gte?: InputMaybe; - owner_lte?: InputMaybe; - owner_in?: InputMaybe>; - owner_not_in?: InputMaybe>; - owner_contains?: InputMaybe; - owner_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - blockTimestamp?: InputMaybe; - blockTimestamp_not?: InputMaybe; - blockTimestamp_gt?: InputMaybe; - blockTimestamp_lt?: InputMaybe; - blockTimestamp_gte?: InputMaybe; - blockTimestamp_lte?: InputMaybe; - blockTimestamp_in?: InputMaybe>; - blockTimestamp_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - grants_?: InputMaybe; - members?: InputMaybe; - members_not?: InputMaybe; - members_gt?: InputMaybe; - members_lt?: InputMaybe; - members_gte?: InputMaybe; - members_lte?: InputMaybe; - members_in?: InputMaybe>; - members_not_in?: InputMaybe>; - members_contains?: InputMaybe; - members_contains_nocase?: InputMaybe; - members_not_contains?: InputMaybe; - members_not_contains_nocase?: InputMaybe; - members_starts_with?: InputMaybe; - members_starts_with_nocase?: InputMaybe; - members_not_starts_with?: InputMaybe; - members_not_starts_with_nocase?: InputMaybe; - members_ends_with?: InputMaybe; - members_ends_with_nocase?: InputMaybe; - members_not_ends_with?: InputMaybe; - members_not_ends_with_nocase?: InputMaybe; - members_?: InputMaybe; - totalAmountReceived?: InputMaybe; - totalAmountReceived_not?: InputMaybe; - totalAmountReceived_gt?: InputMaybe; - totalAmountReceived_lt?: InputMaybe; - totalAmountReceived_gte?: InputMaybe; - totalAmountReceived_lte?: InputMaybe; - totalAmountReceived_in?: InputMaybe>; - totalAmountReceived_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** order by stddev_pop() on columns of table "entity_history" */ +export type entity_history_stddev_pop_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "entity_history" */ +export type entity_history_stddev_samp_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; }; -export type Project_orderBy = - | 'id' - | 'profileId' - | 'status' - | 'nonce' - | 'name' - | 'metadata' - | 'metadata__id' - | 'metadata__protocol' - | 'metadata__pointer' - | 'owner' - | 'anchor' - | 'blockNumber' - | 'blockTimestamp' - | 'transactionHash' - | 'grants' - | 'members' - | 'members__id' - | 'totalAmountReceived'; +/** Streaming cursor of the table "entity_history" */ +export type entity_history_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: entity_history_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; -export type RawMetadata = { - id: Scalars['String']; - protocol: Scalars['BigInt']; - pointer: Scalars['String']; +/** Initial value of the column from where the streaming should start */ +export type entity_history_stream_cursor_value_input = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + entity_id?: InputMaybe; + entity_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; }; -export type RawMetadata_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_contains_nocase?: InputMaybe; - id_not_contains?: InputMaybe; - id_not_contains_nocase?: InputMaybe; - id_starts_with?: InputMaybe; - id_starts_with_nocase?: InputMaybe; - id_not_starts_with?: InputMaybe; - id_not_starts_with_nocase?: InputMaybe; - id_ends_with?: InputMaybe; - id_ends_with_nocase?: InputMaybe; - id_not_ends_with?: InputMaybe; - id_not_ends_with_nocase?: InputMaybe; - protocol?: InputMaybe; - protocol_not?: InputMaybe; - protocol_gt?: InputMaybe; - protocol_lt?: InputMaybe; - protocol_gte?: InputMaybe; - protocol_lte?: InputMaybe; - protocol_in?: InputMaybe>; - protocol_not_in?: InputMaybe>; - pointer?: InputMaybe; - pointer_not?: InputMaybe; - pointer_gt?: InputMaybe; - pointer_lt?: InputMaybe; - pointer_gte?: InputMaybe; - pointer_lte?: InputMaybe; - pointer_in?: InputMaybe>; - pointer_not_in?: InputMaybe>; - pointer_contains?: InputMaybe; - pointer_contains_nocase?: InputMaybe; - pointer_not_contains?: InputMaybe; - pointer_not_contains_nocase?: InputMaybe; - pointer_starts_with?: InputMaybe; - pointer_starts_with_nocase?: InputMaybe; - pointer_not_starts_with?: InputMaybe; - pointer_not_starts_with_nocase?: InputMaybe; - pointer_ends_with?: InputMaybe; - pointer_ends_with_nocase?: InputMaybe; - pointer_not_ends_with?: InputMaybe; - pointer_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** order by sum() on columns of table "entity_history" */ +export type entity_history_sum_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by var_pop() on columns of table "entity_history" */ +export type entity_history_var_pop_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by var_samp() on columns of table "entity_history" */ +export type entity_history_var_samp_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** order by variance() on columns of table "entity_history" */ +export type entity_history_variance_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + previous_block_number?: InputMaybe; + previous_block_timestamp?: InputMaybe; + previous_chain_id?: InputMaybe; + previous_log_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. */ +export type entity_type_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** columns and relationships of "event_sync_state" */ +export type event_sync_state = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + log_index: Scalars['Int']; + transaction_index: Scalars['Int']; +}; + +/** Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. */ +export type event_sync_state_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "event_sync_state". */ +export type event_sync_state_order_by = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** select columns of table "event_sync_state" */ +export type event_sync_state_select_column = + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'log_index' + /** column name */ + | 'transaction_index'; + +/** Streaming cursor of the table "event_sync_state" */ +export type event_sync_state_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: event_sync_state_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type event_sync_state_stream_cursor_value_input = { + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + log_index?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. */ +export type event_type_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type get_entity_history_filter_args = { + end_block?: InputMaybe; + end_chain_id?: InputMaybe; + end_log_index?: InputMaybe; + end_timestamp?: InputMaybe; + start_block?: InputMaybe; + start_chain_id?: InputMaybe; + start_log_index?: InputMaybe; + start_timestamp?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +export type json_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type numeric_array_comparison_exp = { + /** is the array contained in the given array value */ + _contained_in?: InputMaybe>; + /** does the array contain the given value */ + _contains?: InputMaybe>; + _eq?: InputMaybe>; + _gt?: InputMaybe>; + _gte?: InputMaybe>; + _in?: InputMaybe>>; + _is_null?: InputMaybe; + _lt?: InputMaybe>; + _lte?: InputMaybe>; + _neq?: InputMaybe>; + _nin?: InputMaybe>>; }; -export type RawMetadata_orderBy = - | 'id' - | 'protocol' - | 'pointer'; +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type numeric_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; -export type Transaction = { - id: Scalars['ID']; - blockNumber: Scalars['BigInt']; - sender: Scalars['Bytes']; - txHash: Scalars['Bytes']; +/** column ordering options */ +export type order_by = + /** in ascending order, nulls last */ + | 'asc' + /** in ascending order, nulls first */ + | 'asc_nulls_first' + /** in ascending order, nulls last */ + | 'asc_nulls_last' + /** in descending order, nulls first */ + | 'desc' + /** in descending order, nulls first */ + | 'desc_nulls_first' + /** in descending order, nulls last */ + | 'desc_nulls_last'; + +/** columns and relationships of "persisted_state" */ +export type persisted_state = { + abi_files_hash: Scalars['String']; + config_hash: Scalars['String']; + envio_version: Scalars['String']; + handler_files_hash: Scalars['String']; + id: Scalars['Int']; + schema_hash: Scalars['String']; }; -export type Transaction_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - sender?: InputMaybe; - sender_not?: InputMaybe; - sender_gt?: InputMaybe; - sender_lt?: InputMaybe; - sender_gte?: InputMaybe; - sender_lte?: InputMaybe; - sender_in?: InputMaybe>; - sender_not_in?: InputMaybe>; - sender_contains?: InputMaybe; - sender_not_contains?: InputMaybe; - txHash?: InputMaybe; - txHash_not?: InputMaybe; - txHash_gt?: InputMaybe; - txHash_lt?: InputMaybe; - txHash_gte?: InputMaybe; - txHash_lte?: InputMaybe; - txHash_in?: InputMaybe>; - txHash_not_in?: InputMaybe>; - txHash_contains?: InputMaybe; - txHash_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. */ +export type persisted_state_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; }; -export type Transaction_orderBy = +/** Ordering options when selecting data from "persisted_state". */ +export type persisted_state_order_by = { + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; +}; + +/** select columns of table "persisted_state" */ +export type persisted_state_select_column = + /** column name */ + | 'abi_files_hash' + /** column name */ + | 'config_hash' + /** column name */ + | 'envio_version' + /** column name */ + | 'handler_files_hash' + /** column name */ | 'id' - | 'blockNumber' - | 'sender' - | 'txHash'; + /** column name */ + | 'schema_hash'; -export type Update = { - id: Scalars['ID']; - scope: Scalars['Int']; - posterRole: Scalars['Int']; - entityAddress: Scalars['Bytes']; - postedBy: Scalars['Bytes']; - content: RawMetadata; - contentSchema: Scalars['Int']; - postDecorator: Scalars['Int']; - timestamp: Scalars['BigInt']; +/** Streaming cursor of the table "persisted_state" */ +export type persisted_state_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: persisted_state_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; }; -export type Update_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - scope?: InputMaybe; - scope_not?: InputMaybe; - scope_gt?: InputMaybe; - scope_lt?: InputMaybe; - scope_gte?: InputMaybe; - scope_lte?: InputMaybe; - scope_in?: InputMaybe>; - scope_not_in?: InputMaybe>; - posterRole?: InputMaybe; - posterRole_not?: InputMaybe; - posterRole_gt?: InputMaybe; - posterRole_lt?: InputMaybe; - posterRole_gte?: InputMaybe; - posterRole_lte?: InputMaybe; - posterRole_in?: InputMaybe>; - posterRole_not_in?: InputMaybe>; - entityAddress?: InputMaybe; - entityAddress_not?: InputMaybe; - entityAddress_gt?: InputMaybe; - entityAddress_lt?: InputMaybe; - entityAddress_gte?: InputMaybe; - entityAddress_lte?: InputMaybe; - entityAddress_in?: InputMaybe>; - entityAddress_not_in?: InputMaybe>; - entityAddress_contains?: InputMaybe; - entityAddress_not_contains?: InputMaybe; - postedBy?: InputMaybe; - postedBy_not?: InputMaybe; - postedBy_gt?: InputMaybe; - postedBy_lt?: InputMaybe; - postedBy_gte?: InputMaybe; - postedBy_lte?: InputMaybe; - postedBy_in?: InputMaybe>; - postedBy_not_in?: InputMaybe>; - postedBy_contains?: InputMaybe; - postedBy_not_contains?: InputMaybe; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - content_?: InputMaybe; - contentSchema?: InputMaybe; - contentSchema_not?: InputMaybe; - contentSchema_gt?: InputMaybe; - contentSchema_lt?: InputMaybe; - contentSchema_gte?: InputMaybe; - contentSchema_lte?: InputMaybe; - contentSchema_in?: InputMaybe>; - contentSchema_not_in?: InputMaybe>; - postDecorator?: InputMaybe; - postDecorator_not?: InputMaybe; - postDecorator_gt?: InputMaybe; - postDecorator_lt?: InputMaybe; - postDecorator_gte?: InputMaybe; - postDecorator_lte?: InputMaybe; - postDecorator_in?: InputMaybe>; - postDecorator_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +/** Initial value of the column from where the streaming should start */ +export type persisted_state_stream_cursor_value_input = { + abi_files_hash?: InputMaybe; + config_hash?: InputMaybe; + envio_version?: InputMaybe; + handler_files_hash?: InputMaybe; + id?: InputMaybe; + schema_hash?: InputMaybe; +}; + +/** columns and relationships of "raw_events" */ +export type raw_events = { + block_hash: Scalars['String']; + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + db_write_timestamp?: Maybe; + /** An array relationship */ + event_history: Array; + event_id: Scalars['numeric']; + event_type: Scalars['event_type']; + log_index: Scalars['Int']; + params: Scalars['json']; + src_address: Scalars['String']; + transaction_hash: Scalars['String']; + transaction_index: Scalars['Int']; }; -export type Update_orderBy = - | 'id' - | 'scope' - | 'posterRole' - | 'entityAddress' - | 'postedBy' - | 'content' - | 'content__id' - | 'content__protocol' - | 'content__pointer' - | 'contentSchema' - | 'postDecorator' - | 'timestamp'; -export type _Block_ = { - /** The hash of the block */ - hash?: Maybe; - /** The block number */ - number: Scalars['Int']; - /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp?: Maybe; - /** The hash of the parent block */ - parentHash?: Maybe; +/** columns and relationships of "raw_events" */ +export type raw_eventsevent_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** The type for the top-level _meta field */ -export type _Meta_ = { - /** - * Information about a specific subgraph block. The hash of the block - * will be null if the _meta field has a block constraint that asks for - * a block number. It will be filled if the _meta field has no block constraint - * and therefore asks for the latest block - * - */ - block: _Block_; - /** The deployment ID */ - deployment: Scalars['String']; - /** If `true`, the subgraph encountered indexing errors at some past block */ - hasIndexingErrors: Scalars['Boolean']; + +/** columns and relationships of "raw_events" */ +export type raw_eventsparamsArgs = { + path?: InputMaybe; }; -export type _SubgraphErrorPolicy_ = - /** Data will be returned even if the subgraph has indexing errors */ - | 'allow' - /** If the subgraph has indexing errors, data will be omitted. The default. */ - | 'deny'; +/** Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. */ +export type raw_events_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_history?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Ordering options when selecting data from "raw_events". */ +export type raw_events_order_by = { + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_history_aggregate?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** select columns of table "raw_events" */ +export type raw_events_select_column = + /** column name */ + | 'block_hash' + /** column name */ + | 'block_number' + /** column name */ + | 'block_timestamp' + /** column name */ + | 'chain_id' + /** column name */ + | 'db_write_timestamp' + /** column name */ + | 'event_id' + /** column name */ + | 'event_type' + /** column name */ + | 'log_index' + /** column name */ + | 'params' + /** column name */ + | 'src_address' + /** column name */ + | 'transaction_hash' + /** column name */ + | 'transaction_index'; + +/** Streaming cursor of the table "raw_events" */ +export type raw_events_stream_cursor_input = { + /** Stream column input with initial value */ + initial_value: raw_events_stream_cursor_value_input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type raw_events_stream_cursor_value_input = { + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + db_write_timestamp?: InputMaybe; + event_id?: InputMaybe; + event_type?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + src_address?: InputMaybe; + transaction_hash?: InputMaybe; + transaction_index?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +export type timestamp_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type timestamptz_comparison_exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; export type WithIndex = TObject & Record; export type ResolversObject = WithIndex; @@ -7277,7 +7283,80 @@ export type DirectiveResolverFn; Subscription: ResolverTypeWrapper<{}>; + Aggregation_interval: Aggregation_interval; + ApplicationHistory: ResolverTypeWrapper; + ApplicationHistory_filter: ApplicationHistory_filter; + ApplicationHistory_orderBy: ApplicationHistory_orderBy; + BigDecimal: ResolverTypeWrapper; + BigInt: ResolverTypeWrapper; + BlockChangedFilter: BlockChangedFilter; + Block_height: Block_height; Boolean: ResolverTypeWrapper; + Bytes: ResolverTypeWrapper; + FeedItem: ResolverTypeWrapper; + FeedItemEmbed: ResolverTypeWrapper; + FeedItemEmbed_filter: FeedItemEmbed_filter; + FeedItemEmbed_orderBy: FeedItemEmbed_orderBy; + FeedItemEntity: ResolverTypeWrapper; + FeedItemEntity_filter: FeedItemEntity_filter; + FeedItemEntity_orderBy: FeedItemEntity_orderBy; + FeedItem_filter: FeedItem_filter; + FeedItem_orderBy: FeedItem_orderBy; + Float: ResolverTypeWrapper; + GameManager: ResolverTypeWrapper; + GameManager_filter: GameManager_filter; + GameManager_orderBy: GameManager_orderBy; + GameRound: ResolverTypeWrapper; + GameRound_filter: GameRound_filter; + GameRound_orderBy: GameRound_orderBy; + GmDeployment: ResolverTypeWrapper; + GmDeployment_filter: GmDeployment_filter; + GmDeployment_orderBy: GmDeployment_orderBy; + GmVersion: ResolverTypeWrapper; + GmVersion_filter: GmVersion_filter; + GmVersion_orderBy: GmVersion_orderBy; + Grant: ResolverTypeWrapper; + GrantShip: ResolverTypeWrapper; + GrantShip_filter: GrantShip_filter; + GrantShip_orderBy: GrantShip_orderBy; + Grant_filter: Grant_filter; + Grant_orderBy: Grant_orderBy; + ID: ResolverTypeWrapper; + Int: ResolverTypeWrapper; + Int8: ResolverTypeWrapper; + Log: ResolverTypeWrapper; + Log_filter: Log_filter; + Log_orderBy: Log_orderBy; + Milestone: ResolverTypeWrapper; + Milestone_filter: Milestone_filter; + Milestone_orderBy: Milestone_orderBy; + OrderDirection: OrderDirection; + PoolIdLookup: ResolverTypeWrapper; + PoolIdLookup_filter: PoolIdLookup_filter; + PoolIdLookup_orderBy: PoolIdLookup_orderBy; + ProfileIdToAnchor: ResolverTypeWrapper; + ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; + ProfileIdToAnchor_orderBy: ProfileIdToAnchor_orderBy; + ProfileMemberGroup: ResolverTypeWrapper; + ProfileMemberGroup_filter: ProfileMemberGroup_filter; + ProfileMemberGroup_orderBy: ProfileMemberGroup_orderBy; + Project: ResolverTypeWrapper; + Project_filter: Project_filter; + Project_orderBy: Project_orderBy; + RawMetadata: ResolverTypeWrapper; + RawMetadata_filter: RawMetadata_filter; + RawMetadata_orderBy: RawMetadata_orderBy; + String: ResolverTypeWrapper; + Timestamp: ResolverTypeWrapper; + Transaction: ResolverTypeWrapper; + Transaction_filter: Transaction_filter; + Transaction_orderBy: Transaction_orderBy; + Update: ResolverTypeWrapper; + Update_filter: Update_filter; + Update_orderBy: Update_orderBy; + _Block_: ResolverTypeWrapper<_Block_>; + _Meta_: ResolverTypeWrapper<_Meta_>; + _SubgraphErrorPolicy_: _SubgraphErrorPolicy_; Boolean_comparison_exp: Boolean_comparison_exp; Contest: ResolverTypeWrapper; ContestClone: ResolverTypeWrapper; @@ -7356,7 +7435,6 @@ export type ResolversTypes = ResolversObject<{ HatsPoster_select_column: HatsPoster_select_column; HatsPoster_stream_cursor_input: HatsPoster_stream_cursor_input; HatsPoster_stream_cursor_value_input: HatsPoster_stream_cursor_value_input; - Int: ResolverTypeWrapper; Int_comparison_exp: Int_comparison_exp; LocalLog: ResolverTypeWrapper; LocalLog_bool_exp: LocalLog_bool_exp; @@ -7427,7 +7505,7 @@ export type ResolversTypes = ResolversObject<{ StemModule_select_column: StemModule_select_column; StemModule_stream_cursor_input: StemModule_stream_cursor_input; StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; - String: ResolverTypeWrapper; + String_array_comparison_exp: String_array_comparison_exp; String_comparison_exp: String_comparison_exp; TVParams: ResolverTypeWrapper; TVParams_bool_exp: TVParams_bool_exp; @@ -7435,10 +7513,6 @@ export type ResolversTypes = ResolversObject<{ TVParams_select_column: TVParams_select_column; TVParams_stream_cursor_input: TVParams_stream_cursor_input; TVParams_stream_cursor_value_input: TVParams_stream_cursor_value_input; - _numeric: ResolverTypeWrapper; - _numeric_comparison_exp: _numeric_comparison_exp; - _text: ResolverTypeWrapper; - _text_comparison_exp: _text_comparison_exp; chain_metadata: ResolverTypeWrapper; chain_metadata_bool_exp: chain_metadata_bool_exp; chain_metadata_order_by: chain_metadata_order_by; @@ -7491,6 +7565,7 @@ export type ResolversTypes = ResolversObject<{ json: ResolverTypeWrapper; json_comparison_exp: json_comparison_exp; numeric: ResolverTypeWrapper; + numeric_array_comparison_exp: numeric_array_comparison_exp; numeric_comparison_exp: numeric_comparison_exp; order_by: order_by; persisted_state: ResolverTypeWrapper; @@ -7509,84 +7584,64 @@ export type ResolversTypes = ResolversObject<{ timestamp_comparison_exp: timestamp_comparison_exp; timestamptz: ResolverTypeWrapper; timestamptz_comparison_exp: timestamptz_comparison_exp; - Aggregation_interval: Aggregation_interval; - ApplicationHistory: ResolverTypeWrapper; - ApplicationHistory_filter: ApplicationHistory_filter; - ApplicationHistory_orderBy: ApplicationHistory_orderBy; - BigDecimal: ResolverTypeWrapper; - BigInt: ResolverTypeWrapper; +}>; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = ResolversObject<{ + Query: {}; + Subscription: {}; + ApplicationHistory: ApplicationHistory; + ApplicationHistory_filter: ApplicationHistory_filter; + BigDecimal: Scalars['BigDecimal']; + BigInt: Scalars['BigInt']; BlockChangedFilter: BlockChangedFilter; Block_height: Block_height; - Bytes: ResolverTypeWrapper; - FeedItem: ResolverTypeWrapper; - FeedItemEmbed: ResolverTypeWrapper; + Boolean: Scalars['Boolean']; + Bytes: Scalars['Bytes']; + FeedItem: FeedItem; + FeedItemEmbed: FeedItemEmbed; FeedItemEmbed_filter: FeedItemEmbed_filter; - FeedItemEmbed_orderBy: FeedItemEmbed_orderBy; - FeedItemEntity: ResolverTypeWrapper; + FeedItemEntity: FeedItemEntity; FeedItemEntity_filter: FeedItemEntity_filter; - FeedItemEntity_orderBy: FeedItemEntity_orderBy; FeedItem_filter: FeedItem_filter; - FeedItem_orderBy: FeedItem_orderBy; - Float: ResolverTypeWrapper; - GameManager: ResolverTypeWrapper; + Float: Scalars['Float']; + GameManager: GameManager; GameManager_filter: GameManager_filter; - GameManager_orderBy: GameManager_orderBy; - GameRound: ResolverTypeWrapper; + GameRound: GameRound; GameRound_filter: GameRound_filter; - GameRound_orderBy: GameRound_orderBy; - GmDeployment: ResolverTypeWrapper; + GmDeployment: GmDeployment; GmDeployment_filter: GmDeployment_filter; - GmDeployment_orderBy: GmDeployment_orderBy; - GmVersion: ResolverTypeWrapper; + GmVersion: GmVersion; GmVersion_filter: GmVersion_filter; - GmVersion_orderBy: GmVersion_orderBy; - Grant: ResolverTypeWrapper; - GrantShip: ResolverTypeWrapper; + Grant: Grant; + GrantShip: GrantShip; GrantShip_filter: GrantShip_filter; - GrantShip_orderBy: GrantShip_orderBy; Grant_filter: Grant_filter; - Grant_orderBy: Grant_orderBy; - ID: ResolverTypeWrapper; - Int8: ResolverTypeWrapper; - Log: ResolverTypeWrapper; + ID: Scalars['ID']; + Int: Scalars['Int']; + Int8: Scalars['Int8']; + Log: Log; Log_filter: Log_filter; - Log_orderBy: Log_orderBy; - Milestone: ResolverTypeWrapper; + Milestone: Milestone; Milestone_filter: Milestone_filter; - Milestone_orderBy: Milestone_orderBy; - OrderDirection: OrderDirection; - PoolIdLookup: ResolverTypeWrapper; + PoolIdLookup: PoolIdLookup; PoolIdLookup_filter: PoolIdLookup_filter; - PoolIdLookup_orderBy: PoolIdLookup_orderBy; - ProfileIdToAnchor: ResolverTypeWrapper; + ProfileIdToAnchor: ProfileIdToAnchor; ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; - ProfileIdToAnchor_orderBy: ProfileIdToAnchor_orderBy; - ProfileMemberGroup: ResolverTypeWrapper; + ProfileMemberGroup: ProfileMemberGroup; ProfileMemberGroup_filter: ProfileMemberGroup_filter; - ProfileMemberGroup_orderBy: ProfileMemberGroup_orderBy; - Project: ResolverTypeWrapper; + Project: Project; Project_filter: Project_filter; - Project_orderBy: Project_orderBy; - RawMetadata: ResolverTypeWrapper; + RawMetadata: RawMetadata; RawMetadata_filter: RawMetadata_filter; - RawMetadata_orderBy: RawMetadata_orderBy; - Timestamp: ResolverTypeWrapper; - Transaction: ResolverTypeWrapper; + String: Scalars['String']; + Timestamp: Scalars['Timestamp']; + Transaction: Transaction; Transaction_filter: Transaction_filter; - Transaction_orderBy: Transaction_orderBy; - Update: ResolverTypeWrapper; + Update: Update; Update_filter: Update_filter; - Update_orderBy: Update_orderBy; - _Block_: ResolverTypeWrapper<_Block_>; - _Meta_: ResolverTypeWrapper<_Meta_>; - _SubgraphErrorPolicy_: _SubgraphErrorPolicy_; -}>; - -/** Mapping between all available schema types and the resolvers parents */ -export type ResolversParentTypes = ResolversObject<{ - Query: {}; - Subscription: {}; - Boolean: Scalars['Boolean']; + _Block_: _Block_; + _Meta_: _Meta_; Boolean_comparison_exp: Boolean_comparison_exp; Contest: Contest; ContestClone: ContestClone; @@ -7654,7 +7709,6 @@ export type ResolversParentTypes = ResolversObject<{ HatsPoster_order_by: HatsPoster_order_by; HatsPoster_stream_cursor_input: HatsPoster_stream_cursor_input; HatsPoster_stream_cursor_value_input: HatsPoster_stream_cursor_value_input; - Int: Scalars['Int']; Int_comparison_exp: Int_comparison_exp; LocalLog: LocalLog; LocalLog_bool_exp: LocalLog_bool_exp; @@ -7719,17 +7773,13 @@ export type ResolversParentTypes = ResolversObject<{ StemModule_order_by: StemModule_order_by; StemModule_stream_cursor_input: StemModule_stream_cursor_input; StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; - String: Scalars['String']; + String_array_comparison_exp: String_array_comparison_exp; String_comparison_exp: String_comparison_exp; TVParams: TVParams; TVParams_bool_exp: TVParams_bool_exp; TVParams_order_by: TVParams_order_by; TVParams_stream_cursor_input: TVParams_stream_cursor_input; TVParams_stream_cursor_value_input: TVParams_stream_cursor_value_input; - _numeric: Scalars['_numeric']; - _numeric_comparison_exp: _numeric_comparison_exp; - _text: Scalars['_text']; - _text_comparison_exp: _text_comparison_exp; chain_metadata: chain_metadata; chain_metadata_bool_exp: chain_metadata_bool_exp; chain_metadata_order_by: chain_metadata_order_by; @@ -7776,6 +7826,7 @@ export type ResolversParentTypes = ResolversObject<{ json: Scalars['json']; json_comparison_exp: json_comparison_exp; numeric: Scalars['numeric']; + numeric_array_comparison_exp: numeric_array_comparison_exp; numeric_comparison_exp: numeric_comparison_exp; persisted_state: persisted_state; persisted_state_bool_exp: persisted_state_bool_exp; @@ -7791,64 +7842,8 @@ export type ResolversParentTypes = ResolversObject<{ timestamp_comparison_exp: timestamp_comparison_exp; timestamptz: Scalars['timestamptz']; timestamptz_comparison_exp: timestamptz_comparison_exp; - ApplicationHistory: ApplicationHistory; - ApplicationHistory_filter: ApplicationHistory_filter; - BigDecimal: Scalars['BigDecimal']; - BigInt: Scalars['BigInt']; - BlockChangedFilter: BlockChangedFilter; - Block_height: Block_height; - Bytes: Scalars['Bytes']; - FeedItem: FeedItem; - FeedItemEmbed: FeedItemEmbed; - FeedItemEmbed_filter: FeedItemEmbed_filter; - FeedItemEntity: FeedItemEntity; - FeedItemEntity_filter: FeedItemEntity_filter; - FeedItem_filter: FeedItem_filter; - Float: Scalars['Float']; - GameManager: GameManager; - GameManager_filter: GameManager_filter; - GameRound: GameRound; - GameRound_filter: GameRound_filter; - GmDeployment: GmDeployment; - GmDeployment_filter: GmDeployment_filter; - GmVersion: GmVersion; - GmVersion_filter: GmVersion_filter; - Grant: Grant; - GrantShip: GrantShip; - GrantShip_filter: GrantShip_filter; - Grant_filter: Grant_filter; - ID: Scalars['ID']; - Int8: Scalars['Int8']; - Log: Log; - Log_filter: Log_filter; - Milestone: Milestone; - Milestone_filter: Milestone_filter; - PoolIdLookup: PoolIdLookup; - PoolIdLookup_filter: PoolIdLookup_filter; - ProfileIdToAnchor: ProfileIdToAnchor; - ProfileIdToAnchor_filter: ProfileIdToAnchor_filter; - ProfileMemberGroup: ProfileMemberGroup; - ProfileMemberGroup_filter: ProfileMemberGroup_filter; - Project: Project; - Project_filter: Project_filter; - RawMetadata: RawMetadata; - RawMetadata_filter: RawMetadata_filter; - Timestamp: Scalars['Timestamp']; - Transaction: Transaction; - Transaction_filter: Transaction_filter; - Update: Update; - Update_filter: Update_filter; - _Block_: _Block_; - _Meta_: _Meta_; }>; -export type cachedDirectiveArgs = { - ttl?: Scalars['Int']; - refresh?: Scalars['Boolean']; -}; - -export type cachedDirectiveResolver = DirectiveResolverFn; - export type entityDirectiveArgs = { }; export type entityDirectiveResolver = DirectiveResolverFn; @@ -7865,7 +7860,53 @@ export type derivedFromDirectiveArgs = { export type derivedFromDirectiveResolver = DirectiveResolverFn; +export type cachedDirectiveArgs = { + ttl?: Scalars['Int']; + refresh?: Scalars['Boolean']; +}; + +export type cachedDirectiveResolver = DirectiveResolverFn; + export type QueryResolvers = ResolversObject<{ + project?: Resolver, ParentType, ContextType, RequireFields>; + projects?: Resolver, ParentType, ContextType, RequireFields>; + feedItem?: Resolver, ParentType, ContextType, RequireFields>; + feedItems?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEntity?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEntities?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEmbed?: Resolver, ParentType, ContextType, RequireFields>; + feedItemEmbeds?: Resolver, ParentType, ContextType, RequireFields>; + update?: Resolver, ParentType, ContextType, RequireFields>; + updates?: Resolver, ParentType, ContextType, RequireFields>; + grantShip?: Resolver, ParentType, ContextType, RequireFields>; + grantShips?: Resolver, ParentType, ContextType, RequireFields>; + poolIdLookup?: Resolver, ParentType, ContextType, RequireFields>; + poolIdLookups?: Resolver, ParentType, ContextType, RequireFields>; + gameManager?: Resolver, ParentType, ContextType, RequireFields>; + gameManagers?: Resolver, ParentType, ContextType, RequireFields>; + gameRound?: Resolver, ParentType, ContextType, RequireFields>; + gameRounds?: Resolver, ParentType, ContextType, RequireFields>; + applicationHistory?: Resolver, ParentType, ContextType, RequireFields>; + applicationHistories?: Resolver, ParentType, ContextType, RequireFields>; + grant?: Resolver, ParentType, ContextType, RequireFields>; + grants?: Resolver, ParentType, ContextType, RequireFields>; + milestone?: Resolver, ParentType, ContextType, RequireFields>; + milestones?: Resolver, ParentType, ContextType, RequireFields>; + profileIdToAnchor?: Resolver, ParentType, ContextType, RequireFields>; + profileIdToAnchors?: Resolver, ParentType, ContextType, RequireFields>; + profileMemberGroup?: Resolver, ParentType, ContextType, RequireFields>; + profileMemberGroups?: Resolver, ParentType, ContextType, RequireFields>; + transaction?: Resolver, ParentType, ContextType, RequireFields>; + transactions?: Resolver, ParentType, ContextType, RequireFields>; + rawMetadata?: Resolver, ParentType, ContextType, RequireFields>; + rawMetadata_collection?: Resolver, ParentType, ContextType, RequireFields>; + log?: Resolver, ParentType, ContextType, RequireFields>; + logs?: Resolver, ParentType, ContextType, RequireFields>; + gmVersion?: Resolver, ParentType, ContextType, RequireFields>; + gmVersions?: Resolver, ParentType, ContextType, RequireFields>; + gmDeployment?: Resolver, ParentType, ContextType, RequireFields>; + gmDeployments?: Resolver, ParentType, ContextType, RequireFields>; + _meta?: Resolver, ParentType, ContextType, Partial>; Contest?: Resolver, ParentType, ContextType, Partial>; ContestClone?: Resolver, ParentType, ContextType, Partial>; ContestClone_by_pk?: Resolver, ParentType, ContextType, RequireFields>; @@ -7917,48 +7958,48 @@ export type QueryResolvers, ParentType, ContextType, RequireFields>; raw_events?: Resolver, ParentType, ContextType, Partial>; raw_events_by_pk?: Resolver, ParentType, ContextType, RequireFields>; - project?: Resolver, ParentType, ContextType, RequireFields>; - projects?: Resolver, ParentType, ContextType, RequireFields>; - feedItem?: Resolver, ParentType, ContextType, RequireFields>; - feedItems?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEntity?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEntities?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEmbed?: Resolver, ParentType, ContextType, RequireFields>; - feedItemEmbeds?: Resolver, ParentType, ContextType, RequireFields>; - update?: Resolver, ParentType, ContextType, RequireFields>; - updates?: Resolver, ParentType, ContextType, RequireFields>; - grantShip?: Resolver, ParentType, ContextType, RequireFields>; - grantShips?: Resolver, ParentType, ContextType, RequireFields>; - poolIdLookup?: Resolver, ParentType, ContextType, RequireFields>; - poolIdLookups?: Resolver, ParentType, ContextType, RequireFields>; - gameManager?: Resolver, ParentType, ContextType, RequireFields>; - gameManagers?: Resolver, ParentType, ContextType, RequireFields>; - gameRound?: Resolver, ParentType, ContextType, RequireFields>; - gameRounds?: Resolver, ParentType, ContextType, RequireFields>; - applicationHistory?: Resolver, ParentType, ContextType, RequireFields>; - applicationHistories?: Resolver, ParentType, ContextType, RequireFields>; - grant?: Resolver, ParentType, ContextType, RequireFields>; - grants?: Resolver, ParentType, ContextType, RequireFields>; - milestone?: Resolver, ParentType, ContextType, RequireFields>; - milestones?: Resolver, ParentType, ContextType, RequireFields>; - profileIdToAnchor?: Resolver, ParentType, ContextType, RequireFields>; - profileIdToAnchors?: Resolver, ParentType, ContextType, RequireFields>; - profileMemberGroup?: Resolver, ParentType, ContextType, RequireFields>; - profileMemberGroups?: Resolver, ParentType, ContextType, RequireFields>; - transaction?: Resolver, ParentType, ContextType, RequireFields>; - transactions?: Resolver, ParentType, ContextType, RequireFields>; - rawMetadata?: Resolver, ParentType, ContextType, RequireFields>; - rawMetadata_collection?: Resolver, ParentType, ContextType, RequireFields>; - log?: Resolver, ParentType, ContextType, RequireFields>; - logs?: Resolver, ParentType, ContextType, RequireFields>; - gmVersion?: Resolver, ParentType, ContextType, RequireFields>; - gmVersions?: Resolver, ParentType, ContextType, RequireFields>; - gmDeployment?: Resolver, ParentType, ContextType, RequireFields>; - gmDeployments?: Resolver, ParentType, ContextType, RequireFields>; - _meta?: Resolver, ParentType, ContextType, Partial>; }>; export type SubscriptionResolvers = ResolversObject<{ + project?: SubscriptionResolver, "project", ParentType, ContextType, RequireFields>; + projects?: SubscriptionResolver, "projects", ParentType, ContextType, RequireFields>; + feedItem?: SubscriptionResolver, "feedItem", ParentType, ContextType, RequireFields>; + feedItems?: SubscriptionResolver, "feedItems", ParentType, ContextType, RequireFields>; + feedItemEntity?: SubscriptionResolver, "feedItemEntity", ParentType, ContextType, RequireFields>; + feedItemEntities?: SubscriptionResolver, "feedItemEntities", ParentType, ContextType, RequireFields>; + feedItemEmbed?: SubscriptionResolver, "feedItemEmbed", ParentType, ContextType, RequireFields>; + feedItemEmbeds?: SubscriptionResolver, "feedItemEmbeds", ParentType, ContextType, RequireFields>; + update?: SubscriptionResolver, "update", ParentType, ContextType, RequireFields>; + updates?: SubscriptionResolver, "updates", ParentType, ContextType, RequireFields>; + grantShip?: SubscriptionResolver, "grantShip", ParentType, ContextType, RequireFields>; + grantShips?: SubscriptionResolver, "grantShips", ParentType, ContextType, RequireFields>; + poolIdLookup?: SubscriptionResolver, "poolIdLookup", ParentType, ContextType, RequireFields>; + poolIdLookups?: SubscriptionResolver, "poolIdLookups", ParentType, ContextType, RequireFields>; + gameManager?: SubscriptionResolver, "gameManager", ParentType, ContextType, RequireFields>; + gameManagers?: SubscriptionResolver, "gameManagers", ParentType, ContextType, RequireFields>; + gameRound?: SubscriptionResolver, "gameRound", ParentType, ContextType, RequireFields>; + gameRounds?: SubscriptionResolver, "gameRounds", ParentType, ContextType, RequireFields>; + applicationHistory?: SubscriptionResolver, "applicationHistory", ParentType, ContextType, RequireFields>; + applicationHistories?: SubscriptionResolver, "applicationHistories", ParentType, ContextType, RequireFields>; + grant?: SubscriptionResolver, "grant", ParentType, ContextType, RequireFields>; + grants?: SubscriptionResolver, "grants", ParentType, ContextType, RequireFields>; + milestone?: SubscriptionResolver, "milestone", ParentType, ContextType, RequireFields>; + milestones?: SubscriptionResolver, "milestones", ParentType, ContextType, RequireFields>; + profileIdToAnchor?: SubscriptionResolver, "profileIdToAnchor", ParentType, ContextType, RequireFields>; + profileIdToAnchors?: SubscriptionResolver, "profileIdToAnchors", ParentType, ContextType, RequireFields>; + profileMemberGroup?: SubscriptionResolver, "profileMemberGroup", ParentType, ContextType, RequireFields>; + profileMemberGroups?: SubscriptionResolver, "profileMemberGroups", ParentType, ContextType, RequireFields>; + transaction?: SubscriptionResolver, "transaction", ParentType, ContextType, RequireFields>; + transactions?: SubscriptionResolver, "transactions", ParentType, ContextType, RequireFields>; + rawMetadata?: SubscriptionResolver, "rawMetadata", ParentType, ContextType, RequireFields>; + rawMetadata_collection?: SubscriptionResolver, "rawMetadata_collection", ParentType, ContextType, RequireFields>; + log?: SubscriptionResolver, "log", ParentType, ContextType, RequireFields>; + logs?: SubscriptionResolver, "logs", ParentType, ContextType, RequireFields>; + gmVersion?: SubscriptionResolver, "gmVersion", ParentType, ContextType, RequireFields>; + gmVersions?: SubscriptionResolver, "gmVersions", ParentType, ContextType, RequireFields>; + gmDeployment?: SubscriptionResolver, "gmDeployment", ParentType, ContextType, RequireFields>; + gmDeployments?: SubscriptionResolver, "gmDeployments", ParentType, ContextType, RequireFields>; + _meta?: SubscriptionResolver, "_meta", ParentType, ContextType, Partial>; Contest?: SubscriptionResolver, "Contest", ParentType, ContextType, Partial>; ContestClone?: SubscriptionResolver, "ContestClone", ParentType, ContextType, Partial>; ContestClone_by_pk?: SubscriptionResolver, "ContestClone_by_pk", ParentType, ContextType, RequireFields>; @@ -8035,659 +8076,638 @@ export type SubscriptionResolvers, "raw_events", ParentType, ContextType, Partial>; raw_events_by_pk?: SubscriptionResolver, "raw_events_by_pk", ParentType, ContextType, RequireFields>; raw_events_stream?: SubscriptionResolver, "raw_events_stream", ParentType, ContextType, RequireFields>; - project?: SubscriptionResolver, "project", ParentType, ContextType, RequireFields>; - projects?: SubscriptionResolver, "projects", ParentType, ContextType, RequireFields>; - feedItem?: SubscriptionResolver, "feedItem", ParentType, ContextType, RequireFields>; - feedItems?: SubscriptionResolver, "feedItems", ParentType, ContextType, RequireFields>; - feedItemEntity?: SubscriptionResolver, "feedItemEntity", ParentType, ContextType, RequireFields>; - feedItemEntities?: SubscriptionResolver, "feedItemEntities", ParentType, ContextType, RequireFields>; - feedItemEmbed?: SubscriptionResolver, "feedItemEmbed", ParentType, ContextType, RequireFields>; - feedItemEmbeds?: SubscriptionResolver, "feedItemEmbeds", ParentType, ContextType, RequireFields>; - update?: SubscriptionResolver, "update", ParentType, ContextType, RequireFields>; - updates?: SubscriptionResolver, "updates", ParentType, ContextType, RequireFields>; - grantShip?: SubscriptionResolver, "grantShip", ParentType, ContextType, RequireFields>; - grantShips?: SubscriptionResolver, "grantShips", ParentType, ContextType, RequireFields>; - poolIdLookup?: SubscriptionResolver, "poolIdLookup", ParentType, ContextType, RequireFields>; - poolIdLookups?: SubscriptionResolver, "poolIdLookups", ParentType, ContextType, RequireFields>; - gameManager?: SubscriptionResolver, "gameManager", ParentType, ContextType, RequireFields>; - gameManagers?: SubscriptionResolver, "gameManagers", ParentType, ContextType, RequireFields>; - gameRound?: SubscriptionResolver, "gameRound", ParentType, ContextType, RequireFields>; - gameRounds?: SubscriptionResolver, "gameRounds", ParentType, ContextType, RequireFields>; - applicationHistory?: SubscriptionResolver, "applicationHistory", ParentType, ContextType, RequireFields>; - applicationHistories?: SubscriptionResolver, "applicationHistories", ParentType, ContextType, RequireFields>; - grant?: SubscriptionResolver, "grant", ParentType, ContextType, RequireFields>; - grants?: SubscriptionResolver, "grants", ParentType, ContextType, RequireFields>; - milestone?: SubscriptionResolver, "milestone", ParentType, ContextType, RequireFields>; - milestones?: SubscriptionResolver, "milestones", ParentType, ContextType, RequireFields>; - profileIdToAnchor?: SubscriptionResolver, "profileIdToAnchor", ParentType, ContextType, RequireFields>; - profileIdToAnchors?: SubscriptionResolver, "profileIdToAnchors", ParentType, ContextType, RequireFields>; - profileMemberGroup?: SubscriptionResolver, "profileMemberGroup", ParentType, ContextType, RequireFields>; - profileMemberGroups?: SubscriptionResolver, "profileMemberGroups", ParentType, ContextType, RequireFields>; - transaction?: SubscriptionResolver, "transaction", ParentType, ContextType, RequireFields>; - transactions?: SubscriptionResolver, "transactions", ParentType, ContextType, RequireFields>; - rawMetadata?: SubscriptionResolver, "rawMetadata", ParentType, ContextType, RequireFields>; - rawMetadata_collection?: SubscriptionResolver, "rawMetadata_collection", ParentType, ContextType, RequireFields>; - log?: SubscriptionResolver, "log", ParentType, ContextType, RequireFields>; - logs?: SubscriptionResolver, "logs", ParentType, ContextType, RequireFields>; - gmVersion?: SubscriptionResolver, "gmVersion", ParentType, ContextType, RequireFields>; - gmVersions?: SubscriptionResolver, "gmVersions", ParentType, ContextType, RequireFields>; - gmDeployment?: SubscriptionResolver, "gmDeployment", ParentType, ContextType, RequireFields>; - gmDeployments?: SubscriptionResolver, "gmDeployments", ParentType, ContextType, RequireFields>; - _meta?: SubscriptionResolver, "_meta", ParentType, ContextType, Partial>; }>; -export type ContestResolvers = ResolversObject<{ - choicesModule?: Resolver, ParentType, ContextType>; - choicesModule_id?: Resolver; - contestAddress?: Resolver; - contestStatus?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - executionModule?: Resolver, ParentType, ContextType>; - executionModule_id?: Resolver; - filterTag?: Resolver; - id?: Resolver; - isContinuous?: Resolver; - isRetractable?: Resolver; - pointsModule?: Resolver, ParentType, ContextType>; - pointsModule_id?: Resolver; - votesModule?: Resolver, ParentType, ContextType>; - votesModule_id?: Resolver; +export type ApplicationHistoryResolvers = ResolversObject<{ + id?: Resolver; + grantApplicationBytes?: Resolver; + applicationSubmitted?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ContestCloneResolvers = ResolversObject<{ - contestAddress?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - filterTag?: Resolver; - id?: Resolver; +export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigDecimal'; +} + +export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { + name: 'BigInt'; +} + +export interface BytesScalarConfig extends GraphQLScalarTypeConfig { + name: 'Bytes'; +} + +export type FeedItemResolvers = ResolversObject<{ + id?: Resolver; + timestamp?: Resolver, ParentType, ContextType>; + content?: Resolver; + sender?: Resolver; + tag?: Resolver; + subjectMetadataPointer?: Resolver; + subjectId?: Resolver; + objectId?: Resolver, ParentType, ContextType>; + subject?: Resolver; + object?: Resolver, ParentType, ContextType>; + embed?: Resolver, ParentType, ContextType>; + details?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ContestTemplateResolvers = ResolversObject<{ - active?: Resolver; - contestAddress?: Resolver; - contestVersion?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; +export type FeedItemEmbedResolvers = ResolversObject<{ + id?: Resolver; + key?: Resolver, ParentType, ContextType>; + pointer?: Resolver, ParentType, ContextType>; + protocol?: Resolver, ParentType, ContextType>; + content?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ERCPointParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - voteTokenAddress?: Resolver; - votingCheckpoint?: Resolver; +export type FeedItemEntityResolvers = ResolversObject<{ + id?: Resolver; + name?: Resolver; + type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type EnvioTXResolvers = ResolversObject<{ - blockNumber?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - srcAddress?: Resolver; - txHash?: Resolver; - txOrigin?: Resolver, ParentType, ContextType>; +export type GameManagerResolvers = ResolversObject<{ + id?: Resolver; + poolId?: Resolver; + gameFacilitatorId?: Resolver; + rootAccount?: Resolver; + tokenAddress?: Resolver; + currentRoundId?: Resolver; + currentRound?: Resolver, ParentType, ContextType>; + poolFunds?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type EventPostResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsPoster?: Resolver, ParentType, ContextType>; - hatsPoster_id?: Resolver; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - tag?: Resolver; +export type GameRoundResolvers = ResolversObject<{ + id?: Resolver; + startTime?: Resolver; + endTime?: Resolver; + totalRoundAmount?: Resolver; + totalAllocatedAmount?: Resolver; + totalDistributedAmount?: Resolver; + gameStatus?: Resolver; + ships?: Resolver, ParentType, ContextType, RequireFields>; + isGameActive?: Resolver; + realStartTime?: Resolver, ParentType, ContextType>; + realEndTime?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FactoryEventsSummaryResolvers = ResolversObject<{ - address?: Resolver; - admins?: Resolver; - contestBuiltCount?: Resolver; - contestCloneCount?: Resolver; - contestTemplateCount?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - moduleCloneCount?: Resolver; - moduleTemplateCount?: Resolver; +export type GmDeploymentResolvers = ResolversObject<{ + id?: Resolver; + address?: Resolver; + version?: Resolver; + blockNumber?: Resolver; + transactionHash?: Resolver; + timestamp?: Resolver; + hasPool?: Resolver; + poolId?: Resolver, ParentType, ContextType>; + profileId?: Resolver; + poolMetadata?: Resolver; + poolProfileMetadata?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GSVoterResolvers = ResolversObject<{ - address?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - votes?: Resolver, ParentType, ContextType, Partial>; +export type GmVersionResolvers = ResolversObject<{ + id?: Resolver; + name?: Resolver; + address?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantShipsVotingResolvers = ResolversObject<{ - choices?: Resolver, ParentType, ContextType, Partial>; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - endTime?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsAddress?: Resolver; - id?: Resolver; - isVotingActive?: Resolver; - startTime?: Resolver, ParentType, ContextType>; - totalVotes?: Resolver; - voteDuration?: Resolver; - voteTokenAddress?: Resolver; - votes?: Resolver, ParentType, ContextType, Partial>; - votingCheckpoint?: Resolver; +export type GrantResolvers = ResolversObject<{ + id?: Resolver; + projectId?: Resolver; + shipId?: Resolver; + lastUpdated?: Resolver; + hasResubmitted?: Resolver; + grantStatus?: Resolver; + grantApplicationBytes?: Resolver; + applicationSubmitted?: Resolver; + currentMilestoneIndex?: Resolver; + milestonesAmount?: Resolver; + milestones?: Resolver>, ParentType, ContextType, RequireFields>; + shipApprovalReason?: Resolver, ParentType, ContextType>; + hasShipApproved?: Resolver, ParentType, ContextType>; + amtAllocated?: Resolver; + amtDistributed?: Resolver; + allocatedBy?: Resolver, ParentType, ContextType>; + facilitatorReason?: Resolver, ParentType, ContextType>; + hasFacilitatorApproved?: Resolver, ParentType, ContextType>; + milestonesApproved?: Resolver, ParentType, ContextType>; + milestonesApprovedReason?: Resolver, ParentType, ContextType>; + currentMilestoneRejectedReason?: Resolver, ParentType, ContextType>; + resubmitHistory?: Resolver, ParentType, ContextType, RequireFields>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type HALParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsAddress?: Resolver; - id?: Resolver; +export type GrantShipResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + nonce?: Resolver; + name?: Resolver; + profileMetadata?: Resolver; + owner?: Resolver; + anchor?: Resolver; + blockNumber?: Resolver; + blockTimestamp?: Resolver; + transactionHash?: Resolver; + status?: Resolver; + poolFunded?: Resolver; + balance?: Resolver; + shipAllocation?: Resolver; + totalAvailableFunds?: Resolver; + totalRoundAmount?: Resolver; + totalAllocated?: Resolver; + totalDistributed?: Resolver; + grants?: Resolver, ParentType, ContextType, RequireFields>; + alloProfileMembers?: Resolver, ParentType, ContextType>; + shipApplicationBytesData?: Resolver, ParentType, ContextType>; + applicationSubmittedTime?: Resolver, ParentType, ContextType>; + isAwaitingApproval?: Resolver, ParentType, ContextType>; + hasSubmittedApplication?: Resolver, ParentType, ContextType>; + isApproved?: Resolver, ParentType, ContextType>; + approvedTime?: Resolver, ParentType, ContextType>; + isRejected?: Resolver, ParentType, ContextType>; + rejectedTime?: Resolver, ParentType, ContextType>; + applicationReviewReason?: Resolver, ParentType, ContextType>; + poolId?: Resolver, ParentType, ContextType>; + hatId?: Resolver, ParentType, ContextType>; + shipContractAddress?: Resolver, ParentType, ContextType>; + shipLaunched?: Resolver, ParentType, ContextType>; + poolActive?: Resolver, ParentType, ContextType>; + isAllocated?: Resolver, ParentType, ContextType>; + isDistributed?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type HatsPosterResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - eventPosts?: Resolver, ParentType, ContextType, Partial>; - hatIds?: Resolver; - hatsAddress?: Resolver; - id?: Resolver; - record?: Resolver, ParentType, ContextType, Partial>; - __isTypeOf?: IsTypeOfResolverFn; -}>; +export interface Int8ScalarConfig extends GraphQLScalarTypeConfig { + name: 'Int8'; +} -export type LocalLogResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - message?: Resolver, ParentType, ContextType>; +export type LogResolvers = ResolversObject<{ + id?: Resolver; + message?: Resolver; + description?: Resolver, ParentType, ContextType>; + type?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ModuleTemplateResolvers = ResolversObject<{ - active?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - moduleName?: Resolver; - templateAddress?: Resolver; +export type MilestoneResolvers = ResolversObject<{ + id?: Resolver; + amountPercentage?: Resolver; + mmetadata?: Resolver; + amount?: Resolver; + status?: Resolver; + lastUpdated?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type RecordResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsPoster?: Resolver, ParentType, ContextType>; - hatsPoster_id?: Resolver; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - nonce?: Resolver; - tag?: Resolver; +export type PoolIdLookupResolvers = ResolversObject<{ + id?: Resolver; + entityId?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ShipChoiceResolvers = ResolversObject<{ - active?: Resolver; - choiceData?: Resolver; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - voteTally?: Resolver; - votes?: Resolver, ParentType, ContextType, Partial>; +export type ProfileIdToAnchorResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + anchor?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ShipVoteResolvers = ResolversObject<{ - amount?: Resolver; - choice?: Resolver, ParentType, ContextType>; - choice_id?: Resolver; - contest?: Resolver, ParentType, ContextType>; - contest_id?: Resolver; - db_write_timestamp?: Resolver, ParentType, ContextType>; - id?: Resolver; - isRetractVote?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - voter?: Resolver, ParentType, ContextType>; - voter_id?: Resolver; +export type ProfileMemberGroupResolvers = ResolversObject<{ + id?: Resolver; + addresses?: Resolver>, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type StemModuleResolvers = ResolversObject<{ - contest?: Resolver, ParentType, ContextType>; - contestAddress?: Resolver, ParentType, ContextType>; - contest_id?: Resolver, ParentType, ContextType>; - db_write_timestamp?: Resolver, ParentType, ContextType>; - filterTag?: Resolver; - id?: Resolver; - moduleAddress?: Resolver; - moduleName?: Resolver; - moduleTemplate?: Resolver, ParentType, ContextType>; - moduleTemplate_id?: Resolver; +export type ProjectResolvers = ResolversObject<{ + id?: Resolver; + profileId?: Resolver; + status?: Resolver; + nonce?: Resolver; + name?: Resolver; + metadata?: Resolver; + owner?: Resolver; + anchor?: Resolver; + blockNumber?: Resolver; + blockTimestamp?: Resolver; + transactionHash?: Resolver; + grants?: Resolver, ParentType, ContextType, RequireFields>; + members?: Resolver, ParentType, ContextType>; + totalAmountReceived?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type TVParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; +export type RawMetadataResolvers = ResolversObject<{ id?: Resolver; - voteDuration?: Resolver; + protocol?: Resolver; + pointer?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface _numericScalarConfig extends GraphQLScalarTypeConfig { - name: '_numeric'; -} - -export interface _textScalarConfig extends GraphQLScalarTypeConfig { - name: '_text'; +export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'Timestamp'; } -export type chain_metadataResolvers = ResolversObject<{ - block_height?: Resolver; - chain_id?: Resolver; - end_block?: Resolver, ParentType, ContextType>; - first_event_block_number?: Resolver, ParentType, ContextType>; - is_hyper_sync?: Resolver; - latest_fetched_block_number?: Resolver; - latest_processed_block?: Resolver, ParentType, ContextType>; - num_batches_fetched?: Resolver; - num_events_processed?: Resolver, ParentType, ContextType>; - start_block?: Resolver; - timestamp_caught_up_to_head_or_endblock?: Resolver, ParentType, ContextType>; +export type TransactionResolvers = ResolversObject<{ + id?: Resolver; + blockNumber?: Resolver; + sender?: Resolver; + txHash?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface contract_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'contract_type'; -} - -export type dynamic_contract_registryResolvers = ResolversObject<{ - block_timestamp?: Resolver; - chain_id?: Resolver; - contract_address?: Resolver; - contract_type?: Resolver; - event_id?: Resolver; +export type UpdateResolvers = ResolversObject<{ + id?: Resolver; + scope?: Resolver; + posterRole?: Resolver; + entityAddress?: Resolver; + postedBy?: Resolver; + content?: Resolver; + contentSchema?: Resolver; + postDecorator?: Resolver; + timestamp?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type entity_historyResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - entity_id?: Resolver; - entity_type?: Resolver; - event?: Resolver, ParentType, ContextType>; - log_index?: Resolver; - params?: Resolver, ParentType, ContextType, Partial>; - previous_block_number?: Resolver, ParentType, ContextType>; - previous_block_timestamp?: Resolver, ParentType, ContextType>; - previous_chain_id?: Resolver, ParentType, ContextType>; - previous_log_index?: Resolver, ParentType, ContextType>; +export type _Block_Resolvers = ResolversObject<{ + hash?: Resolver, ParentType, ContextType>; + number?: Resolver; + timestamp?: Resolver, ParentType, ContextType>; + parentHash?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type entity_history_filterResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - entity_id?: Resolver; - entity_type?: Resolver; - event?: Resolver, ParentType, ContextType>; - log_index?: Resolver; - new_val?: Resolver, ParentType, ContextType, Partial>; - old_val?: Resolver, ParentType, ContextType, Partial>; - previous_block_number?: Resolver; - previous_log_index?: Resolver; +export type _Meta_Resolvers = ResolversObject<{ + block?: Resolver; + deployment?: Resolver; + hasIndexingErrors?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface entity_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'entity_type'; -} - -export type event_sync_stateResolvers = ResolversObject<{ - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; - log_index?: Resolver; - transaction_index?: Resolver; +export type ContestResolvers = ResolversObject<{ + choicesModule?: Resolver, ParentType, ContextType>; + choicesModule_id?: Resolver; + contestAddress?: Resolver; + contestStatus?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + executionModule?: Resolver, ParentType, ContextType>; + executionModule_id?: Resolver; + filterTag?: Resolver; + id?: Resolver; + isContinuous?: Resolver; + isRetractable?: Resolver; + pointsModule?: Resolver, ParentType, ContextType>; + pointsModule_id?: Resolver; + votesModule?: Resolver, ParentType, ContextType>; + votesModule_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface event_typeScalarConfig extends GraphQLScalarTypeConfig { - name: 'event_type'; -} - -export interface jsonScalarConfig extends GraphQLScalarTypeConfig { - name: 'json'; -} - -export interface numericScalarConfig extends GraphQLScalarTypeConfig { - name: 'numeric'; -} +export type ContestCloneResolvers = ResolversObject<{ + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; -export type persisted_stateResolvers = ResolversObject<{ - abi_files_hash?: Resolver; - config_hash?: Resolver; - envio_version?: Resolver; - handler_files_hash?: Resolver; - id?: Resolver; - schema_hash?: Resolver; +export type ContestTemplateResolvers = ResolversObject<{ + active?: Resolver; + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type raw_eventsResolvers = ResolversObject<{ - block_hash?: Resolver; - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; +export type ERCPointParamsResolvers = ResolversObject<{ db_write_timestamp?: Resolver, ParentType, ContextType>; - event_history?: Resolver, ParentType, ContextType, Partial>; - event_id?: Resolver; - event_type?: Resolver; - log_index?: Resolver; - params?: Resolver>; - src_address?: Resolver; - transaction_hash?: Resolver; - transaction_index?: Resolver; + id?: Resolver; + voteTokenAddress?: Resolver; + votingCheckpoint?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface timestampScalarConfig extends GraphQLScalarTypeConfig { - name: 'timestamp'; -} - -export interface timestamptzScalarConfig extends GraphQLScalarTypeConfig { - name: 'timestamptz'; -} - -export type ApplicationHistoryResolvers = ResolversObject<{ - id?: Resolver; - grantApplicationBytes?: Resolver; - applicationSubmitted?: Resolver; +export type EnvioTXResolvers = ResolversObject<{ + blockNumber?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + srcAddress?: Resolver; + txHash?: Resolver; + txOrigin?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigDecimal'; -} - -export interface BigIntScalarConfig extends GraphQLScalarTypeConfig { - name: 'BigInt'; -} - -export interface BytesScalarConfig extends GraphQLScalarTypeConfig { - name: 'Bytes'; -} - -export type FeedItemResolvers = ResolversObject<{ - id?: Resolver; - timestamp?: Resolver, ParentType, ContextType>; - content?: Resolver; - sender?: Resolver; +export type EventPostResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsPoster?: Resolver, ParentType, ContextType>; + hatsPoster_id?: Resolver; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; tag?: Resolver; - subjectMetadataPointer?: Resolver; - subjectId?: Resolver; - objectId?: Resolver, ParentType, ContextType>; - subject?: Resolver; - object?: Resolver, ParentType, ContextType>; - embed?: Resolver, ParentType, ContextType>; - details?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FeedItemEmbedResolvers = ResolversObject<{ - id?: Resolver; - key?: Resolver, ParentType, ContextType>; - pointer?: Resolver, ParentType, ContextType>; - protocol?: Resolver, ParentType, ContextType>; - content?: Resolver, ParentType, ContextType>; +export type FactoryEventsSummaryResolvers = ResolversObject<{ + address?: Resolver; + admins?: Resolver, ParentType, ContextType>; + contestBuiltCount?: Resolver; + contestCloneCount?: Resolver; + contestTemplateCount?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + moduleCloneCount?: Resolver; + moduleTemplateCount?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type FeedItemEntityResolvers = ResolversObject<{ - id?: Resolver; - name?: Resolver; - type?: Resolver; +export type GSVoterResolvers = ResolversObject<{ + address?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GameManagerResolvers = ResolversObject<{ - id?: Resolver; - poolId?: Resolver; - gameFacilitatorId?: Resolver; - rootAccount?: Resolver; - tokenAddress?: Resolver; - currentRoundId?: Resolver; - currentRound?: Resolver, ParentType, ContextType>; - poolFunds?: Resolver; +export type GrantShipsVotingResolvers = ResolversObject<{ + choices?: Resolver, ParentType, ContextType, Partial>; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + endTime?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; + isVotingActive?: Resolver; + startTime?: Resolver, ParentType, ContextType>; + totalVotes?: Resolver; + voteDuration?: Resolver; + voteTokenAddress?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; + votingCheckpoint?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GameRoundResolvers = ResolversObject<{ - id?: Resolver; - startTime?: Resolver; - endTime?: Resolver; - totalRoundAmount?: Resolver; - totalAllocatedAmount?: Resolver; - totalDistributedAmount?: Resolver; - gameStatus?: Resolver; - ships?: Resolver, ParentType, ContextType, RequireFields>; - isGameActive?: Resolver; - realStartTime?: Resolver, ParentType, ContextType>; - realEndTime?: Resolver, ParentType, ContextType>; +export type HALParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GmDeploymentResolvers = ResolversObject<{ - id?: Resolver; - address?: Resolver; - version?: Resolver; - blockNumber?: Resolver; - transactionHash?: Resolver; - timestamp?: Resolver; - hasPool?: Resolver; - poolId?: Resolver, ParentType, ContextType>; - profileId?: Resolver; - poolMetadata?: Resolver; - poolProfileMetadata?: Resolver; +export type HatsPosterResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + eventPosts?: Resolver, ParentType, ContextType, Partial>; + hatIds?: Resolver, ParentType, ContextType>; + hatsAddress?: Resolver; + id?: Resolver; + record?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GmVersionResolvers = ResolversObject<{ - id?: Resolver; - name?: Resolver; - address?: Resolver; +export type LocalLogResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + message?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantResolvers = ResolversObject<{ - id?: Resolver; - projectId?: Resolver; - shipId?: Resolver; - lastUpdated?: Resolver; - hasResubmitted?: Resolver; - grantStatus?: Resolver; - grantApplicationBytes?: Resolver; - applicationSubmitted?: Resolver; - currentMilestoneIndex?: Resolver; - milestonesAmount?: Resolver; - milestones?: Resolver>, ParentType, ContextType, RequireFields>; - shipApprovalReason?: Resolver, ParentType, ContextType>; - hasShipApproved?: Resolver, ParentType, ContextType>; - amtAllocated?: Resolver; - amtDistributed?: Resolver; - allocatedBy?: Resolver, ParentType, ContextType>; - facilitatorReason?: Resolver, ParentType, ContextType>; - hasFacilitatorApproved?: Resolver, ParentType, ContextType>; - milestonesApproved?: Resolver, ParentType, ContextType>; - milestonesApprovedReason?: Resolver, ParentType, ContextType>; - currentMilestoneRejectedReason?: Resolver, ParentType, ContextType>; - resubmitHistory?: Resolver, ParentType, ContextType, RequireFields>; +export type ModuleTemplateResolvers = ResolversObject<{ + active?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + moduleName?: Resolver; + templateAddress?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GrantShipResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - nonce?: Resolver; - name?: Resolver; - profileMetadata?: Resolver; - owner?: Resolver; - anchor?: Resolver; - blockNumber?: Resolver; - blockTimestamp?: Resolver; - transactionHash?: Resolver; - status?: Resolver; - poolFunded?: Resolver; - balance?: Resolver; - shipAllocation?: Resolver; - totalAvailableFunds?: Resolver; - totalRoundAmount?: Resolver; - totalAllocated?: Resolver; - totalDistributed?: Resolver; - grants?: Resolver, ParentType, ContextType, RequireFields>; - alloProfileMembers?: Resolver, ParentType, ContextType>; - shipApplicationBytesData?: Resolver, ParentType, ContextType>; - applicationSubmittedTime?: Resolver, ParentType, ContextType>; - isAwaitingApproval?: Resolver, ParentType, ContextType>; - hasSubmittedApplication?: Resolver, ParentType, ContextType>; - isApproved?: Resolver, ParentType, ContextType>; - approvedTime?: Resolver, ParentType, ContextType>; - isRejected?: Resolver, ParentType, ContextType>; - rejectedTime?: Resolver, ParentType, ContextType>; - applicationReviewReason?: Resolver, ParentType, ContextType>; - poolId?: Resolver, ParentType, ContextType>; - hatId?: Resolver, ParentType, ContextType>; - shipContractAddress?: Resolver, ParentType, ContextType>; - shipLaunched?: Resolver, ParentType, ContextType>; - poolActive?: Resolver, ParentType, ContextType>; - isAllocated?: Resolver, ParentType, ContextType>; - isDistributed?: Resolver, ParentType, ContextType>; +export type RecordResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsPoster?: Resolver, ParentType, ContextType>; + hatsPoster_id?: Resolver; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + nonce?: Resolver; + tag?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type ShipChoiceResolvers = ResolversObject<{ + active?: Resolver; + choiceData?: Resolver; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voteTally?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface Int8ScalarConfig extends GraphQLScalarTypeConfig { - name: 'Int8'; -} - -export type LogResolvers = ResolversObject<{ - id?: Resolver; - message?: Resolver; - description?: Resolver, ParentType, ContextType>; - type?: Resolver, ParentType, ContextType>; +export type ShipVoteResolvers = ResolversObject<{ + amount?: Resolver; + choice?: Resolver, ParentType, ContextType>; + choice_id?: Resolver; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + isRetractVote?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voter?: Resolver, ParentType, ContextType>; + voter_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type MilestoneResolvers = ResolversObject<{ - id?: Resolver; - amountPercentage?: Resolver; - mmetadata?: Resolver; - amount?: Resolver; - status?: Resolver; - lastUpdated?: Resolver; +export type StemModuleResolvers = ResolversObject<{ + contest?: Resolver, ParentType, ContextType>; + contestAddress?: Resolver, ParentType, ContextType>; + contest_id?: Resolver, ParentType, ContextType>; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; + moduleAddress?: Resolver; + moduleName?: Resolver; + moduleTemplate?: Resolver, ParentType, ContextType>; + moduleTemplate_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type PoolIdLookupResolvers = ResolversObject<{ - id?: Resolver; - entityId?: Resolver; +export type TVParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteDuration?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProfileIdToAnchorResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - anchor?: Resolver; +export type chain_metadataResolvers = ResolversObject<{ + block_height?: Resolver; + chain_id?: Resolver; + end_block?: Resolver, ParentType, ContextType>; + first_event_block_number?: Resolver, ParentType, ContextType>; + is_hyper_sync?: Resolver; + latest_fetched_block_number?: Resolver; + latest_processed_block?: Resolver, ParentType, ContextType>; + num_batches_fetched?: Resolver; + num_events_processed?: Resolver, ParentType, ContextType>; + start_block?: Resolver; + timestamp_caught_up_to_head_or_endblock?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProfileMemberGroupResolvers = ResolversObject<{ - id?: Resolver; - addresses?: Resolver>, ParentType, ContextType>; +export interface contract_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'contract_type'; +} + +export type dynamic_contract_registryResolvers = ResolversObject<{ + block_timestamp?: Resolver; + chain_id?: Resolver; + contract_address?: Resolver; + contract_type?: Resolver; + event_id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type ProjectResolvers = ResolversObject<{ - id?: Resolver; - profileId?: Resolver; - status?: Resolver; - nonce?: Resolver; - name?: Resolver; - metadata?: Resolver; - owner?: Resolver; - anchor?: Resolver; - blockNumber?: Resolver; - blockTimestamp?: Resolver; - transactionHash?: Resolver; - grants?: Resolver, ParentType, ContextType, RequireFields>; - members?: Resolver, ParentType, ContextType>; - totalAmountReceived?: Resolver; +export type entity_historyResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + entity_id?: Resolver; + entity_type?: Resolver; + event?: Resolver, ParentType, ContextType>; + log_index?: Resolver; + params?: Resolver, ParentType, ContextType, Partial>; + previous_block_number?: Resolver, ParentType, ContextType>; + previous_block_timestamp?: Resolver, ParentType, ContextType>; + previous_chain_id?: Resolver, ParentType, ContextType>; + previous_log_index?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type RawMetadataResolvers = ResolversObject<{ - id?: Resolver; - protocol?: Resolver; - pointer?: Resolver; +export type entity_history_filterResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + entity_id?: Resolver; + entity_type?: Resolver; + event?: Resolver, ParentType, ContextType>; + log_index?: Resolver; + new_val?: Resolver, ParentType, ContextType, Partial>; + old_val?: Resolver, ParentType, ContextType, Partial>; + previous_block_number?: Resolver; + previous_log_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { - name: 'Timestamp'; +export interface entity_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'entity_type'; } -export type TransactionResolvers = ResolversObject<{ - id?: Resolver; - blockNumber?: Resolver; - sender?: Resolver; - txHash?: Resolver; +export type event_sync_stateResolvers = ResolversObject<{ + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + log_index?: Resolver; + transaction_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type UpdateResolvers = ResolversObject<{ - id?: Resolver; - scope?: Resolver; - posterRole?: Resolver; - entityAddress?: Resolver; - postedBy?: Resolver; - content?: Resolver; - contentSchema?: Resolver; - postDecorator?: Resolver; - timestamp?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}>; +export interface event_typeScalarConfig extends GraphQLScalarTypeConfig { + name: 'event_type'; +} -export type _Block_Resolvers = ResolversObject<{ - hash?: Resolver, ParentType, ContextType>; - number?: Resolver; - timestamp?: Resolver, ParentType, ContextType>; - parentHash?: Resolver, ParentType, ContextType>; +export interface jsonScalarConfig extends GraphQLScalarTypeConfig { + name: 'json'; +} + +export interface numericScalarConfig extends GraphQLScalarTypeConfig { + name: 'numeric'; +} + +export type persisted_stateResolvers = ResolversObject<{ + abi_files_hash?: Resolver; + config_hash?: Resolver; + envio_version?: Resolver; + handler_files_hash?: Resolver; + id?: Resolver; + schema_hash?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type _Meta_Resolvers = ResolversObject<{ - block?: Resolver; - deployment?: Resolver; - hasIndexingErrors?: Resolver; +export type raw_eventsResolvers = ResolversObject<{ + block_hash?: Resolver; + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + event_history?: Resolver, ParentType, ContextType, Partial>; + event_id?: Resolver; + event_type?: Resolver; + log_index?: Resolver; + params?: Resolver>; + src_address?: Resolver; + transaction_hash?: Resolver; + transaction_index?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; +export interface timestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'timestamp'; +} + +export interface timestamptzScalarConfig extends GraphQLScalarTypeConfig { + name: 'timestamptz'; +} + export type Resolvers = ResolversObject<{ Query?: QueryResolvers; Subscription?: SubscriptionResolvers; + ApplicationHistory?: ApplicationHistoryResolvers; + BigDecimal?: GraphQLScalarType; + BigInt?: GraphQLScalarType; + Bytes?: GraphQLScalarType; + FeedItem?: FeedItemResolvers; + FeedItemEmbed?: FeedItemEmbedResolvers; + FeedItemEntity?: FeedItemEntityResolvers; + GameManager?: GameManagerResolvers; + GameRound?: GameRoundResolvers; + GmDeployment?: GmDeploymentResolvers; + GmVersion?: GmVersionResolvers; + Grant?: GrantResolvers; + GrantShip?: GrantShipResolvers; + Int8?: GraphQLScalarType; + Log?: LogResolvers; + Milestone?: MilestoneResolvers; + PoolIdLookup?: PoolIdLookupResolvers; + ProfileIdToAnchor?: ProfileIdToAnchorResolvers; + ProfileMemberGroup?: ProfileMemberGroupResolvers; + Project?: ProjectResolvers; + RawMetadata?: RawMetadataResolvers; + Timestamp?: GraphQLScalarType; + Transaction?: TransactionResolvers; + Update?: UpdateResolvers; + _Block_?: _Block_Resolvers; + _Meta_?: _Meta_Resolvers; Contest?: ContestResolvers; ContestClone?: ContestCloneResolvers; ContestTemplate?: ContestTemplateResolvers; @@ -8706,8 +8726,6 @@ export type Resolvers = ResolversObject<{ ShipVote?: ShipVoteResolvers; StemModule?: StemModuleResolvers; TVParams?: TVParamsResolvers; - _numeric?: GraphQLScalarType; - _text?: GraphQLScalarType; chain_metadata?: chain_metadataResolvers; contract_type?: GraphQLScalarType; dynamic_contract_registry?: dynamic_contract_registryResolvers; @@ -8722,42 +8740,16 @@ export type Resolvers = ResolversObject<{ raw_events?: raw_eventsResolvers; timestamp?: GraphQLScalarType; timestamptz?: GraphQLScalarType; - ApplicationHistory?: ApplicationHistoryResolvers; - BigDecimal?: GraphQLScalarType; - BigInt?: GraphQLScalarType; - Bytes?: GraphQLScalarType; - FeedItem?: FeedItemResolvers; - FeedItemEmbed?: FeedItemEmbedResolvers; - FeedItemEntity?: FeedItemEntityResolvers; - GameManager?: GameManagerResolvers; - GameRound?: GameRoundResolvers; - GmDeployment?: GmDeploymentResolvers; - GmVersion?: GmVersionResolvers; - Grant?: GrantResolvers; - GrantShip?: GrantShipResolvers; - Int8?: GraphQLScalarType; - Log?: LogResolvers; - Milestone?: MilestoneResolvers; - PoolIdLookup?: PoolIdLookupResolvers; - ProfileIdToAnchor?: ProfileIdToAnchorResolvers; - ProfileMemberGroup?: ProfileMemberGroupResolvers; - Project?: ProjectResolvers; - RawMetadata?: RawMetadataResolvers; - Timestamp?: GraphQLScalarType; - Transaction?: TransactionResolvers; - Update?: UpdateResolvers; - _Block_?: _Block_Resolvers; - _Meta_?: _Meta_Resolvers; }>; export type DirectiveResolvers = ResolversObject<{ - cached?: cachedDirectiveResolver; entity?: entityDirectiveResolver; subgraphId?: subgraphIdDirectiveResolver; derivedFrom?: derivedFromDirectiveResolver; + cached?: cachedDirectiveResolver; }>; -export type MeshContext = GsVotingTypes.Context & GrantShipsTypes.Context & BaseMeshContext; +export type MeshContext = GrantShipsTypes.Context & GsVotingTypes.Context & BaseMeshContext; import { fileURLToPath } from '@graphql-mesh/utils'; @@ -8766,10 +8758,10 @@ const baseDir = pathModule.join(pathModule.dirname(fileURLToPath(import.meta.url const importFn: ImportFn = (moduleId: string) => { const relativeModuleId = (pathModule.isAbsolute(moduleId) ? pathModule.relative(baseDir, moduleId) : moduleId).split('\\').join('/').replace(baseDir + '/', ''); switch(relativeModuleId) { - case ".graphclient/sources/gs-voting/introspectionSchema": + case ".graphclient/sources/grant-ships/introspectionSchema": return Promise.resolve(importedModule$0) as T; - case ".graphclient/sources/grant-ships/introspectionSchema": + case ".graphclient/sources/gs-voting/introspectionSchema": return Promise.resolve(importedModule$1) as T; default: @@ -8817,7 +8809,7 @@ const grantShipsHandler = new GraphqlHandler({ }); const gsVotingHandler = new GraphqlHandler({ name: "gs-voting", - config: {"endpoint":"http://localhost:8080/v1/graphql"}, + config: {"endpoint":"https://indexer.bigdevenergy.link/6b18ba8/v1/graphql"}, baseDir, cache, pubsub, diff --git a/src/.graphclient/schema.graphql b/src/.graphclient/schema.graphql index 6f8cc8ba..38e80b6e 100644 --- a/src/.graphclient/schema.graphql +++ b/src/.graphclient/schema.graphql @@ -3,14 +3,6 @@ schema { subscription: Subscription } -"whether this query should be cached (Hasura Cloud only)" -directive @cached( - """measured in seconds""" - ttl: Int! = 60 - """refresh the cache entry""" - refresh: Boolean! = false -) on QUERY - "Marks the GraphQL type as indexable entity. Each type that should be an entity is required to be annotated with this directive." directive @entity on OBJECT @@ -20,459 +12,15 @@ directive @subgraphId(id: String!) on OBJECT "creates a virtual field on the entity that may be queried but cannot be set manually through the mappings API." directive @derivedFrom(field: String!) on FIELD_DEFINITION +"whether this query should be cached (Hasura Cloud only)" +directive @cached( + """measured in seconds""" + ttl: Int! = 60 + """refresh the cache entry""" + refresh: Boolean! = false +) on QUERY + type Query { - """ - fetch data from the table: "Contest" - """ - Contest( - """distinct select on columns""" - distinct_on: [Contest_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [Contest_order_by!] - """filter the rows returned""" - where: Contest_bool_exp - ): [Contest!]! - """ - fetch data from the table: "ContestClone" - """ - ContestClone( - """distinct select on columns""" - distinct_on: [ContestClone_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ContestClone_order_by!] - """filter the rows returned""" - where: ContestClone_bool_exp - ): [ContestClone!]! - """fetch data from the table: "ContestClone" using primary key columns""" - ContestClone_by_pk(id: String!): ContestClone - """ - fetch data from the table: "ContestTemplate" - """ - ContestTemplate( - """distinct select on columns""" - distinct_on: [ContestTemplate_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ContestTemplate_order_by!] - """filter the rows returned""" - where: ContestTemplate_bool_exp - ): [ContestTemplate!]! - """fetch data from the table: "ContestTemplate" using primary key columns""" - ContestTemplate_by_pk(id: String!): ContestTemplate - """fetch data from the table: "Contest" using primary key columns""" - Contest_by_pk(id: String!): Contest - """ - fetch data from the table: "ERCPointParams" - """ - ERCPointParams( - """distinct select on columns""" - distinct_on: [ERCPointParams_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ERCPointParams_order_by!] - """filter the rows returned""" - where: ERCPointParams_bool_exp - ): [ERCPointParams!]! - """fetch data from the table: "ERCPointParams" using primary key columns""" - ERCPointParams_by_pk(id: String!): ERCPointParams - """ - fetch data from the table: "EnvioTX" - """ - EnvioTX( - """distinct select on columns""" - distinct_on: [EnvioTX_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [EnvioTX_order_by!] - """filter the rows returned""" - where: EnvioTX_bool_exp - ): [EnvioTX!]! - """fetch data from the table: "EnvioTX" using primary key columns""" - EnvioTX_by_pk(id: String!): EnvioTX - """ - fetch data from the table: "EventPost" - """ - EventPost( - """distinct select on columns""" - distinct_on: [EventPost_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [EventPost_order_by!] - """filter the rows returned""" - where: EventPost_bool_exp - ): [EventPost!]! - """fetch data from the table: "EventPost" using primary key columns""" - EventPost_by_pk(id: String!): EventPost - """ - fetch data from the table: "FactoryEventsSummary" - """ - FactoryEventsSummary( - """distinct select on columns""" - distinct_on: [FactoryEventsSummary_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [FactoryEventsSummary_order_by!] - """filter the rows returned""" - where: FactoryEventsSummary_bool_exp - ): [FactoryEventsSummary!]! - """ - fetch data from the table: "FactoryEventsSummary" using primary key columns - """ - FactoryEventsSummary_by_pk(id: String!): FactoryEventsSummary - """ - fetch data from the table: "GSVoter" - """ - GSVoter( - """distinct select on columns""" - distinct_on: [GSVoter_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [GSVoter_order_by!] - """filter the rows returned""" - where: GSVoter_bool_exp - ): [GSVoter!]! - """fetch data from the table: "GSVoter" using primary key columns""" - GSVoter_by_pk(id: String!): GSVoter - """ - fetch data from the table: "GrantShipsVoting" - """ - GrantShipsVoting( - """distinct select on columns""" - distinct_on: [GrantShipsVoting_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [GrantShipsVoting_order_by!] - """filter the rows returned""" - where: GrantShipsVoting_bool_exp - ): [GrantShipsVoting!]! - """ - fetch data from the table: "GrantShipsVoting" using primary key columns - """ - GrantShipsVoting_by_pk(id: String!): GrantShipsVoting - """ - fetch data from the table: "HALParams" - """ - HALParams( - """distinct select on columns""" - distinct_on: [HALParams_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [HALParams_order_by!] - """filter the rows returned""" - where: HALParams_bool_exp - ): [HALParams!]! - """fetch data from the table: "HALParams" using primary key columns""" - HALParams_by_pk(id: String!): HALParams - """ - fetch data from the table: "HatsPoster" - """ - HatsPoster( - """distinct select on columns""" - distinct_on: [HatsPoster_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [HatsPoster_order_by!] - """filter the rows returned""" - where: HatsPoster_bool_exp - ): [HatsPoster!]! - """fetch data from the table: "HatsPoster" using primary key columns""" - HatsPoster_by_pk(id: String!): HatsPoster - """ - fetch data from the table: "LocalLog" - """ - LocalLog( - """distinct select on columns""" - distinct_on: [LocalLog_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [LocalLog_order_by!] - """filter the rows returned""" - where: LocalLog_bool_exp - ): [LocalLog!]! - """fetch data from the table: "LocalLog" using primary key columns""" - LocalLog_by_pk(id: String!): LocalLog - """ - fetch data from the table: "ModuleTemplate" - """ - ModuleTemplate( - """distinct select on columns""" - distinct_on: [ModuleTemplate_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ModuleTemplate_order_by!] - """filter the rows returned""" - where: ModuleTemplate_bool_exp - ): [ModuleTemplate!]! - """fetch data from the table: "ModuleTemplate" using primary key columns""" - ModuleTemplate_by_pk(id: String!): ModuleTemplate - """ - fetch data from the table: "Record" - """ - Record( - """distinct select on columns""" - distinct_on: [Record_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [Record_order_by!] - """filter the rows returned""" - where: Record_bool_exp - ): [Record!]! - """fetch data from the table: "Record" using primary key columns""" - Record_by_pk(id: String!): Record - """ - fetch data from the table: "ShipChoice" - """ - ShipChoice( - """distinct select on columns""" - distinct_on: [ShipChoice_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipChoice_order_by!] - """filter the rows returned""" - where: ShipChoice_bool_exp - ): [ShipChoice!]! - """fetch data from the table: "ShipChoice" using primary key columns""" - ShipChoice_by_pk(id: String!): ShipChoice - """ - fetch data from the table: "ShipVote" - """ - ShipVote( - """distinct select on columns""" - distinct_on: [ShipVote_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipVote_order_by!] - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! - """fetch data from the table: "ShipVote" using primary key columns""" - ShipVote_by_pk(id: String!): ShipVote - """ - fetch data from the table: "StemModule" - """ - StemModule( - """distinct select on columns""" - distinct_on: [StemModule_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [StemModule_order_by!] - """filter the rows returned""" - where: StemModule_bool_exp - ): [StemModule!]! - """fetch data from the table: "StemModule" using primary key columns""" - StemModule_by_pk(id: String!): StemModule - """ - fetch data from the table: "TVParams" - """ - TVParams( - """distinct select on columns""" - distinct_on: [TVParams_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [TVParams_order_by!] - """filter the rows returned""" - where: TVParams_bool_exp - ): [TVParams!]! - """fetch data from the table: "TVParams" using primary key columns""" - TVParams_by_pk(id: String!): TVParams - """ - fetch data from the table: "chain_metadata" - """ - chain_metadata( - """distinct select on columns""" - distinct_on: [chain_metadata_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [chain_metadata_order_by!] - """filter the rows returned""" - where: chain_metadata_bool_exp - ): [chain_metadata!]! - """fetch data from the table: "chain_metadata" using primary key columns""" - chain_metadata_by_pk(chain_id: Int!): chain_metadata - """ - fetch data from the table: "dynamic_contract_registry" - """ - dynamic_contract_registry( - """distinct select on columns""" - distinct_on: [dynamic_contract_registry_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [dynamic_contract_registry_order_by!] - """filter the rows returned""" - where: dynamic_contract_registry_bool_exp - ): [dynamic_contract_registry!]! - """ - fetch data from the table: "dynamic_contract_registry" using primary key columns - """ - dynamic_contract_registry_by_pk(chain_id: Int!, contract_address: String!): dynamic_contract_registry - """ - fetch data from the table: "entity_history" - """ - entity_history( - """distinct select on columns""" - distinct_on: [entity_history_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [entity_history_order_by!] - """filter the rows returned""" - where: entity_history_bool_exp - ): [entity_history!]! - """fetch data from the table: "entity_history" using primary key columns""" - entity_history_by_pk(block_number: Int!, block_timestamp: Int!, chain_id: Int!, entity_id: String!, entity_type: entity_type!, log_index: Int!): entity_history - """ - fetch data from the table: "entity_history_filter" - """ - entity_history_filter( - """distinct select on columns""" - distinct_on: [entity_history_filter_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [entity_history_filter_order_by!] - """filter the rows returned""" - where: entity_history_filter_bool_exp - ): [entity_history_filter!]! - """ - fetch data from the table: "entity_history_filter" using primary key columns - """ - entity_history_filter_by_pk(block_number: Int!, chain_id: Int!, entity_id: String!, log_index: Int!, previous_block_number: Int!, previous_log_index: Int!): entity_history_filter - """ - fetch data from the table: "event_sync_state" - """ - event_sync_state( - """distinct select on columns""" - distinct_on: [event_sync_state_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [event_sync_state_order_by!] - """filter the rows returned""" - where: event_sync_state_bool_exp - ): [event_sync_state!]! - """ - fetch data from the table: "event_sync_state" using primary key columns - """ - event_sync_state_by_pk(chain_id: Int!): event_sync_state - """This function helps search for articles""" - get_entity_history_filter( - """ - input parameters for function "get_entity_history_filter" - """ - args: get_entity_history_filter_args! - """distinct select on columns""" - distinct_on: [entity_history_filter_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [entity_history_filter_order_by!] - """filter the rows returned""" - where: entity_history_filter_bool_exp - ): [entity_history_filter!]! - """ - fetch data from the table: "persisted_state" - """ - persisted_state( - """distinct select on columns""" - distinct_on: [persisted_state_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [persisted_state_order_by!] - """filter the rows returned""" - where: persisted_state_bool_exp - ): [persisted_state!]! - """fetch data from the table: "persisted_state" using primary key columns""" - persisted_state_by_pk(id: Int!): persisted_state - """ - fetch data from the table: "raw_events" - """ - raw_events( - """distinct select on columns""" - distinct_on: [raw_events_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [raw_events_order_by!] - """filter the rows returned""" - where: raw_events_bool_exp - ): [raw_events!]! - """fetch data from the table: "raw_events" using primary key columns""" - raw_events_by_pk(chain_id: Int!, event_id: numeric!): raw_events project( id: ID! """ @@ -969,9 +517,6 @@ type Query { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ -} - -type Subscription { """ fetch data from the table: "Contest" """ @@ -1005,17 +550,6 @@ type Subscription { """fetch data from the table: "ContestClone" using primary key columns""" ContestClone_by_pk(id: String!): ContestClone """ - fetch data from the table in a streaming manner: "ContestClone" - """ - ContestClone_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ContestClone_stream_cursor_input]! - """filter the rows returned""" - where: ContestClone_bool_exp - ): [ContestClone!]! - """ fetch data from the table: "ContestTemplate" """ ContestTemplate( @@ -1032,31 +566,9 @@ type Subscription { ): [ContestTemplate!]! """fetch data from the table: "ContestTemplate" using primary key columns""" ContestTemplate_by_pk(id: String!): ContestTemplate - """ - fetch data from the table in a streaming manner: "ContestTemplate" - """ - ContestTemplate_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ContestTemplate_stream_cursor_input]! - """filter the rows returned""" - where: ContestTemplate_bool_exp - ): [ContestTemplate!]! """fetch data from the table: "Contest" using primary key columns""" Contest_by_pk(id: String!): Contest """ - fetch data from the table in a streaming manner: "Contest" - """ - Contest_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [Contest_stream_cursor_input]! - """filter the rows returned""" - where: Contest_bool_exp - ): [Contest!]! - """ fetch data from the table: "ERCPointParams" """ ERCPointParams( @@ -1074,18 +586,7 @@ type Subscription { """fetch data from the table: "ERCPointParams" using primary key columns""" ERCPointParams_by_pk(id: String!): ERCPointParams """ - fetch data from the table in a streaming manner: "ERCPointParams" - """ - ERCPointParams_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ERCPointParams_stream_cursor_input]! - """filter the rows returned""" - where: ERCPointParams_bool_exp - ): [ERCPointParams!]! - """ - fetch data from the table: "EnvioTX" + fetch data from the table: "EnvioTX" """ EnvioTX( """distinct select on columns""" @@ -1102,17 +603,6 @@ type Subscription { """fetch data from the table: "EnvioTX" using primary key columns""" EnvioTX_by_pk(id: String!): EnvioTX """ - fetch data from the table in a streaming manner: "EnvioTX" - """ - EnvioTX_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [EnvioTX_stream_cursor_input]! - """filter the rows returned""" - where: EnvioTX_bool_exp - ): [EnvioTX!]! - """ fetch data from the table: "EventPost" """ EventPost( @@ -1130,17 +620,6 @@ type Subscription { """fetch data from the table: "EventPost" using primary key columns""" EventPost_by_pk(id: String!): EventPost """ - fetch data from the table in a streaming manner: "EventPost" - """ - EventPost_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [EventPost_stream_cursor_input]! - """filter the rows returned""" - where: EventPost_bool_exp - ): [EventPost!]! - """ fetch data from the table: "FactoryEventsSummary" """ FactoryEventsSummary( @@ -1160,17 +639,6 @@ type Subscription { """ FactoryEventsSummary_by_pk(id: String!): FactoryEventsSummary """ - fetch data from the table in a streaming manner: "FactoryEventsSummary" - """ - FactoryEventsSummary_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [FactoryEventsSummary_stream_cursor_input]! - """filter the rows returned""" - where: FactoryEventsSummary_bool_exp - ): [FactoryEventsSummary!]! - """ fetch data from the table: "GSVoter" """ GSVoter( @@ -1188,17 +656,6 @@ type Subscription { """fetch data from the table: "GSVoter" using primary key columns""" GSVoter_by_pk(id: String!): GSVoter """ - fetch data from the table in a streaming manner: "GSVoter" - """ - GSVoter_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [GSVoter_stream_cursor_input]! - """filter the rows returned""" - where: GSVoter_bool_exp - ): [GSVoter!]! - """ fetch data from the table: "GrantShipsVoting" """ GrantShipsVoting( @@ -1218,17 +675,6 @@ type Subscription { """ GrantShipsVoting_by_pk(id: String!): GrantShipsVoting """ - fetch data from the table in a streaming manner: "GrantShipsVoting" - """ - GrantShipsVoting_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [GrantShipsVoting_stream_cursor_input]! - """filter the rows returned""" - where: GrantShipsVoting_bool_exp - ): [GrantShipsVoting!]! - """ fetch data from the table: "HALParams" """ HALParams( @@ -1246,17 +692,6 @@ type Subscription { """fetch data from the table: "HALParams" using primary key columns""" HALParams_by_pk(id: String!): HALParams """ - fetch data from the table in a streaming manner: "HALParams" - """ - HALParams_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [HALParams_stream_cursor_input]! - """filter the rows returned""" - where: HALParams_bool_exp - ): [HALParams!]! - """ fetch data from the table: "HatsPoster" """ HatsPoster( @@ -1274,17 +709,6 @@ type Subscription { """fetch data from the table: "HatsPoster" using primary key columns""" HatsPoster_by_pk(id: String!): HatsPoster """ - fetch data from the table in a streaming manner: "HatsPoster" - """ - HatsPoster_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [HatsPoster_stream_cursor_input]! - """filter the rows returned""" - where: HatsPoster_bool_exp - ): [HatsPoster!]! - """ fetch data from the table: "LocalLog" """ LocalLog( @@ -1302,17 +726,6 @@ type Subscription { """fetch data from the table: "LocalLog" using primary key columns""" LocalLog_by_pk(id: String!): LocalLog """ - fetch data from the table in a streaming manner: "LocalLog" - """ - LocalLog_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [LocalLog_stream_cursor_input]! - """filter the rows returned""" - where: LocalLog_bool_exp - ): [LocalLog!]! - """ fetch data from the table: "ModuleTemplate" """ ModuleTemplate( @@ -1330,17 +743,6 @@ type Subscription { """fetch data from the table: "ModuleTemplate" using primary key columns""" ModuleTemplate_by_pk(id: String!): ModuleTemplate """ - fetch data from the table in a streaming manner: "ModuleTemplate" - """ - ModuleTemplate_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ModuleTemplate_stream_cursor_input]! - """filter the rows returned""" - where: ModuleTemplate_bool_exp - ): [ModuleTemplate!]! - """ fetch data from the table: "Record" """ Record( @@ -1358,17 +760,6 @@ type Subscription { """fetch data from the table: "Record" using primary key columns""" Record_by_pk(id: String!): Record """ - fetch data from the table in a streaming manner: "Record" - """ - Record_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [Record_stream_cursor_input]! - """filter the rows returned""" - where: Record_bool_exp - ): [Record!]! - """ fetch data from the table: "ShipChoice" """ ShipChoice( @@ -1386,17 +777,6 @@ type Subscription { """fetch data from the table: "ShipChoice" using primary key columns""" ShipChoice_by_pk(id: String!): ShipChoice """ - fetch data from the table in a streaming manner: "ShipChoice" - """ - ShipChoice_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ShipChoice_stream_cursor_input]! - """filter the rows returned""" - where: ShipChoice_bool_exp - ): [ShipChoice!]! - """ fetch data from the table: "ShipVote" """ ShipVote( @@ -1414,17 +794,6 @@ type Subscription { """fetch data from the table: "ShipVote" using primary key columns""" ShipVote_by_pk(id: String!): ShipVote """ - fetch data from the table in a streaming manner: "ShipVote" - """ - ShipVote_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [ShipVote_stream_cursor_input]! - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! - """ fetch data from the table: "StemModule" """ StemModule( @@ -1442,17 +811,6 @@ type Subscription { """fetch data from the table: "StemModule" using primary key columns""" StemModule_by_pk(id: String!): StemModule """ - fetch data from the table in a streaming manner: "StemModule" - """ - StemModule_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [StemModule_stream_cursor_input]! - """filter the rows returned""" - where: StemModule_bool_exp - ): [StemModule!]! - """ fetch data from the table: "TVParams" """ TVParams( @@ -1470,17 +828,6 @@ type Subscription { """fetch data from the table: "TVParams" using primary key columns""" TVParams_by_pk(id: String!): TVParams """ - fetch data from the table in a streaming manner: "TVParams" - """ - TVParams_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [TVParams_stream_cursor_input]! - """filter the rows returned""" - where: TVParams_bool_exp - ): [TVParams!]! - """ fetch data from the table: "chain_metadata" """ chain_metadata( @@ -1498,17 +845,6 @@ type Subscription { """fetch data from the table: "chain_metadata" using primary key columns""" chain_metadata_by_pk(chain_id: Int!): chain_metadata """ - fetch data from the table in a streaming manner: "chain_metadata" - """ - chain_metadata_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [chain_metadata_stream_cursor_input]! - """filter the rows returned""" - where: chain_metadata_bool_exp - ): [chain_metadata!]! - """ fetch data from the table: "dynamic_contract_registry" """ dynamic_contract_registry( @@ -1528,17 +864,6 @@ type Subscription { """ dynamic_contract_registry_by_pk(chain_id: Int!, contract_address: String!): dynamic_contract_registry """ - fetch data from the table in a streaming manner: "dynamic_contract_registry" - """ - dynamic_contract_registry_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [dynamic_contract_registry_stream_cursor_input]! - """filter the rows returned""" - where: dynamic_contract_registry_bool_exp - ): [dynamic_contract_registry!]! - """ fetch data from the table: "entity_history" """ entity_history( @@ -1575,28 +900,6 @@ type Subscription { """ entity_history_filter_by_pk(block_number: Int!, chain_id: Int!, entity_id: String!, log_index: Int!, previous_block_number: Int!, previous_log_index: Int!): entity_history_filter """ - fetch data from the table in a streaming manner: "entity_history_filter" - """ - entity_history_filter_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [entity_history_filter_stream_cursor_input]! - """filter the rows returned""" - where: entity_history_filter_bool_exp - ): [entity_history_filter!]! - """ - fetch data from the table in a streaming manner: "entity_history" - """ - entity_history_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [entity_history_stream_cursor_input]! - """filter the rows returned""" - where: entity_history_bool_exp - ): [entity_history!]! - """ fetch data from the table: "event_sync_state" """ event_sync_state( @@ -1615,17 +918,6 @@ type Subscription { fetch data from the table: "event_sync_state" using primary key columns """ event_sync_state_by_pk(chain_id: Int!): event_sync_state - """ - fetch data from the table in a streaming manner: "event_sync_state" - """ - event_sync_state_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [event_sync_state_stream_cursor_input]! - """filter the rows returned""" - where: event_sync_state_bool_exp - ): [event_sync_state!]! """This function helps search for articles""" get_entity_history_filter( """ @@ -1661,17 +953,6 @@ type Subscription { """fetch data from the table: "persisted_state" using primary key columns""" persisted_state_by_pk(id: Int!): persisted_state """ - fetch data from the table in a streaming manner: "persisted_state" - """ - persisted_state_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [persisted_state_stream_cursor_input]! - """filter the rows returned""" - where: persisted_state_bool_exp - ): [persisted_state!]! - """ fetch data from the table: "raw_events" """ raw_events( @@ -1688,17 +969,9 @@ type Subscription { ): [raw_events!]! """fetch data from the table: "raw_events" using primary key columns""" raw_events_by_pk(chain_id: Int!, event_id: numeric!): raw_events - """ - fetch data from the table in a streaming manner: "raw_events" - """ - raw_events_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - """cursor to stream the results returned by the query""" - cursor: [raw_events_stream_cursor_input]! - """filter the rows returned""" - where: raw_events_bool_exp - ): [raw_events!]! +} + +type Subscription { project( id: ID! """ @@ -2195,2936 +1468,576 @@ type Subscription { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ -} - -""" -Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. -""" -input Boolean_comparison_exp { - _eq: Boolean - _gt: Boolean - _gte: Boolean - _in: [Boolean!] - _is_null: Boolean - _lt: Boolean - _lte: Boolean - _neq: Boolean - _nin: [Boolean!] -} - -""" -columns and relationships of "Contest" -""" -type Contest { - """An object relationship""" - choicesModule: StemModule - choicesModule_id: String! - contestAddress: String! - contestStatus: numeric! - contestVersion: String! - db_write_timestamp: timestamp - """An object relationship""" - executionModule: StemModule - executionModule_id: String! - filterTag: String! - id: String! - isContinuous: Boolean! - isRetractable: Boolean! - """An object relationship""" - pointsModule: StemModule - pointsModule_id: String! - """An object relationship""" - votesModule: StemModule - votesModule_id: String! -} - -""" -columns and relationships of "ContestClone" -""" -type ContestClone { - contestAddress: String! - contestVersion: String! - db_write_timestamp: timestamp - filterTag: String! - id: String! -} - -""" -Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. -""" -input ContestClone_bool_exp { - _and: [ContestClone_bool_exp!] - _not: ContestClone_bool_exp - _or: [ContestClone_bool_exp!] - contestAddress: String_comparison_exp - contestVersion: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - filterTag: String_comparison_exp - id: String_comparison_exp -} - -"""Ordering options when selecting data from "ContestClone".""" -input ContestClone_order_by { - contestAddress: order_by - contestVersion: order_by - db_write_timestamp: order_by - filterTag: order_by - id: order_by -} - -""" -select columns of table "ContestClone" -""" -enum ContestClone_select_column { - """column name""" - contestAddress - """column name""" - contestVersion - """column name""" - db_write_timestamp - """column name""" - filterTag - """column name""" - id -} - -""" -Streaming cursor of the table "ContestClone" -""" -input ContestClone_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ContestClone_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ContestClone_stream_cursor_value_input { - contestAddress: String - contestVersion: String - db_write_timestamp: timestamp - filterTag: String - id: String -} - -""" -columns and relationships of "ContestTemplate" -""" -type ContestTemplate { - active: Boolean! - contestAddress: String! - contestVersion: String! - db_write_timestamp: timestamp - id: String! - mdPointer: String! - mdProtocol: numeric! -} - -""" -Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. -""" -input ContestTemplate_bool_exp { - _and: [ContestTemplate_bool_exp!] - _not: ContestTemplate_bool_exp - _or: [ContestTemplate_bool_exp!] - active: Boolean_comparison_exp - contestAddress: String_comparison_exp - contestVersion: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp -} - -"""Ordering options when selecting data from "ContestTemplate".""" -input ContestTemplate_order_by { - active: order_by - contestAddress: order_by - contestVersion: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by -} - -""" -select columns of table "ContestTemplate" -""" -enum ContestTemplate_select_column { - """column name""" - active - """column name""" - contestAddress - """column name""" - contestVersion - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol -} - -""" -Streaming cursor of the table "ContestTemplate" -""" -input ContestTemplate_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ContestTemplate_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ContestTemplate_stream_cursor_value_input { - active: Boolean - contestAddress: String - contestVersion: String - db_write_timestamp: timestamp - id: String - mdPointer: String - mdProtocol: numeric -} - -""" -Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. -""" -input Contest_bool_exp { - _and: [Contest_bool_exp!] - _not: Contest_bool_exp - _or: [Contest_bool_exp!] - choicesModule: StemModule_bool_exp - choicesModule_id: String_comparison_exp - contestAddress: String_comparison_exp - contestStatus: numeric_comparison_exp - contestVersion: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - executionModule: StemModule_bool_exp - executionModule_id: String_comparison_exp - filterTag: String_comparison_exp - id: String_comparison_exp - isContinuous: Boolean_comparison_exp - isRetractable: Boolean_comparison_exp - pointsModule: StemModule_bool_exp - pointsModule_id: String_comparison_exp - votesModule: StemModule_bool_exp - votesModule_id: String_comparison_exp -} - -"""Ordering options when selecting data from "Contest".""" -input Contest_order_by { - choicesModule: StemModule_order_by - choicesModule_id: order_by - contestAddress: order_by - contestStatus: order_by - contestVersion: order_by - db_write_timestamp: order_by - executionModule: StemModule_order_by - executionModule_id: order_by - filterTag: order_by - id: order_by - isContinuous: order_by - isRetractable: order_by - pointsModule: StemModule_order_by - pointsModule_id: order_by - votesModule: StemModule_order_by - votesModule_id: order_by -} - -""" -select columns of table "Contest" -""" -enum Contest_select_column { - """column name""" - choicesModule_id - """column name""" - contestAddress - """column name""" - contestStatus - """column name""" - contestVersion - """column name""" - db_write_timestamp - """column name""" - executionModule_id - """column name""" - filterTag - """column name""" - id - """column name""" - isContinuous - """column name""" - isRetractable - """column name""" - pointsModule_id - """column name""" - votesModule_id -} - -""" -Streaming cursor of the table "Contest" -""" -input Contest_stream_cursor_input { - """Stream column input with initial value""" - initial_value: Contest_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input Contest_stream_cursor_value_input { - choicesModule_id: String - contestAddress: String - contestStatus: numeric - contestVersion: String - db_write_timestamp: timestamp - executionModule_id: String - filterTag: String - id: String - isContinuous: Boolean - isRetractable: Boolean - pointsModule_id: String - votesModule_id: String -} - -""" -columns and relationships of "ERCPointParams" -""" -type ERCPointParams { - db_write_timestamp: timestamp - id: String! - voteTokenAddress: String! - votingCheckpoint: numeric! -} - -""" -Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. -""" -input ERCPointParams_bool_exp { - _and: [ERCPointParams_bool_exp!] - _not: ERCPointParams_bool_exp - _or: [ERCPointParams_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - voteTokenAddress: String_comparison_exp - votingCheckpoint: numeric_comparison_exp -} - -"""Ordering options when selecting data from "ERCPointParams".""" -input ERCPointParams_order_by { - db_write_timestamp: order_by - id: order_by - voteTokenAddress: order_by - votingCheckpoint: order_by -} - -""" -select columns of table "ERCPointParams" -""" -enum ERCPointParams_select_column { - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - voteTokenAddress - """column name""" - votingCheckpoint -} - -""" -Streaming cursor of the table "ERCPointParams" -""" -input ERCPointParams_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ERCPointParams_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ERCPointParams_stream_cursor_value_input { - db_write_timestamp: timestamp - id: String - voteTokenAddress: String - votingCheckpoint: numeric -} - -""" -columns and relationships of "EnvioTX" -""" -type EnvioTX { - blockNumber: numeric! - db_write_timestamp: timestamp - id: String! - srcAddress: String! - txHash: String! - txOrigin: String -} - -""" -Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. -""" -input EnvioTX_bool_exp { - _and: [EnvioTX_bool_exp!] - _not: EnvioTX_bool_exp - _or: [EnvioTX_bool_exp!] - blockNumber: numeric_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - srcAddress: String_comparison_exp - txHash: String_comparison_exp - txOrigin: String_comparison_exp -} - -"""Ordering options when selecting data from "EnvioTX".""" -input EnvioTX_order_by { - blockNumber: order_by - db_write_timestamp: order_by - id: order_by - srcAddress: order_by - txHash: order_by - txOrigin: order_by -} - -""" -select columns of table "EnvioTX" -""" -enum EnvioTX_select_column { - """column name""" - blockNumber - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - srcAddress - """column name""" - txHash - """column name""" - txOrigin -} - -""" -Streaming cursor of the table "EnvioTX" -""" -input EnvioTX_stream_cursor_input { - """Stream column input with initial value""" - initial_value: EnvioTX_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input EnvioTX_stream_cursor_value_input { - blockNumber: numeric - db_write_timestamp: timestamp - id: String - srcAddress: String - txHash: String - txOrigin: String -} - -""" -columns and relationships of "EventPost" -""" -type EventPost { - db_write_timestamp: timestamp - hatId: numeric! - """An object relationship""" - hatsPoster: HatsPoster - hatsPoster_id: String! - id: String! - mdPointer: String! - mdProtocol: numeric! - tag: String! -} - -""" -order by aggregate values of table "EventPost" -""" -input EventPost_aggregate_order_by { - avg: EventPost_avg_order_by - count: order_by - max: EventPost_max_order_by - min: EventPost_min_order_by - stddev: EventPost_stddev_order_by - stddev_pop: EventPost_stddev_pop_order_by - stddev_samp: EventPost_stddev_samp_order_by - sum: EventPost_sum_order_by - var_pop: EventPost_var_pop_order_by - var_samp: EventPost_var_samp_order_by - variance: EventPost_variance_order_by -} - -""" -order by avg() on columns of table "EventPost" -""" -input EventPost_avg_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. -""" -input EventPost_bool_exp { - _and: [EventPost_bool_exp!] - _not: EventPost_bool_exp - _or: [EventPost_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - hatId: numeric_comparison_exp - hatsPoster: HatsPoster_bool_exp - hatsPoster_id: String_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - tag: String_comparison_exp -} - -""" -order by max() on columns of table "EventPost" -""" -input EventPost_max_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - tag: order_by -} - -""" -order by min() on columns of table "EventPost" -""" -input EventPost_min_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - tag: order_by -} - -"""Ordering options when selecting data from "EventPost".""" -input EventPost_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster: HatsPoster_order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - tag: order_by -} - -""" -select columns of table "EventPost" -""" -enum EventPost_select_column { - """column name""" - db_write_timestamp - """column name""" - hatId - """column name""" - hatsPoster_id - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - tag -} - -""" -order by stddev() on columns of table "EventPost" -""" -input EventPost_stddev_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_pop() on columns of table "EventPost" -""" -input EventPost_stddev_pop_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_samp() on columns of table "EventPost" -""" -input EventPost_stddev_samp_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -Streaming cursor of the table "EventPost" -""" -input EventPost_stream_cursor_input { - """Stream column input with initial value""" - initial_value: EventPost_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input EventPost_stream_cursor_value_input { - db_write_timestamp: timestamp - hatId: numeric - hatsPoster_id: String - id: String - mdPointer: String - mdProtocol: numeric - tag: String -} - -""" -order by sum() on columns of table "EventPost" -""" -input EventPost_sum_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by var_pop() on columns of table "EventPost" -""" -input EventPost_var_pop_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by var_samp() on columns of table "EventPost" -""" -input EventPost_var_samp_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by variance() on columns of table "EventPost" -""" -input EventPost_variance_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -columns and relationships of "FactoryEventsSummary" -""" -type FactoryEventsSummary { - address: String! - admins: _text! - contestBuiltCount: numeric! - contestCloneCount: numeric! - contestTemplateCount: numeric! - db_write_timestamp: timestamp - id: String! - moduleCloneCount: numeric! - moduleTemplateCount: numeric! -} - -""" -Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. -""" -input FactoryEventsSummary_bool_exp { - _and: [FactoryEventsSummary_bool_exp!] - _not: FactoryEventsSummary_bool_exp - _or: [FactoryEventsSummary_bool_exp!] - address: String_comparison_exp - admins: _text_comparison_exp - contestBuiltCount: numeric_comparison_exp - contestCloneCount: numeric_comparison_exp - contestTemplateCount: numeric_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - moduleCloneCount: numeric_comparison_exp - moduleTemplateCount: numeric_comparison_exp -} - -"""Ordering options when selecting data from "FactoryEventsSummary".""" -input FactoryEventsSummary_order_by { - address: order_by - admins: order_by - contestBuiltCount: order_by - contestCloneCount: order_by - contestTemplateCount: order_by - db_write_timestamp: order_by - id: order_by - moduleCloneCount: order_by - moduleTemplateCount: order_by -} - -""" -select columns of table "FactoryEventsSummary" -""" -enum FactoryEventsSummary_select_column { - """column name""" - address - """column name""" - admins - """column name""" - contestBuiltCount - """column name""" - contestCloneCount - """column name""" - contestTemplateCount - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - moduleCloneCount - """column name""" - moduleTemplateCount -} - -""" -Streaming cursor of the table "FactoryEventsSummary" -""" -input FactoryEventsSummary_stream_cursor_input { - """Stream column input with initial value""" - initial_value: FactoryEventsSummary_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input FactoryEventsSummary_stream_cursor_value_input { - address: String - admins: _text - contestBuiltCount: numeric - contestCloneCount: numeric - contestTemplateCount: numeric - db_write_timestamp: timestamp - id: String - moduleCloneCount: numeric - moduleTemplateCount: numeric -} - -""" -columns and relationships of "GSVoter" -""" -type GSVoter { - address: String! - db_write_timestamp: timestamp - id: String! - """An array relationship""" - votes( - """distinct select on columns""" - distinct_on: [ShipVote_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipVote_order_by!] - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! -} - -""" -Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. -""" -input GSVoter_bool_exp { - _and: [GSVoter_bool_exp!] - _not: GSVoter_bool_exp - _or: [GSVoter_bool_exp!] - address: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - votes: ShipVote_bool_exp -} - -"""Ordering options when selecting data from "GSVoter".""" -input GSVoter_order_by { - address: order_by - db_write_timestamp: order_by - id: order_by - votes_aggregate: ShipVote_aggregate_order_by -} - -""" -select columns of table "GSVoter" -""" -enum GSVoter_select_column { - """column name""" - address - """column name""" - db_write_timestamp - """column name""" - id -} - -""" -Streaming cursor of the table "GSVoter" -""" -input GSVoter_stream_cursor_input { - """Stream column input with initial value""" - initial_value: GSVoter_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input GSVoter_stream_cursor_value_input { - address: String - db_write_timestamp: timestamp - id: String -} - -""" -columns and relationships of "GrantShipsVoting" -""" -type GrantShipsVoting { - """An array relationship""" - choices( - """distinct select on columns""" - distinct_on: [ShipChoice_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipChoice_order_by!] - """filter the rows returned""" - where: ShipChoice_bool_exp - ): [ShipChoice!]! - """An object relationship""" - contest: Contest - contest_id: String! - db_write_timestamp: timestamp - endTime: numeric - hatId: numeric! - hatsAddress: String! - id: String! - isVotingActive: Boolean! - startTime: numeric - totalVotes: numeric! - voteDuration: numeric! - voteTokenAddress: String! - """An array relationship""" - votes( - """distinct select on columns""" - distinct_on: [ShipVote_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipVote_order_by!] - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! - votingCheckpoint: numeric! -} - -""" -Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. -""" -input GrantShipsVoting_bool_exp { - _and: [GrantShipsVoting_bool_exp!] - _not: GrantShipsVoting_bool_exp - _or: [GrantShipsVoting_bool_exp!] - choices: ShipChoice_bool_exp - contest: Contest_bool_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - endTime: numeric_comparison_exp - hatId: numeric_comparison_exp - hatsAddress: String_comparison_exp - id: String_comparison_exp - isVotingActive: Boolean_comparison_exp - startTime: numeric_comparison_exp - totalVotes: numeric_comparison_exp - voteDuration: numeric_comparison_exp - voteTokenAddress: String_comparison_exp - votes: ShipVote_bool_exp - votingCheckpoint: numeric_comparison_exp -} - -"""Ordering options when selecting data from "GrantShipsVoting".""" -input GrantShipsVoting_order_by { - choices_aggregate: ShipChoice_aggregate_order_by - contest: Contest_order_by - contest_id: order_by - db_write_timestamp: order_by - endTime: order_by - hatId: order_by - hatsAddress: order_by - id: order_by - isVotingActive: order_by - startTime: order_by - totalVotes: order_by - voteDuration: order_by - voteTokenAddress: order_by - votes_aggregate: ShipVote_aggregate_order_by - votingCheckpoint: order_by -} - -""" -select columns of table "GrantShipsVoting" -""" -enum GrantShipsVoting_select_column { - """column name""" - contest_id - """column name""" - db_write_timestamp - """column name""" - endTime - """column name""" - hatId - """column name""" - hatsAddress - """column name""" - id - """column name""" - isVotingActive - """column name""" - startTime - """column name""" - totalVotes - """column name""" - voteDuration - """column name""" - voteTokenAddress - """column name""" - votingCheckpoint -} - -""" -Streaming cursor of the table "GrantShipsVoting" -""" -input GrantShipsVoting_stream_cursor_input { - """Stream column input with initial value""" - initial_value: GrantShipsVoting_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input GrantShipsVoting_stream_cursor_value_input { - contest_id: String - db_write_timestamp: timestamp - endTime: numeric - hatId: numeric - hatsAddress: String - id: String - isVotingActive: Boolean - startTime: numeric - totalVotes: numeric - voteDuration: numeric - voteTokenAddress: String - votingCheckpoint: numeric -} - -""" -columns and relationships of "HALParams" -""" -type HALParams { - db_write_timestamp: timestamp - hatId: numeric! - hatsAddress: String! - id: String! -} - -""" -Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. -""" -input HALParams_bool_exp { - _and: [HALParams_bool_exp!] - _not: HALParams_bool_exp - _or: [HALParams_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - hatId: numeric_comparison_exp - hatsAddress: String_comparison_exp - id: String_comparison_exp -} - -"""Ordering options when selecting data from "HALParams".""" -input HALParams_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsAddress: order_by - id: order_by -} - -""" -select columns of table "HALParams" -""" -enum HALParams_select_column { - """column name""" - db_write_timestamp - """column name""" - hatId - """column name""" - hatsAddress - """column name""" - id -} - -""" -Streaming cursor of the table "HALParams" -""" -input HALParams_stream_cursor_input { - """Stream column input with initial value""" - initial_value: HALParams_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input HALParams_stream_cursor_value_input { - db_write_timestamp: timestamp - hatId: numeric - hatsAddress: String - id: String -} - -""" -columns and relationships of "HatsPoster" -""" -type HatsPoster { - db_write_timestamp: timestamp - """An array relationship""" - eventPosts( - """distinct select on columns""" - distinct_on: [EventPost_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [EventPost_order_by!] - """filter the rows returned""" - where: EventPost_bool_exp - ): [EventPost!]! - hatIds: _numeric! - hatsAddress: String! - id: String! - """An array relationship""" - record( - """distinct select on columns""" - distinct_on: [Record_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [Record_order_by!] - """filter the rows returned""" - where: Record_bool_exp - ): [Record!]! -} - -""" -Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. -""" -input HatsPoster_bool_exp { - _and: [HatsPoster_bool_exp!] - _not: HatsPoster_bool_exp - _or: [HatsPoster_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - eventPosts: EventPost_bool_exp - hatIds: _numeric_comparison_exp - hatsAddress: String_comparison_exp - id: String_comparison_exp - record: Record_bool_exp -} - -"""Ordering options when selecting data from "HatsPoster".""" -input HatsPoster_order_by { - db_write_timestamp: order_by - eventPosts_aggregate: EventPost_aggregate_order_by - hatIds: order_by - hatsAddress: order_by - id: order_by - record_aggregate: Record_aggregate_order_by -} - -""" -select columns of table "HatsPoster" -""" -enum HatsPoster_select_column { - """column name""" - db_write_timestamp - """column name""" - hatIds - """column name""" - hatsAddress - """column name""" - id -} - -""" -Streaming cursor of the table "HatsPoster" -""" -input HatsPoster_stream_cursor_input { - """Stream column input with initial value""" - initial_value: HatsPoster_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input HatsPoster_stream_cursor_value_input { - db_write_timestamp: timestamp - hatIds: _numeric - hatsAddress: String - id: String -} - -""" -Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. -""" -input Int_comparison_exp { - _eq: Int - _gt: Int - _gte: Int - _in: [Int!] - _is_null: Boolean - _lt: Int - _lte: Int - _neq: Int - _nin: [Int!] -} - -""" -columns and relationships of "LocalLog" -""" -type LocalLog { - db_write_timestamp: timestamp - id: String! - message: String -} - -""" -Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. -""" -input LocalLog_bool_exp { - _and: [LocalLog_bool_exp!] - _not: LocalLog_bool_exp - _or: [LocalLog_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - message: String_comparison_exp -} - -"""Ordering options when selecting data from "LocalLog".""" -input LocalLog_order_by { - db_write_timestamp: order_by - id: order_by - message: order_by -} - -""" -select columns of table "LocalLog" -""" -enum LocalLog_select_column { - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - message -} - -""" -Streaming cursor of the table "LocalLog" -""" -input LocalLog_stream_cursor_input { - """Stream column input with initial value""" - initial_value: LocalLog_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input LocalLog_stream_cursor_value_input { - db_write_timestamp: timestamp - id: String - message: String -} - -""" -columns and relationships of "ModuleTemplate" -""" -type ModuleTemplate { - active: Boolean! - db_write_timestamp: timestamp - id: String! - mdPointer: String! - mdProtocol: numeric! - moduleName: String! - templateAddress: String! -} - -""" -Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. -""" -input ModuleTemplate_bool_exp { - _and: [ModuleTemplate_bool_exp!] - _not: ModuleTemplate_bool_exp - _or: [ModuleTemplate_bool_exp!] - active: Boolean_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - moduleName: String_comparison_exp - templateAddress: String_comparison_exp -} - -"""Ordering options when selecting data from "ModuleTemplate".""" -input ModuleTemplate_order_by { - active: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - moduleName: order_by - templateAddress: order_by -} - -""" -select columns of table "ModuleTemplate" -""" -enum ModuleTemplate_select_column { - """column name""" - active - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - moduleName - """column name""" - templateAddress -} - -""" -Streaming cursor of the table "ModuleTemplate" -""" -input ModuleTemplate_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ModuleTemplate_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ModuleTemplate_stream_cursor_value_input { - active: Boolean - db_write_timestamp: timestamp - id: String - mdPointer: String - mdProtocol: numeric - moduleName: String - templateAddress: String -} - -""" -columns and relationships of "Record" -""" -type Record { - db_write_timestamp: timestamp - hatId: numeric! - """An object relationship""" - hatsPoster: HatsPoster - hatsPoster_id: String! - id: String! - mdPointer: String! - mdProtocol: numeric! - nonce: String! - tag: String! -} - -""" -order by aggregate values of table "Record" -""" -input Record_aggregate_order_by { - avg: Record_avg_order_by - count: order_by - max: Record_max_order_by - min: Record_min_order_by - stddev: Record_stddev_order_by - stddev_pop: Record_stddev_pop_order_by - stddev_samp: Record_stddev_samp_order_by - sum: Record_sum_order_by - var_pop: Record_var_pop_order_by - var_samp: Record_var_samp_order_by - variance: Record_variance_order_by -} - -""" -order by avg() on columns of table "Record" -""" -input Record_avg_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. -""" -input Record_bool_exp { - _and: [Record_bool_exp!] - _not: Record_bool_exp - _or: [Record_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - hatId: numeric_comparison_exp - hatsPoster: HatsPoster_bool_exp - hatsPoster_id: String_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - nonce: String_comparison_exp - tag: String_comparison_exp -} - -""" -order by max() on columns of table "Record" -""" -input Record_max_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by -} - -""" -order by min() on columns of table "Record" -""" -input Record_min_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by -} - -"""Ordering options when selecting data from "Record".""" -input Record_order_by { - db_write_timestamp: order_by - hatId: order_by - hatsPoster: HatsPoster_order_by - hatsPoster_id: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - nonce: order_by - tag: order_by -} - -""" -select columns of table "Record" -""" -enum Record_select_column { - """column name""" - db_write_timestamp - """column name""" - hatId - """column name""" - hatsPoster_id - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - nonce - """column name""" - tag -} - -""" -order by stddev() on columns of table "Record" -""" -input Record_stddev_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_pop() on columns of table "Record" -""" -input Record_stddev_pop_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by stddev_samp() on columns of table "Record" -""" -input Record_stddev_samp_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -Streaming cursor of the table "Record" -""" -input Record_stream_cursor_input { - """Stream column input with initial value""" - initial_value: Record_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input Record_stream_cursor_value_input { - db_write_timestamp: timestamp - hatId: numeric - hatsPoster_id: String - id: String - mdPointer: String - mdProtocol: numeric - nonce: String - tag: String -} - -""" -order by sum() on columns of table "Record" -""" -input Record_sum_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by var_pop() on columns of table "Record" -""" -input Record_var_pop_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by var_samp() on columns of table "Record" -""" -input Record_var_samp_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -order by variance() on columns of table "Record" -""" -input Record_variance_order_by { - hatId: order_by - mdProtocol: order_by -} - -""" -columns and relationships of "ShipChoice" -""" -type ShipChoice { - active: Boolean! - choiceData: String! - """An object relationship""" - contest: GrantShipsVoting - contest_id: String! - db_write_timestamp: timestamp - id: String! - mdPointer: String! - mdProtocol: numeric! - voteTally: numeric! - """An array relationship""" - votes( - """distinct select on columns""" - distinct_on: [ShipVote_select_column!] - """limit the number of rows returned""" - limit: Int - """skip the first n rows. Use only with order_by""" - offset: Int - """sort the rows by one or more columns""" - order_by: [ShipVote_order_by!] - """filter the rows returned""" - where: ShipVote_bool_exp - ): [ShipVote!]! -} - -""" -order by aggregate values of table "ShipChoice" -""" -input ShipChoice_aggregate_order_by { - avg: ShipChoice_avg_order_by - count: order_by - max: ShipChoice_max_order_by - min: ShipChoice_min_order_by - stddev: ShipChoice_stddev_order_by - stddev_pop: ShipChoice_stddev_pop_order_by - stddev_samp: ShipChoice_stddev_samp_order_by - sum: ShipChoice_sum_order_by - var_pop: ShipChoice_var_pop_order_by - var_samp: ShipChoice_var_samp_order_by - variance: ShipChoice_variance_order_by -} - -""" -order by avg() on columns of table "ShipChoice" -""" -input ShipChoice_avg_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. -""" -input ShipChoice_bool_exp { - _and: [ShipChoice_bool_exp!] - _not: ShipChoice_bool_exp - _or: [ShipChoice_bool_exp!] - active: Boolean_comparison_exp - choiceData: String_comparison_exp - contest: GrantShipsVoting_bool_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - voteTally: numeric_comparison_exp - votes: ShipVote_bool_exp -} - -""" -order by max() on columns of table "ShipChoice" -""" -input ShipChoice_max_order_by { - choiceData: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by -} - -""" -order by min() on columns of table "ShipChoice" -""" -input ShipChoice_min_order_by { - choiceData: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by -} - -"""Ordering options when selecting data from "ShipChoice".""" -input ShipChoice_order_by { - active: order_by - choiceData: order_by - contest: GrantShipsVoting_order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voteTally: order_by - votes_aggregate: ShipVote_aggregate_order_by -} - -""" -select columns of table "ShipChoice" -""" -enum ShipChoice_select_column { - """column name""" - active - """column name""" - choiceData - """column name""" - contest_id - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - voteTally -} - -""" -order by stddev() on columns of table "ShipChoice" -""" -input ShipChoice_stddev_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -order by stddev_pop() on columns of table "ShipChoice" -""" -input ShipChoice_stddev_pop_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -order by stddev_samp() on columns of table "ShipChoice" -""" -input ShipChoice_stddev_samp_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -Streaming cursor of the table "ShipChoice" -""" -input ShipChoice_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ShipChoice_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ShipChoice_stream_cursor_value_input { - active: Boolean - choiceData: String - contest_id: String - db_write_timestamp: timestamp - id: String - mdPointer: String - mdProtocol: numeric - voteTally: numeric -} - -""" -order by sum() on columns of table "ShipChoice" -""" -input ShipChoice_sum_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -order by var_pop() on columns of table "ShipChoice" -""" -input ShipChoice_var_pop_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -order by var_samp() on columns of table "ShipChoice" -""" -input ShipChoice_var_samp_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -order by variance() on columns of table "ShipChoice" -""" -input ShipChoice_variance_order_by { - mdProtocol: order_by - voteTally: order_by -} - -""" -columns and relationships of "ShipVote" -""" -type ShipVote { - amount: numeric! - """An object relationship""" - choice: ShipChoice - choice_id: String! - """An object relationship""" - contest: GrantShipsVoting - contest_id: String! - db_write_timestamp: timestamp - id: String! - isRetractVote: Boolean! - mdPointer: String! - mdProtocol: numeric! - """An object relationship""" - voter: GSVoter - voter_id: String! -} - -""" -order by aggregate values of table "ShipVote" -""" -input ShipVote_aggregate_order_by { - avg: ShipVote_avg_order_by - count: order_by - max: ShipVote_max_order_by - min: ShipVote_min_order_by - stddev: ShipVote_stddev_order_by - stddev_pop: ShipVote_stddev_pop_order_by - stddev_samp: ShipVote_stddev_samp_order_by - sum: ShipVote_sum_order_by - var_pop: ShipVote_var_pop_order_by - var_samp: ShipVote_var_samp_order_by - variance: ShipVote_variance_order_by -} - -""" -order by avg() on columns of table "ShipVote" -""" -input ShipVote_avg_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. -""" -input ShipVote_bool_exp { - _and: [ShipVote_bool_exp!] - _not: ShipVote_bool_exp - _or: [ShipVote_bool_exp!] - amount: numeric_comparison_exp - choice: ShipChoice_bool_exp - choice_id: String_comparison_exp - contest: GrantShipsVoting_bool_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - isRetractVote: Boolean_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - voter: GSVoter_bool_exp - voter_id: String_comparison_exp -} - -""" -order by max() on columns of table "ShipVote" -""" -input ShipVote_max_order_by { - amount: order_by - choice_id: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voter_id: order_by -} - -""" -order by min() on columns of table "ShipVote" -""" -input ShipVote_min_order_by { - amount: order_by - choice_id: order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - mdPointer: order_by - mdProtocol: order_by - voter_id: order_by -} - -"""Ordering options when selecting data from "ShipVote".""" -input ShipVote_order_by { - amount: order_by - choice: ShipChoice_order_by - choice_id: order_by - contest: GrantShipsVoting_order_by - contest_id: order_by - db_write_timestamp: order_by - id: order_by - isRetractVote: order_by - mdPointer: order_by - mdProtocol: order_by - voter: GSVoter_order_by - voter_id: order_by -} - -""" -select columns of table "ShipVote" -""" -enum ShipVote_select_column { - """column name""" - amount - """column name""" - choice_id - """column name""" - contest_id - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - isRetractVote - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - voter_id -} - -""" -order by stddev() on columns of table "ShipVote" -""" -input ShipVote_stddev_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -order by stddev_pop() on columns of table "ShipVote" -""" -input ShipVote_stddev_pop_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -order by stddev_samp() on columns of table "ShipVote" -""" -input ShipVote_stddev_samp_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -Streaming cursor of the table "ShipVote" -""" -input ShipVote_stream_cursor_input { - """Stream column input with initial value""" - initial_value: ShipVote_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input ShipVote_stream_cursor_value_input { - amount: numeric - choice_id: String - contest_id: String - db_write_timestamp: timestamp - id: String - isRetractVote: Boolean - mdPointer: String - mdProtocol: numeric - voter_id: String -} - -""" -order by sum() on columns of table "ShipVote" -""" -input ShipVote_sum_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -order by var_pop() on columns of table "ShipVote" -""" -input ShipVote_var_pop_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -order by var_samp() on columns of table "ShipVote" -""" -input ShipVote_var_samp_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -order by variance() on columns of table "ShipVote" -""" -input ShipVote_variance_order_by { - amount: order_by - mdProtocol: order_by -} - -""" -columns and relationships of "StemModule" -""" -type StemModule { - """An object relationship""" - contest: Contest - contestAddress: String - contest_id: String - db_write_timestamp: timestamp - filterTag: String! - id: String! - moduleAddress: String! - moduleName: String! - """An object relationship""" - moduleTemplate: ModuleTemplate - moduleTemplate_id: String! -} - -""" -Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. -""" -input StemModule_bool_exp { - _and: [StemModule_bool_exp!] - _not: StemModule_bool_exp - _or: [StemModule_bool_exp!] - contest: Contest_bool_exp - contestAddress: String_comparison_exp - contest_id: String_comparison_exp - db_write_timestamp: timestamp_comparison_exp - filterTag: String_comparison_exp - id: String_comparison_exp - moduleAddress: String_comparison_exp - moduleName: String_comparison_exp - moduleTemplate: ModuleTemplate_bool_exp - moduleTemplate_id: String_comparison_exp -} - -"""Ordering options when selecting data from "StemModule".""" -input StemModule_order_by { - contest: Contest_order_by - contestAddress: order_by - contest_id: order_by - db_write_timestamp: order_by - filterTag: order_by - id: order_by - moduleAddress: order_by - moduleName: order_by - moduleTemplate: ModuleTemplate_order_by - moduleTemplate_id: order_by -} - -""" -select columns of table "StemModule" -""" -enum StemModule_select_column { - """column name""" - contestAddress - """column name""" - contest_id - """column name""" - db_write_timestamp - """column name""" - filterTag - """column name""" - id - """column name""" - moduleAddress - """column name""" - moduleName - """column name""" - moduleTemplate_id -} - -""" -Streaming cursor of the table "StemModule" -""" -input StemModule_stream_cursor_input { - """Stream column input with initial value""" - initial_value: StemModule_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input StemModule_stream_cursor_value_input { - contestAddress: String - contest_id: String - db_write_timestamp: timestamp - filterTag: String - id: String - moduleAddress: String - moduleName: String - moduleTemplate_id: String -} - -""" -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. -""" -input String_comparison_exp { - _eq: String - _gt: String - _gte: String - """does the column match the given case-insensitive pattern""" - _ilike: String - _in: [String!] - """ - does the column match the given POSIX regular expression, case insensitive - """ - _iregex: String - _is_null: Boolean - """does the column match the given pattern""" - _like: String - _lt: String - _lte: String - _neq: String - """does the column NOT match the given case-insensitive pattern""" - _nilike: String - _nin: [String!] - """ - does the column NOT match the given POSIX regular expression, case insensitive - """ - _niregex: String - """does the column NOT match the given pattern""" - _nlike: String - """ - does the column NOT match the given POSIX regular expression, case sensitive - """ - _nregex: String - """does the column NOT match the given SQL regular expression""" - _nsimilar: String - """ - does the column match the given POSIX regular expression, case sensitive - """ - _regex: String - """does the column match the given SQL regular expression""" - _similar: String -} - -""" -columns and relationships of "TVParams" -""" -type TVParams { - db_write_timestamp: timestamp - id: String! - voteDuration: numeric! -} - -""" -Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. -""" -input TVParams_bool_exp { - _and: [TVParams_bool_exp!] - _not: TVParams_bool_exp - _or: [TVParams_bool_exp!] - db_write_timestamp: timestamp_comparison_exp - id: String_comparison_exp - voteDuration: numeric_comparison_exp -} - -"""Ordering options when selecting data from "TVParams".""" -input TVParams_order_by { - db_write_timestamp: order_by - id: order_by - voteDuration: order_by -} - -""" -select columns of table "TVParams" -""" -enum TVParams_select_column { - """column name""" - db_write_timestamp - """column name""" - id - """column name""" - voteDuration -} - -""" -Streaming cursor of the table "TVParams" -""" -input TVParams_stream_cursor_input { - """Stream column input with initial value""" - initial_value: TVParams_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input TVParams_stream_cursor_value_input { - db_write_timestamp: timestamp - id: String - voteDuration: numeric -} - -scalar _numeric - -""" -Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. -""" -input _numeric_comparison_exp { - _eq: _numeric - _gt: _numeric - _gte: _numeric - _in: [_numeric!] - _is_null: Boolean - _lt: _numeric - _lte: _numeric - _neq: _numeric - _nin: [_numeric!] -} - -scalar _text - -""" -Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. -""" -input _text_comparison_exp { - _eq: _text - _gt: _text - _gte: _text - _in: [_text!] - _is_null: Boolean - _lt: _text - _lte: _text - _neq: _text - _nin: [_text!] -} - -""" -columns and relationships of "chain_metadata" -""" -type chain_metadata { - block_height: Int! - chain_id: Int! - end_block: Int - first_event_block_number: Int - is_hyper_sync: Boolean! - latest_fetched_block_number: Int! - latest_processed_block: Int - num_batches_fetched: Int! - num_events_processed: Int - start_block: Int! - timestamp_caught_up_to_head_or_endblock: timestamptz -} - -""" -Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. -""" -input chain_metadata_bool_exp { - _and: [chain_metadata_bool_exp!] - _not: chain_metadata_bool_exp - _or: [chain_metadata_bool_exp!] - block_height: Int_comparison_exp - chain_id: Int_comparison_exp - end_block: Int_comparison_exp - first_event_block_number: Int_comparison_exp - is_hyper_sync: Boolean_comparison_exp - latest_fetched_block_number: Int_comparison_exp - latest_processed_block: Int_comparison_exp - num_batches_fetched: Int_comparison_exp - num_events_processed: Int_comparison_exp - start_block: Int_comparison_exp - timestamp_caught_up_to_head_or_endblock: timestamptz_comparison_exp -} - -"""Ordering options when selecting data from "chain_metadata".""" -input chain_metadata_order_by { - block_height: order_by - chain_id: order_by - end_block: order_by - first_event_block_number: order_by - is_hyper_sync: order_by - latest_fetched_block_number: order_by - latest_processed_block: order_by - num_batches_fetched: order_by - num_events_processed: order_by - start_block: order_by - timestamp_caught_up_to_head_or_endblock: order_by -} - -""" -select columns of table "chain_metadata" -""" -enum chain_metadata_select_column { - """column name""" - block_height - """column name""" - chain_id - """column name""" - end_block - """column name""" - first_event_block_number - """column name""" - is_hyper_sync - """column name""" - latest_fetched_block_number - """column name""" - latest_processed_block - """column name""" - num_batches_fetched - """column name""" - num_events_processed - """column name""" - start_block - """column name""" - timestamp_caught_up_to_head_or_endblock -} - -""" -Streaming cursor of the table "chain_metadata" -""" -input chain_metadata_stream_cursor_input { - """Stream column input with initial value""" - initial_value: chain_metadata_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input chain_metadata_stream_cursor_value_input { - block_height: Int - chain_id: Int - end_block: Int - first_event_block_number: Int - is_hyper_sync: Boolean - latest_fetched_block_number: Int - latest_processed_block: Int - num_batches_fetched: Int - num_events_processed: Int - start_block: Int - timestamp_caught_up_to_head_or_endblock: timestamptz -} - -scalar contract_type - -""" -Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. -""" -input contract_type_comparison_exp { - _eq: contract_type - _gt: contract_type - _gte: contract_type - _in: [contract_type!] - _is_null: Boolean - _lt: contract_type - _lte: contract_type - _neq: contract_type - _nin: [contract_type!] -} - -"""ordering argument of a cursor""" -enum cursor_ordering { - """ascending ordering of the cursor""" - ASC - """descending ordering of the cursor""" - DESC -} - -""" -columns and relationships of "dynamic_contract_registry" -""" -type dynamic_contract_registry { - block_timestamp: Int! - chain_id: Int! - contract_address: String! - contract_type: contract_type! - event_id: numeric! -} - -""" -Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. -""" -input dynamic_contract_registry_bool_exp { - _and: [dynamic_contract_registry_bool_exp!] - _not: dynamic_contract_registry_bool_exp - _or: [dynamic_contract_registry_bool_exp!] - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - contract_address: String_comparison_exp - contract_type: contract_type_comparison_exp - event_id: numeric_comparison_exp -} - -"""Ordering options when selecting data from "dynamic_contract_registry".""" -input dynamic_contract_registry_order_by { - block_timestamp: order_by - chain_id: order_by - contract_address: order_by - contract_type: order_by - event_id: order_by -} - -""" -select columns of table "dynamic_contract_registry" -""" -enum dynamic_contract_registry_select_column { - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - contract_address - """column name""" - contract_type - """column name""" - event_id -} - -""" -Streaming cursor of the table "dynamic_contract_registry" -""" -input dynamic_contract_registry_stream_cursor_input { - """Stream column input with initial value""" - initial_value: dynamic_contract_registry_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input dynamic_contract_registry_stream_cursor_value_input { - block_timestamp: Int - chain_id: Int - contract_address: String - contract_type: contract_type - event_id: numeric -} - -""" -columns and relationships of "entity_history" -""" -type entity_history { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - entity_id: String! - entity_type: entity_type! - """An object relationship""" - event: raw_events - log_index: Int! - params( - """JSON select path""" - path: String - ): json - previous_block_number: Int - previous_block_timestamp: Int - previous_chain_id: Int - previous_log_index: Int -} - -""" -order by aggregate values of table "entity_history" -""" -input entity_history_aggregate_order_by { - avg: entity_history_avg_order_by - count: order_by - max: entity_history_max_order_by - min: entity_history_min_order_by - stddev: entity_history_stddev_order_by - stddev_pop: entity_history_stddev_pop_order_by - stddev_samp: entity_history_stddev_samp_order_by - sum: entity_history_sum_order_by - var_pop: entity_history_var_pop_order_by - var_samp: entity_history_var_samp_order_by - variance: entity_history_variance_order_by -} - -""" -order by avg() on columns of table "entity_history" -""" -input entity_history_avg_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. -""" -input entity_history_bool_exp { - _and: [entity_history_bool_exp!] - _not: entity_history_bool_exp - _or: [entity_history_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - entity_id: String_comparison_exp - entity_type: entity_type_comparison_exp - event: raw_events_bool_exp - log_index: Int_comparison_exp - params: json_comparison_exp - previous_block_number: Int_comparison_exp - previous_block_timestamp: Int_comparison_exp - previous_chain_id: Int_comparison_exp - previous_log_index: Int_comparison_exp -} - -""" -columns and relationships of "entity_history_filter" -""" -type entity_history_filter { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - entity_id: String! - entity_type: entity_type! - """An object relationship""" - event: raw_events - log_index: Int! - new_val( - """JSON select path""" - path: String - ): json - old_val( - """JSON select path""" - path: String - ): json - previous_block_number: Int! - previous_log_index: Int! -} - -""" -Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. -""" -input entity_history_filter_bool_exp { - _and: [entity_history_filter_bool_exp!] - _not: entity_history_filter_bool_exp - _or: [entity_history_filter_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - entity_id: String_comparison_exp - entity_type: entity_type_comparison_exp - event: raw_events_bool_exp - log_index: Int_comparison_exp - new_val: json_comparison_exp - old_val: json_comparison_exp - previous_block_number: Int_comparison_exp - previous_log_index: Int_comparison_exp -} - -"""Ordering options when selecting data from "entity_history_filter".""" -input entity_history_filter_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - event: raw_events_order_by - log_index: order_by - new_val: order_by - old_val: order_by - previous_block_number: order_by - previous_log_index: order_by -} - -""" -select columns of table "entity_history_filter" -""" -enum entity_history_filter_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - entity_id - """column name""" - entity_type - """column name""" - log_index - """column name""" - new_val - """column name""" - old_val - """column name""" - previous_block_number - """column name""" - previous_log_index -} - -""" -Streaming cursor of the table "entity_history_filter" -""" -input entity_history_filter_stream_cursor_input { - """Stream column input with initial value""" - initial_value: entity_history_filter_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input entity_history_filter_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - entity_id: String - entity_type: entity_type - log_index: Int - new_val: json - old_val: json - previous_block_number: Int - previous_log_index: Int -} - -""" -order by max() on columns of table "entity_history" -""" -input entity_history_max_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by min() on columns of table "entity_history" -""" -input entity_history_min_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -"""Ordering options when selecting data from "entity_history".""" -input entity_history_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - entity_id: order_by - entity_type: order_by - event: raw_events_order_by - log_index: order_by - params: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -select columns of table "entity_history" -""" -enum entity_history_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - entity_id - """column name""" - entity_type - """column name""" - log_index - """column name""" - params - """column name""" - previous_block_number - """column name""" - previous_block_timestamp - """column name""" - previous_chain_id - """column name""" - previous_log_index -} - -""" -order by stddev() on columns of table "entity_history" -""" -input entity_history_stddev_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by stddev_pop() on columns of table "entity_history" -""" -input entity_history_stddev_pop_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by stddev_samp() on columns of table "entity_history" -""" -input entity_history_stddev_samp_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -Streaming cursor of the table "entity_history" -""" -input entity_history_stream_cursor_input { - """Stream column input with initial value""" - initial_value: entity_history_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input entity_history_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - entity_id: String - entity_type: entity_type - log_index: Int - params: json - previous_block_number: Int - previous_block_timestamp: Int - previous_chain_id: Int - previous_log_index: Int -} - -""" -order by sum() on columns of table "entity_history" -""" -input entity_history_sum_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by var_pop() on columns of table "entity_history" -""" -input entity_history_var_pop_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by var_samp() on columns of table "entity_history" -""" -input entity_history_var_samp_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -""" -order by variance() on columns of table "entity_history" -""" -input entity_history_variance_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - previous_block_number: order_by - previous_block_timestamp: order_by - previous_chain_id: order_by - previous_log_index: order_by -} - -scalar entity_type - -""" -Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. -""" -input entity_type_comparison_exp { - _eq: entity_type - _gt: entity_type - _gte: entity_type - _in: [entity_type!] - _is_null: Boolean - _lt: entity_type - _lte: entity_type - _neq: entity_type - _nin: [entity_type!] -} - -""" -columns and relationships of "event_sync_state" -""" -type event_sync_state { - block_number: Int! - block_timestamp: Int! - chain_id: Int! - log_index: Int! - transaction_index: Int! -} - -""" -Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. -""" -input event_sync_state_bool_exp { - _and: [event_sync_state_bool_exp!] - _not: event_sync_state_bool_exp - _or: [event_sync_state_bool_exp!] - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - log_index: Int_comparison_exp - transaction_index: Int_comparison_exp -} - -"""Ordering options when selecting data from "event_sync_state".""" -input event_sync_state_order_by { - block_number: order_by - block_timestamp: order_by - chain_id: order_by - log_index: order_by - transaction_index: order_by -} - -""" -select columns of table "event_sync_state" -""" -enum event_sync_state_select_column { - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - log_index - """column name""" - transaction_index -} - -""" -Streaming cursor of the table "event_sync_state" -""" -input event_sync_state_stream_cursor_input { - """Stream column input with initial value""" - initial_value: event_sync_state_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input event_sync_state_stream_cursor_value_input { - block_number: Int - block_timestamp: Int - chain_id: Int - log_index: Int - transaction_index: Int -} - -scalar event_type - -""" -Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. -""" -input event_type_comparison_exp { - _eq: event_type - _gt: event_type - _gte: event_type - _in: [event_type!] - _is_null: Boolean - _lt: event_type - _lte: event_type - _neq: event_type - _nin: [event_type!] -} - -input get_entity_history_filter_args { - end_block: Int - end_chain_id: Int - end_log_index: Int - end_timestamp: Int - start_block: Int - start_chain_id: Int - start_log_index: Int - start_timestamp: Int -} - -scalar json - -""" -Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. -""" -input json_comparison_exp { - _eq: json - _gt: json - _gte: json - _in: [json!] - _is_null: Boolean - _lt: json - _lte: json - _neq: json - _nin: [json!] -} - -scalar numeric - -""" -Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. -""" -input numeric_comparison_exp { - _eq: numeric - _gt: numeric - _gte: numeric - _in: [numeric!] - _is_null: Boolean - _lt: numeric - _lte: numeric - _neq: numeric - _nin: [numeric!] -} - -"""column ordering options""" -enum order_by { - """in ascending order, nulls last""" - asc - """in ascending order, nulls first""" - asc_nulls_first - """in ascending order, nulls last""" - asc_nulls_last - """in descending order, nulls first""" - desc - """in descending order, nulls first""" - desc_nulls_first - """in descending order, nulls last""" - desc_nulls_last -} - -""" -columns and relationships of "persisted_state" -""" -type persisted_state { - abi_files_hash: String! - config_hash: String! - envio_version: String! - handler_files_hash: String! - id: Int! - schema_hash: String! -} - -""" -Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. -""" -input persisted_state_bool_exp { - _and: [persisted_state_bool_exp!] - _not: persisted_state_bool_exp - _or: [persisted_state_bool_exp!] - abi_files_hash: String_comparison_exp - config_hash: String_comparison_exp - envio_version: String_comparison_exp - handler_files_hash: String_comparison_exp - id: Int_comparison_exp - schema_hash: String_comparison_exp -} - -"""Ordering options when selecting data from "persisted_state".""" -input persisted_state_order_by { - abi_files_hash: order_by - config_hash: order_by - envio_version: order_by - handler_files_hash: order_by - id: order_by - schema_hash: order_by -} - -""" -select columns of table "persisted_state" -""" -enum persisted_state_select_column { - """column name""" - abi_files_hash - """column name""" - config_hash - """column name""" - envio_version - """column name""" - handler_files_hash - """column name""" - id - """column name""" - schema_hash -} - -""" -Streaming cursor of the table "persisted_state" -""" -input persisted_state_stream_cursor_input { - """Stream column input with initial value""" - initial_value: persisted_state_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input persisted_state_stream_cursor_value_input { - abi_files_hash: String - config_hash: String - envio_version: String - handler_files_hash: String - id: Int - schema_hash: String -} - -""" -columns and relationships of "raw_events" -""" -type raw_events { - block_hash: String! - block_number: Int! - block_timestamp: Int! - chain_id: Int! - db_write_timestamp: timestamp - """An array relationship""" - event_history( + """ + fetch data from the table: "Contest" + """ + Contest( + """distinct select on columns""" + distinct_on: [Contest_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [Contest_order_by!] + """filter the rows returned""" + where: Contest_bool_exp + ): [Contest!]! + """ + fetch data from the table: "ContestClone" + """ + ContestClone( + """distinct select on columns""" + distinct_on: [ContestClone_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ContestClone_order_by!] + """filter the rows returned""" + where: ContestClone_bool_exp + ): [ContestClone!]! + """fetch data from the table: "ContestClone" using primary key columns""" + ContestClone_by_pk(id: String!): ContestClone + """ + fetch data from the table in a streaming manner: "ContestClone" + """ + ContestClone_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ContestClone_stream_cursor_input]! + """filter the rows returned""" + where: ContestClone_bool_exp + ): [ContestClone!]! + """ + fetch data from the table: "ContestTemplate" + """ + ContestTemplate( + """distinct select on columns""" + distinct_on: [ContestTemplate_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ContestTemplate_order_by!] + """filter the rows returned""" + where: ContestTemplate_bool_exp + ): [ContestTemplate!]! + """fetch data from the table: "ContestTemplate" using primary key columns""" + ContestTemplate_by_pk(id: String!): ContestTemplate + """ + fetch data from the table in a streaming manner: "ContestTemplate" + """ + ContestTemplate_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ContestTemplate_stream_cursor_input]! + """filter the rows returned""" + where: ContestTemplate_bool_exp + ): [ContestTemplate!]! + """fetch data from the table: "Contest" using primary key columns""" + Contest_by_pk(id: String!): Contest + """ + fetch data from the table in a streaming manner: "Contest" + """ + Contest_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [Contest_stream_cursor_input]! + """filter the rows returned""" + where: Contest_bool_exp + ): [Contest!]! + """ + fetch data from the table: "ERCPointParams" + """ + ERCPointParams( + """distinct select on columns""" + distinct_on: [ERCPointParams_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ERCPointParams_order_by!] + """filter the rows returned""" + where: ERCPointParams_bool_exp + ): [ERCPointParams!]! + """fetch data from the table: "ERCPointParams" using primary key columns""" + ERCPointParams_by_pk(id: String!): ERCPointParams + """ + fetch data from the table in a streaming manner: "ERCPointParams" + """ + ERCPointParams_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ERCPointParams_stream_cursor_input]! + """filter the rows returned""" + where: ERCPointParams_bool_exp + ): [ERCPointParams!]! + """ + fetch data from the table: "EnvioTX" + """ + EnvioTX( + """distinct select on columns""" + distinct_on: [EnvioTX_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [EnvioTX_order_by!] + """filter the rows returned""" + where: EnvioTX_bool_exp + ): [EnvioTX!]! + """fetch data from the table: "EnvioTX" using primary key columns""" + EnvioTX_by_pk(id: String!): EnvioTX + """ + fetch data from the table in a streaming manner: "EnvioTX" + """ + EnvioTX_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [EnvioTX_stream_cursor_input]! + """filter the rows returned""" + where: EnvioTX_bool_exp + ): [EnvioTX!]! + """ + fetch data from the table: "EventPost" + """ + EventPost( + """distinct select on columns""" + distinct_on: [EventPost_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [EventPost_order_by!] + """filter the rows returned""" + where: EventPost_bool_exp + ): [EventPost!]! + """fetch data from the table: "EventPost" using primary key columns""" + EventPost_by_pk(id: String!): EventPost + """ + fetch data from the table in a streaming manner: "EventPost" + """ + EventPost_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [EventPost_stream_cursor_input]! + """filter the rows returned""" + where: EventPost_bool_exp + ): [EventPost!]! + """ + fetch data from the table: "FactoryEventsSummary" + """ + FactoryEventsSummary( + """distinct select on columns""" + distinct_on: [FactoryEventsSummary_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [FactoryEventsSummary_order_by!] + """filter the rows returned""" + where: FactoryEventsSummary_bool_exp + ): [FactoryEventsSummary!]! + """ + fetch data from the table: "FactoryEventsSummary" using primary key columns + """ + FactoryEventsSummary_by_pk(id: String!): FactoryEventsSummary + """ + fetch data from the table in a streaming manner: "FactoryEventsSummary" + """ + FactoryEventsSummary_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [FactoryEventsSummary_stream_cursor_input]! + """filter the rows returned""" + where: FactoryEventsSummary_bool_exp + ): [FactoryEventsSummary!]! + """ + fetch data from the table: "GSVoter" + """ + GSVoter( + """distinct select on columns""" + distinct_on: [GSVoter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GSVoter_order_by!] + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """fetch data from the table: "GSVoter" using primary key columns""" + GSVoter_by_pk(id: String!): GSVoter + """ + fetch data from the table in a streaming manner: "GSVoter" + """ + GSVoter_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [GSVoter_stream_cursor_input]! + """filter the rows returned""" + where: GSVoter_bool_exp + ): [GSVoter!]! + """ + fetch data from the table: "GrantShipsVoting" + """ + GrantShipsVoting( + """distinct select on columns""" + distinct_on: [GrantShipsVoting_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [GrantShipsVoting_order_by!] + """filter the rows returned""" + where: GrantShipsVoting_bool_exp + ): [GrantShipsVoting!]! + """ + fetch data from the table: "GrantShipsVoting" using primary key columns + """ + GrantShipsVoting_by_pk(id: String!): GrantShipsVoting + """ + fetch data from the table in a streaming manner: "GrantShipsVoting" + """ + GrantShipsVoting_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [GrantShipsVoting_stream_cursor_input]! + """filter the rows returned""" + where: GrantShipsVoting_bool_exp + ): [GrantShipsVoting!]! + """ + fetch data from the table: "HALParams" + """ + HALParams( + """distinct select on columns""" + distinct_on: [HALParams_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [HALParams_order_by!] + """filter the rows returned""" + where: HALParams_bool_exp + ): [HALParams!]! + """fetch data from the table: "HALParams" using primary key columns""" + HALParams_by_pk(id: String!): HALParams + """ + fetch data from the table in a streaming manner: "HALParams" + """ + HALParams_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [HALParams_stream_cursor_input]! + """filter the rows returned""" + where: HALParams_bool_exp + ): [HALParams!]! + """ + fetch data from the table: "HatsPoster" + """ + HatsPoster( + """distinct select on columns""" + distinct_on: [HatsPoster_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [HatsPoster_order_by!] + """filter the rows returned""" + where: HatsPoster_bool_exp + ): [HatsPoster!]! + """fetch data from the table: "HatsPoster" using primary key columns""" + HatsPoster_by_pk(id: String!): HatsPoster + """ + fetch data from the table in a streaming manner: "HatsPoster" + """ + HatsPoster_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [HatsPoster_stream_cursor_input]! + """filter the rows returned""" + where: HatsPoster_bool_exp + ): [HatsPoster!]! + """ + fetch data from the table: "LocalLog" + """ + LocalLog( + """distinct select on columns""" + distinct_on: [LocalLog_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [LocalLog_order_by!] + """filter the rows returned""" + where: LocalLog_bool_exp + ): [LocalLog!]! + """fetch data from the table: "LocalLog" using primary key columns""" + LocalLog_by_pk(id: String!): LocalLog + """ + fetch data from the table in a streaming manner: "LocalLog" + """ + LocalLog_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [LocalLog_stream_cursor_input]! + """filter the rows returned""" + where: LocalLog_bool_exp + ): [LocalLog!]! + """ + fetch data from the table: "ModuleTemplate" + """ + ModuleTemplate( + """distinct select on columns""" + distinct_on: [ModuleTemplate_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ModuleTemplate_order_by!] + """filter the rows returned""" + where: ModuleTemplate_bool_exp + ): [ModuleTemplate!]! + """fetch data from the table: "ModuleTemplate" using primary key columns""" + ModuleTemplate_by_pk(id: String!): ModuleTemplate + """ + fetch data from the table in a streaming manner: "ModuleTemplate" + """ + ModuleTemplate_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ModuleTemplate_stream_cursor_input]! + """filter the rows returned""" + where: ModuleTemplate_bool_exp + ): [ModuleTemplate!]! + """ + fetch data from the table: "Record" + """ + Record( + """distinct select on columns""" + distinct_on: [Record_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [Record_order_by!] + """filter the rows returned""" + where: Record_bool_exp + ): [Record!]! + """fetch data from the table: "Record" using primary key columns""" + Record_by_pk(id: String!): Record + """ + fetch data from the table in a streaming manner: "Record" + """ + Record_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [Record_stream_cursor_input]! + """filter the rows returned""" + where: Record_bool_exp + ): [Record!]! + """ + fetch data from the table: "ShipChoice" + """ + ShipChoice( + """distinct select on columns""" + distinct_on: [ShipChoice_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipChoice_order_by!] + """filter the rows returned""" + where: ShipChoice_bool_exp + ): [ShipChoice!]! + """fetch data from the table: "ShipChoice" using primary key columns""" + ShipChoice_by_pk(id: String!): ShipChoice + """ + fetch data from the table in a streaming manner: "ShipChoice" + """ + ShipChoice_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ShipChoice_stream_cursor_input]! + """filter the rows returned""" + where: ShipChoice_bool_exp + ): [ShipChoice!]! + """ + fetch data from the table: "ShipVote" + """ + ShipVote( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! + """fetch data from the table: "ShipVote" using primary key columns""" + ShipVote_by_pk(id: String!): ShipVote + """ + fetch data from the table in a streaming manner: "ShipVote" + """ + ShipVote_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [ShipVote_stream_cursor_input]! + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! + """ + fetch data from the table: "StemModule" + """ + StemModule( + """distinct select on columns""" + distinct_on: [StemModule_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [StemModule_order_by!] + """filter the rows returned""" + where: StemModule_bool_exp + ): [StemModule!]! + """fetch data from the table: "StemModule" using primary key columns""" + StemModule_by_pk(id: String!): StemModule + """ + fetch data from the table in a streaming manner: "StemModule" + """ + StemModule_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [StemModule_stream_cursor_input]! + """filter the rows returned""" + where: StemModule_bool_exp + ): [StemModule!]! + """ + fetch data from the table: "TVParams" + """ + TVParams( + """distinct select on columns""" + distinct_on: [TVParams_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [TVParams_order_by!] + """filter the rows returned""" + where: TVParams_bool_exp + ): [TVParams!]! + """fetch data from the table: "TVParams" using primary key columns""" + TVParams_by_pk(id: String!): TVParams + """ + fetch data from the table in a streaming manner: "TVParams" + """ + TVParams_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [TVParams_stream_cursor_input]! + """filter the rows returned""" + where: TVParams_bool_exp + ): [TVParams!]! + """ + fetch data from the table: "chain_metadata" + """ + chain_metadata( + """distinct select on columns""" + distinct_on: [chain_metadata_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [chain_metadata_order_by!] + """filter the rows returned""" + where: chain_metadata_bool_exp + ): [chain_metadata!]! + """fetch data from the table: "chain_metadata" using primary key columns""" + chain_metadata_by_pk(chain_id: Int!): chain_metadata + """ + fetch data from the table in a streaming manner: "chain_metadata" + """ + chain_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [chain_metadata_stream_cursor_input]! + """filter the rows returned""" + where: chain_metadata_bool_exp + ): [chain_metadata!]! + """ + fetch data from the table: "dynamic_contract_registry" + """ + dynamic_contract_registry( + """distinct select on columns""" + distinct_on: [dynamic_contract_registry_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [dynamic_contract_registry_order_by!] + """filter the rows returned""" + where: dynamic_contract_registry_bool_exp + ): [dynamic_contract_registry!]! + """ + fetch data from the table: "dynamic_contract_registry" using primary key columns + """ + dynamic_contract_registry_by_pk(chain_id: Int!, contract_address: String!): dynamic_contract_registry + """ + fetch data from the table in a streaming manner: "dynamic_contract_registry" + """ + dynamic_contract_registry_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [dynamic_contract_registry_stream_cursor_input]! + """filter the rows returned""" + where: dynamic_contract_registry_bool_exp + ): [dynamic_contract_registry!]! + """ + fetch data from the table: "entity_history" + """ + entity_history( """distinct select on columns""" distinct_on: [entity_history_select_column!] """limit the number of rows returned""" @@ -5136,159 +2049,402 @@ type raw_events { """filter the rows returned""" where: entity_history_bool_exp ): [entity_history!]! - event_id: numeric! - event_type: event_type! - log_index: Int! - params( - """JSON select path""" - path: String - ): json! - src_address: String! - transaction_hash: String! - transaction_index: Int! + """fetch data from the table: "entity_history" using primary key columns""" + entity_history_by_pk(block_number: Int!, block_timestamp: Int!, chain_id: Int!, entity_id: String!, entity_type: entity_type!, log_index: Int!): entity_history + """ + fetch data from the table: "entity_history_filter" + """ + entity_history_filter( + """distinct select on columns""" + distinct_on: [entity_history_filter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [entity_history_filter_order_by!] + """filter the rows returned""" + where: entity_history_filter_bool_exp + ): [entity_history_filter!]! + """ + fetch data from the table: "entity_history_filter" using primary key columns + """ + entity_history_filter_by_pk(block_number: Int!, chain_id: Int!, entity_id: String!, log_index: Int!, previous_block_number: Int!, previous_log_index: Int!): entity_history_filter + """ + fetch data from the table in a streaming manner: "entity_history_filter" + """ + entity_history_filter_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [entity_history_filter_stream_cursor_input]! + """filter the rows returned""" + where: entity_history_filter_bool_exp + ): [entity_history_filter!]! + """ + fetch data from the table in a streaming manner: "entity_history" + """ + entity_history_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [entity_history_stream_cursor_input]! + """filter the rows returned""" + where: entity_history_bool_exp + ): [entity_history!]! + """ + fetch data from the table: "event_sync_state" + """ + event_sync_state( + """distinct select on columns""" + distinct_on: [event_sync_state_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [event_sync_state_order_by!] + """filter the rows returned""" + where: event_sync_state_bool_exp + ): [event_sync_state!]! + """ + fetch data from the table: "event_sync_state" using primary key columns + """ + event_sync_state_by_pk(chain_id: Int!): event_sync_state + """ + fetch data from the table in a streaming manner: "event_sync_state" + """ + event_sync_state_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [event_sync_state_stream_cursor_input]! + """filter the rows returned""" + where: event_sync_state_bool_exp + ): [event_sync_state!]! + """This function helps search for articles""" + get_entity_history_filter( + """ + input parameters for function "get_entity_history_filter" + """ + args: get_entity_history_filter_args! + """distinct select on columns""" + distinct_on: [entity_history_filter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [entity_history_filter_order_by!] + """filter the rows returned""" + where: entity_history_filter_bool_exp + ): [entity_history_filter!]! + """ + fetch data from the table: "persisted_state" + """ + persisted_state( + """distinct select on columns""" + distinct_on: [persisted_state_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [persisted_state_order_by!] + """filter the rows returned""" + where: persisted_state_bool_exp + ): [persisted_state!]! + """fetch data from the table: "persisted_state" using primary key columns""" + persisted_state_by_pk(id: Int!): persisted_state + """ + fetch data from the table in a streaming manner: "persisted_state" + """ + persisted_state_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [persisted_state_stream_cursor_input]! + """filter the rows returned""" + where: persisted_state_bool_exp + ): [persisted_state!]! + """ + fetch data from the table: "raw_events" + """ + raw_events( + """distinct select on columns""" + distinct_on: [raw_events_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [raw_events_order_by!] + """filter the rows returned""" + where: raw_events_bool_exp + ): [raw_events!]! + """fetch data from the table: "raw_events" using primary key columns""" + raw_events_by_pk(chain_id: Int!, event_id: numeric!): raw_events + """ + fetch data from the table in a streaming manner: "raw_events" + """ + raw_events_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [raw_events_stream_cursor_input]! + """filter the rows returned""" + where: raw_events_bool_exp + ): [raw_events!]! +} + +enum Aggregation_interval { + hour + day +} + +type ApplicationHistory { + id: ID! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! +} + +input ApplicationHistory_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ApplicationHistory_filter] + or: [ApplicationHistory_filter] } -""" -Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. -""" -input raw_events_bool_exp { - _and: [raw_events_bool_exp!] - _not: raw_events_bool_exp - _or: [raw_events_bool_exp!] - block_hash: String_comparison_exp - block_number: Int_comparison_exp - block_timestamp: Int_comparison_exp - chain_id: Int_comparison_exp - db_write_timestamp: timestamp_comparison_exp - event_history: entity_history_bool_exp - event_id: numeric_comparison_exp - event_type: event_type_comparison_exp - log_index: Int_comparison_exp - params: json_comparison_exp - src_address: String_comparison_exp - transaction_hash: String_comparison_exp - transaction_index: Int_comparison_exp +enum ApplicationHistory_orderBy { + id + grantApplicationBytes + applicationSubmitted } -"""Ordering options when selecting data from "raw_events".""" -input raw_events_order_by { - block_hash: order_by - block_number: order_by - block_timestamp: order_by - chain_id: order_by - db_write_timestamp: order_by - event_history_aggregate: entity_history_aggregate_order_by - event_id: order_by - event_type: order_by - log_index: order_by - params: order_by - src_address: order_by - transaction_hash: order_by - transaction_index: order_by -} +scalar BigDecimal -""" -select columns of table "raw_events" -""" -enum raw_events_select_column { - """column name""" - block_hash - """column name""" - block_number - """column name""" - block_timestamp - """column name""" - chain_id - """column name""" - db_write_timestamp - """column name""" - event_id - """column name""" - event_type - """column name""" - log_index - """column name""" - params - """column name""" - src_address - """column name""" - transaction_hash - """column name""" - transaction_index +scalar BigInt + +input BlockChangedFilter { + number_gte: Int! } -""" -Streaming cursor of the table "raw_events" -""" -input raw_events_stream_cursor_input { - """Stream column input with initial value""" - initial_value: raw_events_stream_cursor_value_input! - """cursor ordering""" - ordering: cursor_ordering +input Block_height { + hash: Bytes + number: Int + number_gte: Int } -"""Initial value of the column from where the streaming should start""" -input raw_events_stream_cursor_value_input { - block_hash: String - block_number: Int - block_timestamp: Int - chain_id: Int - db_write_timestamp: timestamp - event_id: numeric - event_type: event_type - log_index: Int - params: json - src_address: String - transaction_hash: String - transaction_index: Int +scalar Bytes + +type FeedItem { + id: ID! + timestamp: BigInt + content: String! + sender: Bytes! + tag: String! + subjectMetadataPointer: String! + subjectId: ID! + objectId: ID + subject: FeedItemEntity! + object: FeedItemEntity + embed: FeedItemEmbed + details: String } -scalar timestamp +type FeedItemEmbed { + id: ID! + key: String + pointer: String + protocol: BigInt + content: String +} -""" -Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. -""" -input timestamp_comparison_exp { - _eq: timestamp - _gt: timestamp - _gte: timestamp - _in: [timestamp!] - _is_null: Boolean - _lt: timestamp - _lte: timestamp - _neq: timestamp - _nin: [timestamp!] +input FeedItemEmbed_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + key: String + key_not: String + key_gt: String + key_lt: String + key_gte: String + key_lte: String + key_in: [String!] + key_not_in: [String!] + key_contains: String + key_contains_nocase: String + key_not_contains: String + key_not_contains_nocase: String + key_starts_with: String + key_starts_with_nocase: String + key_not_starts_with: String + key_not_starts_with_nocase: String + key_ends_with: String + key_ends_with_nocase: String + key_not_ends_with: String + key_not_ends_with_nocase: String + pointer: String + pointer_not: String + pointer_gt: String + pointer_lt: String + pointer_gte: String + pointer_lte: String + pointer_in: [String!] + pointer_not_in: [String!] + pointer_contains: String + pointer_contains_nocase: String + pointer_not_contains: String + pointer_not_contains_nocase: String + pointer_starts_with: String + pointer_starts_with_nocase: String + pointer_not_starts_with: String + pointer_not_starts_with_nocase: String + pointer_ends_with: String + pointer_ends_with_nocase: String + pointer_not_ends_with: String + pointer_not_ends_with_nocase: String + protocol: BigInt + protocol_not: BigInt + protocol_gt: BigInt + protocol_lt: BigInt + protocol_gte: BigInt + protocol_lte: BigInt + protocol_in: [BigInt!] + protocol_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEmbed_filter] + or: [FeedItemEmbed_filter] } -scalar timestamptz +enum FeedItemEmbed_orderBy { + id + key + pointer + protocol + content +} -""" -Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. -""" -input timestamptz_comparison_exp { - _eq: timestamptz - _gt: timestamptz - _gte: timestamptz - _in: [timestamptz!] - _is_null: Boolean - _lt: timestamptz - _lte: timestamptz - _neq: timestamptz - _nin: [timestamptz!] +type FeedItemEntity { + id: ID! + name: String! + type: String! } -enum Aggregation_interval { - hour - day +input FeedItemEntity_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + type: String + type_not: String + type_gt: String + type_lt: String + type_gte: String + type_lte: String + type_in: [String!] + type_not_in: [String!] + type_contains: String + type_contains_nocase: String + type_not_contains: String + type_not_contains_nocase: String + type_starts_with: String + type_starts_with_nocase: String + type_not_starts_with: String + type_not_starts_with_nocase: String + type_ends_with: String + type_ends_with_nocase: String + type_not_ends_with: String + type_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEntity_filter] + or: [FeedItemEntity_filter] } -type ApplicationHistory { - id: ID! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! +enum FeedItemEntity_orderBy { + id + name + type } -input ApplicationHistory_filter { +input FeedItem_filter { id: ID id_not: ID id_gt: ID @@ -5297,173 +2453,470 @@ input ApplicationHistory_filter { id_lte: ID id_in: [ID!] id_not_in: [ID!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + tag: String + tag_not: String + tag_gt: String + tag_lt: String + tag_gte: String + tag_lte: String + tag_in: [String!] + tag_not_in: [String!] + tag_contains: String + tag_contains_nocase: String + tag_not_contains: String + tag_not_contains_nocase: String + tag_starts_with: String + tag_starts_with_nocase: String + tag_not_starts_with: String + tag_not_starts_with_nocase: String + tag_ends_with: String + tag_ends_with_nocase: String + tag_not_ends_with: String + tag_not_ends_with_nocase: String + subjectMetadataPointer: String + subjectMetadataPointer_not: String + subjectMetadataPointer_gt: String + subjectMetadataPointer_lt: String + subjectMetadataPointer_gte: String + subjectMetadataPointer_lte: String + subjectMetadataPointer_in: [String!] + subjectMetadataPointer_not_in: [String!] + subjectMetadataPointer_contains: String + subjectMetadataPointer_contains_nocase: String + subjectMetadataPointer_not_contains: String + subjectMetadataPointer_not_contains_nocase: String + subjectMetadataPointer_starts_with: String + subjectMetadataPointer_starts_with_nocase: String + subjectMetadataPointer_not_starts_with: String + subjectMetadataPointer_not_starts_with_nocase: String + subjectMetadataPointer_ends_with: String + subjectMetadataPointer_ends_with_nocase: String + subjectMetadataPointer_not_ends_with: String + subjectMetadataPointer_not_ends_with_nocase: String + subjectId: ID + subjectId_not: ID + subjectId_gt: ID + subjectId_lt: ID + subjectId_gte: ID + subjectId_lte: ID + subjectId_in: [ID!] + subjectId_not_in: [ID!] + objectId: ID + objectId_not: ID + objectId_gt: ID + objectId_lt: ID + objectId_gte: ID + objectId_lte: ID + objectId_in: [ID!] + objectId_not_in: [ID!] + subject: String + subject_not: String + subject_gt: String + subject_lt: String + subject_gte: String + subject_lte: String + subject_in: [String!] + subject_not_in: [String!] + subject_contains: String + subject_contains_nocase: String + subject_not_contains: String + subject_not_contains_nocase: String + subject_starts_with: String + subject_starts_with_nocase: String + subject_not_starts_with: String + subject_not_starts_with_nocase: String + subject_ends_with: String + subject_ends_with_nocase: String + subject_not_ends_with: String + subject_not_ends_with_nocase: String + subject_: FeedItemEntity_filter + object: String + object_not: String + object_gt: String + object_lt: String + object_gte: String + object_lte: String + object_in: [String!] + object_not_in: [String!] + object_contains: String + object_contains_nocase: String + object_not_contains: String + object_not_contains_nocase: String + object_starts_with: String + object_starts_with_nocase: String + object_not_starts_with: String + object_not_starts_with_nocase: String + object_ends_with: String + object_ends_with_nocase: String + object_not_ends_with: String + object_not_ends_with_nocase: String + object_: FeedItemEntity_filter + embed: String + embed_not: String + embed_gt: String + embed_lt: String + embed_gte: String + embed_lte: String + embed_in: [String!] + embed_not_in: [String!] + embed_contains: String + embed_contains_nocase: String + embed_not_contains: String + embed_not_contains_nocase: String + embed_starts_with: String + embed_starts_with_nocase: String + embed_not_starts_with: String + embed_not_starts_with_nocase: String + embed_ends_with: String + embed_ends_with_nocase: String + embed_not_ends_with: String + embed_not_ends_with_nocase: String + embed_: FeedItemEmbed_filter + details: String + details_not: String + details_gt: String + details_lt: String + details_gte: String + details_lte: String + details_in: [String!] + details_not_in: [String!] + details_contains: String + details_contains_nocase: String + details_not_contains: String + details_not_contains_nocase: String + details_starts_with: String + details_starts_with_nocase: String + details_not_starts_with: String + details_not_starts_with_nocase: String + details_ends_with: String + details_ends_with_nocase: String + details_not_ends_with: String + details_not_ends_with_nocase: String """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ApplicationHistory_filter] - or: [ApplicationHistory_filter] + _change_block: BlockChangedFilter + and: [FeedItem_filter] + or: [FeedItem_filter] } -enum ApplicationHistory_orderBy { +enum FeedItem_orderBy { id - grantApplicationBytes - applicationSubmitted -} - -scalar BigDecimal - -scalar BigInt - -input BlockChangedFilter { - number_gte: Int! + timestamp + content + sender + tag + subjectMetadataPointer + subjectId + objectId + subject + subject__id + subject__name + subject__type + object + object__id + object__name + object__type + embed + embed__id + embed__key + embed__pointer + embed__protocol + embed__content + details } -input Block_height { - hash: Bytes - number: Int - number_gte: Int +type GameManager { + id: Bytes! + poolId: BigInt! + gameFacilitatorId: BigInt! + rootAccount: Bytes! + tokenAddress: Bytes! + currentRoundId: BigInt! + currentRound: GameRound + poolFunds: BigInt! } -scalar Bytes - -type FeedItem { - id: ID! - timestamp: BigInt - content: String! - sender: Bytes! - tag: String! - subjectMetadataPointer: String! - subjectId: ID! - objectId: ID - subject: FeedItemEntity! - object: FeedItemEntity - embed: FeedItemEmbed - details: String +input GameManager_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 + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + gameFacilitatorId: BigInt + gameFacilitatorId_not: BigInt + gameFacilitatorId_gt: BigInt + gameFacilitatorId_lt: BigInt + gameFacilitatorId_gte: BigInt + gameFacilitatorId_lte: BigInt + gameFacilitatorId_in: [BigInt!] + gameFacilitatorId_not_in: [BigInt!] + rootAccount: Bytes + rootAccount_not: Bytes + rootAccount_gt: Bytes + rootAccount_lt: Bytes + rootAccount_gte: Bytes + rootAccount_lte: Bytes + rootAccount_in: [Bytes!] + rootAccount_not_in: [Bytes!] + rootAccount_contains: Bytes + rootAccount_not_contains: Bytes + tokenAddress: Bytes + tokenAddress_not: Bytes + tokenAddress_gt: Bytes + tokenAddress_lt: Bytes + tokenAddress_gte: Bytes + tokenAddress_lte: Bytes + tokenAddress_in: [Bytes!] + tokenAddress_not_in: [Bytes!] + tokenAddress_contains: Bytes + tokenAddress_not_contains: Bytes + currentRoundId: BigInt + currentRoundId_not: BigInt + currentRoundId_gt: BigInt + currentRoundId_lt: BigInt + currentRoundId_gte: BigInt + currentRoundId_lte: BigInt + currentRoundId_in: [BigInt!] + currentRoundId_not_in: [BigInt!] + currentRound: String + currentRound_not: String + currentRound_gt: String + currentRound_lt: String + currentRound_gte: String + currentRound_lte: String + currentRound_in: [String!] + currentRound_not_in: [String!] + currentRound_contains: String + currentRound_contains_nocase: String + currentRound_not_contains: String + currentRound_not_contains_nocase: String + currentRound_starts_with: String + currentRound_starts_with_nocase: String + currentRound_not_starts_with: String + currentRound_not_starts_with_nocase: String + currentRound_ends_with: String + currentRound_ends_with_nocase: String + currentRound_not_ends_with: String + currentRound_not_ends_with_nocase: String + currentRound_: GameRound_filter + poolFunds: BigInt + poolFunds_not: BigInt + poolFunds_gt: BigInt + poolFunds_lt: BigInt + poolFunds_gte: BigInt + poolFunds_lte: BigInt + poolFunds_in: [BigInt!] + poolFunds_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GameManager_filter] + or: [GameManager_filter] } -type FeedItemEmbed { - id: ID! - key: String - pointer: String - protocol: BigInt - content: String +enum GameManager_orderBy { + id + poolId + gameFacilitatorId + rootAccount + tokenAddress + currentRoundId + currentRound + currentRound__id + currentRound__startTime + currentRound__endTime + currentRound__totalRoundAmount + currentRound__totalAllocatedAmount + currentRound__totalDistributedAmount + currentRound__gameStatus + currentRound__isGameActive + currentRound__realStartTime + currentRound__realEndTime + poolFunds } - -input FeedItemEmbed_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - key: String - key_not: String - key_gt: String - key_lt: String - key_gte: String - key_lte: String - key_in: [String!] - key_not_in: [String!] - key_contains: String - key_contains_nocase: String - key_not_contains: String - key_not_contains_nocase: String - key_starts_with: String - key_starts_with_nocase: String - key_not_starts_with: String - key_not_starts_with_nocase: String - key_ends_with: String - key_ends_with_nocase: String - key_not_ends_with: String - key_not_ends_with_nocase: String - pointer: String - pointer_not: String - pointer_gt: String - pointer_lt: String - pointer_gte: String - pointer_lte: String - pointer_in: [String!] - pointer_not_in: [String!] - pointer_contains: String - pointer_contains_nocase: String - pointer_not_contains: String - pointer_not_contains_nocase: String - pointer_starts_with: String - pointer_starts_with_nocase: String - pointer_not_starts_with: String - pointer_not_starts_with_nocase: String - pointer_ends_with: String - pointer_ends_with_nocase: String - pointer_not_ends_with: String - pointer_not_ends_with_nocase: String - protocol: BigInt - protocol_not: BigInt - protocol_gt: BigInt - protocol_lt: BigInt - protocol_gte: BigInt - protocol_lte: BigInt - protocol_in: [BigInt!] - protocol_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String + +type GameRound { + id: ID! + startTime: BigInt! + endTime: BigInt! + totalRoundAmount: BigInt! + totalAllocatedAmount: BigInt! + totalDistributedAmount: BigInt! + gameStatus: Int! + ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! + isGameActive: Boolean! + realStartTime: BigInt + realEndTime: BigInt +} + +input GameRound_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + startTime: BigInt + startTime_not: BigInt + startTime_gt: BigInt + startTime_lt: BigInt + startTime_gte: BigInt + startTime_lte: BigInt + startTime_in: [BigInt!] + startTime_not_in: [BigInt!] + endTime: BigInt + endTime_not: BigInt + endTime_gt: BigInt + endTime_lt: BigInt + endTime_gte: BigInt + endTime_lte: BigInt + endTime_in: [BigInt!] + endTime_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocatedAmount: BigInt + totalAllocatedAmount_not: BigInt + totalAllocatedAmount_gt: BigInt + totalAllocatedAmount_lt: BigInt + totalAllocatedAmount_gte: BigInt + totalAllocatedAmount_lte: BigInt + totalAllocatedAmount_in: [BigInt!] + totalAllocatedAmount_not_in: [BigInt!] + totalDistributedAmount: BigInt + totalDistributedAmount_not: BigInt + totalDistributedAmount_gt: BigInt + totalDistributedAmount_lt: BigInt + totalDistributedAmount_gte: BigInt + totalDistributedAmount_lte: BigInt + totalDistributedAmount_in: [BigInt!] + totalDistributedAmount_not_in: [BigInt!] + gameStatus: Int + gameStatus_not: Int + gameStatus_gt: Int + gameStatus_lt: Int + gameStatus_gte: Int + gameStatus_lte: Int + gameStatus_in: [Int!] + gameStatus_not_in: [Int!] + ships: [String!] + ships_not: [String!] + ships_contains: [String!] + ships_contains_nocase: [String!] + ships_not_contains: [String!] + ships_not_contains_nocase: [String!] + ships_: GrantShip_filter + isGameActive: Boolean + isGameActive_not: Boolean + isGameActive_in: [Boolean!] + isGameActive_not_in: [Boolean!] + realStartTime: BigInt + realStartTime_not: BigInt + realStartTime_gt: BigInt + realStartTime_lt: BigInt + realStartTime_gte: BigInt + realStartTime_lte: BigInt + realStartTime_in: [BigInt!] + realStartTime_not_in: [BigInt!] + realEndTime: BigInt + realEndTime_not: BigInt + realEndTime_gt: BigInt + realEndTime_lt: BigInt + realEndTime_gte: BigInt + realEndTime_lte: BigInt + realEndTime_in: [BigInt!] + realEndTime_not_in: [BigInt!] """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [FeedItemEmbed_filter] - or: [FeedItemEmbed_filter] + and: [GameRound_filter] + or: [GameRound_filter] } -enum FeedItemEmbed_orderBy { +enum GameRound_orderBy { id - key - pointer - protocol - content + startTime + endTime + totalRoundAmount + totalAllocatedAmount + totalDistributedAmount + gameStatus + ships + isGameActive + realStartTime + realEndTime } -type FeedItemEntity { +type GmDeployment { id: ID! - name: String! - type: String! + address: Bytes! + version: GmVersion! + blockNumber: BigInt! + transactionHash: Bytes! + timestamp: BigInt! + hasPool: Boolean! + poolId: BigInt + profileId: Bytes! + poolMetadata: RawMetadata! + poolProfileMetadata: RawMetadata! } -input FeedItemEntity_filter { +input GmDeployment_filter { id: ID id_not: ID id_gt: ID @@ -5472,288 +2925,278 @@ input FeedItemEntity_filter { id_lte: ID id_in: [ID!] id_not_in: [ID!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - type: String - type_not: String - type_gt: String - type_lt: String - type_gte: String - type_lte: String - type_in: [String!] - type_not_in: [String!] - type_contains: String - type_contains_nocase: String - type_not_contains: String - type_not_contains_nocase: String - type_starts_with: String - type_starts_with_nocase: String - type_not_starts_with: String - type_not_starts_with_nocase: String - type_ends_with: String - type_ends_with_nocase: String - type_not_ends_with: String - type_not_ends_with_nocase: String + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes + version: String + version_not: String + version_gt: String + version_lt: String + version_gte: String + version_lte: String + version_in: [String!] + version_not_in: [String!] + version_contains: String + version_contains_nocase: String + version_not_contains: String + version_not_contains_nocase: String + version_starts_with: String + version_starts_with_nocase: String + version_not_starts_with: String + version_not_starts_with_nocase: String + version_ends_with: String + version_ends_with_nocase: String + version_not_ends_with: String + version_not_ends_with_nocase: String + version_: GmVersion_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!] + 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 + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + hasPool: Boolean + hasPool_not: Boolean + hasPool_in: [Boolean!] + hasPool_not_in: [Boolean!] + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + poolMetadata: String + poolMetadata_not: String + poolMetadata_gt: String + poolMetadata_lt: String + poolMetadata_gte: String + poolMetadata_lte: String + poolMetadata_in: [String!] + poolMetadata_not_in: [String!] + poolMetadata_contains: String + poolMetadata_contains_nocase: String + poolMetadata_not_contains: String + poolMetadata_not_contains_nocase: String + poolMetadata_starts_with: String + poolMetadata_starts_with_nocase: String + poolMetadata_not_starts_with: String + poolMetadata_not_starts_with_nocase: String + poolMetadata_ends_with: String + poolMetadata_ends_with_nocase: String + poolMetadata_not_ends_with: String + poolMetadata_not_ends_with_nocase: String + poolMetadata_: RawMetadata_filter + poolProfileMetadata: String + poolProfileMetadata_not: String + poolProfileMetadata_gt: String + poolProfileMetadata_lt: String + poolProfileMetadata_gte: String + poolProfileMetadata_lte: String + poolProfileMetadata_in: [String!] + poolProfileMetadata_not_in: [String!] + poolProfileMetadata_contains: String + poolProfileMetadata_contains_nocase: String + poolProfileMetadata_not_contains: String + poolProfileMetadata_not_contains_nocase: String + poolProfileMetadata_starts_with: String + poolProfileMetadata_starts_with_nocase: String + poolProfileMetadata_not_starts_with: String + poolProfileMetadata_not_starts_with_nocase: String + poolProfileMetadata_ends_with: String + poolProfileMetadata_ends_with_nocase: String + poolProfileMetadata_not_ends_with: String + poolProfileMetadata_not_ends_with_nocase: String + poolProfileMetadata_: RawMetadata_filter """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [FeedItemEntity_filter] - or: [FeedItemEntity_filter] + and: [GmDeployment_filter] + or: [GmDeployment_filter] } -enum FeedItemEntity_orderBy { +enum GmDeployment_orderBy { id - name - type + address + version + version__id + version__name + version__address + blockNumber + transactionHash + timestamp + hasPool + poolId + profileId + poolMetadata + poolMetadata__id + poolMetadata__protocol + poolMetadata__pointer + poolProfileMetadata + poolProfileMetadata__id + poolProfileMetadata__protocol + poolProfileMetadata__pointer } -input FeedItem_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - sender: Bytes - sender_not: Bytes - sender_gt: Bytes - sender_lt: Bytes - sender_gte: Bytes - sender_lte: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_not_contains: Bytes - tag: String - tag_not: String - tag_gt: String - tag_lt: String - tag_gte: String - tag_lte: String - tag_in: [String!] - tag_not_in: [String!] - tag_contains: String - tag_contains_nocase: String - tag_not_contains: String - tag_not_contains_nocase: String - tag_starts_with: String - tag_starts_with_nocase: String - tag_not_starts_with: String - tag_not_starts_with_nocase: String - tag_ends_with: String - tag_ends_with_nocase: String - tag_not_ends_with: String - tag_not_ends_with_nocase: String - subjectMetadataPointer: String - subjectMetadataPointer_not: String - subjectMetadataPointer_gt: String - subjectMetadataPointer_lt: String - subjectMetadataPointer_gte: String - subjectMetadataPointer_lte: String - subjectMetadataPointer_in: [String!] - subjectMetadataPointer_not_in: [String!] - subjectMetadataPointer_contains: String - subjectMetadataPointer_contains_nocase: String - subjectMetadataPointer_not_contains: String - subjectMetadataPointer_not_contains_nocase: String - subjectMetadataPointer_starts_with: String - subjectMetadataPointer_starts_with_nocase: String - subjectMetadataPointer_not_starts_with: String - subjectMetadataPointer_not_starts_with_nocase: String - subjectMetadataPointer_ends_with: String - subjectMetadataPointer_ends_with_nocase: String - subjectMetadataPointer_not_ends_with: String - subjectMetadataPointer_not_ends_with_nocase: String - subjectId: ID - subjectId_not: ID - subjectId_gt: ID - subjectId_lt: ID - subjectId_gte: ID - subjectId_lte: ID - subjectId_in: [ID!] - subjectId_not_in: [ID!] - objectId: ID - objectId_not: ID - objectId_gt: ID - objectId_lt: ID - objectId_gte: ID - objectId_lte: ID - objectId_in: [ID!] - objectId_not_in: [ID!] - subject: String - subject_not: String - subject_gt: String - subject_lt: String - subject_gte: String - subject_lte: String - subject_in: [String!] - subject_not_in: [String!] - subject_contains: String - subject_contains_nocase: String - subject_not_contains: String - subject_not_contains_nocase: String - subject_starts_with: String - subject_starts_with_nocase: String - subject_not_starts_with: String - subject_not_starts_with_nocase: String - subject_ends_with: String - subject_ends_with_nocase: String - subject_not_ends_with: String - subject_not_ends_with_nocase: String - subject_: FeedItemEntity_filter - object: String - object_not: String - object_gt: String - object_lt: String - object_gte: String - object_lte: String - object_in: [String!] - object_not_in: [String!] - object_contains: String - object_contains_nocase: String - object_not_contains: String - object_not_contains_nocase: String - object_starts_with: String - object_starts_with_nocase: String - object_not_starts_with: String - object_not_starts_with_nocase: String - object_ends_with: String - object_ends_with_nocase: String - object_not_ends_with: String - object_not_ends_with_nocase: String - object_: FeedItemEntity_filter - embed: String - embed_not: String - embed_gt: String - embed_lt: String - embed_gte: String - embed_lte: String - embed_in: [String!] - embed_not_in: [String!] - embed_contains: String - embed_contains_nocase: String - embed_not_contains: String - embed_not_contains_nocase: String - embed_starts_with: String - embed_starts_with_nocase: String - embed_not_starts_with: String - embed_not_starts_with_nocase: String - embed_ends_with: String - embed_ends_with_nocase: String - embed_not_ends_with: String - embed_not_ends_with_nocase: String - embed_: FeedItemEmbed_filter - details: String - details_not: String - details_gt: String - details_lt: String - details_gte: String - details_lte: String - details_in: [String!] - details_not_in: [String!] - details_contains: String - details_contains_nocase: String - details_not_contains: String - details_not_contains_nocase: String - details_starts_with: String - details_starts_with_nocase: String - details_not_starts_with: String - details_not_starts_with_nocase: String - details_ends_with: String - details_ends_with_nocase: String - details_not_ends_with: String - details_not_ends_with_nocase: String +type GmVersion { + id: ID! + name: String! + address: Bytes! +} + +input GmVersion_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [FeedItem_filter] - or: [FeedItem_filter] + and: [GmVersion_filter] + or: [GmVersion_filter] } -enum FeedItem_orderBy { +enum GmVersion_orderBy { id - timestamp - content - sender - tag - subjectMetadataPointer - subjectId - objectId - subject - subject__id - subject__name - subject__type - object - object__id - object__name - object__type - embed - embed__id - embed__key - embed__pointer - embed__protocol - embed__content - details + name + address } -type GameManager { +type Grant { + id: ID! + projectId: Project! + shipId: GrantShip! + lastUpdated: BigInt! + hasResubmitted: Boolean! + grantStatus: Int! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! + currentMilestoneIndex: BigInt! + milestonesAmount: BigInt! + milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] + shipApprovalReason: RawMetadata + hasShipApproved: Boolean + amtAllocated: BigInt! + amtDistributed: BigInt! + allocatedBy: Bytes + facilitatorReason: RawMetadata + hasFacilitatorApproved: Boolean + milestonesApproved: Boolean + milestonesApprovedReason: RawMetadata + currentMilestoneRejectedReason: RawMetadata + resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! +} + +type GrantShip { id: Bytes! - poolId: BigInt! - gameFacilitatorId: BigInt! - rootAccount: Bytes! - tokenAddress: Bytes! - currentRoundId: BigInt! - currentRound: GameRound - poolFunds: BigInt! + profileId: Bytes! + nonce: BigInt! + name: String! + profileMetadata: RawMetadata! + owner: Bytes! + anchor: Bytes! + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! + status: Int! + poolFunded: Boolean! + balance: BigInt! + shipAllocation: BigInt! + totalAvailableFunds: BigInt! + totalRoundAmount: BigInt! + totalAllocated: BigInt! + totalDistributed: BigInt! + grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! + alloProfileMembers: ProfileMemberGroup + shipApplicationBytesData: Bytes + applicationSubmittedTime: BigInt + isAwaitingApproval: Boolean + hasSubmittedApplication: Boolean + isApproved: Boolean + approvedTime: BigInt + isRejected: Boolean + rejectedTime: BigInt + applicationReviewReason: RawMetadata + poolId: BigInt + hatId: String + shipContractAddress: Bytes + shipLaunched: Boolean + poolActive: Boolean + isAllocated: Boolean + isDistributed: Boolean } -input GameManager_filter { +input GrantShip_filter { id: Bytes id_not: Bytes id_gt: Bytes @@ -5764,6 +3207,264 @@ input GameManager_filter { id_not_in: [Bytes!] id_contains: Bytes id_not_contains: Bytes + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + nonce: BigInt + nonce_not: BigInt + nonce_gt: BigInt + nonce_lt: BigInt + nonce_gte: BigInt + nonce_lte: BigInt + nonce_in: [BigInt!] + nonce_not_in: [BigInt!] + 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_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: 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 + profileMetadata: String + profileMetadata_not: String + profileMetadata_gt: String + profileMetadata_lt: String + profileMetadata_gte: String + profileMetadata_lte: String + profileMetadata_in: [String!] + profileMetadata_not_in: [String!] + profileMetadata_contains: String + profileMetadata_contains_nocase: String + profileMetadata_not_contains: String + profileMetadata_not_contains_nocase: String + profileMetadata_starts_with: String + profileMetadata_starts_with_nocase: String + profileMetadata_not_starts_with: String + profileMetadata_not_starts_with_nocase: String + profileMetadata_ends_with: String + profileMetadata_ends_with_nocase: String + profileMetadata_not_ends_with: String + profileMetadata_not_ends_with_nocase: String + profileMetadata_: RawMetadata_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 + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_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 + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + poolFunded: Boolean + poolFunded_not: Boolean + poolFunded_in: [Boolean!] + poolFunded_not_in: [Boolean!] + balance: BigInt + balance_not: BigInt + balance_gt: BigInt + balance_lt: BigInt + balance_gte: BigInt + balance_lte: BigInt + balance_in: [BigInt!] + balance_not_in: [BigInt!] + shipAllocation: BigInt + shipAllocation_not: BigInt + shipAllocation_gt: BigInt + shipAllocation_lt: BigInt + shipAllocation_gte: BigInt + shipAllocation_lte: BigInt + shipAllocation_in: [BigInt!] + shipAllocation_not_in: [BigInt!] + totalAvailableFunds: BigInt + totalAvailableFunds_not: BigInt + totalAvailableFunds_gt: BigInt + totalAvailableFunds_lt: BigInt + totalAvailableFunds_gte: BigInt + totalAvailableFunds_lte: BigInt + totalAvailableFunds_in: [BigInt!] + totalAvailableFunds_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocated: BigInt + totalAllocated_not: BigInt + totalAllocated_gt: BigInt + totalAllocated_lt: BigInt + totalAllocated_gte: BigInt + totalAllocated_lte: BigInt + totalAllocated_in: [BigInt!] + totalAllocated_not_in: [BigInt!] + totalDistributed: BigInt + totalDistributed_not: BigInt + totalDistributed_gt: BigInt + totalDistributed_lt: BigInt + totalDistributed_gte: BigInt + totalDistributed_lte: BigInt + totalDistributed_in: [BigInt!] + totalDistributed_not_in: [BigInt!] + grants_: Grant_filter + alloProfileMembers: String + alloProfileMembers_not: String + alloProfileMembers_gt: String + alloProfileMembers_lt: String + alloProfileMembers_gte: String + alloProfileMembers_lte: String + alloProfileMembers_in: [String!] + alloProfileMembers_not_in: [String!] + alloProfileMembers_contains: String + alloProfileMembers_contains_nocase: String + alloProfileMembers_not_contains: String + alloProfileMembers_not_contains_nocase: String + alloProfileMembers_starts_with: String + alloProfileMembers_starts_with_nocase: String + alloProfileMembers_not_starts_with: String + alloProfileMembers_not_starts_with_nocase: String + alloProfileMembers_ends_with: String + alloProfileMembers_ends_with_nocase: String + alloProfileMembers_not_ends_with: String + alloProfileMembers_not_ends_with_nocase: String + alloProfileMembers_: ProfileMemberGroup_filter + shipApplicationBytesData: Bytes + shipApplicationBytesData_not: Bytes + shipApplicationBytesData_gt: Bytes + shipApplicationBytesData_lt: Bytes + shipApplicationBytesData_gte: Bytes + shipApplicationBytesData_lte: Bytes + shipApplicationBytesData_in: [Bytes!] + shipApplicationBytesData_not_in: [Bytes!] + shipApplicationBytesData_contains: Bytes + shipApplicationBytesData_not_contains: Bytes + applicationSubmittedTime: BigInt + applicationSubmittedTime_not: BigInt + applicationSubmittedTime_gt: BigInt + applicationSubmittedTime_lt: BigInt + applicationSubmittedTime_gte: BigInt + applicationSubmittedTime_lte: BigInt + applicationSubmittedTime_in: [BigInt!] + applicationSubmittedTime_not_in: [BigInt!] + isAwaitingApproval: Boolean + isAwaitingApproval_not: Boolean + isAwaitingApproval_in: [Boolean!] + isAwaitingApproval_not_in: [Boolean!] + hasSubmittedApplication: Boolean + hasSubmittedApplication_not: Boolean + hasSubmittedApplication_in: [Boolean!] + hasSubmittedApplication_not_in: [Boolean!] + isApproved: Boolean + isApproved_not: Boolean + isApproved_in: [Boolean!] + isApproved_not_in: [Boolean!] + approvedTime: BigInt + approvedTime_not: BigInt + approvedTime_gt: BigInt + approvedTime_lt: BigInt + approvedTime_gte: BigInt + approvedTime_lte: BigInt + approvedTime_in: [BigInt!] + approvedTime_not_in: [BigInt!] + isRejected: Boolean + isRejected_not: Boolean + isRejected_in: [Boolean!] + isRejected_not_in: [Boolean!] + rejectedTime: BigInt + rejectedTime_not: BigInt + rejectedTime_gt: BigInt + rejectedTime_lt: BigInt + rejectedTime_gte: BigInt + rejectedTime_lte: BigInt + rejectedTime_in: [BigInt!] + rejectedTime_not_in: [BigInt!] + applicationReviewReason: String + applicationReviewReason_not: String + applicationReviewReason_gt: String + applicationReviewReason_lt: String + applicationReviewReason_gte: String + applicationReviewReason_lte: String + applicationReviewReason_in: [String!] + applicationReviewReason_not_in: [String!] + applicationReviewReason_contains: String + applicationReviewReason_contains_nocase: String + applicationReviewReason_not_contains: String + applicationReviewReason_not_contains_nocase: String + applicationReviewReason_starts_with: String + applicationReviewReason_starts_with_nocase: String + applicationReviewReason_not_starts_with: String + applicationReviewReason_not_starts_with_nocase: String + applicationReviewReason_ends_with: String + applicationReviewReason_ends_with_nocase: String + applicationReviewReason_not_ends_with: String + applicationReviewReason_not_ends_with_nocase: String + applicationReviewReason_: RawMetadata_filter poolId: BigInt poolId_not: BigInt poolId_gt: BigInt @@ -5772,113 +3473,445 @@ input GameManager_filter { poolId_lte: BigInt poolId_in: [BigInt!] poolId_not_in: [BigInt!] - gameFacilitatorId: BigInt - gameFacilitatorId_not: BigInt - gameFacilitatorId_gt: BigInt - gameFacilitatorId_lt: BigInt - gameFacilitatorId_gte: BigInt - gameFacilitatorId_lte: BigInt - gameFacilitatorId_in: [BigInt!] - gameFacilitatorId_not_in: [BigInt!] - rootAccount: Bytes - rootAccount_not: Bytes - rootAccount_gt: Bytes - rootAccount_lt: Bytes - rootAccount_gte: Bytes - rootAccount_lte: Bytes - rootAccount_in: [Bytes!] - rootAccount_not_in: [Bytes!] - rootAccount_contains: Bytes - rootAccount_not_contains: Bytes - tokenAddress: Bytes - tokenAddress_not: Bytes - tokenAddress_gt: Bytes - tokenAddress_lt: Bytes - tokenAddress_gte: Bytes - tokenAddress_lte: Bytes - tokenAddress_in: [Bytes!] - tokenAddress_not_in: [Bytes!] - tokenAddress_contains: Bytes - tokenAddress_not_contains: Bytes - currentRoundId: BigInt - currentRoundId_not: BigInt - currentRoundId_gt: BigInt - currentRoundId_lt: BigInt - currentRoundId_gte: BigInt - currentRoundId_lte: BigInt - currentRoundId_in: [BigInt!] - currentRoundId_not_in: [BigInt!] - currentRound: String - currentRound_not: String - currentRound_gt: String - currentRound_lt: String - currentRound_gte: String - currentRound_lte: String - currentRound_in: [String!] - currentRound_not_in: [String!] - currentRound_contains: String - currentRound_contains_nocase: String - currentRound_not_contains: String - currentRound_not_contains_nocase: String - currentRound_starts_with: String - currentRound_starts_with_nocase: String - currentRound_not_starts_with: String - currentRound_not_starts_with_nocase: String - currentRound_ends_with: String - currentRound_ends_with_nocase: String - currentRound_not_ends_with: String - currentRound_not_ends_with_nocase: String - currentRound_: GameRound_filter - poolFunds: BigInt - poolFunds_not: BigInt - poolFunds_gt: BigInt - poolFunds_lt: BigInt - poolFunds_gte: BigInt - poolFunds_lte: BigInt - poolFunds_in: [BigInt!] - poolFunds_not_in: [BigInt!] + hatId: String + hatId_not: String + hatId_gt: String + hatId_lt: String + hatId_gte: String + hatId_lte: String + hatId_in: [String!] + hatId_not_in: [String!] + hatId_contains: String + hatId_contains_nocase: String + hatId_not_contains: String + hatId_not_contains_nocase: String + hatId_starts_with: String + hatId_starts_with_nocase: String + hatId_not_starts_with: String + hatId_not_starts_with_nocase: String + hatId_ends_with: String + hatId_ends_with_nocase: String + hatId_not_ends_with: String + hatId_not_ends_with_nocase: String + shipContractAddress: Bytes + shipContractAddress_not: Bytes + shipContractAddress_gt: Bytes + shipContractAddress_lt: Bytes + shipContractAddress_gte: Bytes + shipContractAddress_lte: Bytes + shipContractAddress_in: [Bytes!] + shipContractAddress_not_in: [Bytes!] + shipContractAddress_contains: Bytes + shipContractAddress_not_contains: Bytes + shipLaunched: Boolean + shipLaunched_not: Boolean + shipLaunched_in: [Boolean!] + shipLaunched_not_in: [Boolean!] + poolActive: Boolean + poolActive_not: Boolean + poolActive_in: [Boolean!] + poolActive_not_in: [Boolean!] + isAllocated: Boolean + isAllocated_not: Boolean + isAllocated_in: [Boolean!] + isAllocated_not_in: [Boolean!] + isDistributed: Boolean + isDistributed_not: Boolean + isDistributed_in: [Boolean!] + isDistributed_not_in: [Boolean!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GrantShip_filter] + or: [GrantShip_filter] +} + +enum GrantShip_orderBy { + id + profileId + nonce + name + profileMetadata + profileMetadata__id + profileMetadata__protocol + profileMetadata__pointer + owner + anchor + blockNumber + blockTimestamp + transactionHash + status + poolFunded + balance + shipAllocation + totalAvailableFunds + totalRoundAmount + totalAllocated + totalDistributed + grants + alloProfileMembers + alloProfileMembers__id + shipApplicationBytesData + applicationSubmittedTime + isAwaitingApproval + hasSubmittedApplication + isApproved + approvedTime + isRejected + rejectedTime + applicationReviewReason + applicationReviewReason__id + applicationReviewReason__protocol + applicationReviewReason__pointer + poolId + hatId + shipContractAddress + shipLaunched + poolActive + isAllocated + isDistributed +} + +input Grant_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + projectId: String + projectId_not: String + projectId_gt: String + projectId_lt: String + projectId_gte: String + projectId_lte: String + projectId_in: [String!] + projectId_not_in: [String!] + projectId_contains: String + projectId_contains_nocase: String + projectId_not_contains: String + projectId_not_contains_nocase: String + projectId_starts_with: String + projectId_starts_with_nocase: String + projectId_not_starts_with: String + projectId_not_starts_with_nocase: String + projectId_ends_with: String + projectId_ends_with_nocase: String + projectId_not_ends_with: String + projectId_not_ends_with_nocase: String + projectId_: Project_filter + shipId: String + shipId_not: String + shipId_gt: String + shipId_lt: String + shipId_gte: String + shipId_lte: String + shipId_in: [String!] + shipId_not_in: [String!] + shipId_contains: String + shipId_contains_nocase: String + shipId_not_contains: String + shipId_not_contains_nocase: String + shipId_starts_with: String + shipId_starts_with_nocase: String + shipId_not_starts_with: String + shipId_not_starts_with_nocase: String + shipId_ends_with: String + shipId_ends_with_nocase: String + shipId_not_ends_with: String + shipId_not_ends_with_nocase: String + shipId_: GrantShip_filter + lastUpdated: BigInt + lastUpdated_not: BigInt + lastUpdated_gt: BigInt + lastUpdated_lt: BigInt + lastUpdated_gte: BigInt + lastUpdated_lte: BigInt + lastUpdated_in: [BigInt!] + lastUpdated_not_in: [BigInt!] + hasResubmitted: Boolean + hasResubmitted_not: Boolean + hasResubmitted_in: [Boolean!] + hasResubmitted_not_in: [Boolean!] + grantStatus: Int + grantStatus_not: Int + grantStatus_gt: Int + grantStatus_lt: Int + grantStatus_gte: Int + grantStatus_lte: Int + grantStatus_in: [Int!] + grantStatus_not_in: [Int!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + currentMilestoneIndex: BigInt + currentMilestoneIndex_not: BigInt + currentMilestoneIndex_gt: BigInt + currentMilestoneIndex_lt: BigInt + currentMilestoneIndex_gte: BigInt + currentMilestoneIndex_lte: BigInt + currentMilestoneIndex_in: [BigInt!] + currentMilestoneIndex_not_in: [BigInt!] + milestonesAmount: BigInt + milestonesAmount_not: BigInt + milestonesAmount_gt: BigInt + milestonesAmount_lt: BigInt + milestonesAmount_gte: BigInt + milestonesAmount_lte: BigInt + milestonesAmount_in: [BigInt!] + milestonesAmount_not_in: [BigInt!] + milestones: [String!] + milestones_not: [String!] + milestones_contains: [String!] + milestones_contains_nocase: [String!] + milestones_not_contains: [String!] + milestones_not_contains_nocase: [String!] + milestones_: Milestone_filter + shipApprovalReason: String + shipApprovalReason_not: String + shipApprovalReason_gt: String + shipApprovalReason_lt: String + shipApprovalReason_gte: String + shipApprovalReason_lte: String + shipApprovalReason_in: [String!] + shipApprovalReason_not_in: [String!] + shipApprovalReason_contains: String + shipApprovalReason_contains_nocase: String + shipApprovalReason_not_contains: String + shipApprovalReason_not_contains_nocase: String + shipApprovalReason_starts_with: String + shipApprovalReason_starts_with_nocase: String + shipApprovalReason_not_starts_with: String + shipApprovalReason_not_starts_with_nocase: String + shipApprovalReason_ends_with: String + shipApprovalReason_ends_with_nocase: String + shipApprovalReason_not_ends_with: String + shipApprovalReason_not_ends_with_nocase: String + shipApprovalReason_: RawMetadata_filter + hasShipApproved: Boolean + hasShipApproved_not: Boolean + hasShipApproved_in: [Boolean!] + hasShipApproved_not_in: [Boolean!] + amtAllocated: BigInt + amtAllocated_not: BigInt + amtAllocated_gt: BigInt + amtAllocated_lt: BigInt + amtAllocated_gte: BigInt + amtAllocated_lte: BigInt + amtAllocated_in: [BigInt!] + amtAllocated_not_in: [BigInt!] + amtDistributed: BigInt + amtDistributed_not: BigInt + amtDistributed_gt: BigInt + amtDistributed_lt: BigInt + amtDistributed_gte: BigInt + amtDistributed_lte: BigInt + amtDistributed_in: [BigInt!] + amtDistributed_not_in: [BigInt!] + allocatedBy: Bytes + allocatedBy_not: Bytes + allocatedBy_gt: Bytes + allocatedBy_lt: Bytes + allocatedBy_gte: Bytes + allocatedBy_lte: Bytes + allocatedBy_in: [Bytes!] + allocatedBy_not_in: [Bytes!] + allocatedBy_contains: Bytes + allocatedBy_not_contains: Bytes + facilitatorReason: String + facilitatorReason_not: String + facilitatorReason_gt: String + facilitatorReason_lt: String + facilitatorReason_gte: String + facilitatorReason_lte: String + facilitatorReason_in: [String!] + facilitatorReason_not_in: [String!] + facilitatorReason_contains: String + facilitatorReason_contains_nocase: String + facilitatorReason_not_contains: String + facilitatorReason_not_contains_nocase: String + facilitatorReason_starts_with: String + facilitatorReason_starts_with_nocase: String + facilitatorReason_not_starts_with: String + facilitatorReason_not_starts_with_nocase: String + facilitatorReason_ends_with: String + facilitatorReason_ends_with_nocase: String + facilitatorReason_not_ends_with: String + facilitatorReason_not_ends_with_nocase: String + facilitatorReason_: RawMetadata_filter + hasFacilitatorApproved: Boolean + hasFacilitatorApproved_not: Boolean + hasFacilitatorApproved_in: [Boolean!] + hasFacilitatorApproved_not_in: [Boolean!] + milestonesApproved: Boolean + milestonesApproved_not: Boolean + milestonesApproved_in: [Boolean!] + milestonesApproved_not_in: [Boolean!] + milestonesApprovedReason: String + milestonesApprovedReason_not: String + milestonesApprovedReason_gt: String + milestonesApprovedReason_lt: String + milestonesApprovedReason_gte: String + milestonesApprovedReason_lte: String + milestonesApprovedReason_in: [String!] + milestonesApprovedReason_not_in: [String!] + milestonesApprovedReason_contains: String + milestonesApprovedReason_contains_nocase: String + milestonesApprovedReason_not_contains: String + milestonesApprovedReason_not_contains_nocase: String + milestonesApprovedReason_starts_with: String + milestonesApprovedReason_starts_with_nocase: String + milestonesApprovedReason_not_starts_with: String + milestonesApprovedReason_not_starts_with_nocase: String + milestonesApprovedReason_ends_with: String + milestonesApprovedReason_ends_with_nocase: String + milestonesApprovedReason_not_ends_with: String + milestonesApprovedReason_not_ends_with_nocase: String + milestonesApprovedReason_: RawMetadata_filter + currentMilestoneRejectedReason: String + currentMilestoneRejectedReason_not: String + currentMilestoneRejectedReason_gt: String + currentMilestoneRejectedReason_lt: String + currentMilestoneRejectedReason_gte: String + currentMilestoneRejectedReason_lte: String + currentMilestoneRejectedReason_in: [String!] + currentMilestoneRejectedReason_not_in: [String!] + currentMilestoneRejectedReason_contains: String + currentMilestoneRejectedReason_contains_nocase: String + currentMilestoneRejectedReason_not_contains: String + currentMilestoneRejectedReason_not_contains_nocase: String + currentMilestoneRejectedReason_starts_with: String + currentMilestoneRejectedReason_starts_with_nocase: String + currentMilestoneRejectedReason_not_starts_with: String + currentMilestoneRejectedReason_not_starts_with_nocase: String + currentMilestoneRejectedReason_ends_with: String + currentMilestoneRejectedReason_ends_with_nocase: String + currentMilestoneRejectedReason_not_ends_with: String + currentMilestoneRejectedReason_not_ends_with_nocase: String + currentMilestoneRejectedReason_: RawMetadata_filter + resubmitHistory: [String!] + resubmitHistory_not: [String!] + resubmitHistory_contains: [String!] + resubmitHistory_contains_nocase: [String!] + resubmitHistory_not_contains: [String!] + resubmitHistory_not_contains_nocase: [String!] + resubmitHistory_: ApplicationHistory_filter """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [GameManager_filter] - or: [GameManager_filter] + and: [Grant_filter] + or: [Grant_filter] } -enum GameManager_orderBy { +enum Grant_orderBy { id - poolId - gameFacilitatorId - rootAccount - tokenAddress - currentRoundId - currentRound - currentRound__id - currentRound__startTime - currentRound__endTime - currentRound__totalRoundAmount - currentRound__totalAllocatedAmount - currentRound__totalDistributedAmount - currentRound__gameStatus - currentRound__isGameActive - currentRound__realStartTime - currentRound__realEndTime - poolFunds + projectId + projectId__id + projectId__profileId + projectId__status + projectId__nonce + projectId__name + projectId__owner + projectId__anchor + projectId__blockNumber + projectId__blockTimestamp + projectId__transactionHash + projectId__totalAmountReceived + shipId + shipId__id + shipId__profileId + shipId__nonce + shipId__name + shipId__owner + shipId__anchor + shipId__blockNumber + shipId__blockTimestamp + shipId__transactionHash + shipId__status + shipId__poolFunded + shipId__balance + shipId__shipAllocation + shipId__totalAvailableFunds + shipId__totalRoundAmount + shipId__totalAllocated + shipId__totalDistributed + shipId__shipApplicationBytesData + shipId__applicationSubmittedTime + shipId__isAwaitingApproval + shipId__hasSubmittedApplication + shipId__isApproved + shipId__approvedTime + shipId__isRejected + shipId__rejectedTime + shipId__poolId + shipId__hatId + shipId__shipContractAddress + shipId__shipLaunched + shipId__poolActive + shipId__isAllocated + shipId__isDistributed + lastUpdated + hasResubmitted + grantStatus + grantApplicationBytes + applicationSubmitted + currentMilestoneIndex + milestonesAmount + milestones + shipApprovalReason + shipApprovalReason__id + shipApprovalReason__protocol + shipApprovalReason__pointer + hasShipApproved + amtAllocated + amtDistributed + allocatedBy + facilitatorReason + facilitatorReason__id + facilitatorReason__protocol + facilitatorReason__pointer + hasFacilitatorApproved + milestonesApproved + milestonesApprovedReason + milestonesApprovedReason__id + milestonesApprovedReason__protocol + milestonesApprovedReason__pointer + currentMilestoneRejectedReason + currentMilestoneRejectedReason__id + currentMilestoneRejectedReason__protocol + currentMilestoneRejectedReason__pointer + resubmitHistory } -type GameRound { +""" +8 bytes signed integer + +""" +scalar Int8 + +type Log { id: ID! - startTime: BigInt! - endTime: BigInt! - totalRoundAmount: BigInt! - totalAllocatedAmount: BigInt! - totalDistributedAmount: BigInt! - gameStatus: Int! - ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! - isGameActive: Boolean! - realStartTime: BigInt - realEndTime: BigInt + message: String! + description: String + type: String } -input GameRound_filter { +input Log_filter { id: ID id_not: ID id_gt: ID @@ -5887,116 +3920,89 @@ input GameRound_filter { id_lte: ID id_in: [ID!] id_not_in: [ID!] - startTime: BigInt - startTime_not: BigInt - startTime_gt: BigInt - startTime_lt: BigInt - startTime_gte: BigInt - startTime_lte: BigInt - startTime_in: [BigInt!] - startTime_not_in: [BigInt!] - endTime: BigInt - endTime_not: BigInt - endTime_gt: BigInt - endTime_lt: BigInt - endTime_gte: BigInt - endTime_lte: BigInt - endTime_in: [BigInt!] - endTime_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocatedAmount: BigInt - totalAllocatedAmount_not: BigInt - totalAllocatedAmount_gt: BigInt - totalAllocatedAmount_lt: BigInt - totalAllocatedAmount_gte: BigInt - totalAllocatedAmount_lte: BigInt - totalAllocatedAmount_in: [BigInt!] - totalAllocatedAmount_not_in: [BigInt!] - totalDistributedAmount: BigInt - totalDistributedAmount_not: BigInt - totalDistributedAmount_gt: BigInt - totalDistributedAmount_lt: BigInt - totalDistributedAmount_gte: BigInt - totalDistributedAmount_lte: BigInt - totalDistributedAmount_in: [BigInt!] - totalDistributedAmount_not_in: [BigInt!] - gameStatus: Int - gameStatus_not: Int - gameStatus_gt: Int - gameStatus_lt: Int - gameStatus_gte: Int - gameStatus_lte: Int - gameStatus_in: [Int!] - gameStatus_not_in: [Int!] - ships: [String!] - ships_not: [String!] - ships_contains: [String!] - ships_contains_nocase: [String!] - ships_not_contains: [String!] - ships_not_contains_nocase: [String!] - ships_: GrantShip_filter - isGameActive: Boolean - isGameActive_not: Boolean - isGameActive_in: [Boolean!] - isGameActive_not_in: [Boolean!] - realStartTime: BigInt - realStartTime_not: BigInt - realStartTime_gt: BigInt - realStartTime_lt: BigInt - realStartTime_gte: BigInt - realStartTime_lte: BigInt - realStartTime_in: [BigInt!] - realStartTime_not_in: [BigInt!] - realEndTime: BigInt - realEndTime_not: BigInt - realEndTime_gt: BigInt - realEndTime_lt: BigInt - realEndTime_gte: BigInt - realEndTime_lte: BigInt - realEndTime_in: [BigInt!] - realEndTime_not_in: [BigInt!] + message: String + message_not: String + message_gt: String + message_lt: String + message_gte: String + message_lte: String + message_in: [String!] + message_not_in: [String!] + message_contains: String + message_contains_nocase: String + message_not_contains: String + message_not_contains_nocase: String + message_starts_with: String + message_starts_with_nocase: String + message_not_starts_with: String + message_not_starts_with_nocase: String + message_ends_with: String + message_ends_with_nocase: String + message_not_ends_with: String + message_not_ends_with_nocase: String + 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_contains: String + description_contains_nocase: String + description_not_contains: String + description_not_contains_nocase: 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 + type: String + type_not: String + type_gt: String + type_lt: String + type_gte: String + type_lte: String + type_in: [String!] + type_not_in: [String!] + type_contains: String + type_contains_nocase: String + type_not_contains: String + type_not_contains_nocase: String + type_starts_with: String + type_starts_with_nocase: String + type_not_starts_with: String + type_not_starts_with_nocase: String + type_ends_with: String + type_ends_with_nocase: String + type_not_ends_with: String + type_not_ends_with_nocase: String """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [GameRound_filter] - or: [GameRound_filter] + and: [Log_filter] + or: [Log_filter] } -enum GameRound_orderBy { +enum Log_orderBy { id - startTime - endTime - totalRoundAmount - totalAllocatedAmount - totalDistributedAmount - gameStatus - ships - isGameActive - realStartTime - realEndTime + message + description + type } -type GmDeployment { +type Milestone { id: ID! - address: Bytes! - version: GmVersion! - blockNumber: BigInt! - transactionHash: Bytes! - timestamp: BigInt! - hasPool: Boolean! - poolId: BigInt - profileId: Bytes! - poolMetadata: RawMetadata! - poolProfileMetadata: RawMetadata! + amountPercentage: Bytes! + mmetadata: BigInt! + amount: BigInt! + status: Int! + lastUpdated: BigInt! } -input GmDeployment_filter { +input Milestone_filter { id: ID id_not: ID id_gt: ID @@ -6005,163 +4011,111 @@ input GmDeployment_filter { id_lte: ID id_in: [ID!] id_not_in: [ID!] - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - version: String - version_not: String - version_gt: String - version_lt: String - version_gte: String - version_lte: String - version_in: [String!] - version_not_in: [String!] - version_contains: String - version_contains_nocase: String - version_not_contains: String - version_not_contains_nocase: String - version_starts_with: String - version_starts_with_nocase: String - version_not_starts_with: String - version_not_starts_with_nocase: String - version_ends_with: String - version_ends_with_nocase: String - version_not_ends_with: String - version_not_ends_with_nocase: String - version_: GmVersion_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!] - 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 - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - hasPool: Boolean - hasPool_not: Boolean - hasPool_in: [Boolean!] - hasPool_not_in: [Boolean!] - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - poolMetadata: String - poolMetadata_not: String - poolMetadata_gt: String - poolMetadata_lt: String - poolMetadata_gte: String - poolMetadata_lte: String - poolMetadata_in: [String!] - poolMetadata_not_in: [String!] - poolMetadata_contains: String - poolMetadata_contains_nocase: String - poolMetadata_not_contains: String - poolMetadata_not_contains_nocase: String - poolMetadata_starts_with: String - poolMetadata_starts_with_nocase: String - poolMetadata_not_starts_with: String - poolMetadata_not_starts_with_nocase: String - poolMetadata_ends_with: String - poolMetadata_ends_with_nocase: String - poolMetadata_not_ends_with: String - poolMetadata_not_ends_with_nocase: String - poolMetadata_: RawMetadata_filter - poolProfileMetadata: String - poolProfileMetadata_not: String - poolProfileMetadata_gt: String - poolProfileMetadata_lt: String - poolProfileMetadata_gte: String - poolProfileMetadata_lte: String - poolProfileMetadata_in: [String!] - poolProfileMetadata_not_in: [String!] - poolProfileMetadata_contains: String - poolProfileMetadata_contains_nocase: String - poolProfileMetadata_not_contains: String - poolProfileMetadata_not_contains_nocase: String - poolProfileMetadata_starts_with: String - poolProfileMetadata_starts_with_nocase: String - poolProfileMetadata_not_starts_with: String - poolProfileMetadata_not_starts_with_nocase: String - poolProfileMetadata_ends_with: String - poolProfileMetadata_ends_with_nocase: String - poolProfileMetadata_not_ends_with: String - poolProfileMetadata_not_ends_with_nocase: String - poolProfileMetadata_: RawMetadata_filter + amountPercentage: Bytes + amountPercentage_not: Bytes + amountPercentage_gt: Bytes + amountPercentage_lt: Bytes + amountPercentage_gte: Bytes + amountPercentage_lte: Bytes + amountPercentage_in: [Bytes!] + amountPercentage_not_in: [Bytes!] + amountPercentage_contains: Bytes + amountPercentage_not_contains: Bytes + mmetadata: BigInt + mmetadata_not: BigInt + mmetadata_gt: BigInt + mmetadata_lt: BigInt + mmetadata_gte: BigInt + mmetadata_lte: BigInt + mmetadata_in: [BigInt!] + mmetadata_not_in: [BigInt!] + amount: BigInt + amount_not: BigInt + amount_gt: BigInt + amount_lt: BigInt + amount_gte: BigInt + amount_lte: BigInt + amount_in: [BigInt!] + amount_not_in: [BigInt!] + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + lastUpdated: BigInt + lastUpdated_not: BigInt + lastUpdated_gt: BigInt + lastUpdated_lt: BigInt + lastUpdated_gte: BigInt + lastUpdated_lte: BigInt + lastUpdated_in: [BigInt!] + lastUpdated_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Milestone_filter] + or: [Milestone_filter] +} + +enum Milestone_orderBy { + id + amountPercentage + mmetadata + amount + status + lastUpdated +} + +"""Defines the order direction, either ascending or descending""" +enum OrderDirection { + asc + desc +} + +type PoolIdLookup { + id: ID! + entityId: Bytes! +} + +input PoolIdLookup_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + entityId: Bytes + entityId_not: Bytes + entityId_gt: Bytes + entityId_lt: Bytes + entityId_gte: Bytes + entityId_lte: Bytes + entityId_in: [Bytes!] + entityId_not_in: [Bytes!] + entityId_contains: Bytes + entityId_not_contains: Bytes """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [GmDeployment_filter] - or: [GmDeployment_filter] + and: [PoolIdLookup_filter] + or: [PoolIdLookup_filter] } -enum GmDeployment_orderBy { +enum PoolIdLookup_orderBy { id - address - version - version__id - version__name - version__address - blockNumber - transactionHash - timestamp - hasPool - poolId - profileId - poolMetadata - poolMetadata__id - poolMetadata__protocol - poolMetadata__pointer - poolProfileMetadata - poolProfileMetadata__id - poolProfileMetadata__protocol - poolProfileMetadata__pointer + entityId } -type GmVersion { +type ProfileIdToAnchor { id: ID! - name: String! - address: Bytes! + profileId: Bytes! + anchor: Bytes! } -input GmVersion_filter { +input ProfileIdToAnchor_filter { id: ID id_not: ID id_gt: ID @@ -6170,113 +4124,89 @@ input GmVersion_filter { id_lte: ID id_in: [ID!] id_not_in: [ID!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_not_contains: Bytes """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [GmVersion_filter] - or: [GmVersion_filter] + and: [ProfileIdToAnchor_filter] + or: [ProfileIdToAnchor_filter] } -enum GmVersion_orderBy { +enum ProfileIdToAnchor_orderBy { id - name - address + profileId + anchor } -type Grant { - id: ID! - projectId: Project! - shipId: GrantShip! - lastUpdated: BigInt! - hasResubmitted: Boolean! - grantStatus: Int! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! - currentMilestoneIndex: BigInt! - milestonesAmount: BigInt! - milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] - shipApprovalReason: RawMetadata - hasShipApproved: Boolean - amtAllocated: BigInt! - amtDistributed: BigInt! - allocatedBy: Bytes - facilitatorReason: RawMetadata - hasFacilitatorApproved: Boolean - milestonesApproved: Boolean - milestonesApprovedReason: RawMetadata - currentMilestoneRejectedReason: RawMetadata - resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! +type ProfileMemberGroup { + id: Bytes! + addresses: [Bytes!] } -type GrantShip { +input ProfileMemberGroup_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 + addresses: [Bytes!] + addresses_not: [Bytes!] + addresses_contains: [Bytes!] + addresses_contains_nocase: [Bytes!] + addresses_not_contains: [Bytes!] + addresses_not_contains_nocase: [Bytes!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ProfileMemberGroup_filter] + or: [ProfileMemberGroup_filter] +} + +enum ProfileMemberGroup_orderBy { + id + addresses +} + +type Project { id: Bytes! profileId: Bytes! + status: Int! nonce: BigInt! name: String! - profileMetadata: RawMetadata! + metadata: RawMetadata! owner: Bytes! anchor: Bytes! blockNumber: BigInt! blockTimestamp: BigInt! transactionHash: Bytes! - status: Int! - poolFunded: Boolean! - balance: BigInt! - shipAllocation: BigInt! - totalAvailableFunds: BigInt! - totalRoundAmount: BigInt! - totalAllocated: BigInt! - totalDistributed: BigInt! grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! - alloProfileMembers: ProfileMemberGroup - shipApplicationBytesData: Bytes - applicationSubmittedTime: BigInt - isAwaitingApproval: Boolean - hasSubmittedApplication: Boolean - isApproved: Boolean - approvedTime: BigInt - isRejected: Boolean - rejectedTime: BigInt - applicationReviewReason: RawMetadata - poolId: BigInt - hatId: String - shipContractAddress: Bytes - shipLaunched: Boolean - poolActive: Boolean - isAllocated: Boolean - isDistributed: Boolean + members: ProfileMemberGroup + totalAmountReceived: BigInt! } -input GrantShip_filter { +input Project_filter { id: Bytes id_not: Bytes id_gt: Bytes @@ -6297,6 +4227,14 @@ input GrantShip_filter { profileId_not_in: [Bytes!] profileId_contains: Bytes profileId_not_contains: Bytes + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] nonce: BigInt nonce_not: BigInt nonce_gt: BigInt @@ -6325,27 +4263,27 @@ input GrantShip_filter { name_ends_with_nocase: String name_not_ends_with: String name_not_ends_with_nocase: String - profileMetadata: String - profileMetadata_not: String - profileMetadata_gt: String - profileMetadata_lt: String - profileMetadata_gte: String - profileMetadata_lte: String - profileMetadata_in: [String!] - profileMetadata_not_in: [String!] - profileMetadata_contains: String - profileMetadata_contains_nocase: String - profileMetadata_not_contains: String - profileMetadata_not_contains_nocase: String - profileMetadata_starts_with: String - profileMetadata_starts_with_nocase: String - profileMetadata_not_starts_with: String - profileMetadata_not_starts_with_nocase: String - profileMetadata_ends_with: String - profileMetadata_ends_with_nocase: String - profileMetadata_not_ends_with: String - profileMetadata_not_ends_with_nocase: String - profileMetadata_: RawMetadata_filter + metadata: String + metadata_not: String + metadata_gt: String + metadata_lt: String + metadata_gte: String + metadata_lte: String + metadata_in: [String!] + metadata_not_in: [String!] + metadata_contains: String + metadata_contains_nocase: String + metadata_not_contains: String + metadata_not_contains_nocase: String + metadata_starts_with: String + metadata_starts_with_nocase: String + metadata_not_starts_with: String + metadata_not_starts_with_nocase: String + metadata_ends_with: String + metadata_ends_with_nocase: String + metadata_not_ends_with: String + metadata_not_ends_with_nocase: String + metadata_: RawMetadata_filter owner: Bytes owner_not: Bytes owner_gt: Bytes @@ -6392,1366 +4330,3432 @@ input GrantShip_filter { transactionHash_not_in: [Bytes!] transactionHash_contains: Bytes transactionHash_not_contains: Bytes - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - poolFunded: Boolean - poolFunded_not: Boolean - poolFunded_in: [Boolean!] - poolFunded_not_in: [Boolean!] - balance: BigInt - balance_not: BigInt - balance_gt: BigInt - balance_lt: BigInt - balance_gte: BigInt - balance_lte: BigInt - balance_in: [BigInt!] - balance_not_in: [BigInt!] - shipAllocation: BigInt - shipAllocation_not: BigInt - shipAllocation_gt: BigInt - shipAllocation_lt: BigInt - shipAllocation_gte: BigInt - shipAllocation_lte: BigInt - shipAllocation_in: [BigInt!] - shipAllocation_not_in: [BigInt!] - totalAvailableFunds: BigInt - totalAvailableFunds_not: BigInt - totalAvailableFunds_gt: BigInt - totalAvailableFunds_lt: BigInt - totalAvailableFunds_gte: BigInt - totalAvailableFunds_lte: BigInt - totalAvailableFunds_in: [BigInt!] - totalAvailableFunds_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocated: BigInt - totalAllocated_not: BigInt - totalAllocated_gt: BigInt - totalAllocated_lt: BigInt - totalAllocated_gte: BigInt - totalAllocated_lte: BigInt - totalAllocated_in: [BigInt!] - totalAllocated_not_in: [BigInt!] - totalDistributed: BigInt - totalDistributed_not: BigInt - totalDistributed_gt: BigInt - totalDistributed_lt: BigInt - totalDistributed_gte: BigInt - totalDistributed_lte: BigInt - totalDistributed_in: [BigInt!] - totalDistributed_not_in: [BigInt!] grants_: Grant_filter - alloProfileMembers: String - alloProfileMembers_not: String - alloProfileMembers_gt: String - alloProfileMembers_lt: String - alloProfileMembers_gte: String - alloProfileMembers_lte: String - alloProfileMembers_in: [String!] - alloProfileMembers_not_in: [String!] - alloProfileMembers_contains: String - alloProfileMembers_contains_nocase: String - alloProfileMembers_not_contains: String - alloProfileMembers_not_contains_nocase: String - alloProfileMembers_starts_with: String - alloProfileMembers_starts_with_nocase: String - alloProfileMembers_not_starts_with: String - alloProfileMembers_not_starts_with_nocase: String - alloProfileMembers_ends_with: String - alloProfileMembers_ends_with_nocase: String - alloProfileMembers_not_ends_with: String - alloProfileMembers_not_ends_with_nocase: String - alloProfileMembers_: ProfileMemberGroup_filter - shipApplicationBytesData: Bytes - shipApplicationBytesData_not: Bytes - shipApplicationBytesData_gt: Bytes - shipApplicationBytesData_lt: Bytes - shipApplicationBytesData_gte: Bytes - shipApplicationBytesData_lte: Bytes - shipApplicationBytesData_in: [Bytes!] - shipApplicationBytesData_not_in: [Bytes!] - shipApplicationBytesData_contains: Bytes - shipApplicationBytesData_not_contains: Bytes - applicationSubmittedTime: BigInt - applicationSubmittedTime_not: BigInt - applicationSubmittedTime_gt: BigInt - applicationSubmittedTime_lt: BigInt - applicationSubmittedTime_gte: BigInt - applicationSubmittedTime_lte: BigInt - applicationSubmittedTime_in: [BigInt!] - applicationSubmittedTime_not_in: [BigInt!] - isAwaitingApproval: Boolean - isAwaitingApproval_not: Boolean - isAwaitingApproval_in: [Boolean!] - isAwaitingApproval_not_in: [Boolean!] - hasSubmittedApplication: Boolean - hasSubmittedApplication_not: Boolean - hasSubmittedApplication_in: [Boolean!] - hasSubmittedApplication_not_in: [Boolean!] - isApproved: Boolean - isApproved_not: Boolean - isApproved_in: [Boolean!] - isApproved_not_in: [Boolean!] - approvedTime: BigInt - approvedTime_not: BigInt - approvedTime_gt: BigInt - approvedTime_lt: BigInt - approvedTime_gte: BigInt - approvedTime_lte: BigInt - approvedTime_in: [BigInt!] - approvedTime_not_in: [BigInt!] - isRejected: Boolean - isRejected_not: Boolean - isRejected_in: [Boolean!] - isRejected_not_in: [Boolean!] - rejectedTime: BigInt - rejectedTime_not: BigInt - rejectedTime_gt: BigInt - rejectedTime_lt: BigInt - rejectedTime_gte: BigInt - rejectedTime_lte: BigInt - rejectedTime_in: [BigInt!] - rejectedTime_not_in: [BigInt!] - applicationReviewReason: String - applicationReviewReason_not: String - applicationReviewReason_gt: String - applicationReviewReason_lt: String - applicationReviewReason_gte: String - applicationReviewReason_lte: String - applicationReviewReason_in: [String!] - applicationReviewReason_not_in: [String!] - applicationReviewReason_contains: String - applicationReviewReason_contains_nocase: String - applicationReviewReason_not_contains: String - applicationReviewReason_not_contains_nocase: String - applicationReviewReason_starts_with: String - applicationReviewReason_starts_with_nocase: String - applicationReviewReason_not_starts_with: String - applicationReviewReason_not_starts_with_nocase: String - applicationReviewReason_ends_with: String - applicationReviewReason_ends_with_nocase: String - applicationReviewReason_not_ends_with: String - applicationReviewReason_not_ends_with_nocase: String - applicationReviewReason_: RawMetadata_filter - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - hatId: String - hatId_not: String - hatId_gt: String - hatId_lt: String - hatId_gte: String - hatId_lte: String - hatId_in: [String!] - hatId_not_in: [String!] - hatId_contains: String - hatId_contains_nocase: String - hatId_not_contains: String - hatId_not_contains_nocase: String - hatId_starts_with: String - hatId_starts_with_nocase: String - hatId_not_starts_with: String - hatId_not_starts_with_nocase: String - hatId_ends_with: String - hatId_ends_with_nocase: String - hatId_not_ends_with: String - hatId_not_ends_with_nocase: String - shipContractAddress: Bytes - shipContractAddress_not: Bytes - shipContractAddress_gt: Bytes - shipContractAddress_lt: Bytes - shipContractAddress_gte: Bytes - shipContractAddress_lte: Bytes - shipContractAddress_in: [Bytes!] - shipContractAddress_not_in: [Bytes!] - shipContractAddress_contains: Bytes - shipContractAddress_not_contains: Bytes - shipLaunched: Boolean - shipLaunched_not: Boolean - shipLaunched_in: [Boolean!] - shipLaunched_not_in: [Boolean!] - poolActive: Boolean - poolActive_not: Boolean - poolActive_in: [Boolean!] - poolActive_not_in: [Boolean!] - isAllocated: Boolean - isAllocated_not: Boolean - isAllocated_in: [Boolean!] - isAllocated_not_in: [Boolean!] - isDistributed: Boolean - isDistributed_not: Boolean - isDistributed_in: [Boolean!] - isDistributed_not_in: [Boolean!] + members: String + members_not: String + members_gt: String + members_lt: String + members_gte: String + members_lte: String + members_in: [String!] + members_not_in: [String!] + members_contains: String + members_contains_nocase: String + members_not_contains: String + members_not_contains_nocase: String + members_starts_with: String + members_starts_with_nocase: String + members_not_starts_with: String + members_not_starts_with_nocase: String + members_ends_with: String + members_ends_with_nocase: String + members_not_ends_with: String + members_not_ends_with_nocase: String + members_: ProfileMemberGroup_filter + totalAmountReceived: BigInt + totalAmountReceived_not: BigInt + totalAmountReceived_gt: BigInt + totalAmountReceived_lt: BigInt + totalAmountReceived_gte: BigInt + totalAmountReceived_lte: BigInt + totalAmountReceived_in: [BigInt!] + totalAmountReceived_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Project_filter] + or: [Project_filter] +} + +enum Project_orderBy { + id + profileId + status + nonce + name + metadata + metadata__id + metadata__protocol + metadata__pointer + owner + anchor + blockNumber + blockTimestamp + transactionHash + grants + members + members__id + totalAmountReceived +} + +type RawMetadata { + id: String! + protocol: BigInt! + pointer: String! +} + +input RawMetadata_filter { + id: String + id_not: String + id_gt: String + id_lt: String + id_gte: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_contains_nocase: String + id_not_contains: String + id_not_contains_nocase: String + id_starts_with: String + id_starts_with_nocase: String + id_not_starts_with: String + id_not_starts_with_nocase: String + id_ends_with: String + id_ends_with_nocase: String + id_not_ends_with: String + id_not_ends_with_nocase: String + protocol: BigInt + protocol_not: BigInt + protocol_gt: BigInt + protocol_lt: BigInt + protocol_gte: BigInt + protocol_lte: BigInt + protocol_in: [BigInt!] + protocol_not_in: [BigInt!] + pointer: String + pointer_not: String + pointer_gt: String + pointer_lt: String + pointer_gte: String + pointer_lte: String + pointer_in: [String!] + pointer_not_in: [String!] + pointer_contains: String + pointer_contains_nocase: String + pointer_not_contains: String + pointer_not_contains_nocase: String + pointer_starts_with: String + pointer_starts_with_nocase: String + pointer_not_starts_with: String + pointer_not_starts_with_nocase: String + pointer_ends_with: String + pointer_ends_with_nocase: String + pointer_not_ends_with: String + pointer_not_ends_with_nocase: String """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [GrantShip_filter] - or: [GrantShip_filter] + and: [RawMetadata_filter] + or: [RawMetadata_filter] +} + +enum RawMetadata_orderBy { + id + protocol + pointer +} + +""" +A string representation of microseconds UNIX timestamp (16 digits) + +""" +scalar Timestamp + +type Transaction { + id: ID! + blockNumber: BigInt! + sender: Bytes! + txHash: Bytes! +} + +input Transaction_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + blockNumber: BigInt + blockNumber_not: BigInt + blockNumber_gt: BigInt + blockNumber_lt: BigInt + blockNumber_gte: BigInt + blockNumber_lte: BigInt + blockNumber_in: [BigInt!] + blockNumber_not_in: [BigInt!] + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + txHash: Bytes + txHash_not: Bytes + txHash_gt: Bytes + txHash_lt: Bytes + txHash_gte: Bytes + txHash_lte: Bytes + txHash_in: [Bytes!] + txHash_not_in: [Bytes!] + txHash_contains: Bytes + txHash_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Transaction_filter] + or: [Transaction_filter] +} + +enum Transaction_orderBy { + id + blockNumber + sender + txHash +} + +type Update { + id: ID! + scope: Int! + posterRole: Int! + entityAddress: Bytes! + postedBy: Bytes! + content: RawMetadata! + contentSchema: Int! + postDecorator: Int! + timestamp: BigInt! +} + +input Update_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + scope: Int + scope_not: Int + scope_gt: Int + scope_lt: Int + scope_gte: Int + scope_lte: Int + scope_in: [Int!] + scope_not_in: [Int!] + posterRole: Int + posterRole_not: Int + posterRole_gt: Int + posterRole_lt: Int + posterRole_gte: Int + posterRole_lte: Int + posterRole_in: [Int!] + posterRole_not_in: [Int!] + entityAddress: Bytes + entityAddress_not: Bytes + entityAddress_gt: Bytes + entityAddress_lt: Bytes + entityAddress_gte: Bytes + entityAddress_lte: Bytes + entityAddress_in: [Bytes!] + entityAddress_not_in: [Bytes!] + entityAddress_contains: Bytes + entityAddress_not_contains: Bytes + postedBy: Bytes + postedBy_not: Bytes + postedBy_gt: Bytes + postedBy_lt: Bytes + postedBy_gte: Bytes + postedBy_lte: Bytes + postedBy_in: [Bytes!] + postedBy_not_in: [Bytes!] + postedBy_contains: Bytes + postedBy_not_contains: Bytes + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + content_: RawMetadata_filter + contentSchema: Int + contentSchema_not: Int + contentSchema_gt: Int + contentSchema_lt: Int + contentSchema_gte: Int + contentSchema_lte: Int + contentSchema_in: [Int!] + contentSchema_not_in: [Int!] + postDecorator: Int + postDecorator_not: Int + postDecorator_gt: Int + postDecorator_lt: Int + postDecorator_gte: Int + postDecorator_lte: Int + postDecorator_in: [Int!] + postDecorator_not_in: [Int!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Update_filter] + or: [Update_filter] +} + +enum Update_orderBy { + id + scope + posterRole + entityAddress + postedBy + content + content__id + content__protocol + content__pointer + contentSchema + postDecorator + timestamp +} + +type _Block_ { + """The hash of the block""" + hash: Bytes + """The block number""" + number: Int! + """Integer representation of the timestamp stored in blocks for the chain""" + timestamp: Int + """The hash of the parent block""" + parentHash: Bytes +} + +"""The type for the top-level _meta field""" +type _Meta_ { + """ + Information about a specific subgraph block. The hash of the block + will be null if the _meta field has a block constraint that asks for + a block number. It will be filled if the _meta field has no block constraint + and therefore asks for the latest block + + """ + block: _Block_! + """The deployment ID""" + deployment: String! + """If `true`, the subgraph encountered indexing errors at some past block""" + hasIndexingErrors: Boolean! +} + +enum _SubgraphErrorPolicy_ { + """Data will be returned even if the subgraph has indexing errors""" + allow + """ + If the subgraph has indexing errors, data will be omitted. The default. + """ + deny +} + +""" +Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. +""" +input Boolean_comparison_exp { + _eq: Boolean + _gt: Boolean + _gte: Boolean + _in: [Boolean!] + _is_null: Boolean + _lt: Boolean + _lte: Boolean + _neq: Boolean + _nin: [Boolean!] +} + +""" +columns and relationships of "Contest" +""" +type Contest { + """An object relationship""" + choicesModule: StemModule + choicesModule_id: String! + contestAddress: String! + contestStatus: numeric! + contestVersion: String! + db_write_timestamp: timestamp + """An object relationship""" + executionModule: StemModule + executionModule_id: String! + filterTag: String! + id: String! + isContinuous: Boolean! + isRetractable: Boolean! + """An object relationship""" + pointsModule: StemModule + pointsModule_id: String! + """An object relationship""" + votesModule: StemModule + votesModule_id: String! +} + +""" +columns and relationships of "ContestClone" +""" +type ContestClone { + contestAddress: String! + contestVersion: String! + db_write_timestamp: timestamp + filterTag: String! + id: String! +} + +""" +Boolean expression to filter rows from the table "ContestClone". All fields are combined with a logical 'AND'. +""" +input ContestClone_bool_exp { + _and: [ContestClone_bool_exp!] + _not: ContestClone_bool_exp + _or: [ContestClone_bool_exp!] + contestAddress: String_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + filterTag: String_comparison_exp + id: String_comparison_exp +} + +"""Ordering options when selecting data from "ContestClone".""" +input ContestClone_order_by { + contestAddress: order_by + contestVersion: order_by + db_write_timestamp: order_by + filterTag: order_by + id: order_by +} + +""" +select columns of table "ContestClone" +""" +enum ContestClone_select_column { + """column name""" + contestAddress + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" + filterTag + """column name""" + id +} + +""" +Streaming cursor of the table "ContestClone" +""" +input ContestClone_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ContestClone_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ContestClone_stream_cursor_value_input { + contestAddress: String + contestVersion: String + db_write_timestamp: timestamp + filterTag: String + id: String +} + +""" +columns and relationships of "ContestTemplate" +""" +type ContestTemplate { + active: Boolean! + contestAddress: String! + contestVersion: String! + db_write_timestamp: timestamp + id: String! + mdPointer: String! + mdProtocol: numeric! +} + +""" +Boolean expression to filter rows from the table "ContestTemplate". All fields are combined with a logical 'AND'. +""" +input ContestTemplate_bool_exp { + _and: [ContestTemplate_bool_exp!] + _not: ContestTemplate_bool_exp + _or: [ContestTemplate_bool_exp!] + active: Boolean_comparison_exp + contestAddress: String_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp +} + +"""Ordering options when selecting data from "ContestTemplate".""" +input ContestTemplate_order_by { + active: order_by + contestAddress: order_by + contestVersion: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by +} + +""" +select columns of table "ContestTemplate" +""" +enum ContestTemplate_select_column { + """column name""" + active + """column name""" + contestAddress + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + mdPointer + """column name""" + mdProtocol +} + +""" +Streaming cursor of the table "ContestTemplate" +""" +input ContestTemplate_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ContestTemplate_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ContestTemplate_stream_cursor_value_input { + active: Boolean + contestAddress: String + contestVersion: String + db_write_timestamp: timestamp + id: String + mdPointer: String + mdProtocol: numeric +} + +""" +Boolean expression to filter rows from the table "Contest". All fields are combined with a logical 'AND'. +""" +input Contest_bool_exp { + _and: [Contest_bool_exp!] + _not: Contest_bool_exp + _or: [Contest_bool_exp!] + choicesModule: StemModule_bool_exp + choicesModule_id: String_comparison_exp + contestAddress: String_comparison_exp + contestStatus: numeric_comparison_exp + contestVersion: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + executionModule: StemModule_bool_exp + executionModule_id: String_comparison_exp + filterTag: String_comparison_exp + id: String_comparison_exp + isContinuous: Boolean_comparison_exp + isRetractable: Boolean_comparison_exp + pointsModule: StemModule_bool_exp + pointsModule_id: String_comparison_exp + votesModule: StemModule_bool_exp + votesModule_id: String_comparison_exp +} + +"""Ordering options when selecting data from "Contest".""" +input Contest_order_by { + choicesModule: StemModule_order_by + choicesModule_id: order_by + contestAddress: order_by + contestStatus: order_by + contestVersion: order_by + db_write_timestamp: order_by + executionModule: StemModule_order_by + executionModule_id: order_by + filterTag: order_by + id: order_by + isContinuous: order_by + isRetractable: order_by + pointsModule: StemModule_order_by + pointsModule_id: order_by + votesModule: StemModule_order_by + votesModule_id: order_by +} + +""" +select columns of table "Contest" +""" +enum Contest_select_column { + """column name""" + choicesModule_id + """column name""" + contestAddress + """column name""" + contestStatus + """column name""" + contestVersion + """column name""" + db_write_timestamp + """column name""" + executionModule_id + """column name""" + filterTag + """column name""" + id + """column name""" + isContinuous + """column name""" + isRetractable + """column name""" + pointsModule_id + """column name""" + votesModule_id +} + +""" +Streaming cursor of the table "Contest" +""" +input Contest_stream_cursor_input { + """Stream column input with initial value""" + initial_value: Contest_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input Contest_stream_cursor_value_input { + choicesModule_id: String + contestAddress: String + contestStatus: numeric + contestVersion: String + db_write_timestamp: timestamp + executionModule_id: String + filterTag: String + id: String + isContinuous: Boolean + isRetractable: Boolean + pointsModule_id: String + votesModule_id: String +} + +""" +columns and relationships of "ERCPointParams" +""" +type ERCPointParams { + db_write_timestamp: timestamp + id: String! + voteTokenAddress: String! + votingCheckpoint: numeric! +} + +""" +Boolean expression to filter rows from the table "ERCPointParams". All fields are combined with a logical 'AND'. +""" +input ERCPointParams_bool_exp { + _and: [ERCPointParams_bool_exp!] + _not: ERCPointParams_bool_exp + _or: [ERCPointParams_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + voteTokenAddress: String_comparison_exp + votingCheckpoint: numeric_comparison_exp +} + +"""Ordering options when selecting data from "ERCPointParams".""" +input ERCPointParams_order_by { + db_write_timestamp: order_by + id: order_by + voteTokenAddress: order_by + votingCheckpoint: order_by +} + +""" +select columns of table "ERCPointParams" +""" +enum ERCPointParams_select_column { + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + voteTokenAddress + """column name""" + votingCheckpoint +} + +""" +Streaming cursor of the table "ERCPointParams" +""" +input ERCPointParams_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ERCPointParams_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ERCPointParams_stream_cursor_value_input { + db_write_timestamp: timestamp + id: String + voteTokenAddress: String + votingCheckpoint: numeric +} + +""" +columns and relationships of "EnvioTX" +""" +type EnvioTX { + blockNumber: numeric! + db_write_timestamp: timestamp + id: String! + srcAddress: String! + txHash: String! + txOrigin: String +} + +""" +Boolean expression to filter rows from the table "EnvioTX". All fields are combined with a logical 'AND'. +""" +input EnvioTX_bool_exp { + _and: [EnvioTX_bool_exp!] + _not: EnvioTX_bool_exp + _or: [EnvioTX_bool_exp!] + blockNumber: numeric_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + srcAddress: String_comparison_exp + txHash: String_comparison_exp + txOrigin: String_comparison_exp +} + +"""Ordering options when selecting data from "EnvioTX".""" +input EnvioTX_order_by { + blockNumber: order_by + db_write_timestamp: order_by + id: order_by + srcAddress: order_by + txHash: order_by + txOrigin: order_by +} + +""" +select columns of table "EnvioTX" +""" +enum EnvioTX_select_column { + """column name""" + blockNumber + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + srcAddress + """column name""" + txHash + """column name""" + txOrigin +} + +""" +Streaming cursor of the table "EnvioTX" +""" +input EnvioTX_stream_cursor_input { + """Stream column input with initial value""" + initial_value: EnvioTX_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input EnvioTX_stream_cursor_value_input { + blockNumber: numeric + db_write_timestamp: timestamp + id: String + srcAddress: String + txHash: String + txOrigin: String +} + +""" +columns and relationships of "EventPost" +""" +type EventPost { + db_write_timestamp: timestamp + hatId: numeric! + """An object relationship""" + hatsPoster: HatsPoster + hatsPoster_id: String! + id: String! + mdPointer: String! + mdProtocol: numeric! + tag: String! +} + +""" +order by aggregate values of table "EventPost" +""" +input EventPost_aggregate_order_by { + avg: EventPost_avg_order_by + count: order_by + max: EventPost_max_order_by + min: EventPost_min_order_by + stddev: EventPost_stddev_order_by + stddev_pop: EventPost_stddev_pop_order_by + stddev_samp: EventPost_stddev_samp_order_by + sum: EventPost_sum_order_by + var_pop: EventPost_var_pop_order_by + var_samp: EventPost_var_samp_order_by + variance: EventPost_variance_order_by +} + +""" +order by avg() on columns of table "EventPost" +""" +input EventPost_avg_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +Boolean expression to filter rows from the table "EventPost". All fields are combined with a logical 'AND'. +""" +input EventPost_bool_exp { + _and: [EventPost_bool_exp!] + _not: EventPost_bool_exp + _or: [EventPost_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + hatId: numeric_comparison_exp + hatsPoster: HatsPoster_bool_exp + hatsPoster_id: String_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + tag: String_comparison_exp +} + +""" +order by max() on columns of table "EventPost" +""" +input EventPost_max_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by +} + +""" +order by min() on columns of table "EventPost" +""" +input EventPost_min_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by +} + +"""Ordering options when selecting data from "EventPost".""" +input EventPost_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster: HatsPoster_order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + tag: order_by +} + +""" +select columns of table "EventPost" +""" +enum EventPost_select_column { + """column name""" + db_write_timestamp + """column name""" + hatId + """column name""" + hatsPoster_id + """column name""" + id + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + tag +} + +""" +order by stddev() on columns of table "EventPost" +""" +input EventPost_stddev_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by stddev_pop() on columns of table "EventPost" +""" +input EventPost_stddev_pop_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by stddev_samp() on columns of table "EventPost" +""" +input EventPost_stddev_samp_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +Streaming cursor of the table "EventPost" +""" +input EventPost_stream_cursor_input { + """Stream column input with initial value""" + initial_value: EventPost_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input EventPost_stream_cursor_value_input { + db_write_timestamp: timestamp + hatId: numeric + hatsPoster_id: String + id: String + mdPointer: String + mdProtocol: numeric + tag: String +} + +""" +order by sum() on columns of table "EventPost" +""" +input EventPost_sum_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_pop() on columns of table "EventPost" +""" +input EventPost_var_pop_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_samp() on columns of table "EventPost" +""" +input EventPost_var_samp_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by variance() on columns of table "EventPost" +""" +input EventPost_variance_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +columns and relationships of "FactoryEventsSummary" +""" +type FactoryEventsSummary { + address: String! + admins: [String!]! + contestBuiltCount: numeric! + contestCloneCount: numeric! + contestTemplateCount: numeric! + db_write_timestamp: timestamp + id: String! + moduleCloneCount: numeric! + moduleTemplateCount: numeric! +} + +""" +Boolean expression to filter rows from the table "FactoryEventsSummary". All fields are combined with a logical 'AND'. +""" +input FactoryEventsSummary_bool_exp { + _and: [FactoryEventsSummary_bool_exp!] + _not: FactoryEventsSummary_bool_exp + _or: [FactoryEventsSummary_bool_exp!] + address: String_comparison_exp + admins: String_array_comparison_exp + contestBuiltCount: numeric_comparison_exp + contestCloneCount: numeric_comparison_exp + contestTemplateCount: numeric_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + moduleCloneCount: numeric_comparison_exp + moduleTemplateCount: numeric_comparison_exp +} + +"""Ordering options when selecting data from "FactoryEventsSummary".""" +input FactoryEventsSummary_order_by { + address: order_by + admins: order_by + contestBuiltCount: order_by + contestCloneCount: order_by + contestTemplateCount: order_by + db_write_timestamp: order_by + id: order_by + moduleCloneCount: order_by + moduleTemplateCount: order_by +} + +""" +select columns of table "FactoryEventsSummary" +""" +enum FactoryEventsSummary_select_column { + """column name""" + address + """column name""" + admins + """column name""" + contestBuiltCount + """column name""" + contestCloneCount + """column name""" + contestTemplateCount + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + moduleCloneCount + """column name""" + moduleTemplateCount +} + +""" +Streaming cursor of the table "FactoryEventsSummary" +""" +input FactoryEventsSummary_stream_cursor_input { + """Stream column input with initial value""" + initial_value: FactoryEventsSummary_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input FactoryEventsSummary_stream_cursor_value_input { + address: String + admins: [String!] + contestBuiltCount: numeric + contestCloneCount: numeric + contestTemplateCount: numeric + db_write_timestamp: timestamp + id: String + moduleCloneCount: numeric + moduleTemplateCount: numeric +} + +""" +columns and relationships of "GSVoter" +""" +type GSVoter { + address: String! + db_write_timestamp: timestamp + id: String! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! +} + +""" +Boolean expression to filter rows from the table "GSVoter". All fields are combined with a logical 'AND'. +""" +input GSVoter_bool_exp { + _and: [GSVoter_bool_exp!] + _not: GSVoter_bool_exp + _or: [GSVoter_bool_exp!] + address: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + votes: ShipVote_bool_exp +} + +"""Ordering options when selecting data from "GSVoter".""" +input GSVoter_order_by { + address: order_by + db_write_timestamp: order_by + id: order_by + votes_aggregate: ShipVote_aggregate_order_by +} + +""" +select columns of table "GSVoter" +""" +enum GSVoter_select_column { + """column name""" + address + """column name""" + db_write_timestamp + """column name""" + id +} + +""" +Streaming cursor of the table "GSVoter" +""" +input GSVoter_stream_cursor_input { + """Stream column input with initial value""" + initial_value: GSVoter_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input GSVoter_stream_cursor_value_input { + address: String + db_write_timestamp: timestamp + id: String +} + +""" +columns and relationships of "GrantShipsVoting" +""" +type GrantShipsVoting { + """An array relationship""" + choices( + """distinct select on columns""" + distinct_on: [ShipChoice_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipChoice_order_by!] + """filter the rows returned""" + where: ShipChoice_bool_exp + ): [ShipChoice!]! + """An object relationship""" + contest: Contest + contest_id: String! + db_write_timestamp: timestamp + endTime: numeric + hatId: numeric! + hatsAddress: String! + id: String! + isVotingActive: Boolean! + startTime: numeric + totalVotes: numeric! + voteDuration: numeric! + voteTokenAddress: String! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! + votingCheckpoint: numeric! +} + +""" +Boolean expression to filter rows from the table "GrantShipsVoting". All fields are combined with a logical 'AND'. +""" +input GrantShipsVoting_bool_exp { + _and: [GrantShipsVoting_bool_exp!] + _not: GrantShipsVoting_bool_exp + _or: [GrantShipsVoting_bool_exp!] + choices: ShipChoice_bool_exp + contest: Contest_bool_exp + contest_id: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + endTime: numeric_comparison_exp + hatId: numeric_comparison_exp + hatsAddress: String_comparison_exp + id: String_comparison_exp + isVotingActive: Boolean_comparison_exp + startTime: numeric_comparison_exp + totalVotes: numeric_comparison_exp + voteDuration: numeric_comparison_exp + voteTokenAddress: String_comparison_exp + votes: ShipVote_bool_exp + votingCheckpoint: numeric_comparison_exp +} + +"""Ordering options when selecting data from "GrantShipsVoting".""" +input GrantShipsVoting_order_by { + choices_aggregate: ShipChoice_aggregate_order_by + contest: Contest_order_by + contest_id: order_by + db_write_timestamp: order_by + endTime: order_by + hatId: order_by + hatsAddress: order_by + id: order_by + isVotingActive: order_by + startTime: order_by + totalVotes: order_by + voteDuration: order_by + voteTokenAddress: order_by + votes_aggregate: ShipVote_aggregate_order_by + votingCheckpoint: order_by +} + +""" +select columns of table "GrantShipsVoting" +""" +enum GrantShipsVoting_select_column { + """column name""" + contest_id + """column name""" + db_write_timestamp + """column name""" + endTime + """column name""" + hatId + """column name""" + hatsAddress + """column name""" + id + """column name""" + isVotingActive + """column name""" + startTime + """column name""" + totalVotes + """column name""" + voteDuration + """column name""" + voteTokenAddress + """column name""" + votingCheckpoint +} + +""" +Streaming cursor of the table "GrantShipsVoting" +""" +input GrantShipsVoting_stream_cursor_input { + """Stream column input with initial value""" + initial_value: GrantShipsVoting_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input GrantShipsVoting_stream_cursor_value_input { + contest_id: String + db_write_timestamp: timestamp + endTime: numeric + hatId: numeric + hatsAddress: String + id: String + isVotingActive: Boolean + startTime: numeric + totalVotes: numeric + voteDuration: numeric + voteTokenAddress: String + votingCheckpoint: numeric +} + +""" +columns and relationships of "HALParams" +""" +type HALParams { + db_write_timestamp: timestamp + hatId: numeric! + hatsAddress: String! + id: String! +} + +""" +Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. +""" +input HALParams_bool_exp { + _and: [HALParams_bool_exp!] + _not: HALParams_bool_exp + _or: [HALParams_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + hatId: numeric_comparison_exp + hatsAddress: String_comparison_exp + id: String_comparison_exp +} + +"""Ordering options when selecting data from "HALParams".""" +input HALParams_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsAddress: order_by + id: order_by +} + +""" +select columns of table "HALParams" +""" +enum HALParams_select_column { + """column name""" + db_write_timestamp + """column name""" + hatId + """column name""" + hatsAddress + """column name""" + id +} + +""" +Streaming cursor of the table "HALParams" +""" +input HALParams_stream_cursor_input { + """Stream column input with initial value""" + initial_value: HALParams_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input HALParams_stream_cursor_value_input { + db_write_timestamp: timestamp + hatId: numeric + hatsAddress: String + id: String +} + +""" +columns and relationships of "HatsPoster" +""" +type HatsPoster { + db_write_timestamp: timestamp + """An array relationship""" + eventPosts( + """distinct select on columns""" + distinct_on: [EventPost_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [EventPost_order_by!] + """filter the rows returned""" + where: EventPost_bool_exp + ): [EventPost!]! + hatIds: [numeric!]! + hatsAddress: String! + id: String! + """An array relationship""" + record( + """distinct select on columns""" + distinct_on: [Record_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [Record_order_by!] + """filter the rows returned""" + where: Record_bool_exp + ): [Record!]! +} + +""" +Boolean expression to filter rows from the table "HatsPoster". All fields are combined with a logical 'AND'. +""" +input HatsPoster_bool_exp { + _and: [HatsPoster_bool_exp!] + _not: HatsPoster_bool_exp + _or: [HatsPoster_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + eventPosts: EventPost_bool_exp + hatIds: numeric_array_comparison_exp + hatsAddress: String_comparison_exp + id: String_comparison_exp + record: Record_bool_exp +} + +"""Ordering options when selecting data from "HatsPoster".""" +input HatsPoster_order_by { + db_write_timestamp: order_by + eventPosts_aggregate: EventPost_aggregate_order_by + hatIds: order_by + hatsAddress: order_by + id: order_by + record_aggregate: Record_aggregate_order_by +} + +""" +select columns of table "HatsPoster" +""" +enum HatsPoster_select_column { + """column name""" + db_write_timestamp + """column name""" + hatIds + """column name""" + hatsAddress + """column name""" + id +} + +""" +Streaming cursor of the table "HatsPoster" +""" +input HatsPoster_stream_cursor_input { + """Stream column input with initial value""" + initial_value: HatsPoster_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input HatsPoster_stream_cursor_value_input { + db_write_timestamp: timestamp + hatIds: [numeric!] + hatsAddress: String + id: String +} + +""" +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. +""" +input Int_comparison_exp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _is_null: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] +} + +""" +columns and relationships of "LocalLog" +""" +type LocalLog { + db_write_timestamp: timestamp + id: String! + message: String +} + +""" +Boolean expression to filter rows from the table "LocalLog". All fields are combined with a logical 'AND'. +""" +input LocalLog_bool_exp { + _and: [LocalLog_bool_exp!] + _not: LocalLog_bool_exp + _or: [LocalLog_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + message: String_comparison_exp +} + +"""Ordering options when selecting data from "LocalLog".""" +input LocalLog_order_by { + db_write_timestamp: order_by + id: order_by + message: order_by +} + +""" +select columns of table "LocalLog" +""" +enum LocalLog_select_column { + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + message +} + +""" +Streaming cursor of the table "LocalLog" +""" +input LocalLog_stream_cursor_input { + """Stream column input with initial value""" + initial_value: LocalLog_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input LocalLog_stream_cursor_value_input { + db_write_timestamp: timestamp + id: String + message: String +} + +""" +columns and relationships of "ModuleTemplate" +""" +type ModuleTemplate { + active: Boolean! + db_write_timestamp: timestamp + id: String! + mdPointer: String! + mdProtocol: numeric! + moduleName: String! + templateAddress: String! +} + +""" +Boolean expression to filter rows from the table "ModuleTemplate". All fields are combined with a logical 'AND'. +""" +input ModuleTemplate_bool_exp { + _and: [ModuleTemplate_bool_exp!] + _not: ModuleTemplate_bool_exp + _or: [ModuleTemplate_bool_exp!] + active: Boolean_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + moduleName: String_comparison_exp + templateAddress: String_comparison_exp +} + +"""Ordering options when selecting data from "ModuleTemplate".""" +input ModuleTemplate_order_by { + active: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + moduleName: order_by + templateAddress: order_by +} + +""" +select columns of table "ModuleTemplate" +""" +enum ModuleTemplate_select_column { + """column name""" + active + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + moduleName + """column name""" + templateAddress +} + +""" +Streaming cursor of the table "ModuleTemplate" +""" +input ModuleTemplate_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ModuleTemplate_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ModuleTemplate_stream_cursor_value_input { + active: Boolean + db_write_timestamp: timestamp + id: String + mdPointer: String + mdProtocol: numeric + moduleName: String + templateAddress: String +} + +""" +columns and relationships of "Record" +""" +type Record { + db_write_timestamp: timestamp + hatId: numeric! + """An object relationship""" + hatsPoster: HatsPoster + hatsPoster_id: String! + id: String! + mdPointer: String! + mdProtocol: numeric! + nonce: String! + tag: String! +} + +""" +order by aggregate values of table "Record" +""" +input Record_aggregate_order_by { + avg: Record_avg_order_by + count: order_by + max: Record_max_order_by + min: Record_min_order_by + stddev: Record_stddev_order_by + stddev_pop: Record_stddev_pop_order_by + stddev_samp: Record_stddev_samp_order_by + sum: Record_sum_order_by + var_pop: Record_var_pop_order_by + var_samp: Record_var_samp_order_by + variance: Record_variance_order_by +} + +""" +order by avg() on columns of table "Record" +""" +input Record_avg_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +Boolean expression to filter rows from the table "Record". All fields are combined with a logical 'AND'. +""" +input Record_bool_exp { + _and: [Record_bool_exp!] + _not: Record_bool_exp + _or: [Record_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + hatId: numeric_comparison_exp + hatsPoster: HatsPoster_bool_exp + hatsPoster_id: String_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + nonce: String_comparison_exp + tag: String_comparison_exp +} + +""" +order by max() on columns of table "Record" +""" +input Record_max_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + nonce: order_by + tag: order_by +} + +""" +order by min() on columns of table "Record" +""" +input Record_min_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + nonce: order_by + tag: order_by +} + +"""Ordering options when selecting data from "Record".""" +input Record_order_by { + db_write_timestamp: order_by + hatId: order_by + hatsPoster: HatsPoster_order_by + hatsPoster_id: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + nonce: order_by + tag: order_by +} + +""" +select columns of table "Record" +""" +enum Record_select_column { + """column name""" + db_write_timestamp + """column name""" + hatId + """column name""" + hatsPoster_id + """column name""" + id + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + nonce + """column name""" + tag +} + +""" +order by stddev() on columns of table "Record" +""" +input Record_stddev_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by stddev_pop() on columns of table "Record" +""" +input Record_stddev_pop_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by stddev_samp() on columns of table "Record" +""" +input Record_stddev_samp_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +Streaming cursor of the table "Record" +""" +input Record_stream_cursor_input { + """Stream column input with initial value""" + initial_value: Record_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input Record_stream_cursor_value_input { + db_write_timestamp: timestamp + hatId: numeric + hatsPoster_id: String + id: String + mdPointer: String + mdProtocol: numeric + nonce: String + tag: String +} + +""" +order by sum() on columns of table "Record" +""" +input Record_sum_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_pop() on columns of table "Record" +""" +input Record_var_pop_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by var_samp() on columns of table "Record" +""" +input Record_var_samp_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +order by variance() on columns of table "Record" +""" +input Record_variance_order_by { + hatId: order_by + mdProtocol: order_by +} + +""" +columns and relationships of "ShipChoice" +""" +type ShipChoice { + active: Boolean! + choiceData: String! + """An object relationship""" + contest: GrantShipsVoting + contest_id: String! + db_write_timestamp: timestamp + id: String! + mdPointer: String! + mdProtocol: numeric! + voteTally: numeric! + """An array relationship""" + votes( + """distinct select on columns""" + distinct_on: [ShipVote_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [ShipVote_order_by!] + """filter the rows returned""" + where: ShipVote_bool_exp + ): [ShipVote!]! +} + +""" +order by aggregate values of table "ShipChoice" +""" +input ShipChoice_aggregate_order_by { + avg: ShipChoice_avg_order_by + count: order_by + max: ShipChoice_max_order_by + min: ShipChoice_min_order_by + stddev: ShipChoice_stddev_order_by + stddev_pop: ShipChoice_stddev_pop_order_by + stddev_samp: ShipChoice_stddev_samp_order_by + sum: ShipChoice_sum_order_by + var_pop: ShipChoice_var_pop_order_by + var_samp: ShipChoice_var_samp_order_by + variance: ShipChoice_variance_order_by +} + +""" +order by avg() on columns of table "ShipChoice" +""" +input ShipChoice_avg_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +Boolean expression to filter rows from the table "ShipChoice". All fields are combined with a logical 'AND'. +""" +input ShipChoice_bool_exp { + _and: [ShipChoice_bool_exp!] + _not: ShipChoice_bool_exp + _or: [ShipChoice_bool_exp!] + active: Boolean_comparison_exp + choiceData: String_comparison_exp + contest: GrantShipsVoting_bool_exp + contest_id: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + voteTally: numeric_comparison_exp + votes: ShipVote_bool_exp +} + +""" +order by max() on columns of table "ShipChoice" +""" +input ShipChoice_max_order_by { + choiceData: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by +} + +""" +order by min() on columns of table "ShipChoice" +""" +input ShipChoice_min_order_by { + choiceData: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by +} + +"""Ordering options when selecting data from "ShipChoice".""" +input ShipChoice_order_by { + active: order_by + choiceData: order_by + contest: GrantShipsVoting_order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voteTally: order_by + votes_aggregate: ShipVote_aggregate_order_by +} + +""" +select columns of table "ShipChoice" +""" +enum ShipChoice_select_column { + """column name""" + active + """column name""" + choiceData + """column name""" + contest_id + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + voteTally +} + +""" +order by stddev() on columns of table "ShipChoice" +""" +input ShipChoice_stddev_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by stddev_pop() on columns of table "ShipChoice" +""" +input ShipChoice_stddev_pop_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by stddev_samp() on columns of table "ShipChoice" +""" +input ShipChoice_stddev_samp_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +Streaming cursor of the table "ShipChoice" +""" +input ShipChoice_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ShipChoice_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ShipChoice_stream_cursor_value_input { + active: Boolean + choiceData: String + contest_id: String + db_write_timestamp: timestamp + id: String + mdPointer: String + mdProtocol: numeric + voteTally: numeric +} + +""" +order by sum() on columns of table "ShipChoice" +""" +input ShipChoice_sum_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by var_pop() on columns of table "ShipChoice" +""" +input ShipChoice_var_pop_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by var_samp() on columns of table "ShipChoice" +""" +input ShipChoice_var_samp_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +order by variance() on columns of table "ShipChoice" +""" +input ShipChoice_variance_order_by { + mdProtocol: order_by + voteTally: order_by +} + +""" +columns and relationships of "ShipVote" +""" +type ShipVote { + amount: numeric! + """An object relationship""" + choice: ShipChoice + choice_id: String! + """An object relationship""" + contest: GrantShipsVoting + contest_id: String! + db_write_timestamp: timestamp + id: String! + isRetractVote: Boolean! + mdPointer: String! + mdProtocol: numeric! + """An object relationship""" + voter: GSVoter + voter_id: String! +} + +""" +order by aggregate values of table "ShipVote" +""" +input ShipVote_aggregate_order_by { + avg: ShipVote_avg_order_by + count: order_by + max: ShipVote_max_order_by + min: ShipVote_min_order_by + stddev: ShipVote_stddev_order_by + stddev_pop: ShipVote_stddev_pop_order_by + stddev_samp: ShipVote_stddev_samp_order_by + sum: ShipVote_sum_order_by + var_pop: ShipVote_var_pop_order_by + var_samp: ShipVote_var_samp_order_by + variance: ShipVote_variance_order_by +} + +""" +order by avg() on columns of table "ShipVote" +""" +input ShipVote_avg_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +Boolean expression to filter rows from the table "ShipVote". All fields are combined with a logical 'AND'. +""" +input ShipVote_bool_exp { + _and: [ShipVote_bool_exp!] + _not: ShipVote_bool_exp + _or: [ShipVote_bool_exp!] + amount: numeric_comparison_exp + choice: ShipChoice_bool_exp + choice_id: String_comparison_exp + contest: GrantShipsVoting_bool_exp + contest_id: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + isRetractVote: Boolean_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + voter: GSVoter_bool_exp + voter_id: String_comparison_exp +} + +""" +order by max() on columns of table "ShipVote" +""" +input ShipVote_max_order_by { + amount: order_by + choice_id: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voter_id: order_by +} + +""" +order by min() on columns of table "ShipVote" +""" +input ShipVote_min_order_by { + amount: order_by + choice_id: order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + mdPointer: order_by + mdProtocol: order_by + voter_id: order_by +} + +"""Ordering options when selecting data from "ShipVote".""" +input ShipVote_order_by { + amount: order_by + choice: ShipChoice_order_by + choice_id: order_by + contest: GrantShipsVoting_order_by + contest_id: order_by + db_write_timestamp: order_by + id: order_by + isRetractVote: order_by + mdPointer: order_by + mdProtocol: order_by + voter: GSVoter_order_by + voter_id: order_by +} + +""" +select columns of table "ShipVote" +""" +enum ShipVote_select_column { + """column name""" + amount + """column name""" + choice_id + """column name""" + contest_id + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + isRetractVote + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + voter_id +} + +""" +order by stddev() on columns of table "ShipVote" +""" +input ShipVote_stddev_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +order by stddev_pop() on columns of table "ShipVote" +""" +input ShipVote_stddev_pop_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +order by stddev_samp() on columns of table "ShipVote" +""" +input ShipVote_stddev_samp_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +Streaming cursor of the table "ShipVote" +""" +input ShipVote_stream_cursor_input { + """Stream column input with initial value""" + initial_value: ShipVote_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input ShipVote_stream_cursor_value_input { + amount: numeric + choice_id: String + contest_id: String + db_write_timestamp: timestamp + id: String + isRetractVote: Boolean + mdPointer: String + mdProtocol: numeric + voter_id: String +} + +""" +order by sum() on columns of table "ShipVote" +""" +input ShipVote_sum_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +order by var_pop() on columns of table "ShipVote" +""" +input ShipVote_var_pop_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +order by var_samp() on columns of table "ShipVote" +""" +input ShipVote_var_samp_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +order by variance() on columns of table "ShipVote" +""" +input ShipVote_variance_order_by { + amount: order_by + mdProtocol: order_by +} + +""" +columns and relationships of "StemModule" +""" +type StemModule { + """An object relationship""" + contest: Contest + contestAddress: String + contest_id: String + db_write_timestamp: timestamp + filterTag: String! + id: String! + moduleAddress: String! + moduleName: String! + """An object relationship""" + moduleTemplate: ModuleTemplate + moduleTemplate_id: String! +} + +""" +Boolean expression to filter rows from the table "StemModule". All fields are combined with a logical 'AND'. +""" +input StemModule_bool_exp { + _and: [StemModule_bool_exp!] + _not: StemModule_bool_exp + _or: [StemModule_bool_exp!] + contest: Contest_bool_exp + contestAddress: String_comparison_exp + contest_id: String_comparison_exp + db_write_timestamp: timestamp_comparison_exp + filterTag: String_comparison_exp + id: String_comparison_exp + moduleAddress: String_comparison_exp + moduleName: String_comparison_exp + moduleTemplate: ModuleTemplate_bool_exp + moduleTemplate_id: String_comparison_exp +} + +"""Ordering options when selecting data from "StemModule".""" +input StemModule_order_by { + contest: Contest_order_by + contestAddress: order_by + contest_id: order_by + db_write_timestamp: order_by + filterTag: order_by + id: order_by + moduleAddress: order_by + moduleName: order_by + moduleTemplate: ModuleTemplate_order_by + moduleTemplate_id: order_by +} + +""" +select columns of table "StemModule" +""" +enum StemModule_select_column { + """column name""" + contestAddress + """column name""" + contest_id + """column name""" + db_write_timestamp + """column name""" + filterTag + """column name""" + id + """column name""" + moduleAddress + """column name""" + moduleName + """column name""" + moduleTemplate_id +} + +""" +Streaming cursor of the table "StemModule" +""" +input StemModule_stream_cursor_input { + """Stream column input with initial value""" + initial_value: StemModule_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input StemModule_stream_cursor_value_input { + contestAddress: String + contest_id: String + db_write_timestamp: timestamp + filterTag: String + id: String + moduleAddress: String + moduleName: String + moduleTemplate_id: String +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [String!] + """does the array contain the given value""" + _contains: [String!] + _eq: [String!] + _gt: [String!] + _gte: [String!] + _in: [[String!]!] + _is_null: Boolean + _lt: [String!] + _lte: [String!] + _neq: [String!] + _nin: [[String!]!] +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + """does the column match the given case-insensitive pattern""" + _ilike: String + _in: [String!] + """ + does the column match the given POSIX regular expression, case insensitive + """ + _iregex: String + _is_null: Boolean + """does the column match the given pattern""" + _like: String + _lt: String + _lte: String + _neq: String + """does the column NOT match the given case-insensitive pattern""" + _nilike: String + _nin: [String!] + """ + does the column NOT match the given POSIX regular expression, case insensitive + """ + _niregex: String + """does the column NOT match the given pattern""" + _nlike: String + """ + does the column NOT match the given POSIX regular expression, case sensitive + """ + _nregex: String + """does the column NOT match the given SQL regular expression""" + _nsimilar: String + """ + does the column match the given POSIX regular expression, case sensitive + """ + _regex: String + """does the column match the given SQL regular expression""" + _similar: String +} + +""" +columns and relationships of "TVParams" +""" +type TVParams { + db_write_timestamp: timestamp + id: String! + voteDuration: numeric! +} + +""" +Boolean expression to filter rows from the table "TVParams". All fields are combined with a logical 'AND'. +""" +input TVParams_bool_exp { + _and: [TVParams_bool_exp!] + _not: TVParams_bool_exp + _or: [TVParams_bool_exp!] + db_write_timestamp: timestamp_comparison_exp + id: String_comparison_exp + voteDuration: numeric_comparison_exp +} + +"""Ordering options when selecting data from "TVParams".""" +input TVParams_order_by { + db_write_timestamp: order_by + id: order_by + voteDuration: order_by +} + +""" +select columns of table "TVParams" +""" +enum TVParams_select_column { + """column name""" + db_write_timestamp + """column name""" + id + """column name""" + voteDuration +} + +""" +Streaming cursor of the table "TVParams" +""" +input TVParams_stream_cursor_input { + """Stream column input with initial value""" + initial_value: TVParams_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input TVParams_stream_cursor_value_input { + db_write_timestamp: timestamp + id: String + voteDuration: numeric +} + +""" +columns and relationships of "chain_metadata" +""" +type chain_metadata { + block_height: Int! + chain_id: Int! + end_block: Int + first_event_block_number: Int + is_hyper_sync: Boolean! + latest_fetched_block_number: Int! + latest_processed_block: Int + num_batches_fetched: Int! + num_events_processed: Int + start_block: Int! + timestamp_caught_up_to_head_or_endblock: timestamptz +} + +""" +Boolean expression to filter rows from the table "chain_metadata". All fields are combined with a logical 'AND'. +""" +input chain_metadata_bool_exp { + _and: [chain_metadata_bool_exp!] + _not: chain_metadata_bool_exp + _or: [chain_metadata_bool_exp!] + block_height: Int_comparison_exp + chain_id: Int_comparison_exp + end_block: Int_comparison_exp + first_event_block_number: Int_comparison_exp + is_hyper_sync: Boolean_comparison_exp + latest_fetched_block_number: Int_comparison_exp + latest_processed_block: Int_comparison_exp + num_batches_fetched: Int_comparison_exp + num_events_processed: Int_comparison_exp + start_block: Int_comparison_exp + timestamp_caught_up_to_head_or_endblock: timestamptz_comparison_exp +} + +"""Ordering options when selecting data from "chain_metadata".""" +input chain_metadata_order_by { + block_height: order_by + chain_id: order_by + end_block: order_by + first_event_block_number: order_by + is_hyper_sync: order_by + latest_fetched_block_number: order_by + latest_processed_block: order_by + num_batches_fetched: order_by + num_events_processed: order_by + start_block: order_by + timestamp_caught_up_to_head_or_endblock: order_by +} + +""" +select columns of table "chain_metadata" +""" +enum chain_metadata_select_column { + """column name""" + block_height + """column name""" + chain_id + """column name""" + end_block + """column name""" + first_event_block_number + """column name""" + is_hyper_sync + """column name""" + latest_fetched_block_number + """column name""" + latest_processed_block + """column name""" + num_batches_fetched + """column name""" + num_events_processed + """column name""" + start_block + """column name""" + timestamp_caught_up_to_head_or_endblock +} + +""" +Streaming cursor of the table "chain_metadata" +""" +input chain_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: chain_metadata_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input chain_metadata_stream_cursor_value_input { + block_height: Int + chain_id: Int + end_block: Int + first_event_block_number: Int + is_hyper_sync: Boolean + latest_fetched_block_number: Int + latest_processed_block: Int + num_batches_fetched: Int + num_events_processed: Int + start_block: Int + timestamp_caught_up_to_head_or_endblock: timestamptz +} + +scalar contract_type + +""" +Boolean expression to compare columns of type "contract_type". All fields are combined with logical 'AND'. +""" +input contract_type_comparison_exp { + _eq: contract_type + _gt: contract_type + _gte: contract_type + _in: [contract_type!] + _is_null: Boolean + _lt: contract_type + _lte: contract_type + _neq: contract_type + _nin: [contract_type!] +} + +"""ordering argument of a cursor""" +enum cursor_ordering { + """ascending ordering of the cursor""" + ASC + """descending ordering of the cursor""" + DESC +} + +""" +columns and relationships of "dynamic_contract_registry" +""" +type dynamic_contract_registry { + block_timestamp: Int! + chain_id: Int! + contract_address: String! + contract_type: contract_type! + event_id: numeric! +} + +""" +Boolean expression to filter rows from the table "dynamic_contract_registry". All fields are combined with a logical 'AND'. +""" +input dynamic_contract_registry_bool_exp { + _and: [dynamic_contract_registry_bool_exp!] + _not: dynamic_contract_registry_bool_exp + _or: [dynamic_contract_registry_bool_exp!] + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + contract_address: String_comparison_exp + contract_type: contract_type_comparison_exp + event_id: numeric_comparison_exp +} + +"""Ordering options when selecting data from "dynamic_contract_registry".""" +input dynamic_contract_registry_order_by { + block_timestamp: order_by + chain_id: order_by + contract_address: order_by + contract_type: order_by + event_id: order_by +} + +""" +select columns of table "dynamic_contract_registry" +""" +enum dynamic_contract_registry_select_column { + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + contract_address + """column name""" + contract_type + """column name""" + event_id +} + +""" +Streaming cursor of the table "dynamic_contract_registry" +""" +input dynamic_contract_registry_stream_cursor_input { + """Stream column input with initial value""" + initial_value: dynamic_contract_registry_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input dynamic_contract_registry_stream_cursor_value_input { + block_timestamp: Int + chain_id: Int + contract_address: String + contract_type: contract_type + event_id: numeric +} + +""" +columns and relationships of "entity_history" +""" +type entity_history { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + entity_id: String! + entity_type: entity_type! + """An object relationship""" + event: raw_events + log_index: Int! + params( + """JSON select path""" + path: String + ): json + previous_block_number: Int + previous_block_timestamp: Int + previous_chain_id: Int + previous_log_index: Int } -enum GrantShip_orderBy { - id - profileId - nonce - name - profileMetadata - profileMetadata__id - profileMetadata__protocol - profileMetadata__pointer - owner - anchor - blockNumber - blockTimestamp - transactionHash - status - poolFunded - balance - shipAllocation - totalAvailableFunds - totalRoundAmount - totalAllocated - totalDistributed - grants - alloProfileMembers - alloProfileMembers__id - shipApplicationBytesData - applicationSubmittedTime - isAwaitingApproval - hasSubmittedApplication - isApproved - approvedTime - isRejected - rejectedTime - applicationReviewReason - applicationReviewReason__id - applicationReviewReason__protocol - applicationReviewReason__pointer - poolId - hatId - shipContractAddress - shipLaunched - poolActive - isAllocated - isDistributed +""" +order by aggregate values of table "entity_history" +""" +input entity_history_aggregate_order_by { + avg: entity_history_avg_order_by + count: order_by + max: entity_history_max_order_by + min: entity_history_min_order_by + stddev: entity_history_stddev_order_by + stddev_pop: entity_history_stddev_pop_order_by + stddev_samp: entity_history_stddev_samp_order_by + sum: entity_history_sum_order_by + var_pop: entity_history_var_pop_order_by + var_samp: entity_history_var_samp_order_by + variance: entity_history_variance_order_by +} + +""" +order by avg() on columns of table "entity_history" +""" +input entity_history_avg_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by +} + +""" +Boolean expression to filter rows from the table "entity_history". All fields are combined with a logical 'AND'. +""" +input entity_history_bool_exp { + _and: [entity_history_bool_exp!] + _not: entity_history_bool_exp + _or: [entity_history_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + entity_id: String_comparison_exp + entity_type: entity_type_comparison_exp + event: raw_events_bool_exp + log_index: Int_comparison_exp + params: json_comparison_exp + previous_block_number: Int_comparison_exp + previous_block_timestamp: Int_comparison_exp + previous_chain_id: Int_comparison_exp + previous_log_index: Int_comparison_exp +} + +""" +columns and relationships of "entity_history_filter" +""" +type entity_history_filter { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + entity_id: String! + entity_type: entity_type! + """An object relationship""" + event: raw_events + log_index: Int! + new_val( + """JSON select path""" + path: String + ): json + old_val( + """JSON select path""" + path: String + ): json + previous_block_number: Int! + previous_log_index: Int! +} + +""" +Boolean expression to filter rows from the table "entity_history_filter". All fields are combined with a logical 'AND'. +""" +input entity_history_filter_bool_exp { + _and: [entity_history_filter_bool_exp!] + _not: entity_history_filter_bool_exp + _or: [entity_history_filter_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + entity_id: String_comparison_exp + entity_type: entity_type_comparison_exp + event: raw_events_bool_exp + log_index: Int_comparison_exp + new_val: json_comparison_exp + old_val: json_comparison_exp + previous_block_number: Int_comparison_exp + previous_log_index: Int_comparison_exp +} + +"""Ordering options when selecting data from "entity_history_filter".""" +input entity_history_filter_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + event: raw_events_order_by + log_index: order_by + new_val: order_by + old_val: order_by + previous_block_number: order_by + previous_log_index: order_by +} + +""" +select columns of table "entity_history_filter" +""" +enum entity_history_filter_select_column { + """column name""" + block_number + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + entity_id + """column name""" + entity_type + """column name""" + log_index + """column name""" + new_val + """column name""" + old_val + """column name""" + previous_block_number + """column name""" + previous_log_index +} + +""" +Streaming cursor of the table "entity_history_filter" +""" +input entity_history_filter_stream_cursor_input { + """Stream column input with initial value""" + initial_value: entity_history_filter_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input entity_history_filter_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + entity_id: String + entity_type: entity_type + log_index: Int + new_val: json + old_val: json + previous_block_number: Int + previous_log_index: Int +} + +""" +order by max() on columns of table "entity_history" +""" +input entity_history_max_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by +} + +""" +order by min() on columns of table "entity_history" +""" +input entity_history_min_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -input Grant_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - projectId: String - projectId_not: String - projectId_gt: String - projectId_lt: String - projectId_gte: String - projectId_lte: String - projectId_in: [String!] - projectId_not_in: [String!] - projectId_contains: String - projectId_contains_nocase: String - projectId_not_contains: String - projectId_not_contains_nocase: String - projectId_starts_with: String - projectId_starts_with_nocase: String - projectId_not_starts_with: String - projectId_not_starts_with_nocase: String - projectId_ends_with: String - projectId_ends_with_nocase: String - projectId_not_ends_with: String - projectId_not_ends_with_nocase: String - projectId_: Project_filter - shipId: String - shipId_not: String - shipId_gt: String - shipId_lt: String - shipId_gte: String - shipId_lte: String - shipId_in: [String!] - shipId_not_in: [String!] - shipId_contains: String - shipId_contains_nocase: String - shipId_not_contains: String - shipId_not_contains_nocase: String - shipId_starts_with: String - shipId_starts_with_nocase: String - shipId_not_starts_with: String - shipId_not_starts_with_nocase: String - shipId_ends_with: String - shipId_ends_with_nocase: String - shipId_not_ends_with: String - shipId_not_ends_with_nocase: String - shipId_: GrantShip_filter - lastUpdated: BigInt - lastUpdated_not: BigInt - lastUpdated_gt: BigInt - lastUpdated_lt: BigInt - lastUpdated_gte: BigInt - lastUpdated_lte: BigInt - lastUpdated_in: [BigInt!] - lastUpdated_not_in: [BigInt!] - hasResubmitted: Boolean - hasResubmitted_not: Boolean - hasResubmitted_in: [Boolean!] - hasResubmitted_not_in: [Boolean!] - grantStatus: Int - grantStatus_not: Int - grantStatus_gt: Int - grantStatus_lt: Int - grantStatus_gte: Int - grantStatus_lte: Int - grantStatus_in: [Int!] - grantStatus_not_in: [Int!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] - currentMilestoneIndex: BigInt - currentMilestoneIndex_not: BigInt - currentMilestoneIndex_gt: BigInt - currentMilestoneIndex_lt: BigInt - currentMilestoneIndex_gte: BigInt - currentMilestoneIndex_lte: BigInt - currentMilestoneIndex_in: [BigInt!] - currentMilestoneIndex_not_in: [BigInt!] - milestonesAmount: BigInt - milestonesAmount_not: BigInt - milestonesAmount_gt: BigInt - milestonesAmount_lt: BigInt - milestonesAmount_gte: BigInt - milestonesAmount_lte: BigInt - milestonesAmount_in: [BigInt!] - milestonesAmount_not_in: [BigInt!] - milestones: [String!] - milestones_not: [String!] - milestones_contains: [String!] - milestones_contains_nocase: [String!] - milestones_not_contains: [String!] - milestones_not_contains_nocase: [String!] - milestones_: Milestone_filter - shipApprovalReason: String - shipApprovalReason_not: String - shipApprovalReason_gt: String - shipApprovalReason_lt: String - shipApprovalReason_gte: String - shipApprovalReason_lte: String - shipApprovalReason_in: [String!] - shipApprovalReason_not_in: [String!] - shipApprovalReason_contains: String - shipApprovalReason_contains_nocase: String - shipApprovalReason_not_contains: String - shipApprovalReason_not_contains_nocase: String - shipApprovalReason_starts_with: String - shipApprovalReason_starts_with_nocase: String - shipApprovalReason_not_starts_with: String - shipApprovalReason_not_starts_with_nocase: String - shipApprovalReason_ends_with: String - shipApprovalReason_ends_with_nocase: String - shipApprovalReason_not_ends_with: String - shipApprovalReason_not_ends_with_nocase: String - shipApprovalReason_: RawMetadata_filter - hasShipApproved: Boolean - hasShipApproved_not: Boolean - hasShipApproved_in: [Boolean!] - hasShipApproved_not_in: [Boolean!] - amtAllocated: BigInt - amtAllocated_not: BigInt - amtAllocated_gt: BigInt - amtAllocated_lt: BigInt - amtAllocated_gte: BigInt - amtAllocated_lte: BigInt - amtAllocated_in: [BigInt!] - amtAllocated_not_in: [BigInt!] - amtDistributed: BigInt - amtDistributed_not: BigInt - amtDistributed_gt: BigInt - amtDistributed_lt: BigInt - amtDistributed_gte: BigInt - amtDistributed_lte: BigInt - amtDistributed_in: [BigInt!] - amtDistributed_not_in: [BigInt!] - allocatedBy: Bytes - allocatedBy_not: Bytes - allocatedBy_gt: Bytes - allocatedBy_lt: Bytes - allocatedBy_gte: Bytes - allocatedBy_lte: Bytes - allocatedBy_in: [Bytes!] - allocatedBy_not_in: [Bytes!] - allocatedBy_contains: Bytes - allocatedBy_not_contains: Bytes - facilitatorReason: String - facilitatorReason_not: String - facilitatorReason_gt: String - facilitatorReason_lt: String - facilitatorReason_gte: String - facilitatorReason_lte: String - facilitatorReason_in: [String!] - facilitatorReason_not_in: [String!] - facilitatorReason_contains: String - facilitatorReason_contains_nocase: String - facilitatorReason_not_contains: String - facilitatorReason_not_contains_nocase: String - facilitatorReason_starts_with: String - facilitatorReason_starts_with_nocase: String - facilitatorReason_not_starts_with: String - facilitatorReason_not_starts_with_nocase: String - facilitatorReason_ends_with: String - facilitatorReason_ends_with_nocase: String - facilitatorReason_not_ends_with: String - facilitatorReason_not_ends_with_nocase: String - facilitatorReason_: RawMetadata_filter - hasFacilitatorApproved: Boolean - hasFacilitatorApproved_not: Boolean - hasFacilitatorApproved_in: [Boolean!] - hasFacilitatorApproved_not_in: [Boolean!] - milestonesApproved: Boolean - milestonesApproved_not: Boolean - milestonesApproved_in: [Boolean!] - milestonesApproved_not_in: [Boolean!] - milestonesApprovedReason: String - milestonesApprovedReason_not: String - milestonesApprovedReason_gt: String - milestonesApprovedReason_lt: String - milestonesApprovedReason_gte: String - milestonesApprovedReason_lte: String - milestonesApprovedReason_in: [String!] - milestonesApprovedReason_not_in: [String!] - milestonesApprovedReason_contains: String - milestonesApprovedReason_contains_nocase: String - milestonesApprovedReason_not_contains: String - milestonesApprovedReason_not_contains_nocase: String - milestonesApprovedReason_starts_with: String - milestonesApprovedReason_starts_with_nocase: String - milestonesApprovedReason_not_starts_with: String - milestonesApprovedReason_not_starts_with_nocase: String - milestonesApprovedReason_ends_with: String - milestonesApprovedReason_ends_with_nocase: String - milestonesApprovedReason_not_ends_with: String - milestonesApprovedReason_not_ends_with_nocase: String - milestonesApprovedReason_: RawMetadata_filter - currentMilestoneRejectedReason: String - currentMilestoneRejectedReason_not: String - currentMilestoneRejectedReason_gt: String - currentMilestoneRejectedReason_lt: String - currentMilestoneRejectedReason_gte: String - currentMilestoneRejectedReason_lte: String - currentMilestoneRejectedReason_in: [String!] - currentMilestoneRejectedReason_not_in: [String!] - currentMilestoneRejectedReason_contains: String - currentMilestoneRejectedReason_contains_nocase: String - currentMilestoneRejectedReason_not_contains: String - currentMilestoneRejectedReason_not_contains_nocase: String - currentMilestoneRejectedReason_starts_with: String - currentMilestoneRejectedReason_starts_with_nocase: String - currentMilestoneRejectedReason_not_starts_with: String - currentMilestoneRejectedReason_not_starts_with_nocase: String - currentMilestoneRejectedReason_ends_with: String - currentMilestoneRejectedReason_ends_with_nocase: String - currentMilestoneRejectedReason_not_ends_with: String - currentMilestoneRejectedReason_not_ends_with_nocase: String - currentMilestoneRejectedReason_: RawMetadata_filter - resubmitHistory: [String!] - resubmitHistory_not: [String!] - resubmitHistory_contains: [String!] - resubmitHistory_contains_nocase: [String!] - resubmitHistory_not_contains: [String!] - resubmitHistory_not_contains_nocase: [String!] - resubmitHistory_: ApplicationHistory_filter - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Grant_filter] - or: [Grant_filter] +"""Ordering options when selecting data from "entity_history".""" +input entity_history_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + entity_id: order_by + entity_type: order_by + event: raw_events_order_by + log_index: order_by + params: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -enum Grant_orderBy { - id - projectId - projectId__id - projectId__profileId - projectId__status - projectId__nonce - projectId__name - projectId__owner - projectId__anchor - projectId__blockNumber - projectId__blockTimestamp - projectId__transactionHash - projectId__totalAmountReceived - shipId - shipId__id - shipId__profileId - shipId__nonce - shipId__name - shipId__owner - shipId__anchor - shipId__blockNumber - shipId__blockTimestamp - shipId__transactionHash - shipId__status - shipId__poolFunded - shipId__balance - shipId__shipAllocation - shipId__totalAvailableFunds - shipId__totalRoundAmount - shipId__totalAllocated - shipId__totalDistributed - shipId__shipApplicationBytesData - shipId__applicationSubmittedTime - shipId__isAwaitingApproval - shipId__hasSubmittedApplication - shipId__isApproved - shipId__approvedTime - shipId__isRejected - shipId__rejectedTime - shipId__poolId - shipId__hatId - shipId__shipContractAddress - shipId__shipLaunched - shipId__poolActive - shipId__isAllocated - shipId__isDistributed - lastUpdated - hasResubmitted - grantStatus - grantApplicationBytes - applicationSubmitted - currentMilestoneIndex - milestonesAmount - milestones - shipApprovalReason - shipApprovalReason__id - shipApprovalReason__protocol - shipApprovalReason__pointer - hasShipApproved - amtAllocated - amtDistributed - allocatedBy - facilitatorReason - facilitatorReason__id - facilitatorReason__protocol - facilitatorReason__pointer - hasFacilitatorApproved - milestonesApproved - milestonesApprovedReason - milestonesApprovedReason__id - milestonesApprovedReason__protocol - milestonesApprovedReason__pointer - currentMilestoneRejectedReason - currentMilestoneRejectedReason__id - currentMilestoneRejectedReason__protocol - currentMilestoneRejectedReason__pointer - resubmitHistory +""" +select columns of table "entity_history" +""" +enum entity_history_select_column { + """column name""" + block_number + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + entity_id + """column name""" + entity_type + """column name""" + log_index + """column name""" + params + """column name""" + previous_block_number + """column name""" + previous_block_timestamp + """column name""" + previous_chain_id + """column name""" + previous_log_index } """ -8 bytes signed integer +order by stddev() on columns of table "entity_history" +""" +input entity_history_stddev_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by +} """ -scalar Int8 +order by stddev_pop() on columns of table "entity_history" +""" +input entity_history_stddev_pop_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by +} -type Log { - id: ID! - message: String! - description: String - type: String +""" +order by stddev_samp() on columns of table "entity_history" +""" +input entity_history_stddev_samp_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -input Log_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - message: String - message_not: String - message_gt: String - message_lt: String - message_gte: String - message_lte: String - message_in: [String!] - message_not_in: [String!] - message_contains: String - message_contains_nocase: String - message_not_contains: String - message_not_contains_nocase: String - message_starts_with: String - message_starts_with_nocase: String - message_not_starts_with: String - message_not_starts_with_nocase: String - message_ends_with: String - message_ends_with_nocase: String - message_not_ends_with: String - message_not_ends_with_nocase: String - 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_contains: String - description_contains_nocase: String - description_not_contains: String - description_not_contains_nocase: 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 - type: String - type_not: String - type_gt: String - type_lt: String - type_gte: String - type_lte: String - type_in: [String!] - type_not_in: [String!] - type_contains: String - type_contains_nocase: String - type_not_contains: String - type_not_contains_nocase: String - type_starts_with: String - type_starts_with_nocase: String - type_not_starts_with: String - type_not_starts_with_nocase: String - type_ends_with: String - type_ends_with_nocase: String - type_not_ends_with: String - type_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Log_filter] - or: [Log_filter] +""" +Streaming cursor of the table "entity_history" +""" +input entity_history_stream_cursor_input { + """Stream column input with initial value""" + initial_value: entity_history_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input entity_history_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + entity_id: String + entity_type: entity_type + log_index: Int + params: json + previous_block_number: Int + previous_block_timestamp: Int + previous_chain_id: Int + previous_log_index: Int +} + +""" +order by sum() on columns of table "entity_history" +""" +input entity_history_sum_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -enum Log_orderBy { - id - message - description - type +""" +order by var_pop() on columns of table "entity_history" +""" +input entity_history_var_pop_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -type Milestone { - id: ID! - amountPercentage: Bytes! - mmetadata: BigInt! - amount: BigInt! - status: Int! - lastUpdated: BigInt! +""" +order by var_samp() on columns of table "entity_history" +""" +input entity_history_var_samp_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -input Milestone_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - amountPercentage: Bytes - amountPercentage_not: Bytes - amountPercentage_gt: Bytes - amountPercentage_lt: Bytes - amountPercentage_gte: Bytes - amountPercentage_lte: Bytes - amountPercentage_in: [Bytes!] - amountPercentage_not_in: [Bytes!] - amountPercentage_contains: Bytes - amountPercentage_not_contains: Bytes - mmetadata: BigInt - mmetadata_not: BigInt - mmetadata_gt: BigInt - mmetadata_lt: BigInt - mmetadata_gte: BigInt - mmetadata_lte: BigInt - mmetadata_in: [BigInt!] - mmetadata_not_in: [BigInt!] - amount: BigInt - amount_not: BigInt - amount_gt: BigInt - amount_lt: BigInt - amount_gte: BigInt - amount_lte: BigInt - amount_in: [BigInt!] - amount_not_in: [BigInt!] - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - lastUpdated: BigInt - lastUpdated_not: BigInt - lastUpdated_gt: BigInt - lastUpdated_lt: BigInt - lastUpdated_gte: BigInt - lastUpdated_lte: BigInt - lastUpdated_in: [BigInt!] - lastUpdated_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Milestone_filter] - or: [Milestone_filter] +""" +order by variance() on columns of table "entity_history" +""" +input entity_history_variance_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + previous_block_number: order_by + previous_block_timestamp: order_by + previous_chain_id: order_by + previous_log_index: order_by } -enum Milestone_orderBy { - id - amountPercentage - mmetadata - amount - status - lastUpdated +scalar entity_type + +""" +Boolean expression to compare columns of type "entity_type". All fields are combined with logical 'AND'. +""" +input entity_type_comparison_exp { + _eq: entity_type + _gt: entity_type + _gte: entity_type + _in: [entity_type!] + _is_null: Boolean + _lt: entity_type + _lte: entity_type + _neq: entity_type + _nin: [entity_type!] } -"""Defines the order direction, either ascending or descending""" -enum OrderDirection { - asc - desc +""" +columns and relationships of "event_sync_state" +""" +type event_sync_state { + block_number: Int! + block_timestamp: Int! + chain_id: Int! + log_index: Int! + transaction_index: Int! } -type PoolIdLookup { - id: ID! - entityId: Bytes! +""" +Boolean expression to filter rows from the table "event_sync_state". All fields are combined with a logical 'AND'. +""" +input event_sync_state_bool_exp { + _and: [event_sync_state_bool_exp!] + _not: event_sync_state_bool_exp + _or: [event_sync_state_bool_exp!] + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + log_index: Int_comparison_exp + transaction_index: Int_comparison_exp } -input PoolIdLookup_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - entityId: Bytes - entityId_not: Bytes - entityId_gt: Bytes - entityId_lt: Bytes - entityId_gte: Bytes - entityId_lte: Bytes - entityId_in: [Bytes!] - entityId_not_in: [Bytes!] - entityId_contains: Bytes - entityId_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [PoolIdLookup_filter] - or: [PoolIdLookup_filter] +"""Ordering options when selecting data from "event_sync_state".""" +input event_sync_state_order_by { + block_number: order_by + block_timestamp: order_by + chain_id: order_by + log_index: order_by + transaction_index: order_by } -enum PoolIdLookup_orderBy { - id - entityId +""" +select columns of table "event_sync_state" +""" +enum event_sync_state_select_column { + """column name""" + block_number + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + log_index + """column name""" + transaction_index } -type ProfileIdToAnchor { - id: ID! - profileId: Bytes! - anchor: Bytes! +""" +Streaming cursor of the table "event_sync_state" +""" +input event_sync_state_stream_cursor_input { + """Stream column input with initial value""" + initial_value: event_sync_state_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -input ProfileIdToAnchor_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ProfileIdToAnchor_filter] - or: [ProfileIdToAnchor_filter] +"""Initial value of the column from where the streaming should start""" +input event_sync_state_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + log_index: Int + transaction_index: Int } -enum ProfileIdToAnchor_orderBy { - id - profileId - anchor -} +scalar event_type -type ProfileMemberGroup { - id: Bytes! - addresses: [Bytes!] +""" +Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. +""" +input event_type_comparison_exp { + _eq: event_type + _gt: event_type + _gte: event_type + _in: [event_type!] + _is_null: Boolean + _lt: event_type + _lte: event_type + _neq: event_type + _nin: [event_type!] } -input ProfileMemberGroup_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 - addresses: [Bytes!] - addresses_not: [Bytes!] - addresses_contains: [Bytes!] - addresses_contains_nocase: [Bytes!] - addresses_not_contains: [Bytes!] - addresses_not_contains_nocase: [Bytes!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ProfileMemberGroup_filter] - or: [ProfileMemberGroup_filter] +input get_entity_history_filter_args { + end_block: Int + end_chain_id: Int + end_log_index: Int + end_timestamp: Int + start_block: Int + start_chain_id: Int + start_log_index: Int + start_timestamp: Int } -enum ProfileMemberGroup_orderBy { - id - addresses +scalar json + +""" +Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. +""" +input json_comparison_exp { + _eq: json + _gt: json + _gte: json + _in: [json!] + _is_null: Boolean + _lt: json + _lte: json + _neq: json + _nin: [json!] } -type Project { - id: Bytes! - profileId: Bytes! - status: Int! - nonce: BigInt! - name: String! - metadata: RawMetadata! - owner: Bytes! - anchor: Bytes! - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! - grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! - members: ProfileMemberGroup - totalAmountReceived: BigInt! +scalar numeric + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [numeric!] + """does the array contain the given value""" + _contains: [numeric!] + _eq: [numeric!] + _gt: [numeric!] + _gte: [numeric!] + _in: [[numeric!]!] + _is_null: Boolean + _lt: [numeric!] + _lte: [numeric!] + _neq: [numeric!] + _nin: [[numeric!]!] } -input Project_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 - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - nonce: BigInt - nonce_not: BigInt - nonce_gt: BigInt - nonce_lt: BigInt - nonce_gte: BigInt - nonce_lte: BigInt - nonce_in: [BigInt!] - nonce_not_in: [BigInt!] - 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_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: 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 - metadata: String - metadata_not: String - metadata_gt: String - metadata_lt: String - metadata_gte: String - metadata_lte: String - metadata_in: [String!] - metadata_not_in: [String!] - metadata_contains: String - metadata_contains_nocase: String - metadata_not_contains: String - metadata_not_contains_nocase: String - metadata_starts_with: String - metadata_starts_with_nocase: String - metadata_not_starts_with: String - metadata_not_starts_with_nocase: String - metadata_ends_with: String - metadata_ends_with_nocase: String - metadata_not_ends_with: String - metadata_not_ends_with_nocase: String - metadata_: RawMetadata_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 - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_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 - grants_: Grant_filter - members: String - members_not: String - members_gt: String - members_lt: String - members_gte: String - members_lte: String - members_in: [String!] - members_not_in: [String!] - members_contains: String - members_contains_nocase: String - members_not_contains: String - members_not_contains_nocase: String - members_starts_with: String - members_starts_with_nocase: String - members_not_starts_with: String - members_not_starts_with_nocase: String - members_ends_with: String - members_ends_with_nocase: String - members_not_ends_with: String - members_not_ends_with_nocase: String - members_: ProfileMemberGroup_filter - totalAmountReceived: BigInt - totalAmountReceived_not: BigInt - totalAmountReceived_gt: BigInt - totalAmountReceived_lt: BigInt - totalAmountReceived_gte: BigInt - totalAmountReceived_lte: BigInt - totalAmountReceived_in: [BigInt!] - totalAmountReceived_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Project_filter] - or: [Project_filter] +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_comparison_exp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _is_null: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] } -enum Project_orderBy { - id - profileId - status - nonce - name - metadata - metadata__id - metadata__protocol - metadata__pointer - owner - anchor - blockNumber - blockTimestamp - transactionHash - grants - members - members__id - totalAmountReceived +"""column ordering options""" +enum order_by { + """in ascending order, nulls last""" + asc + """in ascending order, nulls first""" + asc_nulls_first + """in ascending order, nulls last""" + asc_nulls_last + """in descending order, nulls first""" + desc + """in descending order, nulls first""" + desc_nulls_first + """in descending order, nulls last""" + desc_nulls_last } -type RawMetadata { - id: String! - protocol: BigInt! - pointer: String! +""" +columns and relationships of "persisted_state" +""" +type persisted_state { + abi_files_hash: String! + config_hash: String! + envio_version: String! + handler_files_hash: String! + id: Int! + schema_hash: String! } -input RawMetadata_filter { - id: String - id_not: String - id_gt: String - id_lt: String - id_gte: String - id_lte: String - id_in: [String!] - id_not_in: [String!] - id_contains: String - id_contains_nocase: String - id_not_contains: String - id_not_contains_nocase: String - id_starts_with: String - id_starts_with_nocase: String - id_not_starts_with: String - id_not_starts_with_nocase: String - id_ends_with: String - id_ends_with_nocase: String - id_not_ends_with: String - id_not_ends_with_nocase: String - protocol: BigInt - protocol_not: BigInt - protocol_gt: BigInt - protocol_lt: BigInt - protocol_gte: BigInt - protocol_lte: BigInt - protocol_in: [BigInt!] - protocol_not_in: [BigInt!] - pointer: String - pointer_not: String - pointer_gt: String - pointer_lt: String - pointer_gte: String - pointer_lte: String - pointer_in: [String!] - pointer_not_in: [String!] - pointer_contains: String - pointer_contains_nocase: String - pointer_not_contains: String - pointer_not_contains_nocase: String - pointer_starts_with: String - pointer_starts_with_nocase: String - pointer_not_starts_with: String - pointer_not_starts_with_nocase: String - pointer_ends_with: String - pointer_ends_with_nocase: String - pointer_not_ends_with: String - pointer_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [RawMetadata_filter] - or: [RawMetadata_filter] +""" +Boolean expression to filter rows from the table "persisted_state". All fields are combined with a logical 'AND'. +""" +input persisted_state_bool_exp { + _and: [persisted_state_bool_exp!] + _not: persisted_state_bool_exp + _or: [persisted_state_bool_exp!] + abi_files_hash: String_comparison_exp + config_hash: String_comparison_exp + envio_version: String_comparison_exp + handler_files_hash: String_comparison_exp + id: Int_comparison_exp + schema_hash: String_comparison_exp } -enum RawMetadata_orderBy { - id - protocol - pointer +"""Ordering options when selecting data from "persisted_state".""" +input persisted_state_order_by { + abi_files_hash: order_by + config_hash: order_by + envio_version: order_by + handler_files_hash: order_by + id: order_by + schema_hash: order_by } """ -A string representation of microseconds UNIX timestamp (16 digits) +select columns of table "persisted_state" +""" +enum persisted_state_select_column { + """column name""" + abi_files_hash + """column name""" + config_hash + """column name""" + envio_version + """column name""" + handler_files_hash + """column name""" + id + """column name""" + schema_hash +} """ -scalar Timestamp +Streaming cursor of the table "persisted_state" +""" +input persisted_state_stream_cursor_input { + """Stream column input with initial value""" + initial_value: persisted_state_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering +} -type Transaction { - id: ID! - blockNumber: BigInt! - sender: Bytes! - txHash: Bytes! +"""Initial value of the column from where the streaming should start""" +input persisted_state_stream_cursor_value_input { + abi_files_hash: String + config_hash: String + envio_version: String + handler_files_hash: String + id: Int + schema_hash: String } -input Transaction_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - blockNumber: BigInt - blockNumber_not: BigInt - blockNumber_gt: BigInt - blockNumber_lt: BigInt - blockNumber_gte: BigInt - blockNumber_lte: BigInt - blockNumber_in: [BigInt!] - blockNumber_not_in: [BigInt!] - sender: Bytes - sender_not: Bytes - sender_gt: Bytes - sender_lt: Bytes - sender_gte: Bytes - sender_lte: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_not_contains: Bytes - txHash: Bytes - txHash_not: Bytes - txHash_gt: Bytes - txHash_lt: Bytes - txHash_gte: Bytes - txHash_lte: Bytes - txHash_in: [Bytes!] - txHash_not_in: [Bytes!] - txHash_contains: Bytes - txHash_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Transaction_filter] - or: [Transaction_filter] +""" +columns and relationships of "raw_events" +""" +type raw_events { + block_hash: String! + block_number: Int! + block_timestamp: Int! + chain_id: Int! + db_write_timestamp: timestamp + """An array relationship""" + event_history( + """distinct select on columns""" + distinct_on: [entity_history_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [entity_history_order_by!] + """filter the rows returned""" + where: entity_history_bool_exp + ): [entity_history!]! + event_id: numeric! + event_type: event_type! + log_index: Int! + params( + """JSON select path""" + path: String + ): json! + src_address: String! + transaction_hash: String! + transaction_index: Int! +} + +""" +Boolean expression to filter rows from the table "raw_events". All fields are combined with a logical 'AND'. +""" +input raw_events_bool_exp { + _and: [raw_events_bool_exp!] + _not: raw_events_bool_exp + _or: [raw_events_bool_exp!] + block_hash: String_comparison_exp + block_number: Int_comparison_exp + block_timestamp: Int_comparison_exp + chain_id: Int_comparison_exp + db_write_timestamp: timestamp_comparison_exp + event_history: entity_history_bool_exp + event_id: numeric_comparison_exp + event_type: event_type_comparison_exp + log_index: Int_comparison_exp + params: json_comparison_exp + src_address: String_comparison_exp + transaction_hash: String_comparison_exp + transaction_index: Int_comparison_exp } -enum Transaction_orderBy { - id - blockNumber - sender - txHash +"""Ordering options when selecting data from "raw_events".""" +input raw_events_order_by { + block_hash: order_by + block_number: order_by + block_timestamp: order_by + chain_id: order_by + db_write_timestamp: order_by + event_history_aggregate: entity_history_aggregate_order_by + event_id: order_by + event_type: order_by + log_index: order_by + params: order_by + src_address: order_by + transaction_hash: order_by + transaction_index: order_by } -type Update { - id: ID! - scope: Int! - posterRole: Int! - entityAddress: Bytes! - postedBy: Bytes! - content: RawMetadata! - contentSchema: Int! - postDecorator: Int! - timestamp: BigInt! +""" +select columns of table "raw_events" +""" +enum raw_events_select_column { + """column name""" + block_hash + """column name""" + block_number + """column name""" + block_timestamp + """column name""" + chain_id + """column name""" + db_write_timestamp + """column name""" + event_id + """column name""" + event_type + """column name""" + log_index + """column name""" + params + """column name""" + src_address + """column name""" + transaction_hash + """column name""" + transaction_index } -input Update_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - scope: Int - scope_not: Int - scope_gt: Int - scope_lt: Int - scope_gte: Int - scope_lte: Int - scope_in: [Int!] - scope_not_in: [Int!] - posterRole: Int - posterRole_not: Int - posterRole_gt: Int - posterRole_lt: Int - posterRole_gte: Int - posterRole_lte: Int - posterRole_in: [Int!] - posterRole_not_in: [Int!] - entityAddress: Bytes - entityAddress_not: Bytes - entityAddress_gt: Bytes - entityAddress_lt: Bytes - entityAddress_gte: Bytes - entityAddress_lte: Bytes - entityAddress_in: [Bytes!] - entityAddress_not_in: [Bytes!] - entityAddress_contains: Bytes - entityAddress_not_contains: Bytes - postedBy: Bytes - postedBy_not: Bytes - postedBy_gt: Bytes - postedBy_lt: Bytes - postedBy_gte: Bytes - postedBy_lte: Bytes - postedBy_in: [Bytes!] - postedBy_not_in: [Bytes!] - postedBy_contains: Bytes - postedBy_not_contains: Bytes - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - content_: RawMetadata_filter - contentSchema: Int - contentSchema_not: Int - contentSchema_gt: Int - contentSchema_lt: Int - contentSchema_gte: Int - contentSchema_lte: Int - contentSchema_in: [Int!] - contentSchema_not_in: [Int!] - postDecorator: Int - postDecorator_not: Int - postDecorator_gt: Int - postDecorator_lt: Int - postDecorator_gte: Int - postDecorator_lte: Int - postDecorator_in: [Int!] - postDecorator_not_in: [Int!] - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Update_filter] - or: [Update_filter] +""" +Streaming cursor of the table "raw_events" +""" +input raw_events_stream_cursor_input { + """Stream column input with initial value""" + initial_value: raw_events_stream_cursor_value_input! + """cursor ordering""" + ordering: cursor_ordering } -enum Update_orderBy { - id - scope - posterRole - entityAddress - postedBy - content - content__id - content__protocol - content__pointer - contentSchema - postDecorator - timestamp +"""Initial value of the column from where the streaming should start""" +input raw_events_stream_cursor_value_input { + block_hash: String + block_number: Int + block_timestamp: Int + chain_id: Int + db_write_timestamp: timestamp + event_id: numeric + event_type: event_type + log_index: Int + params: json + src_address: String + transaction_hash: String + transaction_index: Int } -type _Block_ { - """The hash of the block""" - hash: Bytes - """The block number""" - number: Int! - """Integer representation of the timestamp stored in blocks for the chain""" - timestamp: Int - """The hash of the parent block""" - parentHash: Bytes -} +scalar timestamp -"""The type for the top-level _meta field""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - - """ - block: _Block_! - """The deployment ID""" - deployment: String! - """If `true`, the subgraph encountered indexing errors at some past block""" - hasIndexingErrors: Boolean! +""" +Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. +""" +input timestamp_comparison_exp { + _eq: timestamp + _gt: timestamp + _gte: timestamp + _in: [timestamp!] + _is_null: Boolean + _lt: timestamp + _lte: timestamp + _neq: timestamp + _nin: [timestamp!] } -enum _SubgraphErrorPolicy_ { - """Data will be returned even if the subgraph has indexing errors""" - allow - """ - If the subgraph has indexing errors, data will be omitted. The default. - """ - deny +scalar timestamptz + +""" +Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +""" +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] } \ No newline at end of file diff --git a/src/.graphclient/sources/gs-voting/introspectionSchema.ts b/src/.graphclient/sources/gs-voting/introspectionSchema.ts index 0118ee6c..25d76ea5 100644 --- a/src/.graphclient/sources/gs-voting/introspectionSchema.ts +++ b/src/.graphclient/sources/gs-voting/introspectionSchema.ts @@ -5626,10 +5626,16 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } } }, @@ -5863,7 +5869,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "_text_comparison_exp" + "value": "String_array_comparison_exp" } }, "directives": [] @@ -6350,10 +6356,16 @@ const schemaAST = { "value": "admins" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -9238,10 +9250,16 @@ const schemaAST = { "type": { "kind": "NonNullType", "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } } } }, @@ -9541,7 +9559,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "_numeric_comparison_exp" + "value": "numeric_array_comparison_exp" } }, "directives": [] @@ -9858,10 +9876,16 @@ const schemaAST = { "value": "hatIds" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } } }, "directives": [] @@ -17430,35 +17454,57 @@ const schemaAST = { }, "name": { "kind": "Name", - "value": "String_comparison_exp" + "value": "String_array_comparison_exp" }, "fields": [ { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "is the array contained in the given array value", + "block": true + }, "name": { "kind": "Name", - "value": "_eq" + "value": "_contained_in" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] }, { "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the array contain the given value", + "block": true + }, "name": { "kind": "Name", - "value": "_gt" + "value": "_contains" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -17467,33 +17513,40 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_gte" + "value": "_eq" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column match the given case-insensitive pattern", - "block": true - }, "name": { "kind": "Name", - "value": "_ilike" + "value": "_gt" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -17502,7 +17555,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_in" + "value": "_gte" }, "type": { "kind": "ListType", @@ -17521,20 +17574,27 @@ const schemaAST = { }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column match the given POSIX regular expression, case insensitive", - "block": true - }, "name": { "kind": "Name", - "value": "_iregex" + "value": "_in" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + } } }, "directives": [] @@ -17556,20 +17616,21 @@ const schemaAST = { }, { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column match the given pattern", - "block": true - }, "name": { "kind": "Name", - "value": "_like" + "value": "_lt" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -17578,13 +17639,19 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lt" + "value": "_lte" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -17593,13 +17660,19 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_lte" + "value": "_neq" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } } }, "directives": [] @@ -17608,27 +17681,49 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_neq" + "value": "_nin" }, "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "String" + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + } } }, "directives": [] - }, + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"String\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "String_comparison_exp" + }, + "fields": [ { "kind": "InputValueDefinition", - "description": { - "kind": "StringValue", - "value": "does the column NOT match the given case-insensitive pattern", - "block": true - }, "name": { "kind": "Name", - "value": "_nilike" + "value": "_eq" }, "type": { "kind": "NamedType", @@ -17643,7 +17738,198 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_nin" + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given case-insensitive pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_ilike" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given POSIX regular expression, case insensitive", + "block": true + }, + "name": { + "kind": "Name", + "value": "_iregex" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_is_null" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_like" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given case-insensitive pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nilike" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" }, "type": { "kind": "ListType", @@ -18194,347 +18480,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "numeric" - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "name": { - "kind": "Name", - "value": "_numeric" - }, - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Boolean expression to compare columns of type \"_numeric\". All fields are combined with logical 'AND'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "_numeric_comparison_exp" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_eq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_gt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_gte" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_is_null" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_lt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_lte" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_neq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_nin" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_numeric" - } - } - } - }, - "directives": [] - } - ], - "directives": [] - }, - { - "kind": "ScalarTypeDefinition", - "name": { - "kind": "Name", - "value": "_text" - }, - "directives": [] - }, - { - "kind": "InputObjectTypeDefinition", - "description": { - "kind": "StringValue", - "value": "Boolean expression to compare columns of type \"_text\". All fields are combined with logical 'AND'.", - "block": true - }, - "name": { - "kind": "Name", - "value": "_text_comparison_exp" - }, - "fields": [ - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_eq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_gt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_gte" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_in" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - } - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_is_null" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "Boolean" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_lt" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_lte" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_neq" - }, - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - }, - "directives": [] - }, - { - "kind": "InputValueDefinition", - "name": { - "kind": "Name", - "value": "_nin" - }, - "type": { - "kind": "ListType", - "type": { - "kind": "NonNullType", - "type": { - "kind": "NamedType", - "name": { - "kind": "Name", - "value": "_text" - } - } + "value": "numeric" } }, "directives": [] @@ -25309,6 +25255,268 @@ const schemaAST = { }, "directives": [] }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"numeric\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "numeric_array_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "is the array contained in the given array value", + "block": true + }, + "name": { + "kind": "Name", + "value": "_contained_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the array contain the given value", + "block": true + }, + "name": { + "kind": "Name", + "value": "_contains" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_is_null" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lt" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, { "kind": "InputObjectTypeDefinition", "description": { diff --git a/src/.graphclient/sources/gs-voting/schema.graphql b/src/.graphclient/sources/gs-voting/schema.graphql index e37d45c5..0155630e 100644 --- a/src/.graphclient/sources/gs-voting/schema.graphql +++ b/src/.graphclient/sources/gs-voting/schema.graphql @@ -638,7 +638,7 @@ columns and relationships of "FactoryEventsSummary" """ type FactoryEventsSummary { address: String! - admins: _text! + admins: [String!]! contestBuiltCount: numeric! contestCloneCount: numeric! contestTemplateCount: numeric! @@ -656,7 +656,7 @@ input FactoryEventsSummary_bool_exp { _not: FactoryEventsSummary_bool_exp _or: [FactoryEventsSummary_bool_exp!] address: String_comparison_exp - admins: _text_comparison_exp + admins: String_array_comparison_exp contestBuiltCount: numeric_comparison_exp contestCloneCount: numeric_comparison_exp contestTemplateCount: numeric_comparison_exp @@ -716,7 +716,7 @@ input FactoryEventsSummary_stream_cursor_input { """Initial value of the column from where the streaming should start""" input FactoryEventsSummary_stream_cursor_value_input { address: String - admins: _text + admins: [String!] contestBuiltCount: numeric contestCloneCount: numeric contestTemplateCount: numeric @@ -1024,7 +1024,7 @@ type HatsPoster { """filter the rows returned""" where: EventPost_bool_exp ): [EventPost!]! - hatIds: _numeric! + hatIds: [numeric!]! hatsAddress: String! id: String! """An array relationship""" @@ -1051,7 +1051,7 @@ input HatsPoster_bool_exp { _or: [HatsPoster_bool_exp!] db_write_timestamp: timestamp_comparison_exp eventPosts: EventPost_bool_exp - hatIds: _numeric_comparison_exp + hatIds: numeric_array_comparison_exp hatsAddress: String_comparison_exp id: String_comparison_exp record: Record_bool_exp @@ -1094,7 +1094,7 @@ input HatsPoster_stream_cursor_input { """Initial value of the column from where the streaming should start""" input HatsPoster_stream_cursor_value_input { db_write_timestamp: timestamp - hatIds: _numeric + hatIds: [numeric!] hatsAddress: String id: String } @@ -1974,6 +1974,25 @@ input StemModule_stream_cursor_value_input { moduleTemplate_id: String } +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [String!] + """does the array contain the given value""" + _contains: [String!] + _eq: [String!] + _gt: [String!] + _gte: [String!] + _in: [[String!]!] + _is_null: Boolean + _lt: [String!] + _lte: [String!] + _neq: [String!] + _nin: [[String!]!] +} + """ Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. """ @@ -2074,40 +2093,6 @@ input TVParams_stream_cursor_value_input { voteDuration: numeric } -scalar _numeric - -""" -Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. -""" -input _numeric_comparison_exp { - _eq: _numeric - _gt: _numeric - _gte: _numeric - _in: [_numeric!] - _is_null: Boolean - _lt: _numeric - _lte: _numeric - _neq: _numeric - _nin: [_numeric!] -} - -scalar _text - -""" -Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. -""" -input _text_comparison_exp { - _eq: _text - _gt: _text - _gte: _text - _in: [_text!] - _is_null: Boolean - _lt: _text - _lte: _text - _neq: _text - _nin: [_text!] -} - """ columns and relationships of "chain_metadata" """ @@ -2822,6 +2807,25 @@ input json_comparison_exp { scalar numeric +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [numeric!] + """does the array contain the given value""" + _contains: [numeric!] + _eq: [numeric!] + _gt: [numeric!] + _gte: [numeric!] + _in: [[numeric!]!] + _is_null: Boolean + _lt: [numeric!] + _lte: [numeric!] + _neq: [numeric!] + _nin: [[numeric!]!] +} + """ Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. """ diff --git a/src/.graphclient/sources/gs-voting/types.ts b/src/.graphclient/sources/gs-voting/types.ts index 522e1bbe..41f44a2a 100644 --- a/src/.graphclient/sources/gs-voting/types.ts +++ b/src/.graphclient/sources/gs-voting/types.ts @@ -16,8 +16,6 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - _numeric: any; - _text: any; contract_type: any; entity_type: any; event_type: any; @@ -574,7 +572,7 @@ export type EventPost_variance_order_by = { /** columns and relationships of "FactoryEventsSummary" */ export type FactoryEventsSummary = { address: Scalars['String']; - admins: Scalars['_text']; + admins: Array; contestBuiltCount: Scalars['numeric']; contestCloneCount: Scalars['numeric']; contestTemplateCount: Scalars['numeric']; @@ -590,7 +588,7 @@ export type FactoryEventsSummary_bool_exp = { _not?: InputMaybe; _or?: InputMaybe>; address?: InputMaybe; - admins?: InputMaybe<_text_comparison_exp>; + admins?: InputMaybe; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -645,7 +643,7 @@ export type FactoryEventsSummary_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type FactoryEventsSummary_stream_cursor_value_input = { address?: InputMaybe; - admins?: InputMaybe; + admins?: InputMaybe>; contestBuiltCount?: InputMaybe; contestCloneCount?: InputMaybe; contestTemplateCount?: InputMaybe; @@ -910,7 +908,7 @@ export type HatsPoster = { db_write_timestamp?: Maybe; /** An array relationship */ eventPosts: Array; - hatIds: Scalars['_numeric']; + hatIds: Array; hatsAddress: Scalars['String']; id: Scalars['String']; /** An array relationship */ @@ -944,7 +942,7 @@ export type HatsPoster_bool_exp = { _or?: InputMaybe>; db_write_timestamp?: InputMaybe; eventPosts?: InputMaybe; - hatIds?: InputMaybe<_numeric_comparison_exp>; + hatIds?: InputMaybe; hatsAddress?: InputMaybe; id?: InputMaybe; record?: InputMaybe; @@ -982,7 +980,7 @@ export type HatsPoster_stream_cursor_input = { /** Initial value of the column from where the streaming should start */ export type HatsPoster_stream_cursor_value_input = { db_write_timestamp?: InputMaybe; - hatIds?: InputMaybe; + hatIds?: InputMaybe>; hatsAddress?: InputMaybe; id?: InputMaybe; }; @@ -1739,6 +1737,23 @@ export type StemModule_stream_cursor_value_input = { moduleTemplate_id?: InputMaybe; }; +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_array_comparison_exp = { + /** is the array contained in the given array value */ + _contained_in?: InputMaybe>; + /** does the array contain the given value */ + _contains?: InputMaybe>; + _eq?: InputMaybe>; + _gt?: InputMaybe>; + _gte?: InputMaybe>; + _in?: InputMaybe>>; + _is_null?: InputMaybe; + _lt?: InputMaybe>; + _lte?: InputMaybe>; + _neq?: InputMaybe>; + _nin?: InputMaybe>>; +}; + /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ export type String_comparison_exp = { _eq?: InputMaybe; @@ -1820,32 +1835,6 @@ export type TVParams_stream_cursor_value_input = { voteDuration?: InputMaybe; }; -/** Boolean expression to compare columns of type "_numeric". All fields are combined with logical 'AND'. */ -export type _numeric_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - -/** Boolean expression to compare columns of type "_text". All fields are combined with logical 'AND'. */ -export type _text_comparison_exp = { - _eq?: InputMaybe; - _gt?: InputMaybe; - _gte?: InputMaybe; - _in?: InputMaybe>; - _is_null?: InputMaybe; - _lt?: InputMaybe; - _lte?: InputMaybe; - _neq?: InputMaybe; - _nin?: InputMaybe>; -}; - /** columns and relationships of "chain_metadata" */ export type chain_metadata = { block_height: Scalars['Int']; @@ -2483,6 +2472,23 @@ export type json_comparison_exp = { _nin?: InputMaybe>; }; +/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +export type numeric_array_comparison_exp = { + /** is the array contained in the given array value */ + _contained_in?: InputMaybe>; + /** does the array contain the given value */ + _contains?: InputMaybe>; + _eq?: InputMaybe>; + _gt?: InputMaybe>; + _gte?: InputMaybe>; + _in?: InputMaybe>>; + _is_null?: InputMaybe; + _lt?: InputMaybe>; + _lte?: InputMaybe>; + _neq?: InputMaybe>; + _nin?: InputMaybe>>; +}; + /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ export type numeric_comparison_exp = { _eq?: InputMaybe; diff --git a/src/constants/addresses.ts b/src/constants/addresses.ts index c6ee5373..b697f0dc 100644 --- a/src/constants/addresses.ts +++ b/src/constants/addresses.ts @@ -8,7 +8,7 @@ export const ADDR_TESTNET: Record = { GM_FACTORY: '0x14e32E7893D6A1fA5f852d8B2fE8c57A2aB670ba', GS_FACTORY: '0x8D994BEef251e30C858e44eCE3670feb998CA77a', HATS_POSTER: '0x4F0dc1C7d91d914d921F3C9C188F4454AE260317', - VOTE_CONTEST: '0xBECAfEd4384e4510c3fB1c40de6c86ff9672051F', + VOTE_CONTEST: '0x83e01bE1e92540eEc1506482E600374219ccA724', } as const; export const ADDR_PROD: Record = { From 77e2262188925b83107ba94a8f67cd0c8fd60bbd Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 16:58:05 -0700 Subject: [PATCH 07/12] update contest --- src/constants/addresses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/addresses.ts b/src/constants/addresses.ts index b697f0dc..6a065080 100644 --- a/src/constants/addresses.ts +++ b/src/constants/addresses.ts @@ -8,7 +8,7 @@ export const ADDR_TESTNET: Record = { GM_FACTORY: '0x14e32E7893D6A1fA5f852d8B2fE8c57A2aB670ba', GS_FACTORY: '0x8D994BEef251e30C858e44eCE3670feb998CA77a', HATS_POSTER: '0x4F0dc1C7d91d914d921F3C9C188F4454AE260317', - VOTE_CONTEST: '0x83e01bE1e92540eEc1506482E600374219ccA724', + VOTE_CONTEST: '0xF55108489EE3FE27AE60795d5816E0C95683B049', } as const; export const ADDR_PROD: Record = { From b0b8190f934ec9294786326cd4404729ef45476e Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 17:37:41 -0700 Subject: [PATCH 08/12] fix floating point bugs --- src/components/voting/ConfirmationPanel.tsx | 5 ++--- src/components/voting/VotingFooter.tsx | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/voting/ConfirmationPanel.tsx b/src/components/voting/ConfirmationPanel.tsx index 60e90f5f..cfc63863 100644 --- a/src/components/voting/ConfirmationPanel.tsx +++ b/src/components/voting/ConfirmationPanel.tsx @@ -99,7 +99,7 @@ export const ConfirmationPanel = ({ } const hasFilledInAllRequiredFields = form.values.ships.every( - (ship) => ship.shipId && ship.shipPerc + (ship) => ship.shipId && ship.shipPerc != null ); if (!hasFilledInAllRequiredFields) { @@ -207,7 +207,7 @@ export const ConfirmationPanel = ({ userTokenData.totalUserTokenBalance && shipPerc ? formatEther( (userTokenData.totalUserTokenBalance * - BigInt(Number(shipPerc) * 1e6)) / + BigInt(Math.floor(Number(shipPerc) * 1e6))) / BigInt(100 * 1e6) ) : 0n; @@ -227,7 +227,6 @@ export const ConfirmationPanel = ({ clampBehavior="strict" placeholder="22%" suffix="%" - hideControls min={0} max={100} decimalScale={2} diff --git a/src/components/voting/VotingFooter.tsx b/src/components/voting/VotingFooter.tsx index fa0e30b4..7d0fb907 100644 --- a/src/components/voting/VotingFooter.tsx +++ b/src/components/voting/VotingFooter.tsx @@ -40,6 +40,9 @@ export const VotingFooter = ({ maw={298} min={0} max={100} + decimalScale={2} + suffix="%" + clampBehavior="strict" placeholder="30%" disabled={!isVotingActive} {...form.getInputProps(`ships.${index}.shipPerc`)} From b3fb16a6a21947f8d1a9fbd520d6e337a8a150a3 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 6 Jun 2024 17:57:23 -0700 Subject: [PATCH 09/12] prevent exceeds validation and allow negative --- src/components/voting/ConfirmationPanel.tsx | 6 ++++++ src/components/voting/VotingFooter.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/src/components/voting/ConfirmationPanel.tsx b/src/components/voting/ConfirmationPanel.tsx index cfc63863..29cb331f 100644 --- a/src/components/voting/ConfirmationPanel.tsx +++ b/src/components/voting/ConfirmationPanel.tsx @@ -222,6 +222,7 @@ export const ConfirmationPanel = ({ )} + {exceeds100percent && ( + + Total vote allocation exceeds 100% + + )} Date: Thu, 6 Jun 2024 18:01:35 -0700 Subject: [PATCH 10/12] clean --- src/components/voting/ConfirmationPanel.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/voting/ConfirmationPanel.tsx b/src/components/voting/ConfirmationPanel.tsx index 29cb331f..dbabf6f5 100644 --- a/src/components/voting/ConfirmationPanel.tsx +++ b/src/components/voting/ConfirmationPanel.tsx @@ -5,7 +5,6 @@ import { NumberInput, Progress, Text, - TextInput, Textarea, useMantineTheme, } from '@mantine/core'; @@ -23,9 +22,7 @@ import { useTx } from '../../hooks/useTx'; import ContestABI from '../../abi/Contest.json'; import { ADDR } from '../../constants/addresses'; import { useMemo } from 'react'; -import { validateNumberWithMaxDecimals } from '../forms/validationSchemas/votingFormSchema'; import { FormValidationResult } from '@mantine/form/lib/types'; -import { object } from 'zod'; export const ConfirmationPanel = ({ ships, From 7e40f7caacf9540454725b1254411e0b53ac65af Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 7 Jun 2024 11:58:05 -0700 Subject: [PATCH 11/12] display balances --- src/components/voting/ConfirmationPanel.tsx | 43 ++++++++++++++++----- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/src/components/voting/ConfirmationPanel.tsx b/src/components/voting/ConfirmationPanel.tsx index dbabf6f5..00ebb607 100644 --- a/src/components/voting/ConfirmationPanel.tsx +++ b/src/components/voting/ConfirmationPanel.tsx @@ -1,6 +1,7 @@ import { Avatar, Box, + Divider, Group, NumberInput, Progress, @@ -45,13 +46,23 @@ export const ConfirmationPanel = ({ ]; const isVotingActive = votingStage === VotingStage.Active; - const exceeds100percent = useMemo(() => { - return ( + const totalPercent = useMemo( + () => form.values.ships.reduce((acc, curr) => { return acc + Number(curr.shipPerc); - }, 0) > 100 - ); - }, [form.values]); + }, 0), + [form.values] + ); + + const exceeds100percent = totalPercent > 100; + const totalVoteAmount = + userTokenData.totalUserTokenBalance && totalPercent + ? formatEther( + (userTokenData.totalUserTokenBalance * + BigInt(Math.floor(Number(totalPercent) * 1e6))) / + BigInt(100 * 1e6) + ) + : 0; const userHasVotes = userTokenData.totalUserTokenBalance > 0n; @@ -199,7 +210,7 @@ export const ConfirmationPanel = ({ return ( {ships.map((ship, index) => { - const shipPerc = form.values.ships[index].shipPerc || '0'; + const shipPerc = form.values.ships[index].shipPerc || 0; const voteAmount = userTokenData.totalUserTokenBalance && shipPerc ? formatEther( @@ -228,7 +239,7 @@ export const ConfirmationPanel = ({ min={0} max={100} decimalScale={2} - disabled={!isVotingActive} + // disabled={!isVotingActive} {...form.getInputProps(`ships.${index}.shipPerc`)} /> ); })} - + + + Total Vote:{' '} + + {totalPercent}% + + + + Total Vote Amount:{' '} + + {totalVoteAmount} {tokenData.tokenSymbol} + + {!userHasVotes && ( - + You have no votes to allocate )} {exceeds100percent && ( - + Total vote allocation exceeds 100% )} From 35d8735e70b9fcd8b692ab00e040220005afa093 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 7 Jun 2024 12:12:07 -0700 Subject: [PATCH 12/12] fix deminals in affix, update contest --- src/components/voting/VoteAffix.tsx | 4 +++- src/constants/addresses.ts | 2 +- src/queries/getGsVoting.ts | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/voting/VoteAffix.tsx b/src/components/voting/VoteAffix.tsx index d5855c0c..d1461790 100644 --- a/src/components/voting/VoteAffix.tsx +++ b/src/components/voting/VoteAffix.tsx @@ -47,7 +47,9 @@ export const VoteAffix = ({ formValues }: { formValues: VotingFormValues }) => { } > - {formatEther(userTokenData.totalUserTokenBalance)}{' '} + {Number( + formatEther(userTokenData.totalUserTokenBalance) + ).toFixed(2)}{' '} {tokenData.tokenSymbol}{' '} diff --git a/src/constants/addresses.ts b/src/constants/addresses.ts index 6a065080..e1515687 100644 --- a/src/constants/addresses.ts +++ b/src/constants/addresses.ts @@ -19,7 +19,7 @@ export const ADDR_PROD: Record = { GM_FACTORY: '0xdc9787b869e22256a4f4f49f484586fcff0d351f', GS_FACTORY: '0xb130175b648d4ce92ca6153eaa138cc69eb1cf4c', HATS_POSTER: '0x363a6eFF03cdAbD5Cf4921d9A85eAf7dFd2A7efD', - VOTE_CONTEST: '0x7823c8E0a562c5034E455228C64D6375C637DC94', + VOTE_CONTEST: '0x413BAaf73db2330639d93e26d8Fdd909C74A1955', } as const; export const ADDR: Record = diff --git a/src/queries/getGsVoting.ts b/src/queries/getGsVoting.ts index 3c472407..b7e27806 100644 --- a/src/queries/getGsVoting.ts +++ b/src/queries/getGsVoting.ts @@ -131,7 +131,6 @@ export const getGsVoting = async ({ const contestRes = await getGsVoting({ id: contestId }); const voterRes = await getUserVotes({ contestId, voterAddress: userAddress }); - console.log('contestRes', contestRes); const currentContest = contestRes?.GrantShipsVoting?.[0]; if (!currentContest) {