diff --git a/.graphclientrc.yml b/.graphclientrc.yml index d4408a17..aa8a2d36 100644 --- a/.graphclientrc.yml +++ b/.graphclientrc.yml @@ -3,5 +3,9 @@ sources: handler: graphql: endpoint: https://{context.apiEndpoint:api.studio.thegraph.com/query/41101/grant-ships-arb/version/latest} + - name: gs-voting + handler: + 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 42432693..7c714d4f 100644 --- a/src/.graphclient/index.ts +++ b/src/.graphclient/index.ts @@ -13,7 +13,7 @@ import { fetch as fetchFn } from '@whatwg-node/fetch'; import { MeshResolvedSource } from '@graphql-mesh/runtime'; import { MeshTransform, MeshPlugin } from '@graphql-mesh/types'; import GraphqlHandler from "@graphql-mesh/graphql" -import BareMerger from "@graphql-mesh/merger-bare"; +import StitchingMerger from "@graphql-mesh/merger-stitching"; import { printWithCache } from '@graphql-mesh/utils'; import { createMeshHTTPHandler, MeshHTTPHandler } from '@graphql-mesh/http'; import { getMesh, ExecuteMeshFn, SubscribeMeshFn, MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime'; @@ -21,7 +21,9 @@ import { MeshStore, FsStoreStorageAdapter } from '@graphql-mesh/store'; import { path as pathModule } from '@graphql-mesh/cross-helpers'; import { ImportFn } from '@graphql-mesh/types'; import type { GrantShipsTypes } from './sources/grant-ships/types'; +import type { GsVotingTypes } from './sources/gs-voting/types'; import * as importedModule$0 from "./sources/grant-ships/introspectionSchema"; +import * as importedModule$1 from "./sources/gs-voting/introspectionSchema"; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; @@ -42,2210 +44,863 @@ export type Scalars = { BigInt: any; Bytes: any; Int8: any; + Timestamp: any; + contract_type: any; + entity_type: any; + event_type: any; + json: any; + numeric: any; + timestamp: any; + timestamptz: any; }; -export type ApplicationHistory = { +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" */ + ContestClone: Array; + /** fetch data from the table: "ContestClone" using primary key columns */ + ContestClone_by_pk?: Maybe; + /** fetch data from the table: "ContestTemplate" */ + ContestTemplate: Array; + /** fetch data from the table: "ContestTemplate" using primary key columns */ + ContestTemplate_by_pk?: Maybe; + /** fetch data from the table: "Contest" using primary key columns */ + Contest_by_pk?: Maybe; + /** fetch data from the table: "ERCPointParams" */ + ERCPointParams: Array; + /** fetch data from the table: "ERCPointParams" using primary key columns */ + ERCPointParams_by_pk?: Maybe; + /** fetch data from the table: "EnvioTX" */ + EnvioTX: Array; + /** fetch data from the table: "EnvioTX" using primary key columns */ + EnvioTX_by_pk?: Maybe; + /** fetch data from the table: "EventPost" */ + EventPost: Array; + /** fetch data from the table: "EventPost" using primary key columns */ + EventPost_by_pk?: Maybe; + /** fetch data from the table: "FactoryEventsSummary" */ + FactoryEventsSummary: Array; + /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ + FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table: "GrantShipsVoting" */ + GrantShipsVoting: Array; + /** fetch data from the table: "GrantShipsVoting" using primary key columns */ + GrantShipsVoting_by_pk?: Maybe; + /** fetch data from the table: "HALParams" */ + HALParams: Array; + /** fetch data from the table: "HALParams" using primary key columns */ + HALParams_by_pk?: Maybe; + /** fetch data from the table: "HatsPoster" */ + HatsPoster: Array; + /** fetch data from the table: "HatsPoster" using primary key columns */ + HatsPoster_by_pk?: Maybe; + /** fetch data from the table: "LocalLog" */ + LocalLog: Array; + /** fetch data from the table: "LocalLog" using primary key columns */ + LocalLog_by_pk?: Maybe; + /** fetch data from the table: "ModuleTemplate" */ + ModuleTemplate: Array; + /** fetch data from the table: "ModuleTemplate" using primary key columns */ + ModuleTemplate_by_pk?: Maybe; + /** fetch data from the table: "Record" */ + Record: Array; + /** fetch data from the table: "Record" using primary key columns */ + Record_by_pk?: Maybe; + /** fetch data from the table: "ShipChoice" */ + ShipChoice: Array; + /** fetch data from the table: "ShipChoice" using primary key columns */ + ShipChoice_by_pk?: Maybe; + /** fetch data from the table: "ShipVote" */ + ShipVote: Array; + /** fetch data from the table: "ShipVote" using primary key columns */ + ShipVote_by_pk?: Maybe; + /** fetch data from the table: "StemModule" */ + StemModule: Array; + /** fetch data from the table: "StemModule" using primary key columns */ + StemModule_by_pk?: Maybe; + /** fetch data from the table: "TVParams" */ + TVParams: Array; + /** fetch data from the table: "TVParams" using primary key columns */ + TVParams_by_pk?: Maybe; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: Array; + /** fetch data from the table: "chain_metadata" using primary key columns */ + chain_metadata_by_pk?: Maybe; + /** fetch data from the table: "dynamic_contract_registry" */ + dynamic_contract_registry: Array; + /** fetch data from the table: "dynamic_contract_registry" using primary key columns */ + dynamic_contract_registry_by_pk?: Maybe; + /** fetch data from the table: "entity_history" */ + entity_history: Array; + /** fetch data from the table: "entity_history" using primary key columns */ + entity_history_by_pk?: Maybe; + /** fetch data from the table: "entity_history_filter" */ + entity_history_filter: Array; + /** fetch data from the table: "entity_history_filter" using primary key columns */ + entity_history_filter_by_pk?: Maybe; + /** fetch data from the table: "event_sync_state" */ + event_sync_state: Array; + /** fetch data from the table: "event_sync_state" using primary key columns */ + event_sync_state_by_pk?: Maybe; + /** This function helps search for articles */ + get_entity_history_filter: Array; + /** fetch data from the table: "persisted_state" */ + persisted_state: Array; + /** fetch data from the table: "persisted_state" using primary key columns */ + persisted_state_by_pk?: Maybe; + /** fetch data from the table: "raw_events" */ + raw_events: Array; + /** fetch data from the table: "raw_events" using primary key columns */ + raw_events_by_pk?: Maybe; +}; + + +export type QueryprojectArgs = { id: Scalars['ID']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ApplicationHistory_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryprojectsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ApplicationHistory_orderBy = - | 'id' - | 'grantApplicationBytes' - | 'applicationSubmitted'; -export type BlockChangedFilter = { - number_gte: Scalars['Int']; +export type QueryfeedItemArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Block_height = { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; + +export type QueryfeedItemsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItem = { + +export type QueryfeedItemEntityArgs = { 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; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed = { + +export type QueryfeedItemEntitiesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QueryfeedItemEmbedArgs = { id: Scalars['ID']; - key?: Maybe; - pointer?: Maybe; - protocol?: Maybe; - content?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - key?: InputMaybe; - key_not?: InputMaybe; - key_gt?: InputMaybe; - key_lt?: InputMaybe; - key_gte?: InputMaybe; - key_lte?: InputMaybe; - key_in?: InputMaybe>; - key_not_in?: InputMaybe>; - key_contains?: InputMaybe; - key_contains_nocase?: InputMaybe; - key_not_contains?: InputMaybe; - key_not_contains_nocase?: InputMaybe; - key_starts_with?: InputMaybe; - key_starts_with_nocase?: InputMaybe; - key_not_starts_with?: InputMaybe; - key_not_starts_with_nocase?: InputMaybe; - key_ends_with?: InputMaybe; - key_ends_with_nocase?: InputMaybe; - key_not_ends_with?: InputMaybe; - key_not_ends_with_nocase?: InputMaybe; - pointer?: InputMaybe; - pointer_not?: InputMaybe; - pointer_gt?: InputMaybe; - pointer_lt?: InputMaybe; - pointer_gte?: InputMaybe; - pointer_lte?: InputMaybe; - pointer_in?: InputMaybe>; - pointer_not_in?: InputMaybe>; - pointer_contains?: InputMaybe; - pointer_contains_nocase?: InputMaybe; - pointer_not_contains?: InputMaybe; - pointer_not_contains_nocase?: InputMaybe; - pointer_starts_with?: InputMaybe; - pointer_starts_with_nocase?: InputMaybe; - pointer_not_starts_with?: InputMaybe; - pointer_not_starts_with_nocase?: InputMaybe; - pointer_ends_with?: InputMaybe; - pointer_ends_with_nocase?: InputMaybe; - pointer_not_ends_with?: InputMaybe; - pointer_not_ends_with_nocase?: InputMaybe; - protocol?: InputMaybe; - protocol_not?: InputMaybe; - protocol_gt?: InputMaybe; - protocol_lt?: InputMaybe; - protocol_gte?: InputMaybe; - protocol_lte?: InputMaybe; - protocol_in?: InputMaybe>; - protocol_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryfeedItemEmbedsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEmbed_orderBy = - | 'id' - | 'key' - | 'pointer' - | 'protocol' - | 'content'; -export type FeedItemEntity = { +export type QueryupdateArgs = { id: Scalars['ID']; - name: Scalars['String']; - type: Scalars['String']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEntity_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryupdatesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItemEntity_orderBy = - | 'id' - | 'name' - | 'type'; -export type FeedItem_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - content?: InputMaybe; - content_not?: InputMaybe; - content_gt?: InputMaybe; - content_lt?: InputMaybe; - content_gte?: InputMaybe; - content_lte?: InputMaybe; - content_in?: InputMaybe>; - content_not_in?: InputMaybe>; - content_contains?: InputMaybe; - content_contains_nocase?: InputMaybe; - content_not_contains?: InputMaybe; - content_not_contains_nocase?: InputMaybe; - content_starts_with?: InputMaybe; - content_starts_with_nocase?: InputMaybe; - content_not_starts_with?: InputMaybe; - content_not_starts_with_nocase?: InputMaybe; - content_ends_with?: InputMaybe; - content_ends_with_nocase?: InputMaybe; - content_not_ends_with?: InputMaybe; - content_not_ends_with_nocase?: InputMaybe; - sender?: InputMaybe; - sender_not?: InputMaybe; - sender_gt?: InputMaybe; - sender_lt?: InputMaybe; - sender_gte?: InputMaybe; - sender_lte?: InputMaybe; - sender_in?: InputMaybe>; - sender_not_in?: InputMaybe>; - sender_contains?: InputMaybe; - sender_not_contains?: InputMaybe; - tag?: InputMaybe; - tag_not?: InputMaybe; - tag_gt?: InputMaybe; - tag_lt?: InputMaybe; - tag_gte?: InputMaybe; - tag_lte?: InputMaybe; - tag_in?: InputMaybe>; - tag_not_in?: InputMaybe>; - tag_contains?: InputMaybe; - tag_contains_nocase?: InputMaybe; - tag_not_contains?: InputMaybe; - tag_not_contains_nocase?: InputMaybe; - tag_starts_with?: InputMaybe; - tag_starts_with_nocase?: InputMaybe; - tag_not_starts_with?: InputMaybe; - tag_not_starts_with_nocase?: InputMaybe; - tag_ends_with?: InputMaybe; - tag_ends_with_nocase?: InputMaybe; - tag_not_ends_with?: InputMaybe; - tag_not_ends_with_nocase?: InputMaybe; - subjectMetadataPointer?: InputMaybe; - subjectMetadataPointer_not?: InputMaybe; - subjectMetadataPointer_gt?: InputMaybe; - subjectMetadataPointer_lt?: InputMaybe; - subjectMetadataPointer_gte?: InputMaybe; - subjectMetadataPointer_lte?: InputMaybe; - subjectMetadataPointer_in?: InputMaybe>; - subjectMetadataPointer_not_in?: InputMaybe>; - subjectMetadataPointer_contains?: InputMaybe; - subjectMetadataPointer_contains_nocase?: InputMaybe; - subjectMetadataPointer_not_contains?: InputMaybe; - subjectMetadataPointer_not_contains_nocase?: InputMaybe; - subjectMetadataPointer_starts_with?: InputMaybe; - subjectMetadataPointer_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_not_starts_with?: InputMaybe; - subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; - subjectMetadataPointer_ends_with?: InputMaybe; - subjectMetadataPointer_ends_with_nocase?: InputMaybe; - subjectMetadataPointer_not_ends_with?: InputMaybe; - subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; - subjectId?: InputMaybe; - subjectId_not?: InputMaybe; - subjectId_gt?: InputMaybe; - subjectId_lt?: InputMaybe; - subjectId_gte?: InputMaybe; - subjectId_lte?: InputMaybe; - subjectId_in?: InputMaybe>; - subjectId_not_in?: InputMaybe>; - objectId?: InputMaybe; - objectId_not?: InputMaybe; - objectId_gt?: InputMaybe; - objectId_lt?: InputMaybe; - objectId_gte?: InputMaybe; - objectId_lte?: InputMaybe; - objectId_in?: InputMaybe>; - objectId_not_in?: InputMaybe>; - subject?: InputMaybe; - subject_not?: InputMaybe; - subject_gt?: InputMaybe; - subject_lt?: InputMaybe; - subject_gte?: InputMaybe; - subject_lte?: InputMaybe; - subject_in?: InputMaybe>; - subject_not_in?: InputMaybe>; - subject_contains?: InputMaybe; - subject_contains_nocase?: InputMaybe; - subject_not_contains?: InputMaybe; - subject_not_contains_nocase?: InputMaybe; - subject_starts_with?: InputMaybe; - subject_starts_with_nocase?: InputMaybe; - subject_not_starts_with?: InputMaybe; - subject_not_starts_with_nocase?: InputMaybe; - subject_ends_with?: InputMaybe; - subject_ends_with_nocase?: InputMaybe; - subject_not_ends_with?: InputMaybe; - subject_not_ends_with_nocase?: InputMaybe; - subject_?: InputMaybe; - object?: InputMaybe; - object_not?: InputMaybe; - object_gt?: InputMaybe; - object_lt?: InputMaybe; - object_gte?: InputMaybe; - object_lte?: InputMaybe; - object_in?: InputMaybe>; - object_not_in?: InputMaybe>; - object_contains?: InputMaybe; - object_contains_nocase?: InputMaybe; - object_not_contains?: InputMaybe; - object_not_contains_nocase?: InputMaybe; - object_starts_with?: InputMaybe; - object_starts_with_nocase?: InputMaybe; - object_not_starts_with?: InputMaybe; - object_not_starts_with_nocase?: InputMaybe; - object_ends_with?: InputMaybe; - object_ends_with_nocase?: InputMaybe; - object_not_ends_with?: InputMaybe; - object_not_ends_with_nocase?: InputMaybe; - object_?: InputMaybe; - embed?: InputMaybe; - embed_not?: InputMaybe; - embed_gt?: InputMaybe; - embed_lt?: InputMaybe; - embed_gte?: InputMaybe; - embed_lte?: InputMaybe; - embed_in?: InputMaybe>; - embed_not_in?: InputMaybe>; - embed_contains?: InputMaybe; - embed_contains_nocase?: InputMaybe; - embed_not_contains?: InputMaybe; - embed_not_contains_nocase?: InputMaybe; - embed_starts_with?: InputMaybe; - embed_starts_with_nocase?: InputMaybe; - embed_not_starts_with?: InputMaybe; - embed_not_starts_with_nocase?: InputMaybe; - embed_ends_with?: InputMaybe; - embed_ends_with_nocase?: InputMaybe; - embed_not_ends_with?: InputMaybe; - embed_not_ends_with_nocase?: InputMaybe; - embed_?: InputMaybe; - details?: InputMaybe; - details_not?: InputMaybe; - details_gt?: InputMaybe; - details_lt?: InputMaybe; - details_gte?: InputMaybe; - details_lte?: InputMaybe; - details_in?: InputMaybe>; - details_not_in?: InputMaybe>; - details_contains?: InputMaybe; - details_contains_nocase?: InputMaybe; - details_not_contains?: InputMaybe; - details_not_contains_nocase?: InputMaybe; - details_starts_with?: InputMaybe; - details_starts_with_nocase?: InputMaybe; - details_not_starts_with?: InputMaybe; - details_not_starts_with_nocase?: InputMaybe; - details_ends_with?: InputMaybe; - details_ends_with_nocase?: InputMaybe; - details_not_ends_with?: InputMaybe; - details_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +export type QuerygrantShipArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type FeedItem_orderBy = - | 'id' - | 'timestamp' - | 'content' - | 'sender' - | 'tag' - | 'subjectMetadataPointer' - | 'subjectId' - | 'objectId' - | 'subject' - | 'subject__id' - | 'subject__name' - | 'subject__type' - | 'object' - | 'object__id' - | 'object__name' - | 'object__type' - | 'embed' - | 'embed__id' - | 'embed__key' - | 'embed__pointer' - | 'embed__protocol' - | 'embed__content' - | 'details'; -export type GameManager = { - id: Scalars['Bytes']; - poolId: Scalars['BigInt']; - gameFacilitatorId: Scalars['BigInt']; - rootAccount: Scalars['Bytes']; - tokenAddress: Scalars['Bytes']; - currentRoundId: Scalars['BigInt']; - currentRound?: Maybe; - poolFunds: Scalars['BigInt']; +export type QuerygrantShipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameManager_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - gameFacilitatorId?: InputMaybe; - gameFacilitatorId_not?: InputMaybe; - gameFacilitatorId_gt?: InputMaybe; - gameFacilitatorId_lt?: InputMaybe; - gameFacilitatorId_gte?: InputMaybe; - gameFacilitatorId_lte?: InputMaybe; - gameFacilitatorId_in?: InputMaybe>; - gameFacilitatorId_not_in?: InputMaybe>; - rootAccount?: InputMaybe; - rootAccount_not?: InputMaybe; - rootAccount_gt?: InputMaybe; - rootAccount_lt?: InputMaybe; - rootAccount_gte?: InputMaybe; - rootAccount_lte?: InputMaybe; - rootAccount_in?: InputMaybe>; - rootAccount_not_in?: InputMaybe>; - rootAccount_contains?: InputMaybe; - rootAccount_not_contains?: InputMaybe; - tokenAddress?: InputMaybe; - tokenAddress_not?: InputMaybe; - tokenAddress_gt?: InputMaybe; - tokenAddress_lt?: InputMaybe; - tokenAddress_gte?: InputMaybe; - tokenAddress_lte?: InputMaybe; - tokenAddress_in?: InputMaybe>; - tokenAddress_not_in?: InputMaybe>; - tokenAddress_contains?: InputMaybe; - tokenAddress_not_contains?: InputMaybe; - currentRoundId?: InputMaybe; - currentRoundId_not?: InputMaybe; - currentRoundId_gt?: InputMaybe; - currentRoundId_lt?: InputMaybe; - currentRoundId_gte?: InputMaybe; - currentRoundId_lte?: InputMaybe; - currentRoundId_in?: InputMaybe>; - currentRoundId_not_in?: InputMaybe>; - currentRound?: InputMaybe; - currentRound_not?: InputMaybe; - currentRound_gt?: InputMaybe; - currentRound_lt?: InputMaybe; - currentRound_gte?: InputMaybe; - currentRound_lte?: InputMaybe; - currentRound_in?: InputMaybe>; - currentRound_not_in?: InputMaybe>; - currentRound_contains?: InputMaybe; - currentRound_contains_nocase?: InputMaybe; - currentRound_not_contains?: InputMaybe; - currentRound_not_contains_nocase?: InputMaybe; - currentRound_starts_with?: InputMaybe; - currentRound_starts_with_nocase?: InputMaybe; - currentRound_not_starts_with?: InputMaybe; - currentRound_not_starts_with_nocase?: InputMaybe; - currentRound_ends_with?: InputMaybe; - currentRound_ends_with_nocase?: InputMaybe; - currentRound_not_ends_with?: InputMaybe; - currentRound_not_ends_with_nocase?: InputMaybe; - currentRound_?: InputMaybe; - poolFunds?: InputMaybe; - poolFunds_not?: InputMaybe; - poolFunds_gt?: InputMaybe; - poolFunds_lt?: InputMaybe; - poolFunds_gte?: InputMaybe; - poolFunds_lte?: InputMaybe; - poolFunds_in?: InputMaybe>; - poolFunds_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerypoolIdLookupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameManager_orderBy = - | 'id' - | 'poolId' - | 'gameFacilitatorId' - | 'rootAccount' - | 'tokenAddress' - | 'currentRoundId' - | 'currentRound' - | 'currentRound__id' - | 'currentRound__startTime' - | 'currentRound__endTime' - | 'currentRound__totalRoundAmount' - | 'currentRound__totalAllocatedAmount' - | 'currentRound__totalDistributedAmount' - | 'currentRound__gameStatus' - | 'currentRound__isGameActive' - | 'currentRound__realStartTime' - | 'currentRound__realEndTime' - | 'poolFunds'; -export type GameRound = { +export type QuerypoolIdLookupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QuerygameManagerArgs = { id: Scalars['ID']; - startTime: Scalars['BigInt']; - endTime: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocatedAmount: Scalars['BigInt']; - totalDistributedAmount: Scalars['BigInt']; - gameStatus: Scalars['Int']; - ships: Array; - isGameActive: Scalars['Boolean']; - realStartTime?: Maybe; - realEndTime?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRoundshipsArgs = { +export type QuerygameManagersArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRound_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - startTime?: InputMaybe; - startTime_not?: InputMaybe; - startTime_gt?: InputMaybe; - startTime_lt?: InputMaybe; - startTime_gte?: InputMaybe; - startTime_lte?: InputMaybe; - startTime_in?: InputMaybe>; - startTime_not_in?: InputMaybe>; - endTime?: InputMaybe; - endTime_not?: InputMaybe; - endTime_gt?: InputMaybe; - endTime_lt?: InputMaybe; - endTime_gte?: InputMaybe; - endTime_lte?: InputMaybe; - endTime_in?: InputMaybe>; - endTime_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocatedAmount?: InputMaybe; - totalAllocatedAmount_not?: InputMaybe; - totalAllocatedAmount_gt?: InputMaybe; - totalAllocatedAmount_lt?: InputMaybe; - totalAllocatedAmount_gte?: InputMaybe; - totalAllocatedAmount_lte?: InputMaybe; - totalAllocatedAmount_in?: InputMaybe>; - totalAllocatedAmount_not_in?: InputMaybe>; - totalDistributedAmount?: InputMaybe; - totalDistributedAmount_not?: InputMaybe; - totalDistributedAmount_gt?: InputMaybe; - totalDistributedAmount_lt?: InputMaybe; - totalDistributedAmount_gte?: InputMaybe; - totalDistributedAmount_lte?: InputMaybe; - totalDistributedAmount_in?: InputMaybe>; - totalDistributedAmount_not_in?: InputMaybe>; - gameStatus?: InputMaybe; - gameStatus_not?: InputMaybe; - gameStatus_gt?: InputMaybe; - gameStatus_lt?: InputMaybe; - gameStatus_gte?: InputMaybe; - gameStatus_lte?: InputMaybe; - gameStatus_in?: InputMaybe>; - gameStatus_not_in?: InputMaybe>; - ships?: InputMaybe>; - ships_not?: InputMaybe>; - ships_contains?: InputMaybe>; - ships_contains_nocase?: InputMaybe>; - ships_not_contains?: InputMaybe>; - ships_not_contains_nocase?: InputMaybe>; - ships_?: InputMaybe; - isGameActive?: InputMaybe; - isGameActive_not?: InputMaybe; - isGameActive_in?: InputMaybe>; - isGameActive_not_in?: InputMaybe>; - realStartTime?: InputMaybe; - realStartTime_not?: InputMaybe; - realStartTime_gt?: InputMaybe; - realStartTime_lt?: InputMaybe; - realStartTime_gte?: InputMaybe; - realStartTime_lte?: InputMaybe; - realStartTime_in?: InputMaybe>; - realStartTime_not_in?: InputMaybe>; - realEndTime?: InputMaybe; - realEndTime_not?: InputMaybe; - realEndTime_gt?: InputMaybe; - realEndTime_lt?: InputMaybe; - realEndTime_gte?: InputMaybe; - realEndTime_lte?: InputMaybe; - realEndTime_in?: InputMaybe>; - realEndTime_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerygameRoundArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GameRound_orderBy = - | 'id' - | 'startTime' - | 'endTime' - | 'totalRoundAmount' - | 'totalAllocatedAmount' - | 'totalDistributedAmount' - | 'gameStatus' - | 'ships' - | 'isGameActive' - | 'realStartTime' - | 'realEndTime'; -export type GmDeployment = { +export type QuerygameRoundsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QueryapplicationHistoryArgs = { id: Scalars['ID']; - address: Scalars['Bytes']; - version: GmVersion; - blockNumber: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - timestamp: Scalars['BigInt']; - hasPool: Scalars['Boolean']; - poolId?: Maybe; - profileId: Scalars['Bytes']; - poolMetadata: RawMetadata; - poolProfileMetadata: RawMetadata; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmDeployment_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; - version?: InputMaybe; - version_not?: InputMaybe; - version_gt?: InputMaybe; - version_lt?: InputMaybe; - version_gte?: InputMaybe; - version_lte?: InputMaybe; - version_in?: InputMaybe>; - version_not_in?: InputMaybe>; - version_contains?: InputMaybe; - version_contains_nocase?: InputMaybe; - version_not_contains?: InputMaybe; - version_not_contains_nocase?: InputMaybe; - version_starts_with?: InputMaybe; - version_starts_with_nocase?: InputMaybe; - version_not_starts_with?: InputMaybe; - version_not_starts_with_nocase?: InputMaybe; - version_ends_with?: InputMaybe; - version_ends_with_nocase?: InputMaybe; - version_not_ends_with?: InputMaybe; - version_not_ends_with_nocase?: InputMaybe; - version_?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - timestamp?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_lt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_not_in?: InputMaybe>; - hasPool?: InputMaybe; - hasPool_not?: InputMaybe; - hasPool_in?: InputMaybe>; - hasPool_not_in?: InputMaybe>; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - poolMetadata?: InputMaybe; - poolMetadata_not?: InputMaybe; - poolMetadata_gt?: InputMaybe; - poolMetadata_lt?: InputMaybe; - poolMetadata_gte?: InputMaybe; - poolMetadata_lte?: InputMaybe; - poolMetadata_in?: InputMaybe>; - poolMetadata_not_in?: InputMaybe>; - poolMetadata_contains?: InputMaybe; - poolMetadata_contains_nocase?: InputMaybe; - poolMetadata_not_contains?: InputMaybe; - poolMetadata_not_contains_nocase?: InputMaybe; - poolMetadata_starts_with?: InputMaybe; - poolMetadata_starts_with_nocase?: InputMaybe; - poolMetadata_not_starts_with?: InputMaybe; - poolMetadata_not_starts_with_nocase?: InputMaybe; - poolMetadata_ends_with?: InputMaybe; - poolMetadata_ends_with_nocase?: InputMaybe; - poolMetadata_not_ends_with?: InputMaybe; - poolMetadata_not_ends_with_nocase?: InputMaybe; - poolMetadata_?: InputMaybe; - poolProfileMetadata?: InputMaybe; - poolProfileMetadata_not?: InputMaybe; - poolProfileMetadata_gt?: InputMaybe; - poolProfileMetadata_lt?: InputMaybe; - poolProfileMetadata_gte?: InputMaybe; - poolProfileMetadata_lte?: InputMaybe; - poolProfileMetadata_in?: InputMaybe>; - poolProfileMetadata_not_in?: InputMaybe>; - poolProfileMetadata_contains?: InputMaybe; - poolProfileMetadata_contains_nocase?: InputMaybe; - poolProfileMetadata_not_contains?: InputMaybe; - poolProfileMetadata_not_contains_nocase?: InputMaybe; - poolProfileMetadata_starts_with?: InputMaybe; - poolProfileMetadata_starts_with_nocase?: InputMaybe; - poolProfileMetadata_not_starts_with?: InputMaybe; - poolProfileMetadata_not_starts_with_nocase?: InputMaybe; - poolProfileMetadata_ends_with?: InputMaybe; - poolProfileMetadata_ends_with_nocase?: InputMaybe; - poolProfileMetadata_not_ends_with?: InputMaybe; - poolProfileMetadata_not_ends_with_nocase?: InputMaybe; - poolProfileMetadata_?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryapplicationHistoriesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmDeployment_orderBy = - | 'id' - | 'address' - | 'version' - | 'version__id' - | 'version__name' - | 'version__address' - | 'blockNumber' - | 'transactionHash' - | 'timestamp' - | 'hasPool' - | 'poolId' - | 'profileId' - | 'poolMetadata' - | 'poolMetadata__id' - | 'poolMetadata__protocol' - | 'poolMetadata__pointer' - | 'poolProfileMetadata' - | 'poolProfileMetadata__id' - | 'poolProfileMetadata__protocol' - | 'poolProfileMetadata__pointer'; -export type GmVersion = { +export type QuerygrantArgs = { id: Scalars['ID']; - name: Scalars['String']; - address: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmVersion_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - address?: InputMaybe; - address_not?: InputMaybe; - address_gt?: InputMaybe; - address_lt?: InputMaybe; - address_gte?: InputMaybe; - address_lte?: InputMaybe; - address_in?: InputMaybe>; - address_not_in?: InputMaybe>; - address_contains?: InputMaybe; - address_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerygrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GmVersion_orderBy = - | 'id' - | 'name' - | 'address'; -export type Grant = { +export type QuerymilestoneArgs = { id: Scalars['ID']; - projectId: Project; - shipId: GrantShip; - lastUpdated: Scalars['BigInt']; - hasResubmitted: Scalars['Boolean']; - grantStatus: Scalars['Int']; - grantApplicationBytes: Scalars['Bytes']; - applicationSubmitted: Scalars['BigInt']; - currentMilestoneIndex: Scalars['BigInt']; - milestonesAmount: Scalars['BigInt']; - milestones?: Maybe>; - shipApprovalReason?: Maybe; - hasShipApproved?: Maybe; - amtAllocated: Scalars['BigInt']; - amtDistributed: Scalars['BigInt']; - allocatedBy?: Maybe; - facilitatorReason?: Maybe; - hasFacilitatorApproved?: Maybe; - milestonesApproved?: Maybe; - milestonesApprovedReason?: Maybe; - currentMilestoneRejectedReason?: Maybe; - resubmitHistory: Array; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantmilestonesArgs = { +export type QuerymilestonesArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; orderDirection?: InputMaybe; where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantresubmitHistoryArgs = { +export type QueryprofileIdToAnchorArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QueryprofileIdToAnchorsArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip = { - id: Scalars['Bytes']; - profileId: Scalars['Bytes']; - nonce: Scalars['BigInt']; - name: Scalars['String']; - profileMetadata: RawMetadata; - owner: Scalars['Bytes']; - anchor: Scalars['Bytes']; - blockNumber: Scalars['BigInt']; - blockTimestamp: Scalars['BigInt']; - transactionHash: Scalars['Bytes']; - status: Scalars['Int']; - poolFunded: Scalars['Boolean']; - balance: Scalars['BigInt']; - shipAllocation: Scalars['BigInt']; - totalAvailableFunds: Scalars['BigInt']; - totalRoundAmount: Scalars['BigInt']; - totalAllocated: Scalars['BigInt']; - totalDistributed: Scalars['BigInt']; - grants: Array; - alloProfileMembers?: Maybe; - shipApplicationBytesData?: Maybe; - applicationSubmittedTime?: Maybe; - isAwaitingApproval?: Maybe; - hasSubmittedApplication?: Maybe; - isApproved?: Maybe; - approvedTime?: Maybe; - isRejected?: Maybe; - rejectedTime?: Maybe; - applicationReviewReason?: Maybe; - poolId?: Maybe; - hatId?: Maybe; - shipContractAddress?: Maybe; - shipLaunched?: Maybe; - poolActive?: Maybe; - isAllocated?: Maybe; - isDistributed?: Maybe; + +export type QueryprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShipgrantsArgs = { +export type QueryprofileMemberGroupsArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - nonce?: InputMaybe; - nonce_not?: InputMaybe; - nonce_gt?: InputMaybe; - nonce_lt?: InputMaybe; - nonce_gte?: InputMaybe; - nonce_lte?: InputMaybe; - nonce_in?: InputMaybe>; - nonce_not_in?: InputMaybe>; - name?: InputMaybe; - name_not?: InputMaybe; - name_gt?: InputMaybe; - name_lt?: InputMaybe; - name_gte?: InputMaybe; - name_lte?: InputMaybe; - name_in?: InputMaybe>; - name_not_in?: InputMaybe>; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - profileMetadata?: InputMaybe; - profileMetadata_not?: InputMaybe; - profileMetadata_gt?: InputMaybe; - profileMetadata_lt?: InputMaybe; - profileMetadata_gte?: InputMaybe; - profileMetadata_lte?: InputMaybe; - profileMetadata_in?: InputMaybe>; - profileMetadata_not_in?: InputMaybe>; - profileMetadata_contains?: InputMaybe; - profileMetadata_contains_nocase?: InputMaybe; - profileMetadata_not_contains?: InputMaybe; - profileMetadata_not_contains_nocase?: InputMaybe; - profileMetadata_starts_with?: InputMaybe; - profileMetadata_starts_with_nocase?: InputMaybe; - profileMetadata_not_starts_with?: InputMaybe; - profileMetadata_not_starts_with_nocase?: InputMaybe; - profileMetadata_ends_with?: InputMaybe; - profileMetadata_ends_with_nocase?: InputMaybe; - profileMetadata_not_ends_with?: InputMaybe; - profileMetadata_not_ends_with_nocase?: InputMaybe; - profileMetadata_?: InputMaybe; - owner?: InputMaybe; - owner_not?: InputMaybe; - owner_gt?: InputMaybe; - owner_lt?: InputMaybe; - owner_gte?: InputMaybe; - owner_lte?: InputMaybe; - owner_in?: InputMaybe>; - owner_not_in?: InputMaybe>; - owner_contains?: InputMaybe; - owner_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - blockNumber?: InputMaybe; - blockNumber_not?: InputMaybe; - blockNumber_gt?: InputMaybe; - blockNumber_lt?: InputMaybe; - blockNumber_gte?: InputMaybe; - blockNumber_lte?: InputMaybe; - blockNumber_in?: InputMaybe>; - blockNumber_not_in?: InputMaybe>; - blockTimestamp?: InputMaybe; - blockTimestamp_not?: InputMaybe; - blockTimestamp_gt?: InputMaybe; - blockTimestamp_lt?: InputMaybe; - blockTimestamp_gte?: InputMaybe; - blockTimestamp_lte?: InputMaybe; - blockTimestamp_in?: InputMaybe>; - blockTimestamp_not_in?: InputMaybe>; - transactionHash?: InputMaybe; - transactionHash_not?: InputMaybe; - transactionHash_gt?: InputMaybe; - transactionHash_lt?: InputMaybe; - transactionHash_gte?: InputMaybe; - transactionHash_lte?: InputMaybe; - transactionHash_in?: InputMaybe>; - transactionHash_not_in?: InputMaybe>; - transactionHash_contains?: InputMaybe; - transactionHash_not_contains?: InputMaybe; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - poolFunded?: InputMaybe; - poolFunded_not?: InputMaybe; - poolFunded_in?: InputMaybe>; - poolFunded_not_in?: InputMaybe>; - balance?: InputMaybe; - balance_not?: InputMaybe; - balance_gt?: InputMaybe; - balance_lt?: InputMaybe; - balance_gte?: InputMaybe; - balance_lte?: InputMaybe; - balance_in?: InputMaybe>; - balance_not_in?: InputMaybe>; - shipAllocation?: InputMaybe; - shipAllocation_not?: InputMaybe; - shipAllocation_gt?: InputMaybe; - shipAllocation_lt?: InputMaybe; - shipAllocation_gte?: InputMaybe; - shipAllocation_lte?: InputMaybe; - shipAllocation_in?: InputMaybe>; - shipAllocation_not_in?: InputMaybe>; - totalAvailableFunds?: InputMaybe; - totalAvailableFunds_not?: InputMaybe; - totalAvailableFunds_gt?: InputMaybe; - totalAvailableFunds_lt?: InputMaybe; - totalAvailableFunds_gte?: InputMaybe; - totalAvailableFunds_lte?: InputMaybe; - totalAvailableFunds_in?: InputMaybe>; - totalAvailableFunds_not_in?: InputMaybe>; - totalRoundAmount?: InputMaybe; - totalRoundAmount_not?: InputMaybe; - totalRoundAmount_gt?: InputMaybe; - totalRoundAmount_lt?: InputMaybe; - totalRoundAmount_gte?: InputMaybe; - totalRoundAmount_lte?: InputMaybe; - totalRoundAmount_in?: InputMaybe>; - totalRoundAmount_not_in?: InputMaybe>; - totalAllocated?: InputMaybe; - totalAllocated_not?: InputMaybe; - totalAllocated_gt?: InputMaybe; - totalAllocated_lt?: InputMaybe; - totalAllocated_gte?: InputMaybe; - totalAllocated_lte?: InputMaybe; - totalAllocated_in?: InputMaybe>; - totalAllocated_not_in?: InputMaybe>; - totalDistributed?: InputMaybe; - totalDistributed_not?: InputMaybe; - totalDistributed_gt?: InputMaybe; - totalDistributed_lt?: InputMaybe; - totalDistributed_gte?: InputMaybe; - totalDistributed_lte?: InputMaybe; - totalDistributed_in?: InputMaybe>; - totalDistributed_not_in?: InputMaybe>; - grants_?: InputMaybe; - alloProfileMembers?: InputMaybe; - alloProfileMembers_not?: InputMaybe; - alloProfileMembers_gt?: InputMaybe; - alloProfileMembers_lt?: InputMaybe; - alloProfileMembers_gte?: InputMaybe; - alloProfileMembers_lte?: InputMaybe; - alloProfileMembers_in?: InputMaybe>; - alloProfileMembers_not_in?: InputMaybe>; - alloProfileMembers_contains?: InputMaybe; - alloProfileMembers_contains_nocase?: InputMaybe; - alloProfileMembers_not_contains?: InputMaybe; - alloProfileMembers_not_contains_nocase?: InputMaybe; - alloProfileMembers_starts_with?: InputMaybe; - alloProfileMembers_starts_with_nocase?: InputMaybe; - alloProfileMembers_not_starts_with?: InputMaybe; - alloProfileMembers_not_starts_with_nocase?: InputMaybe; - alloProfileMembers_ends_with?: InputMaybe; - alloProfileMembers_ends_with_nocase?: InputMaybe; - alloProfileMembers_not_ends_with?: InputMaybe; - alloProfileMembers_not_ends_with_nocase?: InputMaybe; - alloProfileMembers_?: InputMaybe; - shipApplicationBytesData?: InputMaybe; - shipApplicationBytesData_not?: InputMaybe; - shipApplicationBytesData_gt?: InputMaybe; - shipApplicationBytesData_lt?: InputMaybe; - shipApplicationBytesData_gte?: InputMaybe; - shipApplicationBytesData_lte?: InputMaybe; - shipApplicationBytesData_in?: InputMaybe>; - shipApplicationBytesData_not_in?: InputMaybe>; - shipApplicationBytesData_contains?: InputMaybe; - shipApplicationBytesData_not_contains?: InputMaybe; - applicationSubmittedTime?: InputMaybe; - applicationSubmittedTime_not?: InputMaybe; - applicationSubmittedTime_gt?: InputMaybe; - applicationSubmittedTime_lt?: InputMaybe; - applicationSubmittedTime_gte?: InputMaybe; - applicationSubmittedTime_lte?: InputMaybe; - applicationSubmittedTime_in?: InputMaybe>; - applicationSubmittedTime_not_in?: InputMaybe>; - isAwaitingApproval?: InputMaybe; - isAwaitingApproval_not?: InputMaybe; - isAwaitingApproval_in?: InputMaybe>; - isAwaitingApproval_not_in?: InputMaybe>; - hasSubmittedApplication?: InputMaybe; - hasSubmittedApplication_not?: InputMaybe; - hasSubmittedApplication_in?: InputMaybe>; - hasSubmittedApplication_not_in?: InputMaybe>; - isApproved?: InputMaybe; - isApproved_not?: InputMaybe; - isApproved_in?: InputMaybe>; - isApproved_not_in?: InputMaybe>; - approvedTime?: InputMaybe; - approvedTime_not?: InputMaybe; - approvedTime_gt?: InputMaybe; - approvedTime_lt?: InputMaybe; - approvedTime_gte?: InputMaybe; - approvedTime_lte?: InputMaybe; - approvedTime_in?: InputMaybe>; - approvedTime_not_in?: InputMaybe>; - isRejected?: InputMaybe; - isRejected_not?: InputMaybe; - isRejected_in?: InputMaybe>; - isRejected_not_in?: InputMaybe>; - rejectedTime?: InputMaybe; - rejectedTime_not?: InputMaybe; - rejectedTime_gt?: InputMaybe; - rejectedTime_lt?: InputMaybe; - rejectedTime_gte?: InputMaybe; - rejectedTime_lte?: InputMaybe; - rejectedTime_in?: InputMaybe>; - rejectedTime_not_in?: InputMaybe>; - applicationReviewReason?: InputMaybe; - applicationReviewReason_not?: InputMaybe; - applicationReviewReason_gt?: InputMaybe; - applicationReviewReason_lt?: InputMaybe; - applicationReviewReason_gte?: InputMaybe; - applicationReviewReason_lte?: InputMaybe; - applicationReviewReason_in?: InputMaybe>; - applicationReviewReason_not_in?: InputMaybe>; - applicationReviewReason_contains?: InputMaybe; - applicationReviewReason_contains_nocase?: InputMaybe; - applicationReviewReason_not_contains?: InputMaybe; - applicationReviewReason_not_contains_nocase?: InputMaybe; - applicationReviewReason_starts_with?: InputMaybe; - applicationReviewReason_starts_with_nocase?: InputMaybe; - applicationReviewReason_not_starts_with?: InputMaybe; - applicationReviewReason_not_starts_with_nocase?: InputMaybe; - applicationReviewReason_ends_with?: InputMaybe; - applicationReviewReason_ends_with_nocase?: InputMaybe; - applicationReviewReason_not_ends_with?: InputMaybe; - applicationReviewReason_not_ends_with_nocase?: InputMaybe; - applicationReviewReason_?: InputMaybe; - poolId?: InputMaybe; - poolId_not?: InputMaybe; - poolId_gt?: InputMaybe; - poolId_lt?: InputMaybe; - poolId_gte?: InputMaybe; - poolId_lte?: InputMaybe; - poolId_in?: InputMaybe>; - poolId_not_in?: InputMaybe>; - hatId?: InputMaybe; - hatId_not?: InputMaybe; - hatId_gt?: InputMaybe; - hatId_lt?: InputMaybe; - hatId_gte?: InputMaybe; - hatId_lte?: InputMaybe; - hatId_in?: InputMaybe>; - hatId_not_in?: InputMaybe>; - hatId_contains?: InputMaybe; - hatId_contains_nocase?: InputMaybe; - hatId_not_contains?: InputMaybe; - hatId_not_contains_nocase?: InputMaybe; - hatId_starts_with?: InputMaybe; - hatId_starts_with_nocase?: InputMaybe; - hatId_not_starts_with?: InputMaybe; - hatId_not_starts_with_nocase?: InputMaybe; - hatId_ends_with?: InputMaybe; - hatId_ends_with_nocase?: InputMaybe; - hatId_not_ends_with?: InputMaybe; - hatId_not_ends_with_nocase?: InputMaybe; - shipContractAddress?: InputMaybe; - shipContractAddress_not?: InputMaybe; - shipContractAddress_gt?: InputMaybe; - shipContractAddress_lt?: InputMaybe; - shipContractAddress_gte?: InputMaybe; - shipContractAddress_lte?: InputMaybe; - shipContractAddress_in?: InputMaybe>; - shipContractAddress_not_in?: InputMaybe>; - shipContractAddress_contains?: InputMaybe; - shipContractAddress_not_contains?: InputMaybe; - shipLaunched?: InputMaybe; - shipLaunched_not?: InputMaybe; - shipLaunched_in?: InputMaybe>; - shipLaunched_not_in?: InputMaybe>; - poolActive?: InputMaybe; - poolActive_not?: InputMaybe; - poolActive_in?: InputMaybe>; - poolActive_not_in?: InputMaybe>; - isAllocated?: InputMaybe; - isAllocated_not?: InputMaybe; - isAllocated_in?: InputMaybe>; - isAllocated_not_in?: InputMaybe>; - isDistributed?: InputMaybe; - isDistributed_not?: InputMaybe; - isDistributed_in?: InputMaybe>; - isDistributed_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerytransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type GrantShip_orderBy = - | 'id' - | 'profileId' - | 'nonce' - | 'name' - | 'profileMetadata' - | 'profileMetadata__id' - | 'profileMetadata__protocol' - | 'profileMetadata__pointer' - | 'owner' - | 'anchor' - | 'blockNumber' - | 'blockTimestamp' - | 'transactionHash' - | 'status' - | 'poolFunded' - | 'balance' - | 'shipAllocation' - | 'totalAvailableFunds' - | 'totalRoundAmount' - | 'totalAllocated' - | 'totalDistributed' - | 'grants' - | 'alloProfileMembers' - | 'alloProfileMembers__id' - | 'shipApplicationBytesData' - | 'applicationSubmittedTime' - | 'isAwaitingApproval' - | 'hasSubmittedApplication' - | 'isApproved' - | 'approvedTime' - | 'isRejected' - | 'rejectedTime' - | 'applicationReviewReason' - | 'applicationReviewReason__id' - | 'applicationReviewReason__protocol' - | 'applicationReviewReason__pointer' - | 'poolId' - | 'hatId' - | 'shipContractAddress' - | 'shipLaunched' - | 'poolActive' - | 'isAllocated' - | 'isDistributed'; -export type Grant_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - projectId?: InputMaybe; - projectId_not?: InputMaybe; - projectId_gt?: InputMaybe; - projectId_lt?: InputMaybe; - projectId_gte?: InputMaybe; - projectId_lte?: InputMaybe; - projectId_in?: InputMaybe>; - projectId_not_in?: InputMaybe>; - projectId_contains?: InputMaybe; - projectId_contains_nocase?: InputMaybe; - projectId_not_contains?: InputMaybe; - projectId_not_contains_nocase?: InputMaybe; - projectId_starts_with?: InputMaybe; - projectId_starts_with_nocase?: InputMaybe; - projectId_not_starts_with?: InputMaybe; - projectId_not_starts_with_nocase?: InputMaybe; - projectId_ends_with?: InputMaybe; - projectId_ends_with_nocase?: InputMaybe; - projectId_not_ends_with?: InputMaybe; - projectId_not_ends_with_nocase?: InputMaybe; - projectId_?: InputMaybe; - shipId?: InputMaybe; - shipId_not?: InputMaybe; - shipId_gt?: InputMaybe; - shipId_lt?: InputMaybe; - shipId_gte?: InputMaybe; - shipId_lte?: InputMaybe; - shipId_in?: InputMaybe>; - shipId_not_in?: InputMaybe>; - shipId_contains?: InputMaybe; - shipId_contains_nocase?: InputMaybe; - shipId_not_contains?: InputMaybe; - shipId_not_contains_nocase?: InputMaybe; - shipId_starts_with?: InputMaybe; - shipId_starts_with_nocase?: InputMaybe; - shipId_not_starts_with?: InputMaybe; - shipId_not_starts_with_nocase?: InputMaybe; - shipId_ends_with?: InputMaybe; - shipId_ends_with_nocase?: InputMaybe; - shipId_not_ends_with?: InputMaybe; - shipId_not_ends_with_nocase?: InputMaybe; - shipId_?: InputMaybe; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - hasResubmitted?: InputMaybe; - hasResubmitted_not?: InputMaybe; - hasResubmitted_in?: InputMaybe>; - hasResubmitted_not_in?: InputMaybe>; - grantStatus?: InputMaybe; - grantStatus_not?: InputMaybe; - grantStatus_gt?: InputMaybe; - grantStatus_lt?: InputMaybe; - grantStatus_gte?: InputMaybe; - grantStatus_lte?: InputMaybe; - grantStatus_in?: InputMaybe>; - grantStatus_not_in?: InputMaybe>; - grantApplicationBytes?: InputMaybe; - grantApplicationBytes_not?: InputMaybe; - grantApplicationBytes_gt?: InputMaybe; - grantApplicationBytes_lt?: InputMaybe; - grantApplicationBytes_gte?: InputMaybe; - grantApplicationBytes_lte?: InputMaybe; - grantApplicationBytes_in?: InputMaybe>; - grantApplicationBytes_not_in?: InputMaybe>; - grantApplicationBytes_contains?: InputMaybe; - grantApplicationBytes_not_contains?: InputMaybe; - applicationSubmitted?: InputMaybe; - applicationSubmitted_not?: InputMaybe; - applicationSubmitted_gt?: InputMaybe; - applicationSubmitted_lt?: InputMaybe; - applicationSubmitted_gte?: InputMaybe; - applicationSubmitted_lte?: InputMaybe; - applicationSubmitted_in?: InputMaybe>; - applicationSubmitted_not_in?: InputMaybe>; - currentMilestoneIndex?: InputMaybe; - currentMilestoneIndex_not?: InputMaybe; - currentMilestoneIndex_gt?: InputMaybe; - currentMilestoneIndex_lt?: InputMaybe; - currentMilestoneIndex_gte?: InputMaybe; - currentMilestoneIndex_lte?: InputMaybe; - currentMilestoneIndex_in?: InputMaybe>; - currentMilestoneIndex_not_in?: InputMaybe>; - milestonesAmount?: InputMaybe; - milestonesAmount_not?: InputMaybe; - milestonesAmount_gt?: InputMaybe; - milestonesAmount_lt?: InputMaybe; - milestonesAmount_gte?: InputMaybe; - milestonesAmount_lte?: InputMaybe; - milestonesAmount_in?: InputMaybe>; - milestonesAmount_not_in?: InputMaybe>; - milestones?: InputMaybe>; - milestones_not?: InputMaybe>; - milestones_contains?: InputMaybe>; - milestones_contains_nocase?: InputMaybe>; - milestones_not_contains?: InputMaybe>; - milestones_not_contains_nocase?: InputMaybe>; - milestones_?: InputMaybe; - shipApprovalReason?: InputMaybe; - shipApprovalReason_not?: InputMaybe; - shipApprovalReason_gt?: InputMaybe; - shipApprovalReason_lt?: InputMaybe; - shipApprovalReason_gte?: InputMaybe; - shipApprovalReason_lte?: InputMaybe; - shipApprovalReason_in?: InputMaybe>; - shipApprovalReason_not_in?: InputMaybe>; - shipApprovalReason_contains?: InputMaybe; - shipApprovalReason_contains_nocase?: InputMaybe; - shipApprovalReason_not_contains?: InputMaybe; - shipApprovalReason_not_contains_nocase?: InputMaybe; - shipApprovalReason_starts_with?: InputMaybe; - shipApprovalReason_starts_with_nocase?: InputMaybe; - shipApprovalReason_not_starts_with?: InputMaybe; - shipApprovalReason_not_starts_with_nocase?: InputMaybe; - shipApprovalReason_ends_with?: InputMaybe; - shipApprovalReason_ends_with_nocase?: InputMaybe; - shipApprovalReason_not_ends_with?: InputMaybe; - shipApprovalReason_not_ends_with_nocase?: InputMaybe; - shipApprovalReason_?: InputMaybe; - hasShipApproved?: InputMaybe; - hasShipApproved_not?: InputMaybe; - hasShipApproved_in?: InputMaybe>; - hasShipApproved_not_in?: InputMaybe>; - amtAllocated?: InputMaybe; - amtAllocated_not?: InputMaybe; - amtAllocated_gt?: InputMaybe; - amtAllocated_lt?: InputMaybe; - amtAllocated_gte?: InputMaybe; - amtAllocated_lte?: InputMaybe; - amtAllocated_in?: InputMaybe>; - amtAllocated_not_in?: InputMaybe>; - amtDistributed?: InputMaybe; - amtDistributed_not?: InputMaybe; - amtDistributed_gt?: InputMaybe; - amtDistributed_lt?: InputMaybe; - amtDistributed_gte?: InputMaybe; - amtDistributed_lte?: InputMaybe; - amtDistributed_in?: InputMaybe>; - amtDistributed_not_in?: InputMaybe>; - allocatedBy?: InputMaybe; - allocatedBy_not?: InputMaybe; - allocatedBy_gt?: InputMaybe; - allocatedBy_lt?: InputMaybe; - allocatedBy_gte?: InputMaybe; - allocatedBy_lte?: InputMaybe; - allocatedBy_in?: InputMaybe>; - allocatedBy_not_in?: InputMaybe>; - allocatedBy_contains?: InputMaybe; - allocatedBy_not_contains?: InputMaybe; - facilitatorReason?: InputMaybe; - facilitatorReason_not?: InputMaybe; - facilitatorReason_gt?: InputMaybe; - facilitatorReason_lt?: InputMaybe; - facilitatorReason_gte?: InputMaybe; - facilitatorReason_lte?: InputMaybe; - facilitatorReason_in?: InputMaybe>; - facilitatorReason_not_in?: InputMaybe>; - facilitatorReason_contains?: InputMaybe; - facilitatorReason_contains_nocase?: InputMaybe; - facilitatorReason_not_contains?: InputMaybe; - facilitatorReason_not_contains_nocase?: InputMaybe; - facilitatorReason_starts_with?: InputMaybe; - facilitatorReason_starts_with_nocase?: InputMaybe; - facilitatorReason_not_starts_with?: InputMaybe; - facilitatorReason_not_starts_with_nocase?: InputMaybe; - facilitatorReason_ends_with?: InputMaybe; - facilitatorReason_ends_with_nocase?: InputMaybe; - facilitatorReason_not_ends_with?: InputMaybe; - facilitatorReason_not_ends_with_nocase?: InputMaybe; - facilitatorReason_?: InputMaybe; - hasFacilitatorApproved?: InputMaybe; - hasFacilitatorApproved_not?: InputMaybe; - hasFacilitatorApproved_in?: InputMaybe>; - hasFacilitatorApproved_not_in?: InputMaybe>; - milestonesApproved?: InputMaybe; - milestonesApproved_not?: InputMaybe; - milestonesApproved_in?: InputMaybe>; - milestonesApproved_not_in?: InputMaybe>; - milestonesApprovedReason?: InputMaybe; - milestonesApprovedReason_not?: InputMaybe; - milestonesApprovedReason_gt?: InputMaybe; - milestonesApprovedReason_lt?: InputMaybe; - milestonesApprovedReason_gte?: InputMaybe; - milestonesApprovedReason_lte?: InputMaybe; - milestonesApprovedReason_in?: InputMaybe>; - milestonesApprovedReason_not_in?: InputMaybe>; - milestonesApprovedReason_contains?: InputMaybe; - milestonesApprovedReason_contains_nocase?: InputMaybe; - milestonesApprovedReason_not_contains?: InputMaybe; - milestonesApprovedReason_not_contains_nocase?: InputMaybe; - milestonesApprovedReason_starts_with?: InputMaybe; - milestonesApprovedReason_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_not_starts_with?: InputMaybe; - milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; - milestonesApprovedReason_ends_with?: InputMaybe; - milestonesApprovedReason_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_not_ends_with?: InputMaybe; - milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; - milestonesApprovedReason_?: InputMaybe; - currentMilestoneRejectedReason?: InputMaybe; - currentMilestoneRejectedReason_not?: InputMaybe; - currentMilestoneRejectedReason_gt?: InputMaybe; - currentMilestoneRejectedReason_lt?: InputMaybe; - currentMilestoneRejectedReason_gte?: InputMaybe; - currentMilestoneRejectedReason_lte?: InputMaybe; - currentMilestoneRejectedReason_in?: InputMaybe>; - currentMilestoneRejectedReason_not_in?: InputMaybe>; - currentMilestoneRejectedReason_contains?: InputMaybe; - currentMilestoneRejectedReason_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_contains?: InputMaybe; - currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; - currentMilestoneRejectedReason_starts_with?: InputMaybe; - currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with?: InputMaybe; - currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_ends_with?: InputMaybe; - currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with?: InputMaybe; - currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; - currentMilestoneRejectedReason_?: InputMaybe; - resubmitHistory?: InputMaybe>; - resubmitHistory_not?: InputMaybe>; - resubmitHistory_contains?: InputMaybe>; - resubmitHistory_contains_nocase?: InputMaybe>; - resubmitHistory_not_contains?: InputMaybe>; - resubmitHistory_not_contains_nocase?: InputMaybe>; - resubmitHistory_?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; +export type QuerytransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Grant_orderBy = - | 'id' - | 'projectId' - | 'projectId__id' - | 'projectId__profileId' - | 'projectId__status' - | 'projectId__nonce' - | 'projectId__name' - | 'projectId__owner' - | 'projectId__anchor' - | 'projectId__blockNumber' - | 'projectId__blockTimestamp' - | 'projectId__transactionHash' - | 'projectId__totalAmountReceived' - | 'shipId' - | 'shipId__id' - | 'shipId__profileId' - | 'shipId__nonce' - | 'shipId__name' - | 'shipId__owner' - | 'shipId__anchor' - | 'shipId__blockNumber' - | 'shipId__blockTimestamp' - | 'shipId__transactionHash' - | 'shipId__status' - | 'shipId__poolFunded' - | 'shipId__balance' - | 'shipId__shipAllocation' - | 'shipId__totalAvailableFunds' - | 'shipId__totalRoundAmount' - | 'shipId__totalAllocated' - | 'shipId__totalDistributed' - | 'shipId__shipApplicationBytesData' - | 'shipId__applicationSubmittedTime' - | 'shipId__isAwaitingApproval' - | 'shipId__hasSubmittedApplication' - | 'shipId__isApproved' - | 'shipId__approvedTime' - | 'shipId__isRejected' - | 'shipId__rejectedTime' - | 'shipId__poolId' - | 'shipId__hatId' - | 'shipId__shipContractAddress' - | 'shipId__shipLaunched' - | 'shipId__poolActive' - | 'shipId__isAllocated' - | 'shipId__isDistributed' - | 'lastUpdated' - | 'hasResubmitted' - | 'grantStatus' - | 'grantApplicationBytes' - | 'applicationSubmitted' - | 'currentMilestoneIndex' - | 'milestonesAmount' - | 'milestones' - | 'shipApprovalReason' - | 'shipApprovalReason__id' - | 'shipApprovalReason__protocol' - | 'shipApprovalReason__pointer' - | 'hasShipApproved' - | 'amtAllocated' - | 'amtDistributed' - | 'allocatedBy' - | 'facilitatorReason' - | 'facilitatorReason__id' - | 'facilitatorReason__protocol' - | 'facilitatorReason__pointer' - | 'hasFacilitatorApproved' - | 'milestonesApproved' - | 'milestonesApprovedReason' - | 'milestonesApprovedReason__id' - | 'milestonesApprovedReason__protocol' - | 'milestonesApprovedReason__pointer' - | 'currentMilestoneRejectedReason' - | 'currentMilestoneRejectedReason__id' - | 'currentMilestoneRejectedReason__protocol' - | 'currentMilestoneRejectedReason__pointer' - | 'resubmitHistory'; -export type Log = { +export type QueryrawMetadataArgs = { id: Scalars['ID']; - message: Scalars['String']; - description?: Maybe; - type?: Maybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Log_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - message?: InputMaybe; - message_not?: InputMaybe; - message_gt?: InputMaybe; - message_lt?: InputMaybe; - message_gte?: InputMaybe; - message_lte?: InputMaybe; - message_in?: InputMaybe>; - message_not_in?: InputMaybe>; - message_contains?: InputMaybe; - message_contains_nocase?: InputMaybe; - message_not_contains?: InputMaybe; - message_not_contains_nocase?: InputMaybe; - message_starts_with?: InputMaybe; - message_starts_with_nocase?: InputMaybe; - message_not_starts_with?: InputMaybe; - message_not_starts_with_nocase?: InputMaybe; - message_ends_with?: InputMaybe; - message_ends_with_nocase?: InputMaybe; - message_not_ends_with?: InputMaybe; - message_not_ends_with_nocase?: InputMaybe; - description?: InputMaybe; - description_not?: InputMaybe; - description_gt?: InputMaybe; - description_lt?: InputMaybe; - description_gte?: InputMaybe; - description_lte?: InputMaybe; - description_in?: InputMaybe>; - description_not_in?: InputMaybe>; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - type?: InputMaybe; - type_not?: InputMaybe; - type_gt?: InputMaybe; - type_lt?: InputMaybe; - type_gte?: InputMaybe; - type_lte?: InputMaybe; - type_in?: InputMaybe>; - type_not_in?: InputMaybe>; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Log_orderBy = - | 'id' - | 'message' - | 'description' - | 'type'; -export type Milestone = { +export type QuerylogArgs = { id: Scalars['ID']; - amountPercentage: Scalars['Bytes']; - mmetadata: Scalars['BigInt']; - amount: Scalars['BigInt']; - status: Scalars['Int']; - lastUpdated: Scalars['BigInt']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type Milestone_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - amountPercentage?: InputMaybe; - amountPercentage_not?: InputMaybe; - amountPercentage_gt?: InputMaybe; - amountPercentage_lt?: InputMaybe; - amountPercentage_gte?: InputMaybe; - amountPercentage_lte?: InputMaybe; - amountPercentage_in?: InputMaybe>; - amountPercentage_not_in?: InputMaybe>; - amountPercentage_contains?: InputMaybe; - amountPercentage_not_contains?: InputMaybe; - mmetadata?: InputMaybe; - mmetadata_not?: InputMaybe; - mmetadata_gt?: InputMaybe; - mmetadata_lt?: InputMaybe; - mmetadata_gte?: InputMaybe; - mmetadata_lte?: InputMaybe; - mmetadata_in?: InputMaybe>; - mmetadata_not_in?: InputMaybe>; - amount?: InputMaybe; - amount_not?: InputMaybe; - amount_gt?: InputMaybe; - amount_lt?: InputMaybe; - amount_gte?: InputMaybe; - amount_lte?: InputMaybe; - amount_in?: InputMaybe>; - amount_not_in?: InputMaybe>; - status?: InputMaybe; - status_not?: InputMaybe; - status_gt?: InputMaybe; - status_lt?: InputMaybe; - status_gte?: InputMaybe; - status_lte?: InputMaybe; - status_in?: InputMaybe>; - status_not_in?: InputMaybe>; - lastUpdated?: InputMaybe; - lastUpdated_not?: InputMaybe; - lastUpdated_gt?: InputMaybe; - lastUpdated_lt?: InputMaybe; - lastUpdated_gte?: InputMaybe; - lastUpdated_lte?: InputMaybe; - lastUpdated_in?: InputMaybe>; - lastUpdated_not_in?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; -}; -export type Milestone_orderBy = - | 'id' - | 'amountPercentage' - | 'mmetadata' - | 'amount' - | 'status' - | 'lastUpdated'; +export type QuerylogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; -/** Defines the order direction, either ascending or descending */ -export type OrderDirection = - | 'asc' - | 'desc'; -export type PoolIdLookup = { +export type QuerygmVersionArgs = { id: Scalars['ID']; - entityId: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type PoolIdLookup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - entityId?: InputMaybe; - entityId_not?: InputMaybe; - entityId_gt?: InputMaybe; - entityId_lt?: InputMaybe; - entityId_gte?: InputMaybe; - entityId_lte?: InputMaybe; - entityId_in?: InputMaybe>; - entityId_not_in?: InputMaybe>; - entityId_contains?: InputMaybe; - entityId_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerygmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type PoolIdLookup_orderBy = - | 'id' - | 'entityId'; -export type ProfileIdToAnchor = { +export type QuerygmDeploymentArgs = { id: Scalars['ID']; - profileId: Scalars['Bytes']; - anchor: Scalars['Bytes']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileIdToAnchor_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - profileId?: InputMaybe; - profileId_not?: InputMaybe; - profileId_gt?: InputMaybe; - profileId_lt?: InputMaybe; - profileId_gte?: InputMaybe; - profileId_lte?: InputMaybe; - profileId_in?: InputMaybe>; - profileId_not_in?: InputMaybe>; - profileId_contains?: InputMaybe; - profileId_not_contains?: InputMaybe; - anchor?: InputMaybe; - anchor_not?: InputMaybe; - anchor_gt?: InputMaybe; - anchor_lt?: InputMaybe; - anchor_gte?: InputMaybe; - anchor_lte?: InputMaybe; - anchor_in?: InputMaybe>; - anchor_not_in?: InputMaybe>; - anchor_contains?: InputMaybe; - anchor_not_contains?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QuerygmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; }; -export type ProfileIdToAnchor_orderBy = - | 'id' - | 'profileId' - | 'anchor'; -export type ProfileMemberGroup = { - id: Scalars['Bytes']; - addresses?: Maybe>; +export type Query_metaArgs = { + block?: InputMaybe; }; -export type ProfileMemberGroup_filter = { - id?: InputMaybe; - id_not?: InputMaybe; - id_gt?: InputMaybe; - id_lt?: InputMaybe; - id_gte?: InputMaybe; - id_lte?: InputMaybe; - id_in?: InputMaybe>; - id_not_in?: InputMaybe>; - id_contains?: InputMaybe; - id_not_contains?: InputMaybe; - addresses?: InputMaybe>; - addresses_not?: InputMaybe>; - addresses_contains?: InputMaybe>; - addresses_contains_nocase?: InputMaybe>; - addresses_not_contains?: InputMaybe>; - addresses_not_contains_nocase?: InputMaybe>; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - or?: InputMaybe>>; + +export type QueryContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: 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 QueryContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type ProjectgrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; +export type QueryContestClone_by_pkArgs = { + id: Scalars['String']; }; -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>>; + +export type QueryContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: 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 Query = { +export type QueryContestTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryContest_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryERCPointParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryEnvioTX_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryEventPost_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryHALParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryHatsPoster_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryLocalLog_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryModuleTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryRecord_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryShipChoice_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryShipVote_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryStemModule_by_pkArgs = { + id: Scalars['String']; +}; + + +export type QueryTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type QueryTVParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type Querychain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Querychain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type Querydynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Querydynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; +}; + + +export type Queryentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Queryentity_history_by_pkArgs = { + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + entity_id: Scalars['String']; + entity_type: Scalars['entity_type']; + log_index: Scalars['Int']; +}; + + +export type Queryentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: 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 Queryevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Queryevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +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 Querypersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Querypersisted_state_by_pkArgs = { + id: Scalars['Int']; +}; + + +export type Queryraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Queryraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; +}; + +export type Subscription = { project?: Maybe; projects: Array; feedItem?: Maybe; @@ -2276,7 +931,8 @@ export type Query = { profileMemberGroups: Array; transaction?: Maybe; transactions: Array; - rawMetadata: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; log?: Maybe; logs: Array; gmVersion?: Maybe; @@ -2285,17 +941,163 @@ export type Query = { gmDeployments: Array; /** Access to subgraph metadata */ _meta?: Maybe<_Meta_>; + /** fetch data from the table: "Contest" */ + Contest: Array; + /** fetch data from the table: "ContestClone" */ + ContestClone: Array; + /** fetch data from the table: "ContestClone" using primary key columns */ + ContestClone_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ContestClone" */ + ContestClone_stream: Array; + /** fetch data from the table: "ContestTemplate" */ + ContestTemplate: Array; + /** fetch data from the table: "ContestTemplate" using primary key columns */ + ContestTemplate_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ContestTemplate" */ + ContestTemplate_stream: Array; + /** fetch data from the table: "Contest" using primary key columns */ + Contest_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Contest" */ + Contest_stream: Array; + /** fetch data from the table: "ERCPointParams" */ + ERCPointParams: Array; + /** fetch data from the table: "ERCPointParams" using primary key columns */ + ERCPointParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ERCPointParams" */ + ERCPointParams_stream: Array; + /** fetch data from the table: "EnvioTX" */ + EnvioTX: Array; + /** fetch data from the table: "EnvioTX" using primary key columns */ + EnvioTX_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "EnvioTX" */ + EnvioTX_stream: Array; + /** fetch data from the table: "EventPost" */ + EventPost: Array; + /** fetch data from the table: "EventPost" using primary key columns */ + EventPost_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "EventPost" */ + EventPost_stream: Array; + /** fetch data from the table: "FactoryEventsSummary" */ + FactoryEventsSummary: Array; + /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ + FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "FactoryEventsSummary" */ + FactoryEventsSummary_stream: Array; + /** fetch data from the table: "GrantShipsVoting" */ + GrantShipsVoting: Array; + /** fetch data from the table: "GrantShipsVoting" using primary key columns */ + GrantShipsVoting_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "GrantShipsVoting" */ + GrantShipsVoting_stream: Array; + /** fetch data from the table: "HALParams" */ + HALParams: Array; + /** fetch data from the table: "HALParams" using primary key columns */ + HALParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "HALParams" */ + HALParams_stream: Array; + /** fetch data from the table: "HatsPoster" */ + HatsPoster: Array; + /** fetch data from the table: "HatsPoster" using primary key columns */ + HatsPoster_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "HatsPoster" */ + HatsPoster_stream: Array; + /** fetch data from the table: "LocalLog" */ + LocalLog: Array; + /** fetch data from the table: "LocalLog" using primary key columns */ + LocalLog_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LocalLog" */ + LocalLog_stream: Array; + /** fetch data from the table: "ModuleTemplate" */ + ModuleTemplate: Array; + /** fetch data from the table: "ModuleTemplate" using primary key columns */ + ModuleTemplate_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ModuleTemplate" */ + ModuleTemplate_stream: Array; + /** fetch data from the table: "Record" */ + Record: Array; + /** fetch data from the table: "Record" using primary key columns */ + Record_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Record" */ + Record_stream: Array; + /** fetch data from the table: "ShipChoice" */ + ShipChoice: Array; + /** fetch data from the table: "ShipChoice" using primary key columns */ + ShipChoice_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ShipChoice" */ + ShipChoice_stream: Array; + /** fetch data from the table: "ShipVote" */ + ShipVote: Array; + /** fetch data from the table: "ShipVote" using primary key columns */ + ShipVote_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ShipVote" */ + ShipVote_stream: Array; + /** fetch data from the table: "StemModule" */ + StemModule: Array; + /** fetch data from the table: "StemModule" using primary key columns */ + StemModule_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "StemModule" */ + StemModule_stream: Array; + /** fetch data from the table: "TVParams" */ + TVParams: Array; + /** fetch data from the table: "TVParams" using primary key columns */ + TVParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "TVParams" */ + TVParams_stream: Array; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: Array; + /** fetch data from the table: "chain_metadata" using primary key columns */ + chain_metadata_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "chain_metadata" */ + chain_metadata_stream: Array; + /** fetch data from the table: "dynamic_contract_registry" */ + dynamic_contract_registry: Array; + /** fetch data from the table: "dynamic_contract_registry" using primary key columns */ + dynamic_contract_registry_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "dynamic_contract_registry" */ + dynamic_contract_registry_stream: Array; + /** fetch data from the table: "entity_history" */ + entity_history: Array; + /** fetch data from the table: "entity_history" using primary key columns */ + entity_history_by_pk?: Maybe; + /** fetch data from the table: "entity_history_filter" */ + entity_history_filter: Array; + /** fetch data from the table: "entity_history_filter" using primary key columns */ + entity_history_filter_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "entity_history_filter" */ + entity_history_filter_stream: Array; + /** fetch data from the table in a streaming manner: "entity_history" */ + entity_history_stream: Array; + /** fetch data from the table: "event_sync_state" */ + event_sync_state: Array; + /** fetch data from the table: "event_sync_state" using primary key columns */ + event_sync_state_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "event_sync_state" */ + event_sync_state_stream: Array; + /** This function helps search for articles */ + get_entity_history_filter: Array; + /** fetch data from the table: "persisted_state" */ + persisted_state: Array; + /** fetch data from the table: "persisted_state" using primary key columns */ + persisted_state_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "persisted_state" */ + persisted_state_stream: Array; + /** fetch data from the table: "raw_events" */ + raw_events: Array; + /** fetch data from the table: "raw_events" using primary key columns */ + raw_events_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "raw_events" */ + raw_events_stream: Array; }; -export type QueryprojectArgs = { +export type SubscriptionprojectArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryprojectsArgs = { +export type SubscriptionprojectsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2306,14 +1108,14 @@ export type QueryprojectsArgs = { }; -export type QueryfeedItemArgs = { +export type SubscriptionfeedItemArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryfeedItemsArgs = { +export type SubscriptionfeedItemsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2324,14 +1126,14 @@ export type QueryfeedItemsArgs = { }; -export type QueryfeedItemEntityArgs = { +export type SubscriptionfeedItemEntityArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryfeedItemEntitiesArgs = { +export type SubscriptionfeedItemEntitiesArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2342,14 +1144,14 @@ export type QueryfeedItemEntitiesArgs = { }; -export type QueryfeedItemEmbedArgs = { +export type SubscriptionfeedItemEmbedArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryfeedItemEmbedsArgs = { +export type SubscriptionfeedItemEmbedsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2360,14 +1162,14 @@ export type QueryfeedItemEmbedsArgs = { }; -export type QueryupdateArgs = { +export type SubscriptionupdateArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryupdatesArgs = { +export type SubscriptionupdatesArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2378,14 +1180,14 @@ export type QueryupdatesArgs = { }; -export type QuerygrantShipArgs = { +export type SubscriptiongrantShipArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerygrantShipsArgs = { +export type SubscriptiongrantShipsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2396,14 +1198,14 @@ export type QuerygrantShipsArgs = { }; -export type QuerypoolIdLookupArgs = { +export type SubscriptionpoolIdLookupArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerypoolIdLookupsArgs = { +export type SubscriptionpoolIdLookupsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2414,14 +1216,14 @@ export type QuerypoolIdLookupsArgs = { }; -export type QuerygameManagerArgs = { +export type SubscriptiongameManagerArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerygameManagersArgs = { +export type SubscriptiongameManagersArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2432,14 +1234,14 @@ export type QuerygameManagersArgs = { }; -export type QuerygameRoundArgs = { +export type SubscriptiongameRoundArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerygameRoundsArgs = { +export type SubscriptiongameRoundsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2450,14 +1252,14 @@ export type QuerygameRoundsArgs = { }; -export type QueryapplicationHistoryArgs = { +export type SubscriptionapplicationHistoryArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryapplicationHistoriesArgs = { +export type SubscriptionapplicationHistoriesArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2468,14 +1270,14 @@ export type QueryapplicationHistoriesArgs = { }; -export type QuerygrantArgs = { +export type SubscriptiongrantArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerygrantsArgs = { +export type SubscriptiongrantsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2486,14 +1288,14 @@ export type QuerygrantsArgs = { }; -export type QuerymilestoneArgs = { +export type SubscriptionmilestoneArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QuerymilestonesArgs = { +export type SubscriptionmilestonesArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2504,14 +1306,14 @@ export type QuerymilestonesArgs = { }; -export type QueryprofileIdToAnchorArgs = { +export type SubscriptionprofileIdToAnchorArgs = { id: Scalars['ID']; block?: InputMaybe; subgraphError?: _SubgraphErrorPolicy_; }; -export type QueryprofileIdToAnchorsArgs = { +export type SubscriptionprofileIdToAnchorsArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2522,110 +1324,2848 @@ export type QueryprofileIdToAnchorsArgs = { }; -export type QueryprofileMemberGroupArgs = { +export type SubscriptionprofileMemberGroupArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionprofileMemberGroupsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiontransactionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiontransactionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionrawMetadata_collectionArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionlogArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionlogsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongmVersionArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongmVersionsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongmDeploymentArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptiongmDeploymentsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type Subscription_metaArgs = { + block?: InputMaybe; +}; + + +export type SubscriptionContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +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 SubscriptionContestClone_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionContestTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionContestTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionContest_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionContest_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionERCPointParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionERCPointParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionEnvioTX_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionEnvioTX_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionEventPost_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionEventPost_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionFactoryEventsSummary_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionGrantShipsVoting_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionHALParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionHALParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionHatsPoster_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionHatsPoster_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionLocalLog_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionLocalLog_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionModuleTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionModuleTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionRecord_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionRecord_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionShipChoice_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionShipChoice_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionShipVote_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionShipVote_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionStemModule_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionStemModule_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type SubscriptionTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type SubscriptionTVParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type SubscriptionTVParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptionchain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscriptionchain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type Subscriptionchain_metadata_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptiondynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscriptiondynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; +}; + + +export type Subscriptiondynamic_contract_registry_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptionentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: 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 Subscriptionentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + 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 Subscriptionentity_history_filter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptionentity_history_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptionevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscriptionevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type Subscriptionevent_sync_state_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; +}; + + +export type Subscriptionpersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscriptionpersisted_state_by_pkArgs = { + id: Scalars['Int']; +}; + + +export type Subscriptionpersisted_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type Subscriptionraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscriptionraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; +}; + + +export type Subscriptionraw_events_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + +export type Aggregation_interval = + | 'hour' + | 'day'; + +export type ApplicationHistory = { + id: Scalars['ID']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; +}; + +export type ApplicationHistory_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type ApplicationHistory_orderBy = + | 'id' + | 'grantApplicationBytes' + | 'applicationSubmitted'; + +export type BlockChangedFilter = { + number_gte: Scalars['Int']; +}; + +export type Block_height = { + hash?: InputMaybe; + number?: InputMaybe; + number_gte?: InputMaybe; +}; + +export type FeedItem = { + id: Scalars['ID']; + timestamp?: Maybe; + content: Scalars['String']; + sender: Scalars['Bytes']; + tag: Scalars['String']; + subjectMetadataPointer: Scalars['String']; + subjectId: Scalars['ID']; + objectId?: Maybe; + subject: FeedItemEntity; + object?: Maybe; + embed?: Maybe; + details?: Maybe; +}; + +export type FeedItemEmbed = { + id: Scalars['ID']; + key?: Maybe; + pointer?: Maybe; + protocol?: Maybe; + content?: Maybe; +}; + +export type FeedItemEmbed_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + key?: InputMaybe; + key_not?: InputMaybe; + key_gt?: InputMaybe; + key_lt?: InputMaybe; + key_gte?: InputMaybe; + key_lte?: InputMaybe; + key_in?: InputMaybe>; + key_not_in?: InputMaybe>; + key_contains?: InputMaybe; + key_contains_nocase?: InputMaybe; + key_not_contains?: InputMaybe; + key_not_contains_nocase?: InputMaybe; + key_starts_with?: InputMaybe; + key_starts_with_nocase?: InputMaybe; + key_not_starts_with?: InputMaybe; + key_not_starts_with_nocase?: InputMaybe; + key_ends_with?: InputMaybe; + key_ends_with_nocase?: InputMaybe; + key_not_ends_with?: InputMaybe; + key_not_ends_with_nocase?: InputMaybe; + pointer?: InputMaybe; + pointer_not?: InputMaybe; + pointer_gt?: InputMaybe; + pointer_lt?: InputMaybe; + pointer_gte?: InputMaybe; + pointer_lte?: InputMaybe; + pointer_in?: InputMaybe>; + pointer_not_in?: InputMaybe>; + pointer_contains?: InputMaybe; + pointer_contains_nocase?: InputMaybe; + pointer_not_contains?: InputMaybe; + pointer_not_contains_nocase?: InputMaybe; + pointer_starts_with?: InputMaybe; + pointer_starts_with_nocase?: InputMaybe; + pointer_not_starts_with?: InputMaybe; + pointer_not_starts_with_nocase?: InputMaybe; + pointer_ends_with?: InputMaybe; + pointer_ends_with_nocase?: InputMaybe; + pointer_not_ends_with?: InputMaybe; + pointer_not_ends_with_nocase?: InputMaybe; + protocol?: InputMaybe; + protocol_not?: InputMaybe; + protocol_gt?: InputMaybe; + protocol_lt?: InputMaybe; + protocol_gte?: InputMaybe; + protocol_lte?: InputMaybe; + protocol_in?: InputMaybe>; + protocol_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItemEmbed_orderBy = + | 'id' + | 'key' + | 'pointer' + | 'protocol' + | 'content'; + +export type FeedItemEntity = { + id: Scalars['ID']; + name: Scalars['String']; + type: Scalars['String']; +}; + +export type FeedItemEntity_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItemEntity_orderBy = + | 'id' + | 'name' + | 'type'; + +export type FeedItem_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + sender?: InputMaybe; + sender_not?: InputMaybe; + sender_gt?: InputMaybe; + sender_lt?: InputMaybe; + sender_gte?: InputMaybe; + sender_lte?: InputMaybe; + sender_in?: InputMaybe>; + sender_not_in?: InputMaybe>; + sender_contains?: InputMaybe; + sender_not_contains?: InputMaybe; + tag?: InputMaybe; + tag_not?: InputMaybe; + tag_gt?: InputMaybe; + tag_lt?: InputMaybe; + tag_gte?: InputMaybe; + tag_lte?: InputMaybe; + tag_in?: InputMaybe>; + tag_not_in?: InputMaybe>; + tag_contains?: InputMaybe; + tag_contains_nocase?: InputMaybe; + tag_not_contains?: InputMaybe; + tag_not_contains_nocase?: InputMaybe; + tag_starts_with?: InputMaybe; + tag_starts_with_nocase?: InputMaybe; + tag_not_starts_with?: InputMaybe; + tag_not_starts_with_nocase?: InputMaybe; + tag_ends_with?: InputMaybe; + tag_ends_with_nocase?: InputMaybe; + tag_not_ends_with?: InputMaybe; + tag_not_ends_with_nocase?: InputMaybe; + subjectMetadataPointer?: InputMaybe; + subjectMetadataPointer_not?: InputMaybe; + subjectMetadataPointer_gt?: InputMaybe; + subjectMetadataPointer_lt?: InputMaybe; + subjectMetadataPointer_gte?: InputMaybe; + subjectMetadataPointer_lte?: InputMaybe; + subjectMetadataPointer_in?: InputMaybe>; + subjectMetadataPointer_not_in?: InputMaybe>; + subjectMetadataPointer_contains?: InputMaybe; + subjectMetadataPointer_contains_nocase?: InputMaybe; + subjectMetadataPointer_not_contains?: InputMaybe; + subjectMetadataPointer_not_contains_nocase?: InputMaybe; + subjectMetadataPointer_starts_with?: InputMaybe; + subjectMetadataPointer_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_not_starts_with?: InputMaybe; + subjectMetadataPointer_not_starts_with_nocase?: InputMaybe; + subjectMetadataPointer_ends_with?: InputMaybe; + subjectMetadataPointer_ends_with_nocase?: InputMaybe; + subjectMetadataPointer_not_ends_with?: InputMaybe; + subjectMetadataPointer_not_ends_with_nocase?: InputMaybe; + subjectId?: InputMaybe; + subjectId_not?: InputMaybe; + subjectId_gt?: InputMaybe; + subjectId_lt?: InputMaybe; + subjectId_gte?: InputMaybe; + subjectId_lte?: InputMaybe; + subjectId_in?: InputMaybe>; + subjectId_not_in?: InputMaybe>; + objectId?: InputMaybe; + objectId_not?: InputMaybe; + objectId_gt?: InputMaybe; + objectId_lt?: InputMaybe; + objectId_gte?: InputMaybe; + objectId_lte?: InputMaybe; + objectId_in?: InputMaybe>; + objectId_not_in?: InputMaybe>; + subject?: InputMaybe; + subject_not?: InputMaybe; + subject_gt?: InputMaybe; + subject_lt?: InputMaybe; + subject_gte?: InputMaybe; + subject_lte?: InputMaybe; + subject_in?: InputMaybe>; + subject_not_in?: InputMaybe>; + subject_contains?: InputMaybe; + subject_contains_nocase?: InputMaybe; + subject_not_contains?: InputMaybe; + subject_not_contains_nocase?: InputMaybe; + subject_starts_with?: InputMaybe; + subject_starts_with_nocase?: InputMaybe; + subject_not_starts_with?: InputMaybe; + subject_not_starts_with_nocase?: InputMaybe; + subject_ends_with?: InputMaybe; + subject_ends_with_nocase?: InputMaybe; + subject_not_ends_with?: InputMaybe; + subject_not_ends_with_nocase?: InputMaybe; + subject_?: InputMaybe; + object?: InputMaybe; + object_not?: InputMaybe; + object_gt?: InputMaybe; + object_lt?: InputMaybe; + object_gte?: InputMaybe; + object_lte?: InputMaybe; + object_in?: InputMaybe>; + object_not_in?: InputMaybe>; + object_contains?: InputMaybe; + object_contains_nocase?: InputMaybe; + object_not_contains?: InputMaybe; + object_not_contains_nocase?: InputMaybe; + object_starts_with?: InputMaybe; + object_starts_with_nocase?: InputMaybe; + object_not_starts_with?: InputMaybe; + object_not_starts_with_nocase?: InputMaybe; + object_ends_with?: InputMaybe; + object_ends_with_nocase?: InputMaybe; + object_not_ends_with?: InputMaybe; + object_not_ends_with_nocase?: InputMaybe; + object_?: InputMaybe; + embed?: InputMaybe; + embed_not?: InputMaybe; + embed_gt?: InputMaybe; + embed_lt?: InputMaybe; + embed_gte?: InputMaybe; + embed_lte?: InputMaybe; + embed_in?: InputMaybe>; + embed_not_in?: InputMaybe>; + embed_contains?: InputMaybe; + embed_contains_nocase?: InputMaybe; + embed_not_contains?: InputMaybe; + embed_not_contains_nocase?: InputMaybe; + embed_starts_with?: InputMaybe; + embed_starts_with_nocase?: InputMaybe; + embed_not_starts_with?: InputMaybe; + embed_not_starts_with_nocase?: InputMaybe; + embed_ends_with?: InputMaybe; + embed_ends_with_nocase?: InputMaybe; + embed_not_ends_with?: InputMaybe; + embed_not_ends_with_nocase?: InputMaybe; + embed_?: InputMaybe; + details?: InputMaybe; + details_not?: InputMaybe; + details_gt?: InputMaybe; + details_lt?: InputMaybe; + details_gte?: InputMaybe; + details_lte?: InputMaybe; + details_in?: InputMaybe>; + details_not_in?: InputMaybe>; + details_contains?: InputMaybe; + details_contains_nocase?: InputMaybe; + details_not_contains?: InputMaybe; + details_not_contains_nocase?: InputMaybe; + details_starts_with?: InputMaybe; + details_starts_with_nocase?: InputMaybe; + details_not_starts_with?: InputMaybe; + details_not_starts_with_nocase?: InputMaybe; + details_ends_with?: InputMaybe; + details_ends_with_nocase?: InputMaybe; + details_not_ends_with?: InputMaybe; + details_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type FeedItem_orderBy = + | 'id' + | 'timestamp' + | 'content' + | 'sender' + | 'tag' + | 'subjectMetadataPointer' + | 'subjectId' + | 'objectId' + | 'subject' + | 'subject__id' + | 'subject__name' + | 'subject__type' + | 'object' + | 'object__id' + | 'object__name' + | 'object__type' + | 'embed' + | 'embed__id' + | 'embed__key' + | 'embed__pointer' + | 'embed__protocol' + | 'embed__content' + | 'details'; + +export type GameManager = { + id: Scalars['Bytes']; + poolId: Scalars['BigInt']; + gameFacilitatorId: Scalars['BigInt']; + rootAccount: Scalars['Bytes']; + tokenAddress: Scalars['Bytes']; + currentRoundId: Scalars['BigInt']; + currentRound?: Maybe; + poolFunds: Scalars['BigInt']; +}; + +export type GameManager_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + gameFacilitatorId?: InputMaybe; + gameFacilitatorId_not?: InputMaybe; + gameFacilitatorId_gt?: InputMaybe; + gameFacilitatorId_lt?: InputMaybe; + gameFacilitatorId_gte?: InputMaybe; + gameFacilitatorId_lte?: InputMaybe; + gameFacilitatorId_in?: InputMaybe>; + gameFacilitatorId_not_in?: InputMaybe>; + rootAccount?: InputMaybe; + rootAccount_not?: InputMaybe; + rootAccount_gt?: InputMaybe; + rootAccount_lt?: InputMaybe; + rootAccount_gte?: InputMaybe; + rootAccount_lte?: InputMaybe; + rootAccount_in?: InputMaybe>; + rootAccount_not_in?: InputMaybe>; + rootAccount_contains?: InputMaybe; + rootAccount_not_contains?: InputMaybe; + tokenAddress?: InputMaybe; + tokenAddress_not?: InputMaybe; + tokenAddress_gt?: InputMaybe; + tokenAddress_lt?: InputMaybe; + tokenAddress_gte?: InputMaybe; + tokenAddress_lte?: InputMaybe; + tokenAddress_in?: InputMaybe>; + tokenAddress_not_in?: InputMaybe>; + tokenAddress_contains?: InputMaybe; + tokenAddress_not_contains?: InputMaybe; + currentRoundId?: InputMaybe; + currentRoundId_not?: InputMaybe; + currentRoundId_gt?: InputMaybe; + currentRoundId_lt?: InputMaybe; + currentRoundId_gte?: InputMaybe; + currentRoundId_lte?: InputMaybe; + currentRoundId_in?: InputMaybe>; + currentRoundId_not_in?: InputMaybe>; + currentRound?: InputMaybe; + currentRound_not?: InputMaybe; + currentRound_gt?: InputMaybe; + currentRound_lt?: InputMaybe; + currentRound_gte?: InputMaybe; + currentRound_lte?: InputMaybe; + currentRound_in?: InputMaybe>; + currentRound_not_in?: InputMaybe>; + currentRound_contains?: InputMaybe; + currentRound_contains_nocase?: InputMaybe; + currentRound_not_contains?: InputMaybe; + currentRound_not_contains_nocase?: InputMaybe; + currentRound_starts_with?: InputMaybe; + currentRound_starts_with_nocase?: InputMaybe; + currentRound_not_starts_with?: InputMaybe; + currentRound_not_starts_with_nocase?: InputMaybe; + currentRound_ends_with?: InputMaybe; + currentRound_ends_with_nocase?: InputMaybe; + currentRound_not_ends_with?: InputMaybe; + currentRound_not_ends_with_nocase?: InputMaybe; + currentRound_?: InputMaybe; + poolFunds?: InputMaybe; + poolFunds_not?: InputMaybe; + poolFunds_gt?: InputMaybe; + poolFunds_lt?: InputMaybe; + poolFunds_gte?: InputMaybe; + poolFunds_lte?: InputMaybe; + poolFunds_in?: InputMaybe>; + poolFunds_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GameManager_orderBy = + | 'id' + | 'poolId' + | 'gameFacilitatorId' + | 'rootAccount' + | 'tokenAddress' + | 'currentRoundId' + | 'currentRound' + | 'currentRound__id' + | 'currentRound__startTime' + | 'currentRound__endTime' + | 'currentRound__totalRoundAmount' + | 'currentRound__totalAllocatedAmount' + | 'currentRound__totalDistributedAmount' + | 'currentRound__gameStatus' + | 'currentRound__isGameActive' + | 'currentRound__realStartTime' + | 'currentRound__realEndTime' + | 'poolFunds'; + +export type GameRound = { + id: Scalars['ID']; + startTime: Scalars['BigInt']; + endTime: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocatedAmount: Scalars['BigInt']; + totalDistributedAmount: Scalars['BigInt']; + gameStatus: Scalars['Int']; + ships: Array; + isGameActive: Scalars['Boolean']; + realStartTime?: Maybe; + realEndTime?: Maybe; +}; + + +export type GameRoundshipsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GameRound_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + startTime?: InputMaybe; + startTime_not?: InputMaybe; + startTime_gt?: InputMaybe; + startTime_lt?: InputMaybe; + startTime_gte?: InputMaybe; + startTime_lte?: InputMaybe; + startTime_in?: InputMaybe>; + startTime_not_in?: InputMaybe>; + endTime?: InputMaybe; + endTime_not?: InputMaybe; + endTime_gt?: InputMaybe; + endTime_lt?: InputMaybe; + endTime_gte?: InputMaybe; + endTime_lte?: InputMaybe; + endTime_in?: InputMaybe>; + endTime_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocatedAmount?: InputMaybe; + totalAllocatedAmount_not?: InputMaybe; + totalAllocatedAmount_gt?: InputMaybe; + totalAllocatedAmount_lt?: InputMaybe; + totalAllocatedAmount_gte?: InputMaybe; + totalAllocatedAmount_lte?: InputMaybe; + totalAllocatedAmount_in?: InputMaybe>; + totalAllocatedAmount_not_in?: InputMaybe>; + totalDistributedAmount?: InputMaybe; + totalDistributedAmount_not?: InputMaybe; + totalDistributedAmount_gt?: InputMaybe; + totalDistributedAmount_lt?: InputMaybe; + totalDistributedAmount_gte?: InputMaybe; + totalDistributedAmount_lte?: InputMaybe; + totalDistributedAmount_in?: InputMaybe>; + totalDistributedAmount_not_in?: InputMaybe>; + gameStatus?: InputMaybe; + gameStatus_not?: InputMaybe; + gameStatus_gt?: InputMaybe; + gameStatus_lt?: InputMaybe; + gameStatus_gte?: InputMaybe; + gameStatus_lte?: InputMaybe; + gameStatus_in?: InputMaybe>; + gameStatus_not_in?: InputMaybe>; + ships?: InputMaybe>; + ships_not?: InputMaybe>; + ships_contains?: InputMaybe>; + ships_contains_nocase?: InputMaybe>; + ships_not_contains?: InputMaybe>; + ships_not_contains_nocase?: InputMaybe>; + ships_?: InputMaybe; + isGameActive?: InputMaybe; + isGameActive_not?: InputMaybe; + isGameActive_in?: InputMaybe>; + isGameActive_not_in?: InputMaybe>; + realStartTime?: InputMaybe; + realStartTime_not?: InputMaybe; + realStartTime_gt?: InputMaybe; + realStartTime_lt?: InputMaybe; + realStartTime_gte?: InputMaybe; + realStartTime_lte?: InputMaybe; + realStartTime_in?: InputMaybe>; + realStartTime_not_in?: InputMaybe>; + realEndTime?: InputMaybe; + realEndTime_not?: InputMaybe; + realEndTime_gt?: InputMaybe; + realEndTime_lt?: InputMaybe; + realEndTime_gte?: InputMaybe; + realEndTime_lte?: InputMaybe; + realEndTime_in?: InputMaybe>; + realEndTime_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GameRound_orderBy = + | 'id' + | 'startTime' + | 'endTime' + | 'totalRoundAmount' + | 'totalAllocatedAmount' + | 'totalDistributedAmount' + | 'gameStatus' + | 'ships' + | 'isGameActive' + | 'realStartTime' + | 'realEndTime'; + +export type GmDeployment = { + id: Scalars['ID']; + address: Scalars['Bytes']; + version: GmVersion; + blockNumber: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + timestamp: Scalars['BigInt']; + hasPool: Scalars['Boolean']; + poolId?: Maybe; + profileId: Scalars['Bytes']; + poolMetadata: RawMetadata; + poolProfileMetadata: RawMetadata; +}; + +export type GmDeployment_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + version?: InputMaybe; + version_not?: InputMaybe; + version_gt?: InputMaybe; + version_lt?: InputMaybe; + version_gte?: InputMaybe; + version_lte?: InputMaybe; + version_in?: InputMaybe>; + version_not_in?: InputMaybe>; + version_contains?: InputMaybe; + version_contains_nocase?: InputMaybe; + version_not_contains?: InputMaybe; + version_not_contains_nocase?: InputMaybe; + version_starts_with?: InputMaybe; + version_starts_with_nocase?: InputMaybe; + version_not_starts_with?: InputMaybe; + version_not_starts_with_nocase?: InputMaybe; + version_ends_with?: InputMaybe; + version_ends_with_nocase?: InputMaybe; + version_not_ends_with?: InputMaybe; + version_not_ends_with_nocase?: InputMaybe; + version_?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + hasPool?: InputMaybe; + hasPool_not?: InputMaybe; + hasPool_in?: InputMaybe>; + hasPool_not_in?: InputMaybe>; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + poolMetadata?: InputMaybe; + poolMetadata_not?: InputMaybe; + poolMetadata_gt?: InputMaybe; + poolMetadata_lt?: InputMaybe; + poolMetadata_gte?: InputMaybe; + poolMetadata_lte?: InputMaybe; + poolMetadata_in?: InputMaybe>; + poolMetadata_not_in?: InputMaybe>; + poolMetadata_contains?: InputMaybe; + poolMetadata_contains_nocase?: InputMaybe; + poolMetadata_not_contains?: InputMaybe; + poolMetadata_not_contains_nocase?: InputMaybe; + poolMetadata_starts_with?: InputMaybe; + poolMetadata_starts_with_nocase?: InputMaybe; + poolMetadata_not_starts_with?: InputMaybe; + poolMetadata_not_starts_with_nocase?: InputMaybe; + poolMetadata_ends_with?: InputMaybe; + poolMetadata_ends_with_nocase?: InputMaybe; + poolMetadata_not_ends_with?: InputMaybe; + poolMetadata_not_ends_with_nocase?: InputMaybe; + poolMetadata_?: InputMaybe; + poolProfileMetadata?: InputMaybe; + poolProfileMetadata_not?: InputMaybe; + poolProfileMetadata_gt?: InputMaybe; + poolProfileMetadata_lt?: InputMaybe; + poolProfileMetadata_gte?: InputMaybe; + poolProfileMetadata_lte?: InputMaybe; + poolProfileMetadata_in?: InputMaybe>; + poolProfileMetadata_not_in?: InputMaybe>; + poolProfileMetadata_contains?: InputMaybe; + poolProfileMetadata_contains_nocase?: InputMaybe; + poolProfileMetadata_not_contains?: InputMaybe; + poolProfileMetadata_not_contains_nocase?: InputMaybe; + poolProfileMetadata_starts_with?: InputMaybe; + poolProfileMetadata_starts_with_nocase?: InputMaybe; + poolProfileMetadata_not_starts_with?: InputMaybe; + poolProfileMetadata_not_starts_with_nocase?: InputMaybe; + poolProfileMetadata_ends_with?: InputMaybe; + poolProfileMetadata_ends_with_nocase?: InputMaybe; + poolProfileMetadata_not_ends_with?: InputMaybe; + poolProfileMetadata_not_ends_with_nocase?: InputMaybe; + poolProfileMetadata_?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GmDeployment_orderBy = + | 'id' + | 'address' + | 'version' + | 'version__id' + | 'version__name' + | 'version__address' + | 'blockNumber' + | 'transactionHash' + | 'timestamp' + | 'hasPool' + | 'poolId' + | 'profileId' + | 'poolMetadata' + | 'poolMetadata__id' + | 'poolMetadata__protocol' + | 'poolMetadata__pointer' + | 'poolProfileMetadata' + | 'poolProfileMetadata__id' + | 'poolProfileMetadata__protocol' + | 'poolProfileMetadata__pointer'; + +export type GmVersion = { + id: Scalars['ID']; + name: Scalars['String']; + address: Scalars['Bytes']; +}; + +export type GmVersion_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + address?: InputMaybe; + address_not?: InputMaybe; + address_gt?: InputMaybe; + address_lt?: InputMaybe; + address_gte?: InputMaybe; + address_lte?: InputMaybe; + address_in?: InputMaybe>; + address_not_in?: InputMaybe>; + address_contains?: InputMaybe; + address_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GmVersion_orderBy = + | 'id' + | 'name' + | 'address'; + +export type Grant = { + id: Scalars['ID']; + projectId: Project; + shipId: GrantShip; + lastUpdated: Scalars['BigInt']; + hasResubmitted: Scalars['Boolean']; + grantStatus: Scalars['Int']; + grantApplicationBytes: Scalars['Bytes']; + applicationSubmitted: Scalars['BigInt']; + currentMilestoneIndex: Scalars['BigInt']; + milestonesAmount: Scalars['BigInt']; + milestones?: Maybe>; + shipApprovalReason?: Maybe; + hasShipApproved?: Maybe; + amtAllocated: Scalars['BigInt']; + amtDistributed: Scalars['BigInt']; + allocatedBy?: Maybe; + facilitatorReason?: Maybe; + hasFacilitatorApproved?: Maybe; + milestonesApproved?: Maybe; + milestonesApprovedReason?: Maybe; + currentMilestoneRejectedReason?: Maybe; + resubmitHistory: Array; +}; + + +export type GrantmilestonesArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + + +export type GrantresubmitHistoryArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GrantShip = { + id: Scalars['Bytes']; + profileId: Scalars['Bytes']; + nonce: Scalars['BigInt']; + name: Scalars['String']; + profileMetadata: RawMetadata; + owner: Scalars['Bytes']; + anchor: Scalars['Bytes']; + blockNumber: Scalars['BigInt']; + blockTimestamp: Scalars['BigInt']; + transactionHash: Scalars['Bytes']; + status: Scalars['Int']; + poolFunded: Scalars['Boolean']; + balance: Scalars['BigInt']; + shipAllocation: Scalars['BigInt']; + totalAvailableFunds: Scalars['BigInt']; + totalRoundAmount: Scalars['BigInt']; + totalAllocated: Scalars['BigInt']; + totalDistributed: Scalars['BigInt']; + grants: Array; + alloProfileMembers?: Maybe; + shipApplicationBytesData?: Maybe; + applicationSubmittedTime?: Maybe; + isAwaitingApproval?: Maybe; + hasSubmittedApplication?: Maybe; + isApproved?: Maybe; + approvedTime?: Maybe; + isRejected?: Maybe; + rejectedTime?: Maybe; + applicationReviewReason?: Maybe; + poolId?: Maybe; + hatId?: Maybe; + shipContractAddress?: Maybe; + shipLaunched?: Maybe; + poolActive?: Maybe; + isAllocated?: Maybe; + isDistributed?: Maybe; +}; + + +export type GrantShipgrantsArgs = { + skip?: InputMaybe; + first?: InputMaybe; + orderBy?: InputMaybe; + orderDirection?: InputMaybe; + where?: InputMaybe; +}; + +export type GrantShip_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + nonce?: InputMaybe; + nonce_not?: InputMaybe; + nonce_gt?: InputMaybe; + nonce_lt?: InputMaybe; + nonce_gte?: InputMaybe; + nonce_lte?: InputMaybe; + nonce_in?: InputMaybe>; + nonce_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + profileMetadata?: InputMaybe; + profileMetadata_not?: InputMaybe; + profileMetadata_gt?: InputMaybe; + profileMetadata_lt?: InputMaybe; + profileMetadata_gte?: InputMaybe; + profileMetadata_lte?: InputMaybe; + profileMetadata_in?: InputMaybe>; + profileMetadata_not_in?: InputMaybe>; + profileMetadata_contains?: InputMaybe; + profileMetadata_contains_nocase?: InputMaybe; + profileMetadata_not_contains?: InputMaybe; + profileMetadata_not_contains_nocase?: InputMaybe; + profileMetadata_starts_with?: InputMaybe; + profileMetadata_starts_with_nocase?: InputMaybe; + profileMetadata_not_starts_with?: InputMaybe; + profileMetadata_not_starts_with_nocase?: InputMaybe; + profileMetadata_ends_with?: InputMaybe; + profileMetadata_ends_with_nocase?: InputMaybe; + profileMetadata_not_ends_with?: InputMaybe; + profileMetadata_not_ends_with_nocase?: InputMaybe; + profileMetadata_?: InputMaybe; + owner?: InputMaybe; + owner_not?: InputMaybe; + owner_gt?: InputMaybe; + owner_lt?: InputMaybe; + owner_gte?: InputMaybe; + owner_lte?: InputMaybe; + owner_in?: InputMaybe>; + owner_not_in?: InputMaybe>; + owner_contains?: InputMaybe; + owner_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + blockTimestamp?: InputMaybe; + blockTimestamp_not?: InputMaybe; + blockTimestamp_gt?: InputMaybe; + blockTimestamp_lt?: InputMaybe; + blockTimestamp_gte?: InputMaybe; + blockTimestamp_lte?: InputMaybe; + blockTimestamp_in?: InputMaybe>; + blockTimestamp_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + poolFunded?: InputMaybe; + poolFunded_not?: InputMaybe; + poolFunded_in?: InputMaybe>; + poolFunded_not_in?: InputMaybe>; + balance?: InputMaybe; + balance_not?: InputMaybe; + balance_gt?: InputMaybe; + balance_lt?: InputMaybe; + balance_gte?: InputMaybe; + balance_lte?: InputMaybe; + balance_in?: InputMaybe>; + balance_not_in?: InputMaybe>; + shipAllocation?: InputMaybe; + shipAllocation_not?: InputMaybe; + shipAllocation_gt?: InputMaybe; + shipAllocation_lt?: InputMaybe; + shipAllocation_gte?: InputMaybe; + shipAllocation_lte?: InputMaybe; + shipAllocation_in?: InputMaybe>; + shipAllocation_not_in?: InputMaybe>; + totalAvailableFunds?: InputMaybe; + totalAvailableFunds_not?: InputMaybe; + totalAvailableFunds_gt?: InputMaybe; + totalAvailableFunds_lt?: InputMaybe; + totalAvailableFunds_gte?: InputMaybe; + totalAvailableFunds_lte?: InputMaybe; + totalAvailableFunds_in?: InputMaybe>; + totalAvailableFunds_not_in?: InputMaybe>; + totalRoundAmount?: InputMaybe; + totalRoundAmount_not?: InputMaybe; + totalRoundAmount_gt?: InputMaybe; + totalRoundAmount_lt?: InputMaybe; + totalRoundAmount_gte?: InputMaybe; + totalRoundAmount_lte?: InputMaybe; + totalRoundAmount_in?: InputMaybe>; + totalRoundAmount_not_in?: InputMaybe>; + totalAllocated?: InputMaybe; + totalAllocated_not?: InputMaybe; + totalAllocated_gt?: InputMaybe; + totalAllocated_lt?: InputMaybe; + totalAllocated_gte?: InputMaybe; + totalAllocated_lte?: InputMaybe; + totalAllocated_in?: InputMaybe>; + totalAllocated_not_in?: InputMaybe>; + totalDistributed?: InputMaybe; + totalDistributed_not?: InputMaybe; + totalDistributed_gt?: InputMaybe; + totalDistributed_lt?: InputMaybe; + totalDistributed_gte?: InputMaybe; + totalDistributed_lte?: InputMaybe; + totalDistributed_in?: InputMaybe>; + totalDistributed_not_in?: InputMaybe>; + grants_?: InputMaybe; + alloProfileMembers?: InputMaybe; + alloProfileMembers_not?: InputMaybe; + alloProfileMembers_gt?: InputMaybe; + alloProfileMembers_lt?: InputMaybe; + alloProfileMembers_gte?: InputMaybe; + alloProfileMembers_lte?: InputMaybe; + alloProfileMembers_in?: InputMaybe>; + alloProfileMembers_not_in?: InputMaybe>; + alloProfileMembers_contains?: InputMaybe; + alloProfileMembers_contains_nocase?: InputMaybe; + alloProfileMembers_not_contains?: InputMaybe; + alloProfileMembers_not_contains_nocase?: InputMaybe; + alloProfileMembers_starts_with?: InputMaybe; + alloProfileMembers_starts_with_nocase?: InputMaybe; + alloProfileMembers_not_starts_with?: InputMaybe; + alloProfileMembers_not_starts_with_nocase?: InputMaybe; + alloProfileMembers_ends_with?: InputMaybe; + alloProfileMembers_ends_with_nocase?: InputMaybe; + alloProfileMembers_not_ends_with?: InputMaybe; + alloProfileMembers_not_ends_with_nocase?: InputMaybe; + alloProfileMembers_?: InputMaybe; + shipApplicationBytesData?: InputMaybe; + shipApplicationBytesData_not?: InputMaybe; + shipApplicationBytesData_gt?: InputMaybe; + shipApplicationBytesData_lt?: InputMaybe; + shipApplicationBytesData_gte?: InputMaybe; + shipApplicationBytesData_lte?: InputMaybe; + shipApplicationBytesData_in?: InputMaybe>; + shipApplicationBytesData_not_in?: InputMaybe>; + shipApplicationBytesData_contains?: InputMaybe; + shipApplicationBytesData_not_contains?: InputMaybe; + applicationSubmittedTime?: InputMaybe; + applicationSubmittedTime_not?: InputMaybe; + applicationSubmittedTime_gt?: InputMaybe; + applicationSubmittedTime_lt?: InputMaybe; + applicationSubmittedTime_gte?: InputMaybe; + applicationSubmittedTime_lte?: InputMaybe; + applicationSubmittedTime_in?: InputMaybe>; + applicationSubmittedTime_not_in?: InputMaybe>; + isAwaitingApproval?: InputMaybe; + isAwaitingApproval_not?: InputMaybe; + isAwaitingApproval_in?: InputMaybe>; + isAwaitingApproval_not_in?: InputMaybe>; + hasSubmittedApplication?: InputMaybe; + hasSubmittedApplication_not?: InputMaybe; + hasSubmittedApplication_in?: InputMaybe>; + hasSubmittedApplication_not_in?: InputMaybe>; + isApproved?: InputMaybe; + isApproved_not?: InputMaybe; + isApproved_in?: InputMaybe>; + isApproved_not_in?: InputMaybe>; + approvedTime?: InputMaybe; + approvedTime_not?: InputMaybe; + approvedTime_gt?: InputMaybe; + approvedTime_lt?: InputMaybe; + approvedTime_gte?: InputMaybe; + approvedTime_lte?: InputMaybe; + approvedTime_in?: InputMaybe>; + approvedTime_not_in?: InputMaybe>; + isRejected?: InputMaybe; + isRejected_not?: InputMaybe; + isRejected_in?: InputMaybe>; + isRejected_not_in?: InputMaybe>; + rejectedTime?: InputMaybe; + rejectedTime_not?: InputMaybe; + rejectedTime_gt?: InputMaybe; + rejectedTime_lt?: InputMaybe; + rejectedTime_gte?: InputMaybe; + rejectedTime_lte?: InputMaybe; + rejectedTime_in?: InputMaybe>; + rejectedTime_not_in?: InputMaybe>; + applicationReviewReason?: InputMaybe; + applicationReviewReason_not?: InputMaybe; + applicationReviewReason_gt?: InputMaybe; + applicationReviewReason_lt?: InputMaybe; + applicationReviewReason_gte?: InputMaybe; + applicationReviewReason_lte?: InputMaybe; + applicationReviewReason_in?: InputMaybe>; + applicationReviewReason_not_in?: InputMaybe>; + applicationReviewReason_contains?: InputMaybe; + applicationReviewReason_contains_nocase?: InputMaybe; + applicationReviewReason_not_contains?: InputMaybe; + applicationReviewReason_not_contains_nocase?: InputMaybe; + applicationReviewReason_starts_with?: InputMaybe; + applicationReviewReason_starts_with_nocase?: InputMaybe; + applicationReviewReason_not_starts_with?: InputMaybe; + applicationReviewReason_not_starts_with_nocase?: InputMaybe; + applicationReviewReason_ends_with?: InputMaybe; + applicationReviewReason_ends_with_nocase?: InputMaybe; + applicationReviewReason_not_ends_with?: InputMaybe; + applicationReviewReason_not_ends_with_nocase?: InputMaybe; + applicationReviewReason_?: InputMaybe; + poolId?: InputMaybe; + poolId_not?: InputMaybe; + poolId_gt?: InputMaybe; + poolId_lt?: InputMaybe; + poolId_gte?: InputMaybe; + poolId_lte?: InputMaybe; + poolId_in?: InputMaybe>; + poolId_not_in?: InputMaybe>; + hatId?: InputMaybe; + hatId_not?: InputMaybe; + hatId_gt?: InputMaybe; + hatId_lt?: InputMaybe; + hatId_gte?: InputMaybe; + hatId_lte?: InputMaybe; + hatId_in?: InputMaybe>; + hatId_not_in?: InputMaybe>; + hatId_contains?: InputMaybe; + hatId_contains_nocase?: InputMaybe; + hatId_not_contains?: InputMaybe; + hatId_not_contains_nocase?: InputMaybe; + hatId_starts_with?: InputMaybe; + hatId_starts_with_nocase?: InputMaybe; + hatId_not_starts_with?: InputMaybe; + hatId_not_starts_with_nocase?: InputMaybe; + hatId_ends_with?: InputMaybe; + hatId_ends_with_nocase?: InputMaybe; + hatId_not_ends_with?: InputMaybe; + hatId_not_ends_with_nocase?: InputMaybe; + shipContractAddress?: InputMaybe; + shipContractAddress_not?: InputMaybe; + shipContractAddress_gt?: InputMaybe; + shipContractAddress_lt?: InputMaybe; + shipContractAddress_gte?: InputMaybe; + shipContractAddress_lte?: InputMaybe; + shipContractAddress_in?: InputMaybe>; + shipContractAddress_not_in?: InputMaybe>; + shipContractAddress_contains?: InputMaybe; + shipContractAddress_not_contains?: InputMaybe; + shipLaunched?: InputMaybe; + shipLaunched_not?: InputMaybe; + shipLaunched_in?: InputMaybe>; + shipLaunched_not_in?: InputMaybe>; + poolActive?: InputMaybe; + poolActive_not?: InputMaybe; + poolActive_in?: InputMaybe>; + poolActive_not_in?: InputMaybe>; + isAllocated?: InputMaybe; + isAllocated_not?: InputMaybe; + isAllocated_in?: InputMaybe>; + isAllocated_not_in?: InputMaybe>; + isDistributed?: InputMaybe; + isDistributed_not?: InputMaybe; + isDistributed_in?: InputMaybe>; + isDistributed_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type GrantShip_orderBy = + | 'id' + | 'profileId' + | 'nonce' + | 'name' + | 'profileMetadata' + | 'profileMetadata__id' + | 'profileMetadata__protocol' + | 'profileMetadata__pointer' + | 'owner' + | 'anchor' + | 'blockNumber' + | 'blockTimestamp' + | 'transactionHash' + | 'status' + | 'poolFunded' + | 'balance' + | 'shipAllocation' + | 'totalAvailableFunds' + | 'totalRoundAmount' + | 'totalAllocated' + | 'totalDistributed' + | 'grants' + | 'alloProfileMembers' + | 'alloProfileMembers__id' + | 'shipApplicationBytesData' + | 'applicationSubmittedTime' + | 'isAwaitingApproval' + | 'hasSubmittedApplication' + | 'isApproved' + | 'approvedTime' + | 'isRejected' + | 'rejectedTime' + | 'applicationReviewReason' + | 'applicationReviewReason__id' + | 'applicationReviewReason__protocol' + | 'applicationReviewReason__pointer' + | 'poolId' + | 'hatId' + | 'shipContractAddress' + | 'shipLaunched' + | 'poolActive' + | 'isAllocated' + | 'isDistributed'; + +export type Grant_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + projectId?: InputMaybe; + projectId_not?: InputMaybe; + projectId_gt?: InputMaybe; + projectId_lt?: InputMaybe; + projectId_gte?: InputMaybe; + projectId_lte?: InputMaybe; + projectId_in?: InputMaybe>; + projectId_not_in?: InputMaybe>; + projectId_contains?: InputMaybe; + projectId_contains_nocase?: InputMaybe; + projectId_not_contains?: InputMaybe; + projectId_not_contains_nocase?: InputMaybe; + projectId_starts_with?: InputMaybe; + projectId_starts_with_nocase?: InputMaybe; + projectId_not_starts_with?: InputMaybe; + projectId_not_starts_with_nocase?: InputMaybe; + projectId_ends_with?: InputMaybe; + projectId_ends_with_nocase?: InputMaybe; + projectId_not_ends_with?: InputMaybe; + projectId_not_ends_with_nocase?: InputMaybe; + projectId_?: InputMaybe; + shipId?: InputMaybe; + shipId_not?: InputMaybe; + shipId_gt?: InputMaybe; + shipId_lt?: InputMaybe; + shipId_gte?: InputMaybe; + shipId_lte?: InputMaybe; + shipId_in?: InputMaybe>; + shipId_not_in?: InputMaybe>; + shipId_contains?: InputMaybe; + shipId_contains_nocase?: InputMaybe; + shipId_not_contains?: InputMaybe; + shipId_not_contains_nocase?: InputMaybe; + shipId_starts_with?: InputMaybe; + shipId_starts_with_nocase?: InputMaybe; + shipId_not_starts_with?: InputMaybe; + shipId_not_starts_with_nocase?: InputMaybe; + shipId_ends_with?: InputMaybe; + shipId_ends_with_nocase?: InputMaybe; + shipId_not_ends_with?: InputMaybe; + shipId_not_ends_with_nocase?: InputMaybe; + shipId_?: InputMaybe; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + hasResubmitted?: InputMaybe; + hasResubmitted_not?: InputMaybe; + hasResubmitted_in?: InputMaybe>; + hasResubmitted_not_in?: InputMaybe>; + grantStatus?: InputMaybe; + grantStatus_not?: InputMaybe; + grantStatus_gt?: InputMaybe; + grantStatus_lt?: InputMaybe; + grantStatus_gte?: InputMaybe; + grantStatus_lte?: InputMaybe; + grantStatus_in?: InputMaybe>; + grantStatus_not_in?: InputMaybe>; + grantApplicationBytes?: InputMaybe; + grantApplicationBytes_not?: InputMaybe; + grantApplicationBytes_gt?: InputMaybe; + grantApplicationBytes_lt?: InputMaybe; + grantApplicationBytes_gte?: InputMaybe; + grantApplicationBytes_lte?: InputMaybe; + grantApplicationBytes_in?: InputMaybe>; + grantApplicationBytes_not_in?: InputMaybe>; + grantApplicationBytes_contains?: InputMaybe; + grantApplicationBytes_not_contains?: InputMaybe; + applicationSubmitted?: InputMaybe; + applicationSubmitted_not?: InputMaybe; + applicationSubmitted_gt?: InputMaybe; + applicationSubmitted_lt?: InputMaybe; + applicationSubmitted_gte?: InputMaybe; + applicationSubmitted_lte?: InputMaybe; + applicationSubmitted_in?: InputMaybe>; + applicationSubmitted_not_in?: InputMaybe>; + currentMilestoneIndex?: InputMaybe; + currentMilestoneIndex_not?: InputMaybe; + currentMilestoneIndex_gt?: InputMaybe; + currentMilestoneIndex_lt?: InputMaybe; + currentMilestoneIndex_gte?: InputMaybe; + currentMilestoneIndex_lte?: InputMaybe; + currentMilestoneIndex_in?: InputMaybe>; + currentMilestoneIndex_not_in?: InputMaybe>; + milestonesAmount?: InputMaybe; + milestonesAmount_not?: InputMaybe; + milestonesAmount_gt?: InputMaybe; + milestonesAmount_lt?: InputMaybe; + milestonesAmount_gte?: InputMaybe; + milestonesAmount_lte?: InputMaybe; + milestonesAmount_in?: InputMaybe>; + milestonesAmount_not_in?: InputMaybe>; + milestones?: InputMaybe>; + milestones_not?: InputMaybe>; + milestones_contains?: InputMaybe>; + milestones_contains_nocase?: InputMaybe>; + milestones_not_contains?: InputMaybe>; + milestones_not_contains_nocase?: InputMaybe>; + milestones_?: InputMaybe; + shipApprovalReason?: InputMaybe; + shipApprovalReason_not?: InputMaybe; + shipApprovalReason_gt?: InputMaybe; + shipApprovalReason_lt?: InputMaybe; + shipApprovalReason_gte?: InputMaybe; + shipApprovalReason_lte?: InputMaybe; + shipApprovalReason_in?: InputMaybe>; + shipApprovalReason_not_in?: InputMaybe>; + shipApprovalReason_contains?: InputMaybe; + shipApprovalReason_contains_nocase?: InputMaybe; + shipApprovalReason_not_contains?: InputMaybe; + shipApprovalReason_not_contains_nocase?: InputMaybe; + shipApprovalReason_starts_with?: InputMaybe; + shipApprovalReason_starts_with_nocase?: InputMaybe; + shipApprovalReason_not_starts_with?: InputMaybe; + shipApprovalReason_not_starts_with_nocase?: InputMaybe; + shipApprovalReason_ends_with?: InputMaybe; + shipApprovalReason_ends_with_nocase?: InputMaybe; + shipApprovalReason_not_ends_with?: InputMaybe; + shipApprovalReason_not_ends_with_nocase?: InputMaybe; + shipApprovalReason_?: InputMaybe; + hasShipApproved?: InputMaybe; + hasShipApproved_not?: InputMaybe; + hasShipApproved_in?: InputMaybe>; + hasShipApproved_not_in?: InputMaybe>; + amtAllocated?: InputMaybe; + amtAllocated_not?: InputMaybe; + amtAllocated_gt?: InputMaybe; + amtAllocated_lt?: InputMaybe; + amtAllocated_gte?: InputMaybe; + amtAllocated_lte?: InputMaybe; + amtAllocated_in?: InputMaybe>; + amtAllocated_not_in?: InputMaybe>; + amtDistributed?: InputMaybe; + amtDistributed_not?: InputMaybe; + amtDistributed_gt?: InputMaybe; + amtDistributed_lt?: InputMaybe; + amtDistributed_gte?: InputMaybe; + amtDistributed_lte?: InputMaybe; + amtDistributed_in?: InputMaybe>; + amtDistributed_not_in?: InputMaybe>; + allocatedBy?: InputMaybe; + allocatedBy_not?: InputMaybe; + allocatedBy_gt?: InputMaybe; + allocatedBy_lt?: InputMaybe; + allocatedBy_gte?: InputMaybe; + allocatedBy_lte?: InputMaybe; + allocatedBy_in?: InputMaybe>; + allocatedBy_not_in?: InputMaybe>; + allocatedBy_contains?: InputMaybe; + allocatedBy_not_contains?: InputMaybe; + facilitatorReason?: InputMaybe; + facilitatorReason_not?: InputMaybe; + facilitatorReason_gt?: InputMaybe; + facilitatorReason_lt?: InputMaybe; + facilitatorReason_gte?: InputMaybe; + facilitatorReason_lte?: InputMaybe; + facilitatorReason_in?: InputMaybe>; + facilitatorReason_not_in?: InputMaybe>; + facilitatorReason_contains?: InputMaybe; + facilitatorReason_contains_nocase?: InputMaybe; + facilitatorReason_not_contains?: InputMaybe; + facilitatorReason_not_contains_nocase?: InputMaybe; + facilitatorReason_starts_with?: InputMaybe; + facilitatorReason_starts_with_nocase?: InputMaybe; + facilitatorReason_not_starts_with?: InputMaybe; + facilitatorReason_not_starts_with_nocase?: InputMaybe; + facilitatorReason_ends_with?: InputMaybe; + facilitatorReason_ends_with_nocase?: InputMaybe; + facilitatorReason_not_ends_with?: InputMaybe; + facilitatorReason_not_ends_with_nocase?: InputMaybe; + facilitatorReason_?: InputMaybe; + hasFacilitatorApproved?: InputMaybe; + hasFacilitatorApproved_not?: InputMaybe; + hasFacilitatorApproved_in?: InputMaybe>; + hasFacilitatorApproved_not_in?: InputMaybe>; + milestonesApproved?: InputMaybe; + milestonesApproved_not?: InputMaybe; + milestonesApproved_in?: InputMaybe>; + milestonesApproved_not_in?: InputMaybe>; + milestonesApprovedReason?: InputMaybe; + milestonesApprovedReason_not?: InputMaybe; + milestonesApprovedReason_gt?: InputMaybe; + milestonesApprovedReason_lt?: InputMaybe; + milestonesApprovedReason_gte?: InputMaybe; + milestonesApprovedReason_lte?: InputMaybe; + milestonesApprovedReason_in?: InputMaybe>; + milestonesApprovedReason_not_in?: InputMaybe>; + milestonesApprovedReason_contains?: InputMaybe; + milestonesApprovedReason_contains_nocase?: InputMaybe; + milestonesApprovedReason_not_contains?: InputMaybe; + milestonesApprovedReason_not_contains_nocase?: InputMaybe; + milestonesApprovedReason_starts_with?: InputMaybe; + milestonesApprovedReason_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_not_starts_with?: InputMaybe; + milestonesApprovedReason_not_starts_with_nocase?: InputMaybe; + milestonesApprovedReason_ends_with?: InputMaybe; + milestonesApprovedReason_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_not_ends_with?: InputMaybe; + milestonesApprovedReason_not_ends_with_nocase?: InputMaybe; + milestonesApprovedReason_?: InputMaybe; + currentMilestoneRejectedReason?: InputMaybe; + currentMilestoneRejectedReason_not?: InputMaybe; + currentMilestoneRejectedReason_gt?: InputMaybe; + currentMilestoneRejectedReason_lt?: InputMaybe; + currentMilestoneRejectedReason_gte?: InputMaybe; + currentMilestoneRejectedReason_lte?: InputMaybe; + currentMilestoneRejectedReason_in?: InputMaybe>; + currentMilestoneRejectedReason_not_in?: InputMaybe>; + currentMilestoneRejectedReason_contains?: InputMaybe; + currentMilestoneRejectedReason_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_contains?: InputMaybe; + currentMilestoneRejectedReason_not_contains_nocase?: InputMaybe; + currentMilestoneRejectedReason_starts_with?: InputMaybe; + currentMilestoneRejectedReason_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with?: InputMaybe; + currentMilestoneRejectedReason_not_starts_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_ends_with?: InputMaybe; + currentMilestoneRejectedReason_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with?: InputMaybe; + currentMilestoneRejectedReason_not_ends_with_nocase?: InputMaybe; + currentMilestoneRejectedReason_?: InputMaybe; + resubmitHistory?: InputMaybe>; + resubmitHistory_not?: InputMaybe>; + resubmitHistory_contains?: InputMaybe>; + resubmitHistory_contains_nocase?: InputMaybe>; + resubmitHistory_not_contains?: InputMaybe>; + resubmitHistory_not_contains_nocase?: InputMaybe>; + resubmitHistory_?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; +}; + +export type Grant_orderBy = + | 'id' + | 'projectId' + | 'projectId__id' + | 'projectId__profileId' + | 'projectId__status' + | 'projectId__nonce' + | 'projectId__name' + | 'projectId__owner' + | 'projectId__anchor' + | 'projectId__blockNumber' + | 'projectId__blockTimestamp' + | 'projectId__transactionHash' + | 'projectId__totalAmountReceived' + | 'shipId' + | 'shipId__id' + | 'shipId__profileId' + | 'shipId__nonce' + | 'shipId__name' + | 'shipId__owner' + | 'shipId__anchor' + | 'shipId__blockNumber' + | 'shipId__blockTimestamp' + | 'shipId__transactionHash' + | 'shipId__status' + | 'shipId__poolFunded' + | 'shipId__balance' + | 'shipId__shipAllocation' + | 'shipId__totalAvailableFunds' + | 'shipId__totalRoundAmount' + | 'shipId__totalAllocated' + | 'shipId__totalDistributed' + | 'shipId__shipApplicationBytesData' + | 'shipId__applicationSubmittedTime' + | 'shipId__isAwaitingApproval' + | 'shipId__hasSubmittedApplication' + | 'shipId__isApproved' + | 'shipId__approvedTime' + | 'shipId__isRejected' + | 'shipId__rejectedTime' + | 'shipId__poolId' + | 'shipId__hatId' + | 'shipId__shipContractAddress' + | 'shipId__shipLaunched' + | 'shipId__poolActive' + | 'shipId__isAllocated' + | 'shipId__isDistributed' + | 'lastUpdated' + | 'hasResubmitted' + | 'grantStatus' + | 'grantApplicationBytes' + | 'applicationSubmitted' + | 'currentMilestoneIndex' + | 'milestonesAmount' + | 'milestones' + | 'shipApprovalReason' + | 'shipApprovalReason__id' + | 'shipApprovalReason__protocol' + | 'shipApprovalReason__pointer' + | 'hasShipApproved' + | 'amtAllocated' + | 'amtDistributed' + | 'allocatedBy' + | 'facilitatorReason' + | 'facilitatorReason__id' + | 'facilitatorReason__protocol' + | 'facilitatorReason__pointer' + | 'hasFacilitatorApproved' + | 'milestonesApproved' + | 'milestonesApprovedReason' + | 'milestonesApprovedReason__id' + | 'milestonesApprovedReason__protocol' + | 'milestonesApprovedReason__pointer' + | 'currentMilestoneRejectedReason' + | 'currentMilestoneRejectedReason__id' + | 'currentMilestoneRejectedReason__protocol' + | 'currentMilestoneRejectedReason__pointer' + | 'resubmitHistory'; + +export type Log = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + message: Scalars['String']; + description?: Maybe; + type?: Maybe; }; - -export type QueryprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Log_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + message?: InputMaybe; + message_not?: InputMaybe; + message_gt?: InputMaybe; + message_lt?: InputMaybe; + message_gte?: InputMaybe; + message_lte?: InputMaybe; + message_in?: InputMaybe>; + message_not_in?: InputMaybe>; + message_contains?: InputMaybe; + message_contains_nocase?: InputMaybe; + message_not_contains?: InputMaybe; + message_not_contains_nocase?: InputMaybe; + message_starts_with?: InputMaybe; + message_starts_with_nocase?: InputMaybe; + message_not_starts_with?: InputMaybe; + message_not_starts_with_nocase?: InputMaybe; + message_ends_with?: InputMaybe; + message_ends_with_nocase?: InputMaybe; + message_not_ends_with?: InputMaybe; + message_not_ends_with_nocase?: InputMaybe; + description?: InputMaybe; + description_not?: InputMaybe; + description_gt?: InputMaybe; + description_lt?: InputMaybe; + description_gte?: InputMaybe; + description_lte?: InputMaybe; + description_in?: InputMaybe>; + description_not_in?: InputMaybe>; + description_contains?: InputMaybe; + description_contains_nocase?: InputMaybe; + description_not_contains?: InputMaybe; + description_not_contains_nocase?: InputMaybe; + description_starts_with?: InputMaybe; + description_starts_with_nocase?: InputMaybe; + description_not_starts_with?: InputMaybe; + description_not_starts_with_nocase?: InputMaybe; + description_ends_with?: InputMaybe; + description_ends_with_nocase?: InputMaybe; + description_not_ends_with?: InputMaybe; + description_not_ends_with_nocase?: InputMaybe; + type?: InputMaybe; + type_not?: InputMaybe; + type_gt?: InputMaybe; + type_lt?: InputMaybe; + type_gte?: InputMaybe; + type_lte?: InputMaybe; + type_in?: InputMaybe>; + type_not_in?: InputMaybe>; + type_contains?: InputMaybe; + type_contains_nocase?: InputMaybe; + type_not_contains?: InputMaybe; + type_not_contains_nocase?: InputMaybe; + type_starts_with?: InputMaybe; + type_starts_with_nocase?: InputMaybe; + type_not_starts_with?: InputMaybe; + type_not_starts_with_nocase?: InputMaybe; + type_ends_with?: InputMaybe; + type_ends_with_nocase?: InputMaybe; + type_not_ends_with?: InputMaybe; + type_not_ends_with_nocase?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type Log_orderBy = + | 'id' + | 'message' + | 'description' + | 'type'; -export type QuerytransactionArgs = { +export type Milestone = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type QuerytransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + amountPercentage: Scalars['Bytes']; + mmetadata: Scalars['BigInt']; + amount: Scalars['BigInt']; + status: Scalars['Int']; + lastUpdated: Scalars['BigInt']; }; - -export type QueryrawMetadataArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Milestone_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + amountPercentage?: InputMaybe; + amountPercentage_not?: InputMaybe; + amountPercentage_gt?: InputMaybe; + amountPercentage_lt?: InputMaybe; + amountPercentage_gte?: InputMaybe; + amountPercentage_lte?: InputMaybe; + amountPercentage_in?: InputMaybe>; + amountPercentage_not_in?: InputMaybe>; + amountPercentage_contains?: InputMaybe; + amountPercentage_not_contains?: InputMaybe; + mmetadata?: InputMaybe; + mmetadata_not?: InputMaybe; + mmetadata_gt?: InputMaybe; + mmetadata_lt?: InputMaybe; + mmetadata_gte?: InputMaybe; + mmetadata_lte?: InputMaybe; + mmetadata_in?: InputMaybe>; + mmetadata_not_in?: InputMaybe>; + amount?: InputMaybe; + amount_not?: InputMaybe; + amount_gt?: InputMaybe; + amount_lt?: InputMaybe; + amount_gte?: InputMaybe; + amount_lte?: InputMaybe; + amount_in?: InputMaybe>; + amount_not_in?: InputMaybe>; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + lastUpdated?: InputMaybe; + lastUpdated_not?: InputMaybe; + lastUpdated_gt?: InputMaybe; + lastUpdated_lt?: InputMaybe; + lastUpdated_gte?: InputMaybe; + lastUpdated_lte?: InputMaybe; + lastUpdated_in?: InputMaybe>; + lastUpdated_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type Milestone_orderBy = + | 'id' + | 'amountPercentage' + | 'mmetadata' + | 'amount' + | 'status' + | 'lastUpdated'; + +/** Defines the order direction, either ascending or descending */ +export type OrderDirection = + | 'asc' + | 'desc'; -export type QuerylogArgs = { +export type PoolIdLookup = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + entityId: Scalars['Bytes']; }; - -export type QuerylogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type PoolIdLookup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + entityId?: InputMaybe; + entityId_not?: InputMaybe; + entityId_gt?: InputMaybe; + entityId_lt?: InputMaybe; + entityId_gte?: InputMaybe; + entityId_lte?: InputMaybe; + entityId_in?: InputMaybe>; + entityId_not_in?: InputMaybe>; + entityId_contains?: InputMaybe; + entityId_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type PoolIdLookup_orderBy = + | 'id' + | 'entityId'; -export type QuerygmVersionArgs = { +export type ProfileIdToAnchor = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + profileId: Scalars['Bytes']; + anchor: Scalars['Bytes']; +}; + +export type ProfileIdToAnchor_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type ProfileIdToAnchor_orderBy = + | 'id' + | 'profileId' + | 'anchor'; + +export type ProfileMemberGroup = { + id: Scalars['Bytes']; + addresses?: Maybe>; +}; -export type QuerygmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type ProfileMemberGroup_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + addresses?: InputMaybe>; + addresses_not?: InputMaybe>; + addresses_contains?: InputMaybe>; + addresses_contains_nocase?: InputMaybe>; + addresses_not_contains?: InputMaybe>; + addresses_not_contains_nocase?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type ProfileMemberGroup_orderBy = + | 'id' + | 'addresses'; -export type QuerygmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +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 QuerygmDeploymentsArgs = { +export type ProjectgrantsArgs = { skip?: InputMaybe; first?: InputMaybe; - orderBy?: InputMaybe; + orderBy?: InputMaybe; orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + where?: InputMaybe; +}; + +export type Project_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + id_contains?: InputMaybe; + id_not_contains?: InputMaybe; + profileId?: InputMaybe; + profileId_not?: InputMaybe; + profileId_gt?: InputMaybe; + profileId_lt?: InputMaybe; + profileId_gte?: InputMaybe; + profileId_lte?: InputMaybe; + profileId_in?: InputMaybe>; + profileId_not_in?: InputMaybe>; + profileId_contains?: InputMaybe; + profileId_not_contains?: InputMaybe; + status?: InputMaybe; + status_not?: InputMaybe; + status_gt?: InputMaybe; + status_lt?: InputMaybe; + status_gte?: InputMaybe; + status_lte?: InputMaybe; + status_in?: InputMaybe>; + status_not_in?: InputMaybe>; + nonce?: InputMaybe; + nonce_not?: InputMaybe; + nonce_gt?: InputMaybe; + nonce_lt?: InputMaybe; + nonce_gte?: InputMaybe; + nonce_lte?: InputMaybe; + nonce_in?: InputMaybe>; + nonce_not_in?: InputMaybe>; + name?: InputMaybe; + name_not?: InputMaybe; + name_gt?: InputMaybe; + name_lt?: InputMaybe; + name_gte?: InputMaybe; + name_lte?: InputMaybe; + name_in?: InputMaybe>; + name_not_in?: InputMaybe>; + name_contains?: InputMaybe; + name_contains_nocase?: InputMaybe; + name_not_contains?: InputMaybe; + name_not_contains_nocase?: InputMaybe; + name_starts_with?: InputMaybe; + name_starts_with_nocase?: InputMaybe; + name_not_starts_with?: InputMaybe; + name_not_starts_with_nocase?: InputMaybe; + name_ends_with?: InputMaybe; + name_ends_with_nocase?: InputMaybe; + name_not_ends_with?: InputMaybe; + name_not_ends_with_nocase?: InputMaybe; + metadata?: InputMaybe; + metadata_not?: InputMaybe; + metadata_gt?: InputMaybe; + metadata_lt?: InputMaybe; + metadata_gte?: InputMaybe; + metadata_lte?: InputMaybe; + metadata_in?: InputMaybe>; + metadata_not_in?: InputMaybe>; + metadata_contains?: InputMaybe; + metadata_contains_nocase?: InputMaybe; + metadata_not_contains?: InputMaybe; + metadata_not_contains_nocase?: InputMaybe; + metadata_starts_with?: InputMaybe; + metadata_starts_with_nocase?: InputMaybe; + metadata_not_starts_with?: InputMaybe; + metadata_not_starts_with_nocase?: InputMaybe; + metadata_ends_with?: InputMaybe; + metadata_ends_with_nocase?: InputMaybe; + metadata_not_ends_with?: InputMaybe; + metadata_not_ends_with_nocase?: InputMaybe; + metadata_?: InputMaybe; + owner?: InputMaybe; + owner_not?: InputMaybe; + owner_gt?: InputMaybe; + owner_lt?: InputMaybe; + owner_gte?: InputMaybe; + owner_lte?: InputMaybe; + owner_in?: InputMaybe>; + owner_not_in?: InputMaybe>; + owner_contains?: InputMaybe; + owner_not_contains?: InputMaybe; + anchor?: InputMaybe; + anchor_not?: InputMaybe; + anchor_gt?: InputMaybe; + anchor_lt?: InputMaybe; + anchor_gte?: InputMaybe; + anchor_lte?: InputMaybe; + anchor_in?: InputMaybe>; + anchor_not_in?: InputMaybe>; + anchor_contains?: InputMaybe; + anchor_not_contains?: InputMaybe; + blockNumber?: InputMaybe; + blockNumber_not?: InputMaybe; + blockNumber_gt?: InputMaybe; + blockNumber_lt?: InputMaybe; + blockNumber_gte?: InputMaybe; + blockNumber_lte?: InputMaybe; + blockNumber_in?: InputMaybe>; + blockNumber_not_in?: InputMaybe>; + blockTimestamp?: InputMaybe; + blockTimestamp_not?: InputMaybe; + blockTimestamp_gt?: InputMaybe; + blockTimestamp_lt?: InputMaybe; + blockTimestamp_gte?: InputMaybe; + blockTimestamp_lte?: InputMaybe; + blockTimestamp_in?: InputMaybe>; + blockTimestamp_not_in?: InputMaybe>; + transactionHash?: InputMaybe; + transactionHash_not?: InputMaybe; + transactionHash_gt?: InputMaybe; + transactionHash_lt?: InputMaybe; + transactionHash_gte?: InputMaybe; + transactionHash_lte?: InputMaybe; + transactionHash_in?: InputMaybe>; + transactionHash_not_in?: InputMaybe>; + transactionHash_contains?: InputMaybe; + transactionHash_not_contains?: InputMaybe; + grants_?: InputMaybe; + members?: InputMaybe; + members_not?: InputMaybe; + members_gt?: InputMaybe; + members_lt?: InputMaybe; + members_gte?: InputMaybe; + members_lte?: InputMaybe; + members_in?: InputMaybe>; + members_not_in?: InputMaybe>; + members_contains?: InputMaybe; + members_contains_nocase?: InputMaybe; + members_not_contains?: InputMaybe; + members_not_contains_nocase?: InputMaybe; + members_starts_with?: InputMaybe; + members_starts_with_nocase?: InputMaybe; + members_not_starts_with?: InputMaybe; + members_not_starts_with_nocase?: InputMaybe; + members_ends_with?: InputMaybe; + members_ends_with_nocase?: InputMaybe; + members_not_ends_with?: InputMaybe; + members_not_ends_with_nocase?: InputMaybe; + members_?: InputMaybe; + totalAmountReceived?: InputMaybe; + totalAmountReceived_not?: InputMaybe; + totalAmountReceived_gt?: InputMaybe; + totalAmountReceived_lt?: InputMaybe; + totalAmountReceived_gte?: InputMaybe; + totalAmountReceived_lte?: InputMaybe; + totalAmountReceived_in?: InputMaybe>; + totalAmountReceived_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; - -export type Query_metaArgs = { - block?: 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']; @@ -2655,634 +4195,2894 @@ export type RawMetadata_filter = { 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 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: Array; - log?: Maybe; - logs: Array; - gmVersion?: Maybe; - gmVersions: Array; - gmDeployment?: Maybe; - gmDeployments: Array; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; -}; - - -export type SubscriptionprojectArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionprojectsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemEntityArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemEntitiesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemEmbedArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionfeedItemEmbedsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionupdateArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; -}; - - -export type SubscriptionupdatesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + 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 SubscriptiongrantShipArgs = { +export type Transaction = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + blockNumber: Scalars['BigInt']; + sender: Scalars['Bytes']; + txHash: Scalars['Bytes']; }; - -export type SubscriptiongrantShipsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +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 SubscriptionpoolIdLookupArgs = { +export type Update = { id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; + 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 SubscriptionpoolIdLookupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +export type Update_filter = { + id?: InputMaybe; + id_not?: InputMaybe; + id_gt?: InputMaybe; + id_lt?: InputMaybe; + id_gte?: InputMaybe; + id_lte?: InputMaybe; + id_in?: InputMaybe>; + id_not_in?: InputMaybe>; + scope?: InputMaybe; + scope_not?: InputMaybe; + scope_gt?: InputMaybe; + scope_lt?: InputMaybe; + scope_gte?: InputMaybe; + scope_lte?: InputMaybe; + scope_in?: InputMaybe>; + scope_not_in?: InputMaybe>; + posterRole?: InputMaybe; + posterRole_not?: InputMaybe; + posterRole_gt?: InputMaybe; + posterRole_lt?: InputMaybe; + posterRole_gte?: InputMaybe; + posterRole_lte?: InputMaybe; + posterRole_in?: InputMaybe>; + posterRole_not_in?: InputMaybe>; + entityAddress?: InputMaybe; + entityAddress_not?: InputMaybe; + entityAddress_gt?: InputMaybe; + entityAddress_lt?: InputMaybe; + entityAddress_gte?: InputMaybe; + entityAddress_lte?: InputMaybe; + entityAddress_in?: InputMaybe>; + entityAddress_not_in?: InputMaybe>; + entityAddress_contains?: InputMaybe; + entityAddress_not_contains?: InputMaybe; + postedBy?: InputMaybe; + postedBy_not?: InputMaybe; + postedBy_gt?: InputMaybe; + postedBy_lt?: InputMaybe; + postedBy_gte?: InputMaybe; + postedBy_lte?: InputMaybe; + postedBy_in?: InputMaybe>; + postedBy_not_in?: InputMaybe>; + postedBy_contains?: InputMaybe; + postedBy_not_contains?: InputMaybe; + content?: InputMaybe; + content_not?: InputMaybe; + content_gt?: InputMaybe; + content_lt?: InputMaybe; + content_gte?: InputMaybe; + content_lte?: InputMaybe; + content_in?: InputMaybe>; + content_not_in?: InputMaybe>; + content_contains?: InputMaybe; + content_contains_nocase?: InputMaybe; + content_not_contains?: InputMaybe; + content_not_contains_nocase?: InputMaybe; + content_starts_with?: InputMaybe; + content_starts_with_nocase?: InputMaybe; + content_not_starts_with?: InputMaybe; + content_not_starts_with_nocase?: InputMaybe; + content_ends_with?: InputMaybe; + content_ends_with_nocase?: InputMaybe; + content_not_ends_with?: InputMaybe; + content_not_ends_with_nocase?: InputMaybe; + content_?: InputMaybe; + contentSchema?: InputMaybe; + contentSchema_not?: InputMaybe; + contentSchema_gt?: InputMaybe; + contentSchema_lt?: InputMaybe; + contentSchema_gte?: InputMaybe; + contentSchema_lte?: InputMaybe; + contentSchema_in?: InputMaybe>; + contentSchema_not_in?: InputMaybe>; + postDecorator?: InputMaybe; + postDecorator_not?: InputMaybe; + postDecorator_gt?: InputMaybe; + postDecorator_lt?: InputMaybe; + postDecorator_gte?: InputMaybe; + postDecorator_lte?: InputMaybe; + postDecorator_in?: InputMaybe>; + postDecorator_not_in?: InputMaybe>; + timestamp?: InputMaybe; + timestamp_not?: InputMaybe; + timestamp_gt?: InputMaybe; + timestamp_lt?: InputMaybe; + timestamp_gte?: InputMaybe; + timestamp_lte?: InputMaybe; + timestamp_in?: InputMaybe>; + timestamp_not_in?: InputMaybe>; + /** Filter for the block changed event. */ + _change_block?: InputMaybe; + and?: InputMaybe>>; + or?: InputMaybe>>; }; +export type Update_orderBy = + | 'id' + | 'scope' + | 'posterRole' + | 'entityAddress' + | 'postedBy' + | 'content' + | 'content__id' + | 'content__protocol' + | 'content__pointer' + | 'contentSchema' + | 'postDecorator' + | 'timestamp'; -export type SubscriptiongameManagerArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +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; }; - -export type SubscriptiongameManagersArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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'; -export type SubscriptiongameRoundArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongameRoundsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionapplicationHistoryArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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'; -export type SubscriptionapplicationHistoriesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongrantArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongrantsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionmilestoneArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionmilestonesArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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']; +}; -export type SubscriptionprofileIdToAnchorArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** Boolean expression to filter rows from the table "HALParams". All fields are combined with a logical 'AND'. */ +export type HALParams_bool_exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; }; +/** Ordering options when selecting data from "HALParams". */ +export type HALParams_order_by = { + db_write_timestamp?: InputMaybe; + hatId?: InputMaybe; + hatsAddress?: InputMaybe; + id?: InputMaybe; +}; -export type SubscriptionprofileIdToAnchorsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionprofileMemberGroupArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionprofileMemberGroupsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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'; -export type SubscriptiontransactionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiontransactionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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'; -export type SubscriptionrawMetadataArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionlogArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptionlogsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongmVersionArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongmVersionsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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'; -export type SubscriptiongmDeploymentArgs = { - id: Scalars['ID']; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type SubscriptiongmDeploymentsArgs = { - skip?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - where?: InputMaybe; - block?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; +/** 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; +}; -export type Subscription_metaArgs = { - block?: 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; }; -export type Transaction = { - id: Scalars['ID']; - blockNumber: Scalars['BigInt']; - sender: Scalars['Bytes']; - txHash: Scalars['Bytes']; +/** order by sum() on columns of table "ShipChoice" */ +export type ShipChoice_sum_order_by = { + mdProtocol?: InputMaybe; + voteTally?: 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>>; +/** order by var_pop() on columns of table "ShipChoice" */ +export type ShipChoice_var_pop_order_by = { + mdProtocol?: InputMaybe; + voteTally?: InputMaybe; }; -export type Transaction_orderBy = +/** 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' - | 'blockNumber' - | 'sender' - | 'txHash'; + /** 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; +}; -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']; +/** order by sum() on columns of table "ShipVote" */ +export type ShipVote_sum_order_by = { + amount?: InputMaybe; + mdProtocol?: 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>>; +/** order by var_pop() on columns of table "ShipVote" */ +export type ShipVote_var_pop_order_by = { + amount?: InputMaybe; + mdProtocol?: InputMaybe; }; -export type Update_orderBy = +/** 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' - | 'scope' - | 'posterRole' - | 'entityAddress' - | 'postedBy' - | 'content' - | 'content__id' - | 'content__protocol' - | 'content__pointer' - | 'contentSchema' - | 'postDecorator' - | 'timestamp'; + /** 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; +}; + +/** columns and relationships of "TVParams" */ +export type TVParams = { + db_write_timestamp?: Maybe; + id: Scalars['String']; + voteDuration: Scalars['numeric']; +}; -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; +/** 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; }; -/** 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']; +/** Ordering options when selecting data from "TVParams". */ +export type TVParams_order_by = { + db_write_timestamp?: InputMaybe; + id?: InputMaybe; + voteDuration?: 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'; +/** 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; +}; + +/** 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_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; + _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 WithIndex = TObject & Record; export type ResolversObject = WithIndex; @@ -3370,6 +7170,9 @@ export type DirectiveResolverFn; + Subscription: ResolverTypeWrapper<{}>; + Aggregation_interval: Aggregation_interval; ApplicationHistory: ResolverTypeWrapper; ApplicationHistory_filter: ApplicationHistory_filter; ApplicationHistory_orderBy: ApplicationHistory_orderBy; @@ -3429,12 +7232,11 @@ export type ResolversTypes = ResolversObject<{ Project: ResolverTypeWrapper; Project_filter: Project_filter; Project_orderBy: Project_orderBy; - Query: ResolverTypeWrapper<{}>; RawMetadata: ResolverTypeWrapper; RawMetadata_filter: RawMetadata_filter; RawMetadata_orderBy: RawMetadata_orderBy; String: ResolverTypeWrapper; - Subscription: ResolverTypeWrapper<{}>; + Timestamp: ResolverTypeWrapper; Transaction: ResolverTypeWrapper; Transaction_filter: Transaction_filter; Transaction_orderBy: Transaction_orderBy; @@ -3444,10 +7246,233 @@ export type ResolversTypes = ResolversObject<{ _Block_: ResolverTypeWrapper<_Block_>; _Meta_: ResolverTypeWrapper<_Meta_>; _SubgraphErrorPolicy_: _SubgraphErrorPolicy_; + Boolean_comparison_exp: Boolean_comparison_exp; + Contest: ResolverTypeWrapper; + ContestClone: ResolverTypeWrapper; + ContestClone_bool_exp: ContestClone_bool_exp; + ContestClone_order_by: ContestClone_order_by; + ContestClone_select_column: ContestClone_select_column; + ContestClone_stream_cursor_input: ContestClone_stream_cursor_input; + ContestClone_stream_cursor_value_input: ContestClone_stream_cursor_value_input; + ContestTemplate: ResolverTypeWrapper; + ContestTemplate_bool_exp: ContestTemplate_bool_exp; + ContestTemplate_order_by: ContestTemplate_order_by; + ContestTemplate_select_column: ContestTemplate_select_column; + ContestTemplate_stream_cursor_input: ContestTemplate_stream_cursor_input; + ContestTemplate_stream_cursor_value_input: ContestTemplate_stream_cursor_value_input; + Contest_bool_exp: Contest_bool_exp; + Contest_order_by: Contest_order_by; + Contest_select_column: Contest_select_column; + Contest_stream_cursor_input: Contest_stream_cursor_input; + Contest_stream_cursor_value_input: Contest_stream_cursor_value_input; + ERCPointParams: ResolverTypeWrapper; + ERCPointParams_bool_exp: ERCPointParams_bool_exp; + ERCPointParams_order_by: ERCPointParams_order_by; + ERCPointParams_select_column: ERCPointParams_select_column; + ERCPointParams_stream_cursor_input: ERCPointParams_stream_cursor_input; + ERCPointParams_stream_cursor_value_input: ERCPointParams_stream_cursor_value_input; + EnvioTX: ResolverTypeWrapper; + EnvioTX_bool_exp: EnvioTX_bool_exp; + EnvioTX_order_by: EnvioTX_order_by; + EnvioTX_select_column: EnvioTX_select_column; + EnvioTX_stream_cursor_input: EnvioTX_stream_cursor_input; + EnvioTX_stream_cursor_value_input: EnvioTX_stream_cursor_value_input; + EventPost: ResolverTypeWrapper; + EventPost_aggregate_order_by: EventPost_aggregate_order_by; + EventPost_avg_order_by: EventPost_avg_order_by; + EventPost_bool_exp: EventPost_bool_exp; + EventPost_max_order_by: EventPost_max_order_by; + EventPost_min_order_by: EventPost_min_order_by; + EventPost_order_by: EventPost_order_by; + EventPost_select_column: EventPost_select_column; + EventPost_stddev_order_by: EventPost_stddev_order_by; + EventPost_stddev_pop_order_by: EventPost_stddev_pop_order_by; + EventPost_stddev_samp_order_by: EventPost_stddev_samp_order_by; + EventPost_stream_cursor_input: EventPost_stream_cursor_input; + EventPost_stream_cursor_value_input: EventPost_stream_cursor_value_input; + EventPost_sum_order_by: EventPost_sum_order_by; + EventPost_var_pop_order_by: EventPost_var_pop_order_by; + EventPost_var_samp_order_by: EventPost_var_samp_order_by; + EventPost_variance_order_by: EventPost_variance_order_by; + FactoryEventsSummary: ResolverTypeWrapper; + FactoryEventsSummary_bool_exp: FactoryEventsSummary_bool_exp; + FactoryEventsSummary_order_by: FactoryEventsSummary_order_by; + FactoryEventsSummary_select_column: FactoryEventsSummary_select_column; + FactoryEventsSummary_stream_cursor_input: FactoryEventsSummary_stream_cursor_input; + FactoryEventsSummary_stream_cursor_value_input: FactoryEventsSummary_stream_cursor_value_input; + GrantShipsVoting: ResolverTypeWrapper; + GrantShipsVoting_bool_exp: GrantShipsVoting_bool_exp; + GrantShipsVoting_order_by: GrantShipsVoting_order_by; + GrantShipsVoting_select_column: GrantShipsVoting_select_column; + GrantShipsVoting_stream_cursor_input: GrantShipsVoting_stream_cursor_input; + GrantShipsVoting_stream_cursor_value_input: GrantShipsVoting_stream_cursor_value_input; + HALParams: ResolverTypeWrapper; + HALParams_bool_exp: HALParams_bool_exp; + HALParams_order_by: HALParams_order_by; + HALParams_select_column: HALParams_select_column; + HALParams_stream_cursor_input: HALParams_stream_cursor_input; + HALParams_stream_cursor_value_input: HALParams_stream_cursor_value_input; + HatsPoster: ResolverTypeWrapper; + HatsPoster_bool_exp: HatsPoster_bool_exp; + HatsPoster_order_by: HatsPoster_order_by; + 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_comparison_exp: Int_comparison_exp; + LocalLog: ResolverTypeWrapper; + LocalLog_bool_exp: LocalLog_bool_exp; + LocalLog_order_by: LocalLog_order_by; + LocalLog_select_column: LocalLog_select_column; + LocalLog_stream_cursor_input: LocalLog_stream_cursor_input; + LocalLog_stream_cursor_value_input: LocalLog_stream_cursor_value_input; + ModuleTemplate: ResolverTypeWrapper; + ModuleTemplate_bool_exp: ModuleTemplate_bool_exp; + ModuleTemplate_order_by: ModuleTemplate_order_by; + ModuleTemplate_select_column: ModuleTemplate_select_column; + ModuleTemplate_stream_cursor_input: ModuleTemplate_stream_cursor_input; + ModuleTemplate_stream_cursor_value_input: ModuleTemplate_stream_cursor_value_input; + Record: ResolverTypeWrapper; + Record_aggregate_order_by: Record_aggregate_order_by; + Record_avg_order_by: Record_avg_order_by; + Record_bool_exp: Record_bool_exp; + Record_max_order_by: Record_max_order_by; + Record_min_order_by: Record_min_order_by; + Record_order_by: Record_order_by; + Record_select_column: Record_select_column; + Record_stddev_order_by: Record_stddev_order_by; + Record_stddev_pop_order_by: Record_stddev_pop_order_by; + Record_stddev_samp_order_by: Record_stddev_samp_order_by; + Record_stream_cursor_input: Record_stream_cursor_input; + Record_stream_cursor_value_input: Record_stream_cursor_value_input; + Record_sum_order_by: Record_sum_order_by; + Record_var_pop_order_by: Record_var_pop_order_by; + Record_var_samp_order_by: Record_var_samp_order_by; + Record_variance_order_by: Record_variance_order_by; + ShipChoice: ResolverTypeWrapper; + ShipChoice_aggregate_order_by: ShipChoice_aggregate_order_by; + ShipChoice_avg_order_by: ShipChoice_avg_order_by; + ShipChoice_bool_exp: ShipChoice_bool_exp; + ShipChoice_max_order_by: ShipChoice_max_order_by; + ShipChoice_min_order_by: ShipChoice_min_order_by; + ShipChoice_order_by: ShipChoice_order_by; + ShipChoice_select_column: ShipChoice_select_column; + ShipChoice_stddev_order_by: ShipChoice_stddev_order_by; + ShipChoice_stddev_pop_order_by: ShipChoice_stddev_pop_order_by; + ShipChoice_stddev_samp_order_by: ShipChoice_stddev_samp_order_by; + ShipChoice_stream_cursor_input: ShipChoice_stream_cursor_input; + ShipChoice_stream_cursor_value_input: ShipChoice_stream_cursor_value_input; + ShipChoice_sum_order_by: ShipChoice_sum_order_by; + ShipChoice_var_pop_order_by: ShipChoice_var_pop_order_by; + ShipChoice_var_samp_order_by: ShipChoice_var_samp_order_by; + ShipChoice_variance_order_by: ShipChoice_variance_order_by; + ShipVote: ResolverTypeWrapper; + ShipVote_aggregate_order_by: ShipVote_aggregate_order_by; + ShipVote_avg_order_by: ShipVote_avg_order_by; + ShipVote_bool_exp: ShipVote_bool_exp; + ShipVote_max_order_by: ShipVote_max_order_by; + ShipVote_min_order_by: ShipVote_min_order_by; + ShipVote_order_by: ShipVote_order_by; + ShipVote_select_column: ShipVote_select_column; + ShipVote_stddev_order_by: ShipVote_stddev_order_by; + ShipVote_stddev_pop_order_by: ShipVote_stddev_pop_order_by; + ShipVote_stddev_samp_order_by: ShipVote_stddev_samp_order_by; + ShipVote_stream_cursor_input: ShipVote_stream_cursor_input; + ShipVote_stream_cursor_value_input: ShipVote_stream_cursor_value_input; + ShipVote_sum_order_by: ShipVote_sum_order_by; + ShipVote_var_pop_order_by: ShipVote_var_pop_order_by; + ShipVote_var_samp_order_by: ShipVote_var_samp_order_by; + ShipVote_variance_order_by: ShipVote_variance_order_by; + StemModule: ResolverTypeWrapper; + StemModule_bool_exp: StemModule_bool_exp; + StemModule_order_by: StemModule_order_by; + StemModule_select_column: StemModule_select_column; + StemModule_stream_cursor_input: StemModule_stream_cursor_input; + StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; + String_array_comparison_exp: String_array_comparison_exp; + String_comparison_exp: String_comparison_exp; + TVParams: ResolverTypeWrapper; + TVParams_bool_exp: TVParams_bool_exp; + TVParams_order_by: TVParams_order_by; + TVParams_select_column: TVParams_select_column; + TVParams_stream_cursor_input: TVParams_stream_cursor_input; + TVParams_stream_cursor_value_input: TVParams_stream_cursor_value_input; + chain_metadata: ResolverTypeWrapper; + chain_metadata_bool_exp: chain_metadata_bool_exp; + chain_metadata_order_by: chain_metadata_order_by; + chain_metadata_select_column: chain_metadata_select_column; + chain_metadata_stream_cursor_input: chain_metadata_stream_cursor_input; + chain_metadata_stream_cursor_value_input: chain_metadata_stream_cursor_value_input; + contract_type: ResolverTypeWrapper; + contract_type_comparison_exp: contract_type_comparison_exp; + cursor_ordering: cursor_ordering; + dynamic_contract_registry: ResolverTypeWrapper; + dynamic_contract_registry_bool_exp: dynamic_contract_registry_bool_exp; + dynamic_contract_registry_order_by: dynamic_contract_registry_order_by; + dynamic_contract_registry_select_column: dynamic_contract_registry_select_column; + dynamic_contract_registry_stream_cursor_input: dynamic_contract_registry_stream_cursor_input; + dynamic_contract_registry_stream_cursor_value_input: dynamic_contract_registry_stream_cursor_value_input; + entity_history: ResolverTypeWrapper; + entity_history_aggregate_order_by: entity_history_aggregate_order_by; + entity_history_avg_order_by: entity_history_avg_order_by; + entity_history_bool_exp: entity_history_bool_exp; + entity_history_filter: ResolverTypeWrapper; + entity_history_filter_bool_exp: entity_history_filter_bool_exp; + entity_history_filter_order_by: entity_history_filter_order_by; + entity_history_filter_select_column: entity_history_filter_select_column; + entity_history_filter_stream_cursor_input: entity_history_filter_stream_cursor_input; + entity_history_filter_stream_cursor_value_input: entity_history_filter_stream_cursor_value_input; + entity_history_max_order_by: entity_history_max_order_by; + entity_history_min_order_by: entity_history_min_order_by; + entity_history_order_by: entity_history_order_by; + entity_history_select_column: entity_history_select_column; + entity_history_stddev_order_by: entity_history_stddev_order_by; + entity_history_stddev_pop_order_by: entity_history_stddev_pop_order_by; + entity_history_stddev_samp_order_by: entity_history_stddev_samp_order_by; + entity_history_stream_cursor_input: entity_history_stream_cursor_input; + entity_history_stream_cursor_value_input: entity_history_stream_cursor_value_input; + entity_history_sum_order_by: entity_history_sum_order_by; + entity_history_var_pop_order_by: entity_history_var_pop_order_by; + entity_history_var_samp_order_by: entity_history_var_samp_order_by; + entity_history_variance_order_by: entity_history_variance_order_by; + entity_type: ResolverTypeWrapper; + entity_type_comparison_exp: entity_type_comparison_exp; + event_sync_state: ResolverTypeWrapper; + event_sync_state_bool_exp: event_sync_state_bool_exp; + event_sync_state_order_by: event_sync_state_order_by; + event_sync_state_select_column: event_sync_state_select_column; + event_sync_state_stream_cursor_input: event_sync_state_stream_cursor_input; + event_sync_state_stream_cursor_value_input: event_sync_state_stream_cursor_value_input; + event_type: ResolverTypeWrapper; + event_type_comparison_exp: event_type_comparison_exp; + get_entity_history_filter_args: get_entity_history_filter_args; + 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; + persisted_state_bool_exp: persisted_state_bool_exp; + persisted_state_order_by: persisted_state_order_by; + persisted_state_select_column: persisted_state_select_column; + persisted_state_stream_cursor_input: persisted_state_stream_cursor_input; + persisted_state_stream_cursor_value_input: persisted_state_stream_cursor_value_input; + raw_events: ResolverTypeWrapper; + raw_events_bool_exp: raw_events_bool_exp; + raw_events_order_by: raw_events_order_by; + raw_events_select_column: raw_events_select_column; + raw_events_stream_cursor_input: raw_events_stream_cursor_input; + raw_events_stream_cursor_value_input: raw_events_stream_cursor_value_input; + timestamp: ResolverTypeWrapper; + timestamp_comparison_exp: timestamp_comparison_exp; + timestamptz: ResolverTypeWrapper; + timestamptz_comparison_exp: timestamptz_comparison_exp; }>; /** Mapping between all available schema types and the resolvers parents */ export type ResolversParentTypes = ResolversObject<{ + Query: {}; + Subscription: {}; ApplicationHistory: ApplicationHistory; ApplicationHistory_filter: ApplicationHistory_filter; BigDecimal: Scalars['BigDecimal']; @@ -3490,17 +7515,211 @@ export type ResolversParentTypes = ResolversObject<{ ProfileMemberGroup_filter: ProfileMemberGroup_filter; Project: Project; Project_filter: Project_filter; - Query: {}; RawMetadata: RawMetadata; RawMetadata_filter: RawMetadata_filter; String: Scalars['String']; - Subscription: {}; + Timestamp: Scalars['Timestamp']; Transaction: Transaction; Transaction_filter: Transaction_filter; Update: Update; Update_filter: Update_filter; _Block_: _Block_; _Meta_: _Meta_; + Boolean_comparison_exp: Boolean_comparison_exp; + Contest: Contest; + ContestClone: ContestClone; + ContestClone_bool_exp: ContestClone_bool_exp; + ContestClone_order_by: ContestClone_order_by; + ContestClone_stream_cursor_input: ContestClone_stream_cursor_input; + ContestClone_stream_cursor_value_input: ContestClone_stream_cursor_value_input; + ContestTemplate: ContestTemplate; + ContestTemplate_bool_exp: ContestTemplate_bool_exp; + ContestTemplate_order_by: ContestTemplate_order_by; + ContestTemplate_stream_cursor_input: ContestTemplate_stream_cursor_input; + ContestTemplate_stream_cursor_value_input: ContestTemplate_stream_cursor_value_input; + Contest_bool_exp: Contest_bool_exp; + Contest_order_by: Contest_order_by; + Contest_stream_cursor_input: Contest_stream_cursor_input; + Contest_stream_cursor_value_input: Contest_stream_cursor_value_input; + ERCPointParams: ERCPointParams; + ERCPointParams_bool_exp: ERCPointParams_bool_exp; + ERCPointParams_order_by: ERCPointParams_order_by; + ERCPointParams_stream_cursor_input: ERCPointParams_stream_cursor_input; + ERCPointParams_stream_cursor_value_input: ERCPointParams_stream_cursor_value_input; + EnvioTX: EnvioTX; + EnvioTX_bool_exp: EnvioTX_bool_exp; + EnvioTX_order_by: EnvioTX_order_by; + EnvioTX_stream_cursor_input: EnvioTX_stream_cursor_input; + EnvioTX_stream_cursor_value_input: EnvioTX_stream_cursor_value_input; + EventPost: EventPost; + EventPost_aggregate_order_by: EventPost_aggregate_order_by; + EventPost_avg_order_by: EventPost_avg_order_by; + EventPost_bool_exp: EventPost_bool_exp; + EventPost_max_order_by: EventPost_max_order_by; + EventPost_min_order_by: EventPost_min_order_by; + EventPost_order_by: EventPost_order_by; + EventPost_stddev_order_by: EventPost_stddev_order_by; + EventPost_stddev_pop_order_by: EventPost_stddev_pop_order_by; + EventPost_stddev_samp_order_by: EventPost_stddev_samp_order_by; + EventPost_stream_cursor_input: EventPost_stream_cursor_input; + EventPost_stream_cursor_value_input: EventPost_stream_cursor_value_input; + EventPost_sum_order_by: EventPost_sum_order_by; + EventPost_var_pop_order_by: EventPost_var_pop_order_by; + EventPost_var_samp_order_by: EventPost_var_samp_order_by; + EventPost_variance_order_by: EventPost_variance_order_by; + FactoryEventsSummary: FactoryEventsSummary; + FactoryEventsSummary_bool_exp: FactoryEventsSummary_bool_exp; + FactoryEventsSummary_order_by: FactoryEventsSummary_order_by; + FactoryEventsSummary_stream_cursor_input: FactoryEventsSummary_stream_cursor_input; + FactoryEventsSummary_stream_cursor_value_input: FactoryEventsSummary_stream_cursor_value_input; + GrantShipsVoting: GrantShipsVoting; + GrantShipsVoting_bool_exp: GrantShipsVoting_bool_exp; + GrantShipsVoting_order_by: GrantShipsVoting_order_by; + GrantShipsVoting_stream_cursor_input: GrantShipsVoting_stream_cursor_input; + GrantShipsVoting_stream_cursor_value_input: GrantShipsVoting_stream_cursor_value_input; + HALParams: HALParams; + HALParams_bool_exp: HALParams_bool_exp; + HALParams_order_by: HALParams_order_by; + HALParams_stream_cursor_input: HALParams_stream_cursor_input; + HALParams_stream_cursor_value_input: HALParams_stream_cursor_value_input; + HatsPoster: HatsPoster; + HatsPoster_bool_exp: HatsPoster_bool_exp; + 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_comparison_exp: Int_comparison_exp; + LocalLog: LocalLog; + LocalLog_bool_exp: LocalLog_bool_exp; + LocalLog_order_by: LocalLog_order_by; + LocalLog_stream_cursor_input: LocalLog_stream_cursor_input; + LocalLog_stream_cursor_value_input: LocalLog_stream_cursor_value_input; + ModuleTemplate: ModuleTemplate; + ModuleTemplate_bool_exp: ModuleTemplate_bool_exp; + ModuleTemplate_order_by: ModuleTemplate_order_by; + ModuleTemplate_stream_cursor_input: ModuleTemplate_stream_cursor_input; + ModuleTemplate_stream_cursor_value_input: ModuleTemplate_stream_cursor_value_input; + Record: Record; + Record_aggregate_order_by: Record_aggregate_order_by; + Record_avg_order_by: Record_avg_order_by; + Record_bool_exp: Record_bool_exp; + Record_max_order_by: Record_max_order_by; + Record_min_order_by: Record_min_order_by; + Record_order_by: Record_order_by; + Record_stddev_order_by: Record_stddev_order_by; + Record_stddev_pop_order_by: Record_stddev_pop_order_by; + Record_stddev_samp_order_by: Record_stddev_samp_order_by; + Record_stream_cursor_input: Record_stream_cursor_input; + Record_stream_cursor_value_input: Record_stream_cursor_value_input; + Record_sum_order_by: Record_sum_order_by; + Record_var_pop_order_by: Record_var_pop_order_by; + Record_var_samp_order_by: Record_var_samp_order_by; + Record_variance_order_by: Record_variance_order_by; + ShipChoice: ShipChoice; + ShipChoice_aggregate_order_by: ShipChoice_aggregate_order_by; + ShipChoice_avg_order_by: ShipChoice_avg_order_by; + ShipChoice_bool_exp: ShipChoice_bool_exp; + ShipChoice_max_order_by: ShipChoice_max_order_by; + ShipChoice_min_order_by: ShipChoice_min_order_by; + ShipChoice_order_by: ShipChoice_order_by; + ShipChoice_stddev_order_by: ShipChoice_stddev_order_by; + ShipChoice_stddev_pop_order_by: ShipChoice_stddev_pop_order_by; + ShipChoice_stddev_samp_order_by: ShipChoice_stddev_samp_order_by; + ShipChoice_stream_cursor_input: ShipChoice_stream_cursor_input; + ShipChoice_stream_cursor_value_input: ShipChoice_stream_cursor_value_input; + ShipChoice_sum_order_by: ShipChoice_sum_order_by; + ShipChoice_var_pop_order_by: ShipChoice_var_pop_order_by; + ShipChoice_var_samp_order_by: ShipChoice_var_samp_order_by; + ShipChoice_variance_order_by: ShipChoice_variance_order_by; + ShipVote: ShipVote; + ShipVote_aggregate_order_by: ShipVote_aggregate_order_by; + ShipVote_avg_order_by: ShipVote_avg_order_by; + ShipVote_bool_exp: ShipVote_bool_exp; + ShipVote_max_order_by: ShipVote_max_order_by; + ShipVote_min_order_by: ShipVote_min_order_by; + ShipVote_order_by: ShipVote_order_by; + ShipVote_stddev_order_by: ShipVote_stddev_order_by; + ShipVote_stddev_pop_order_by: ShipVote_stddev_pop_order_by; + ShipVote_stddev_samp_order_by: ShipVote_stddev_samp_order_by; + ShipVote_stream_cursor_input: ShipVote_stream_cursor_input; + ShipVote_stream_cursor_value_input: ShipVote_stream_cursor_value_input; + ShipVote_sum_order_by: ShipVote_sum_order_by; + ShipVote_var_pop_order_by: ShipVote_var_pop_order_by; + ShipVote_var_samp_order_by: ShipVote_var_samp_order_by; + ShipVote_variance_order_by: ShipVote_variance_order_by; + StemModule: StemModule; + StemModule_bool_exp: StemModule_bool_exp; + StemModule_order_by: StemModule_order_by; + StemModule_stream_cursor_input: StemModule_stream_cursor_input; + StemModule_stream_cursor_value_input: StemModule_stream_cursor_value_input; + String_array_comparison_exp: String_array_comparison_exp; + String_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; + chain_metadata: chain_metadata; + chain_metadata_bool_exp: chain_metadata_bool_exp; + chain_metadata_order_by: chain_metadata_order_by; + chain_metadata_stream_cursor_input: chain_metadata_stream_cursor_input; + chain_metadata_stream_cursor_value_input: chain_metadata_stream_cursor_value_input; + contract_type: Scalars['contract_type']; + contract_type_comparison_exp: contract_type_comparison_exp; + dynamic_contract_registry: dynamic_contract_registry; + dynamic_contract_registry_bool_exp: dynamic_contract_registry_bool_exp; + dynamic_contract_registry_order_by: dynamic_contract_registry_order_by; + dynamic_contract_registry_stream_cursor_input: dynamic_contract_registry_stream_cursor_input; + dynamic_contract_registry_stream_cursor_value_input: dynamic_contract_registry_stream_cursor_value_input; + entity_history: entity_history; + entity_history_aggregate_order_by: entity_history_aggregate_order_by; + entity_history_avg_order_by: entity_history_avg_order_by; + entity_history_bool_exp: entity_history_bool_exp; + entity_history_filter: entity_history_filter; + entity_history_filter_bool_exp: entity_history_filter_bool_exp; + entity_history_filter_order_by: entity_history_filter_order_by; + entity_history_filter_stream_cursor_input: entity_history_filter_stream_cursor_input; + entity_history_filter_stream_cursor_value_input: entity_history_filter_stream_cursor_value_input; + entity_history_max_order_by: entity_history_max_order_by; + entity_history_min_order_by: entity_history_min_order_by; + entity_history_order_by: entity_history_order_by; + entity_history_stddev_order_by: entity_history_stddev_order_by; + entity_history_stddev_pop_order_by: entity_history_stddev_pop_order_by; + entity_history_stddev_samp_order_by: entity_history_stddev_samp_order_by; + entity_history_stream_cursor_input: entity_history_stream_cursor_input; + entity_history_stream_cursor_value_input: entity_history_stream_cursor_value_input; + entity_history_sum_order_by: entity_history_sum_order_by; + entity_history_var_pop_order_by: entity_history_var_pop_order_by; + entity_history_var_samp_order_by: entity_history_var_samp_order_by; + entity_history_variance_order_by: entity_history_variance_order_by; + entity_type: Scalars['entity_type']; + entity_type_comparison_exp: entity_type_comparison_exp; + event_sync_state: event_sync_state; + event_sync_state_bool_exp: event_sync_state_bool_exp; + event_sync_state_order_by: event_sync_state_order_by; + event_sync_state_stream_cursor_input: event_sync_state_stream_cursor_input; + event_sync_state_stream_cursor_value_input: event_sync_state_stream_cursor_value_input; + event_type: Scalars['event_type']; + event_type_comparison_exp: event_type_comparison_exp; + get_entity_history_filter_args: get_entity_history_filter_args; + 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; + persisted_state_order_by: persisted_state_order_by; + persisted_state_stream_cursor_input: persisted_state_stream_cursor_input; + persisted_state_stream_cursor_value_input: persisted_state_stream_cursor_value_input; + raw_events: raw_events; + raw_events_bool_exp: raw_events_bool_exp; + raw_events_order_by: raw_events_order_by; + raw_events_stream_cursor_input: raw_events_stream_cursor_input; + raw_events_stream_cursor_value_input: raw_events_stream_cursor_value_input; + timestamp: Scalars['timestamp']; + timestamp_comparison_exp: timestamp_comparison_exp; + timestamptz: Scalars['timestamptz']; + timestamptz_comparison_exp: timestamptz_comparison_exp; }>; export type entityDirectiveArgs = { }; @@ -3519,6 +7738,219 @@ 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>; + ContestTemplate?: Resolver, ParentType, ContextType, Partial>; + ContestTemplate_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + Contest_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + ERCPointParams?: Resolver, ParentType, ContextType, Partial>; + ERCPointParams_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + EnvioTX?: Resolver, ParentType, ContextType, Partial>; + EnvioTX_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + EventPost?: Resolver, ParentType, ContextType, Partial>; + EventPost_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + FactoryEventsSummary?: Resolver, ParentType, ContextType, Partial>; + FactoryEventsSummary_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + GrantShipsVoting?: Resolver, ParentType, ContextType, Partial>; + GrantShipsVoting_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + HALParams?: Resolver, ParentType, ContextType, Partial>; + HALParams_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + HatsPoster?: Resolver, ParentType, ContextType, Partial>; + HatsPoster_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + LocalLog?: Resolver, ParentType, ContextType, Partial>; + LocalLog_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + ModuleTemplate?: Resolver, ParentType, ContextType, Partial>; + ModuleTemplate_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + Record?: Resolver, ParentType, ContextType, Partial>; + Record_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + ShipChoice?: Resolver, ParentType, ContextType, Partial>; + ShipChoice_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + ShipVote?: Resolver, ParentType, ContextType, Partial>; + ShipVote_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + StemModule?: Resolver, ParentType, ContextType, Partial>; + StemModule_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + TVParams?: Resolver, ParentType, ContextType, Partial>; + TVParams_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + chain_metadata?: Resolver, ParentType, ContextType, Partial>; + chain_metadata_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + dynamic_contract_registry?: Resolver, ParentType, ContextType, Partial>; + dynamic_contract_registry_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + entity_history?: Resolver, ParentType, ContextType, Partial>; + entity_history_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + entity_history_filter?: Resolver, ParentType, ContextType, Partial>; + entity_history_filter_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + event_sync_state?: Resolver, ParentType, ContextType, Partial>; + event_sync_state_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + get_entity_history_filter?: Resolver, ParentType, ContextType, RequireFields>; + persisted_state?: Resolver, ParentType, ContextType, Partial>; + persisted_state_by_pk?: Resolver, ParentType, ContextType, RequireFields>; + raw_events?: Resolver, ParentType, ContextType, Partial>; + raw_events_by_pk?: Resolver, ParentType, ContextType, RequireFields>; +}>; + +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>; + ContestClone_stream?: SubscriptionResolver, "ContestClone_stream", ParentType, ContextType, RequireFields>; + ContestTemplate?: SubscriptionResolver, "ContestTemplate", ParentType, ContextType, Partial>; + ContestTemplate_by_pk?: SubscriptionResolver, "ContestTemplate_by_pk", ParentType, ContextType, RequireFields>; + ContestTemplate_stream?: SubscriptionResolver, "ContestTemplate_stream", ParentType, ContextType, RequireFields>; + Contest_by_pk?: SubscriptionResolver, "Contest_by_pk", ParentType, ContextType, RequireFields>; + Contest_stream?: SubscriptionResolver, "Contest_stream", ParentType, ContextType, RequireFields>; + ERCPointParams?: SubscriptionResolver, "ERCPointParams", ParentType, ContextType, Partial>; + ERCPointParams_by_pk?: SubscriptionResolver, "ERCPointParams_by_pk", ParentType, ContextType, RequireFields>; + ERCPointParams_stream?: SubscriptionResolver, "ERCPointParams_stream", ParentType, ContextType, RequireFields>; + EnvioTX?: SubscriptionResolver, "EnvioTX", ParentType, ContextType, Partial>; + EnvioTX_by_pk?: SubscriptionResolver, "EnvioTX_by_pk", ParentType, ContextType, RequireFields>; + EnvioTX_stream?: SubscriptionResolver, "EnvioTX_stream", ParentType, ContextType, RequireFields>; + EventPost?: SubscriptionResolver, "EventPost", ParentType, ContextType, Partial>; + EventPost_by_pk?: SubscriptionResolver, "EventPost_by_pk", ParentType, ContextType, RequireFields>; + EventPost_stream?: SubscriptionResolver, "EventPost_stream", ParentType, ContextType, RequireFields>; + FactoryEventsSummary?: SubscriptionResolver, "FactoryEventsSummary", ParentType, ContextType, Partial>; + FactoryEventsSummary_by_pk?: SubscriptionResolver, "FactoryEventsSummary_by_pk", ParentType, ContextType, RequireFields>; + FactoryEventsSummary_stream?: SubscriptionResolver, "FactoryEventsSummary_stream", ParentType, ContextType, RequireFields>; + GrantShipsVoting?: SubscriptionResolver, "GrantShipsVoting", ParentType, ContextType, Partial>; + GrantShipsVoting_by_pk?: SubscriptionResolver, "GrantShipsVoting_by_pk", ParentType, ContextType, RequireFields>; + GrantShipsVoting_stream?: SubscriptionResolver, "GrantShipsVoting_stream", ParentType, ContextType, RequireFields>; + HALParams?: SubscriptionResolver, "HALParams", ParentType, ContextType, Partial>; + HALParams_by_pk?: SubscriptionResolver, "HALParams_by_pk", ParentType, ContextType, RequireFields>; + HALParams_stream?: SubscriptionResolver, "HALParams_stream", ParentType, ContextType, RequireFields>; + HatsPoster?: SubscriptionResolver, "HatsPoster", ParentType, ContextType, Partial>; + HatsPoster_by_pk?: SubscriptionResolver, "HatsPoster_by_pk", ParentType, ContextType, RequireFields>; + HatsPoster_stream?: SubscriptionResolver, "HatsPoster_stream", ParentType, ContextType, RequireFields>; + LocalLog?: SubscriptionResolver, "LocalLog", ParentType, ContextType, Partial>; + LocalLog_by_pk?: SubscriptionResolver, "LocalLog_by_pk", ParentType, ContextType, RequireFields>; + LocalLog_stream?: SubscriptionResolver, "LocalLog_stream", ParentType, ContextType, RequireFields>; + ModuleTemplate?: SubscriptionResolver, "ModuleTemplate", ParentType, ContextType, Partial>; + ModuleTemplate_by_pk?: SubscriptionResolver, "ModuleTemplate_by_pk", ParentType, ContextType, RequireFields>; + ModuleTemplate_stream?: SubscriptionResolver, "ModuleTemplate_stream", ParentType, ContextType, RequireFields>; + Record?: SubscriptionResolver, "Record", ParentType, ContextType, Partial>; + Record_by_pk?: SubscriptionResolver, "Record_by_pk", ParentType, ContextType, RequireFields>; + Record_stream?: SubscriptionResolver, "Record_stream", ParentType, ContextType, RequireFields>; + ShipChoice?: SubscriptionResolver, "ShipChoice", ParentType, ContextType, Partial>; + ShipChoice_by_pk?: SubscriptionResolver, "ShipChoice_by_pk", ParentType, ContextType, RequireFields>; + ShipChoice_stream?: SubscriptionResolver, "ShipChoice_stream", ParentType, ContextType, RequireFields>; + ShipVote?: SubscriptionResolver, "ShipVote", ParentType, ContextType, Partial>; + ShipVote_by_pk?: SubscriptionResolver, "ShipVote_by_pk", ParentType, ContextType, RequireFields>; + ShipVote_stream?: SubscriptionResolver, "ShipVote_stream", ParentType, ContextType, RequireFields>; + StemModule?: SubscriptionResolver, "StemModule", ParentType, ContextType, Partial>; + StemModule_by_pk?: SubscriptionResolver, "StemModule_by_pk", ParentType, ContextType, RequireFields>; + StemModule_stream?: SubscriptionResolver, "StemModule_stream", ParentType, ContextType, RequireFields>; + TVParams?: SubscriptionResolver, "TVParams", ParentType, ContextType, Partial>; + TVParams_by_pk?: SubscriptionResolver, "TVParams_by_pk", ParentType, ContextType, RequireFields>; + TVParams_stream?: SubscriptionResolver, "TVParams_stream", ParentType, ContextType, RequireFields>; + chain_metadata?: SubscriptionResolver, "chain_metadata", ParentType, ContextType, Partial>; + chain_metadata_by_pk?: SubscriptionResolver, "chain_metadata_by_pk", ParentType, ContextType, RequireFields>; + chain_metadata_stream?: SubscriptionResolver, "chain_metadata_stream", ParentType, ContextType, RequireFields>; + dynamic_contract_registry?: SubscriptionResolver, "dynamic_contract_registry", ParentType, ContextType, Partial>; + dynamic_contract_registry_by_pk?: SubscriptionResolver, "dynamic_contract_registry_by_pk", ParentType, ContextType, RequireFields>; + dynamic_contract_registry_stream?: SubscriptionResolver, "dynamic_contract_registry_stream", ParentType, ContextType, RequireFields>; + entity_history?: SubscriptionResolver, "entity_history", ParentType, ContextType, Partial>; + entity_history_by_pk?: SubscriptionResolver, "entity_history_by_pk", ParentType, ContextType, RequireFields>; + entity_history_filter?: SubscriptionResolver, "entity_history_filter", ParentType, ContextType, Partial>; + entity_history_filter_by_pk?: SubscriptionResolver, "entity_history_filter_by_pk", ParentType, ContextType, RequireFields>; + entity_history_filter_stream?: SubscriptionResolver, "entity_history_filter_stream", ParentType, ContextType, RequireFields>; + entity_history_stream?: SubscriptionResolver, "entity_history_stream", ParentType, ContextType, RequireFields>; + event_sync_state?: SubscriptionResolver, "event_sync_state", ParentType, ContextType, Partial>; + event_sync_state_by_pk?: SubscriptionResolver, "event_sync_state_by_pk", ParentType, ContextType, RequireFields>; + event_sync_state_stream?: SubscriptionResolver, "event_sync_state_stream", ParentType, ContextType, RequireFields>; + get_entity_history_filter?: SubscriptionResolver, "get_entity_history_filter", ParentType, ContextType, RequireFields>; + persisted_state?: SubscriptionResolver, "persisted_state", ParentType, ContextType, Partial>; + persisted_state_by_pk?: SubscriptionResolver, "persisted_state_by_pk", ParentType, ContextType, RequireFields>; + persisted_state_stream?: SubscriptionResolver, "persisted_state_stream", ParentType, ContextType, RequireFields>; + raw_events?: SubscriptionResolver, "raw_events", ParentType, ContextType, Partial>; + raw_events_by_pk?: SubscriptionResolver, "raw_events_by_pk", ParentType, ContextType, RequireFields>; + raw_events_stream?: SubscriptionResolver, "raw_events_stream", ParentType, ContextType, RequireFields>; +}>; + export type ApplicationHistoryResolvers = ResolversObject<{ id?: Resolver; grantApplicationBytes?: Resolver; @@ -3744,47 +8176,6 @@ export type ProjectResolvers; }>; -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>; - 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 RawMetadataResolvers = ResolversObject<{ id?: Resolver; protocol?: Resolver; @@ -3792,46 +8183,9 @@ export type RawMetadataResolvers; }>; -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>; - log?: SubscriptionResolver, "log", ParentType, ContextType, RequireFields>; - logs?: SubscriptionResolver, "logs", ParentType, ContextType, RequireFields>; - gmVersion?: SubscriptionResolver, "gmVersion", ParentType, ContextType, RequireFields>; - gmVersions?: SubscriptionResolver, "gmVersions", ParentType, ContextType, RequireFields>; - gmDeployment?: SubscriptionResolver, "gmDeployment", ParentType, ContextType, RequireFields>; - gmDeployments?: SubscriptionResolver, "gmDeployments", ParentType, ContextType, RequireFields>; - _meta?: SubscriptionResolver, "_meta", ParentType, ContextType, Partial>; -}>; +export interface TimestampScalarConfig extends GraphQLScalarTypeConfig { + name: 'Timestamp'; +} export type TransactionResolvers = ResolversObject<{ id?: Resolver; @@ -3858,6 +8212,7 @@ export type _Block_Resolvers, ParentType, ContextType>; number?: Resolver; timestamp?: Resolver, ParentType, ContextType>; + parentHash?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }>; @@ -3868,7 +8223,329 @@ export type _Meta_Resolvers; }>; +export type ContestResolvers = ResolversObject<{ + choicesModule?: Resolver, ParentType, ContextType>; + choicesModule_id?: Resolver; + contestAddress?: Resolver; + contestStatus?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + executionModule?: Resolver, ParentType, ContextType>; + executionModule_id?: Resolver; + filterTag?: Resolver; + id?: Resolver; + isContinuous?: Resolver; + isRetractable?: Resolver; + pointsModule?: Resolver, ParentType, ContextType>; + pointsModule_id?: Resolver; + votesModule?: Resolver, ParentType, ContextType>; + votesModule_id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type ContestCloneResolvers = ResolversObject<{ + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + filterTag?: Resolver; + id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type ContestTemplateResolvers = ResolversObject<{ + active?: Resolver; + contestAddress?: Resolver; + contestVersion?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type ERCPointParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteTokenAddress?: Resolver; + votingCheckpoint?: 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>; + __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; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type FactoryEventsSummaryResolvers = ResolversObject<{ + address?: Resolver; + admins?: Resolver, ParentType, ContextType>; + contestBuiltCount?: Resolver; + contestCloneCount?: Resolver; + contestTemplateCount?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + moduleCloneCount?: Resolver; + moduleTemplateCount?: Resolver; + __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; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type HALParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + hatId?: Resolver; + hatsAddress?: Resolver; + id?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type HatsPosterResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + eventPosts?: Resolver, ParentType, ContextType, Partial>; + hatIds?: Resolver, ParentType, ContextType>; + hatsAddress?: Resolver; + id?: Resolver; + record?: Resolver, ParentType, ContextType, Partial>; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type LocalLogResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + message?: 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; + __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; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type ShipChoiceResolvers = ResolversObject<{ + active?: Resolver; + choiceData?: Resolver; + contest?: Resolver, ParentType, ContextType>; + contest_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + mdPointer?: Resolver; + mdProtocol?: Resolver; + voteTally?: Resolver; + votes?: Resolver, ParentType, ContextType, Partial>; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export 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 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 TVParamsResolvers = ResolversObject<{ + db_write_timestamp?: Resolver, ParentType, ContextType>; + id?: Resolver; + voteDuration?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type chain_metadataResolvers = ResolversObject<{ + block_height?: Resolver; + chain_id?: Resolver; + end_block?: Resolver, ParentType, ContextType>; + first_event_block_number?: Resolver, ParentType, ContextType>; + is_hyper_sync?: Resolver; + latest_fetched_block_number?: Resolver; + latest_processed_block?: Resolver, ParentType, ContextType>; + num_batches_fetched?: Resolver; + num_events_processed?: Resolver, ParentType, ContextType>; + start_block?: Resolver; + timestamp_caught_up_to_head_or_endblock?: Resolver, ParentType, ContextType>; + __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; + __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>; + __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; + __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; + __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; + __isTypeOf?: IsTypeOfResolverFn; +}>; + +export type raw_eventsResolvers = ResolversObject<{ + block_hash?: Resolver; + block_number?: Resolver; + block_timestamp?: Resolver; + chain_id?: Resolver; + db_write_timestamp?: Resolver, ParentType, ContextType>; + event_history?: Resolver, ParentType, ContextType, Partial>; + event_id?: Resolver; + event_type?: Resolver; + log_index?: Resolver; + params?: Resolver>; + src_address?: Resolver; + transaction_hash?: Resolver; + transaction_index?: Resolver; + __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; @@ -3889,22 +8566,53 @@ export type Resolvers = ResolversObject<{ ProfileIdToAnchor?: ProfileIdToAnchorResolvers; ProfileMemberGroup?: ProfileMemberGroupResolvers; Project?: ProjectResolvers; - Query?: QueryResolvers; RawMetadata?: RawMetadataResolvers; - Subscription?: SubscriptionResolvers; + Timestamp?: GraphQLScalarType; Transaction?: TransactionResolvers; Update?: UpdateResolvers; _Block_?: _Block_Resolvers; _Meta_?: _Meta_Resolvers; + Contest?: ContestResolvers; + ContestClone?: ContestCloneResolvers; + ContestTemplate?: ContestTemplateResolvers; + ERCPointParams?: ERCPointParamsResolvers; + EnvioTX?: EnvioTXResolvers; + EventPost?: EventPostResolvers; + FactoryEventsSummary?: FactoryEventsSummaryResolvers; + GrantShipsVoting?: GrantShipsVotingResolvers; + HALParams?: HALParamsResolvers; + HatsPoster?: HatsPosterResolvers; + LocalLog?: LocalLogResolvers; + ModuleTemplate?: ModuleTemplateResolvers; + Record?: RecordResolvers; + ShipChoice?: ShipChoiceResolvers; + ShipVote?: ShipVoteResolvers; + StemModule?: StemModuleResolvers; + TVParams?: TVParamsResolvers; + chain_metadata?: chain_metadataResolvers; + contract_type?: GraphQLScalarType; + dynamic_contract_registry?: dynamic_contract_registryResolvers; + entity_history?: entity_historyResolvers; + entity_history_filter?: entity_history_filterResolvers; + entity_type?: GraphQLScalarType; + event_sync_state?: event_sync_stateResolvers; + event_type?: GraphQLScalarType; + json?: GraphQLScalarType; + numeric?: GraphQLScalarType; + persisted_state?: persisted_stateResolvers; + raw_events?: raw_eventsResolvers; + timestamp?: GraphQLScalarType; + timestamptz?: GraphQLScalarType; }>; export type DirectiveResolvers = ResolversObject<{ entity?: entityDirectiveResolver; subgraphId?: subgraphIdDirectiveResolver; derivedFrom?: derivedFromDirectiveResolver; + cached?: cachedDirectiveResolver; }>; -export type MeshContext = GrantShipsTypes.Context & BaseMeshContext; +export type MeshContext = GrantShipsTypes.Context & GsVotingTypes.Context & BaseMeshContext; import { fileURLToPath } from '@graphql-mesh/utils'; @@ -3916,6 +8624,9 @@ const importFn: ImportFn = (moduleId: string) => { case ".graphclient/sources/grant-ships/introspectionSchema": return Promise.resolve(importedModule$0) as T; + case ".graphclient/sources/gs-voting/introspectionSchema": + return Promise.resolve(importedModule$1) as T; + default: return Promise.reject(new Error(`Cannot find module '${relativeModuleId}'.`)); } @@ -3947,10 +8658,11 @@ const sources: MeshResolvedSource[] = []; const transforms: MeshTransform[] = []; const additionalEnvelopPlugins: MeshPlugin[] = []; const grantShipsTransforms = []; +const gsVotingTransforms = []; const additionalTypeDefs = [] as any[]; const grantShipsHandler = new GraphqlHandler({ name: "grant-ships", - config: {"endpoint":"https://{context.apiEndpoint:api.goldsky.com/api/public/project_clruaxx0m7yn101uj2rmi6mfj/subgraphs/gs-arb-sepolia/1.0.5/gn}"}, + config: {"endpoint":"https://{context.apiEndpoint:api.studio.thegraph.com/query/41101/grant-ships-arb/version/latest}"}, baseDir, cache, pubsub, @@ -3958,17 +8670,32 @@ const grantShipsHandler = new GraphqlHandler({ logger: logger.child("grant-ships"), importFn, }); +const gsVotingHandler = new GraphqlHandler({ + name: "gs-voting", + config: {"endpoint":"https://indexer.bigdevenergy.link/c8f8ea8/v1/graphql"}, + baseDir, + cache, + pubsub, + store: sourcesStore.child("gs-voting"), + logger: logger.child("gs-voting"), + importFn, + }); sources[0] = { name: 'grant-ships', handler: grantShipsHandler, transforms: grantShipsTransforms } +sources[1] = { + name: 'gs-voting', + handler: gsVotingHandler, + transforms: gsVotingTransforms + } const additionalResolvers = [] as any[] -const merger = new(BareMerger as any)({ +const merger = new(StitchingMerger as any)({ cache, pubsub, - logger: logger.child('bareMerger'), - store: rootStore.child('bareMerger') + logger: logger.child('stitchingMerger'), + store: rootStore.child('stitchingMerger') }) return { @@ -4031,6 +8758,12 @@ const merger = new(BareMerger as any)({ return printWithCache(GetGrantDocument); }, location: 'GetGrantDocument.graphql' + },{ + document: GetGsVotingDocument, + get rawSDL() { + return printWithCache(GetGsVotingDocument); + }, + location: 'GetGsVotingDocument.graphql' },{ document: GetProjectGrantsDocument, get rawSDL() { @@ -4055,6 +8788,18 @@ const merger = new(BareMerger as any)({ return printWithCache(GetRecentTransactionDocument); }, location: 'GetRecentTransactionDocument.graphql' + },{ + document: GetRecentEnvioDocument, + get rawSDL() { + return printWithCache(GetRecentEnvioDocument); + }, + location: 'GetRecentEnvioDocument.graphql' + },{ + document: GetRecordsByTagDocument, + get rawSDL() { + return printWithCache(GetRecordsByTagDocument); + }, + location: 'GetRecordsByTagDocument.graphql' },{ document: GetShipFundsAvailableDocument, get rawSDL() { @@ -4097,6 +8842,12 @@ const merger = new(BareMerger as any)({ return printWithCache(GetUserDataDocument); }, location: 'GetUserDataDocument.graphql' + },{ + document: GetUserVotesDocument, + get rawSDL() { + return printWithCache(GetUserVotesDocument); + }, + location: 'GetUserVotesDocument.graphql' },{ document: ProjectPageQueryDocument, get rawSDL() { @@ -4315,6 +9066,16 @@ export type getGrantQuery = { grant?: Maybe<( ), currentMilestoneRejectedReason?: Maybe>, milestonesApprovedReason?: Maybe>, facilitatorReason?: Maybe>, shipApprovalReason?: Maybe> } )> }; +export type getGsVotingQueryVariables = Exact<{ + id: Scalars['String']; +}>; + + +export type getGsVotingQuery = { GrantShipsVoting: Array<( + Pick + & { choices: Array>, contest?: Maybe> } + )> }; + export type getProjectGrantsQueryVariables = Exact<{ id: Scalars['ID']; }>; @@ -4360,6 +9121,20 @@ export type getRecentTransactionQueryVariables = Exact<{ export type getRecentTransactionQuery = { transaction?: Maybe> }; +export type getRecentEnvioQueryVariables = Exact<{ + txHash: Scalars['String']; +}>; + + +export type getRecentEnvioQuery = { EnvioTX: Array> }; + +export type getRecordsByTagQueryVariables = Exact<{ + tag: Scalars['String']; +}>; + + +export type getRecordsByTagQuery = { Record: Array> }; + export type getShipFundsAvailableQueryVariables = Exact<{ id: Scalars['ID']; }>; @@ -4447,6 +9222,14 @@ export type getUserDataQuery = { projects: Array<( & { profileMetadata: Pick } )> }; +export type getUserVotesQueryVariables = Exact<{ + contestId: Scalars['String']; + voterAddress: Scalars['String']; +}>; + + +export type getUserVotesQuery = { ShipVote: Array> }; + export type projectPageQueryQueryVariables = Exact<{ id: Scalars['ID']; }>; @@ -4764,6 +9547,34 @@ export const getGrantDocument = gql` } } ${GrantDashFragmentDoc}` as unknown as DocumentNode; +export const getGsVotingDocument = gql` + query getGsVoting($id: String!) { + GrantShipsVoting(where: {id: {_eq: $id}}) { + id + choices { + active + id + mdPointer + mdProtocol + voteTally + } + contest { + votesModule_id + choicesModule_id + pointsModule_id + executionModule_id + contestStatus + } + endTime + startTime + totalVotes + voteDuration + voteTokenAddress + votingCheckpoint + isVotingActive + } +} + ` as unknown as DocumentNode; export const getProjectGrantsDocument = gql` query getProjectGrants($id: ID!) { project(id: $id) { @@ -4802,6 +9613,24 @@ export const getRecentTransactionDocument = gql` } } ` as unknown as DocumentNode; +export const getRecentEnvioDocument = gql` + query getRecentEnvio($txHash: String!) { + EnvioTX(where: {id: {_eq: $txHash}}) { + id + } +} + ` as unknown as DocumentNode; +export const getRecordsByTagDocument = gql` + query getRecordsByTag($tag: String!) { + Record(where: {tag: {_eq: $tag}}, order_by: {db_write_timestamp: desc}) { + id + tag + hatId + mdPointer + mdProtocol + } +} + ` as unknown as DocumentNode; export const getShipFundsAvailableDocument = gql` query getShipFundsAvailable($id: ID!) { grantShip(id: $id) { @@ -4875,6 +9704,17 @@ export const getUserDataDocument = gql` ${ProjectDetailsFragmentDoc} ${RawMetadataFragmentDoc} ${FacShipDataFragmentDoc}` as unknown as DocumentNode; +export const getUserVotesDocument = gql` + query getUserVotes($contestId: String!, $voterAddress: String!) { + ShipVote(where: {voter: {_eq: $voterAddress}, contest_id: {_eq: $contestId}}) { + id + choice_id + mdPointer + mdProtocol + amount + } +} + ` as unknown as DocumentNode; export const projectPageQueryDocument = gql` query projectPageQuery($id: ID!) { project(id: $id) { @@ -4924,6 +9764,10 @@ export const ShipsPageQueryDocument = gql` + + + + @@ -4956,6 +9800,9 @@ export function getSdk(requester: Requester) { getGrant(variables: getGrantQueryVariables, options?: C): Promise { return requester(getGrantDocument, variables, options) as Promise; }, + getGsVoting(variables: getGsVotingQueryVariables, options?: C): Promise { + return requester(getGsVotingDocument, variables, options) as Promise; + }, getProjectGrants(variables: getProjectGrantsQueryVariables, options?: C): Promise { return requester(getProjectGrantsDocument, variables, options) as Promise; }, @@ -4968,6 +9815,12 @@ export function getSdk(requester: Requester) { getRecentTransaction(variables: getRecentTransactionQueryVariables, options?: C): Promise { return requester(getRecentTransactionDocument, variables, options) as Promise; }, + getRecentEnvio(variables: getRecentEnvioQueryVariables, options?: C): Promise { + return requester(getRecentEnvioDocument, variables, options) as Promise; + }, + getRecordsByTag(variables: getRecordsByTagQueryVariables, options?: C): Promise { + return requester(getRecordsByTagDocument, variables, options) as Promise; + }, getShipFundsAvailable(variables: getShipFundsAvailableQueryVariables, options?: C): Promise { return requester(getShipFundsAvailableDocument, variables, options) as Promise; }, @@ -4989,6 +9842,9 @@ export function getSdk(requester: Requester) { getUserData(variables?: getUserDataQueryVariables, options?: C): Promise { return requester(getUserDataDocument, variables, options) as Promise; }, + getUserVotes(variables: getUserVotesQueryVariables, options?: C): Promise { + return requester(getUserVotesDocument, variables, options) as Promise; + }, projectPageQuery(variables: projectPageQueryQueryVariables, options?: C): Promise { return requester(projectPageQueryDocument, variables, options) as Promise; }, diff --git a/src/.graphclient/schema.graphql b/src/.graphclient/schema.graphql index 135cb79c..34d15c2a 100644 --- a/src/.graphclient/schema.graphql +++ b/src/.graphclient/schema.graphql @@ -12,2190 +12,13 @@ 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 -type ApplicationHistory { - id: ID! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! -} - -input ApplicationHistory_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [ApplicationHistory_filter] - or: [ApplicationHistory_filter] -} - -enum ApplicationHistory_orderBy { - id - grantApplicationBytes - applicationSubmitted -} - -scalar BigDecimal - -scalar BigInt - -input BlockChangedFilter { - number_gte: Int! -} - -input Block_height { - hash: Bytes - number: Int - number_gte: Int -} - -scalar Bytes - -type FeedItem { - id: ID! - timestamp: BigInt - content: String! - sender: Bytes! - tag: String! - subjectMetadataPointer: String! - subjectId: ID! - objectId: ID - subject: FeedItemEntity! - object: FeedItemEntity - embed: FeedItemEmbed - details: String -} - -type FeedItemEmbed { - id: ID! - key: String - pointer: String - protocol: BigInt - content: String -} - -input FeedItemEmbed_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - key: String - key_not: String - key_gt: String - key_lt: String - key_gte: String - key_lte: String - key_in: [String!] - key_not_in: [String!] - key_contains: String - key_contains_nocase: String - key_not_contains: String - key_not_contains_nocase: String - key_starts_with: String - key_starts_with_nocase: String - key_not_starts_with: String - key_not_starts_with_nocase: String - key_ends_with: String - key_ends_with_nocase: String - key_not_ends_with: String - key_not_ends_with_nocase: String - pointer: String - pointer_not: String - pointer_gt: String - pointer_lt: String - pointer_gte: String - pointer_lte: String - pointer_in: [String!] - pointer_not_in: [String!] - pointer_contains: String - pointer_contains_nocase: String - pointer_not_contains: String - pointer_not_contains_nocase: String - pointer_starts_with: String - pointer_starts_with_nocase: String - pointer_not_starts_with: String - pointer_not_starts_with_nocase: String - pointer_ends_with: String - pointer_ends_with_nocase: String - pointer_not_ends_with: String - pointer_not_ends_with_nocase: String - protocol: BigInt - protocol_not: BigInt - protocol_gt: BigInt - protocol_lt: BigInt - protocol_gte: BigInt - protocol_lte: BigInt - protocol_in: [BigInt!] - protocol_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItemEmbed_filter] - or: [FeedItemEmbed_filter] -} - -enum FeedItemEmbed_orderBy { - id - key - pointer - protocol - content -} - -type FeedItemEntity { - id: ID! - name: String! - type: String! -} - -input FeedItemEntity_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - type: String - type_not: String - type_gt: String - type_lt: String - type_gte: String - type_lte: String - type_in: [String!] - type_not_in: [String!] - type_contains: String - type_contains_nocase: String - type_not_contains: String - type_not_contains_nocase: String - type_starts_with: String - type_starts_with_nocase: String - type_not_starts_with: String - type_not_starts_with_nocase: String - type_ends_with: String - type_ends_with_nocase: String - type_not_ends_with: String - type_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItemEntity_filter] - or: [FeedItemEntity_filter] -} - -enum FeedItemEntity_orderBy { - id - name - type -} - -input FeedItem_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - content: String - content_not: String - content_gt: String - content_lt: String - content_gte: String - content_lte: String - content_in: [String!] - content_not_in: [String!] - content_contains: String - content_contains_nocase: String - content_not_contains: String - content_not_contains_nocase: String - content_starts_with: String - content_starts_with_nocase: String - content_not_starts_with: String - content_not_starts_with_nocase: String - content_ends_with: String - content_ends_with_nocase: String - content_not_ends_with: String - content_not_ends_with_nocase: String - sender: Bytes - sender_not: Bytes - sender_gt: Bytes - sender_lt: Bytes - sender_gte: Bytes - sender_lte: Bytes - sender_in: [Bytes!] - sender_not_in: [Bytes!] - sender_contains: Bytes - sender_not_contains: Bytes - tag: String - tag_not: String - tag_gt: String - tag_lt: String - tag_gte: String - tag_lte: String - tag_in: [String!] - tag_not_in: [String!] - tag_contains: String - tag_contains_nocase: String - tag_not_contains: String - tag_not_contains_nocase: String - tag_starts_with: String - tag_starts_with_nocase: String - tag_not_starts_with: String - tag_not_starts_with_nocase: String - tag_ends_with: String - tag_ends_with_nocase: String - tag_not_ends_with: String - tag_not_ends_with_nocase: String - subjectMetadataPointer: String - subjectMetadataPointer_not: String - subjectMetadataPointer_gt: String - subjectMetadataPointer_lt: String - subjectMetadataPointer_gte: String - subjectMetadataPointer_lte: String - subjectMetadataPointer_in: [String!] - subjectMetadataPointer_not_in: [String!] - subjectMetadataPointer_contains: String - subjectMetadataPointer_contains_nocase: String - subjectMetadataPointer_not_contains: String - subjectMetadataPointer_not_contains_nocase: String - subjectMetadataPointer_starts_with: String - subjectMetadataPointer_starts_with_nocase: String - subjectMetadataPointer_not_starts_with: String - subjectMetadataPointer_not_starts_with_nocase: String - subjectMetadataPointer_ends_with: String - subjectMetadataPointer_ends_with_nocase: String - subjectMetadataPointer_not_ends_with: String - subjectMetadataPointer_not_ends_with_nocase: String - subjectId: ID - subjectId_not: ID - subjectId_gt: ID - subjectId_lt: ID - subjectId_gte: ID - subjectId_lte: ID - subjectId_in: [ID!] - subjectId_not_in: [ID!] - objectId: ID - objectId_not: ID - objectId_gt: ID - objectId_lt: ID - objectId_gte: ID - objectId_lte: ID - objectId_in: [ID!] - objectId_not_in: [ID!] - subject: String - subject_not: String - subject_gt: String - subject_lt: String - subject_gte: String - subject_lte: String - subject_in: [String!] - subject_not_in: [String!] - subject_contains: String - subject_contains_nocase: String - subject_not_contains: String - subject_not_contains_nocase: String - subject_starts_with: String - subject_starts_with_nocase: String - subject_not_starts_with: String - subject_not_starts_with_nocase: String - subject_ends_with: String - subject_ends_with_nocase: String - subject_not_ends_with: String - subject_not_ends_with_nocase: String - subject_: FeedItemEntity_filter - object: String - object_not: String - object_gt: String - object_lt: String - object_gte: String - object_lte: String - object_in: [String!] - object_not_in: [String!] - object_contains: String - object_contains_nocase: String - object_not_contains: String - object_not_contains_nocase: String - object_starts_with: String - object_starts_with_nocase: String - object_not_starts_with: String - object_not_starts_with_nocase: String - object_ends_with: String - object_ends_with_nocase: String - object_not_ends_with: String - object_not_ends_with_nocase: String - object_: FeedItemEntity_filter - embed: String - embed_not: String - embed_gt: String - embed_lt: String - embed_gte: String - embed_lte: String - embed_in: [String!] - embed_not_in: [String!] - embed_contains: String - embed_contains_nocase: String - embed_not_contains: String - embed_not_contains_nocase: String - embed_starts_with: String - embed_starts_with_nocase: String - embed_not_starts_with: String - embed_not_starts_with_nocase: String - embed_ends_with: String - embed_ends_with_nocase: String - embed_not_ends_with: String - embed_not_ends_with_nocase: String - embed_: FeedItemEmbed_filter - details: String - details_not: String - details_gt: String - details_lt: String - details_gte: String - details_lte: String - details_in: [String!] - details_not_in: [String!] - details_contains: String - details_contains_nocase: String - details_not_contains: String - details_not_contains_nocase: String - details_starts_with: String - details_starts_with_nocase: String - details_not_starts_with: String - details_not_starts_with_nocase: String - details_ends_with: String - details_ends_with_nocase: String - details_not_ends_with: String - details_not_ends_with_nocase: String - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [FeedItem_filter] - or: [FeedItem_filter] -} - -enum FeedItem_orderBy { - id - timestamp - content - sender - tag - subjectMetadataPointer - subjectId - objectId - subject - subject__id - subject__name - subject__type - object - object__id - object__name - object__type - embed - embed__id - embed__key - embed__pointer - embed__protocol - embed__content - details -} - -type GameManager { - id: Bytes! - poolId: BigInt! - gameFacilitatorId: BigInt! - rootAccount: Bytes! - tokenAddress: Bytes! - currentRoundId: BigInt! - currentRound: GameRound - poolFunds: BigInt! -} - -input GameManager_filter { - id: Bytes - id_not: Bytes - id_gt: Bytes - id_lt: Bytes - id_gte: Bytes - id_lte: Bytes - id_in: [Bytes!] - id_not_in: [Bytes!] - id_contains: Bytes - id_not_contains: Bytes - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - gameFacilitatorId: BigInt - gameFacilitatorId_not: BigInt - gameFacilitatorId_gt: BigInt - gameFacilitatorId_lt: BigInt - gameFacilitatorId_gte: BigInt - gameFacilitatorId_lte: BigInt - gameFacilitatorId_in: [BigInt!] - gameFacilitatorId_not_in: [BigInt!] - rootAccount: Bytes - rootAccount_not: Bytes - rootAccount_gt: Bytes - rootAccount_lt: Bytes - rootAccount_gte: Bytes - rootAccount_lte: Bytes - rootAccount_in: [Bytes!] - rootAccount_not_in: [Bytes!] - rootAccount_contains: Bytes - rootAccount_not_contains: Bytes - tokenAddress: Bytes - tokenAddress_not: Bytes - tokenAddress_gt: Bytes - tokenAddress_lt: Bytes - tokenAddress_gte: Bytes - tokenAddress_lte: Bytes - tokenAddress_in: [Bytes!] - tokenAddress_not_in: [Bytes!] - tokenAddress_contains: Bytes - tokenAddress_not_contains: Bytes - currentRoundId: BigInt - currentRoundId_not: BigInt - currentRoundId_gt: BigInt - currentRoundId_lt: BigInt - currentRoundId_gte: BigInt - currentRoundId_lte: BigInt - currentRoundId_in: [BigInt!] - currentRoundId_not_in: [BigInt!] - currentRound: String - currentRound_not: String - currentRound_gt: String - currentRound_lt: String - currentRound_gte: String - currentRound_lte: String - currentRound_in: [String!] - currentRound_not_in: [String!] - currentRound_contains: String - currentRound_contains_nocase: String - currentRound_not_contains: String - currentRound_not_contains_nocase: String - currentRound_starts_with: String - currentRound_starts_with_nocase: String - currentRound_not_starts_with: String - currentRound_not_starts_with_nocase: String - currentRound_ends_with: String - currentRound_ends_with_nocase: String - currentRound_not_ends_with: String - currentRound_not_ends_with_nocase: String - currentRound_: GameRound_filter - poolFunds: BigInt - poolFunds_not: BigInt - poolFunds_gt: BigInt - poolFunds_lt: BigInt - poolFunds_gte: BigInt - poolFunds_lte: BigInt - poolFunds_in: [BigInt!] - poolFunds_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GameManager_filter] - or: [GameManager_filter] -} - -enum GameManager_orderBy { - id - poolId - gameFacilitatorId - rootAccount - tokenAddress - currentRoundId - currentRound - currentRound__id - currentRound__startTime - currentRound__endTime - currentRound__totalRoundAmount - currentRound__totalAllocatedAmount - currentRound__totalDistributedAmount - currentRound__gameStatus - currentRound__isGameActive - currentRound__realStartTime - currentRound__realEndTime - poolFunds -} - -type GameRound { - id: ID! - startTime: BigInt! - endTime: BigInt! - totalRoundAmount: BigInt! - totalAllocatedAmount: BigInt! - totalDistributedAmount: BigInt! - gameStatus: Int! - ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! - isGameActive: Boolean! - realStartTime: BigInt - realEndTime: BigInt -} - -input GameRound_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - startTime: BigInt - startTime_not: BigInt - startTime_gt: BigInt - startTime_lt: BigInt - startTime_gte: BigInt - startTime_lte: BigInt - startTime_in: [BigInt!] - startTime_not_in: [BigInt!] - endTime: BigInt - endTime_not: BigInt - endTime_gt: BigInt - endTime_lt: BigInt - endTime_gte: BigInt - endTime_lte: BigInt - endTime_in: [BigInt!] - endTime_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocatedAmount: BigInt - totalAllocatedAmount_not: BigInt - totalAllocatedAmount_gt: BigInt - totalAllocatedAmount_lt: BigInt - totalAllocatedAmount_gte: BigInt - totalAllocatedAmount_lte: BigInt - totalAllocatedAmount_in: [BigInt!] - totalAllocatedAmount_not_in: [BigInt!] - totalDistributedAmount: BigInt - totalDistributedAmount_not: BigInt - totalDistributedAmount_gt: BigInt - totalDistributedAmount_lt: BigInt - totalDistributedAmount_gte: BigInt - totalDistributedAmount_lte: BigInt - totalDistributedAmount_in: [BigInt!] - totalDistributedAmount_not_in: [BigInt!] - gameStatus: Int - gameStatus_not: Int - gameStatus_gt: Int - gameStatus_lt: Int - gameStatus_gte: Int - gameStatus_lte: Int - gameStatus_in: [Int!] - gameStatus_not_in: [Int!] - ships: [String!] - ships_not: [String!] - ships_contains: [String!] - ships_contains_nocase: [String!] - ships_not_contains: [String!] - ships_not_contains_nocase: [String!] - ships_: GrantShip_filter - isGameActive: Boolean - isGameActive_not: Boolean - isGameActive_in: [Boolean!] - isGameActive_not_in: [Boolean!] - realStartTime: BigInt - realStartTime_not: BigInt - realStartTime_gt: BigInt - realStartTime_lt: BigInt - realStartTime_gte: BigInt - realStartTime_lte: BigInt - realStartTime_in: [BigInt!] - realStartTime_not_in: [BigInt!] - realEndTime: BigInt - realEndTime_not: BigInt - realEndTime_gt: BigInt - realEndTime_lt: BigInt - realEndTime_gte: BigInt - realEndTime_lte: BigInt - realEndTime_in: [BigInt!] - realEndTime_not_in: [BigInt!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GameRound_filter] - or: [GameRound_filter] -} - -enum GameRound_orderBy { - id - startTime - endTime - totalRoundAmount - totalAllocatedAmount - totalDistributedAmount - gameStatus - ships - isGameActive - realStartTime - realEndTime -} - -type GmDeployment { - id: ID! - address: Bytes! - version: GmVersion! - blockNumber: BigInt! - transactionHash: Bytes! - timestamp: BigInt! - hasPool: Boolean! - poolId: BigInt - profileId: Bytes! - poolMetadata: RawMetadata! - poolProfileMetadata: RawMetadata! -} - -input GmDeployment_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - version: String - version_not: String - version_gt: String - version_lt: String - version_gte: String - version_lte: String - version_in: [String!] - version_not_in: [String!] - version_contains: String - version_contains_nocase: String - version_not_contains: String - version_not_contains_nocase: String - version_starts_with: String - version_starts_with_nocase: String - version_not_starts_with: String - version_not_starts_with_nocase: String - version_ends_with: String - version_ends_with_nocase: String - version_not_ends_with: String - version_not_ends_with_nocase: String - version_: GmVersion_filter - blockNumber: BigInt - blockNumber_not: BigInt - blockNumber_gt: BigInt - blockNumber_lt: BigInt - blockNumber_gte: BigInt - blockNumber_lte: BigInt - blockNumber_in: [BigInt!] - blockNumber_not_in: [BigInt!] - transactionHash: Bytes - transactionHash_not: Bytes - transactionHash_gt: Bytes - transactionHash_lt: Bytes - transactionHash_gte: Bytes - transactionHash_lte: Bytes - transactionHash_in: [Bytes!] - transactionHash_not_in: [Bytes!] - transactionHash_contains: Bytes - transactionHash_not_contains: Bytes - timestamp: BigInt - timestamp_not: BigInt - timestamp_gt: BigInt - timestamp_lt: BigInt - timestamp_gte: BigInt - timestamp_lte: BigInt - timestamp_in: [BigInt!] - timestamp_not_in: [BigInt!] - hasPool: Boolean - hasPool_not: Boolean - hasPool_in: [Boolean!] - hasPool_not_in: [Boolean!] - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - poolMetadata: String - poolMetadata_not: String - poolMetadata_gt: String - poolMetadata_lt: String - poolMetadata_gte: String - poolMetadata_lte: String - poolMetadata_in: [String!] - poolMetadata_not_in: [String!] - poolMetadata_contains: String - poolMetadata_contains_nocase: String - poolMetadata_not_contains: String - poolMetadata_not_contains_nocase: String - poolMetadata_starts_with: String - poolMetadata_starts_with_nocase: String - poolMetadata_not_starts_with: String - poolMetadata_not_starts_with_nocase: String - poolMetadata_ends_with: String - poolMetadata_ends_with_nocase: String - poolMetadata_not_ends_with: String - poolMetadata_not_ends_with_nocase: String - poolMetadata_: RawMetadata_filter - poolProfileMetadata: String - poolProfileMetadata_not: String - poolProfileMetadata_gt: String - poolProfileMetadata_lt: String - poolProfileMetadata_gte: String - poolProfileMetadata_lte: String - poolProfileMetadata_in: [String!] - poolProfileMetadata_not_in: [String!] - poolProfileMetadata_contains: String - poolProfileMetadata_contains_nocase: String - poolProfileMetadata_not_contains: String - poolProfileMetadata_not_contains_nocase: String - poolProfileMetadata_starts_with: String - poolProfileMetadata_starts_with_nocase: String - poolProfileMetadata_not_starts_with: String - poolProfileMetadata_not_starts_with_nocase: String - poolProfileMetadata_ends_with: String - poolProfileMetadata_ends_with_nocase: String - poolProfileMetadata_not_ends_with: String - poolProfileMetadata_not_ends_with_nocase: String - poolProfileMetadata_: RawMetadata_filter - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GmDeployment_filter] - or: [GmDeployment_filter] -} - -enum GmDeployment_orderBy { - id - address - version - version__id - version__name - version__address - blockNumber - transactionHash - timestamp - hasPool - poolId - profileId - poolMetadata - poolMetadata__id - poolMetadata__protocol - poolMetadata__pointer - poolProfileMetadata - poolProfileMetadata__id - poolProfileMetadata__protocol - poolProfileMetadata__pointer -} - -type GmVersion { - id: ID! - name: String! - address: Bytes! -} - -input GmVersion_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - address: Bytes - address_not: Bytes - address_gt: Bytes - address_lt: Bytes - address_gte: Bytes - address_lte: Bytes - address_in: [Bytes!] - address_not_in: [Bytes!] - address_contains: Bytes - address_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GmVersion_filter] - or: [GmVersion_filter] -} - -enum GmVersion_orderBy { - id - name - address -} - -type Grant { - id: ID! - projectId: Project! - shipId: GrantShip! - lastUpdated: BigInt! - hasResubmitted: Boolean! - grantStatus: Int! - grantApplicationBytes: Bytes! - applicationSubmitted: BigInt! - currentMilestoneIndex: BigInt! - milestonesAmount: BigInt! - milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] - shipApprovalReason: RawMetadata - hasShipApproved: Boolean - amtAllocated: BigInt! - amtDistributed: BigInt! - allocatedBy: Bytes - facilitatorReason: RawMetadata - hasFacilitatorApproved: Boolean - milestonesApproved: Boolean - milestonesApprovedReason: RawMetadata - currentMilestoneRejectedReason: RawMetadata - resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! -} - -type GrantShip { - id: Bytes! - profileId: Bytes! - nonce: BigInt! - name: String! - profileMetadata: RawMetadata! - owner: Bytes! - anchor: Bytes! - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! - status: Int! - poolFunded: Boolean! - balance: BigInt! - shipAllocation: BigInt! - totalAvailableFunds: BigInt! - totalRoundAmount: BigInt! - totalAllocated: BigInt! - totalDistributed: BigInt! - grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! - alloProfileMembers: ProfileMemberGroup - shipApplicationBytesData: Bytes - applicationSubmittedTime: BigInt - isAwaitingApproval: Boolean - hasSubmittedApplication: Boolean - isApproved: Boolean - approvedTime: BigInt - isRejected: Boolean - rejectedTime: BigInt - applicationReviewReason: RawMetadata - poolId: BigInt - hatId: String - shipContractAddress: Bytes - shipLaunched: Boolean - poolActive: Boolean - isAllocated: Boolean - isDistributed: Boolean -} - -input GrantShip_filter { - id: Bytes - id_not: Bytes - id_gt: Bytes - id_lt: Bytes - id_gte: Bytes - id_lte: Bytes - id_in: [Bytes!] - id_not_in: [Bytes!] - id_contains: Bytes - id_not_contains: Bytes - profileId: Bytes - profileId_not: Bytes - profileId_gt: Bytes - profileId_lt: Bytes - profileId_gte: Bytes - profileId_lte: Bytes - profileId_in: [Bytes!] - profileId_not_in: [Bytes!] - profileId_contains: Bytes - profileId_not_contains: Bytes - nonce: BigInt - nonce_not: BigInt - nonce_gt: BigInt - nonce_lt: BigInt - nonce_gte: BigInt - nonce_lte: BigInt - nonce_in: [BigInt!] - nonce_not_in: [BigInt!] - name: String - name_not: String - name_gt: String - name_lt: String - name_gte: String - name_lte: String - name_in: [String!] - name_not_in: [String!] - name_contains: String - name_contains_nocase: String - name_not_contains: String - name_not_contains_nocase: String - name_starts_with: String - name_starts_with_nocase: String - name_not_starts_with: String - name_not_starts_with_nocase: String - name_ends_with: String - name_ends_with_nocase: String - name_not_ends_with: String - name_not_ends_with_nocase: String - profileMetadata: String - profileMetadata_not: String - profileMetadata_gt: String - profileMetadata_lt: String - profileMetadata_gte: String - profileMetadata_lte: String - profileMetadata_in: [String!] - profileMetadata_not_in: [String!] - profileMetadata_contains: String - profileMetadata_contains_nocase: String - profileMetadata_not_contains: String - profileMetadata_not_contains_nocase: String - profileMetadata_starts_with: String - profileMetadata_starts_with_nocase: String - profileMetadata_not_starts_with: String - profileMetadata_not_starts_with_nocase: String - profileMetadata_ends_with: String - profileMetadata_ends_with_nocase: String - profileMetadata_not_ends_with: String - profileMetadata_not_ends_with_nocase: String - profileMetadata_: RawMetadata_filter - owner: Bytes - owner_not: Bytes - owner_gt: Bytes - owner_lt: Bytes - owner_gte: Bytes - owner_lte: Bytes - owner_in: [Bytes!] - owner_not_in: [Bytes!] - owner_contains: Bytes - owner_not_contains: Bytes - anchor: Bytes - anchor_not: Bytes - anchor_gt: Bytes - anchor_lt: Bytes - anchor_gte: Bytes - anchor_lte: Bytes - anchor_in: [Bytes!] - anchor_not_in: [Bytes!] - anchor_contains: Bytes - anchor_not_contains: Bytes - blockNumber: BigInt - blockNumber_not: BigInt - blockNumber_gt: BigInt - blockNumber_lt: BigInt - blockNumber_gte: BigInt - blockNumber_lte: BigInt - blockNumber_in: [BigInt!] - blockNumber_not_in: [BigInt!] - blockTimestamp: BigInt - blockTimestamp_not: BigInt - blockTimestamp_gt: BigInt - blockTimestamp_lt: BigInt - blockTimestamp_gte: BigInt - blockTimestamp_lte: BigInt - blockTimestamp_in: [BigInt!] - blockTimestamp_not_in: [BigInt!] - transactionHash: Bytes - transactionHash_not: Bytes - transactionHash_gt: Bytes - transactionHash_lt: Bytes - transactionHash_gte: Bytes - transactionHash_lte: Bytes - transactionHash_in: [Bytes!] - transactionHash_not_in: [Bytes!] - transactionHash_contains: Bytes - transactionHash_not_contains: Bytes - status: Int - status_not: Int - status_gt: Int - status_lt: Int - status_gte: Int - status_lte: Int - status_in: [Int!] - status_not_in: [Int!] - poolFunded: Boolean - poolFunded_not: Boolean - poolFunded_in: [Boolean!] - poolFunded_not_in: [Boolean!] - balance: BigInt - balance_not: BigInt - balance_gt: BigInt - balance_lt: BigInt - balance_gte: BigInt - balance_lte: BigInt - balance_in: [BigInt!] - balance_not_in: [BigInt!] - shipAllocation: BigInt - shipAllocation_not: BigInt - shipAllocation_gt: BigInt - shipAllocation_lt: BigInt - shipAllocation_gte: BigInt - shipAllocation_lte: BigInt - shipAllocation_in: [BigInt!] - shipAllocation_not_in: [BigInt!] - totalAvailableFunds: BigInt - totalAvailableFunds_not: BigInt - totalAvailableFunds_gt: BigInt - totalAvailableFunds_lt: BigInt - totalAvailableFunds_gte: BigInt - totalAvailableFunds_lte: BigInt - totalAvailableFunds_in: [BigInt!] - totalAvailableFunds_not_in: [BigInt!] - totalRoundAmount: BigInt - totalRoundAmount_not: BigInt - totalRoundAmount_gt: BigInt - totalRoundAmount_lt: BigInt - totalRoundAmount_gte: BigInt - totalRoundAmount_lte: BigInt - totalRoundAmount_in: [BigInt!] - totalRoundAmount_not_in: [BigInt!] - totalAllocated: BigInt - totalAllocated_not: BigInt - totalAllocated_gt: BigInt - totalAllocated_lt: BigInt - totalAllocated_gte: BigInt - totalAllocated_lte: BigInt - totalAllocated_in: [BigInt!] - totalAllocated_not_in: [BigInt!] - totalDistributed: BigInt - totalDistributed_not: BigInt - totalDistributed_gt: BigInt - totalDistributed_lt: BigInt - totalDistributed_gte: BigInt - totalDistributed_lte: BigInt - totalDistributed_in: [BigInt!] - totalDistributed_not_in: [BigInt!] - grants_: Grant_filter - alloProfileMembers: String - alloProfileMembers_not: String - alloProfileMembers_gt: String - alloProfileMembers_lt: String - alloProfileMembers_gte: String - alloProfileMembers_lte: String - alloProfileMembers_in: [String!] - alloProfileMembers_not_in: [String!] - alloProfileMembers_contains: String - alloProfileMembers_contains_nocase: String - alloProfileMembers_not_contains: String - alloProfileMembers_not_contains_nocase: String - alloProfileMembers_starts_with: String - alloProfileMembers_starts_with_nocase: String - alloProfileMembers_not_starts_with: String - alloProfileMembers_not_starts_with_nocase: String - alloProfileMembers_ends_with: String - alloProfileMembers_ends_with_nocase: String - alloProfileMembers_not_ends_with: String - alloProfileMembers_not_ends_with_nocase: String - alloProfileMembers_: ProfileMemberGroup_filter - shipApplicationBytesData: Bytes - shipApplicationBytesData_not: Bytes - shipApplicationBytesData_gt: Bytes - shipApplicationBytesData_lt: Bytes - shipApplicationBytesData_gte: Bytes - shipApplicationBytesData_lte: Bytes - shipApplicationBytesData_in: [Bytes!] - shipApplicationBytesData_not_in: [Bytes!] - shipApplicationBytesData_contains: Bytes - shipApplicationBytesData_not_contains: Bytes - applicationSubmittedTime: BigInt - applicationSubmittedTime_not: BigInt - applicationSubmittedTime_gt: BigInt - applicationSubmittedTime_lt: BigInt - applicationSubmittedTime_gte: BigInt - applicationSubmittedTime_lte: BigInt - applicationSubmittedTime_in: [BigInt!] - applicationSubmittedTime_not_in: [BigInt!] - isAwaitingApproval: Boolean - isAwaitingApproval_not: Boolean - isAwaitingApproval_in: [Boolean!] - isAwaitingApproval_not_in: [Boolean!] - hasSubmittedApplication: Boolean - hasSubmittedApplication_not: Boolean - hasSubmittedApplication_in: [Boolean!] - hasSubmittedApplication_not_in: [Boolean!] - isApproved: Boolean - isApproved_not: Boolean - isApproved_in: [Boolean!] - isApproved_not_in: [Boolean!] - approvedTime: BigInt - approvedTime_not: BigInt - approvedTime_gt: BigInt - approvedTime_lt: BigInt - approvedTime_gte: BigInt - approvedTime_lte: BigInt - approvedTime_in: [BigInt!] - approvedTime_not_in: [BigInt!] - isRejected: Boolean - isRejected_not: Boolean - isRejected_in: [Boolean!] - isRejected_not_in: [Boolean!] - rejectedTime: BigInt - rejectedTime_not: BigInt - rejectedTime_gt: BigInt - rejectedTime_lt: BigInt - rejectedTime_gte: BigInt - rejectedTime_lte: BigInt - rejectedTime_in: [BigInt!] - rejectedTime_not_in: [BigInt!] - applicationReviewReason: String - applicationReviewReason_not: String - applicationReviewReason_gt: String - applicationReviewReason_lt: String - applicationReviewReason_gte: String - applicationReviewReason_lte: String - applicationReviewReason_in: [String!] - applicationReviewReason_not_in: [String!] - applicationReviewReason_contains: String - applicationReviewReason_contains_nocase: String - applicationReviewReason_not_contains: String - applicationReviewReason_not_contains_nocase: String - applicationReviewReason_starts_with: String - applicationReviewReason_starts_with_nocase: String - applicationReviewReason_not_starts_with: String - applicationReviewReason_not_starts_with_nocase: String - applicationReviewReason_ends_with: String - applicationReviewReason_ends_with_nocase: String - applicationReviewReason_not_ends_with: String - applicationReviewReason_not_ends_with_nocase: String - applicationReviewReason_: RawMetadata_filter - poolId: BigInt - poolId_not: BigInt - poolId_gt: BigInt - poolId_lt: BigInt - poolId_gte: BigInt - poolId_lte: BigInt - poolId_in: [BigInt!] - poolId_not_in: [BigInt!] - hatId: String - hatId_not: String - hatId_gt: String - hatId_lt: String - hatId_gte: String - hatId_lte: String - hatId_in: [String!] - hatId_not_in: [String!] - hatId_contains: String - hatId_contains_nocase: String - hatId_not_contains: String - hatId_not_contains_nocase: String - hatId_starts_with: String - hatId_starts_with_nocase: String - hatId_not_starts_with: String - hatId_not_starts_with_nocase: String - hatId_ends_with: String - hatId_ends_with_nocase: String - hatId_not_ends_with: String - hatId_not_ends_with_nocase: String - shipContractAddress: Bytes - shipContractAddress_not: Bytes - shipContractAddress_gt: Bytes - shipContractAddress_lt: Bytes - shipContractAddress_gte: Bytes - shipContractAddress_lte: Bytes - shipContractAddress_in: [Bytes!] - shipContractAddress_not_in: [Bytes!] - shipContractAddress_contains: Bytes - shipContractAddress_not_contains: Bytes - shipLaunched: Boolean - shipLaunched_not: Boolean - shipLaunched_in: [Boolean!] - shipLaunched_not_in: [Boolean!] - poolActive: Boolean - poolActive_not: Boolean - poolActive_in: [Boolean!] - poolActive_not_in: [Boolean!] - isAllocated: Boolean - isAllocated_not: Boolean - isAllocated_in: [Boolean!] - isAllocated_not_in: [Boolean!] - isDistributed: Boolean - isDistributed_not: Boolean - isDistributed_in: [Boolean!] - isDistributed_not_in: [Boolean!] - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [GrantShip_filter] - or: [GrantShip_filter] -} - -enum GrantShip_orderBy { - id - profileId - nonce - name - profileMetadata - profileMetadata__id - profileMetadata__protocol - profileMetadata__pointer - owner - anchor - blockNumber - blockTimestamp - transactionHash - status - poolFunded - balance - shipAllocation - totalAvailableFunds - totalRoundAmount - totalAllocated - totalDistributed - grants - alloProfileMembers - alloProfileMembers__id - shipApplicationBytesData - applicationSubmittedTime - isAwaitingApproval - hasSubmittedApplication - isApproved - approvedTime - isRejected - rejectedTime - applicationReviewReason - applicationReviewReason__id - applicationReviewReason__protocol - applicationReviewReason__pointer - poolId - hatId - shipContractAddress - shipLaunched - poolActive - isAllocated - isDistributed -} - -input Grant_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - projectId: String - projectId_not: String - projectId_gt: String - projectId_lt: String - projectId_gte: String - projectId_lte: String - projectId_in: [String!] - projectId_not_in: [String!] - projectId_contains: String - projectId_contains_nocase: String - projectId_not_contains: String - projectId_not_contains_nocase: String - projectId_starts_with: String - projectId_starts_with_nocase: String - projectId_not_starts_with: String - projectId_not_starts_with_nocase: String - projectId_ends_with: String - projectId_ends_with_nocase: String - projectId_not_ends_with: String - projectId_not_ends_with_nocase: String - projectId_: Project_filter - shipId: String - shipId_not: String - shipId_gt: String - shipId_lt: String - shipId_gte: String - shipId_lte: String - shipId_in: [String!] - shipId_not_in: [String!] - shipId_contains: String - shipId_contains_nocase: String - shipId_not_contains: String - shipId_not_contains_nocase: String - shipId_starts_with: String - shipId_starts_with_nocase: String - shipId_not_starts_with: String - shipId_not_starts_with_nocase: String - shipId_ends_with: String - shipId_ends_with_nocase: String - shipId_not_ends_with: String - shipId_not_ends_with_nocase: String - shipId_: GrantShip_filter - lastUpdated: BigInt - lastUpdated_not: BigInt - lastUpdated_gt: BigInt - lastUpdated_lt: BigInt - lastUpdated_gte: BigInt - lastUpdated_lte: BigInt - lastUpdated_in: [BigInt!] - lastUpdated_not_in: [BigInt!] - hasResubmitted: Boolean - hasResubmitted_not: Boolean - hasResubmitted_in: [Boolean!] - hasResubmitted_not_in: [Boolean!] - grantStatus: Int - grantStatus_not: Int - grantStatus_gt: Int - grantStatus_lt: Int - grantStatus_gte: Int - grantStatus_lte: Int - grantStatus_in: [Int!] - grantStatus_not_in: [Int!] - grantApplicationBytes: Bytes - grantApplicationBytes_not: Bytes - grantApplicationBytes_gt: Bytes - grantApplicationBytes_lt: Bytes - grantApplicationBytes_gte: Bytes - grantApplicationBytes_lte: Bytes - grantApplicationBytes_in: [Bytes!] - grantApplicationBytes_not_in: [Bytes!] - grantApplicationBytes_contains: Bytes - grantApplicationBytes_not_contains: Bytes - applicationSubmitted: BigInt - applicationSubmitted_not: BigInt - applicationSubmitted_gt: BigInt - applicationSubmitted_lt: BigInt - applicationSubmitted_gte: BigInt - applicationSubmitted_lte: BigInt - applicationSubmitted_in: [BigInt!] - applicationSubmitted_not_in: [BigInt!] - currentMilestoneIndex: BigInt - currentMilestoneIndex_not: BigInt - currentMilestoneIndex_gt: BigInt - currentMilestoneIndex_lt: BigInt - currentMilestoneIndex_gte: BigInt - currentMilestoneIndex_lte: BigInt - currentMilestoneIndex_in: [BigInt!] - currentMilestoneIndex_not_in: [BigInt!] - milestonesAmount: BigInt - milestonesAmount_not: BigInt - milestonesAmount_gt: BigInt - milestonesAmount_lt: BigInt - milestonesAmount_gte: BigInt - milestonesAmount_lte: BigInt - milestonesAmount_in: [BigInt!] - milestonesAmount_not_in: [BigInt!] - milestones: [String!] - milestones_not: [String!] - milestones_contains: [String!] - milestones_contains_nocase: [String!] - milestones_not_contains: [String!] - milestones_not_contains_nocase: [String!] - milestones_: Milestone_filter - shipApprovalReason: String - shipApprovalReason_not: String - shipApprovalReason_gt: String - shipApprovalReason_lt: String - shipApprovalReason_gte: String - shipApprovalReason_lte: String - shipApprovalReason_in: [String!] - shipApprovalReason_not_in: [String!] - shipApprovalReason_contains: String - shipApprovalReason_contains_nocase: String - shipApprovalReason_not_contains: String - shipApprovalReason_not_contains_nocase: String - shipApprovalReason_starts_with: String - shipApprovalReason_starts_with_nocase: String - shipApprovalReason_not_starts_with: String - shipApprovalReason_not_starts_with_nocase: String - shipApprovalReason_ends_with: String - shipApprovalReason_ends_with_nocase: String - shipApprovalReason_not_ends_with: String - shipApprovalReason_not_ends_with_nocase: String - shipApprovalReason_: RawMetadata_filter - hasShipApproved: Boolean - hasShipApproved_not: Boolean - hasShipApproved_in: [Boolean!] - hasShipApproved_not_in: [Boolean!] - amtAllocated: BigInt - amtAllocated_not: BigInt - amtAllocated_gt: BigInt - amtAllocated_lt: BigInt - amtAllocated_gte: BigInt - amtAllocated_lte: BigInt - amtAllocated_in: [BigInt!] - amtAllocated_not_in: [BigInt!] - amtDistributed: BigInt - amtDistributed_not: BigInt - amtDistributed_gt: BigInt - amtDistributed_lt: BigInt - amtDistributed_gte: BigInt - amtDistributed_lte: BigInt - amtDistributed_in: [BigInt!] - amtDistributed_not_in: [BigInt!] - allocatedBy: Bytes - allocatedBy_not: Bytes - allocatedBy_gt: Bytes - allocatedBy_lt: Bytes - allocatedBy_gte: Bytes - allocatedBy_lte: Bytes - allocatedBy_in: [Bytes!] - allocatedBy_not_in: [Bytes!] - allocatedBy_contains: Bytes - allocatedBy_not_contains: Bytes - facilitatorReason: String - facilitatorReason_not: String - facilitatorReason_gt: String - facilitatorReason_lt: String - facilitatorReason_gte: String - facilitatorReason_lte: String - facilitatorReason_in: [String!] - facilitatorReason_not_in: [String!] - facilitatorReason_contains: String - facilitatorReason_contains_nocase: String - facilitatorReason_not_contains: String - facilitatorReason_not_contains_nocase: String - facilitatorReason_starts_with: String - facilitatorReason_starts_with_nocase: String - facilitatorReason_not_starts_with: String - facilitatorReason_not_starts_with_nocase: String - facilitatorReason_ends_with: String - facilitatorReason_ends_with_nocase: String - facilitatorReason_not_ends_with: String - facilitatorReason_not_ends_with_nocase: String - facilitatorReason_: RawMetadata_filter - hasFacilitatorApproved: Boolean - hasFacilitatorApproved_not: Boolean - hasFacilitatorApproved_in: [Boolean!] - hasFacilitatorApproved_not_in: [Boolean!] - milestonesApproved: Boolean - milestonesApproved_not: Boolean - milestonesApproved_in: [Boolean!] - milestonesApproved_not_in: [Boolean!] - milestonesApprovedReason: String - milestonesApprovedReason_not: String - milestonesApprovedReason_gt: String - milestonesApprovedReason_lt: String - milestonesApprovedReason_gte: String - milestonesApprovedReason_lte: String - milestonesApprovedReason_in: [String!] - milestonesApprovedReason_not_in: [String!] - milestonesApprovedReason_contains: String - milestonesApprovedReason_contains_nocase: String - milestonesApprovedReason_not_contains: String - milestonesApprovedReason_not_contains_nocase: String - milestonesApprovedReason_starts_with: String - milestonesApprovedReason_starts_with_nocase: String - milestonesApprovedReason_not_starts_with: String - milestonesApprovedReason_not_starts_with_nocase: String - milestonesApprovedReason_ends_with: String - milestonesApprovedReason_ends_with_nocase: String - milestonesApprovedReason_not_ends_with: String - milestonesApprovedReason_not_ends_with_nocase: String - milestonesApprovedReason_: RawMetadata_filter - currentMilestoneRejectedReason: String - currentMilestoneRejectedReason_not: String - currentMilestoneRejectedReason_gt: String - currentMilestoneRejectedReason_lt: String - currentMilestoneRejectedReason_gte: String - currentMilestoneRejectedReason_lte: String - currentMilestoneRejectedReason_in: [String!] - currentMilestoneRejectedReason_not_in: [String!] - currentMilestoneRejectedReason_contains: String - currentMilestoneRejectedReason_contains_nocase: String - currentMilestoneRejectedReason_not_contains: String - currentMilestoneRejectedReason_not_contains_nocase: String - currentMilestoneRejectedReason_starts_with: String - currentMilestoneRejectedReason_starts_with_nocase: String - currentMilestoneRejectedReason_not_starts_with: String - currentMilestoneRejectedReason_not_starts_with_nocase: String - currentMilestoneRejectedReason_ends_with: String - currentMilestoneRejectedReason_ends_with_nocase: String - currentMilestoneRejectedReason_not_ends_with: String - currentMilestoneRejectedReason_not_ends_with_nocase: String - currentMilestoneRejectedReason_: RawMetadata_filter - resubmitHistory: [String!] - resubmitHistory_not: [String!] - resubmitHistory_contains: [String!] - resubmitHistory_contains_nocase: [String!] - resubmitHistory_not_contains: [String!] - resubmitHistory_not_contains_nocase: [String!] - resubmitHistory_: ApplicationHistory_filter - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [Grant_filter] - or: [Grant_filter] -} - -enum Grant_orderBy { - 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 -} - -""" -8 bytes signed integer - -""" -scalar Int8 - -type Log { - id: ID! - message: String! - description: String - type: String -} - -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] -} - -enum Log_orderBy { - id - message - description - type -} - -type Milestone { - id: ID! - amountPercentage: Bytes! - mmetadata: BigInt! - amount: BigInt! - status: Int! - lastUpdated: BigInt! -} - -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] -} - -enum Milestone_orderBy { - id - amountPercentage - mmetadata - amount - status - lastUpdated -} - -"""Defines the order direction, either ascending or descending""" -enum OrderDirection { - asc - desc -} - -type PoolIdLookup { - id: ID! - entityId: Bytes! -} - -input PoolIdLookup_filter { - id: ID - id_not: ID - id_gt: ID - id_lt: ID - id_gte: ID - id_lte: ID - id_in: [ID!] - id_not_in: [ID!] - entityId: Bytes - entityId_not: Bytes - entityId_gt: Bytes - entityId_lt: Bytes - entityId_gte: Bytes - entityId_lte: Bytes - entityId_in: [Bytes!] - entityId_not_in: [Bytes!] - entityId_contains: Bytes - entityId_not_contains: Bytes - """Filter for the block changed event.""" - _change_block: BlockChangedFilter - and: [PoolIdLookup_filter] - or: [PoolIdLookup_filter] -} - -enum PoolIdLookup_orderBy { - id - entityId -} - -type ProfileIdToAnchor { - id: ID! - profileId: Bytes! - anchor: Bytes! -} - -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! - 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! -} - -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] -} - -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 -} +"whether this query should be cached (Hasura Cloud only)" +directive @cached( + """measured in seconds""" + ttl: Int! = 60 + """refresh the cache entry""" + refresh: Boolean! = false +) on QUERY type Query { project( @@ -2589,6 +412,17 @@ type Query { subgraphError: _SubgraphErrorPolicy_! = deny ): [Transaction!]! rawMetadata( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): RawMetadata + rawMetadata_collection( skip: Int = 0 first: Int = 100 orderBy: RawMetadata_orderBy @@ -2683,73 +517,441 @@ type Query { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ -} - -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 + """ + 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 } type Subscription { @@ -3144,6 +1346,17 @@ type Subscription { subgraphError: _SubgraphErrorPolicy_! = deny ): [Transaction!]! rawMetadata( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): RawMetadata + rawMetadata_collection( skip: Int = 0 first: Int = 100 orderBy: RawMetadata_orderBy @@ -3238,218 +1451,6190 @@ type Subscription { ): [GmDeployment!]! """Access to subgraph metadata""" _meta(block: Block_height): _Meta_ + """ + 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""" + 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 in a streaming manner: "entity_history_filter" + """ + entity_history_filter_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [entity_history_filter_stream_cursor_input]! + """filter the rows returned""" + where: entity_history_filter_bool_exp + ): [entity_history_filter!]! + """ + fetch data from the table in a streaming manner: "entity_history" + """ + entity_history_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [entity_history_stream_cursor_input]! + """filter the rows returned""" + where: entity_history_bool_exp + ): [entity_history!]! + """ + fetch data from the table: "event_sync_state" + """ + event_sync_state( + """distinct select on columns""" + distinct_on: [event_sync_state_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [event_sync_state_order_by!] + """filter the rows returned""" + where: event_sync_state_bool_exp + ): [event_sync_state!]! + """ + fetch data from the table: "event_sync_state" using primary key columns + """ + event_sync_state_by_pk(chain_id: Int!): event_sync_state + """ + fetch data from the table in a streaming manner: "event_sync_state" + """ + event_sync_state_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [event_sync_state_stream_cursor_input]! + """filter the rows returned""" + where: event_sync_state_bool_exp + ): [event_sync_state!]! + """This function helps search for articles""" + get_entity_history_filter( + """ + input parameters for function "get_entity_history_filter" + """ + args: get_entity_history_filter_args! + """distinct select on columns""" + distinct_on: [entity_history_filter_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [entity_history_filter_order_by!] + """filter the rows returned""" + where: entity_history_filter_bool_exp + ): [entity_history_filter!]! + """ + fetch data from the table: "persisted_state" + """ + persisted_state( + """distinct select on columns""" + distinct_on: [persisted_state_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [persisted_state_order_by!] + """filter the rows returned""" + where: persisted_state_bool_exp + ): [persisted_state!]! + """fetch data from the table: "persisted_state" using primary key columns""" + persisted_state_by_pk(id: Int!): persisted_state + """ + fetch data from the table in a streaming manner: "persisted_state" + """ + persisted_state_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [persisted_state_stream_cursor_input]! + """filter the rows returned""" + where: persisted_state_bool_exp + ): [persisted_state!]! + """ + fetch data from the table: "raw_events" + """ + raw_events( + """distinct select on columns""" + distinct_on: [raw_events_select_column!] + """limit the number of rows returned""" + limit: Int + """skip the first n rows. Use only with order_by""" + offset: Int + """sort the rows by one or more columns""" + order_by: [raw_events_order_by!] + """filter the rows returned""" + where: raw_events_bool_exp + ): [raw_events!]! + """fetch data from the table: "raw_events" using primary key columns""" + raw_events_by_pk(chain_id: Int!, event_id: numeric!): raw_events + """ + fetch data from the table in a streaming manner: "raw_events" + """ + raw_events_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + """cursor to stream the results returned by the query""" + cursor: [raw_events_stream_cursor_input]! + """filter the rows returned""" + where: raw_events_bool_exp + ): [raw_events!]! +} + +enum Aggregation_interval { + hour + day +} + +type ApplicationHistory { + id: ID! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! +} + +input ApplicationHistory_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [ApplicationHistory_filter] + or: [ApplicationHistory_filter] +} + +enum ApplicationHistory_orderBy { + id + grantApplicationBytes + applicationSubmitted +} + +scalar BigDecimal + +scalar BigInt + +input BlockChangedFilter { + number_gte: Int! +} + +input Block_height { + hash: Bytes + number: Int + number_gte: Int +} + +scalar Bytes + +type FeedItem { + id: ID! + timestamp: BigInt + content: String! + sender: Bytes! + tag: String! + subjectMetadataPointer: String! + subjectId: ID! + objectId: ID + subject: FeedItemEntity! + object: FeedItemEntity + embed: FeedItemEmbed + details: String +} + +type FeedItemEmbed { + id: ID! + key: String + pointer: String + protocol: BigInt + content: String +} + +input FeedItemEmbed_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + key: String + key_not: String + key_gt: String + key_lt: String + key_gte: String + key_lte: String + key_in: [String!] + key_not_in: [String!] + key_contains: String + key_contains_nocase: String + key_not_contains: String + key_not_contains_nocase: String + key_starts_with: String + key_starts_with_nocase: String + key_not_starts_with: String + key_not_starts_with_nocase: String + key_ends_with: String + key_ends_with_nocase: String + key_not_ends_with: String + key_not_ends_with_nocase: String + pointer: String + pointer_not: String + pointer_gt: String + pointer_lt: String + pointer_gte: String + pointer_lte: String + pointer_in: [String!] + pointer_not_in: [String!] + pointer_contains: String + pointer_contains_nocase: String + pointer_not_contains: String + pointer_not_contains_nocase: String + pointer_starts_with: String + pointer_starts_with_nocase: String + pointer_not_starts_with: String + pointer_not_starts_with_nocase: String + pointer_ends_with: String + pointer_ends_with_nocase: String + pointer_not_ends_with: String + pointer_not_ends_with_nocase: String + protocol: BigInt + protocol_not: BigInt + protocol_gt: BigInt + protocol_lt: BigInt + protocol_gte: BigInt + protocol_lte: BigInt + protocol_in: [BigInt!] + protocol_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEmbed_filter] + or: [FeedItemEmbed_filter] +} + +enum FeedItemEmbed_orderBy { + id + key + pointer + protocol + content +} + +type FeedItemEntity { + id: ID! + name: String! + type: String! +} + +input FeedItemEntity_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + name: String + name_not: String + name_gt: String + name_lt: String + name_gte: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: String + name_starts_with: String + name_starts_with_nocase: String + name_not_starts_with: String + name_not_starts_with_nocase: String + name_ends_with: String + name_ends_with_nocase: String + name_not_ends_with: String + name_not_ends_with_nocase: String + type: String + type_not: String + type_gt: String + type_lt: String + type_gte: String + type_lte: String + type_in: [String!] + type_not_in: [String!] + type_contains: String + type_contains_nocase: String + type_not_contains: String + type_not_contains_nocase: String + type_starts_with: String + type_starts_with_nocase: String + type_not_starts_with: String + type_not_starts_with_nocase: String + type_ends_with: String + type_ends_with_nocase: String + type_not_ends_with: String + type_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItemEntity_filter] + or: [FeedItemEntity_filter] +} + +enum FeedItemEntity_orderBy { + id + name + type +} + +input FeedItem_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + content: String + content_not: String + content_gt: String + content_lt: String + content_gte: String + content_lte: String + content_in: [String!] + content_not_in: [String!] + content_contains: String + content_contains_nocase: String + content_not_contains: String + content_not_contains_nocase: String + content_starts_with: String + content_starts_with_nocase: String + content_not_starts_with: String + content_not_starts_with_nocase: String + content_ends_with: String + content_ends_with_nocase: String + content_not_ends_with: String + content_not_ends_with_nocase: String + sender: Bytes + sender_not: Bytes + sender_gt: Bytes + sender_lt: Bytes + sender_gte: Bytes + sender_lte: Bytes + sender_in: [Bytes!] + sender_not_in: [Bytes!] + sender_contains: Bytes + sender_not_contains: Bytes + tag: String + tag_not: String + tag_gt: String + tag_lt: String + tag_gte: String + tag_lte: String + tag_in: [String!] + tag_not_in: [String!] + tag_contains: String + tag_contains_nocase: String + tag_not_contains: String + tag_not_contains_nocase: String + tag_starts_with: String + tag_starts_with_nocase: String + tag_not_starts_with: String + tag_not_starts_with_nocase: String + tag_ends_with: String + tag_ends_with_nocase: String + tag_not_ends_with: String + tag_not_ends_with_nocase: String + subjectMetadataPointer: String + subjectMetadataPointer_not: String + subjectMetadataPointer_gt: String + subjectMetadataPointer_lt: String + subjectMetadataPointer_gte: String + subjectMetadataPointer_lte: String + subjectMetadataPointer_in: [String!] + subjectMetadataPointer_not_in: [String!] + subjectMetadataPointer_contains: String + subjectMetadataPointer_contains_nocase: String + subjectMetadataPointer_not_contains: String + subjectMetadataPointer_not_contains_nocase: String + subjectMetadataPointer_starts_with: String + subjectMetadataPointer_starts_with_nocase: String + subjectMetadataPointer_not_starts_with: String + subjectMetadataPointer_not_starts_with_nocase: String + subjectMetadataPointer_ends_with: String + subjectMetadataPointer_ends_with_nocase: String + subjectMetadataPointer_not_ends_with: String + subjectMetadataPointer_not_ends_with_nocase: String + subjectId: ID + subjectId_not: ID + subjectId_gt: ID + subjectId_lt: ID + subjectId_gte: ID + subjectId_lte: ID + subjectId_in: [ID!] + subjectId_not_in: [ID!] + objectId: ID + objectId_not: ID + objectId_gt: ID + objectId_lt: ID + objectId_gte: ID + objectId_lte: ID + objectId_in: [ID!] + objectId_not_in: [ID!] + subject: String + subject_not: String + subject_gt: String + subject_lt: String + subject_gte: String + subject_lte: String + subject_in: [String!] + subject_not_in: [String!] + subject_contains: String + subject_contains_nocase: String + subject_not_contains: String + subject_not_contains_nocase: String + subject_starts_with: String + subject_starts_with_nocase: String + subject_not_starts_with: String + subject_not_starts_with_nocase: String + subject_ends_with: String + subject_ends_with_nocase: String + subject_not_ends_with: String + subject_not_ends_with_nocase: String + subject_: FeedItemEntity_filter + object: String + object_not: String + object_gt: String + object_lt: String + object_gte: String + object_lte: String + object_in: [String!] + object_not_in: [String!] + object_contains: String + object_contains_nocase: String + object_not_contains: String + object_not_contains_nocase: String + object_starts_with: String + object_starts_with_nocase: String + object_not_starts_with: String + object_not_starts_with_nocase: String + object_ends_with: String + object_ends_with_nocase: String + object_not_ends_with: String + object_not_ends_with_nocase: String + object_: FeedItemEntity_filter + embed: String + embed_not: String + embed_gt: String + embed_lt: String + embed_gte: String + embed_lte: String + embed_in: [String!] + embed_not_in: [String!] + embed_contains: String + embed_contains_nocase: String + embed_not_contains: String + embed_not_contains_nocase: String + embed_starts_with: String + embed_starts_with_nocase: String + embed_not_starts_with: String + embed_not_starts_with_nocase: String + embed_ends_with: String + embed_ends_with_nocase: String + embed_not_ends_with: String + embed_not_ends_with_nocase: String + embed_: FeedItemEmbed_filter + details: String + details_not: String + details_gt: String + details_lt: String + details_gte: String + details_lte: String + details_in: [String!] + details_not_in: [String!] + details_contains: String + details_contains_nocase: String + details_not_contains: String + details_not_contains_nocase: String + details_starts_with: String + details_starts_with_nocase: String + details_not_starts_with: String + details_not_starts_with_nocase: String + details_ends_with: String + details_ends_with_nocase: String + details_not_ends_with: String + details_not_ends_with_nocase: String + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [FeedItem_filter] + or: [FeedItem_filter] +} + +enum FeedItem_orderBy { + id + timestamp + content + sender + tag + subjectMetadataPointer + subjectId + objectId + subject + subject__id + subject__name + subject__type + object + object__id + object__name + object__type + embed + embed__id + embed__key + embed__pointer + embed__protocol + embed__content + details +} + +type GameManager { + id: Bytes! + poolId: BigInt! + gameFacilitatorId: BigInt! + rootAccount: Bytes! + tokenAddress: Bytes! + currentRoundId: BigInt! + currentRound: GameRound + poolFunds: BigInt! +} + +input GameManager_filter { + id: Bytes + id_not: Bytes + id_gt: Bytes + id_lt: Bytes + id_gte: Bytes + id_lte: Bytes + id_in: [Bytes!] + id_not_in: [Bytes!] + id_contains: Bytes + id_not_contains: Bytes + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + gameFacilitatorId: BigInt + gameFacilitatorId_not: BigInt + gameFacilitatorId_gt: BigInt + gameFacilitatorId_lt: BigInt + gameFacilitatorId_gte: BigInt + gameFacilitatorId_lte: BigInt + gameFacilitatorId_in: [BigInt!] + gameFacilitatorId_not_in: [BigInt!] + rootAccount: Bytes + rootAccount_not: Bytes + rootAccount_gt: Bytes + rootAccount_lt: Bytes + rootAccount_gte: Bytes + rootAccount_lte: Bytes + rootAccount_in: [Bytes!] + rootAccount_not_in: [Bytes!] + rootAccount_contains: Bytes + rootAccount_not_contains: Bytes + tokenAddress: Bytes + tokenAddress_not: Bytes + tokenAddress_gt: Bytes + tokenAddress_lt: Bytes + tokenAddress_gte: Bytes + tokenAddress_lte: Bytes + tokenAddress_in: [Bytes!] + tokenAddress_not_in: [Bytes!] + tokenAddress_contains: Bytes + tokenAddress_not_contains: Bytes + currentRoundId: BigInt + currentRoundId_not: BigInt + currentRoundId_gt: BigInt + currentRoundId_lt: BigInt + currentRoundId_gte: BigInt + currentRoundId_lte: BigInt + currentRoundId_in: [BigInt!] + currentRoundId_not_in: [BigInt!] + currentRound: String + currentRound_not: String + currentRound_gt: String + currentRound_lt: String + currentRound_gte: String + currentRound_lte: String + currentRound_in: [String!] + currentRound_not_in: [String!] + currentRound_contains: String + currentRound_contains_nocase: String + currentRound_not_contains: String + currentRound_not_contains_nocase: String + currentRound_starts_with: String + currentRound_starts_with_nocase: String + currentRound_not_starts_with: String + currentRound_not_starts_with_nocase: String + currentRound_ends_with: String + currentRound_ends_with_nocase: String + currentRound_not_ends_with: String + currentRound_not_ends_with_nocase: String + currentRound_: GameRound_filter + poolFunds: BigInt + poolFunds_not: BigInt + poolFunds_gt: BigInt + poolFunds_lt: BigInt + poolFunds_gte: BigInt + poolFunds_lte: BigInt + poolFunds_in: [BigInt!] + poolFunds_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GameManager_filter] + or: [GameManager_filter] +} + +enum GameManager_orderBy { + id + poolId + gameFacilitatorId + rootAccount + tokenAddress + currentRoundId + currentRound + currentRound__id + currentRound__startTime + currentRound__endTime + currentRound__totalRoundAmount + currentRound__totalAllocatedAmount + currentRound__totalDistributedAmount + currentRound__gameStatus + currentRound__isGameActive + currentRound__realStartTime + currentRound__realEndTime + poolFunds +} + +type GameRound { + id: ID! + startTime: BigInt! + endTime: BigInt! + totalRoundAmount: BigInt! + totalAllocatedAmount: BigInt! + totalDistributedAmount: BigInt! + gameStatus: Int! + ships(skip: Int = 0, first: Int = 100, orderBy: GrantShip_orderBy, orderDirection: OrderDirection, where: GrantShip_filter): [GrantShip!]! + isGameActive: Boolean! + realStartTime: BigInt + realEndTime: BigInt +} + +input GameRound_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + startTime: BigInt + startTime_not: BigInt + startTime_gt: BigInt + startTime_lt: BigInt + startTime_gte: BigInt + startTime_lte: BigInt + startTime_in: [BigInt!] + startTime_not_in: [BigInt!] + endTime: BigInt + endTime_not: BigInt + endTime_gt: BigInt + endTime_lt: BigInt + endTime_gte: BigInt + endTime_lte: BigInt + endTime_in: [BigInt!] + endTime_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocatedAmount: BigInt + totalAllocatedAmount_not: BigInt + totalAllocatedAmount_gt: BigInt + totalAllocatedAmount_lt: BigInt + totalAllocatedAmount_gte: BigInt + totalAllocatedAmount_lte: BigInt + totalAllocatedAmount_in: [BigInt!] + totalAllocatedAmount_not_in: [BigInt!] + totalDistributedAmount: BigInt + totalDistributedAmount_not: BigInt + totalDistributedAmount_gt: BigInt + totalDistributedAmount_lt: BigInt + totalDistributedAmount_gte: BigInt + totalDistributedAmount_lte: BigInt + totalDistributedAmount_in: [BigInt!] + totalDistributedAmount_not_in: [BigInt!] + gameStatus: Int + gameStatus_not: Int + gameStatus_gt: Int + gameStatus_lt: Int + gameStatus_gte: Int + gameStatus_lte: Int + gameStatus_in: [Int!] + gameStatus_not_in: [Int!] + ships: [String!] + ships_not: [String!] + ships_contains: [String!] + ships_contains_nocase: [String!] + ships_not_contains: [String!] + ships_not_contains_nocase: [String!] + ships_: GrantShip_filter + isGameActive: Boolean + isGameActive_not: Boolean + isGameActive_in: [Boolean!] + isGameActive_not_in: [Boolean!] + realStartTime: BigInt + realStartTime_not: BigInt + realStartTime_gt: BigInt + realStartTime_lt: BigInt + realStartTime_gte: BigInt + realStartTime_lte: BigInt + realStartTime_in: [BigInt!] + realStartTime_not_in: [BigInt!] + realEndTime: BigInt + realEndTime_not: BigInt + realEndTime_gt: BigInt + realEndTime_lt: BigInt + realEndTime_gte: BigInt + realEndTime_lte: BigInt + realEndTime_in: [BigInt!] + realEndTime_not_in: [BigInt!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GameRound_filter] + or: [GameRound_filter] +} + +enum GameRound_orderBy { + id + startTime + endTime + totalRoundAmount + totalAllocatedAmount + totalDistributedAmount + gameStatus + ships + isGameActive + realStartTime + realEndTime +} + +type GmDeployment { + id: ID! + address: Bytes! + version: GmVersion! + blockNumber: BigInt! + transactionHash: Bytes! + timestamp: BigInt! + hasPool: Boolean! + poolId: BigInt + profileId: Bytes! + poolMetadata: RawMetadata! + poolProfileMetadata: RawMetadata! +} + +input GmDeployment_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes + version: String + version_not: String + version_gt: String + version_lt: String + version_gte: String + version_lte: String + version_in: [String!] + version_not_in: [String!] + version_contains: String + version_contains_nocase: String + version_not_contains: String + version_not_contains_nocase: String + version_starts_with: String + version_starts_with_nocase: String + version_not_starts_with: String + version_not_starts_with_nocase: String + version_ends_with: String + version_ends_with_nocase: String + version_not_ends_with: String + version_not_ends_with_nocase: String + version_: GmVersion_filter + blockNumber: BigInt + blockNumber_not: BigInt + blockNumber_gt: BigInt + blockNumber_lt: BigInt + blockNumber_gte: BigInt + blockNumber_lte: BigInt + blockNumber_in: [BigInt!] + blockNumber_not_in: [BigInt!] + transactionHash: Bytes + transactionHash_not: Bytes + transactionHash_gt: Bytes + transactionHash_lt: Bytes + transactionHash_gte: Bytes + transactionHash_lte: Bytes + transactionHash_in: [Bytes!] + transactionHash_not_in: [Bytes!] + transactionHash_contains: Bytes + transactionHash_not_contains: Bytes + timestamp: BigInt + timestamp_not: BigInt + timestamp_gt: BigInt + timestamp_lt: BigInt + timestamp_gte: BigInt + timestamp_lte: BigInt + timestamp_in: [BigInt!] + timestamp_not_in: [BigInt!] + hasPool: Boolean + hasPool_not: Boolean + hasPool_in: [Boolean!] + hasPool_not_in: [Boolean!] + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + poolMetadata: String + poolMetadata_not: String + poolMetadata_gt: String + poolMetadata_lt: String + poolMetadata_gte: String + poolMetadata_lte: String + poolMetadata_in: [String!] + poolMetadata_not_in: [String!] + poolMetadata_contains: String + poolMetadata_contains_nocase: String + poolMetadata_not_contains: String + poolMetadata_not_contains_nocase: String + poolMetadata_starts_with: String + poolMetadata_starts_with_nocase: String + poolMetadata_not_starts_with: String + poolMetadata_not_starts_with_nocase: String + poolMetadata_ends_with: String + poolMetadata_ends_with_nocase: String + poolMetadata_not_ends_with: String + poolMetadata_not_ends_with_nocase: String + poolMetadata_: RawMetadata_filter + poolProfileMetadata: String + poolProfileMetadata_not: String + poolProfileMetadata_gt: String + poolProfileMetadata_lt: String + poolProfileMetadata_gte: String + poolProfileMetadata_lte: String + poolProfileMetadata_in: [String!] + poolProfileMetadata_not_in: [String!] + poolProfileMetadata_contains: String + poolProfileMetadata_contains_nocase: String + poolProfileMetadata_not_contains: String + poolProfileMetadata_not_contains_nocase: String + poolProfileMetadata_starts_with: String + poolProfileMetadata_starts_with_nocase: String + poolProfileMetadata_not_starts_with: String + poolProfileMetadata_not_starts_with_nocase: String + poolProfileMetadata_ends_with: String + poolProfileMetadata_ends_with_nocase: String + poolProfileMetadata_not_ends_with: String + poolProfileMetadata_not_ends_with_nocase: String + poolProfileMetadata_: RawMetadata_filter + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GmDeployment_filter] + or: [GmDeployment_filter] +} + +enum GmDeployment_orderBy { + id + address + version + version__id + version__name + version__address + blockNumber + transactionHash + timestamp + hasPool + poolId + profileId + poolMetadata + poolMetadata__id + poolMetadata__protocol + poolMetadata__pointer + poolProfileMetadata + poolProfileMetadata__id + poolProfileMetadata__protocol + poolProfileMetadata__pointer +} + +type GmVersion { + id: ID! + name: String! + address: Bytes! +} + +input GmVersion_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + name: String + name_not: String + name_gt: String + name_lt: String + name_gte: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: String + name_starts_with: String + name_starts_with_nocase: String + name_not_starts_with: String + name_not_starts_with_nocase: String + name_ends_with: String + name_ends_with_nocase: String + name_not_ends_with: String + name_not_ends_with_nocase: String + address: Bytes + address_not: Bytes + address_gt: Bytes + address_lt: Bytes + address_gte: Bytes + address_lte: Bytes + address_in: [Bytes!] + address_not_in: [Bytes!] + address_contains: Bytes + address_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GmVersion_filter] + or: [GmVersion_filter] +} + +enum GmVersion_orderBy { + id + name + address +} + +type Grant { + id: ID! + projectId: Project! + shipId: GrantShip! + lastUpdated: BigInt! + hasResubmitted: Boolean! + grantStatus: Int! + grantApplicationBytes: Bytes! + applicationSubmitted: BigInt! + currentMilestoneIndex: BigInt! + milestonesAmount: BigInt! + milestones(skip: Int = 0, first: Int = 100, orderBy: Milestone_orderBy, orderDirection: OrderDirection, where: Milestone_filter): [Milestone!] + shipApprovalReason: RawMetadata + hasShipApproved: Boolean + amtAllocated: BigInt! + amtDistributed: BigInt! + allocatedBy: Bytes + facilitatorReason: RawMetadata + hasFacilitatorApproved: Boolean + milestonesApproved: Boolean + milestonesApprovedReason: RawMetadata + currentMilestoneRejectedReason: RawMetadata + resubmitHistory(skip: Int = 0, first: Int = 100, orderBy: ApplicationHistory_orderBy, orderDirection: OrderDirection, where: ApplicationHistory_filter): [ApplicationHistory!]! +} + +type GrantShip { + id: Bytes! + profileId: Bytes! + nonce: BigInt! + name: String! + profileMetadata: RawMetadata! + owner: Bytes! + anchor: Bytes! + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! + status: Int! + poolFunded: Boolean! + balance: BigInt! + shipAllocation: BigInt! + totalAvailableFunds: BigInt! + totalRoundAmount: BigInt! + totalAllocated: BigInt! + totalDistributed: BigInt! + grants(skip: Int = 0, first: Int = 100, orderBy: Grant_orderBy, orderDirection: OrderDirection, where: Grant_filter): [Grant!]! + alloProfileMembers: ProfileMemberGroup + shipApplicationBytesData: Bytes + applicationSubmittedTime: BigInt + isAwaitingApproval: Boolean + hasSubmittedApplication: Boolean + isApproved: Boolean + approvedTime: BigInt + isRejected: Boolean + rejectedTime: BigInt + applicationReviewReason: RawMetadata + poolId: BigInt + hatId: String + shipContractAddress: Bytes + shipLaunched: Boolean + poolActive: Boolean + isAllocated: Boolean + isDistributed: Boolean +} + +input GrantShip_filter { + id: Bytes + id_not: Bytes + id_gt: Bytes + id_lt: Bytes + id_gte: Bytes + id_lte: Bytes + id_in: [Bytes!] + id_not_in: [Bytes!] + id_contains: Bytes + id_not_contains: Bytes + profileId: Bytes + profileId_not: Bytes + profileId_gt: Bytes + profileId_lt: Bytes + profileId_gte: Bytes + profileId_lte: Bytes + profileId_in: [Bytes!] + profileId_not_in: [Bytes!] + profileId_contains: Bytes + profileId_not_contains: Bytes + nonce: BigInt + nonce_not: BigInt + nonce_gt: BigInt + nonce_lt: BigInt + nonce_gte: BigInt + nonce_lte: BigInt + nonce_in: [BigInt!] + nonce_not_in: [BigInt!] + name: String + name_not: String + name_gt: String + name_lt: String + name_gte: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_contains_nocase: String + name_not_contains: String + name_not_contains_nocase: String + name_starts_with: String + name_starts_with_nocase: String + name_not_starts_with: String + name_not_starts_with_nocase: String + name_ends_with: String + name_ends_with_nocase: String + name_not_ends_with: String + name_not_ends_with_nocase: String + profileMetadata: String + profileMetadata_not: String + profileMetadata_gt: String + profileMetadata_lt: String + profileMetadata_gte: String + profileMetadata_lte: String + profileMetadata_in: [String!] + profileMetadata_not_in: [String!] + profileMetadata_contains: String + profileMetadata_contains_nocase: String + profileMetadata_not_contains: String + profileMetadata_not_contains_nocase: String + profileMetadata_starts_with: String + profileMetadata_starts_with_nocase: String + profileMetadata_not_starts_with: String + profileMetadata_not_starts_with_nocase: String + profileMetadata_ends_with: String + profileMetadata_ends_with_nocase: String + profileMetadata_not_ends_with: String + profileMetadata_not_ends_with_nocase: String + profileMetadata_: RawMetadata_filter + owner: Bytes + owner_not: Bytes + owner_gt: Bytes + owner_lt: Bytes + owner_gte: Bytes + owner_lte: Bytes + owner_in: [Bytes!] + owner_not_in: [Bytes!] + owner_contains: Bytes + owner_not_contains: Bytes + anchor: Bytes + anchor_not: Bytes + anchor_gt: Bytes + anchor_lt: Bytes + anchor_gte: Bytes + anchor_lte: Bytes + anchor_in: [Bytes!] + anchor_not_in: [Bytes!] + anchor_contains: Bytes + anchor_not_contains: Bytes + blockNumber: BigInt + blockNumber_not: BigInt + blockNumber_gt: BigInt + blockNumber_lt: BigInt + blockNumber_gte: BigInt + blockNumber_lte: BigInt + blockNumber_in: [BigInt!] + blockNumber_not_in: [BigInt!] + blockTimestamp: BigInt + blockTimestamp_not: BigInt + blockTimestamp_gt: BigInt + blockTimestamp_lt: BigInt + blockTimestamp_gte: BigInt + blockTimestamp_lte: BigInt + blockTimestamp_in: [BigInt!] + blockTimestamp_not_in: [BigInt!] + transactionHash: Bytes + transactionHash_not: Bytes + transactionHash_gt: Bytes + transactionHash_lt: Bytes + transactionHash_gte: Bytes + transactionHash_lte: Bytes + transactionHash_in: [Bytes!] + transactionHash_not_in: [Bytes!] + transactionHash_contains: Bytes + transactionHash_not_contains: Bytes + status: Int + status_not: Int + status_gt: Int + status_lt: Int + status_gte: Int + status_lte: Int + status_in: [Int!] + status_not_in: [Int!] + poolFunded: Boolean + poolFunded_not: Boolean + poolFunded_in: [Boolean!] + poolFunded_not_in: [Boolean!] + balance: BigInt + balance_not: BigInt + balance_gt: BigInt + balance_lt: BigInt + balance_gte: BigInt + balance_lte: BigInt + balance_in: [BigInt!] + balance_not_in: [BigInt!] + shipAllocation: BigInt + shipAllocation_not: BigInt + shipAllocation_gt: BigInt + shipAllocation_lt: BigInt + shipAllocation_gte: BigInt + shipAllocation_lte: BigInt + shipAllocation_in: [BigInt!] + shipAllocation_not_in: [BigInt!] + totalAvailableFunds: BigInt + totalAvailableFunds_not: BigInt + totalAvailableFunds_gt: BigInt + totalAvailableFunds_lt: BigInt + totalAvailableFunds_gte: BigInt + totalAvailableFunds_lte: BigInt + totalAvailableFunds_in: [BigInt!] + totalAvailableFunds_not_in: [BigInt!] + totalRoundAmount: BigInt + totalRoundAmount_not: BigInt + totalRoundAmount_gt: BigInt + totalRoundAmount_lt: BigInt + totalRoundAmount_gte: BigInt + totalRoundAmount_lte: BigInt + totalRoundAmount_in: [BigInt!] + totalRoundAmount_not_in: [BigInt!] + totalAllocated: BigInt + totalAllocated_not: BigInt + totalAllocated_gt: BigInt + totalAllocated_lt: BigInt + totalAllocated_gte: BigInt + totalAllocated_lte: BigInt + totalAllocated_in: [BigInt!] + totalAllocated_not_in: [BigInt!] + totalDistributed: BigInt + totalDistributed_not: BigInt + totalDistributed_gt: BigInt + totalDistributed_lt: BigInt + totalDistributed_gte: BigInt + totalDistributed_lte: BigInt + totalDistributed_in: [BigInt!] + totalDistributed_not_in: [BigInt!] + grants_: Grant_filter + alloProfileMembers: String + alloProfileMembers_not: String + alloProfileMembers_gt: String + alloProfileMembers_lt: String + alloProfileMembers_gte: String + alloProfileMembers_lte: String + alloProfileMembers_in: [String!] + alloProfileMembers_not_in: [String!] + alloProfileMembers_contains: String + alloProfileMembers_contains_nocase: String + alloProfileMembers_not_contains: String + alloProfileMembers_not_contains_nocase: String + alloProfileMembers_starts_with: String + alloProfileMembers_starts_with_nocase: String + alloProfileMembers_not_starts_with: String + alloProfileMembers_not_starts_with_nocase: String + alloProfileMembers_ends_with: String + alloProfileMembers_ends_with_nocase: String + alloProfileMembers_not_ends_with: String + alloProfileMembers_not_ends_with_nocase: String + alloProfileMembers_: ProfileMemberGroup_filter + shipApplicationBytesData: Bytes + shipApplicationBytesData_not: Bytes + shipApplicationBytesData_gt: Bytes + shipApplicationBytesData_lt: Bytes + shipApplicationBytesData_gte: Bytes + shipApplicationBytesData_lte: Bytes + shipApplicationBytesData_in: [Bytes!] + shipApplicationBytesData_not_in: [Bytes!] + shipApplicationBytesData_contains: Bytes + shipApplicationBytesData_not_contains: Bytes + applicationSubmittedTime: BigInt + applicationSubmittedTime_not: BigInt + applicationSubmittedTime_gt: BigInt + applicationSubmittedTime_lt: BigInt + applicationSubmittedTime_gte: BigInt + applicationSubmittedTime_lte: BigInt + applicationSubmittedTime_in: [BigInt!] + applicationSubmittedTime_not_in: [BigInt!] + isAwaitingApproval: Boolean + isAwaitingApproval_not: Boolean + isAwaitingApproval_in: [Boolean!] + isAwaitingApproval_not_in: [Boolean!] + hasSubmittedApplication: Boolean + hasSubmittedApplication_not: Boolean + hasSubmittedApplication_in: [Boolean!] + hasSubmittedApplication_not_in: [Boolean!] + isApproved: Boolean + isApproved_not: Boolean + isApproved_in: [Boolean!] + isApproved_not_in: [Boolean!] + approvedTime: BigInt + approvedTime_not: BigInt + approvedTime_gt: BigInt + approvedTime_lt: BigInt + approvedTime_gte: BigInt + approvedTime_lte: BigInt + approvedTime_in: [BigInt!] + approvedTime_not_in: [BigInt!] + isRejected: Boolean + isRejected_not: Boolean + isRejected_in: [Boolean!] + isRejected_not_in: [Boolean!] + rejectedTime: BigInt + rejectedTime_not: BigInt + rejectedTime_gt: BigInt + rejectedTime_lt: BigInt + rejectedTime_gte: BigInt + rejectedTime_lte: BigInt + rejectedTime_in: [BigInt!] + rejectedTime_not_in: [BigInt!] + applicationReviewReason: String + applicationReviewReason_not: String + applicationReviewReason_gt: String + applicationReviewReason_lt: String + applicationReviewReason_gte: String + applicationReviewReason_lte: String + applicationReviewReason_in: [String!] + applicationReviewReason_not_in: [String!] + applicationReviewReason_contains: String + applicationReviewReason_contains_nocase: String + applicationReviewReason_not_contains: String + applicationReviewReason_not_contains_nocase: String + applicationReviewReason_starts_with: String + applicationReviewReason_starts_with_nocase: String + applicationReviewReason_not_starts_with: String + applicationReviewReason_not_starts_with_nocase: String + applicationReviewReason_ends_with: String + applicationReviewReason_ends_with_nocase: String + applicationReviewReason_not_ends_with: String + applicationReviewReason_not_ends_with_nocase: String + applicationReviewReason_: RawMetadata_filter + poolId: BigInt + poolId_not: BigInt + poolId_gt: BigInt + poolId_lt: BigInt + poolId_gte: BigInt + poolId_lte: BigInt + poolId_in: [BigInt!] + poolId_not_in: [BigInt!] + hatId: String + hatId_not: String + hatId_gt: String + hatId_lt: String + hatId_gte: String + hatId_lte: String + hatId_in: [String!] + hatId_not_in: [String!] + hatId_contains: String + hatId_contains_nocase: String + hatId_not_contains: String + hatId_not_contains_nocase: String + hatId_starts_with: String + hatId_starts_with_nocase: String + hatId_not_starts_with: String + hatId_not_starts_with_nocase: String + hatId_ends_with: String + hatId_ends_with_nocase: String + hatId_not_ends_with: String + hatId_not_ends_with_nocase: String + shipContractAddress: Bytes + shipContractAddress_not: Bytes + shipContractAddress_gt: Bytes + shipContractAddress_lt: Bytes + shipContractAddress_gte: Bytes + shipContractAddress_lte: Bytes + shipContractAddress_in: [Bytes!] + shipContractAddress_not_in: [Bytes!] + shipContractAddress_contains: Bytes + shipContractAddress_not_contains: Bytes + shipLaunched: Boolean + shipLaunched_not: Boolean + shipLaunched_in: [Boolean!] + shipLaunched_not_in: [Boolean!] + poolActive: Boolean + poolActive_not: Boolean + poolActive_in: [Boolean!] + poolActive_not_in: [Boolean!] + isAllocated: Boolean + isAllocated_not: Boolean + isAllocated_in: [Boolean!] + isAllocated_not_in: [Boolean!] + isDistributed: Boolean + isDistributed_not: Boolean + isDistributed_in: [Boolean!] + isDistributed_not_in: [Boolean!] + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [GrantShip_filter] + or: [GrantShip_filter] +} + +enum GrantShip_orderBy { + id + profileId + nonce + name + profileMetadata + profileMetadata__id + profileMetadata__protocol + profileMetadata__pointer + owner + anchor + blockNumber + blockTimestamp + transactionHash + status + poolFunded + balance + shipAllocation + totalAvailableFunds + totalRoundAmount + totalAllocated + totalDistributed + grants + alloProfileMembers + alloProfileMembers__id + shipApplicationBytesData + applicationSubmittedTime + isAwaitingApproval + hasSubmittedApplication + isApproved + approvedTime + isRejected + rejectedTime + applicationReviewReason + applicationReviewReason__id + applicationReviewReason__protocol + applicationReviewReason__pointer + poolId + hatId + shipContractAddress + shipLaunched + poolActive + isAllocated + isDistributed +} + +input Grant_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + projectId: String + projectId_not: String + projectId_gt: String + projectId_lt: String + projectId_gte: String + projectId_lte: String + projectId_in: [String!] + projectId_not_in: [String!] + projectId_contains: String + projectId_contains_nocase: String + projectId_not_contains: String + projectId_not_contains_nocase: String + projectId_starts_with: String + projectId_starts_with_nocase: String + projectId_not_starts_with: String + projectId_not_starts_with_nocase: String + projectId_ends_with: String + projectId_ends_with_nocase: String + projectId_not_ends_with: String + projectId_not_ends_with_nocase: String + projectId_: Project_filter + shipId: String + shipId_not: String + shipId_gt: String + shipId_lt: String + shipId_gte: String + shipId_lte: String + shipId_in: [String!] + shipId_not_in: [String!] + shipId_contains: String + shipId_contains_nocase: String + shipId_not_contains: String + shipId_not_contains_nocase: String + shipId_starts_with: String + shipId_starts_with_nocase: String + shipId_not_starts_with: String + shipId_not_starts_with_nocase: String + shipId_ends_with: String + shipId_ends_with_nocase: String + shipId_not_ends_with: String + shipId_not_ends_with_nocase: String + shipId_: GrantShip_filter + lastUpdated: BigInt + lastUpdated_not: BigInt + lastUpdated_gt: BigInt + lastUpdated_lt: BigInt + lastUpdated_gte: BigInt + lastUpdated_lte: BigInt + lastUpdated_in: [BigInt!] + lastUpdated_not_in: [BigInt!] + hasResubmitted: Boolean + hasResubmitted_not: Boolean + hasResubmitted_in: [Boolean!] + hasResubmitted_not_in: [Boolean!] + grantStatus: Int + grantStatus_not: Int + grantStatus_gt: Int + grantStatus_lt: Int + grantStatus_gte: Int + grantStatus_lte: Int + grantStatus_in: [Int!] + grantStatus_not_in: [Int!] + grantApplicationBytes: Bytes + grantApplicationBytes_not: Bytes + grantApplicationBytes_gt: Bytes + grantApplicationBytes_lt: Bytes + grantApplicationBytes_gte: Bytes + grantApplicationBytes_lte: Bytes + grantApplicationBytes_in: [Bytes!] + grantApplicationBytes_not_in: [Bytes!] + grantApplicationBytes_contains: Bytes + grantApplicationBytes_not_contains: Bytes + applicationSubmitted: BigInt + applicationSubmitted_not: BigInt + applicationSubmitted_gt: BigInt + applicationSubmitted_lt: BigInt + applicationSubmitted_gte: BigInt + applicationSubmitted_lte: BigInt + applicationSubmitted_in: [BigInt!] + applicationSubmitted_not_in: [BigInt!] + currentMilestoneIndex: BigInt + currentMilestoneIndex_not: BigInt + currentMilestoneIndex_gt: BigInt + currentMilestoneIndex_lt: BigInt + currentMilestoneIndex_gte: BigInt + currentMilestoneIndex_lte: BigInt + currentMilestoneIndex_in: [BigInt!] + currentMilestoneIndex_not_in: [BigInt!] + milestonesAmount: BigInt + milestonesAmount_not: BigInt + milestonesAmount_gt: BigInt + milestonesAmount_lt: BigInt + milestonesAmount_gte: BigInt + milestonesAmount_lte: BigInt + milestonesAmount_in: [BigInt!] + milestonesAmount_not_in: [BigInt!] + milestones: [String!] + milestones_not: [String!] + milestones_contains: [String!] + milestones_contains_nocase: [String!] + milestones_not_contains: [String!] + milestones_not_contains_nocase: [String!] + milestones_: Milestone_filter + shipApprovalReason: String + shipApprovalReason_not: String + shipApprovalReason_gt: String + shipApprovalReason_lt: String + shipApprovalReason_gte: String + shipApprovalReason_lte: String + shipApprovalReason_in: [String!] + shipApprovalReason_not_in: [String!] + shipApprovalReason_contains: String + shipApprovalReason_contains_nocase: String + shipApprovalReason_not_contains: String + shipApprovalReason_not_contains_nocase: String + shipApprovalReason_starts_with: String + shipApprovalReason_starts_with_nocase: String + shipApprovalReason_not_starts_with: String + shipApprovalReason_not_starts_with_nocase: String + shipApprovalReason_ends_with: String + shipApprovalReason_ends_with_nocase: String + shipApprovalReason_not_ends_with: String + shipApprovalReason_not_ends_with_nocase: String + shipApprovalReason_: RawMetadata_filter + hasShipApproved: Boolean + hasShipApproved_not: Boolean + hasShipApproved_in: [Boolean!] + hasShipApproved_not_in: [Boolean!] + amtAllocated: BigInt + amtAllocated_not: BigInt + amtAllocated_gt: BigInt + amtAllocated_lt: BigInt + amtAllocated_gte: BigInt + amtAllocated_lte: BigInt + amtAllocated_in: [BigInt!] + amtAllocated_not_in: [BigInt!] + amtDistributed: BigInt + amtDistributed_not: BigInt + amtDistributed_gt: BigInt + amtDistributed_lt: BigInt + amtDistributed_gte: BigInt + amtDistributed_lte: BigInt + amtDistributed_in: [BigInt!] + amtDistributed_not_in: [BigInt!] + allocatedBy: Bytes + allocatedBy_not: Bytes + allocatedBy_gt: Bytes + allocatedBy_lt: Bytes + allocatedBy_gte: Bytes + allocatedBy_lte: Bytes + allocatedBy_in: [Bytes!] + allocatedBy_not_in: [Bytes!] + allocatedBy_contains: Bytes + allocatedBy_not_contains: Bytes + facilitatorReason: String + facilitatorReason_not: String + facilitatorReason_gt: String + facilitatorReason_lt: String + facilitatorReason_gte: String + facilitatorReason_lte: String + facilitatorReason_in: [String!] + facilitatorReason_not_in: [String!] + facilitatorReason_contains: String + facilitatorReason_contains_nocase: String + facilitatorReason_not_contains: String + facilitatorReason_not_contains_nocase: String + facilitatorReason_starts_with: String + facilitatorReason_starts_with_nocase: String + facilitatorReason_not_starts_with: String + facilitatorReason_not_starts_with_nocase: String + facilitatorReason_ends_with: String + facilitatorReason_ends_with_nocase: String + facilitatorReason_not_ends_with: String + facilitatorReason_not_ends_with_nocase: String + facilitatorReason_: RawMetadata_filter + hasFacilitatorApproved: Boolean + hasFacilitatorApproved_not: Boolean + hasFacilitatorApproved_in: [Boolean!] + hasFacilitatorApproved_not_in: [Boolean!] + milestonesApproved: Boolean + milestonesApproved_not: Boolean + milestonesApproved_in: [Boolean!] + milestonesApproved_not_in: [Boolean!] + milestonesApprovedReason: String + milestonesApprovedReason_not: String + milestonesApprovedReason_gt: String + milestonesApprovedReason_lt: String + milestonesApprovedReason_gte: String + milestonesApprovedReason_lte: String + milestonesApprovedReason_in: [String!] + milestonesApprovedReason_not_in: [String!] + milestonesApprovedReason_contains: String + milestonesApprovedReason_contains_nocase: String + milestonesApprovedReason_not_contains: String + milestonesApprovedReason_not_contains_nocase: String + milestonesApprovedReason_starts_with: String + milestonesApprovedReason_starts_with_nocase: String + milestonesApprovedReason_not_starts_with: String + milestonesApprovedReason_not_starts_with_nocase: String + milestonesApprovedReason_ends_with: String + milestonesApprovedReason_ends_with_nocase: String + milestonesApprovedReason_not_ends_with: String + milestonesApprovedReason_not_ends_with_nocase: String + milestonesApprovedReason_: RawMetadata_filter + currentMilestoneRejectedReason: String + currentMilestoneRejectedReason_not: String + currentMilestoneRejectedReason_gt: String + currentMilestoneRejectedReason_lt: String + currentMilestoneRejectedReason_gte: String + currentMilestoneRejectedReason_lte: String + currentMilestoneRejectedReason_in: [String!] + currentMilestoneRejectedReason_not_in: [String!] + currentMilestoneRejectedReason_contains: String + currentMilestoneRejectedReason_contains_nocase: String + currentMilestoneRejectedReason_not_contains: String + currentMilestoneRejectedReason_not_contains_nocase: String + currentMilestoneRejectedReason_starts_with: String + currentMilestoneRejectedReason_starts_with_nocase: String + currentMilestoneRejectedReason_not_starts_with: String + currentMilestoneRejectedReason_not_starts_with_nocase: String + currentMilestoneRejectedReason_ends_with: String + currentMilestoneRejectedReason_ends_with_nocase: String + currentMilestoneRejectedReason_not_ends_with: String + currentMilestoneRejectedReason_not_ends_with_nocase: String + currentMilestoneRejectedReason_: RawMetadata_filter + resubmitHistory: [String!] + resubmitHistory_not: [String!] + resubmitHistory_contains: [String!] + resubmitHistory_contains_nocase: [String!] + resubmitHistory_not_contains: [String!] + resubmitHistory_not_contains_nocase: [String!] + resubmitHistory_: ApplicationHistory_filter + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [Grant_filter] + or: [Grant_filter] +} + +enum Grant_orderBy { + 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 +} + +""" +8 bytes signed integer + +""" +scalar Int8 + +type Log { + id: ID! + message: String! + description: String + type: String +} + +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] +} + +enum Log_orderBy { + id + message + description + type +} + +type Milestone { + id: ID! + amountPercentage: Bytes! + mmetadata: BigInt! + amount: BigInt! + status: Int! + lastUpdated: BigInt! +} + +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] +} + +enum Milestone_orderBy { + id + amountPercentage + mmetadata + amount + status + lastUpdated +} + +"""Defines the order direction, either ascending or descending""" +enum OrderDirection { + asc + desc +} + +type PoolIdLookup { + id: ID! + entityId: Bytes! +} + +input PoolIdLookup_filter { + id: ID + id_not: ID + id_gt: ID + id_lt: ID + id_gte: ID + id_lte: ID + id_in: [ID!] + id_not_in: [ID!] + entityId: Bytes + entityId_not: Bytes + entityId_gt: Bytes + entityId_lt: Bytes + entityId_gte: Bytes + entityId_lte: Bytes + entityId_in: [Bytes!] + entityId_not_in: [Bytes!] + entityId_contains: Bytes + entityId_not_contains: Bytes + """Filter for the block changed event.""" + _change_block: BlockChangedFilter + and: [PoolIdLookup_filter] + or: [PoolIdLookup_filter] +} + +enum PoolIdLookup_orderBy { + id + entityId +} + +type ProfileIdToAnchor { + id: ID! + profileId: Bytes! + anchor: Bytes! +} + +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! + 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! +} + +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] +} + +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: [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 +} + +""" +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 } -type Transaction { - id: ID! - blockNumber: BigInt! - sender: Bytes! - txHash: Bytes! +"""Initial value of the column from where the streaming should start""" +input event_sync_state_stream_cursor_value_input { + block_number: Int + block_timestamp: Int + chain_id: Int + log_index: Int + transaction_index: Int } -input 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] +scalar event_type + +""" +Boolean expression to compare columns of type "event_type". All fields are combined with logical 'AND'. +""" +input event_type_comparison_exp { + _eq: event_type + _gt: event_type + _gte: event_type + _in: [event_type!] + _is_null: Boolean + _lt: event_type + _lte: event_type + _neq: event_type + _nin: [event_type!] } -enum Transaction_orderBy { - id - blockNumber - sender - txHash +input get_entity_history_filter_args { + end_block: Int + end_chain_id: Int + end_log_index: Int + end_timestamp: Int + start_block: Int + start_chain_id: Int + start_log_index: Int + start_timestamp: Int } -type Update { - id: ID! - scope: Int! - posterRole: Int! - entityAddress: Bytes! - postedBy: Bytes! - content: RawMetadata! - contentSchema: Int! - postDecorator: Int! - timestamp: BigInt! +scalar json + +""" +Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. +""" +input json_comparison_exp { + _eq: json + _gt: json + _gte: json + _in: [json!] + _is_null: Boolean + _lt: json + _lte: json + _neq: json + _nin: [json!] } -input 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] +scalar numeric + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_array_comparison_exp { + """is the array contained in the given array value""" + _contained_in: [numeric!] + """does the array contain the given value""" + _contains: [numeric!] + _eq: [numeric!] + _gt: [numeric!] + _gte: [numeric!] + _in: [[numeric!]!] + _is_null: Boolean + _lt: [numeric!] + _lte: [numeric!] + _neq: [numeric!] + _nin: [[numeric!]!] } -enum Update_orderBy { +""" +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 - scope - posterRole - entityAddress - postedBy - content - content__id - content__protocol - content__pointer - contentSchema - postDecorator - timestamp + """column name""" + schema_hash } -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 +""" +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 } -"""The type for the top-level _meta field""" -type _Meta_ { - """ - Information about a specific subgraph block. The hash of the block - will be null if the _meta field has a block constraint that asks for - a block number. It will be filled if the _meta field has no block constraint - and therefore asks for the latest block - - """ - block: _Block_! - """The deployment ID""" - deployment: String! - """If `true`, the subgraph encountered indexing errors at some past block""" - hasIndexingErrors: Boolean! +"""Initial value of the column from where the streaming should start""" +input 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 } -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 +""" +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 +} + +"""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!] } \ No newline at end of file diff --git a/src/.graphclient/sources/grant-ships/introspectionSchema.ts b/src/.graphclient/sources/grant-ships/introspectionSchema.ts index aad21ffe..96897192 100644 --- a/src/.graphclient/sources/grant-ships/introspectionSchema.ts +++ b/src/.graphclient/sources/grant-ships/introspectionSchema.ts @@ -127,6 +127,32 @@ const schemaAST = { } ] }, + { + "kind": "EnumTypeDefinition", + "name": { + "kind": "Name", + "value": "Aggregation_interval" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "hour" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "name": { + "kind": "Name", + "value": "day" + }, + "directives": [] + } + ], + "directives": [] + }, { "kind": "ObjectTypeDefinition", "name": { @@ -35520,6 +35546,88 @@ const schemaAST = { "kind": "Name", "value": "rawMetadata" }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Block_height" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subgraphError" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_SubgraphErrorPolicy_" + } + } + }, + "defaultValue": { + "kind": "EnumValue", + "value": "deny" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RawMetadata" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "rawMetadata_collection" + }, "arguments": [ { "kind": "InputValueDefinition", @@ -40932,6 +41040,88 @@ const schemaAST = { "kind": "Name", "value": "rawMetadata" }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ID" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.", + "block": true + }, + "name": { + "kind": "Name", + "value": "block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Block_height" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Set to `allow` to receive data even if the subgraph has skipped over errors while syncing.", + "block": true + }, + "name": { + "kind": "Name", + "value": "subgraphError" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "_SubgraphErrorPolicy_" + } + } + }, + "defaultValue": { + "kind": "EnumValue", + "value": "deny" + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "RawMetadata" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "rawMetadata_collection" + }, "arguments": [ { "kind": "InputValueDefinition", @@ -41837,6 +42027,19 @@ const schemaAST = { "interfaces": [], "directives": [] }, + { + "kind": "ScalarTypeDefinition", + "description": { + "kind": "StringValue", + "value": "A string representation of microseconds UNIX timestamp (16 digits)\n", + "block": true + }, + "name": { + "kind": "Name", + "value": "Timestamp" + }, + "directives": [] + }, { "kind": "ObjectTypeDefinition", "name": { @@ -44489,6 +44692,27 @@ const schemaAST = { } }, "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "The hash of the parent block", + "block": true + }, + "name": { + "kind": "Name", + "value": "parentHash" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Bytes" + } + }, + "directives": [] } ], "interfaces": [], diff --git a/src/.graphclient/sources/grant-ships/schema.graphql b/src/.graphclient/sources/grant-ships/schema.graphql index 135cb79c..523d8320 100644 --- a/src/.graphclient/sources/grant-ships/schema.graphql +++ b/src/.graphclient/sources/grant-ships/schema.graphql @@ -12,6 +12,11 @@ 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 +enum Aggregation_interval { + hour + day +} + type ApplicationHistory { id: ID! grantApplicationBytes: Bytes! @@ -2589,6 +2594,17 @@ type Query { subgraphError: _SubgraphErrorPolicy_! = deny ): [Transaction!]! rawMetadata( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): RawMetadata + rawMetadata_collection( skip: Int = 0 first: Int = 100 orderBy: RawMetadata_orderBy @@ -3144,6 +3160,17 @@ type Subscription { subgraphError: _SubgraphErrorPolicy_! = deny ): [Transaction!]! rawMetadata( + id: ID! + """ + The block at which the query should be executed. Can either be a `{ hash: Bytes }` value containing a block hash, a `{ number: Int }` containing the block number, or a `{ number_gte: Int }` containing the minimum block number. In the case of `number_gte`, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted. + """ + block: Block_height + """ + Set to `allow` to receive data even if the subgraph has skipped over errors while syncing. + """ + subgraphError: _SubgraphErrorPolicy_! = deny + ): RawMetadata + rawMetadata_collection( skip: Int = 0 first: Int = 100 orderBy: RawMetadata_orderBy @@ -3240,6 +3267,12 @@ type Subscription { _meta(block: Block_height): _Meta_ } +""" +A string representation of microseconds UNIX timestamp (16 digits) + +""" +scalar Timestamp + type Transaction { id: ID! blockNumber: BigInt! @@ -3427,6 +3460,8 @@ type _Block_ { 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""" diff --git a/src/.graphclient/sources/grant-ships/types.ts b/src/.graphclient/sources/grant-ships/types.ts index f8ebde0e..848b4943 100644 --- a/src/.graphclient/sources/grant-ships/types.ts +++ b/src/.graphclient/sources/grant-ships/types.ts @@ -20,8 +20,13 @@ export type Scalars = { BigInt: any; Bytes: any; Int8: any; + Timestamp: any; }; +export type Aggregation_interval = + | 'hour' + | 'day'; + export type ApplicationHistory = { id: Scalars['ID']; grantApplicationBytes: Scalars['Bytes']; @@ -2254,7 +2259,8 @@ export type Query = { profileMemberGroups: Array; transaction?: Maybe; transactions: Array; - rawMetadata: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; log?: Maybe; logs: Array; gmVersion?: Maybe; @@ -2537,6 +2543,13 @@ export type QuerytransactionsArgs = { export type QueryrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type QueryrawMetadata_collectionArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -2702,7 +2715,8 @@ export type Subscription = { profileMemberGroups: Array; transaction?: Maybe; transactions: Array; - rawMetadata: Array; + rawMetadata?: Maybe; + rawMetadata_collection: Array; log?: Maybe; logs: Array; gmVersion?: Maybe; @@ -2985,6 +2999,13 @@ export type SubscriptiontransactionsArgs = { export type SubscriptionrawMetadataArgs = { + id: Scalars['ID']; + block?: InputMaybe; + subgraphError?: _SubgraphErrorPolicy_; +}; + + +export type SubscriptionrawMetadata_collectionArgs = { skip?: InputMaybe; first?: InputMaybe; orderBy?: InputMaybe; @@ -3238,6 +3259,8 @@ export type _Block_ = { 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 */ @@ -3326,6 +3349,8 @@ export type _SubgraphErrorPolicy_ = /** null **/ rawMetadata: InContextSdkMethod, /** null **/ + rawMetadata_collection: InContextSdkMethod, + /** null **/ log: InContextSdkMethod, /** null **/ logs: InContextSdkMethod, @@ -3409,6 +3434,8 @@ export type _SubgraphErrorPolicy_ = /** null **/ rawMetadata: InContextSdkMethod, /** null **/ + rawMetadata_collection: InContextSdkMethod, + /** null **/ log: InContextSdkMethod, /** null **/ logs: InContextSdkMethod, diff --git a/src/.graphclient/sources/gs-voting/introspectionSchema.ts b/src/.graphclient/sources/gs-voting/introspectionSchema.ts new file mode 100644 index 00000000..c1324acc --- /dev/null +++ b/src/.graphclient/sources/gs-voting/introspectionSchema.ts @@ -0,0 +1,39407 @@ +// @ts-nocheck +import { buildASTSchema } from 'graphql'; + +const schemaAST = { + "kind": "Document", + "definitions": [ + { + "kind": "SchemaDefinition", + "operationTypes": [ + { + "kind": "OperationTypeDefinition", + "operation": "query", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "query_root" + } + } + }, + { + "kind": "OperationTypeDefinition", + "operation": "subscription", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "subscription_root" + } + } + } + ], + "directives": [] + }, + { + "kind": "DirectiveDefinition", + "description": { + "kind": "StringValue", + "value": "whether this query should be cached (Hasura Cloud only)" + }, + "name": { + "kind": "Name", + "value": "cached" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "measured in seconds", + "block": true + }, + "name": { + "kind": "Name", + "value": "ttl" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "defaultValue": { + "kind": "IntValue", + "value": "60" + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "refresh the cache entry", + "block": true + }, + "name": { + "kind": "Name", + "value": "refresh" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "defaultValue": { + "kind": "BooleanValue", + "value": false + }, + "directives": [] + } + ], + "repeatable": false, + "locations": [ + { + "kind": "Name", + "value": "QUERY" + } + ] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"Boolean\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + } + }, + "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": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "choicesModule" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "choicesModule_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestStatus" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "executionModule" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "executionModule_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "isContinuous" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "isRetractable" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "pointsModule" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "pointsModule_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "votesModule" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "votesModule_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ContestClone\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ContestClone\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "filterTag" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ContestTemplate\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ContestTemplate\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "active" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"Contest\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choicesModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choicesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestStatus" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "executionModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "executionModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isContinuous" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRetractable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pointsModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pointsModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votesModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"Contest\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choicesModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choicesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestStatus" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "executionModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "executionModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isContinuous" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRetractable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pointsModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pointsModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votesModule" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "choicesModule_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestStatus" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "executionModule_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "filterTag" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "isContinuous" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "isRetractable" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "pointsModule_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "votesModule_id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choicesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestStatus" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestVersion" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "executionModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isContinuous" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRetractable" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "pointsModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votesModule_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ERCPointParams\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ERCPointParams\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "blockNumber" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "srcAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "txHash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "txOrigin" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"EnvioTX\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "blockNumber" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "srcAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txHash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txOrigin" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"EnvioTX\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "blockNumber" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "srcAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txHash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txOrigin" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "blockNumber" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "srcAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "txHash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "txOrigin" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "blockNumber" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "srcAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txHash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "txOrigin" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by aggregate values of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_aggregate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "avg" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_avg_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "count" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "max" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_max_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "min" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_min_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_stddev_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_stddev_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_stddev_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sum" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_sum_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_var_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_var_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "variance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_variance_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by avg() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_avg_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"EventPost\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by max() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_max_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by min() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_min_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"EventPost\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatId" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "tag" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stddev_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_pop() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stddev_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_samp() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stddev_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by sum() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_sum_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_pop() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_var_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_samp() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_var_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by variance() on columns of table \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_variance_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "admins" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestBuiltCount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestCloneCount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestTemplateCount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleCloneCount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplateCount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"FactoryEventsSummary\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "admins" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_array_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestBuiltCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"FactoryEventsSummary\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "admins" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestBuiltCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "address" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "admins" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestBuiltCount" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestCloneCount" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestTemplateCount" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleCloneCount" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleTemplateCount" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "admins" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestBuiltCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleCloneCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplateCount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "choices" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "endTime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "startTime" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "votes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"GrantShipsVoting\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choices" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "endTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "startTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"GrantShipsVoting\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choices_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_aggregate_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "endTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "startTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votes_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_aggregate_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "endTime" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatId" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "startTime" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "endTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isVotingActive" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "startTime" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "totalVotes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTokenAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votingCheckpoint" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"HALParams\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"HALParams\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatId" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "eventPosts" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatIds" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "record" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"HatsPoster\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "eventPosts" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatIds" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_array_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "record" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"HatsPoster\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "eventPosts_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_aggregate_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatIds" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "record_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_aggregate_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatIds" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatIds" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"Int\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + } + }, + "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": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "message" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"LocalLog\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"LocalLog\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "message" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "message" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "templateAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ModuleTemplate\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "templateAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ModuleTemplate\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "templateAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "active" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleName" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "templateAddress" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "templateAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by aggregate values of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_aggregate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "avg" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_avg_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "count" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "max" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_max_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "min" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_min_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_stddev_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_stddev_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_stddev_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sum" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_sum_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_var_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_var_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "variance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_variance_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by avg() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_avg_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"Record\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by max() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_max_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by min() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_min_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"Record\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatId" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "nonce" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "tag" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stddev_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_pop() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stddev_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_samp() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stddev_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatsPoster_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "nonce" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "tag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by sum() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_sum_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_pop() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_var_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_samp() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_var_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by variance() on columns of table \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_variance_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "hatId" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "votes" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by aggregate values of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_aggregate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "avg" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_avg_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "count" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "max" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_max_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "min" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_min_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sum" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_sum_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_var_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_var_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "variance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_variance_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by avg() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_avg_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ShipChoice\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votes" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by max() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_max_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by min() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_min_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ShipChoice\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "votes_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_aggregate_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "active" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "choiceData" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voteTally" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_pop() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_samp() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stddev_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "active" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choiceData" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by sum() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_sum_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_pop() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_var_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_samp() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_var_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by variance() on columns of table \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_variance_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteTally" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "choice" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "isRectractVote" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by aggregate values of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_aggregate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "avg" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_avg_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "count" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "max" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_max_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "min" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_min_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_stddev_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_stddev_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_stddev_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sum" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_sum_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_var_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_var_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "variance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_variance_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by avg() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_avg_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"ShipVote\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRectractVote" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by max() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_max_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by min() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_min_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"ShipVote\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRectractVote" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "amount" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "choice_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "isRectractVote" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voter" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stddev_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_pop() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stddev_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_samp() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stddev_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "choice_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "isRectractVote" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdPointer" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voter" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by sum() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_sum_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_pop() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_var_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_samp() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_var_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by variance() on columns of table \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_variance_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "amount" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "mdProtocol" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleAddress" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleTemplate" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"StemModule\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"StemModule\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contest_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "filterTag" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleAddress" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleName" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "moduleTemplate_id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contestAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contest_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "filterTag" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleAddress" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleName" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "moduleTemplate_id" + }, + "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_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": "String" + } + } + } + }, + "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": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "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": "String" + } + } + } + } + } + }, + "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": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "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": "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", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "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", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given POSIX regular expression, case insensitive", + "block": true + }, + "name": { + "kind": "Name", + "value": "_niregex" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given pattern", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nlike" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given POSIX regular expression, case sensitive", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nregex" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column NOT match the given SQL regular expression", + "block": true + }, + "name": { + "kind": "Name", + "value": "_nsimilar" + }, + "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 sensitive", + "block": true + }, + "name": { + "kind": "Name", + "value": "_regex" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "does the column match the given SQL regular expression", + "block": true + }, + "name": { + "kind": "Name", + "value": "_similar" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"TVParams\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"TVParams\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "voteDuration" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_height" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "end_block" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "first_event_block_number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "is_hyper_sync" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "latest_fetched_block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "latest_processed_block" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "num_batches_fetched" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "num_events_processed" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "start_block" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "timestamp_caught_up_to_head_or_endblock" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"chain_metadata\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_height" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "first_event_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "is_hyper_sync" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_fetched_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_processed_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_batches_fetched" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_events_processed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "timestamp_caught_up_to_head_or_endblock" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"chain_metadata\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_height" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "first_event_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "is_hyper_sync" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_fetched_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_processed_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_batches_fetched" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_events_processed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "timestamp_caught_up_to_head_or_endblock" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_height" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "end_block" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "first_event_block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "is_hyper_sync" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "latest_fetched_block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "latest_processed_block" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "num_batches_fetched" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "num_events_processed" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "start_block" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "timestamp_caught_up_to_head_or_endblock" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_height" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "first_event_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "is_hyper_sync" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Boolean" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_fetched_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "latest_processed_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_batches_fetched" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "num_events_processed" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "timestamp_caught_up_to_head_or_endblock" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "contract_type" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"contract_type\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "contract_type_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + } + } + }, + "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": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "ordering argument of a cursor", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor_ordering" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "ascending ordering of the cursor", + "block": true + }, + "name": { + "kind": "Name", + "value": "ASC" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "descending ordering of the cursor", + "block": true + }, + "name": { + "kind": "Name", + "value": "DESC" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "contract_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"dynamic_contract_registry\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"dynamic_contract_registry\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contract_address" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "contract_type" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_id" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "contract_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "event" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "JSON select path", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by aggregate values of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_aggregate_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "avg" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_avg_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "count" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "max" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_max_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "min" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_min_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_stddev_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_stddev_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "stddev_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_stddev_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "sum" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_sum_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_pop" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_var_pop_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "var_samp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_var_samp_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "variance" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_variance_order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by avg() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_avg_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"entity_history\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An object relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "event" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "new_val" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "JSON select path", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "old_val" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "JSON select path", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"entity_history_filter\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "new_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "old_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"entity_history_filter\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "new_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "old_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "log_index" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "new_val" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "old_val" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "new_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "old_val" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by max() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_max_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by min() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_min_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"entity_history\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "log_index" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "params" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stddev_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_pop() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stddev_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by stddev_samp() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stddev_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by sum() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_sum_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_pop() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_var_pop_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by var_samp() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_var_samp_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "order by variance() on columns of table \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_variance_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"entity_type\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_type_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + } + }, + "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": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"event_sync_state\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"event_sync_state\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "log_index" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "event_type" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"event_type\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_type_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + } + } + }, + "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": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "get_entity_history_filter_args" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "end_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_block" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "start_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "json" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"json\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "json_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + } + } + }, + "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": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + } + } + }, + "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_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": { + "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": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "column ordering options", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in ascending order, nulls last", + "block": true + }, + "name": { + "kind": "Name", + "value": "asc" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in ascending order, nulls first", + "block": true + }, + "name": { + "kind": "Name", + "value": "asc_nulls_first" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in ascending order, nulls last", + "block": true + }, + "name": { + "kind": "Name", + "value": "asc_nulls_last" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in descending order, nulls first", + "block": true + }, + "name": { + "kind": "Name", + "value": "desc" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in descending order, nulls first", + "block": true + }, + "name": { + "kind": "Name", + "value": "desc_nulls_first" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "in descending order, nulls last", + "block": true + }, + "name": { + "kind": "Name", + "value": "desc_nulls_last" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "abi_files_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "config_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "envio_version" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "handler_files_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "schema_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"persisted_state\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "abi_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "config_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "envio_version" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "handler_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "schema_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"persisted_state\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "abi_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "config_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "envio_version" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "handler_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "schema_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "abi_files_hash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "config_hash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "envio_version" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "handler_files_hash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "schema_hash" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "abi_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "config_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "envio_version" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "handler_files_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "schema_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "query_root" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestClone\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EnvioTX\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EventPost\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"GrantShipsVoting\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HALParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HatsPoster\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"LocalLog\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ModuleTemplate\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Record\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipChoice\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipVote\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"StemModule\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"TVParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"chain_metadata\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"dynamic_contract_registry\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history_filter\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"event_sync_state\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "This function helps search for articles", + "block": true + }, + "name": { + "kind": "Name", + "value": "get_entity_history_filter" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "input parameters for function \"get_entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "args" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "get_entity_history_filter_args" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"persisted_state\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"raw_events\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "columns and relationships of \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events" + }, + "fields": [ + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "arguments": [], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "An array relationship", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_history" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "event_type" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "JSON select path", + "block": true + }, + "name": { + "kind": "Name", + "value": "path" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "src_address" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "transaction_hash" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "arguments": [], + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to filter rows from the table \"raw_events\". All fields are combined with a logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_and" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_not" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_or" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_history" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "src_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String_comparison_exp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int_comparison_exp" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Ordering options when selecting data from \"raw_events\".", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_order_by" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_history_aggregate" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_aggregate_order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "src_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "order_by" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "EnumTypeDefinition", + "description": { + "kind": "StringValue", + "value": "select columns of table \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_select_column" + }, + "values": [ + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_hash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_number" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_id" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_type" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "log_index" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "params" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "src_address" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "transaction_hash" + }, + "directives": [] + }, + { + "kind": "EnumValueDefinition", + "description": { + "kind": "StringValue", + "value": "column name", + "block": true + }, + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Streaming cursor of the table \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_stream_cursor_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "Stream column input with initial value", + "block": true + }, + "name": { + "kind": "Name", + "value": "initial_value" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_stream_cursor_value_input" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor ordering", + "block": true + }, + "name": { + "kind": "Name", + "value": "ordering" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "cursor_ordering" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Initial value of the column from where the streaming should start", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_stream_cursor_value_input" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "db_write_timestamp" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_type" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_type" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "params" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "json" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "src_address" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_hash" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "transaction_index" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ObjectTypeDefinition", + "name": { + "kind": "Name", + "value": "subscription_root" + }, + "fields": [ + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestClone\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ContestClone\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestClone_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestClone" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ContestTemplate\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ContestTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ContestTemplate_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ContestTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Contest\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"Contest\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Contest_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Contest" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ERCPointParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ERCPointParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ERCPointParams_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ERCPointParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EnvioTX\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"EnvioTX\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EnvioTX_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EnvioTX" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"EventPost\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"EventPost\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "EventPost_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "EventPost" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"FactoryEventsSummary\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"FactoryEventsSummary\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "FactoryEventsSummary" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"GrantShipsVoting\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"GrantShipsVoting\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "GrantShipsVoting_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "GrantShipsVoting" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HALParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"HALParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HALParams_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HALParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"HatsPoster\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"HatsPoster\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "HatsPoster_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "HatsPoster" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"LocalLog\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"LocalLog\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "LocalLog_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "LocalLog" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ModuleTemplate\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ModuleTemplate\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ModuleTemplate_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ModuleTemplate" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"Record\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"Record\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "Record_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Record" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipChoice\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ShipChoice\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipChoice_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipChoice" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"ShipVote\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"ShipVote\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "ShipVote_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "ShipVote" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"StemModule\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"StemModule\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "StemModule_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "StemModule" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"TVParams\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"TVParams\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "TVParams_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "TVParams" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"chain_metadata\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"chain_metadata\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "chain_metadata_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "chain_metadata" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"dynamic_contract_registry\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "contract_address" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"dynamic_contract_registry\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "dynamic_contract_registry" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_timestamp" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_type" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_type" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"entity_history_filter\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "entity_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "String" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_block_number" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "previous_log_index" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_filter_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"entity_history\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "entity_history_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"event_sync_state\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"event_sync_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "event_sync_state_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "event_sync_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "This function helps search for articles", + "block": true + }, + "name": { + "kind": "Name", + "value": "get_entity_history_filter" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "input parameters for function \"get_entity_history_filter\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "args" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "get_entity_history_filter_args" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "entity_history_filter" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"persisted_state\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"persisted_state\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "persisted_state_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "persisted_state" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "distinct select on columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "distinct_on" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_select_column" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "limit the number of rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "limit" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "skip the first n rows. Use only with order_by", + "block": true + }, + "name": { + "kind": "Name", + "value": "offset" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "sort the rows by one or more columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "order_by" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_order_by" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + } + } + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table: \"raw_events\" using primary key columns", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_by_pk" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "chain_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "event_id" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "numeric" + } + } + }, + "directives": [] + } + ], + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + }, + "directives": [] + }, + { + "kind": "FieldDefinition", + "description": { + "kind": "StringValue", + "value": "fetch data from the table in a streaming manner: \"raw_events\"", + "block": true + }, + "name": { + "kind": "Name", + "value": "raw_events_stream" + }, + "arguments": [ + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "maximum number of rows returned in a single batch", + "block": true + }, + "name": { + "kind": "Name", + "value": "batch_size" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "Int" + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "cursor to stream the results returned by the query", + "block": true + }, + "name": { + "kind": "Name", + "value": "cursor" + }, + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_stream_cursor_input" + } + } + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "description": { + "kind": "StringValue", + "value": "filter the rows returned", + "block": true + }, + "name": { + "kind": "Name", + "value": "where" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events_bool_exp" + } + }, + "directives": [] + } + ], + "type": { + "kind": "NonNullType", + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "raw_events" + } + } + } + } + }, + "directives": [] + } + ], + "interfaces": [], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "timestamp" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"timestamp\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "timestamp_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + } + } + }, + "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": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamp" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + }, + { + "kind": "ScalarTypeDefinition", + "name": { + "kind": "Name", + "value": "timestamptz" + }, + "directives": [] + }, + { + "kind": "InputObjectTypeDefinition", + "description": { + "kind": "StringValue", + "value": "Boolean expression to compare columns of type \"timestamptz\". All fields are combined with logical 'AND'.", + "block": true + }, + "name": { + "kind": "Name", + "value": "timestamptz_comparison_exp" + }, + "fields": [ + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_eq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gt" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_gte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_in" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + } + } + }, + "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": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_lte" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_neq" + }, + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + }, + "directives": [] + }, + { + "kind": "InputValueDefinition", + "name": { + "kind": "Name", + "value": "_nin" + }, + "type": { + "kind": "ListType", + "type": { + "kind": "NonNullType", + "type": { + "kind": "NamedType", + "name": { + "kind": "Name", + "value": "timestamptz" + } + } + } + }, + "directives": [] + } + ], + "directives": [] + } + ] +}; + +export default buildASTSchema(schemaAST, { + assumeValid: true, + assumeValidSDL: true +}); \ No newline at end of file diff --git a/src/.graphclient/sources/gs-voting/schema.graphql b/src/.graphclient/sources/gs-voting/schema.graphql new file mode 100644 index 00000000..2d23e52e --- /dev/null +++ b/src/.graphclient/sources/gs-voting/schema.graphql @@ -0,0 +1,4160 @@ +schema { + query: query_root + subscription: subscription_root +} + +"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 + +""" +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 +} + +""" +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_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'. +""" +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 +} + +type query_root { + """ + 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 +} + +""" +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 +} + +"""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 +} + +type subscription_root { + """ + 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""" + 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 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!]! +} + +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!] +} \ No newline at end of file diff --git a/src/.graphclient/sources/gs-voting/types.ts b/src/.graphclient/sources/gs-voting/types.ts new file mode 100644 index 00000000..37d13cea --- /dev/null +++ b/src/.graphclient/sources/gs-voting/types.ts @@ -0,0 +1,4060 @@ +// @ts-nocheck + +import { InContextSdkMethod } from '@graphql-mesh/types'; +import { MeshContext } from '@graphql-mesh/runtime'; + +export namespace GsVotingTypes { + export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + contract_type: any; + entity_type: any; + event_type: any; + json: any; + numeric: any; + timestamp: any; + timestamptz: any; +}; + +/** 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; +}; + +/** 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; +}; + +/** 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_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; + _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; +}; + +export type query_root = { + /** fetch data from the table: "Contest" */ + Contest: Array; + /** fetch data from the table: "ContestClone" */ + ContestClone: Array; + /** fetch data from the table: "ContestClone" using primary key columns */ + ContestClone_by_pk?: Maybe; + /** fetch data from the table: "ContestTemplate" */ + ContestTemplate: Array; + /** fetch data from the table: "ContestTemplate" using primary key columns */ + ContestTemplate_by_pk?: Maybe; + /** fetch data from the table: "Contest" using primary key columns */ + Contest_by_pk?: Maybe; + /** fetch data from the table: "ERCPointParams" */ + ERCPointParams: Array; + /** fetch data from the table: "ERCPointParams" using primary key columns */ + ERCPointParams_by_pk?: Maybe; + /** fetch data from the table: "EnvioTX" */ + EnvioTX: Array; + /** fetch data from the table: "EnvioTX" using primary key columns */ + EnvioTX_by_pk?: Maybe; + /** fetch data from the table: "EventPost" */ + EventPost: Array; + /** fetch data from the table: "EventPost" using primary key columns */ + EventPost_by_pk?: Maybe; + /** fetch data from the table: "FactoryEventsSummary" */ + FactoryEventsSummary: Array; + /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ + FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table: "GrantShipsVoting" */ + GrantShipsVoting: Array; + /** fetch data from the table: "GrantShipsVoting" using primary key columns */ + GrantShipsVoting_by_pk?: Maybe; + /** fetch data from the table: "HALParams" */ + HALParams: Array; + /** fetch data from the table: "HALParams" using primary key columns */ + HALParams_by_pk?: Maybe; + /** fetch data from the table: "HatsPoster" */ + HatsPoster: Array; + /** fetch data from the table: "HatsPoster" using primary key columns */ + HatsPoster_by_pk?: Maybe; + /** fetch data from the table: "LocalLog" */ + LocalLog: Array; + /** fetch data from the table: "LocalLog" using primary key columns */ + LocalLog_by_pk?: Maybe; + /** fetch data from the table: "ModuleTemplate" */ + ModuleTemplate: Array; + /** fetch data from the table: "ModuleTemplate" using primary key columns */ + ModuleTemplate_by_pk?: Maybe; + /** fetch data from the table: "Record" */ + Record: Array; + /** fetch data from the table: "Record" using primary key columns */ + Record_by_pk?: Maybe; + /** fetch data from the table: "ShipChoice" */ + ShipChoice: Array; + /** fetch data from the table: "ShipChoice" using primary key columns */ + ShipChoice_by_pk?: Maybe; + /** fetch data from the table: "ShipVote" */ + ShipVote: Array; + /** fetch data from the table: "ShipVote" using primary key columns */ + ShipVote_by_pk?: Maybe; + /** fetch data from the table: "StemModule" */ + StemModule: Array; + /** fetch data from the table: "StemModule" using primary key columns */ + StemModule_by_pk?: Maybe; + /** fetch data from the table: "TVParams" */ + TVParams: Array; + /** fetch data from the table: "TVParams" using primary key columns */ + TVParams_by_pk?: Maybe; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: Array; + /** fetch data from the table: "chain_metadata" using primary key columns */ + chain_metadata_by_pk?: Maybe; + /** fetch data from the table: "dynamic_contract_registry" */ + dynamic_contract_registry: Array; + /** fetch data from the table: "dynamic_contract_registry" using primary key columns */ + dynamic_contract_registry_by_pk?: Maybe; + /** fetch data from the table: "entity_history" */ + entity_history: Array; + /** fetch data from the table: "entity_history" using primary key columns */ + entity_history_by_pk?: Maybe; + /** fetch data from the table: "entity_history_filter" */ + entity_history_filter: Array; + /** fetch data from the table: "entity_history_filter" using primary key columns */ + entity_history_filter_by_pk?: Maybe; + /** fetch data from the table: "event_sync_state" */ + event_sync_state: Array; + /** fetch data from the table: "event_sync_state" using primary key columns */ + event_sync_state_by_pk?: Maybe; + /** This function helps search for articles */ + get_entity_history_filter: Array; + /** fetch data from the table: "persisted_state" */ + persisted_state: Array; + /** fetch data from the table: "persisted_state" using primary key columns */ + persisted_state_by_pk?: Maybe; + /** fetch data from the table: "raw_events" */ + raw_events: Array; + /** fetch data from the table: "raw_events" using primary key columns */ + raw_events_by_pk?: Maybe; +}; + + +export type query_rootContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootContestClone_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootContestTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootContest_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootERCPointParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootEnvioTX_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootEventPost_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootHALParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootHatsPoster_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootLocalLog_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootModuleTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootRecord_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootShipChoice_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootShipVote_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootStemModule_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootTVParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type query_rootchain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootchain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type query_rootdynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootdynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; +}; + + +export type query_rootentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootentity_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 query_rootentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootentity_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 query_rootevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type query_rootget_entity_history_filterArgs = { + args: get_entity_history_filter_args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootpersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootpersisted_state_by_pkArgs = { + id: Scalars['Int']; +}; + + +export type query_rootraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type query_rootraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; +}; + +/** 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; +}; + +export type subscription_root = { + /** fetch data from the table: "Contest" */ + Contest: Array; + /** fetch data from the table: "ContestClone" */ + ContestClone: Array; + /** fetch data from the table: "ContestClone" using primary key columns */ + ContestClone_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ContestClone" */ + ContestClone_stream: Array; + /** fetch data from the table: "ContestTemplate" */ + ContestTemplate: Array; + /** fetch data from the table: "ContestTemplate" using primary key columns */ + ContestTemplate_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ContestTemplate" */ + ContestTemplate_stream: Array; + /** fetch data from the table: "Contest" using primary key columns */ + Contest_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Contest" */ + Contest_stream: Array; + /** fetch data from the table: "ERCPointParams" */ + ERCPointParams: Array; + /** fetch data from the table: "ERCPointParams" using primary key columns */ + ERCPointParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ERCPointParams" */ + ERCPointParams_stream: Array; + /** fetch data from the table: "EnvioTX" */ + EnvioTX: Array; + /** fetch data from the table: "EnvioTX" using primary key columns */ + EnvioTX_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "EnvioTX" */ + EnvioTX_stream: Array; + /** fetch data from the table: "EventPost" */ + EventPost: Array; + /** fetch data from the table: "EventPost" using primary key columns */ + EventPost_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "EventPost" */ + EventPost_stream: Array; + /** fetch data from the table: "FactoryEventsSummary" */ + FactoryEventsSummary: Array; + /** fetch data from the table: "FactoryEventsSummary" using primary key columns */ + FactoryEventsSummary_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "FactoryEventsSummary" */ + FactoryEventsSummary_stream: Array; + /** fetch data from the table: "GrantShipsVoting" */ + GrantShipsVoting: Array; + /** fetch data from the table: "GrantShipsVoting" using primary key columns */ + GrantShipsVoting_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "GrantShipsVoting" */ + GrantShipsVoting_stream: Array; + /** fetch data from the table: "HALParams" */ + HALParams: Array; + /** fetch data from the table: "HALParams" using primary key columns */ + HALParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "HALParams" */ + HALParams_stream: Array; + /** fetch data from the table: "HatsPoster" */ + HatsPoster: Array; + /** fetch data from the table: "HatsPoster" using primary key columns */ + HatsPoster_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "HatsPoster" */ + HatsPoster_stream: Array; + /** fetch data from the table: "LocalLog" */ + LocalLog: Array; + /** fetch data from the table: "LocalLog" using primary key columns */ + LocalLog_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LocalLog" */ + LocalLog_stream: Array; + /** fetch data from the table: "ModuleTemplate" */ + ModuleTemplate: Array; + /** fetch data from the table: "ModuleTemplate" using primary key columns */ + ModuleTemplate_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ModuleTemplate" */ + ModuleTemplate_stream: Array; + /** fetch data from the table: "Record" */ + Record: Array; + /** fetch data from the table: "Record" using primary key columns */ + Record_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Record" */ + Record_stream: Array; + /** fetch data from the table: "ShipChoice" */ + ShipChoice: Array; + /** fetch data from the table: "ShipChoice" using primary key columns */ + ShipChoice_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ShipChoice" */ + ShipChoice_stream: Array; + /** fetch data from the table: "ShipVote" */ + ShipVote: Array; + /** fetch data from the table: "ShipVote" using primary key columns */ + ShipVote_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ShipVote" */ + ShipVote_stream: Array; + /** fetch data from the table: "StemModule" */ + StemModule: Array; + /** fetch data from the table: "StemModule" using primary key columns */ + StemModule_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "StemModule" */ + StemModule_stream: Array; + /** fetch data from the table: "TVParams" */ + TVParams: Array; + /** fetch data from the table: "TVParams" using primary key columns */ + TVParams_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "TVParams" */ + TVParams_stream: Array; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: Array; + /** fetch data from the table: "chain_metadata" using primary key columns */ + chain_metadata_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "chain_metadata" */ + chain_metadata_stream: Array; + /** fetch data from the table: "dynamic_contract_registry" */ + dynamic_contract_registry: Array; + /** fetch data from the table: "dynamic_contract_registry" using primary key columns */ + dynamic_contract_registry_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "dynamic_contract_registry" */ + dynamic_contract_registry_stream: Array; + /** fetch data from the table: "entity_history" */ + entity_history: Array; + /** fetch data from the table: "entity_history" using primary key columns */ + entity_history_by_pk?: Maybe; + /** fetch data from the table: "entity_history_filter" */ + entity_history_filter: Array; + /** fetch data from the table: "entity_history_filter" using primary key columns */ + entity_history_filter_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "entity_history_filter" */ + entity_history_filter_stream: Array; + /** fetch data from the table in a streaming manner: "entity_history" */ + entity_history_stream: Array; + /** fetch data from the table: "event_sync_state" */ + event_sync_state: Array; + /** fetch data from the table: "event_sync_state" using primary key columns */ + event_sync_state_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "event_sync_state" */ + event_sync_state_stream: Array; + /** This function helps search for articles */ + get_entity_history_filter: Array; + /** fetch data from the table: "persisted_state" */ + persisted_state: Array; + /** fetch data from the table: "persisted_state" using primary key columns */ + persisted_state_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "persisted_state" */ + persisted_state_stream: Array; + /** fetch data from the table: "raw_events" */ + raw_events: Array; + /** fetch data from the table: "raw_events" using primary key columns */ + raw_events_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "raw_events" */ + raw_events_stream: Array; +}; + + +export type subscription_rootContestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootContestCloneArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootContestClone_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootContestClone_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootContestTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootContestTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootContestTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootContest_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootContest_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootERCPointParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootERCPointParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootERCPointParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootEnvioTXArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootEnvioTX_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootEnvioTX_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootEventPostArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootEventPost_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootEventPost_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootFactoryEventsSummaryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootFactoryEventsSummary_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootFactoryEventsSummary_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootGrantShipsVotingArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootGrantShipsVoting_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootGrantShipsVoting_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootHALParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootHALParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootHALParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootHatsPosterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootHatsPoster_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootHatsPoster_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootLocalLogArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootLocalLog_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootLocalLog_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootModuleTemplateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootModuleTemplate_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootModuleTemplate_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootRecordArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootRecord_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootRecord_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootShipChoiceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootShipChoice_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootShipChoice_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootShipVoteArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootShipVote_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootShipVote_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootStemModuleArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootStemModule_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootStemModule_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootTVParamsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootTVParams_by_pkArgs = { + id: Scalars['String']; +}; + + +export type subscription_rootTVParams_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootchain_metadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootchain_metadata_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type subscription_rootchain_metadata_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootdynamic_contract_registryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootdynamic_contract_registry_by_pkArgs = { + chain_id: Scalars['Int']; + contract_address: Scalars['String']; +}; + + +export type subscription_rootdynamic_contract_registry_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootentity_historyArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootentity_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 subscription_rootentity_history_filterArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootentity_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 subscription_rootentity_history_filter_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootentity_history_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootevent_sync_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootevent_sync_state_by_pkArgs = { + chain_id: Scalars['Int']; +}; + + +export type subscription_rootevent_sync_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootget_entity_history_filterArgs = { + args: get_entity_history_filter_args; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootpersisted_stateArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootpersisted_state_by_pkArgs = { + id: Scalars['Int']; +}; + + +export type subscription_rootpersisted_state_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; + + +export type subscription_rootraw_eventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type subscription_rootraw_events_by_pkArgs = { + chain_id: Scalars['Int']; + event_id: Scalars['numeric']; +}; + + +export type subscription_rootraw_events_streamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: 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 QuerySdk = { + /** fetch data from the table: "Contest" **/ + Contest: InContextSdkMethod, + /** fetch data from the table: "ContestClone" **/ + ContestClone: InContextSdkMethod, + /** fetch data from the table: "ContestClone" using primary key columns **/ + ContestClone_by_pk: InContextSdkMethod, + /** fetch data from the table: "ContestTemplate" **/ + ContestTemplate: InContextSdkMethod, + /** fetch data from the table: "ContestTemplate" using primary key columns **/ + ContestTemplate_by_pk: InContextSdkMethod, + /** fetch data from the table: "Contest" using primary key columns **/ + Contest_by_pk: InContextSdkMethod, + /** fetch data from the table: "ERCPointParams" **/ + ERCPointParams: InContextSdkMethod, + /** fetch data from the table: "ERCPointParams" using primary key columns **/ + ERCPointParams_by_pk: InContextSdkMethod, + /** fetch data from the table: "EnvioTX" **/ + EnvioTX: InContextSdkMethod, + /** fetch data from the table: "EnvioTX" using primary key columns **/ + EnvioTX_by_pk: InContextSdkMethod, + /** fetch data from the table: "EventPost" **/ + EventPost: InContextSdkMethod, + /** fetch data from the table: "EventPost" using primary key columns **/ + EventPost_by_pk: InContextSdkMethod, + /** fetch data from the table: "FactoryEventsSummary" **/ + FactoryEventsSummary: InContextSdkMethod, + /** fetch data from the table: "FactoryEventsSummary" using primary key columns **/ + FactoryEventsSummary_by_pk: InContextSdkMethod, + /** fetch data from the table: "GrantShipsVoting" **/ + GrantShipsVoting: InContextSdkMethod, + /** fetch data from the table: "GrantShipsVoting" using primary key columns **/ + GrantShipsVoting_by_pk: InContextSdkMethod, + /** fetch data from the table: "HALParams" **/ + HALParams: InContextSdkMethod, + /** fetch data from the table: "HALParams" using primary key columns **/ + HALParams_by_pk: InContextSdkMethod, + /** fetch data from the table: "HatsPoster" **/ + HatsPoster: InContextSdkMethod, + /** fetch data from the table: "HatsPoster" using primary key columns **/ + HatsPoster_by_pk: InContextSdkMethod, + /** fetch data from the table: "LocalLog" **/ + LocalLog: InContextSdkMethod, + /** fetch data from the table: "LocalLog" using primary key columns **/ + LocalLog_by_pk: InContextSdkMethod, + /** fetch data from the table: "ModuleTemplate" **/ + ModuleTemplate: InContextSdkMethod, + /** fetch data from the table: "ModuleTemplate" using primary key columns **/ + ModuleTemplate_by_pk: InContextSdkMethod, + /** fetch data from the table: "Record" **/ + Record: InContextSdkMethod, + /** fetch data from the table: "Record" using primary key columns **/ + Record_by_pk: InContextSdkMethod, + /** fetch data from the table: "ShipChoice" **/ + ShipChoice: InContextSdkMethod, + /** fetch data from the table: "ShipChoice" using primary key columns **/ + ShipChoice_by_pk: InContextSdkMethod, + /** fetch data from the table: "ShipVote" **/ + ShipVote: InContextSdkMethod, + /** fetch data from the table: "ShipVote" using primary key columns **/ + ShipVote_by_pk: InContextSdkMethod, + /** fetch data from the table: "StemModule" **/ + StemModule: InContextSdkMethod, + /** fetch data from the table: "StemModule" using primary key columns **/ + StemModule_by_pk: InContextSdkMethod, + /** fetch data from the table: "TVParams" **/ + TVParams: InContextSdkMethod, + /** fetch data from the table: "TVParams" using primary key columns **/ + TVParams_by_pk: InContextSdkMethod, + /** fetch data from the table: "chain_metadata" **/ + chain_metadata: InContextSdkMethod, + /** fetch data from the table: "chain_metadata" using primary key columns **/ + chain_metadata_by_pk: InContextSdkMethod, + /** fetch data from the table: "dynamic_contract_registry" **/ + dynamic_contract_registry: InContextSdkMethod, + /** fetch data from the table: "dynamic_contract_registry" using primary key columns **/ + dynamic_contract_registry_by_pk: InContextSdkMethod, + /** fetch data from the table: "entity_history" **/ + entity_history: InContextSdkMethod, + /** fetch data from the table: "entity_history" using primary key columns **/ + entity_history_by_pk: InContextSdkMethod, + /** fetch data from the table: "entity_history_filter" **/ + entity_history_filter: InContextSdkMethod, + /** fetch data from the table: "entity_history_filter" using primary key columns **/ + entity_history_filter_by_pk: InContextSdkMethod, + /** fetch data from the table: "event_sync_state" **/ + event_sync_state: InContextSdkMethod, + /** fetch data from the table: "event_sync_state" using primary key columns **/ + event_sync_state_by_pk: InContextSdkMethod, + /** This function helps search for articles **/ + get_entity_history_filter: InContextSdkMethod, + /** fetch data from the table: "persisted_state" **/ + persisted_state: InContextSdkMethod, + /** fetch data from the table: "persisted_state" using primary key columns **/ + persisted_state_by_pk: InContextSdkMethod, + /** fetch data from the table: "raw_events" **/ + raw_events: InContextSdkMethod, + /** fetch data from the table: "raw_events" using primary key columns **/ + raw_events_by_pk: InContextSdkMethod + }; + + export type MutationSdk = { + + }; + + export type SubscriptionSdk = { + /** fetch data from the table: "Contest" **/ + Contest: InContextSdkMethod, + /** fetch data from the table: "ContestClone" **/ + ContestClone: InContextSdkMethod, + /** fetch data from the table: "ContestClone" using primary key columns **/ + ContestClone_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ContestClone" **/ + ContestClone_stream: InContextSdkMethod, + /** fetch data from the table: "ContestTemplate" **/ + ContestTemplate: InContextSdkMethod, + /** fetch data from the table: "ContestTemplate" using primary key columns **/ + ContestTemplate_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ContestTemplate" **/ + ContestTemplate_stream: InContextSdkMethod, + /** fetch data from the table: "Contest" using primary key columns **/ + Contest_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "Contest" **/ + Contest_stream: InContextSdkMethod, + /** fetch data from the table: "ERCPointParams" **/ + ERCPointParams: InContextSdkMethod, + /** fetch data from the table: "ERCPointParams" using primary key columns **/ + ERCPointParams_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ERCPointParams" **/ + ERCPointParams_stream: InContextSdkMethod, + /** fetch data from the table: "EnvioTX" **/ + EnvioTX: InContextSdkMethod, + /** fetch data from the table: "EnvioTX" using primary key columns **/ + EnvioTX_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "EnvioTX" **/ + EnvioTX_stream: InContextSdkMethod, + /** fetch data from the table: "EventPost" **/ + EventPost: InContextSdkMethod, + /** fetch data from the table: "EventPost" using primary key columns **/ + EventPost_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "EventPost" **/ + EventPost_stream: InContextSdkMethod, + /** fetch data from the table: "FactoryEventsSummary" **/ + FactoryEventsSummary: InContextSdkMethod, + /** fetch data from the table: "FactoryEventsSummary" using primary key columns **/ + FactoryEventsSummary_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "FactoryEventsSummary" **/ + FactoryEventsSummary_stream: InContextSdkMethod, + /** fetch data from the table: "GrantShipsVoting" **/ + GrantShipsVoting: InContextSdkMethod, + /** fetch data from the table: "GrantShipsVoting" using primary key columns **/ + GrantShipsVoting_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "GrantShipsVoting" **/ + GrantShipsVoting_stream: InContextSdkMethod, + /** fetch data from the table: "HALParams" **/ + HALParams: InContextSdkMethod, + /** fetch data from the table: "HALParams" using primary key columns **/ + HALParams_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "HALParams" **/ + HALParams_stream: InContextSdkMethod, + /** fetch data from the table: "HatsPoster" **/ + HatsPoster: InContextSdkMethod, + /** fetch data from the table: "HatsPoster" using primary key columns **/ + HatsPoster_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "HatsPoster" **/ + HatsPoster_stream: InContextSdkMethod, + /** fetch data from the table: "LocalLog" **/ + LocalLog: InContextSdkMethod, + /** fetch data from the table: "LocalLog" using primary key columns **/ + LocalLog_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "LocalLog" **/ + LocalLog_stream: InContextSdkMethod, + /** fetch data from the table: "ModuleTemplate" **/ + ModuleTemplate: InContextSdkMethod, + /** fetch data from the table: "ModuleTemplate" using primary key columns **/ + ModuleTemplate_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ModuleTemplate" **/ + ModuleTemplate_stream: InContextSdkMethod, + /** fetch data from the table: "Record" **/ + Record: InContextSdkMethod, + /** fetch data from the table: "Record" using primary key columns **/ + Record_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "Record" **/ + Record_stream: InContextSdkMethod, + /** fetch data from the table: "ShipChoice" **/ + ShipChoice: InContextSdkMethod, + /** fetch data from the table: "ShipChoice" using primary key columns **/ + ShipChoice_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ShipChoice" **/ + ShipChoice_stream: InContextSdkMethod, + /** fetch data from the table: "ShipVote" **/ + ShipVote: InContextSdkMethod, + /** fetch data from the table: "ShipVote" using primary key columns **/ + ShipVote_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "ShipVote" **/ + ShipVote_stream: InContextSdkMethod, + /** fetch data from the table: "StemModule" **/ + StemModule: InContextSdkMethod, + /** fetch data from the table: "StemModule" using primary key columns **/ + StemModule_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "StemModule" **/ + StemModule_stream: InContextSdkMethod, + /** fetch data from the table: "TVParams" **/ + TVParams: InContextSdkMethod, + /** fetch data from the table: "TVParams" using primary key columns **/ + TVParams_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "TVParams" **/ + TVParams_stream: InContextSdkMethod, + /** fetch data from the table: "chain_metadata" **/ + chain_metadata: InContextSdkMethod, + /** fetch data from the table: "chain_metadata" using primary key columns **/ + chain_metadata_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "chain_metadata" **/ + chain_metadata_stream: InContextSdkMethod, + /** fetch data from the table: "dynamic_contract_registry" **/ + dynamic_contract_registry: InContextSdkMethod, + /** fetch data from the table: "dynamic_contract_registry" using primary key columns **/ + dynamic_contract_registry_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "dynamic_contract_registry" **/ + dynamic_contract_registry_stream: InContextSdkMethod, + /** fetch data from the table: "entity_history" **/ + entity_history: InContextSdkMethod, + /** fetch data from the table: "entity_history" using primary key columns **/ + entity_history_by_pk: InContextSdkMethod, + /** fetch data from the table: "entity_history_filter" **/ + entity_history_filter: InContextSdkMethod, + /** fetch data from the table: "entity_history_filter" using primary key columns **/ + entity_history_filter_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "entity_history_filter" **/ + entity_history_filter_stream: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "entity_history" **/ + entity_history_stream: InContextSdkMethod, + /** fetch data from the table: "event_sync_state" **/ + event_sync_state: InContextSdkMethod, + /** fetch data from the table: "event_sync_state" using primary key columns **/ + event_sync_state_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "event_sync_state" **/ + event_sync_state_stream: InContextSdkMethod, + /** This function helps search for articles **/ + get_entity_history_filter: InContextSdkMethod, + /** fetch data from the table: "persisted_state" **/ + persisted_state: InContextSdkMethod, + /** fetch data from the table: "persisted_state" using primary key columns **/ + persisted_state_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "persisted_state" **/ + persisted_state_stream: InContextSdkMethod, + /** fetch data from the table: "raw_events" **/ + raw_events: InContextSdkMethod, + /** fetch data from the table: "raw_events" using primary key columns **/ + raw_events_by_pk: InContextSdkMethod, + /** fetch data from the table in a streaming manner: "raw_events" **/ + raw_events_stream: InContextSdkMethod + }; + + export type Context = { + ["gs-voting"]: { Query: QuerySdk, Mutation: MutationSdk, Subscription: SubscriptionSdk }, + + }; +} diff --git a/src/abi/Contest.json b/src/abi/Contest.json new file mode 100644 index 00000000..1fecd69b --- /dev/null +++ b/src/abi/Contest.json @@ -0,0 +1,261 @@ +[ + { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "votesModule", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "pointsModule", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "choicesModule", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "executionModule", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "isContinuous", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bool", + "name": "isRetractable", + "type": "bool" + }, + { + "indexed": false, + "internalType": "enum ContestStatus", + "name": "status", + "type": "uint8" + } + ], + "name": "ContestInitialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "enum ContestStatus", + "name": "status", + "type": "uint8" + } + ], + "name": "ContestStatusChanged", + "type": "event" + }, + { + "inputs": [], + "name": "CONTEST_VERSION", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "_choiceIds", + "type": "bytes32[]" + }, + { "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, + { "internalType": "bytes[]", "name": "_data", "type": "bytes[]" }, + { "internalType": "uint256", "name": "_totalAmount", "type": "uint256" } + ], + "name": "batchRetractVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "_choiceIds", + "type": "bytes32[]" + }, + { "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]" }, + { "internalType": "bytes[]", "name": "_data", "type": "bytes[]" }, + { "internalType": "uint256", "name": "_totalAmount", "type": "uint256" } + ], + "name": "batchVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_oldChoiceId", "type": "bytes32" }, + { "internalType": "bytes32", "name": "_newChoiceId", "type": "bytes32" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "changeVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "choicesModule", + "outputs": [ + { "internalType": "contract IChoices", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "claimPoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "contestStatus", + "outputs": [ + { "internalType": "enum ContestStatus", "name": "", "type": "uint8" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "execute", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "executionModule", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "finalizeChoices", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "finalizeContinuous", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "finalizeVoting", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getStatus", + "outputs": [ + { "internalType": "enum ContestStatus", "name": "", "type": "uint8" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes", "name": "_initData", "type": "bytes" } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "isContinuous", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "isRetractable", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "enum ContestStatus", + "name": "_status", + "type": "uint8" + } + ], + "name": "isStatus", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pointsModule", + "outputs": [ + { "internalType": "contract IPoints", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "retractVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "vote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "votesModule", + "outputs": [ + { "internalType": "contract IVotes", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/abi/ERC20VotesPoints.json b/src/abi/ERC20VotesPoints.json new file mode 100644 index 00000000..46c0ef97 --- /dev/null +++ b/src/abi/ERC20VotesPoints.json @@ -0,0 +1,206 @@ +[ + { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "contest", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "votingCheckpoint", + "type": "uint256" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "PointsAllocated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "PointsClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "PointsReleased", + "type": "event" + }, + { + "inputs": [], + "name": "MODULE_NAME", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "MODULE_TYPE", + "outputs": [ + { "internalType": "enum ModuleType", "name": "", "type": "uint8" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" } + ], + "name": "allocatePoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [{ "internalType": "address", "name": "", "type": "address" }], + "name": "allocatedPoints", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "claimPoints", + "outputs": [], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "contest", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" } + ], + "name": "getAllocatedPoints", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" } + ], + "name": "getPoints", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" } + ], + "name": "hasAllocatedPoints", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" } + ], + "name": "hasVotingPoints", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_contest", "type": "address" }, + { "internalType": "bytes", "name": "_initData", "type": "bytes" } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_user", "type": "address" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" } + ], + "name": "releasePoints", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "voteToken", + "outputs": [ + { "internalType": "contract IVotes", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "votingCheckpoint", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/abi/Erc20Votes.json b/src/abi/Erc20Votes.json new file mode 100644 index 00000000..61a5cd36 --- /dev/null +++ b/src/abi/Erc20Votes.json @@ -0,0 +1,376 @@ +[ + { + "inputs": [ + { "internalType": "string", "name": "name", "type": "string" }, + { "internalType": "string", "name": "symbol", "type": "string" }, + { "internalType": "uint256", "name": "initialSupply", "type": "uint256" }, + { "internalType": "address", "name": "_holder", "type": "address" } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "fromDelegate", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "toDelegate", + "type": "address" + } + ], + "name": "DelegateChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegate", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "previousBalance", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newBalance", + "type": "uint256" + } + ], + "name": "DelegateVotesChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "DOMAIN_SEPARATOR", + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "owner", "type": "address" }, + { "internalType": "address", "name": "spender", "type": "address" } + ], + "name": "allowance", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "spender", "type": "address" }, + { "internalType": "uint256", "name": "amount", "type": "uint256" } + ], + "name": "approve", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" } + ], + "name": "balanceOf", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" }, + { "internalType": "uint32", "name": "pos", "type": "uint32" } + ], + "name": "checkpoints", + "outputs": [ + { + "components": [ + { "internalType": "uint32", "name": "fromBlock", "type": "uint32" }, + { "internalType": "uint224", "name": "votes", "type": "uint224" } + ], + "internalType": "struct ERC20Votes.Checkpoint", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "spender", "type": "address" }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "delegatee", "type": "address" } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "delegatee", "type": "address" }, + { "internalType": "uint256", "name": "nonce", "type": "uint256" }, + { "internalType": "uint256", "name": "expiry", "type": "uint256" }, + { "internalType": "uint8", "name": "v", "type": "uint8" }, + { "internalType": "bytes32", "name": "r", "type": "bytes32" }, + { "internalType": "bytes32", "name": "s", "type": "bytes32" } + ], + "name": "delegateBySig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" } + ], + "name": "delegates", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "uint256", "name": "blockNumber", "type": "uint256" } + ], + "name": "getPastTotalSupply", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" }, + { "internalType": "uint256", "name": "blockNumber", "type": "uint256" } + ], + "name": "getPastVotes", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" } + ], + "name": "getVotes", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "spender", "type": "address" }, + { "internalType": "uint256", "name": "addedValue", "type": "uint256" } + ], + "name": "increaseAllowance", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "owner", "type": "address" } + ], + "name": "nonces", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "account", "type": "address" } + ], + "name": "numCheckpoints", + "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "owner", "type": "address" }, + { "internalType": "address", "name": "spender", "type": "address" }, + { "internalType": "uint256", "name": "value", "type": "uint256" }, + { "internalType": "uint256", "name": "deadline", "type": "uint256" }, + { "internalType": "uint8", "name": "v", "type": "uint8" }, + { "internalType": "bytes32", "name": "r", "type": "bytes32" }, + { "internalType": "bytes32", "name": "s", "type": "bytes32" } + ], + "name": "permit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "to", "type": "address" }, + { "internalType": "uint256", "name": "amount", "type": "uint256" } + ], + "name": "transfer", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "from", "type": "address" }, + { "internalType": "address", "name": "to", "type": "address" }, + { "internalType": "uint256", "name": "amount", "type": "uint256" } + ], + "name": "transferFrom", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "newOwner", "type": "address" } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] diff --git a/src/abi/HatsAllowList.json b/src/abi/HatsAllowList.json new file mode 100644 index 00000000..bbe4ade6 --- /dev/null +++ b/src/abi/HatsAllowList.json @@ -0,0 +1,195 @@ +[ + { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "contest", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "hatsAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "hatId", + "type": "uint256" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "choiceId", + "type": "bytes32" + }, + { + "components": [ + { + "components": [ + { + "internalType": "uint256", + "name": "protocol", + "type": "uint256" + }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "internalType": "struct Metadata", + "name": "metadata", + "type": "tuple" + }, + { "internalType": "bytes", "name": "data", "type": "bytes" }, + { "internalType": "bool", "name": "exists", "type": "bool" } + ], + "indexed": false, + "internalType": "struct HatsAllowList.ChoiceData", + "name": "choiceData", + "type": "tuple" + }, + { + "indexed": false, + "internalType": "address", + "name": "contest", + "type": "address" + } + ], + "name": "Registered", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes32", + "name": "choiceId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "address", + "name": "contest", + "type": "address" + } + ], + "name": "Removed", + "type": "event" + }, + { + "inputs": [], + "name": "MODULE_NAME", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "MODULE_TYPE", + "outputs": [ + { "internalType": "enum ModuleType", "name": "", "type": "uint8" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], + "name": "choices", + "outputs": [ + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "internalType": "struct Metadata", + "name": "metadata", + "type": "tuple" + }, + { "internalType": "bytes", "name": "data", "type": "bytes" }, + { "internalType": "bool", "name": "exists", "type": "bool" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "contest", + "outputs": [ + { "internalType": "contract Contest", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "finalizeChoices", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "hatId", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "hats", + "outputs": [ + { "internalType": "contract IHats", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_contest", "type": "address" }, + { "internalType": "bytes", "name": "_initData", "type": "bytes" } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" } + ], + "name": "isValidChoice", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "registerChoice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "bytes", "name": "", "type": "bytes" } + ], + "name": "removeChoice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] diff --git a/src/abi/HatsPoster.json b/src/abi/HatsPoster.json new file mode 100644 index 00000000..ecf2d132 --- /dev/null +++ b/src/abi/HatsPoster.json @@ -0,0 +1,162 @@ +[ + { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "hatsAddress", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256[]", + "name": "hatIds", + "type": "uint256[]" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "tag", + "type": "string" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "hatId", + "type": "uint256" + }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "indexed": false, + "internalType": "struct Metadata", + "name": "content", + "type": "tuple" + } + ], + "name": "PostEvent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "tag", + "type": "string" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "nonce", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "hatId", + "type": "uint256" + }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "indexed": false, + "internalType": "struct Metadata", + "name": "content", + "type": "tuple" + } + ], + "name": "PostRecord", + "type": "event" + }, + { + "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "name": "hatIds", + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "hats", + "outputs": [ + { "internalType": "contract IHats", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "uint256[]", "name": "_hatIds", "type": "uint256[]" }, + { "internalType": "address", "name": "_hatsAddress", "type": "address" } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "string", "name": "tag", "type": "string" }, + { "internalType": "bytes32", "name": "_nonce", "type": "bytes32" }, + { "internalType": "uint256", "name": "_hatId", "type": "uint256" }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "internalType": "struct Metadata", + "name": "_content", + "type": "tuple" + } + ], + "name": "postRecord", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "string", "name": "_tag", "type": "string" }, + { "internalType": "uint256", "name": "_hatId", "type": "uint256" }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "internalType": "struct Metadata", + "name": "_content", + "type": "tuple" + } + ], + "name": "postUpdate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], + "name": "records", + "outputs": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" }, + { "internalType": "bool", "name": "exists", "type": "bool" } + ], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/abi/TimedVotes.json b/src/abi/TimedVotes.json new file mode 100644 index 00000000..011cd097 --- /dev/null +++ b/src/abi/TimedVotes.json @@ -0,0 +1,243 @@ +[ + { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "contest", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "duration", + "type": "uint256" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "choiceId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "indexed": false, + "internalType": "struct Metadata", + "name": "_reason", + "type": "tuple" + } + ], + "name": "VoteCast", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "voter", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes32", + "name": "choiceId", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "components": [ + { "internalType": "uint256", "name": "protocol", "type": "uint256" }, + { "internalType": "string", "name": "pointer", "type": "string" } + ], + "indexed": false, + "internalType": "struct Metadata", + "name": "_reason", + "type": "tuple" + } + ], + "name": "VoteRetracted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "startTime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "endTime", + "type": "uint256" + } + ], + "name": "VotingStarted", + "type": "event" + }, + { + "inputs": [], + "name": "MODULE_NAME", + "outputs": [{ "internalType": "string", "name": "", "type": "string" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "MODULE_TYPE", + "outputs": [ + { "internalType": "enum ModuleType", "name": "", "type": "uint8" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "contest", + "outputs": [ + { "internalType": "contract Contest", "name": "", "type": "address" } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "duration", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "endTime", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "finalizeVoting", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "address", "name": "voter", "type": "address" } + ], + "name": "getChoiceVotesByVoter", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" } + ], + "name": "getTotalVotesForChoice", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_contest", "type": "address" }, + { "internalType": "bytes", "name": "_initParams", "type": "bytes" } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_voter", "type": "address" }, + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "retractVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "uint256", "name": "_startTime", "type": "uint256" } + ], + "name": "setVotingTime", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "startTime", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], + "name": "totalVotesForChoice", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { "internalType": "address", "name": "_voter", "type": "address" }, + { "internalType": "bytes32", "name": "_choiceId", "type": "bytes32" }, + { "internalType": "uint256", "name": "_amount", "type": "uint256" }, + { "internalType": "bytes", "name": "_data", "type": "bytes" } + ], + "name": "vote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { "internalType": "bytes32", "name": "", "type": "bytes32" }, + { "internalType": "address", "name": "", "type": "address" } + ], + "name": "votes", + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], + "stateMutability": "view", + "type": "function" + } +] diff --git a/src/components/dashboard/MilestonesBuilder.tsx b/src/components/dashboard/MilestonesBuilder.tsx index 288fd1ce..aa482e56 100644 --- a/src/components/dashboard/MilestonesBuilder.tsx +++ b/src/components/dashboard/MilestonesBuilder.tsx @@ -114,12 +114,12 @@ export const MilestoneBuilder = ({ const formDate = Number(formData[`milestone-date-${index + 1}`]); const scaleFactor = BigInt(1e18); - const formPercentageBigInt = BigInt(formPercentage * 1e6); + const formPercentageBigInt = BigInt(formPercentage * 1e16); const solidityPercentage = BigInt( formPercentageBigInt === 0n ? 0n - : (formPercentageBigInt * scaleFactor) / BigInt(1e6 * 100) + : (formPercentageBigInt * scaleFactor) / BigInt(1e16 * 100) ); const pinRes = await pinJSONToIPFS({ diff --git a/src/components/dashboard/facilitator/FacilitatorGameDash.tsx b/src/components/dashboard/facilitator/FacilitatorGameDash.tsx index 7cdd7516..ac3819e3 100644 --- a/src/components/dashboard/facilitator/FacilitatorGameDash.tsx +++ b/src/components/dashboard/facilitator/FacilitatorGameDash.tsx @@ -12,6 +12,8 @@ import { AllocationPanel } from './AllocationPanel'; import { StartGamePanel } from './StartGamePanel'; import { StopGamePanel } from './StopGamePanel'; import { GameManager } from '../../../queries/getGameManger'; +import { PopulateChoicesPanel } from './PopulateChoicesPanel'; +import { StartVotingPanel } from './StartVotingPanel'; export const FacilitatorGameDash = ({ isLoading, @@ -19,12 +21,14 @@ export const FacilitatorGameDash = ({ gameStatusNumber, poolBalance, gm, + isLoadingVoting, }: { gm?: GameManager; shipData?: FacShipData; gameStatusNumber?: number; isLoading: boolean; poolBalance?: bigint; + isLoadingVoting: boolean; }) => { const steps = useMemo((): TimelineContent[] | null => { if ( @@ -96,14 +100,37 @@ export const FacilitatorGameDash = ({ content: , }, { - title: 'End Game', + title: 'End Round', description: gameStatusNumber > 5 ? 'Game Ended' : 'Game Not Finished', content: , }, { - title: 'Game Complete', + title: 'Populate Choices', description: - gameStatusNumber > 6 ? 'Game is not yet complete' : 'Game Complete', + gameStatusNumber > 7 + ? 'Choices have been approved' + : "Choices haven't been approved", + content: , + }, + { + title: 'Initiate Voting', + description: + gameStatusNumber > 8 + ? 'Voting parameters initiated' + : 'Voting parameters not initiated', + content: , + }, + { + title: 'Start Voting', + description: + gameStatusNumber > 9 + ? 'Voting round is active' + : 'Voting has not started', + }, + { + title: 'End Voting', + description: + gameStatusNumber > 10 ? 'Voting complete!' : 'Voting Ongoing', }, ]; }, [shipData, isLoading, gameStatusNumber, gm, poolBalance]); @@ -113,7 +140,8 @@ export const FacilitatorGameDash = ({ poolBalance === undefined || isLoading || !gm || - !shipData + !shipData || + isLoadingVoting ) { return ( diff --git a/src/components/dashboard/facilitator/PopulateChoicesPanel.tsx b/src/components/dashboard/facilitator/PopulateChoicesPanel.tsx new file mode 100644 index 00000000..5686c323 --- /dev/null +++ b/src/components/dashboard/facilitator/PopulateChoicesPanel.tsx @@ -0,0 +1,228 @@ +import { CompressedApprovedShip } from '../../../queries/getFacDashShipData'; +import { useQuery } from '@tanstack/react-query'; +import { getAllShipReports } from '../../../queries/getRecordsByTag'; +import { useVoting } from '../../../hooks/useVoting'; +import { + Avatar, + Box, + Group, + Text, + Tooltip, + useMantineTheme, +} from '@mantine/core'; +import { PINATA_GATEWAY } from '../../../utils/ipfs/get'; +import { IconInfoCircle, IconSquareCheck } from '@tabler/icons-react'; +import { IconSquare } from '@tabler/icons-react'; +import { Link } from 'react-router-dom'; +import { useMemo } from 'react'; +import { notifications } from '@mantine/notifications'; +import HatsAllowList from '../../../abi/HatsAllowList.json'; +import { useTx } from '../../../hooks/useTx'; +import { Address } from 'viem'; +import { TxButton } from '../../TxButton'; + +export const PopulateChoicesPanel = ({ + ships, +}: { + ships: CompressedApprovedShip[]; +}) => { + const shipIds = ships.map((ship) => ship.id); + const theme = useMantineTheme(); + const { tx } = useTx(); + + const { + data: shipReports, + isLoading, + isError, + } = useQuery({ + queryKey: ['fac-ship-reports', shipIds], + queryFn: () => getAllShipReports(shipIds), + enabled: !!shipIds, + }); + + const { votingExists } = useVoting(); + + const { contest, refetchGsVotes } = useVoting(); + + const shipChoiceIds = useMemo(() => { + if (!ships?.length || !contest?.choices?.length) { + return {}; + } + + let ids: Record = {}; + + for (const ship of ships) { + const shipId = contest?.choices.find( + (choice) => choice.shipId === ship.id + )?.shipId; + + if (shipId) { + ids = { ...ids, [shipId]: true }; + } + } + + return ids; + }, [contest?.choices, ships]); + + if (isLoading) { + return
Loading...
; + } + + if (isError) { + return
Error loading ship reports
; + } + + if (!votingExists) { + // no? return the create game panel + return
Voting does not exist
; + } + + if (!shipReports) { + return
No ship reports
; + } + const completedReports = shipReports.filter(Boolean); + const allHaveReports = completedReports.length === ships.length; + const amountApproved = Object.keys(shipChoiceIds).length; + const allAreApproved = amountApproved === ships.length; + + const handleFinalizeChoices = () => { + if (!allAreApproved || !allHaveReports) { + notifications.show({ + title: 'Error', + message: + 'All ships must have approved reports before finalizing choices', + color: 'red', + }); + return; + } + + const choicesAddress = contest?.contest?.choicesModule_id; + + if (!choicesAddress) { + notifications.show({ + title: 'Error', + message: 'Choices address not found', + color: 'red', + }); + return; + } + + tx({ + viewParams: { + awaitEnvioPoll: true, + }, + writeContractParams: { + abi: HatsAllowList, + address: choicesAddress as Address, + functionName: 'finalizeChoices', + args: [], + }, + writeContractOptions: { + onPollSuccess() { + refetchGsVotes(); + }, + }, + }); + }; + + return ( + + + Requires {ships.length} approved portfolio reports before vote starts + + + + {allHaveReports ? ( + + ) : ( + + )} + + + Reports: + {' '} + {completedReports.length}/{ships.length} submitted + + + + {allAreApproved ? ( + + ) : ( + + )} + + + Reports: + {' '} + {amountApproved}/{ships.length} approved + + + + You can approve ships by navigating to the{' '} + vote page and selecting 'Approve' while logged + in as a game facilitator + + + Ships + + {ships.map((ship, index) => { + const shipReport = shipReports[index]; + const hasBeenApproved = !!shipChoiceIds[ship.id as string]; + return ( + + ); + })} + + + Finalize Choices + + + ); +}; + +const ShipIndicator = ({ + ship, + hasShipReport, + hasBeenApproved, +}: { + ship: CompressedApprovedShip; + hasShipReport: boolean; + hasBeenApproved: boolean; +}) => { + const theme = useMantineTheme(); + + const imgUrl = `${PINATA_GATEWAY}/${ship.profileMetadata.avatarHash_IPFS}`; + + return ( + + {hasBeenApproved ? ( + + ) : ( + + )} + + + {ship.name} + + {!hasShipReport && ( + + + + )} + + ); +}; diff --git a/src/components/dashboard/facilitator/StartVotingPanel.tsx b/src/components/dashboard/facilitator/StartVotingPanel.tsx new file mode 100644 index 00000000..ff4bcef0 --- /dev/null +++ b/src/components/dashboard/facilitator/StartVotingPanel.tsx @@ -0,0 +1,101 @@ +import { Box, Switch, Text } from '@mantine/core'; +import React from 'react'; +import TimedVotes from '../../../abi/TimedVotes.json'; +import { TxButton } from '../../TxButton'; +import { DateTimePicker } from '@mantine/dates'; +import { useTx } from '../../../hooks/useTx'; +import { useVoting } from '../../../hooks/useVoting'; +import { notifications } from '@mantine/notifications'; +import { Address } from 'viem'; + +export const StartVotingPanel = () => { + const { contest, refetchGsVotes } = useVoting(); + + const { tx } = useTx(); + + const [startNow, setChecked] = React.useState(true); + const [votingTimeInSeconds, setVotingTime] = React.useState(0); + + const handleSetVotingTime = (value: Date | null) => { + if (!value) { + setVotingTime(0); + return; + } + const dateInSeconds = Math.floor(value?.getTime() / 1000); + + setVotingTime(dateInSeconds); + }; + + const handleSwitchChange = (e: React.ChangeEvent) => { + setChecked(e.currentTarget.checked); + }; + + const handleInititateVoting = () => { + const finalVotingTime = startNow ? 0 : votingTimeInSeconds; + + const contestAddress = contest?.contest?.votesModule_id; + + if (!contestAddress) { + notifications.show({ + title: 'Error', + message: 'No contest address found', + color: 'red', + }); + return; + } + + tx({ + viewParams: { + awaitEnvioPoll: true, + }, + writeContractParams: { + abi: TimedVotes, + functionName: 'setVotingTime', + address: contestAddress as Address, + args: [BigInt(finalVotingTime)], + }, + writeContractOptions: { + onPollSuccess() { + refetchGsVotes(); + }, + }, + }); + }; + + return ( + + + Initiate the voting round + + You can choose to to start the voting round now, or set it at a later + date. + + + + + {!startNow && ( + handleSetVotingTime(value)} + /> + )} + + + Initiate Voting Period + + + ); +}; diff --git a/src/components/dashboard/ship/PortfolioReport.tsx b/src/components/dashboard/ship/PortfolioReport.tsx new file mode 100644 index 00000000..e77fc917 --- /dev/null +++ b/src/components/dashboard/ship/PortfolioReport.tsx @@ -0,0 +1,501 @@ +import { + Accordion, + Avatar, + Box, + Group, + Skeleton, + Spoiler, + Stack, + Text, + TextInput, + Textarea, + useMantineTheme, +} from '@mantine/core'; +import { Link } from 'react-router-dom'; +import classes from '../../feed/FeedStyles.module.css'; + +import { formatEther } from 'viem'; +import { GAME_TOKEN } from '../../../constants/gameSetup'; +import { + IconChevronDown, + IconChevronUp, + IconExclamationCircle, + IconExternalLink, + IconSquare, + IconSquareCheck, +} from '@tabler/icons-react'; +import { AppAlert } from '../../UnderContruction'; +import { DashGrant } from '../../../resolvers/grantResolvers'; +import { AlloStatus, ReportStatus } from '../../../types/common'; +import { ShipBadge } from '../../RoleBadges'; +import { UseFormReturnType, useForm, zodResolver } from '@mantine/form'; +import { portfolioReportSchema } from '../../forms/validationSchemas/portfolioReportSchema'; +import { z } from 'zod'; +import { notifications } from '@mantine/notifications'; +import { pinJSONToIPFS } from '../../../utils/ipfs/pin'; +import { useTx } from '../../../hooks/useTx'; +import HatsPoster from '../../../abi/HatsPoster.json'; +import { ADDR } from '../../../constants/addresses'; +import { Tag } from '../../../constants/tags'; +import { generateRandomBytes32 } from '../../../utils/helpers'; +import { TxButton } from '../../TxButton'; +import { MilestoneProgress } from '../../projectItems/MilestoneProgress'; + +type FormValues = z.infer; + +const defaultValues: FormValues = { + roundReview: '', + grantReviews: {}, + grantDemos: {}, + grantExtras: {}, +}; + +type ReportData = { + roundReview: string; + grantReviews: Record; + grantDemos: Record; + grantExtras: Record; +}; + +export const PortfolioReport = ({ + shipId, + grants, + shipHatId, + reportStatus, + isLoading, + error, + onReportSubmit, + reportData, +}: { + grants?: DashGrant[] | null; + isLoading: boolean; + error: Error | null; + shipHatId?: string | null; + shipId: string; + reportStatus: ReportStatus; + onReportSubmit?: () => void; + reportData?: ReportData | null; +}) => { + const theme = useMantineTheme(); + + const form = useForm({ + initialValues: defaultValues, + validate: zodResolver(portfolioReportSchema), + validateInputOnBlur: true, + }); + + if (isLoading) + return ( + + + + + + ); + + if (error || !grants) + return ( + } + description={error?.message || 'Grant Data failed to load'} + bg={theme.colors.pink[8]} + /> + ); + + if (grants.length === 0) + return ( + + ); + + const shipName = grants?.[0]?.shipMetadata?.name; + const shipAvatar = grants?.[0]?.shipMetadata?.imgUrl; + + return ( + + {reportStatus === ReportStatus.Submit && ( + + )} + {reportData && + (reportStatus === ReportStatus.Review || + reportStatus === ReportStatus.Vote) && ( + + + + + Operator's Summary: + + + + + )} + + Funded Projects + + + {grants.map((grant) => ( + + } + > + {grant.projectId.name} ( + {formatEther(grant.applicationData.grantAmount)}{' '} + {GAME_TOKEN.SYMBOL}) + + + + + + ))} + + + {shipHatId && reportStatus === ReportStatus.Submit && ( + <> +