From 38a57a196b5cc4995f41fb4473b626f6cf3e3ed1 Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 4 Jun 2024 18:59:50 -0700 Subject: [PATCH] update with links in portfolio --- .graphclientrc.yml | 2 +- src/.graphclient/index.ts | 13228 ++++++++-------- src/.graphclient/schema.graphql | 11462 ++++++------- .../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 +- src/queries/getRecordsByTag.ts | 2 + 8 files changed, 13068 insertions(+), 12852 deletions(-) diff --git a/.graphclientrc.yml b/.graphclientrc.yml index 865f04e2..aa8a2d36 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/c8f8ea8/v1/graphql documents: - './src/**/*.graphql' diff --git a/src/.graphclient/index.ts b/src/.graphclient/index.ts index 7a46f68b..7c714d4f 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" */ @@ -155,754 +193,754 @@ 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 QueryGrantShipsVotingArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerygameManagerArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; +export type QuerygameManagersArgs = { + 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 QuerygameRoundArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHALParams_by_pkArgs = { - id: Scalars['String']; +export type QuerygameRoundsArgs = { + 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 QueryapplicationHistoryArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryHatsPoster_by_pkArgs = { - id: Scalars['String']; +export type QueryapplicationHistoriesArgs = { + 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 QuerygrantArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryLocalLog_by_pkArgs = { - id: Scalars['String']; +export type QuerygrantsArgs = { + 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 QuerymilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryModuleTemplate_by_pkArgs = { - id: Scalars['String']; +export type QuerymilestonesArgs = { + 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 QueryprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryRecord_by_pkArgs = { - id: Scalars['String']; +export type QueryprofileIdToAnchorsArgs = { + 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 QueryprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipChoice_by_pkArgs = { - id: Scalars['String']; +export type QueryprofileMemberGroupsArgs = { + 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 QuerytransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryShipVote_by_pkArgs = { - id: Scalars['String']; +export type QuerytransactionsArgs = { + 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 QueryrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryStemModule_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 QueryTVParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type QuerylogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryTVParams_by_pkArgs = { - id: Scalars['String']; +export type QuerylogsArgs = { + 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 QuerygmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querychain_metadata_by_pkArgs = { - chain_id: Scalars['Int']; +export type QuerygmVersionsArgs = { + 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 QuerygmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Querydynamic_contract_registry_by_pkArgs = { - chain_id: Scalars['Int']; - contract_address: Scalars['String']; +export type QuerygmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Queryentity_historyArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type Query_metaArgs = { + block?: 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 QueryContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Queryentity_history_filterArgs = { - 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_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 QueryContestClone_by_pkArgs = { + id: Scalars['String']; }; -export type Queryevent_sync_stateArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; +export type QueryContestTemplateArgs = { + 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 QueryContestTemplate_by_pkArgs = { + id: Scalars['String']; }; -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 QueryContest_by_pkArgs = { + id: Scalars['String']; }; -export type Querypersisted_stateArgs = { - distinct_on?: InputMaybe>; +export type QueryERCPointParamsArgs = { + 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 QueryERCPointParams_by_pkArgs = { + id: Scalars['String']; }; -export type Queryraw_eventsArgs = { - 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 Queryraw_events_by_pkArgs = { - chain_id: Scalars['Int']; - event_id: Scalars['numeric']; +export type QueryEnvioTX_by_pkArgs = { + id: Scalars['String']; }; -export type QueryprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryEventPostArgs = { + 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 QueryEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryFactoryEventsSummaryArgs = { + 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 QueryFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryGrantShipsVotingArgs = { + 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 QueryGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; }; -export type QueryfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHALParamsArgs = { + 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 QueryHALParams_by_pkArgs = { + id: Scalars['String']; }; -export type QueryupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryHatsPosterArgs = { + 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 QueryHatsPoster_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryLocalLogArgs = { + 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 QueryLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type QuerypoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryModuleTemplateArgs = { + 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 QueryModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryRecordArgs = { + 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 QueryRecord_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipChoiceArgs = { + 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 QueryShipChoice_by_pkArgs = { + id: Scalars['String']; }; -export type QueryapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryShipVoteArgs = { + 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 QueryShipVote_by_pkArgs = { + id: Scalars['String']; }; -export type QuerygrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type QueryStemModuleArgs = { + 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 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" */ @@ -1049,4019 +1087,1902 @@ 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 SubscriptionGrantShipsVotingArgs = { - 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 SubscriptionGrantShipsVoting_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionmilestoneArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionGrantShipsVoting_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 SubscriptionHALParamsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHALParams_by_pkArgs = { - id: Scalars['String']; +export type SubscriptionprofileIdToAnchorsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHALParams_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHatsPosterArgs = { - 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 SubscriptionHatsPoster_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiontransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionHatsPoster_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 SubscriptionLocalLogArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionLocalLog_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 SubscriptionLocalLog_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type SubscriptionlogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionModuleTemplateArgs = { - 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 SubscriptionModuleTemplate_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionModuleTemplate_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 SubscriptionRecordArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptiongmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionRecord_by_pkArgs = { - id: Scalars['String']; +export type SubscriptiongmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type SubscriptionRecord_streamArgs = { - batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; +export type Subscription_metaArgs = { + block?: InputMaybe; }; -export type SubscriptionShipChoiceArgs = { - 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 SubscriptionShipChoice_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 SubscriptionShipChoice_streamArgs = { +export type SubscriptionContestClone_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionShipVoteArgs = { - 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 SubscriptionShipVote_by_pkArgs = { +export type SubscriptionContestTemplate_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionShipVote_streamArgs = { +export type SubscriptionContestTemplate_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; -}; - - -export type SubscriptionStemModuleArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionStemModule_by_pkArgs = { +export type SubscriptionContest_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionStemModule_streamArgs = { +export type SubscriptionContest_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionTVParamsArgs = { - 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 SubscriptionTVParams_by_pkArgs = { +export type SubscriptionERCPointParams_by_pkArgs = { id: Scalars['String']; }; -export type SubscriptionTVParams_streamArgs = { +export type SubscriptionERCPointParams_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionchain_metadataArgs = { - 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 Subscriptionchain_metadata_by_pkArgs = { - chain_id: Scalars['Int']; +export type SubscriptionEnvioTX_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionchain_metadata_streamArgs = { +export type SubscriptionEnvioTX_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptiondynamic_contract_registryArgs = { - 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 Subscriptiondynamic_contract_registry_by_pkArgs = { - chain_id: Scalars['Int']; - contract_address: Scalars['String']; +export type SubscriptionEventPost_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptiondynamic_contract_registry_streamArgs = { +export type SubscriptionEventPost_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionentity_historyArgs = { - 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 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 SubscriptionFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionentity_history_filterArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type SubscriptionFactoryEventsSummary_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; -}; - - -export type Subscriptionget_entity_history_filterArgs = { - args: get_entity_history_filter_args; - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionpersisted_stateArgs = { - 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_state_by_pkArgs = { - id: Scalars['Int']; +export type SubscriptionHatsPoster_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionpersisted_state_streamArgs = { +export type SubscriptionHatsPoster_streamArgs = { batch_size: Scalars['Int']; - cursor: Array>; - where?: InputMaybe; + cursor: Array>; + where?: InputMaybe; }; -export type Subscriptionraw_eventsArgs = { - distinct_on?: InputMaybe>; +export type SubscriptionLocalLogArgs = { + 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 SubscriptionLocalLog_by_pkArgs = { + id: Scalars['String']; }; -export type Subscriptionraw_events_streamArgs = { +export type SubscriptionLocalLog_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 SubscriptionModuleTemplateArgs = { + 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 SubscriptionModuleTemplate_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionModuleTemplate_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 SubscriptionRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionRecord_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionRecord_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipChoiceArgs = { + 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 SubscriptionShipChoice_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptionupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipChoice_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 SubscriptionShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongrantShipArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipVote_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionShipVote_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionpoolIdLookupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionStemModuleArgs = { + 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 SubscriptionStemModule_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionStemModule_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 SubscriptionTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptiongameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionTVParams_by_pkArgs = { + id: Scalars['String']; }; -export type SubscriptiongameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type SubscriptionTVParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionchain_metadataArgs = { + 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 Subscriptionchain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type SubscriptiongrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionchain_metadata_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 Subscriptiondynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionmilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptiondynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; }; -export type SubscriptionmilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptiondynamic_contract_registry_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - 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 SubscriptionprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_filterArgs = { + 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 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 SubscriptiontransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionentity_history_filter_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 Subscriptionentity_history_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionrawMetadataArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionevent_sync_stateArgs = { + 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 Subscriptionevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; }; -export type SubscriptionlogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionevent_sync_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionlogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - 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 SubscriptiongmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscriptionpersisted_stateArgs = { + 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 Subscriptionpersisted_state_by_pkArgs = { + id: Scalars['Int']; }; -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; -}; - -/** 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']; +export type Subscriptionraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; }; -/** 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; +export type Subscriptionraw_events_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: 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 Aggregation_interval = + | 'hour' + | 'day'; -/** 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 ApplicationHistory = { + id: Scalars['ID']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; }; -/** 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 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>>; }; -/** 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 ApplicationHistory_orderBy = + | 'id' + | 'grantApplicationBytes' + | 'applicationSubmitted'; -/** 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 BlockChangedFilter = { + number_gte: Scalars['Int']; }; -/** 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; +export type Block_height = { + hash?: InputMaybe; + number?: InputMaybe; + number_gte?: 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; +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; }; -/** 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; +export type FeedItemEmbed = { + id: Scalars['ID']; + key?: Maybe; + pointer?: Maybe; + protocol?: Maybe; + content?: Maybe; }; -/** 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'; - -/** 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']; -}; + | 'key' + | 'pointer' + | 'protocol' + | 'content'; -/** 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; +export type FeedItemEntity = { + id: Scalars['ID']; + name: Scalars['String']; + type: Scalars['String']; }; -/** Ordering options when selecting data from "ERCPointParams". */ -export type ERCPointParams_order_by = { - db_write_timestamp?: InputMaybe; - id?: InputMaybe; - voteTokenAddress?: InputMaybe; - votingCheckpoint?: 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>>; }; -/** select columns of table "ERCPointParams" */ -export type ERCPointParams_select_column = - /** column name */ - | 'db_write_timestamp' - /** column name */ +export type FeedItemEntity_orderBy = | '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; -}; + | 'name' + | 'type'; -/** 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; +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>>; }; -/** 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; -}; +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'; -/** 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 = { + id: Scalars['Bytes']; + poolId: Scalars['BigInt']; + gameFacilitatorId: Scalars['BigInt']; + rootAccount: Scalars['Bytes']; + tokenAddress: Scalars['Bytes']; + currentRoundId: Scalars['BigInt']; + currentRound?: Maybe; + poolFunds: Scalars['BigInt']; }; -/** 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; +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>>; }; -/** 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 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'; -/** 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 = { + 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; }; -/** 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; +export type GameRoundshipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: 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; -}; - -/** 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 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 "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 */ +export type GameRound_orderBy = | '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; -}; + | 'startTime' + | 'endTime' + | 'totalRoundAmount' + | 'totalAllocatedAmount' + | 'totalDistributedAmount' + | 'gameStatus' + | 'ships' + | 'isGameActive' + | 'realStartTime' + | 'realEndTime'; -/** 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; +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; }; -/** 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']; +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 "GrantShipsVoting" */ -export type GrantShipsVotingchoicesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type GmVersion = { + id: Scalars['ID']; + name: Scalars['String']; + address: Scalars['Bytes']; }; - -/** columns and relationships of "GrantShipsVoting" */ -export type GrantShipsVotingvotesArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: 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>>; }; -/** 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; -}; +export type GmVersion_orderBy = + | 'id' + | 'name' + | 'address'; -/** 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: Scalars['_numeric']; - hatsAddress: Scalars['String']; - id: Scalars['String']; - /** An array relationship */ - record: Array; +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; }; -/** columns and relationships of "HatsPoster" */ -export type HatsPostereventPostsArgs = { - distinct_on?: InputMaybe>; - limit?: InputMaybe; - offset?: InputMaybe; - order_by?: InputMaybe>; - where?: InputMaybe; +export type GrantmilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: 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; +export type GrantresubmitHistoryArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: 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; +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; }; -/** 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; +export type GrantShipgrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: 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']; - isRectractVote: Scalars['Boolean']; - mdPointer: Scalars['String']; - mdProtocol: Scalars['numeric']; - voter: 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; - isRectractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter?: 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?: 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?: 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; - isRectractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter?: 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 */ - | 'isRectractVote' - /** column name */ - | 'mdPointer' - /** column name */ - | 'mdProtocol' - /** column name */ - | 'voter'; - -/** 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; - isRectractVote?: InputMaybe; - mdPointer?: InputMaybe; - mdProtocol?: InputMaybe; - voter?: 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; @@ -5072,153 +2993,147 @@ export type GameManager_filter = { 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>; + 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; @@ -5227,91 +3142,221 @@ export type GameRound_filter = { 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>; + 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>>; + and?: InputMaybe>>; + or?: InputMaybe>>; }; -export type GameRound_orderBy = +export type GrantShip_orderBy = | 'id' - | 'startTime' - | 'endTime' + | 'profileId' + | 'nonce' + | 'name' + | 'profileMetadata' + | 'profileMetadata__id' + | 'profileMetadata__protocol' + | 'profileMetadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'status' + | 'poolFunded' + | 'balance' + | 'shipAllocation' + | 'totalAvailableFunds' | '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; -}; + | '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 GmDeployment_filter = { +export type Grant_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5320,162 +3365,331 @@ 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; + 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 GmDeployment_orderBy = +export type Grant_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'; + | '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 GmVersion = { +export type Log = { id: Scalars['ID']; - name: Scalars['String']; - address: Scalars['Bytes']; + message: Scalars['String']; + description?: Maybe; + type?: Maybe; }; -export type GmVersion_filter = { +export type Log_filter = { id?: InputMaybe; id_not?: InputMaybe; id_gt?: InputMaybe; @@ -5484,149 +3698,206 @@ 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; + 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 GmVersion_orderBy = +export type Log_orderBy = | 'id' - | 'name' - | 'address'; + | 'message' + | 'description' + | 'type'; -export type Grant = { +export type Milestone = { id: Scalars['ID']; - projectId: Project; - shipId: GrantShip; + amountPercentage: Scalars['Bytes']; + mmetadata: Scalars['BigInt']; + amount: Scalars['BigInt']; + status: Scalars['Int']; 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 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'; + +/** Defines the order direction, either ascending or descending */ +export type OrderDirection = + | 'asc' + | 'desc'; -export type GrantresubmitHistoryArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; +export type PoolIdLookup = { + id: Scalars['ID']; + entityId: Scalars['Bytes']; }; -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 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 PoolIdLookup_orderBy = + | 'id' + | 'entityId'; -export type GrantShipgrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; +export type ProfileIdToAnchor = { + id: Scalars['ID']; + profileId: Scalars['Bytes']; + anchor: Scalars['Bytes']; }; -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; +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; @@ -5637,65 +3908,6 @@ export type GrantShip_filter = { 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; @@ -5706,32 +3918,96 @@ export type GrantShip_filter = { 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; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type ProfileIdToAnchor_orderBy = + | 'id' + | 'profileId' + | 'anchor'; + +export type ProfileMemberGroup = { + id: Scalars['Bytes']; + addresses?: Maybe>; +}; + +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 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 ProjectgrantsArgs = { + skip?: InputMaybe; + first?: 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; @@ -5740,1343 +4016,3073 @@ export type GrantShip_filter = { 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>; + 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>>; +}; + +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 "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']; + isRectractVote: Scalars['Boolean']; + mdPointer: Scalars['String']; + mdProtocol: Scalars['numeric']; + voter: 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; + isRectractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter?: 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?: 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?: 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; + isRectractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter?: 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 */ + | 'isRectractVote' + /** column name */ + | 'mdPointer' + /** column name */ + | 'mdProtocol' + /** column name */ + | 'voter'; + +/** 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; + isRectractVote?: InputMaybe; + mdPointer?: InputMaybe; + mdProtocol?: InputMaybe; + voter?: 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_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; }; -export type GrantShip_orderBy = +/** 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' - | '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 */ + | '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; +}; + +/** 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; +}; -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>>; +/** 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; }; -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'; +/** 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; +}; -export type Log = { - id: Scalars['ID']; - message: Scalars['String']; - description?: Maybe; - type?: Maybe; +/** 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; }; -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>>; +/** 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; }; -export type Log_orderBy = - | 'id' - | 'message' - | 'description' - | 'type'; +/** 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 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 "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; }; -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 "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; }; -export type Milestone_orderBy = - | 'id' - | 'amountPercentage' - | 'mmetadata' - | 'amount' - | 'status' - | 'lastUpdated'; +/** 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; +}; -/** 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 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 PoolIdLookup = { - id: Scalars['ID']; - entityId: Scalars['Bytes']; +/** 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; }; -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>>; +/** 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 PoolIdLookup_orderBy = - | 'id' - | 'entityId'; +/** 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 ProfileIdToAnchor = { - id: Scalars['ID']; - profileId: Scalars['Bytes']; - anchor: Scalars['Bytes']; +/** 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 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 "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 ProfileIdToAnchor_orderBy = - | 'id' - | 'profileId' - | 'anchor'; +/** 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 ProfileMemberGroup = { - id: Scalars['Bytes']; - addresses?: Maybe>; +/** 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 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>>; +/** 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 ProfileMemberGroup_orderBy = - | 'id' - | 'addresses'; +/** 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 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']; +/** 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; }; - -export type ProjectgrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: 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; }; -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>>; +/** 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 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 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 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 "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 RawMetadata_orderBy = - | 'id' - | 'protocol' - | 'pointer'; +/** 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 Transaction = { - id: Scalars['ID']; - blockNumber: Scalars['BigInt']; - sender: Scalars['Bytes']; - txHash: Scalars['Bytes']; +/** 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_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>>; +/** 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_orderBy = +/** 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' - | '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; @@ -7166,7 +7172,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; @@ -7239,7 +7318,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; @@ -7310,7 +7388,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; @@ -7318,10 +7396,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; @@ -7374,6 +7448,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; @@ -7392,84 +7467,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; +}>; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = ResolversObject<{ + Query: {}; + Subscription: {}; + ApplicationHistory: ApplicationHistory; ApplicationHistory_filter: ApplicationHistory_filter; - ApplicationHistory_orderBy: ApplicationHistory_orderBy; - BigDecimal: ResolverTypeWrapper; - BigInt: ResolverTypeWrapper; + 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; @@ -7532,7 +7587,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; @@ -7597,17 +7651,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; @@ -7654,6 +7704,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; @@ -7669,64 +7720,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; @@ -7743,7 +7738,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>; @@ -7793,48 +7834,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>; @@ -7908,650 +7949,629 @@ 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 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 GmVersionResolvers = ResolversObject<{ + id?: Resolver; + name?: Resolver; + address?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type HALParamsResolvers = ResolversObject<{ - db_write_timestamp?: Resolver, ParentType, ContextType>; - hatId?: Resolver; - hatsAddress?: Resolver; - id?: 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 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; - isRectractVote?: Resolver; - mdPointer?: Resolver; - mdProtocol?: Resolver; - voter?: 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 persisted_stateResolvers = ResolversObject<{ - abi_files_hash?: Resolver; - config_hash?: Resolver; - envio_version?: Resolver; - handler_files_hash?: Resolver; - id?: Resolver; - schema_hash?: Resolver; +export type ContestCloneResolvers = ResolversObject<{ + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }>; -export type raw_eventsResolvers = ResolversObject<{ - block_hash?: Resolver; - block_number?: Resolver; - block_timestamp?: Resolver; - chain_id?: Resolver; +export type ContestTemplateResolvers = ResolversObject<{ + active?: Resolver; + contestAddress?: Resolver; + contestVersion?: 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; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: 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 ERCPointParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteTokenAddress?: Resolver; + votingCheckpoint?: Resolver; __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 EnvioTXResolvers = ResolversObject<{ + blockNumber?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + srcAddress?: Resolver; + txHash?: Resolver; + txOrigin?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}>; -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 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 GameManagerResolvers = ResolversObject<{ - id?: Resolver; - poolId?: Resolver; - gameFacilitatorId?: Resolver; - rootAccount?: Resolver; - tokenAddress?: Resolver; - currentRoundId?: Resolver; - currentRound?: Resolver, ParentType, ContextType>; - poolFunds?: Resolver; +export type HALParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: 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 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 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 LocalLogResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + message?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; -export type GmVersionResolvers = ResolversObject<{ - id?: Resolver; - name?: Resolver; - address?: 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 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 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 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 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; + isRectractVote?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voter?: 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; @@ -8569,8 +8589,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; @@ -8585,42 +8603,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'; @@ -8629,10 +8621,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: @@ -8680,7 +8672,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/c8f8ea8/v1/graphql"}, baseDir, cache, pubsub, diff --git a/src/.graphclient/schema.graphql b/src/.graphclient/schema.graphql index d054478d..34d15c2a 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,442 +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: "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! """ @@ -952,9 +517,6 @@ type Query { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ -} - -type Subscription { """ fetch data from the table: "Contest" """ @@ -988,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( @@ -1015,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( @@ -1057,17 +586,6 @@ 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" """ EnvioTX( @@ -1085,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( @@ -1113,18 +620,7 @@ 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" + fetch data from the table: "FactoryEventsSummary" """ FactoryEventsSummary( """distinct select on columns""" @@ -1143,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: "GrantShipsVoting" """ GrantShipsVoting( @@ -1173,17 +658,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( @@ -1201,17 +675,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( @@ -1229,17 +692,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( @@ -1257,17 +709,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( @@ -1285,17 +726,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( @@ -1313,17 +743,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( @@ -1341,17 +760,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( @@ -1369,17 +777,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( @@ -1397,17 +794,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( @@ -1425,17 +811,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( @@ -1453,17 +828,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( @@ -1483,17 +847,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( @@ -1530,28 +883,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( @@ -1570,17 +901,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( """ @@ -1616,17 +936,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( @@ -1643,17 +952,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! """ @@ -2150,2860 +1451,548 @@ 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 "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! - isRectractVote: Boolean! - mdPointer: String! - mdProtocol: numeric! - voter: 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 - isRectractVote: Boolean_comparison_exp - mdPointer: String_comparison_exp - mdProtocol: numeric_comparison_exp - voter: 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: 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: 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 -} - -""" -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""" - isRectractVote - """column name""" - mdPointer - """column name""" - mdProtocol - """column name""" - voter -} - -""" -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 - isRectractVote: Boolean - mdPointer: String - mdProtocol: numeric - voter: 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: "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""" @@ -5015,145 +2004,152 @@ 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! -} - -""" -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 -} - -"""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 -} - -""" -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 -} - -""" -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 -} - -"""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 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!] + """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 { @@ -5324,25 +2320,440 @@ input FeedItemEmbed_filter { content_not_ends_with_nocase: String """Filter for the block changed event.""" _change_block: BlockChangedFilter - and: [FeedItemEmbed_filter] - or: [FeedItemEmbed_filter] + 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 FeedItemEmbed_orderBy { +enum GameManager_orderBy { id - key - pointer - protocol - content + 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 FeedItemEntity { +type GameRound { id: ID! - name: String! - type: String! + 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 FeedItemEntity_filter { +input GameRound_filter { id: ID id_not: ID id_gt: ID @@ -5351,59 +2762,116 @@ 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 + 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: [FeedItemEntity_filter] - or: [FeedItemEntity_filter] + and: [GameRound_filter] + or: [GameRound_filter] } -enum FeedItemEntity_orderBy { +enum GameRound_orderBy { id - name - type + startTime + endTime + totalRoundAmount + totalAllocatedAmount + totalDistributedAmount + gameStatus + ships + isGameActive + realStartTime + realEndTime } -input FeedItem_filter { +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 @@ -5412,6 +2880,55 @@ input FeedItem_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 @@ -5420,219 +2937,221 @@ input FeedItem_filter { 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 + 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: [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 @@ -5643,6 +3162,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 @@ -5651,113 +3428,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 @@ -5766,116 +3875,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 @@ -5884,163 +3966,75 @@ 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: [GmDeployment_filter] - or: [GmDeployment_filter] + and: [Milestone_filter] + or: [Milestone_filter] } -enum GmDeployment_orderBy { +enum Milestone_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 + amountPercentage + mmetadata + amount + status + lastUpdated } -type GmVersion { +"""Defines the order direction, either ascending or descending""" +enum OrderDirection { + asc + desc +} + +type PoolIdLookup { id: ID! - name: String! - address: Bytes! + entityId: Bytes! } -input GmVersion_filter { +input PoolIdLookup_filter { id: ID id_not: ID id_gt: ID @@ -6049,113 +4043,125 @@ 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 + 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: [GmVersion_filter] - or: [GmVersion_filter] + and: [PoolIdLookup_filter] + or: [PoolIdLookup_filter] } -enum GmVersion_orderBy { +enum PoolIdLookup_orderBy { id - name - address + entityId } -type Grant { +type ProfileIdToAnchor { 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!]! + profileId: Bytes! + anchor: Bytes! } -type GrantShip { +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] +} + +enum ProfileIdToAnchor_orderBy { + id + profileId + anchor +} + +type ProfileMemberGroup { + id: Bytes! + addresses: [Bytes!] +} + +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 @@ -6176,6 +4182,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 @@ -6204,27 +4218,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 @@ -6242,1395 +4256,3385 @@ input GrantShip_filter { 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!] + 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] +} + +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: [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: [GrantShip_filter] - or: [GrantShip_filter] + 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 "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! + isRectractVote: Boolean! + mdPointer: String! + mdProtocol: numeric! + voter: 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 + isRectractVote: Boolean_comparison_exp + mdPointer: String_comparison_exp + mdProtocol: numeric_comparison_exp + voter: 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: 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: 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 +} + +""" +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""" + isRectractVote + """column name""" + mdPointer + """column name""" + mdProtocol + """column name""" + voter +} + +""" +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 + isRectractVote: Boolean + mdPointer: String + mdProtocol: numeric + voter: 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 4e49b3d5..c1324acc 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": [] @@ -8646,10 +8658,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" + } + } } } }, @@ -8949,7 +8967,7 @@ const schemaAST = { "kind": "NamedType", "name": { "kind": "Name", - "value": "_numeric_comparison_exp" + "value": "numeric_array_comparison_exp" } }, "directives": [] @@ -9266,10 +9284,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": [] @@ -16787,35 +16811,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": [] @@ -16824,33 +16870,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": [] @@ -16859,7 +16912,7 @@ const schemaAST = { "kind": "InputValueDefinition", "name": { "kind": "Name", - "value": "_in" + "value": "_gte" }, "type": { "kind": "ListType", @@ -16878,20 +16931,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": [] @@ -16913,20 +16973,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": [] @@ -16935,13 +16996,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": [] @@ -16950,13 +17017,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": [] @@ -16965,27 +17038,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", @@ -17000,7 +17095,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", @@ -17551,347 +17837,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": [] @@ -24666,6 +24612,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 29097b5c..2d23e52e 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 @@ -952,7 +952,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 +979,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 @@ -1022,7 +1022,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 } @@ -1898,6 +1898,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'. """ @@ -1998,40 +2017,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" """ @@ -2746,6 +2731,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 8c6e11b2..37d13cea 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; @@ -848,7 +846,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 */ @@ -882,7 +880,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; @@ -920,7 +918,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; }; @@ -1673,6 +1671,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; @@ -1754,32 +1769,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']; @@ -2417,6 +2406,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 8a53b108..374c85eb 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: '0xEa246dc795832Abc76110066EE4d8D5EC88b4756', + VOTE_CONTEST: '0x7DBce100202fd643a41E3c5Eee74CEe7D185750E', } as const; export const ADDR_PROD: Record = { diff --git a/src/queries/getRecordsByTag.ts b/src/queries/getRecordsByTag.ts index 15c43663..4dfa25c1 100644 --- a/src/queries/getRecordsByTag.ts +++ b/src/queries/getRecordsByTag.ts @@ -6,6 +6,8 @@ import { resolvePortfolioReport } from '../resolvers/grantResolvers'; export type PostedRecord = { roundReview: string; grantReviews: Record; + grantDemos: Record; + grantExtras: Record; }; export const getAllRecordsByTag = async (tag: string) => {