diff --git a/codegen.yaml b/codegen.yaml index 857af25..8bc140e 100644 --- a/codegen.yaml +++ b/codegen.yaml @@ -1,5 +1,5 @@ -schema: https://api.studio.thegraph.com/query/61738/legacy-curate-gnosis/version/latest -documents: './src/*.ts' +schema: https://indexer.hyperindex.xyz/1a2f51c/v1/graphql +documents: "./src/*.ts" generates: src/generated/graphqlQueries.ts: plugins: diff --git a/package.json b/package.json index 43abf8b..000e54e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@kleros/address-tags-sdk", "description": "Simple library to get address information from the Kleros curated tags registry.", - "version": "0.2.2", + "version": "0.2.3", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", @@ -33,5 +33,9 @@ "prettier": "^2.6.2", "tsutils": "^3.21.0", "typescript": "^4.7.2" + }, + "volta": { + "node": "16.20.2", + "yarn": "1.22.22" } } diff --git a/src/generated/graphqlQueries.ts b/src/generated/graphqlQueries.ts index 8ecd6ce..e6ce990 100644 --- a/src/generated/graphqlQueries.ts +++ b/src/generated/graphqlQueries.ts @@ -10,4026 +10,4129 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - BigDecimal: any; - BigInt: any; - Bytes: any; - /** - * 8 bytes signed integer - * - */ - Int8: any; - /** - * A string representation of microseconds UNIX timestamp (16 digits) - * - */ - Timestamp: any; -}; - -export enum Aggregation_Interval { - Day = 'day', - Hour = 'hour' -} + jsonb: any; + numeric: any; + ruling: any; + status: any; + timestamptz: any; +}; +/** columns and relationships of "Arbitrator" */ export type Arbitrator = { __typename?: 'Arbitrator'; - /** The address of the arbitrator */ - id: Scalars['ID']; -}; - -export type Arbitrator_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - or?: InputMaybe>>; -}; - -export enum Arbitrator_OrderBy { + id: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "Arbitrator". All fields are combined with a logical 'AND'. */ +export type Arbitrator_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "Arbitrator". */ +export type Arbitrator_Order_By = { + id?: InputMaybe; +}; + +/** select columns of table "Arbitrator" */ +export enum Arbitrator_Select_Column { + /** column name */ Id = 'id' } -export type BlockChangedFilter = { - number_gte: Scalars['Int']; +/** Streaming cursor of the table "Arbitrator" */ +export type Arbitrator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Arbitrator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Arbitrator_Stream_Cursor_Value_Input = { + id?: InputMaybe; }; -export type Block_Height = { - hash?: InputMaybe; - number?: InputMaybe; - number_gte?: InputMaybe; +/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +export type Boolean_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; }; +/** columns and relationships of "Evidence" */ export type Evidence = { __typename?: 'Evidence'; - /** The URI of the evidence file. */ - URI: Scalars['String']; - /** The arbitrator's address. */ - arbitrator: Scalars['Bytes']; - /** The evidence group */ - evidenceGroup: EvidenceGroup; - /** evidenceGroupId@tcrAddress-number */ - id: Scalars['ID']; - metadata?: Maybe; - /** This is the th evidence submitted (starting at 0) for . */ - number: Scalars['BigInt']; - /** The address of the party that sent this piece of evidence. */ - party: Scalars['Bytes']; - /** When was this evidence posted */ - timestamp: Scalars['BigInt']; - /** Tx hash of the evidence submission */ - txHash: Scalars['Bytes']; + arbitrator: Scalars['String']; + description?: Maybe; + /** An object relationship */ + evidenceGroup?: Maybe; + evidenceGroup_id: Scalars['String']; + fileTypeExtension?: Maybe; + fileURI?: Maybe; + id: Scalars['String']; + name?: Maybe; + number: Scalars['numeric']; + party: Scalars['String']; + timestamp: Scalars['numeric']; + title?: Maybe; + txHash: Scalars['String']; + uri: Scalars['String']; }; +/** columns and relationships of "EvidenceGroup" */ export type EvidenceGroup = { __typename?: 'EvidenceGroup'; - /** Evidences posted to this evidenceGroupId */ + /** An array relationship */ evidences: Array; - /** evidenceGroupId@tcrAddress */ - id: Scalars['ID']; - /** Number of evidences posted in this group */ - numberOfEvidence: Scalars['BigInt']; + id: Scalars['String']; + numberOfEvidence: Scalars['numeric']; }; +/** columns and relationships of "EvidenceGroup" */ export type EvidenceGroupEvidencesArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type EvidenceGroup_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - evidences_?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - numberOfEvidence?: InputMaybe; - numberOfEvidence_gt?: InputMaybe; - numberOfEvidence_gte?: InputMaybe; - numberOfEvidence_in?: InputMaybe>; - numberOfEvidence_lt?: InputMaybe; - numberOfEvidence_lte?: InputMaybe; - numberOfEvidence_not?: InputMaybe; - numberOfEvidence_not_in?: InputMaybe>; - or?: InputMaybe>>; -}; - -export enum EvidenceGroup_OrderBy { - Evidences = 'evidences', + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "EvidenceGroup". All fields are combined with a logical 'AND'. */ +export type EvidenceGroup_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + evidences?: InputMaybe; + id?: InputMaybe; + numberOfEvidence?: InputMaybe; +}; + +/** Ordering options when selecting data from "EvidenceGroup". */ +export type EvidenceGroup_Order_By = { + evidences_aggregate?: InputMaybe; + id?: InputMaybe; + numberOfEvidence?: InputMaybe; +}; + +/** select columns of table "EvidenceGroup" */ +export enum EvidenceGroup_Select_Column { + /** column name */ Id = 'id', + /** column name */ NumberOfEvidence = 'numberOfEvidence' } -export type EvidenceMetadata = { - __typename?: 'EvidenceMetadata'; - /** Description of the evidence */ - description?: Maybe; - /** File extension of the attached file */ - fileTypeExtension?: Maybe; - /** URI of the attached file */ - fileURI?: Maybe; - id: Scalars['ID']; - /** Name of the evidence */ - name?: Maybe; - /** Title of the evidence */ - title?: Maybe; -}; - -export type EvidenceMetadata_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - description?: InputMaybe; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_gt?: InputMaybe; - description_gte?: InputMaybe; - description_in?: InputMaybe>; - description_lt?: InputMaybe; - description_lte?: InputMaybe; - description_not?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - description_not_in?: InputMaybe>; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - fileTypeExtension?: InputMaybe; - fileTypeExtension_contains?: InputMaybe; - fileTypeExtension_contains_nocase?: InputMaybe; - fileTypeExtension_ends_with?: InputMaybe; - fileTypeExtension_ends_with_nocase?: InputMaybe; - fileTypeExtension_gt?: InputMaybe; - fileTypeExtension_gte?: InputMaybe; - fileTypeExtension_in?: InputMaybe>; - fileTypeExtension_lt?: InputMaybe; - fileTypeExtension_lte?: InputMaybe; - fileTypeExtension_not?: InputMaybe; - fileTypeExtension_not_contains?: InputMaybe; - fileTypeExtension_not_contains_nocase?: InputMaybe; - fileTypeExtension_not_ends_with?: InputMaybe; - fileTypeExtension_not_ends_with_nocase?: InputMaybe; - fileTypeExtension_not_in?: InputMaybe>; - fileTypeExtension_not_starts_with?: InputMaybe; - fileTypeExtension_not_starts_with_nocase?: InputMaybe; - fileTypeExtension_starts_with?: InputMaybe; - fileTypeExtension_starts_with_nocase?: InputMaybe; - fileURI?: InputMaybe; - fileURI_contains?: InputMaybe; - fileURI_contains_nocase?: InputMaybe; - fileURI_ends_with?: InputMaybe; - fileURI_ends_with_nocase?: InputMaybe; - fileURI_gt?: InputMaybe; - fileURI_gte?: InputMaybe; - fileURI_in?: InputMaybe>; - fileURI_lt?: InputMaybe; - fileURI_lte?: InputMaybe; - fileURI_not?: InputMaybe; - fileURI_not_contains?: InputMaybe; - fileURI_not_contains_nocase?: InputMaybe; - fileURI_not_ends_with?: InputMaybe; - fileURI_not_ends_with_nocase?: InputMaybe; - fileURI_not_in?: InputMaybe>; - fileURI_not_starts_with?: InputMaybe; - fileURI_not_starts_with_nocase?: InputMaybe; - fileURI_starts_with?: InputMaybe; - fileURI_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - name?: InputMaybe; - name_contains?: InputMaybe; - name_contains_nocase?: InputMaybe; - name_ends_with?: InputMaybe; - name_ends_with_nocase?: InputMaybe; - name_gt?: InputMaybe; - name_gte?: InputMaybe; - name_in?: InputMaybe>; - name_lt?: InputMaybe; - name_lte?: InputMaybe; - name_not?: InputMaybe; - name_not_contains?: InputMaybe; - name_not_contains_nocase?: InputMaybe; - name_not_ends_with?: InputMaybe; - name_not_ends_with_nocase?: InputMaybe; - name_not_in?: InputMaybe>; - name_not_starts_with?: InputMaybe; - name_not_starts_with_nocase?: InputMaybe; - name_starts_with?: InputMaybe; - name_starts_with_nocase?: InputMaybe; - or?: InputMaybe>>; - title?: InputMaybe; - title_contains?: InputMaybe; - title_contains_nocase?: InputMaybe; - title_ends_with?: InputMaybe; - title_ends_with_nocase?: InputMaybe; - title_gt?: InputMaybe; - title_gte?: InputMaybe; - title_in?: InputMaybe>; - title_lt?: InputMaybe; - title_lte?: InputMaybe; - title_not?: InputMaybe; - title_not_contains?: InputMaybe; - title_not_contains_nocase?: InputMaybe; - title_not_ends_with?: InputMaybe; - title_not_ends_with_nocase?: InputMaybe; - title_not_in?: InputMaybe>; - title_not_starts_with?: InputMaybe; - title_not_starts_with_nocase?: InputMaybe; - title_starts_with?: InputMaybe; - title_starts_with_nocase?: InputMaybe; -}; - -export enum EvidenceMetadata_OrderBy { +/** Streaming cursor of the table "EvidenceGroup" */ +export type EvidenceGroup_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: EvidenceGroup_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type EvidenceGroup_Stream_Cursor_Value_Input = { + id?: InputMaybe; + numberOfEvidence?: InputMaybe; +}; + +/** order by aggregate values of table "Evidence" */ +export type Evidence_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 "Evidence" */ +export type Evidence_Avg_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Evidence". All fields are combined with a logical 'AND'. */ +export type Evidence_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + arbitrator?: InputMaybe; + description?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + fileTypeExtension?: InputMaybe; + fileURI?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + number?: InputMaybe; + party?: InputMaybe; + timestamp?: InputMaybe; + title?: InputMaybe; + txHash?: InputMaybe; + uri?: InputMaybe; +}; + +/** order by max() on columns of table "Evidence" */ +export type Evidence_Max_Order_By = { + arbitrator?: InputMaybe; + description?: InputMaybe; + evidenceGroup_id?: InputMaybe; + fileTypeExtension?: InputMaybe; + fileURI?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + number?: InputMaybe; + party?: InputMaybe; + timestamp?: InputMaybe; + title?: InputMaybe; + txHash?: InputMaybe; + uri?: InputMaybe; +}; + +/** order by min() on columns of table "Evidence" */ +export type Evidence_Min_Order_By = { + arbitrator?: InputMaybe; + description?: InputMaybe; + evidenceGroup_id?: InputMaybe; + fileTypeExtension?: InputMaybe; + fileURI?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + number?: InputMaybe; + party?: InputMaybe; + timestamp?: InputMaybe; + title?: InputMaybe; + txHash?: InputMaybe; + uri?: InputMaybe; +}; + +/** Ordering options when selecting data from "Evidence". */ +export type Evidence_Order_By = { + arbitrator?: InputMaybe; + description?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + fileTypeExtension?: InputMaybe; + fileURI?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + number?: InputMaybe; + party?: InputMaybe; + timestamp?: InputMaybe; + title?: InputMaybe; + txHash?: InputMaybe; + uri?: InputMaybe; +}; + +/** select columns of table "Evidence" */ +export enum Evidence_Select_Column { + /** column name */ + Arbitrator = 'arbitrator', + /** column name */ Description = 'description', + /** column name */ + EvidenceGroupId = 'evidenceGroup_id', + /** column name */ FileTypeExtension = 'fileTypeExtension', + /** column name */ FileUri = 'fileURI', + /** column name */ Id = 'id', + /** column name */ Name = 'name', - Title = 'title' -} - -export type Evidence_Filter = { - URI?: InputMaybe; - URI_contains?: InputMaybe; - URI_contains_nocase?: InputMaybe; - URI_ends_with?: InputMaybe; - URI_ends_with_nocase?: InputMaybe; - URI_gt?: InputMaybe; - URI_gte?: InputMaybe; - URI_in?: InputMaybe>; - URI_lt?: InputMaybe; - URI_lte?: InputMaybe; - URI_not?: InputMaybe; - URI_not_contains?: InputMaybe; - URI_not_contains_nocase?: InputMaybe; - URI_not_ends_with?: InputMaybe; - URI_not_ends_with_nocase?: InputMaybe; - URI_not_in?: InputMaybe>; - URI_not_starts_with?: InputMaybe; - URI_not_starts_with_nocase?: InputMaybe; - URI_starts_with?: InputMaybe; - URI_starts_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - arbitrator?: InputMaybe; - arbitrator_contains?: InputMaybe; - arbitrator_gt?: InputMaybe; - arbitrator_gte?: InputMaybe; - arbitrator_in?: InputMaybe>; - arbitrator_lt?: InputMaybe; - arbitrator_lte?: InputMaybe; - arbitrator_not?: InputMaybe; - arbitrator_not_contains?: InputMaybe; - arbitrator_not_in?: InputMaybe>; - evidenceGroup?: InputMaybe; - evidenceGroup_?: InputMaybe; - evidenceGroup_contains?: InputMaybe; - evidenceGroup_contains_nocase?: InputMaybe; - evidenceGroup_ends_with?: InputMaybe; - evidenceGroup_ends_with_nocase?: InputMaybe; - evidenceGroup_gt?: InputMaybe; - evidenceGroup_gte?: InputMaybe; - evidenceGroup_in?: InputMaybe>; - evidenceGroup_lt?: InputMaybe; - evidenceGroup_lte?: InputMaybe; - evidenceGroup_not?: InputMaybe; - evidenceGroup_not_contains?: InputMaybe; - evidenceGroup_not_contains_nocase?: InputMaybe; - evidenceGroup_not_ends_with?: InputMaybe; - evidenceGroup_not_ends_with_nocase?: InputMaybe; - evidenceGroup_not_in?: InputMaybe>; - evidenceGroup_not_starts_with?: InputMaybe; - evidenceGroup_not_starts_with_nocase?: InputMaybe; - evidenceGroup_starts_with?: InputMaybe; - evidenceGroup_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - metadata?: InputMaybe; - metadata_?: InputMaybe; - metadata_contains?: InputMaybe; - metadata_contains_nocase?: InputMaybe; - metadata_ends_with?: InputMaybe; - metadata_ends_with_nocase?: InputMaybe; - metadata_gt?: InputMaybe; - metadata_gte?: InputMaybe; - metadata_in?: InputMaybe>; - metadata_lt?: InputMaybe; - metadata_lte?: InputMaybe; - metadata_not?: InputMaybe; - metadata_not_contains?: InputMaybe; - metadata_not_contains_nocase?: InputMaybe; - metadata_not_ends_with?: InputMaybe; - metadata_not_ends_with_nocase?: InputMaybe; - metadata_not_in?: InputMaybe>; - metadata_not_starts_with?: InputMaybe; - metadata_not_starts_with_nocase?: InputMaybe; - metadata_starts_with?: InputMaybe; - metadata_starts_with_nocase?: InputMaybe; - number?: InputMaybe; - number_gt?: InputMaybe; - number_gte?: InputMaybe; - number_in?: InputMaybe>; - number_lt?: InputMaybe; - number_lte?: InputMaybe; - number_not?: InputMaybe; - number_not_in?: InputMaybe>; - or?: InputMaybe>>; - party?: InputMaybe; - party_contains?: InputMaybe; - party_gt?: InputMaybe; - party_gte?: InputMaybe; - party_in?: InputMaybe>; - party_lt?: InputMaybe; - party_lte?: InputMaybe; - party_not?: InputMaybe; - party_not_contains?: InputMaybe; - party_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_lt?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_not_in?: InputMaybe>; - txHash?: InputMaybe; - txHash_contains?: InputMaybe; - txHash_gt?: InputMaybe; - txHash_gte?: InputMaybe; - txHash_in?: InputMaybe>; - txHash_lt?: InputMaybe; - txHash_lte?: InputMaybe; - txHash_not?: InputMaybe; - txHash_not_contains?: InputMaybe; - txHash_not_in?: InputMaybe>; -}; - -export enum Evidence_OrderBy { - Uri = 'URI', - Arbitrator = 'arbitrator', - EvidenceGroup = 'evidenceGroup', - EvidenceGroupId = 'evidenceGroup__id', - EvidenceGroupNumberOfEvidence = 'evidenceGroup__numberOfEvidence', - Id = 'id', - Metadata = 'metadata', - MetadataDescription = 'metadata__description', - MetadataFileTypeExtension = 'metadata__fileTypeExtension', - MetadataFileUri = 'metadata__fileURI', - MetadataId = 'metadata__id', - MetadataName = 'metadata__name', - MetadataTitle = 'metadata__title', + /** column name */ Number = 'number', + /** column name */ Party = 'party', + /** column name */ Timestamp = 'timestamp', - TxHash = 'txHash' + /** column name */ + Title = 'title', + /** column name */ + TxHash = 'txHash', + /** column name */ + Uri = 'uri' } +/** order by stddev() on columns of table "Evidence" */ +export type Evidence_Stddev_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "Evidence" */ +export type Evidence_Stddev_Pop_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "Evidence" */ +export type Evidence_Stddev_Samp_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** Streaming cursor of the table "Evidence" */ +export type Evidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Evidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Evidence_Stream_Cursor_Value_Input = { + arbitrator?: InputMaybe; + description?: InputMaybe; + evidenceGroup_id?: InputMaybe; + fileTypeExtension?: InputMaybe; + fileURI?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + number?: InputMaybe; + party?: InputMaybe; + timestamp?: InputMaybe; + title?: InputMaybe; + txHash?: InputMaybe; + uri?: InputMaybe; +}; + +/** order by sum() on columns of table "Evidence" */ +export type Evidence_Sum_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by var_pop() on columns of table "Evidence" */ +export type Evidence_Var_Pop_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by var_samp() on columns of table "Evidence" */ +export type Evidence_Var_Samp_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** order by variance() on columns of table "Evidence" */ +export type Evidence_Variance_Order_By = { + number?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** columns and relationships of "HasPaidAppealFee" */ export type HasPaidAppealFee = { __typename?: 'HasPaidAppealFee'; - /** --- */ - id: Scalars['ID']; - item: Item; - request: Request; - round: Round; - /** Side the fund is in favor of */ - side: Scalars['BigInt']; - /** Timestamp of the event */ - timestamp: Scalars['BigInt']; -}; - -export type HasPaidAppealFee_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - item?: InputMaybe; - item_?: InputMaybe; - item_contains?: InputMaybe; - item_contains_nocase?: InputMaybe; - item_ends_with?: InputMaybe; - item_ends_with_nocase?: InputMaybe; - item_gt?: InputMaybe; - item_gte?: InputMaybe; - item_in?: InputMaybe>; - item_lt?: InputMaybe; - item_lte?: InputMaybe; - item_not?: InputMaybe; - item_not_contains?: InputMaybe; - item_not_contains_nocase?: InputMaybe; - item_not_ends_with?: InputMaybe; - item_not_ends_with_nocase?: InputMaybe; - item_not_in?: InputMaybe>; - item_not_starts_with?: InputMaybe; - item_not_starts_with_nocase?: InputMaybe; - item_starts_with?: InputMaybe; - item_starts_with_nocase?: InputMaybe; - or?: InputMaybe>>; - request?: InputMaybe; - request_?: InputMaybe; - request_contains?: InputMaybe; - request_contains_nocase?: InputMaybe; - request_ends_with?: InputMaybe; - request_ends_with_nocase?: InputMaybe; - request_gt?: InputMaybe; - request_gte?: InputMaybe; - request_in?: InputMaybe>; - request_lt?: InputMaybe; - request_lte?: InputMaybe; - request_not?: InputMaybe; - request_not_contains?: InputMaybe; - request_not_contains_nocase?: InputMaybe; - request_not_ends_with?: InputMaybe; - request_not_ends_with_nocase?: InputMaybe; - request_not_in?: InputMaybe>; - request_not_starts_with?: InputMaybe; - request_not_starts_with_nocase?: InputMaybe; - request_starts_with?: InputMaybe; - request_starts_with_nocase?: InputMaybe; - round?: InputMaybe; - round_?: InputMaybe; - round_contains?: InputMaybe; - round_contains_nocase?: InputMaybe; - round_ends_with?: InputMaybe; - round_ends_with_nocase?: InputMaybe; - round_gt?: InputMaybe; - round_gte?: InputMaybe; - round_in?: InputMaybe>; - round_lt?: InputMaybe; - round_lte?: InputMaybe; - round_not?: InputMaybe; - round_not_contains?: InputMaybe; - round_not_contains_nocase?: InputMaybe; - round_not_ends_with?: InputMaybe; - round_not_ends_with_nocase?: InputMaybe; - round_not_in?: InputMaybe>; - round_not_starts_with?: InputMaybe; - round_not_starts_with_nocase?: InputMaybe; - round_starts_with?: InputMaybe; - round_starts_with_nocase?: InputMaybe; - side?: InputMaybe; - side_gt?: InputMaybe; - side_gte?: InputMaybe; - side_in?: InputMaybe>; - side_lt?: InputMaybe; - side_lte?: InputMaybe; - side_not?: InputMaybe; - side_not_in?: InputMaybe>; - timestamp?: InputMaybe; - timestamp_gt?: InputMaybe; - timestamp_gte?: InputMaybe; - timestamp_in?: InputMaybe>; - timestamp_lt?: InputMaybe; - timestamp_lte?: InputMaybe; - timestamp_not?: InputMaybe; - timestamp_not_in?: InputMaybe>; -}; - -export enum HasPaidAppealFee_OrderBy { + id: Scalars['String']; + /** An object relationship */ + item?: Maybe; + item_id: Scalars['String']; + /** An object relationship */ + request?: Maybe; + request_id: Scalars['String']; + /** An object relationship */ + round?: Maybe; + round_id: Scalars['String']; + side: Scalars['numeric']; + timestamp: Scalars['numeric']; +}; + +/** Boolean expression to filter rows from the table "HasPaidAppealFee". All fields are combined with a logical 'AND'. */ +export type HasPaidAppealFee_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + round?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** Ordering options when selecting data from "HasPaidAppealFee". */ +export type HasPaidAppealFee_Order_By = { + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + round?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + timestamp?: InputMaybe; +}; + +/** select columns of table "HasPaidAppealFee" */ +export enum HasPaidAppealFee_Select_Column { + /** column name */ Id = 'id', - Item = 'item', - ItemData = 'item__data', - ItemDisputed = 'item__disputed', - ItemId = 'item__id', - ItemItemId = 'item__itemID', - ItemLatestChallenger = 'item__latestChallenger', - ItemLatestRequestResolutionTime = 'item__latestRequestResolutionTime', - ItemLatestRequestSubmissionTime = 'item__latestRequestSubmissionTime', - ItemLatestRequester = 'item__latestRequester', - ItemNumberOfRequests = 'item__numberOfRequests', - ItemRegistryAddress = 'item__registryAddress', - ItemStatus = 'item__status', - Request = 'request', - RequestArbitrator = 'request__arbitrator', - RequestArbitratorExtraData = 'request__arbitratorExtraData', - RequestChallenger = 'request__challenger', - RequestCreationTx = 'request__creationTx', - RequestDeposit = 'request__deposit', - RequestDisputeId = 'request__disputeID', - RequestDisputeOutcome = 'request__disputeOutcome', - RequestDisputed = 'request__disputed', - RequestFinalRuling = 'request__finalRuling', - RequestId = 'request__id', - RequestNumberOfRounds = 'request__numberOfRounds', - RequestRegistryAddress = 'request__registryAddress', - RequestRequestType = 'request__requestType', - RequestRequester = 'request__requester', - RequestResolutionTime = 'request__resolutionTime', - RequestResolutionTx = 'request__resolutionTx', - RequestResolved = 'request__resolved', - RequestSubmissionTime = 'request__submissionTime', - Round = 'round', - RoundAmountPaidChallenger = 'round__amountPaidChallenger', - RoundAmountPaidRequester = 'round__amountPaidRequester', - RoundAppealPeriodEnd = 'round__appealPeriodEnd', - RoundAppealPeriodStart = 'round__appealPeriodStart', - RoundAppealed = 'round__appealed', - RoundAppealedAt = 'round__appealedAt', - RoundCreationTime = 'round__creationTime', - RoundFeeRewards = 'round__feeRewards', - RoundHasPaidChallenger = 'round__hasPaidChallenger', - RoundHasPaidRequester = 'round__hasPaidRequester', - RoundId = 'round__id', - RoundRuling = 'round__ruling', - RoundRulingTime = 'round__rulingTime', - RoundTxHashAppealDecision = 'round__txHashAppealDecision', - RoundTxHashAppealPossible = 'round__txHashAppealPossible', + /** column name */ + ItemId = 'item_id', + /** column name */ + RequestId = 'request_id', + /** column name */ + RoundId = 'round_id', + /** column name */ Side = 'side', + /** column name */ Timestamp = 'timestamp' } +/** Streaming cursor of the table "HasPaidAppealFee" */ +export type HasPaidAppealFee_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: HasPaidAppealFee_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type HasPaidAppealFee_Stream_Cursor_Value_Input = { + id?: InputMaybe; + item_id?: InputMaybe; + request_id?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + timestamp?: 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 "Item" */ export type Item = { __typename?: 'Item'; - /** The data describing the item. */ - data: Scalars['Bytes']; - /** Whether the item is currently disputed. */ + data: Scalars['String']; disputed: Scalars['Boolean']; - /** The id of the item in the subgraph entity. Format: @ */ - id: Scalars['ID']; - /** The ID of the item in the registry. Also the keccak256 hash of the data. */ - itemID: Scalars['Bytes']; - /** The account that challenged the latest request, if any. */ - latestChallenger: Scalars['Bytes']; - /** The time the latest request was resolved. */ - latestRequestResolutionTime: Scalars['BigInt']; - /** Time when the latest request was made. */ - latestRequestSubmissionTime: Scalars['BigInt']; - /** The account that made the latest request to the item. */ - latestRequester: Scalars['Bytes']; - /** The total number of requests for this item. */ - numberOfRequests: Scalars['BigInt']; - /** The registry where this item was submitted. */ - registry: Registry; - /** The address of the registry this item was submitted. Redundant with registry field to allow use in conditionals. */ - registryAddress: Scalars['Bytes']; - /** List of status change requests made for the item in the form requests[requestID]. */ + id: Scalars['String']; + itemID: Scalars['String']; + latestChallenger: Scalars['String']; + latestRequestResolutionTime: Scalars['numeric']; + latestRequestSubmissionTime: Scalars['numeric']; + latestRequester: Scalars['String']; + numberOfRequests: Scalars['numeric']; + /** An object relationship */ + registry?: Maybe; + registryAddress: Scalars['String']; + registry_id: Scalars['String']; + /** An array relationship */ requests: Array; - /** The current status of the item. */ - status: Status; + status: Scalars['status']; }; +/** columns and relationships of "Item" */ export type ItemRequestsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; +/** columns and relationships of "ItemProp" */ export type ItemProp = { __typename?: 'ItemProp'; description: Scalars['String']; - id: Scalars['ID']; + id: Scalars['String']; isIdentifier: Scalars['Boolean']; - item: LItemMetadata; + /** An object relationship */ + item?: Maybe; + itemType: Scalars['String']; + item_id: Scalars['String']; label: Scalars['String']; - type: Scalars['String']; value?: Maybe; }; -export type ItemProp_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - description?: InputMaybe; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_gt?: InputMaybe; - description_gte?: InputMaybe; - description_in?: InputMaybe>; - description_lt?: InputMaybe; - description_lte?: InputMaybe; - description_not?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - description_not_in?: InputMaybe>; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isIdentifier?: InputMaybe; - isIdentifier_in?: InputMaybe>; - isIdentifier_not?: InputMaybe; - isIdentifier_not_in?: InputMaybe>; - item?: InputMaybe; - item_?: InputMaybe; - item_contains?: InputMaybe; - item_contains_nocase?: InputMaybe; - item_ends_with?: InputMaybe; - item_ends_with_nocase?: InputMaybe; - item_gt?: InputMaybe; - item_gte?: InputMaybe; - item_in?: InputMaybe>; - item_lt?: InputMaybe; - item_lte?: InputMaybe; - item_not?: InputMaybe; - item_not_contains?: InputMaybe; - item_not_contains_nocase?: InputMaybe; - item_not_ends_with?: InputMaybe; - item_not_ends_with_nocase?: InputMaybe; - item_not_in?: InputMaybe>; - item_not_starts_with?: InputMaybe; - item_not_starts_with_nocase?: InputMaybe; - item_starts_with?: InputMaybe; - item_starts_with_nocase?: InputMaybe; - label?: InputMaybe; - label_contains?: InputMaybe; - label_contains_nocase?: InputMaybe; - label_ends_with?: InputMaybe; - label_ends_with_nocase?: InputMaybe; - label_gt?: InputMaybe; - label_gte?: InputMaybe; - label_in?: InputMaybe>; - label_lt?: InputMaybe; - label_lte?: InputMaybe; - label_not?: InputMaybe; - label_not_contains?: InputMaybe; - label_not_contains_nocase?: InputMaybe; - label_not_ends_with?: InputMaybe; - label_not_ends_with_nocase?: InputMaybe; - label_not_in?: InputMaybe>; - label_not_starts_with?: InputMaybe; - label_not_starts_with_nocase?: InputMaybe; - label_starts_with?: InputMaybe; - label_starts_with_nocase?: InputMaybe; - or?: InputMaybe>>; - type?: InputMaybe; - type_contains?: InputMaybe; - type_contains_nocase?: InputMaybe; - type_ends_with?: InputMaybe; - type_ends_with_nocase?: InputMaybe; - type_gt?: InputMaybe; - type_gte?: InputMaybe; - type_in?: InputMaybe>; - type_lt?: InputMaybe; - type_lte?: InputMaybe; - type_not?: InputMaybe; - type_not_contains?: InputMaybe; - type_not_contains_nocase?: InputMaybe; - type_not_ends_with?: InputMaybe; - type_not_ends_with_nocase?: InputMaybe; - type_not_in?: InputMaybe>; - type_not_starts_with?: InputMaybe; - type_not_starts_with_nocase?: InputMaybe; - type_starts_with?: InputMaybe; - type_starts_with_nocase?: InputMaybe; - value?: InputMaybe; - value_contains?: InputMaybe; - value_contains_nocase?: InputMaybe; - value_ends_with?: InputMaybe; - value_ends_with_nocase?: InputMaybe; - value_gt?: InputMaybe; - value_gte?: InputMaybe; - value_in?: InputMaybe>; - value_lt?: InputMaybe; - value_lte?: InputMaybe; - value_not?: InputMaybe; - value_not_contains?: InputMaybe; - value_not_contains_nocase?: InputMaybe; - value_not_ends_with?: InputMaybe; - value_not_ends_with_nocase?: InputMaybe; - value_not_in?: InputMaybe>; - value_not_starts_with?: InputMaybe; - value_not_starts_with_nocase?: InputMaybe; - value_starts_with?: InputMaybe; - value_starts_with_nocase?: InputMaybe; -}; - -export enum ItemProp_OrderBy { +/** order by aggregate values of table "ItemProp" */ +export type ItemProp_Aggregate_Order_By = { + count?: InputMaybe; + max?: InputMaybe; + min?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "ItemProp". All fields are combined with a logical 'AND'. */ +export type ItemProp_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + description?: InputMaybe; + id?: InputMaybe; + isIdentifier?: InputMaybe; + item?: InputMaybe; + itemType?: InputMaybe; + item_id?: InputMaybe; + label?: InputMaybe; + value?: InputMaybe; +}; + +/** order by max() on columns of table "ItemProp" */ +export type ItemProp_Max_Order_By = { + description?: InputMaybe; + id?: InputMaybe; + itemType?: InputMaybe; + item_id?: InputMaybe; + label?: InputMaybe; + value?: InputMaybe; +}; + +/** order by min() on columns of table "ItemProp" */ +export type ItemProp_Min_Order_By = { + description?: InputMaybe; + id?: InputMaybe; + itemType?: InputMaybe; + item_id?: InputMaybe; + label?: InputMaybe; + value?: InputMaybe; +}; + +/** Ordering options when selecting data from "ItemProp". */ +export type ItemProp_Order_By = { + description?: InputMaybe; + id?: InputMaybe; + isIdentifier?: InputMaybe; + item?: InputMaybe; + itemType?: InputMaybe; + item_id?: InputMaybe; + label?: InputMaybe; + value?: InputMaybe; +}; + +/** select columns of table "ItemProp" */ +export enum ItemProp_Select_Column { + /** column name */ Description = 'description', + /** column name */ Id = 'id', + /** column name */ IsIdentifier = 'isIdentifier', - Item = 'item', - ItemId = 'item__id', - ItemKey0 = 'item__key0', - ItemKey1 = 'item__key1', - ItemKey2 = 'item__key2', - ItemKey3 = 'item__key3', - ItemKey4 = 'item__key4', - ItemKeywords = 'item__keywords', + /** column name */ + ItemType = 'itemType', + /** column name */ + ItemId = 'item_id', + /** column name */ Label = 'label', - Type = 'type', + /** column name */ Value = 'value' } -export type Item_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - data?: InputMaybe; - data_contains?: InputMaybe; - data_gt?: InputMaybe; - data_gte?: InputMaybe; - data_in?: InputMaybe>; - data_lt?: InputMaybe; - data_lte?: InputMaybe; - data_not?: InputMaybe; - data_not_contains?: InputMaybe; - data_not_in?: InputMaybe>; - disputed?: InputMaybe; - disputed_in?: InputMaybe>; - disputed_not?: InputMaybe; - disputed_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - itemID?: InputMaybe; - itemID_contains?: InputMaybe; - itemID_gt?: InputMaybe; - itemID_gte?: InputMaybe; - itemID_in?: InputMaybe>; - itemID_lt?: InputMaybe; - itemID_lte?: InputMaybe; - itemID_not?: InputMaybe; - itemID_not_contains?: InputMaybe; - itemID_not_in?: InputMaybe>; - latestChallenger?: InputMaybe; - latestChallenger_contains?: InputMaybe; - latestChallenger_gt?: InputMaybe; - latestChallenger_gte?: InputMaybe; - latestChallenger_in?: InputMaybe>; - latestChallenger_lt?: InputMaybe; - latestChallenger_lte?: InputMaybe; - latestChallenger_not?: InputMaybe; - latestChallenger_not_contains?: InputMaybe; - latestChallenger_not_in?: InputMaybe>; - latestRequestResolutionTime?: InputMaybe; - latestRequestResolutionTime_gt?: InputMaybe; - latestRequestResolutionTime_gte?: InputMaybe; - latestRequestResolutionTime_in?: InputMaybe>; - latestRequestResolutionTime_lt?: InputMaybe; - latestRequestResolutionTime_lte?: InputMaybe; - latestRequestResolutionTime_not?: InputMaybe; - latestRequestResolutionTime_not_in?: InputMaybe>; - latestRequestSubmissionTime?: InputMaybe; - latestRequestSubmissionTime_gt?: InputMaybe; - latestRequestSubmissionTime_gte?: InputMaybe; - latestRequestSubmissionTime_in?: InputMaybe>; - latestRequestSubmissionTime_lt?: InputMaybe; - latestRequestSubmissionTime_lte?: InputMaybe; - latestRequestSubmissionTime_not?: InputMaybe; - latestRequestSubmissionTime_not_in?: InputMaybe>; - latestRequester?: InputMaybe; - latestRequester_contains?: InputMaybe; - latestRequester_gt?: InputMaybe; - latestRequester_gte?: InputMaybe; - latestRequester_in?: InputMaybe>; - latestRequester_lt?: InputMaybe; - latestRequester_lte?: InputMaybe; - latestRequester_not?: InputMaybe; - latestRequester_not_contains?: InputMaybe; - latestRequester_not_in?: InputMaybe>; - numberOfRequests?: InputMaybe; - numberOfRequests_gt?: InputMaybe; - numberOfRequests_gte?: InputMaybe; - numberOfRequests_in?: InputMaybe>; - numberOfRequests_lt?: InputMaybe; - numberOfRequests_lte?: InputMaybe; - numberOfRequests_not?: InputMaybe; - numberOfRequests_not_in?: InputMaybe>; - or?: InputMaybe>>; - registry?: InputMaybe; - registryAddress?: InputMaybe; - registryAddress_contains?: InputMaybe; - registryAddress_gt?: InputMaybe; - registryAddress_gte?: InputMaybe; - registryAddress_in?: InputMaybe>; - registryAddress_lt?: InputMaybe; - registryAddress_lte?: InputMaybe; - registryAddress_not?: InputMaybe; - registryAddress_not_contains?: InputMaybe; - registryAddress_not_in?: InputMaybe>; - registry_?: InputMaybe; - registry_contains?: InputMaybe; - registry_contains_nocase?: InputMaybe; - registry_ends_with?: InputMaybe; - registry_ends_with_nocase?: InputMaybe; - registry_gt?: InputMaybe; - registry_gte?: InputMaybe; - registry_in?: InputMaybe>; - registry_lt?: InputMaybe; - registry_lte?: InputMaybe; - registry_not?: InputMaybe; - registry_not_contains?: InputMaybe; - registry_not_contains_nocase?: InputMaybe; - registry_not_ends_with?: InputMaybe; - registry_not_ends_with_nocase?: InputMaybe; - registry_not_in?: InputMaybe>; - registry_not_starts_with?: InputMaybe; - registry_not_starts_with_nocase?: InputMaybe; - registry_starts_with?: InputMaybe; - registry_starts_with_nocase?: InputMaybe; - requests_?: InputMaybe; - status?: InputMaybe; - status_in?: InputMaybe>; - status_not?: InputMaybe; - status_not_in?: InputMaybe>; -}; - -export enum Item_OrderBy { +/** Streaming cursor of the table "ItemProp" */ +export type ItemProp_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: ItemProp_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type ItemProp_Stream_Cursor_Value_Input = { + description?: InputMaybe; + id?: InputMaybe; + isIdentifier?: InputMaybe; + itemType?: InputMaybe; + item_id?: InputMaybe; + label?: InputMaybe; + value?: InputMaybe; +}; + +/** order by aggregate values of table "Item" */ +export type Item_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 "Item" */ +export type Item_Avg_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Item". All fields are combined with a logical 'AND'. */ +export type Item_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requests?: InputMaybe; + status?: InputMaybe; +}; + +/** order by max() on columns of table "Item" */ +export type Item_Max_Order_By = { + data?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; + +/** order by min() on columns of table "Item" */ +export type Item_Min_Order_By = { + data?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; + +/** Ordering options when selecting data from "Item". */ +export type Item_Order_By = { + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requests_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** select columns of table "Item" */ +export enum Item_Select_Column { + /** column name */ Data = 'data', + /** column name */ Disputed = 'disputed', + /** column name */ Id = 'id', + /** column name */ ItemId = 'itemID', + /** column name */ LatestChallenger = 'latestChallenger', + /** column name */ LatestRequestResolutionTime = 'latestRequestResolutionTime', + /** column name */ LatestRequestSubmissionTime = 'latestRequestSubmissionTime', + /** column name */ LatestRequester = 'latestRequester', + /** column name */ NumberOfRequests = 'numberOfRequests', - Registry = 'registry', + /** column name */ RegistryAddress = 'registryAddress', - RegistryConnectedTcr = 'registry__connectedTCR', - RegistryId = 'registry__id', - RegistryMetaEvidenceCount = 'registry__metaEvidenceCount', - RegistryNumberOfItems = 'registry__numberOfItems', - Requests = 'requests', + /** column name */ + RegistryId = 'registry_id', + /** column name */ Status = 'status' } +/** order by stddev() on columns of table "Item" */ +export type Item_Stddev_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "Item" */ +export type Item_Stddev_Pop_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "Item" */ +export type Item_Stddev_Samp_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** Streaming cursor of the table "Item" */ +export type Item_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Item_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Item_Stream_Cursor_Value_Input = { + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; + +/** order by sum() on columns of table "Item" */ +export type Item_Sum_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by var_pop() on columns of table "Item" */ +export type Item_Var_Pop_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by var_samp() on columns of table "Item" */ +export type Item_Var_Samp_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by variance() on columns of table "Item" */ +export type Item_Variance_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** columns and relationships of "LArbitrator" */ export type LArbitrator = { __typename?: 'LArbitrator'; - /** The address of the arbitrator */ - id: Scalars['ID']; -}; - -export type LArbitrator_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - or?: InputMaybe>>; -}; - -export enum LArbitrator_OrderBy { + id: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "LArbitrator". All fields are combined with a logical 'AND'. */ +export type LArbitrator_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; +}; + +/** Ordering options when selecting data from "LArbitrator". */ +export type LArbitrator_Order_By = { + id?: InputMaybe; +}; + +/** select columns of table "LArbitrator" */ +export enum LArbitrator_Select_Column { + /** column name */ Id = 'id' } +/** Streaming cursor of the table "LArbitrator" */ +export type LArbitrator_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LArbitrator_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LArbitrator_Stream_Cursor_Value_Input = { + id?: InputMaybe; +}; + +/** columns and relationships of "LContribution" */ export type LContribution = { __typename?: 'LContribution'; - /** The address that made the contribution. */ - contributor: Scalars['Bytes']; - /** The contribution ID. */ - id: Scalars['ID']; - /** The round the contribution was made to. */ - round: LRound; - /** To which side the contribution was made. */ - side: Scalars['BigInt']; - /** Whether there are any withdrawable contributions. */ + contributor: Scalars['String']; + id: Scalars['String']; + /** An object relationship */ + round?: Maybe; + round_id: Scalars['String']; + side: Scalars['numeric']; withdrawable: Scalars['Boolean']; }; -export type LContribution_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - contributor?: InputMaybe; - contributor_contains?: InputMaybe; - contributor_gt?: InputMaybe; - contributor_gte?: InputMaybe; - contributor_in?: InputMaybe>; - contributor_lt?: InputMaybe; - contributor_lte?: InputMaybe; - contributor_not?: InputMaybe; - contributor_not_contains?: InputMaybe; - contributor_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - or?: InputMaybe>>; - round?: InputMaybe; - round_?: InputMaybe; - round_contains?: InputMaybe; - round_contains_nocase?: InputMaybe; - round_ends_with?: InputMaybe; - round_ends_with_nocase?: InputMaybe; - round_gt?: InputMaybe; - round_gte?: InputMaybe; - round_in?: InputMaybe>; - round_lt?: InputMaybe; - round_lte?: InputMaybe; - round_not?: InputMaybe; - round_not_contains?: InputMaybe; - round_not_contains_nocase?: InputMaybe; - round_not_ends_with?: InputMaybe; - round_not_ends_with_nocase?: InputMaybe; - round_not_in?: InputMaybe>; - round_not_starts_with?: InputMaybe; - round_not_starts_with_nocase?: InputMaybe; - round_starts_with?: InputMaybe; - round_starts_with_nocase?: InputMaybe; - side?: InputMaybe; - side_gt?: InputMaybe; - side_gte?: InputMaybe; - side_in?: InputMaybe>; - side_lt?: InputMaybe; - side_lte?: InputMaybe; - side_not?: InputMaybe; - side_not_in?: InputMaybe>; - withdrawable?: InputMaybe; - withdrawable_in?: InputMaybe>; - withdrawable_not?: InputMaybe; - withdrawable_not_in?: InputMaybe>; -}; - -export enum LContribution_OrderBy { +/** order by aggregate values of table "LContribution" */ +export type LContribution_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 "LContribution" */ +export type LContribution_Avg_Order_By = { + side?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "LContribution". All fields are combined with a logical 'AND'. */ +export type LContribution_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + contributor?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + withdrawable?: InputMaybe; +}; + +/** order by max() on columns of table "LContribution" */ +export type LContribution_Max_Order_By = { + contributor?: InputMaybe; + id?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; +}; + +/** order by min() on columns of table "LContribution" */ +export type LContribution_Min_Order_By = { + contributor?: InputMaybe; + id?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; +}; + +/** Ordering options when selecting data from "LContribution". */ +export type LContribution_Order_By = { + contributor?: InputMaybe; + id?: InputMaybe; + round?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + withdrawable?: InputMaybe; +}; + +/** select columns of table "LContribution" */ +export enum LContribution_Select_Column { + /** column name */ Contributor = 'contributor', + /** column name */ Id = 'id', - Round = 'round', - RoundAmountPaidChallenger = 'round__amountPaidChallenger', - RoundAmountPaidRequester = 'round__amountPaidRequester', - RoundAppealPeriodEnd = 'round__appealPeriodEnd', - RoundAppealPeriodStart = 'round__appealPeriodStart', - RoundAppealed = 'round__appealed', - RoundAppealedAt = 'round__appealedAt', - RoundCreationTime = 'round__creationTime', - RoundFeeRewards = 'round__feeRewards', - RoundHasPaidChallenger = 'round__hasPaidChallenger', - RoundHasPaidRequester = 'round__hasPaidRequester', - RoundId = 'round__id', - RoundLastFundedChallenger = 'round__lastFundedChallenger', - RoundLastFundedRequester = 'round__lastFundedRequester', - RoundNumberOfContributions = 'round__numberOfContributions', - RoundRuling = 'round__ruling', - RoundRulingTime = 'round__rulingTime', - RoundTxHashAppealDecision = 'round__txHashAppealDecision', - RoundTxHashAppealPossible = 'round__txHashAppealPossible', + /** column name */ + RoundId = 'round_id', + /** column name */ Side = 'side', + /** column name */ Withdrawable = 'withdrawable' } +/** order by stddev() on columns of table "LContribution" */ +export type LContribution_Stddev_Order_By = { + side?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "LContribution" */ +export type LContribution_Stddev_Pop_Order_By = { + side?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "LContribution" */ +export type LContribution_Stddev_Samp_Order_By = { + side?: InputMaybe; +}; + +/** Streaming cursor of the table "LContribution" */ +export type LContribution_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LContribution_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LContribution_Stream_Cursor_Value_Input = { + contributor?: InputMaybe; + id?: InputMaybe; + round_id?: InputMaybe; + side?: InputMaybe; + withdrawable?: InputMaybe; +}; + +/** order by sum() on columns of table "LContribution" */ +export type LContribution_Sum_Order_By = { + side?: InputMaybe; +}; + +/** order by var_pop() on columns of table "LContribution" */ +export type LContribution_Var_Pop_Order_By = { + side?: InputMaybe; +}; + +/** order by var_samp() on columns of table "LContribution" */ +export type LContribution_Var_Samp_Order_By = { + side?: InputMaybe; +}; + +/** order by variance() on columns of table "LContribution" */ +export type LContribution_Variance_Order_By = { + side?: InputMaybe; +}; + +/** columns and relationships of "LItem" */ export type LItem = { __typename?: 'LItem'; - /** The data describing the item. */ data: Scalars['String']; - /** Whether the item is currently disputed. */ disputed: Scalars['Boolean']; - /** The id of the item in the subgraph entity. Format: @ */ - id: Scalars['ID']; - /** The ID of the item in the registry. Also the keccak256 hash of the data. */ - itemID: Scalars['Bytes']; - /** The account that challenged the latest request, if any. */ - latestChallenger: Scalars['Bytes']; - /** The time the latest request was resolved. */ - latestRequestResolutionTime: Scalars['BigInt']; - /** Time when the latest request was made. */ - latestRequestSubmissionTime: Scalars['BigInt']; - /** The account that made the latest request to the item. */ - latestRequester: Scalars['Bytes']; - metadata?: Maybe; - /** The total number of requests for this item. */ - numberOfRequests: Scalars['BigInt']; - /** The registry where this item was submitted. */ - registry: LRegistry; - /** The address of the registry this item was submitted. Redundant with registry field to allow use in conditionals. */ - registryAddress: Scalars['Bytes']; - /** List of status change requests made for the item in the form requests[requestID]. */ - requests: Array; - /** The current status of the item. */ - status: Status; -}; - - -export type LItemRequestsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type LItemMetadata = { - __typename?: 'LItemMetadata'; - /** ipfs cid - Litem ID */ - id: Scalars['ID']; - /** The item this metadata belongs to */ - item: LItem; - /** First indexable value of the json file. */ + id: Scalars['String']; + itemID: Scalars['String']; key0?: Maybe; - /** Second indexable value of the json file. */ key1?: Maybe; - /** Third indexable value of the json file. */ key2?: Maybe; - /** Fourth indexable value of the json file. */ key3?: Maybe; - /** Fifth indexable value of the json file. */ key4?: Maybe; - /** The item identifiers combined as a single string. */ keywords?: Maybe; - /** The parsed data describing the item. */ + latestChallenger: Scalars['String']; + latestRequestResolutionTime: Scalars['numeric']; + latestRequestSubmissionTime: Scalars['numeric']; + latestRequester: Scalars['String']; + numberOfRequests: Scalars['numeric']; + /** An array relationship */ props: Array; + /** An object relationship */ + registry?: Maybe; + registryAddress: Scalars['String']; + registry_id: Scalars['String']; + /** An array relationship */ + requests: Array; + status: Scalars['status']; }; -export type LItemMetadataPropsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type LItemMetadata_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - item_?: InputMaybe; - key0?: InputMaybe; - key0_contains?: InputMaybe; - key0_contains_nocase?: InputMaybe; - key0_ends_with?: InputMaybe; - key0_ends_with_nocase?: InputMaybe; - key0_gt?: InputMaybe; - key0_gte?: InputMaybe; - key0_in?: InputMaybe>; - key0_lt?: InputMaybe; - key0_lte?: InputMaybe; - key0_not?: InputMaybe; - key0_not_contains?: InputMaybe; - key0_not_contains_nocase?: InputMaybe; - key0_not_ends_with?: InputMaybe; - key0_not_ends_with_nocase?: InputMaybe; - key0_not_in?: InputMaybe>; - key0_not_starts_with?: InputMaybe; - key0_not_starts_with_nocase?: InputMaybe; - key0_starts_with?: InputMaybe; - key0_starts_with_nocase?: InputMaybe; - key1?: InputMaybe; - key1_contains?: InputMaybe; - key1_contains_nocase?: InputMaybe; - key1_ends_with?: InputMaybe; - key1_ends_with_nocase?: InputMaybe; - key1_gt?: InputMaybe; - key1_gte?: InputMaybe; - key1_in?: InputMaybe>; - key1_lt?: InputMaybe; - key1_lte?: InputMaybe; - key1_not?: InputMaybe; - key1_not_contains?: InputMaybe; - key1_not_contains_nocase?: InputMaybe; - key1_not_ends_with?: InputMaybe; - key1_not_ends_with_nocase?: InputMaybe; - key1_not_in?: InputMaybe>; - key1_not_starts_with?: InputMaybe; - key1_not_starts_with_nocase?: InputMaybe; - key1_starts_with?: InputMaybe; - key1_starts_with_nocase?: InputMaybe; - key2?: InputMaybe; - key2_contains?: InputMaybe; - key2_contains_nocase?: InputMaybe; - key2_ends_with?: InputMaybe; - key2_ends_with_nocase?: InputMaybe; - key2_gt?: InputMaybe; - key2_gte?: InputMaybe; - key2_in?: InputMaybe>; - key2_lt?: InputMaybe; - key2_lte?: InputMaybe; - key2_not?: InputMaybe; - key2_not_contains?: InputMaybe; - key2_not_contains_nocase?: InputMaybe; - key2_not_ends_with?: InputMaybe; - key2_not_ends_with_nocase?: InputMaybe; - key2_not_in?: InputMaybe>; - key2_not_starts_with?: InputMaybe; - key2_not_starts_with_nocase?: InputMaybe; - key2_starts_with?: InputMaybe; - key2_starts_with_nocase?: InputMaybe; - key3?: InputMaybe; - key3_contains?: InputMaybe; - key3_contains_nocase?: InputMaybe; - key3_ends_with?: InputMaybe; - key3_ends_with_nocase?: InputMaybe; - key3_gt?: InputMaybe; - key3_gte?: InputMaybe; - key3_in?: InputMaybe>; - key3_lt?: InputMaybe; - key3_lte?: InputMaybe; - key3_not?: InputMaybe; - key3_not_contains?: InputMaybe; - key3_not_contains_nocase?: InputMaybe; - key3_not_ends_with?: InputMaybe; - key3_not_ends_with_nocase?: InputMaybe; - key3_not_in?: InputMaybe>; - key3_not_starts_with?: InputMaybe; - key3_not_starts_with_nocase?: InputMaybe; - key3_starts_with?: InputMaybe; - key3_starts_with_nocase?: InputMaybe; - key4?: InputMaybe; - key4_contains?: InputMaybe; - key4_contains_nocase?: InputMaybe; - key4_ends_with?: InputMaybe; - key4_ends_with_nocase?: InputMaybe; - key4_gt?: InputMaybe; - key4_gte?: InputMaybe; - key4_in?: InputMaybe>; - key4_lt?: InputMaybe; - key4_lte?: InputMaybe; - key4_not?: InputMaybe; - key4_not_contains?: InputMaybe; - key4_not_contains_nocase?: InputMaybe; - key4_not_ends_with?: InputMaybe; - key4_not_ends_with_nocase?: InputMaybe; - key4_not_in?: InputMaybe>; - key4_not_starts_with?: InputMaybe; - key4_not_starts_with_nocase?: InputMaybe; - key4_starts_with?: InputMaybe; - key4_starts_with_nocase?: InputMaybe; - keywords?: InputMaybe; - keywords_contains?: InputMaybe; - keywords_contains_nocase?: InputMaybe; - keywords_ends_with?: InputMaybe; - keywords_ends_with_nocase?: InputMaybe; - keywords_gt?: InputMaybe; - keywords_gte?: InputMaybe; - keywords_in?: InputMaybe>; - keywords_lt?: InputMaybe; - keywords_lte?: InputMaybe; - keywords_not?: InputMaybe; - keywords_not_contains?: InputMaybe; - keywords_not_contains_nocase?: InputMaybe; - keywords_not_ends_with?: InputMaybe; - keywords_not_ends_with_nocase?: InputMaybe; - keywords_not_in?: InputMaybe>; - keywords_not_starts_with?: InputMaybe; - keywords_not_starts_with_nocase?: InputMaybe; - keywords_starts_with?: InputMaybe; - keywords_starts_with_nocase?: InputMaybe; - or?: InputMaybe>>; - props_?: InputMaybe; -}; - -export enum LItemMetadata_OrderBy { +/** columns and relationships of "LItem" */ +export type LItemPropsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "LItem" */ +export type LItemRequestsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "LItem" */ +export type LItem_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 "LItem" */ +export type LItem_Avg_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "LItem". All fields are combined with a logical 'AND'. */ +export type LItem_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + key0?: InputMaybe; + key1?: InputMaybe; + key2?: InputMaybe; + key3?: InputMaybe; + key4?: InputMaybe; + keywords?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + props?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requests?: InputMaybe; + status?: InputMaybe; +}; + +/** order by max() on columns of table "LItem" */ +export type LItem_Max_Order_By = { + data?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + key0?: InputMaybe; + key1?: InputMaybe; + key2?: InputMaybe; + key3?: InputMaybe; + key4?: InputMaybe; + keywords?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; + +/** order by min() on columns of table "LItem" */ +export type LItem_Min_Order_By = { + data?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + key0?: InputMaybe; + key1?: InputMaybe; + key2?: InputMaybe; + key3?: InputMaybe; + key4?: InputMaybe; + keywords?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; + +/** Ordering options when selecting data from "LItem". */ +export type LItem_Order_By = { + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + key0?: InputMaybe; + key1?: InputMaybe; + key2?: InputMaybe; + key3?: InputMaybe; + key4?: InputMaybe; + keywords?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + props_aggregate?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requests_aggregate?: InputMaybe; + status?: InputMaybe; +}; + +/** select columns of table "LItem" */ +export enum LItem_Select_Column { + /** column name */ + Data = 'data', + /** column name */ + Disputed = 'disputed', + /** column name */ Id = 'id', - Item = 'item', - ItemData = 'item__data', - ItemDisputed = 'item__disputed', - ItemId = 'item__id', - ItemItemId = 'item__itemID', - ItemLatestChallenger = 'item__latestChallenger', - ItemLatestRequestResolutionTime = 'item__latestRequestResolutionTime', - ItemLatestRequestSubmissionTime = 'item__latestRequestSubmissionTime', - ItemLatestRequester = 'item__latestRequester', - ItemNumberOfRequests = 'item__numberOfRequests', - ItemRegistryAddress = 'item__registryAddress', - ItemStatus = 'item__status', + /** column name */ + ItemId = 'itemID', + /** column name */ Key0 = 'key0', + /** column name */ Key1 = 'key1', + /** column name */ Key2 = 'key2', + /** column name */ Key3 = 'key3', + /** column name */ Key4 = 'key4', + /** column name */ Keywords = 'keywords', - Props = 'props' -} - -export type LItem_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - data?: InputMaybe; - data_contains?: InputMaybe; - data_contains_nocase?: InputMaybe; - data_ends_with?: InputMaybe; - data_ends_with_nocase?: InputMaybe; - data_gt?: InputMaybe; - data_gte?: InputMaybe; - data_in?: InputMaybe>; - data_lt?: InputMaybe; - data_lte?: InputMaybe; - data_not?: InputMaybe; - data_not_contains?: InputMaybe; - data_not_contains_nocase?: InputMaybe; - data_not_ends_with?: InputMaybe; - data_not_ends_with_nocase?: InputMaybe; - data_not_in?: InputMaybe>; - data_not_starts_with?: InputMaybe; - data_not_starts_with_nocase?: InputMaybe; - data_starts_with?: InputMaybe; - data_starts_with_nocase?: InputMaybe; - disputed?: InputMaybe; - disputed_in?: InputMaybe>; - disputed_not?: InputMaybe; - disputed_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - itemID?: InputMaybe; - itemID_contains?: InputMaybe; - itemID_gt?: InputMaybe; - itemID_gte?: InputMaybe; - itemID_in?: InputMaybe>; - itemID_lt?: InputMaybe; - itemID_lte?: InputMaybe; - itemID_not?: InputMaybe; - itemID_not_contains?: InputMaybe; - itemID_not_in?: InputMaybe>; - latestChallenger?: InputMaybe; - latestChallenger_contains?: InputMaybe; - latestChallenger_gt?: InputMaybe; - latestChallenger_gte?: InputMaybe; - latestChallenger_in?: InputMaybe>; - latestChallenger_lt?: InputMaybe; - latestChallenger_lte?: InputMaybe; - latestChallenger_not?: InputMaybe; - latestChallenger_not_contains?: InputMaybe; - latestChallenger_not_in?: InputMaybe>; - latestRequestResolutionTime?: InputMaybe; - latestRequestResolutionTime_gt?: InputMaybe; - latestRequestResolutionTime_gte?: InputMaybe; - latestRequestResolutionTime_in?: InputMaybe>; - latestRequestResolutionTime_lt?: InputMaybe; - latestRequestResolutionTime_lte?: InputMaybe; - latestRequestResolutionTime_not?: InputMaybe; - latestRequestResolutionTime_not_in?: InputMaybe>; - latestRequestSubmissionTime?: InputMaybe; - latestRequestSubmissionTime_gt?: InputMaybe; - latestRequestSubmissionTime_gte?: InputMaybe; - latestRequestSubmissionTime_in?: InputMaybe>; - latestRequestSubmissionTime_lt?: InputMaybe; - latestRequestSubmissionTime_lte?: InputMaybe; - latestRequestSubmissionTime_not?: InputMaybe; - latestRequestSubmissionTime_not_in?: InputMaybe>; - latestRequester?: InputMaybe; - latestRequester_contains?: InputMaybe; - latestRequester_gt?: InputMaybe; - latestRequester_gte?: InputMaybe; - latestRequester_in?: InputMaybe>; - latestRequester_lt?: InputMaybe; - latestRequester_lte?: InputMaybe; - latestRequester_not?: InputMaybe; - latestRequester_not_contains?: InputMaybe; - latestRequester_not_in?: InputMaybe>; - metadata?: InputMaybe; - metadata_?: InputMaybe; - metadata_contains?: InputMaybe; - metadata_contains_nocase?: InputMaybe; - metadata_ends_with?: InputMaybe; - metadata_ends_with_nocase?: InputMaybe; - metadata_gt?: InputMaybe; - metadata_gte?: InputMaybe; - metadata_in?: InputMaybe>; - metadata_lt?: InputMaybe; - metadata_lte?: InputMaybe; - metadata_not?: InputMaybe; - metadata_not_contains?: InputMaybe; - metadata_not_contains_nocase?: InputMaybe; - metadata_not_ends_with?: InputMaybe; - metadata_not_ends_with_nocase?: InputMaybe; - metadata_not_in?: InputMaybe>; - metadata_not_starts_with?: InputMaybe; - metadata_not_starts_with_nocase?: InputMaybe; - metadata_starts_with?: InputMaybe; - metadata_starts_with_nocase?: InputMaybe; - numberOfRequests?: InputMaybe; - numberOfRequests_gt?: InputMaybe; - numberOfRequests_gte?: InputMaybe; - numberOfRequests_in?: InputMaybe>; - numberOfRequests_lt?: InputMaybe; - numberOfRequests_lte?: InputMaybe; - numberOfRequests_not?: InputMaybe; - numberOfRequests_not_in?: InputMaybe>; - or?: InputMaybe>>; - registry?: InputMaybe; - registryAddress?: InputMaybe; - registryAddress_contains?: InputMaybe; - registryAddress_gt?: InputMaybe; - registryAddress_gte?: InputMaybe; - registryAddress_in?: InputMaybe>; - registryAddress_lt?: InputMaybe; - registryAddress_lte?: InputMaybe; - registryAddress_not?: InputMaybe; - registryAddress_not_contains?: InputMaybe; - registryAddress_not_in?: InputMaybe>; - registry_?: InputMaybe; - registry_contains?: InputMaybe; - registry_contains_nocase?: InputMaybe; - registry_ends_with?: InputMaybe; - registry_ends_with_nocase?: InputMaybe; - registry_gt?: InputMaybe; - registry_gte?: InputMaybe; - registry_in?: InputMaybe>; - registry_lt?: InputMaybe; - registry_lte?: InputMaybe; - registry_not?: InputMaybe; - registry_not_contains?: InputMaybe; - registry_not_contains_nocase?: InputMaybe; - registry_not_ends_with?: InputMaybe; - registry_not_ends_with_nocase?: InputMaybe; - registry_not_in?: InputMaybe>; - registry_not_starts_with?: InputMaybe; - registry_not_starts_with_nocase?: InputMaybe; - registry_starts_with?: InputMaybe; - registry_starts_with_nocase?: InputMaybe; - requests_?: InputMaybe; - status?: InputMaybe; - status_in?: InputMaybe>; - status_not?: InputMaybe; - status_not_in?: InputMaybe>; -}; - -export enum LItem_OrderBy { - Data = 'data', - Disputed = 'disputed', - Id = 'id', - ItemId = 'itemID', + /** column name */ LatestChallenger = 'latestChallenger', + /** column name */ LatestRequestResolutionTime = 'latestRequestResolutionTime', + /** column name */ LatestRequestSubmissionTime = 'latestRequestSubmissionTime', + /** column name */ LatestRequester = 'latestRequester', - Metadata = 'metadata', - MetadataId = 'metadata__id', - MetadataKey0 = 'metadata__key0', - MetadataKey1 = 'metadata__key1', - MetadataKey2 = 'metadata__key2', - MetadataKey3 = 'metadata__key3', - MetadataKey4 = 'metadata__key4', - MetadataKeywords = 'metadata__keywords', + /** column name */ NumberOfRequests = 'numberOfRequests', - Registry = 'registry', + /** column name */ RegistryAddress = 'registryAddress', - RegistryConnectedTcr = 'registry__connectedTCR', - RegistryId = 'registry__id', - RegistryMetaEvidenceCount = 'registry__metaEvidenceCount', - RegistryNumberOfAbsent = 'registry__numberOfAbsent', - RegistryNumberOfChallengedClearing = 'registry__numberOfChallengedClearing', - RegistryNumberOfChallengedRegistrations = 'registry__numberOfChallengedRegistrations', - RegistryNumberOfClearingRequested = 'registry__numberOfClearingRequested', - RegistryNumberOfRegistered = 'registry__numberOfRegistered', - RegistryNumberOfRegistrationRequested = 'registry__numberOfRegistrationRequested', - Requests = 'requests', + /** column name */ + RegistryId = 'registry_id', + /** column name */ Status = 'status' } -export type LRegistry = { - __typename?: 'LRegistry'; - /** The current removal meta evidence */ - clearingMetaEvidence: MetaEvidence; - /** Connected TCR. Can be the 0 address. In practice, will never be null. */ - connectedTCR?: Maybe; - /** The registry address */ - id: Scalars['ID']; - /** The items submitted to this list */ - items: Array; - /** The number of MetaEvidence event logs emitted. */ - metaEvidenceCount: Scalars['BigInt']; - metadata?: Maybe; - /** The total number of items in absent state. */ - numberOfAbsent: Scalars['BigInt']; - /** The total number of items in the challenged removal state. */ - numberOfChallengedClearing: Scalars['BigInt']; - /** The total number of items in the challenged registration state. */ - numberOfChallengedRegistrations: Scalars['BigInt']; - numberOfClearingRequested: Scalars['BigInt']; - /** The total number of items in registered state. */ - numberOfRegistered: Scalars['BigInt']; - /** The total number of items in the registration requested state. */ - numberOfRegistrationRequested: Scalars['BigInt']; - /** The current registration meta evidence */ - registrationMetaEvidence: MetaEvidence; - /** The requests submitted to this list */ - requests: Array; +/** order by stddev() on columns of table "LItem" */ +export type LItem_Stddev_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "LItem" */ +export type LItem_Stddev_Pop_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; }; +/** order by stddev_samp() on columns of table "LItem" */ +export type LItem_Stddev_Samp_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; -export type LRegistryItemsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; +/** Streaming cursor of the table "LItem" */ +export type LItem_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LItem_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; }; +/** Initial value of the column from where the streaming should start */ +export type LItem_Stream_Cursor_Value_Input = { + data?: InputMaybe; + disputed?: InputMaybe; + id?: InputMaybe; + itemID?: InputMaybe; + key0?: InputMaybe; + key1?: InputMaybe; + key2?: InputMaybe; + key3?: InputMaybe; + key4?: InputMaybe; + keywords?: InputMaybe; + latestChallenger?: InputMaybe; + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + latestRequester?: InputMaybe; + numberOfRequests?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + status?: InputMaybe; +}; -export type LRegistryRequestsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; +/** order by sum() on columns of table "LItem" */ +export type LItem_Sum_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by var_pop() on columns of table "LItem" */ +export type LItem_Var_Pop_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** order by var_samp() on columns of table "LItem" */ +export type LItem_Var_Samp_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; }; -export type LRegistryMetadata = { - __typename?: 'LRegistryMetadata'; +/** order by variance() on columns of table "LItem" */ +export type LItem_Variance_Order_By = { + latestRequestResolutionTime?: InputMaybe; + latestRequestSubmissionTime?: InputMaybe; + numberOfRequests?: InputMaybe; +}; + +/** columns and relationships of "LRegistry" */ +export type LRegistry = { + __typename?: 'LRegistry'; + /** An object relationship */ + clearingMetaEvidence?: Maybe; + clearingMetaEvidence_id: Scalars['String']; + connectedTCR?: Maybe; description?: Maybe; - id: Scalars['ID']; + id: Scalars['String']; isConnectedTCR?: Maybe; isTCRofTcrs?: Maybe; itemName?: Maybe; itemNamePlural?: Maybe; + /** An array relationship */ + items: Array; + metaEvidenceCount: Scalars['numeric']; + numberOfAbsent: Scalars['numeric']; + numberOfChallengedClearing: Scalars['numeric']; + numberOfChallengedRegistrations: Scalars['numeric']; + numberOfClearingRequested: Scalars['numeric']; + numberOfRegistered: Scalars['numeric']; + numberOfRegistrationRequested: Scalars['numeric']; parentTCRAddress?: Maybe; - registry?: Maybe; + /** An object relationship */ + registrationMetaEvidence?: Maybe; + registrationMetaEvidence_id: Scalars['String']; relTcrDisabled?: Maybe; + /** An array relationship */ + requests: Array; requireRemovalEvidence?: Maybe; title?: Maybe; }; -export type LRegistryMetadata_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - description?: InputMaybe; - description_contains?: InputMaybe; - description_contains_nocase?: InputMaybe; - description_ends_with?: InputMaybe; - description_ends_with_nocase?: InputMaybe; - description_gt?: InputMaybe; - description_gte?: InputMaybe; - description_in?: InputMaybe>; - description_lt?: InputMaybe; - description_lte?: InputMaybe; - description_not?: InputMaybe; - description_not_contains?: InputMaybe; - description_not_contains_nocase?: InputMaybe; - description_not_ends_with?: InputMaybe; - description_not_ends_with_nocase?: InputMaybe; - description_not_in?: InputMaybe>; - description_not_starts_with?: InputMaybe; - description_not_starts_with_nocase?: InputMaybe; - description_starts_with?: InputMaybe; - description_starts_with_nocase?: InputMaybe; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - isConnectedTCR?: InputMaybe; - isConnectedTCR_in?: InputMaybe>; - isConnectedTCR_not?: InputMaybe; - isConnectedTCR_not_in?: InputMaybe>; - isTCRofTcrs?: InputMaybe; - isTCRofTcrs_in?: InputMaybe>; - isTCRofTcrs_not?: InputMaybe; - isTCRofTcrs_not_in?: InputMaybe>; - itemName?: InputMaybe; - itemNamePlural?: InputMaybe; - itemNamePlural_contains?: InputMaybe; - itemNamePlural_contains_nocase?: InputMaybe; - itemNamePlural_ends_with?: InputMaybe; - itemNamePlural_ends_with_nocase?: InputMaybe; - itemNamePlural_gt?: InputMaybe; - itemNamePlural_gte?: InputMaybe; - itemNamePlural_in?: InputMaybe>; - itemNamePlural_lt?: InputMaybe; - itemNamePlural_lte?: InputMaybe; - itemNamePlural_not?: InputMaybe; - itemNamePlural_not_contains?: InputMaybe; - itemNamePlural_not_contains_nocase?: InputMaybe; - itemNamePlural_not_ends_with?: InputMaybe; - itemNamePlural_not_ends_with_nocase?: InputMaybe; - itemNamePlural_not_in?: InputMaybe>; - itemNamePlural_not_starts_with?: InputMaybe; - itemNamePlural_not_starts_with_nocase?: InputMaybe; - itemNamePlural_starts_with?: InputMaybe; - itemNamePlural_starts_with_nocase?: InputMaybe; - itemName_contains?: InputMaybe; - itemName_contains_nocase?: InputMaybe; - itemName_ends_with?: InputMaybe; - itemName_ends_with_nocase?: InputMaybe; - itemName_gt?: InputMaybe; - itemName_gte?: InputMaybe; - itemName_in?: InputMaybe>; - itemName_lt?: InputMaybe; - itemName_lte?: InputMaybe; - itemName_not?: InputMaybe; - itemName_not_contains?: InputMaybe; - itemName_not_contains_nocase?: InputMaybe; - itemName_not_ends_with?: InputMaybe; - itemName_not_ends_with_nocase?: InputMaybe; - itemName_not_in?: InputMaybe>; - itemName_not_starts_with?: InputMaybe; - itemName_not_starts_with_nocase?: InputMaybe; - itemName_starts_with?: InputMaybe; - itemName_starts_with_nocase?: InputMaybe; - or?: InputMaybe>>; - parentTCRAddress?: InputMaybe; - parentTCRAddress_contains?: InputMaybe; - parentTCRAddress_contains_nocase?: InputMaybe; - parentTCRAddress_ends_with?: InputMaybe; - parentTCRAddress_ends_with_nocase?: InputMaybe; - parentTCRAddress_gt?: InputMaybe; - parentTCRAddress_gte?: InputMaybe; - parentTCRAddress_in?: InputMaybe>; - parentTCRAddress_lt?: InputMaybe; - parentTCRAddress_lte?: InputMaybe; - parentTCRAddress_not?: InputMaybe; - parentTCRAddress_not_contains?: InputMaybe; - parentTCRAddress_not_contains_nocase?: InputMaybe; - parentTCRAddress_not_ends_with?: InputMaybe; - parentTCRAddress_not_ends_with_nocase?: InputMaybe; - parentTCRAddress_not_in?: InputMaybe>; - parentTCRAddress_not_starts_with?: InputMaybe; - parentTCRAddress_not_starts_with_nocase?: InputMaybe; - parentTCRAddress_starts_with?: InputMaybe; - parentTCRAddress_starts_with_nocase?: InputMaybe; - registry_?: InputMaybe; - relTcrDisabled?: InputMaybe; - relTcrDisabled_in?: InputMaybe>; - relTcrDisabled_not?: InputMaybe; - relTcrDisabled_not_in?: InputMaybe>; - requireRemovalEvidence?: InputMaybe; - requireRemovalEvidence_in?: InputMaybe>; - requireRemovalEvidence_not?: InputMaybe; - requireRemovalEvidence_not_in?: InputMaybe>; - title?: InputMaybe; - title_contains?: InputMaybe; - title_contains_nocase?: InputMaybe; - title_ends_with?: InputMaybe; - title_ends_with_nocase?: InputMaybe; - title_gt?: InputMaybe; - title_gte?: InputMaybe; - title_in?: InputMaybe>; - title_lt?: InputMaybe; - title_lte?: InputMaybe; - title_not?: InputMaybe; - title_not_contains?: InputMaybe; - title_not_contains_nocase?: InputMaybe; - title_not_ends_with?: InputMaybe; - title_not_ends_with_nocase?: InputMaybe; - title_not_in?: InputMaybe>; - title_not_starts_with?: InputMaybe; - title_not_starts_with_nocase?: InputMaybe; - title_starts_with?: InputMaybe; - title_starts_with_nocase?: InputMaybe; -}; - -export enum LRegistryMetadata_OrderBy { + +/** columns and relationships of "LRegistry" */ +export type LRegistryItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "LRegistry" */ +export type LRegistryRequestsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "LRegistry". All fields are combined with a logical 'AND'. */ +export type LRegistry_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + clearingMetaEvidence?: InputMaybe; + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + isConnectedTCR?: InputMaybe; + isTCRofTcrs?: InputMaybe; + itemName?: InputMaybe; + itemNamePlural?: InputMaybe; + items?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfAbsent?: InputMaybe; + numberOfChallengedClearing?: InputMaybe; + numberOfChallengedRegistrations?: InputMaybe; + numberOfClearingRequested?: InputMaybe; + numberOfRegistered?: InputMaybe; + numberOfRegistrationRequested?: InputMaybe; + parentTCRAddress?: InputMaybe; + registrationMetaEvidence?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; + relTcrDisabled?: InputMaybe; + requests?: InputMaybe; + requireRemovalEvidence?: InputMaybe; + title?: InputMaybe; +}; + +/** Ordering options when selecting data from "LRegistry". */ +export type LRegistry_Order_By = { + clearingMetaEvidence?: InputMaybe; + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + isConnectedTCR?: InputMaybe; + isTCRofTcrs?: InputMaybe; + itemName?: InputMaybe; + itemNamePlural?: InputMaybe; + items_aggregate?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfAbsent?: InputMaybe; + numberOfChallengedClearing?: InputMaybe; + numberOfChallengedRegistrations?: InputMaybe; + numberOfClearingRequested?: InputMaybe; + numberOfRegistered?: InputMaybe; + numberOfRegistrationRequested?: InputMaybe; + parentTCRAddress?: InputMaybe; + registrationMetaEvidence?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; + relTcrDisabled?: InputMaybe; + requests_aggregate?: InputMaybe; + requireRemovalEvidence?: InputMaybe; + title?: InputMaybe; +}; + +/** select columns of table "LRegistry" */ +export enum LRegistry_Select_Column { + /** column name */ + ClearingMetaEvidenceId = 'clearingMetaEvidence_id', + /** column name */ + ConnectedTcr = 'connectedTCR', + /** column name */ Description = 'description', + /** column name */ Id = 'id', + /** column name */ IsConnectedTcr = 'isConnectedTCR', + /** column name */ IsTcRofTcrs = 'isTCRofTcrs', + /** column name */ ItemName = 'itemName', + /** column name */ ItemNamePlural = 'itemNamePlural', - ParentTcrAddress = 'parentTCRAddress', - Registry = 'registry', - RegistryConnectedTcr = 'registry__connectedTCR', - RegistryId = 'registry__id', - RegistryMetaEvidenceCount = 'registry__metaEvidenceCount', - RegistryNumberOfAbsent = 'registry__numberOfAbsent', - RegistryNumberOfChallengedClearing = 'registry__numberOfChallengedClearing', - RegistryNumberOfChallengedRegistrations = 'registry__numberOfChallengedRegistrations', - RegistryNumberOfClearingRequested = 'registry__numberOfClearingRequested', - RegistryNumberOfRegistered = 'registry__numberOfRegistered', - RegistryNumberOfRegistrationRequested = 'registry__numberOfRegistrationRequested', - RelTcrDisabled = 'relTcrDisabled', - RequireRemovalEvidence = 'requireRemovalEvidence', - Title = 'title' -} - -export type LRegistry_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - clearingMetaEvidence?: InputMaybe; - clearingMetaEvidence_?: InputMaybe; - clearingMetaEvidence_contains?: InputMaybe; - clearingMetaEvidence_contains_nocase?: InputMaybe; - clearingMetaEvidence_ends_with?: InputMaybe; - clearingMetaEvidence_ends_with_nocase?: InputMaybe; - clearingMetaEvidence_gt?: InputMaybe; - clearingMetaEvidence_gte?: InputMaybe; - clearingMetaEvidence_in?: InputMaybe>; - clearingMetaEvidence_lt?: InputMaybe; - clearingMetaEvidence_lte?: InputMaybe; - clearingMetaEvidence_not?: InputMaybe; - clearingMetaEvidence_not_contains?: InputMaybe; - clearingMetaEvidence_not_contains_nocase?: InputMaybe; - clearingMetaEvidence_not_ends_with?: InputMaybe; - clearingMetaEvidence_not_ends_with_nocase?: InputMaybe; - clearingMetaEvidence_not_in?: InputMaybe>; - clearingMetaEvidence_not_starts_with?: InputMaybe; - clearingMetaEvidence_not_starts_with_nocase?: InputMaybe; - clearingMetaEvidence_starts_with?: InputMaybe; - clearingMetaEvidence_starts_with_nocase?: InputMaybe; - connectedTCR?: InputMaybe; - connectedTCR_contains?: InputMaybe; - connectedTCR_gt?: InputMaybe; - connectedTCR_gte?: InputMaybe; - connectedTCR_in?: InputMaybe>; - connectedTCR_lt?: InputMaybe; - connectedTCR_lte?: InputMaybe; - connectedTCR_not?: InputMaybe; - connectedTCR_not_contains?: InputMaybe; - connectedTCR_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - items_?: InputMaybe; - metaEvidenceCount?: InputMaybe; - metaEvidenceCount_gt?: InputMaybe; - metaEvidenceCount_gte?: InputMaybe; - metaEvidenceCount_in?: InputMaybe>; - metaEvidenceCount_lt?: InputMaybe; - metaEvidenceCount_lte?: InputMaybe; - metaEvidenceCount_not?: InputMaybe; - metaEvidenceCount_not_in?: InputMaybe>; - metadata?: InputMaybe; - metadata_?: InputMaybe; - metadata_contains?: InputMaybe; - metadata_contains_nocase?: InputMaybe; - metadata_ends_with?: InputMaybe; - metadata_ends_with_nocase?: InputMaybe; - metadata_gt?: InputMaybe; - metadata_gte?: InputMaybe; - metadata_in?: InputMaybe>; - metadata_lt?: InputMaybe; - metadata_lte?: InputMaybe; - metadata_not?: InputMaybe; - metadata_not_contains?: InputMaybe; - metadata_not_contains_nocase?: InputMaybe; - metadata_not_ends_with?: InputMaybe; - metadata_not_ends_with_nocase?: InputMaybe; - metadata_not_in?: InputMaybe>; - metadata_not_starts_with?: InputMaybe; - metadata_not_starts_with_nocase?: InputMaybe; - metadata_starts_with?: InputMaybe; - metadata_starts_with_nocase?: InputMaybe; - numberOfAbsent?: InputMaybe; - numberOfAbsent_gt?: InputMaybe; - numberOfAbsent_gte?: InputMaybe; - numberOfAbsent_in?: InputMaybe>; - numberOfAbsent_lt?: InputMaybe; - numberOfAbsent_lte?: InputMaybe; - numberOfAbsent_not?: InputMaybe; - numberOfAbsent_not_in?: InputMaybe>; - numberOfChallengedClearing?: InputMaybe; - numberOfChallengedClearing_gt?: InputMaybe; - numberOfChallengedClearing_gte?: InputMaybe; - numberOfChallengedClearing_in?: InputMaybe>; - numberOfChallengedClearing_lt?: InputMaybe; - numberOfChallengedClearing_lte?: InputMaybe; - numberOfChallengedClearing_not?: InputMaybe; - numberOfChallengedClearing_not_in?: InputMaybe>; - numberOfChallengedRegistrations?: InputMaybe; - numberOfChallengedRegistrations_gt?: InputMaybe; - numberOfChallengedRegistrations_gte?: InputMaybe; - numberOfChallengedRegistrations_in?: InputMaybe>; - numberOfChallengedRegistrations_lt?: InputMaybe; - numberOfChallengedRegistrations_lte?: InputMaybe; - numberOfChallengedRegistrations_not?: InputMaybe; - numberOfChallengedRegistrations_not_in?: InputMaybe>; - numberOfClearingRequested?: InputMaybe; - numberOfClearingRequested_gt?: InputMaybe; - numberOfClearingRequested_gte?: InputMaybe; - numberOfClearingRequested_in?: InputMaybe>; - numberOfClearingRequested_lt?: InputMaybe; - numberOfClearingRequested_lte?: InputMaybe; - numberOfClearingRequested_not?: InputMaybe; - numberOfClearingRequested_not_in?: InputMaybe>; - numberOfRegistered?: InputMaybe; - numberOfRegistered_gt?: InputMaybe; - numberOfRegistered_gte?: InputMaybe; - numberOfRegistered_in?: InputMaybe>; - numberOfRegistered_lt?: InputMaybe; - numberOfRegistered_lte?: InputMaybe; - numberOfRegistered_not?: InputMaybe; - numberOfRegistered_not_in?: InputMaybe>; - numberOfRegistrationRequested?: InputMaybe; - numberOfRegistrationRequested_gt?: InputMaybe; - numberOfRegistrationRequested_gte?: InputMaybe; - numberOfRegistrationRequested_in?: InputMaybe>; - numberOfRegistrationRequested_lt?: InputMaybe; - numberOfRegistrationRequested_lte?: InputMaybe; - numberOfRegistrationRequested_not?: InputMaybe; - numberOfRegistrationRequested_not_in?: InputMaybe>; - or?: InputMaybe>>; - registrationMetaEvidence?: InputMaybe; - registrationMetaEvidence_?: InputMaybe; - registrationMetaEvidence_contains?: InputMaybe; - registrationMetaEvidence_contains_nocase?: InputMaybe; - registrationMetaEvidence_ends_with?: InputMaybe; - registrationMetaEvidence_ends_with_nocase?: InputMaybe; - registrationMetaEvidence_gt?: InputMaybe; - registrationMetaEvidence_gte?: InputMaybe; - registrationMetaEvidence_in?: InputMaybe>; - registrationMetaEvidence_lt?: InputMaybe; - registrationMetaEvidence_lte?: InputMaybe; - registrationMetaEvidence_not?: InputMaybe; - registrationMetaEvidence_not_contains?: InputMaybe; - registrationMetaEvidence_not_contains_nocase?: InputMaybe; - registrationMetaEvidence_not_ends_with?: InputMaybe; - registrationMetaEvidence_not_ends_with_nocase?: InputMaybe; - registrationMetaEvidence_not_in?: InputMaybe>; - registrationMetaEvidence_not_starts_with?: InputMaybe; - registrationMetaEvidence_not_starts_with_nocase?: InputMaybe; - registrationMetaEvidence_starts_with?: InputMaybe; - registrationMetaEvidence_starts_with_nocase?: InputMaybe; - requests_?: InputMaybe; -}; - -export enum LRegistry_OrderBy { - ClearingMetaEvidence = 'clearingMetaEvidence', - ClearingMetaEvidenceUri = 'clearingMetaEvidence__URI', - ClearingMetaEvidenceId = 'clearingMetaEvidence__id', - ConnectedTcr = 'connectedTCR', - Id = 'id', - Items = 'items', + /** column name */ MetaEvidenceCount = 'metaEvidenceCount', - Metadata = 'metadata', - MetadataDescription = 'metadata__description', - MetadataId = 'metadata__id', - MetadataIsConnectedTcr = 'metadata__isConnectedTCR', - MetadataIsTcRofTcrs = 'metadata__isTCRofTcrs', - MetadataItemName = 'metadata__itemName', - MetadataItemNamePlural = 'metadata__itemNamePlural', - MetadataParentTcrAddress = 'metadata__parentTCRAddress', - MetadataRelTcrDisabled = 'metadata__relTcrDisabled', - MetadataRequireRemovalEvidence = 'metadata__requireRemovalEvidence', - MetadataTitle = 'metadata__title', + /** column name */ NumberOfAbsent = 'numberOfAbsent', + /** column name */ NumberOfChallengedClearing = 'numberOfChallengedClearing', + /** column name */ NumberOfChallengedRegistrations = 'numberOfChallengedRegistrations', + /** column name */ NumberOfClearingRequested = 'numberOfClearingRequested', + /** column name */ NumberOfRegistered = 'numberOfRegistered', + /** column name */ NumberOfRegistrationRequested = 'numberOfRegistrationRequested', - RegistrationMetaEvidence = 'registrationMetaEvidence', - RegistrationMetaEvidenceUri = 'registrationMetaEvidence__URI', - RegistrationMetaEvidenceId = 'registrationMetaEvidence__id', - Requests = 'requests' + /** column name */ + ParentTcrAddress = 'parentTCRAddress', + /** column name */ + RegistrationMetaEvidenceId = 'registrationMetaEvidence_id', + /** column name */ + RelTcrDisabled = 'relTcrDisabled', + /** column name */ + RequireRemovalEvidence = 'requireRemovalEvidence', + /** column name */ + Title = 'title' } +/** Streaming cursor of the table "LRegistry" */ +export type LRegistry_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LRegistry_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LRegistry_Stream_Cursor_Value_Input = { + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + isConnectedTCR?: InputMaybe; + isTCRofTcrs?: InputMaybe; + itemName?: InputMaybe; + itemNamePlural?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfAbsent?: InputMaybe; + numberOfChallengedClearing?: InputMaybe; + numberOfChallengedRegistrations?: InputMaybe; + numberOfClearingRequested?: InputMaybe; + numberOfRegistered?: InputMaybe; + numberOfRegistrationRequested?: InputMaybe; + parentTCRAddress?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; + relTcrDisabled?: InputMaybe; + requireRemovalEvidence?: InputMaybe; + title?: InputMaybe; +}; + +/** columns and relationships of "LRequest" */ export type LRequest = { __typename?: 'LRequest'; - /** The arbitrator trusted to solve disputes for this request. */ - arbitrator: Scalars['Bytes']; - /** The extra data for the trusted arbitrator of this request. */ - arbitratorExtraData: Scalars['Bytes']; - /** The address of the party that challenged the request */ - challenger: Scalars['Bytes']; - /** The hash of the transaction that created this request. */ - creationTx: Scalars['Bytes']; - /** The deposit that would be awarded to the challenger if challenge is successful */ - deposit: Scalars['BigInt']; - /** ID of the dispute, if any. */ - disputeID: Scalars['BigInt']; - /** The outcome of the dispute, if any. Note that unsuccessful appeal fundings can invert the arbitrator ruling (so this may differ from the ruling given by the arbitrator). */ - disputeOutcome: Ruling; - /** True if a dispute was raised. */ + arbitrator: Scalars['String']; + arbitratorExtraData: Scalars['String']; + challenger: Scalars['String']; + creationTx: Scalars['String']; + deposit: Scalars['numeric']; + disputeID: Scalars['numeric']; + disputeOutcome: Scalars['ruling']; disputed: Scalars['Boolean']; - /** The evidence group for this request. */ - evidenceGroup: EvidenceGroup; - /** Only set if the request was settled by a dispute. Used by the twitter bot */ - finalRuling?: Maybe; - /** The item ID (which is the keccak256 hash of its data). */ - id: Scalars['ID']; - /** The item this request belongs to. */ - item: LItem; - /** The URI to the meta evidence used for this request. */ - metaEvidence: MetaEvidence; - /** The total number of rounds on this request. */ - numberOfRounds: Scalars['BigInt']; - /** The registry where this request was submitted. */ - registry: LRegistry; - /** The address of the registry this item was submitted. Redundant with registry field to allow use in conditionals. */ - registryAddress: Scalars['Bytes']; - /** Whether it was requested to add or remove the item to/from the list. */ - requestType: Status; - /** The address of the party that made a request */ - requester: Scalars['Bytes']; - /** The time the request was resolved. */ - resolutionTime: Scalars['BigInt']; - /** The hash of the transaction that solved this request. */ - resolutionTx?: Maybe; - /** True if the request was executed and/or any raised disputes were resolved. */ + /** An object relationship */ + evidenceGroup?: Maybe; + evidenceGroup_id: Scalars['String']; + finalRuling?: Maybe; + id: Scalars['String']; + /** An object relationship */ + item?: Maybe; + item_id: Scalars['String']; + /** An object relationship */ + metaEvidence?: Maybe; + metaEvidence_id: Scalars['String']; + numberOfRounds: Scalars['numeric']; + /** An object relationship */ + registry?: Maybe; + registryAddress: Scalars['String']; + registry_id: Scalars['String']; + requestType: Scalars['status']; + requester: Scalars['String']; + resolutionTime: Scalars['numeric']; + resolutionTx?: Maybe; resolved: Scalars['Boolean']; - /** Tracks each round of a dispute in the form rounds[roundID]. */ + /** An array relationship */ rounds: Array; - /** Time when the request was made. Used to track when the challenge period ends. */ - submissionTime: Scalars['BigInt']; + submissionTime: Scalars['numeric']; }; +/** columns and relationships of "LRequest" */ export type LRequestRoundsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type LRequest_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - arbitrator?: InputMaybe; - arbitratorExtraData?: InputMaybe; - arbitratorExtraData_contains?: InputMaybe; - arbitratorExtraData_gt?: InputMaybe; - arbitratorExtraData_gte?: InputMaybe; - arbitratorExtraData_in?: InputMaybe>; - arbitratorExtraData_lt?: InputMaybe; - arbitratorExtraData_lte?: InputMaybe; - arbitratorExtraData_not?: InputMaybe; - arbitratorExtraData_not_contains?: InputMaybe; - arbitratorExtraData_not_in?: InputMaybe>; - arbitrator_contains?: InputMaybe; - arbitrator_gt?: InputMaybe; - arbitrator_gte?: InputMaybe; - arbitrator_in?: InputMaybe>; - arbitrator_lt?: InputMaybe; - arbitrator_lte?: InputMaybe; - arbitrator_not?: InputMaybe; - arbitrator_not_contains?: InputMaybe; - arbitrator_not_in?: InputMaybe>; - challenger?: InputMaybe; - challenger_contains?: InputMaybe; - challenger_gt?: InputMaybe; - challenger_gte?: InputMaybe; - challenger_in?: InputMaybe>; - challenger_lt?: InputMaybe; - challenger_lte?: InputMaybe; - challenger_not?: InputMaybe; - challenger_not_contains?: InputMaybe; - challenger_not_in?: InputMaybe>; - creationTx?: InputMaybe; - creationTx_contains?: InputMaybe; - creationTx_gt?: InputMaybe; - creationTx_gte?: InputMaybe; - creationTx_in?: InputMaybe>; - creationTx_lt?: InputMaybe; - creationTx_lte?: InputMaybe; - creationTx_not?: InputMaybe; - creationTx_not_contains?: InputMaybe; - creationTx_not_in?: InputMaybe>; - deposit?: InputMaybe; - deposit_gt?: InputMaybe; - deposit_gte?: InputMaybe; - deposit_in?: InputMaybe>; - deposit_lt?: InputMaybe; - deposit_lte?: InputMaybe; - deposit_not?: InputMaybe; - deposit_not_in?: InputMaybe>; - disputeID?: InputMaybe; - disputeID_gt?: InputMaybe; - disputeID_gte?: InputMaybe; - disputeID_in?: InputMaybe>; - disputeID_lt?: InputMaybe; - disputeID_lte?: InputMaybe; - disputeID_not?: InputMaybe; - disputeID_not_in?: InputMaybe>; - disputeOutcome?: InputMaybe; - disputeOutcome_in?: InputMaybe>; - disputeOutcome_not?: InputMaybe; - disputeOutcome_not_in?: InputMaybe>; - disputed?: InputMaybe; - disputed_in?: InputMaybe>; - disputed_not?: InputMaybe; - disputed_not_in?: InputMaybe>; - evidenceGroup?: InputMaybe; - evidenceGroup_?: InputMaybe; - evidenceGroup_contains?: InputMaybe; - evidenceGroup_contains_nocase?: InputMaybe; - evidenceGroup_ends_with?: InputMaybe; - evidenceGroup_ends_with_nocase?: InputMaybe; - evidenceGroup_gt?: InputMaybe; - evidenceGroup_gte?: InputMaybe; - evidenceGroup_in?: InputMaybe>; - evidenceGroup_lt?: InputMaybe; - evidenceGroup_lte?: InputMaybe; - evidenceGroup_not?: InputMaybe; - evidenceGroup_not_contains?: InputMaybe; - evidenceGroup_not_contains_nocase?: InputMaybe; - evidenceGroup_not_ends_with?: InputMaybe; - evidenceGroup_not_ends_with_nocase?: InputMaybe; - evidenceGroup_not_in?: InputMaybe>; - evidenceGroup_not_starts_with?: InputMaybe; - evidenceGroup_not_starts_with_nocase?: InputMaybe; - evidenceGroup_starts_with?: InputMaybe; - evidenceGroup_starts_with_nocase?: InputMaybe; - finalRuling?: InputMaybe; - finalRuling_gt?: InputMaybe; - finalRuling_gte?: InputMaybe; - finalRuling_in?: InputMaybe>; - finalRuling_lt?: InputMaybe; - finalRuling_lte?: InputMaybe; - finalRuling_not?: InputMaybe; - finalRuling_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - item?: InputMaybe; - item_?: InputMaybe; - item_contains?: InputMaybe; - item_contains_nocase?: InputMaybe; - item_ends_with?: InputMaybe; - item_ends_with_nocase?: InputMaybe; - item_gt?: InputMaybe; - item_gte?: InputMaybe; - item_in?: InputMaybe>; - item_lt?: InputMaybe; - item_lte?: InputMaybe; - item_not?: InputMaybe; - item_not_contains?: InputMaybe; - item_not_contains_nocase?: InputMaybe; - item_not_ends_with?: InputMaybe; - item_not_ends_with_nocase?: InputMaybe; - item_not_in?: InputMaybe>; - item_not_starts_with?: InputMaybe; - item_not_starts_with_nocase?: InputMaybe; - item_starts_with?: InputMaybe; - item_starts_with_nocase?: InputMaybe; - metaEvidence?: InputMaybe; - metaEvidence_?: InputMaybe; - metaEvidence_contains?: InputMaybe; - metaEvidence_contains_nocase?: InputMaybe; - metaEvidence_ends_with?: InputMaybe; - metaEvidence_ends_with_nocase?: InputMaybe; - metaEvidence_gt?: InputMaybe; - metaEvidence_gte?: InputMaybe; - metaEvidence_in?: InputMaybe>; - metaEvidence_lt?: InputMaybe; - metaEvidence_lte?: InputMaybe; - metaEvidence_not?: InputMaybe; - metaEvidence_not_contains?: InputMaybe; - metaEvidence_not_contains_nocase?: InputMaybe; - metaEvidence_not_ends_with?: InputMaybe; - metaEvidence_not_ends_with_nocase?: InputMaybe; - metaEvidence_not_in?: InputMaybe>; - metaEvidence_not_starts_with?: InputMaybe; - metaEvidence_not_starts_with_nocase?: InputMaybe; - metaEvidence_starts_with?: InputMaybe; - metaEvidence_starts_with_nocase?: InputMaybe; - numberOfRounds?: InputMaybe; - numberOfRounds_gt?: InputMaybe; - numberOfRounds_gte?: InputMaybe; - numberOfRounds_in?: InputMaybe>; - numberOfRounds_lt?: InputMaybe; - numberOfRounds_lte?: InputMaybe; - numberOfRounds_not?: InputMaybe; - numberOfRounds_not_in?: InputMaybe>; - or?: InputMaybe>>; - registry?: InputMaybe; - registryAddress?: InputMaybe; - registryAddress_contains?: InputMaybe; - registryAddress_gt?: InputMaybe; - registryAddress_gte?: InputMaybe; - registryAddress_in?: InputMaybe>; - registryAddress_lt?: InputMaybe; - registryAddress_lte?: InputMaybe; - registryAddress_not?: InputMaybe; - registryAddress_not_contains?: InputMaybe; - registryAddress_not_in?: InputMaybe>; - registry_?: InputMaybe; - registry_contains?: InputMaybe; - registry_contains_nocase?: InputMaybe; - registry_ends_with?: InputMaybe; - registry_ends_with_nocase?: InputMaybe; - registry_gt?: InputMaybe; - registry_gte?: InputMaybe; - registry_in?: InputMaybe>; - registry_lt?: InputMaybe; - registry_lte?: InputMaybe; - registry_not?: InputMaybe; - registry_not_contains?: InputMaybe; - registry_not_contains_nocase?: InputMaybe; - registry_not_ends_with?: InputMaybe; - registry_not_ends_with_nocase?: InputMaybe; - registry_not_in?: InputMaybe>; - registry_not_starts_with?: InputMaybe; - registry_not_starts_with_nocase?: InputMaybe; - registry_starts_with?: InputMaybe; - registry_starts_with_nocase?: InputMaybe; - requestType?: InputMaybe; - requestType_in?: InputMaybe>; - requestType_not?: InputMaybe; - requestType_not_in?: InputMaybe>; - requester?: InputMaybe; - requester_contains?: InputMaybe; - requester_gt?: InputMaybe; - requester_gte?: InputMaybe; - requester_in?: InputMaybe>; - requester_lt?: InputMaybe; - requester_lte?: InputMaybe; - requester_not?: InputMaybe; - requester_not_contains?: InputMaybe; - requester_not_in?: InputMaybe>; - resolutionTime?: InputMaybe; - resolutionTime_gt?: InputMaybe; - resolutionTime_gte?: InputMaybe; - resolutionTime_in?: InputMaybe>; - resolutionTime_lt?: InputMaybe; - resolutionTime_lte?: InputMaybe; - resolutionTime_not?: InputMaybe; - resolutionTime_not_in?: InputMaybe>; - resolutionTx?: InputMaybe; - resolutionTx_contains?: InputMaybe; - resolutionTx_gt?: InputMaybe; - resolutionTx_gte?: InputMaybe; - resolutionTx_in?: InputMaybe>; - resolutionTx_lt?: InputMaybe; - resolutionTx_lte?: InputMaybe; - resolutionTx_not?: InputMaybe; - resolutionTx_not_contains?: InputMaybe; - resolutionTx_not_in?: InputMaybe>; - resolved?: InputMaybe; - resolved_in?: InputMaybe>; - resolved_not?: InputMaybe; - resolved_not_in?: InputMaybe>; - rounds_?: InputMaybe; - submissionTime?: InputMaybe; - submissionTime_gt?: InputMaybe; - submissionTime_gte?: InputMaybe; - submissionTime_in?: InputMaybe>; - submissionTime_lt?: InputMaybe; - submissionTime_lte?: InputMaybe; - submissionTime_not?: InputMaybe; - submissionTime_not_in?: InputMaybe>; -}; - -export enum LRequest_OrderBy { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "LRequest" */ +export type LRequest_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 "LRequest" */ +export type LRequest_Avg_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "LRequest". All fields are combined with a logical 'AND'. */ +export type LRequest_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + metaEvidence?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + rounds?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by max() on columns of table "LRequest" */ +export type LRequest_Max_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by min() on columns of table "LRequest" */ +export type LRequest_Min_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Ordering options when selecting data from "LRequest". */ +export type LRequest_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + metaEvidence?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + rounds_aggregate?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** select columns of table "LRequest" */ +export enum LRequest_Select_Column { + /** column name */ Arbitrator = 'arbitrator', + /** column name */ ArbitratorExtraData = 'arbitratorExtraData', + /** column name */ Challenger = 'challenger', + /** column name */ CreationTx = 'creationTx', + /** column name */ Deposit = 'deposit', + /** column name */ DisputeId = 'disputeID', + /** column name */ DisputeOutcome = 'disputeOutcome', + /** column name */ Disputed = 'disputed', - EvidenceGroup = 'evidenceGroup', - EvidenceGroupId = 'evidenceGroup__id', - EvidenceGroupNumberOfEvidence = 'evidenceGroup__numberOfEvidence', + /** column name */ + EvidenceGroupId = 'evidenceGroup_id', + /** column name */ FinalRuling = 'finalRuling', + /** column name */ Id = 'id', - Item = 'item', - ItemData = 'item__data', - ItemDisputed = 'item__disputed', - ItemId = 'item__id', - ItemItemId = 'item__itemID', - ItemLatestChallenger = 'item__latestChallenger', - ItemLatestRequestResolutionTime = 'item__latestRequestResolutionTime', - ItemLatestRequestSubmissionTime = 'item__latestRequestSubmissionTime', - ItemLatestRequester = 'item__latestRequester', - ItemNumberOfRequests = 'item__numberOfRequests', - ItemRegistryAddress = 'item__registryAddress', - ItemStatus = 'item__status', - MetaEvidence = 'metaEvidence', - MetaEvidenceUri = 'metaEvidence__URI', - MetaEvidenceId = 'metaEvidence__id', + /** column name */ + ItemId = 'item_id', + /** column name */ + MetaEvidenceId = 'metaEvidence_id', + /** column name */ NumberOfRounds = 'numberOfRounds', - Registry = 'registry', + /** column name */ RegistryAddress = 'registryAddress', - RegistryConnectedTcr = 'registry__connectedTCR', - RegistryId = 'registry__id', - RegistryMetaEvidenceCount = 'registry__metaEvidenceCount', - RegistryNumberOfAbsent = 'registry__numberOfAbsent', - RegistryNumberOfChallengedClearing = 'registry__numberOfChallengedClearing', - RegistryNumberOfChallengedRegistrations = 'registry__numberOfChallengedRegistrations', - RegistryNumberOfClearingRequested = 'registry__numberOfClearingRequested', - RegistryNumberOfRegistered = 'registry__numberOfRegistered', - RegistryNumberOfRegistrationRequested = 'registry__numberOfRegistrationRequested', + /** column name */ + RegistryId = 'registry_id', + /** column name */ RequestType = 'requestType', + /** column name */ Requester = 'requester', + /** column name */ ResolutionTime = 'resolutionTime', + /** column name */ ResolutionTx = 'resolutionTx', + /** column name */ Resolved = 'resolved', - Rounds = 'rounds', + /** column name */ SubmissionTime = 'submissionTime' } +/** order by stddev() on columns of table "LRequest" */ +export type LRequest_Stddev_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "LRequest" */ +export type LRequest_Stddev_Pop_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "LRequest" */ +export type LRequest_Stddev_Samp_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Streaming cursor of the table "LRequest" */ +export type LRequest_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LRequest_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LRequest_Stream_Cursor_Value_Input = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by sum() on columns of table "LRequest" */ +export type LRequest_Sum_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by var_pop() on columns of table "LRequest" */ +export type LRequest_Var_Pop_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by var_samp() on columns of table "LRequest" */ +export type LRequest_Var_Samp_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by variance() on columns of table "LRequest" */ +export type LRequest_Variance_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** columns and relationships of "LRound" */ export type LRound = { __typename?: 'LRound'; - /** The total amount of appeal fees contributed to the challenger in this round. */ - amountPaidChallenger: Scalars['BigInt']; - /** The total amount of appeal fees contributed to the requester in this round. */ - amountPaidRequester: Scalars['BigInt']; - /** The time the appeal period ends, if in the appeal period. */ - appealPeriodEnd: Scalars['BigInt']; - /** The time the appeal period starts, if in the appeal period. */ - appealPeriodStart: Scalars['BigInt']; - /** Whether this round was appealed. */ + amountPaidChallenger: Scalars['numeric']; + amountPaidRequester: Scalars['numeric']; + appealPeriodEnd: Scalars['numeric']; + appealPeriodStart: Scalars['numeric']; appealed: Scalars['Boolean']; - /** When this round was appealed, if it was appealed */ - appealedAt?: Maybe; - /** The contributions made to this round. */ + appealedAt?: Maybe; + /** An array relationship */ contributions: Array; - /** The moment the round was created. */ - creationTime: Scalars['BigInt']; - /** Sum of reimbursable fees and stake rewards available to the parties that made contributions to the side that ultimately wins a dispute. */ - feeRewards: Scalars['BigInt']; - /** Whether the challenger is fully funded. */ + creationTime: Scalars['numeric']; + feeRewards: Scalars['numeric']; hasPaidChallenger: Scalars['Boolean']; - /** Whether the requester is fully funded. */ hasPaidRequester: Scalars['Boolean']; - id: Scalars['ID']; - /** When was the last contribution for challenger (hack for curate bot) */ - lastFundedChallenger: Scalars['BigInt']; - /** When was the last contribution for requester (hack for curate bot) */ - lastFundedRequester: Scalars['BigInt']; - /** The number of contributions made to this round */ - numberOfContributions: Scalars['BigInt']; - /** The request to which this round belongs. */ - request: LRequest; - /** The ruling given by the arbitrator. */ - ruling: Ruling; - /** The time the round received the ruling. */ - rulingTime: Scalars['BigInt']; - /** The tx hash of the moment the round was appealed */ - txHashAppealDecision?: Maybe; - /** The tx hash of the moment appealing became possible */ - txHashAppealPossible?: Maybe; + id: Scalars['String']; + lastFundedChallenger: Scalars['numeric']; + lastFundedRequester: Scalars['numeric']; + numberOfContributions: Scalars['numeric']; + /** An object relationship */ + request?: Maybe; + request_id: Scalars['String']; + ruling: Scalars['ruling']; + rulingTime: Scalars['numeric']; + txHashAppealDecision?: Maybe; + txHashAppealPossible?: Maybe; }; +/** columns and relationships of "LRound" */ export type LRoundContributionsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type LRound_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - amountPaidChallenger?: InputMaybe; - amountPaidChallenger_gt?: InputMaybe; - amountPaidChallenger_gte?: InputMaybe; - amountPaidChallenger_in?: InputMaybe>; - amountPaidChallenger_lt?: InputMaybe; - amountPaidChallenger_lte?: InputMaybe; - amountPaidChallenger_not?: InputMaybe; - amountPaidChallenger_not_in?: InputMaybe>; - amountPaidRequester?: InputMaybe; - amountPaidRequester_gt?: InputMaybe; - amountPaidRequester_gte?: InputMaybe; - amountPaidRequester_in?: InputMaybe>; - amountPaidRequester_lt?: InputMaybe; - amountPaidRequester_lte?: InputMaybe; - amountPaidRequester_not?: InputMaybe; - amountPaidRequester_not_in?: InputMaybe>; - and?: InputMaybe>>; - appealPeriodEnd?: InputMaybe; - appealPeriodEnd_gt?: InputMaybe; - appealPeriodEnd_gte?: InputMaybe; - appealPeriodEnd_in?: InputMaybe>; - appealPeriodEnd_lt?: InputMaybe; - appealPeriodEnd_lte?: InputMaybe; - appealPeriodEnd_not?: InputMaybe; - appealPeriodEnd_not_in?: InputMaybe>; - appealPeriodStart?: InputMaybe; - appealPeriodStart_gt?: InputMaybe; - appealPeriodStart_gte?: InputMaybe; - appealPeriodStart_in?: InputMaybe>; - appealPeriodStart_lt?: InputMaybe; - appealPeriodStart_lte?: InputMaybe; - appealPeriodStart_not?: InputMaybe; - appealPeriodStart_not_in?: InputMaybe>; - appealed?: InputMaybe; - appealedAt?: InputMaybe; - appealedAt_gt?: InputMaybe; - appealedAt_gte?: InputMaybe; - appealedAt_in?: InputMaybe>; - appealedAt_lt?: InputMaybe; - appealedAt_lte?: InputMaybe; - appealedAt_not?: InputMaybe; - appealedAt_not_in?: InputMaybe>; - appealed_in?: InputMaybe>; - appealed_not?: InputMaybe; - appealed_not_in?: InputMaybe>; - contributions_?: InputMaybe; - creationTime?: InputMaybe; - creationTime_gt?: InputMaybe; - creationTime_gte?: InputMaybe; - creationTime_in?: InputMaybe>; - creationTime_lt?: InputMaybe; - creationTime_lte?: InputMaybe; - creationTime_not?: InputMaybe; - creationTime_not_in?: InputMaybe>; - feeRewards?: InputMaybe; - feeRewards_gt?: InputMaybe; - feeRewards_gte?: InputMaybe; - feeRewards_in?: InputMaybe>; - feeRewards_lt?: InputMaybe; - feeRewards_lte?: InputMaybe; - feeRewards_not?: InputMaybe; - feeRewards_not_in?: InputMaybe>; - hasPaidChallenger?: InputMaybe; - hasPaidChallenger_in?: InputMaybe>; - hasPaidChallenger_not?: InputMaybe; - hasPaidChallenger_not_in?: InputMaybe>; - hasPaidRequester?: InputMaybe; - hasPaidRequester_in?: InputMaybe>; - hasPaidRequester_not?: InputMaybe; - hasPaidRequester_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - lastFundedChallenger?: InputMaybe; - lastFundedChallenger_gt?: InputMaybe; - lastFundedChallenger_gte?: InputMaybe; - lastFundedChallenger_in?: InputMaybe>; - lastFundedChallenger_lt?: InputMaybe; - lastFundedChallenger_lte?: InputMaybe; - lastFundedChallenger_not?: InputMaybe; - lastFundedChallenger_not_in?: InputMaybe>; - lastFundedRequester?: InputMaybe; - lastFundedRequester_gt?: InputMaybe; - lastFundedRequester_gte?: InputMaybe; - lastFundedRequester_in?: InputMaybe>; - lastFundedRequester_lt?: InputMaybe; - lastFundedRequester_lte?: InputMaybe; - lastFundedRequester_not?: InputMaybe; - lastFundedRequester_not_in?: InputMaybe>; - numberOfContributions?: InputMaybe; - numberOfContributions_gt?: InputMaybe; - numberOfContributions_gte?: InputMaybe; - numberOfContributions_in?: InputMaybe>; - numberOfContributions_lt?: InputMaybe; - numberOfContributions_lte?: InputMaybe; - numberOfContributions_not?: InputMaybe; - numberOfContributions_not_in?: InputMaybe>; - or?: InputMaybe>>; - request?: InputMaybe; - request_?: InputMaybe; - request_contains?: InputMaybe; - request_contains_nocase?: InputMaybe; - request_ends_with?: InputMaybe; - request_ends_with_nocase?: InputMaybe; - request_gt?: InputMaybe; - request_gte?: InputMaybe; - request_in?: InputMaybe>; - request_lt?: InputMaybe; - request_lte?: InputMaybe; - request_not?: InputMaybe; - request_not_contains?: InputMaybe; - request_not_contains_nocase?: InputMaybe; - request_not_ends_with?: InputMaybe; - request_not_ends_with_nocase?: InputMaybe; - request_not_in?: InputMaybe>; - request_not_starts_with?: InputMaybe; - request_not_starts_with_nocase?: InputMaybe; - request_starts_with?: InputMaybe; - request_starts_with_nocase?: InputMaybe; - ruling?: InputMaybe; - rulingTime?: InputMaybe; - rulingTime_gt?: InputMaybe; - rulingTime_gte?: InputMaybe; - rulingTime_in?: InputMaybe>; - rulingTime_lt?: InputMaybe; - rulingTime_lte?: InputMaybe; - rulingTime_not?: InputMaybe; - rulingTime_not_in?: InputMaybe>; - ruling_in?: InputMaybe>; - ruling_not?: InputMaybe; - ruling_not_in?: InputMaybe>; - txHashAppealDecision?: InputMaybe; - txHashAppealDecision_contains?: InputMaybe; - txHashAppealDecision_gt?: InputMaybe; - txHashAppealDecision_gte?: InputMaybe; - txHashAppealDecision_in?: InputMaybe>; - txHashAppealDecision_lt?: InputMaybe; - txHashAppealDecision_lte?: InputMaybe; - txHashAppealDecision_not?: InputMaybe; - txHashAppealDecision_not_contains?: InputMaybe; - txHashAppealDecision_not_in?: InputMaybe>; - txHashAppealPossible?: InputMaybe; - txHashAppealPossible_contains?: InputMaybe; - txHashAppealPossible_gt?: InputMaybe; - txHashAppealPossible_gte?: InputMaybe; - txHashAppealPossible_in?: InputMaybe>; - txHashAppealPossible_lt?: InputMaybe; - txHashAppealPossible_lte?: InputMaybe; - txHashAppealPossible_not?: InputMaybe; - txHashAppealPossible_not_contains?: InputMaybe; - txHashAppealPossible_not_in?: InputMaybe>; -}; - -export enum LRound_OrderBy { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "LRound" */ +export type LRound_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 "LRound" */ +export type LRound_Avg_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "LRound". All fields are combined with a logical 'AND'. */ +export type LRound_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + contributions?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by max() on columns of table "LRound" */ +export type LRound_Max_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + id?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by min() on columns of table "LRound" */ +export type LRound_Min_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + id?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** Ordering options when selecting data from "LRound". */ +export type LRound_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + contributions_aggregate?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** select columns of table "LRound" */ +export enum LRound_Select_Column { + /** column name */ AmountPaidChallenger = 'amountPaidChallenger', + /** column name */ AmountPaidRequester = 'amountPaidRequester', + /** column name */ AppealPeriodEnd = 'appealPeriodEnd', + /** column name */ AppealPeriodStart = 'appealPeriodStart', + /** column name */ Appealed = 'appealed', + /** column name */ AppealedAt = 'appealedAt', - Contributions = 'contributions', + /** column name */ CreationTime = 'creationTime', + /** column name */ FeeRewards = 'feeRewards', + /** column name */ HasPaidChallenger = 'hasPaidChallenger', + /** column name */ HasPaidRequester = 'hasPaidRequester', + /** column name */ Id = 'id', + /** column name */ LastFundedChallenger = 'lastFundedChallenger', + /** column name */ LastFundedRequester = 'lastFundedRequester', + /** column name */ NumberOfContributions = 'numberOfContributions', - Request = 'request', - RequestArbitrator = 'request__arbitrator', - RequestArbitratorExtraData = 'request__arbitratorExtraData', - RequestChallenger = 'request__challenger', - RequestCreationTx = 'request__creationTx', - RequestDeposit = 'request__deposit', - RequestDisputeId = 'request__disputeID', - RequestDisputeOutcome = 'request__disputeOutcome', - RequestDisputed = 'request__disputed', - RequestFinalRuling = 'request__finalRuling', - RequestId = 'request__id', - RequestNumberOfRounds = 'request__numberOfRounds', - RequestRegistryAddress = 'request__registryAddress', - RequestRequestType = 'request__requestType', - RequestRequester = 'request__requester', - RequestResolutionTime = 'request__resolutionTime', - RequestResolutionTx = 'request__resolutionTx', - RequestResolved = 'request__resolved', - RequestSubmissionTime = 'request__submissionTime', + /** column name */ + RequestId = 'request_id', + /** column name */ Ruling = 'ruling', + /** column name */ RulingTime = 'rulingTime', + /** column name */ TxHashAppealDecision = 'txHashAppealDecision', + /** column name */ TxHashAppealPossible = 'txHashAppealPossible' } +/** order by stddev() on columns of table "LRound" */ +export type LRound_Stddev_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "LRound" */ +export type LRound_Stddev_Pop_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "LRound" */ +export type LRound_Stddev_Samp_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** Streaming cursor of the table "LRound" */ +export type LRound_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: LRound_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type LRound_Stream_Cursor_Value_Input = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by sum() on columns of table "LRound" */ +export type LRound_Sum_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by var_pop() on columns of table "LRound" */ +export type LRound_Var_Pop_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by var_samp() on columns of table "LRound" */ +export type LRound_Var_Samp_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by variance() on columns of table "LRound" */ +export type LRound_Variance_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + lastFundedChallenger?: InputMaybe; + lastFundedRequester?: InputMaybe; + numberOfContributions?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** columns and relationships of "MetaEvidence" */ export type MetaEvidence = { __typename?: 'MetaEvidence'; - /** The URI of the meta evidence file. */ - URI: Scalars['String']; - /** The meta evidence ID. */ - id: Scalars['ID']; -}; - -export type MetaEvidence_Filter = { - URI?: InputMaybe; - URI_contains?: InputMaybe; - URI_contains_nocase?: InputMaybe; - URI_ends_with?: InputMaybe; - URI_ends_with_nocase?: InputMaybe; - URI_gt?: InputMaybe; - URI_gte?: InputMaybe; - URI_in?: InputMaybe>; - URI_lt?: InputMaybe; - URI_lte?: InputMaybe; - URI_not?: InputMaybe; - URI_not_contains?: InputMaybe; - URI_not_contains_nocase?: InputMaybe; - URI_not_ends_with?: InputMaybe; - URI_not_ends_with_nocase?: InputMaybe; - URI_not_in?: InputMaybe>; - URI_not_starts_with?: InputMaybe; - URI_not_starts_with_nocase?: InputMaybe; - URI_starts_with?: InputMaybe; - URI_starts_with_nocase?: InputMaybe; - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - or?: InputMaybe>>; -}; - -export enum MetaEvidence_OrderBy { - Uri = 'URI', - Id = 'id' + id: Scalars['String']; + uri: Scalars['String']; +}; + +/** Boolean expression to filter rows from the table "MetaEvidence". All fields are combined with a logical 'AND'. */ +export type MetaEvidence_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + id?: InputMaybe; + uri?: InputMaybe; +}; + +/** Ordering options when selecting data from "MetaEvidence". */ +export type MetaEvidence_Order_By = { + id?: InputMaybe; + uri?: InputMaybe; +}; + +/** select columns of table "MetaEvidence" */ +export enum MetaEvidence_Select_Column { + /** column name */ + Id = 'id', + /** column name */ + Uri = 'uri' } -/** Defines the order direction, either ascending or descending */ -export enum OrderDirection { - Asc = 'asc', - Desc = 'desc' +/** Streaming cursor of the table "MetaEvidence" */ +export type MetaEvidence_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: MetaEvidence_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type MetaEvidence_Stream_Cursor_Value_Input = { + id?: InputMaybe; + uri?: InputMaybe; +}; + +/** columns and relationships of "Registry" */ +export type Registry = { + __typename?: 'Registry'; + /** An object relationship */ + clearingMetaEvidence?: Maybe; + clearingMetaEvidence_id: Scalars['String']; + connectedTCR?: Maybe; + id: Scalars['String']; + /** An array relationship */ + items: Array; + metaEvidenceCount: Scalars['numeric']; + numberOfItems: Scalars['numeric']; + /** An object relationship */ + registrationMetaEvidence?: Maybe; + registrationMetaEvidence_id: Scalars['String']; + /** An array relationship */ + requests: Array; +}; + + +/** columns and relationships of "Registry" */ +export type RegistryItemsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +/** columns and relationships of "Registry" */ +export type RegistryRequestsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Registry". All fields are combined with a logical 'AND'. */ +export type Registry_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + clearingMetaEvidence?: InputMaybe; + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + id?: InputMaybe; + items?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfItems?: InputMaybe; + registrationMetaEvidence?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; + requests?: InputMaybe; +}; + +/** Ordering options when selecting data from "Registry". */ +export type Registry_Order_By = { + clearingMetaEvidence?: InputMaybe; + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + id?: InputMaybe; + items_aggregate?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfItems?: InputMaybe; + registrationMetaEvidence?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; + requests_aggregate?: InputMaybe; +}; + +/** select columns of table "Registry" */ +export enum Registry_Select_Column { + /** column name */ + ClearingMetaEvidenceId = 'clearingMetaEvidence_id', + /** column name */ + ConnectedTcr = 'connectedTCR', + /** column name */ + Id = 'id', + /** column name */ + MetaEvidenceCount = 'metaEvidenceCount', + /** column name */ + NumberOfItems = 'numberOfItems', + /** column name */ + RegistrationMetaEvidenceId = 'registrationMetaEvidence_id' } -export type Query = { - __typename?: 'Query'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - arbitrator?: Maybe; - arbitrators: Array; - evidence?: Maybe; +/** Streaming cursor of the table "Registry" */ +export type Registry_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Registry_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Registry_Stream_Cursor_Value_Input = { + clearingMetaEvidence_id?: InputMaybe; + connectedTCR?: InputMaybe; + id?: InputMaybe; + metaEvidenceCount?: InputMaybe; + numberOfItems?: InputMaybe; + registrationMetaEvidence_id?: InputMaybe; +}; + +/** columns and relationships of "Request" */ +export type Request = { + __typename?: 'Request'; + arbitrator: Scalars['String']; + arbitratorExtraData: Scalars['String']; + challenger: Scalars['String']; + creationTx: Scalars['String']; + deposit: Scalars['numeric']; + disputeID: Scalars['numeric']; + disputeOutcome: Scalars['ruling']; + disputed: Scalars['Boolean']; + /** An object relationship */ evidenceGroup?: Maybe; - evidenceGroups: Array; - evidenceMetadata?: Maybe; - evidenceMetadata_collection: Array; - evidences: Array; - hasPaidAppealFee?: Maybe; - hasPaidAppealFees: Array; + evidenceGroup_id: Scalars['String']; + finalRuling?: Maybe; + id: Scalars['String']; + /** An object relationship */ item?: Maybe; - itemProp?: Maybe; - itemProps: Array; - itemSearch: Array; - items: Array; - larbitrator?: Maybe; - larbitrators: Array; - lcontribution?: Maybe; - lcontributions: Array; - litem?: Maybe; - litemMetadata?: Maybe; - litemMetadata_collection: Array; - litems: Array; - lregistries: Array; - lregistry?: Maybe; - lregistryMetadata?: Maybe; - lregistryMetadata_collection: Array; - lrequest?: Maybe; - lrequests: Array; - lround?: Maybe; - lrounds: Array; + item_id: Scalars['String']; + /** An object relationship */ metaEvidence?: Maybe; - metaEvidences: Array; - registries: Array; + metaEvidence_id: Scalars['String']; + numberOfRounds: Scalars['numeric']; + /** An object relationship */ registry?: Maybe; - registrySearch: Array; - request?: Maybe; - requests: Array; - round?: Maybe; + registryAddress: Scalars['String']; + registry_id: Scalars['String']; + requestType: Scalars['status']; + requester: Scalars['String']; + resolutionTime: Scalars['numeric']; + resolutionTx?: Maybe; + resolved: Scalars['Boolean']; + /** An array relationship */ rounds: Array; + submissionTime: Scalars['numeric']; +}; + + +/** columns and relationships of "Request" */ +export type RequestRoundsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + +/** order by aggregate values of table "Request" */ +export type Request_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 "Request" */ +export type Request_Avg_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Request". All fields are combined with a logical 'AND'. */ +export type Request_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + metaEvidence?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + rounds?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by max() on columns of table "Request" */ +export type Request_Max_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by min() on columns of table "Request" */ +export type Request_Min_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Ordering options when selecting data from "Request". */ +export type Request_Order_By = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item?: InputMaybe; + item_id?: InputMaybe; + metaEvidence?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registry?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + rounds_aggregate?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** select columns of table "Request" */ +export enum Request_Select_Column { + /** column name */ + Arbitrator = 'arbitrator', + /** column name */ + ArbitratorExtraData = 'arbitratorExtraData', + /** column name */ + Challenger = 'challenger', + /** column name */ + CreationTx = 'creationTx', + /** column name */ + Deposit = 'deposit', + /** column name */ + DisputeId = 'disputeID', + /** column name */ + DisputeOutcome = 'disputeOutcome', + /** column name */ + Disputed = 'disputed', + /** column name */ + EvidenceGroupId = 'evidenceGroup_id', + /** column name */ + FinalRuling = 'finalRuling', + /** column name */ + Id = 'id', + /** column name */ + ItemId = 'item_id', + /** column name */ + MetaEvidenceId = 'metaEvidence_id', + /** column name */ + NumberOfRounds = 'numberOfRounds', + /** column name */ + RegistryAddress = 'registryAddress', + /** column name */ + RegistryId = 'registry_id', + /** column name */ + RequestType = 'requestType', + /** column name */ + Requester = 'requester', + /** column name */ + ResolutionTime = 'resolutionTime', + /** column name */ + ResolutionTx = 'resolutionTx', + /** column name */ + Resolved = 'resolved', + /** column name */ + SubmissionTime = 'submissionTime' +} + +/** order by stddev() on columns of table "Request" */ +export type Request_Stddev_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "Request" */ +export type Request_Stddev_Pop_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "Request" */ +export type Request_Stddev_Samp_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** Streaming cursor of the table "Request" */ +export type Request_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Request_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Request_Stream_Cursor_Value_Input = { + arbitrator?: InputMaybe; + arbitratorExtraData?: InputMaybe; + challenger?: InputMaybe; + creationTx?: InputMaybe; + deposit?: InputMaybe; + disputeID?: InputMaybe; + disputeOutcome?: InputMaybe; + disputed?: InputMaybe; + evidenceGroup_id?: InputMaybe; + finalRuling?: InputMaybe; + id?: InputMaybe; + item_id?: InputMaybe; + metaEvidence_id?: InputMaybe; + numberOfRounds?: InputMaybe; + registryAddress?: InputMaybe; + registry_id?: InputMaybe; + requestType?: InputMaybe; + requester?: InputMaybe; + resolutionTime?: InputMaybe; + resolutionTx?: InputMaybe; + resolved?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by sum() on columns of table "Request" */ +export type Request_Sum_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by var_pop() on columns of table "Request" */ +export type Request_Var_Pop_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by var_samp() on columns of table "Request" */ +export type Request_Var_Samp_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** order by variance() on columns of table "Request" */ +export type Request_Variance_Order_By = { + deposit?: InputMaybe; + disputeID?: InputMaybe; + finalRuling?: InputMaybe; + numberOfRounds?: InputMaybe; + resolutionTime?: InputMaybe; + submissionTime?: InputMaybe; +}; + +/** columns and relationships of "Round" */ +export type Round = { + __typename?: 'Round'; + amountPaidChallenger: Scalars['numeric']; + amountPaidRequester: Scalars['numeric']; + appealPeriodEnd: Scalars['numeric']; + appealPeriodStart: Scalars['numeric']; + appealed: Scalars['Boolean']; + appealedAt?: Maybe; + creationTime: Scalars['numeric']; + feeRewards: Scalars['numeric']; + hasPaidChallenger: Scalars['Boolean']; + hasPaidRequester: Scalars['Boolean']; + id: Scalars['String']; + /** An object relationship */ + request?: Maybe; + request_id: Scalars['String']; + ruling: Scalars['ruling']; + rulingTime: Scalars['numeric']; + txHashAppealDecision?: Maybe; + txHashAppealPossible?: Maybe; +}; + +/** order by aggregate values of table "Round" */ +export type Round_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 "Round" */ +export type Round_Avg_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** Boolean expression to filter rows from the table "Round". All fields are combined with a logical 'AND'. */ +export type Round_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe; + _or?: InputMaybe>; + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by max() on columns of table "Round" */ +export type Round_Max_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + id?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by min() on columns of table "Round" */ +export type Round_Min_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + id?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** Ordering options when selecting data from "Round". */ +export type Round_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + request?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** select columns of table "Round" */ +export enum Round_Select_Column { + /** column name */ + AmountPaidChallenger = 'amountPaidChallenger', + /** column name */ + AmountPaidRequester = 'amountPaidRequester', + /** column name */ + AppealPeriodEnd = 'appealPeriodEnd', + /** column name */ + AppealPeriodStart = 'appealPeriodStart', + /** column name */ + Appealed = 'appealed', + /** column name */ + AppealedAt = 'appealedAt', + /** column name */ + CreationTime = 'creationTime', + /** column name */ + FeeRewards = 'feeRewards', + /** column name */ + HasPaidChallenger = 'hasPaidChallenger', + /** column name */ + HasPaidRequester = 'hasPaidRequester', + /** column name */ + Id = 'id', + /** column name */ + RequestId = 'request_id', + /** column name */ + Ruling = 'ruling', + /** column name */ + RulingTime = 'rulingTime', + /** column name */ + TxHashAppealDecision = 'txHashAppealDecision', + /** column name */ + TxHashAppealPossible = 'txHashAppealPossible' +} + +/** order by stddev() on columns of table "Round" */ +export type Round_Stddev_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by stddev_pop() on columns of table "Round" */ +export type Round_Stddev_Pop_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by stddev_samp() on columns of table "Round" */ +export type Round_Stddev_Samp_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** Streaming cursor of the table "Round" */ +export type Round_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Round_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type Round_Stream_Cursor_Value_Input = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealed?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + hasPaidChallenger?: InputMaybe; + hasPaidRequester?: InputMaybe; + id?: InputMaybe; + request_id?: InputMaybe; + ruling?: InputMaybe; + rulingTime?: InputMaybe; + txHashAppealDecision?: InputMaybe; + txHashAppealPossible?: InputMaybe; +}; + +/** order by sum() on columns of table "Round" */ +export type Round_Sum_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by var_pop() on columns of table "Round" */ +export type Round_Var_Pop_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by var_samp() on columns of table "Round" */ +export type Round_Var_Samp_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: InputMaybe; +}; + +/** order by variance() on columns of table "Round" */ +export type Round_Variance_Order_By = { + amountPaidChallenger?: InputMaybe; + amountPaidRequester?: InputMaybe; + appealPeriodEnd?: InputMaybe; + appealPeriodStart?: InputMaybe; + appealedAt?: InputMaybe; + creationTime?: InputMaybe; + feeRewards?: InputMaybe; + rulingTime?: 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 "_meta" */ +export type _Meta = { + __typename?: '_meta'; + bufferBlock?: Maybe; + chainId?: Maybe; + endBlock?: Maybe; + eventsProcessed?: Maybe; + firstEventBlock?: Maybe; + isReady?: Maybe; + progressBlock?: Maybe; + readyAt?: Maybe; + sourceBlock?: Maybe; + startBlock?: Maybe; +}; + +/** Boolean expression to filter rows from the table "_meta". All fields are combined with a logical 'AND'. */ +export type _Meta_Bool_Exp = { + _and?: InputMaybe>; + _not?: InputMaybe<_Meta_Bool_Exp>; + _or?: InputMaybe>; + bufferBlock?: InputMaybe; + chainId?: InputMaybe; + endBlock?: InputMaybe; + eventsProcessed?: InputMaybe; + firstEventBlock?: InputMaybe; + isReady?: InputMaybe; + progressBlock?: InputMaybe; + readyAt?: InputMaybe; + sourceBlock?: InputMaybe; + startBlock?: InputMaybe; +}; + +/** Ordering options when selecting data from "_meta". */ +export type _Meta_Order_By = { + bufferBlock?: InputMaybe; + chainId?: InputMaybe; + endBlock?: InputMaybe; + eventsProcessed?: InputMaybe; + firstEventBlock?: InputMaybe; + isReady?: InputMaybe; + progressBlock?: InputMaybe; + readyAt?: InputMaybe; + sourceBlock?: InputMaybe; + startBlock?: InputMaybe; +}; + +/** select columns of table "_meta" */ +export enum _Meta_Select_Column { + /** column name */ + BufferBlock = 'bufferBlock', + /** column name */ + ChainId = 'chainId', + /** column name */ + EndBlock = 'endBlock', + /** column name */ + EventsProcessed = 'eventsProcessed', + /** column name */ + FirstEventBlock = 'firstEventBlock', + /** column name */ + IsReady = 'isReady', + /** column name */ + ProgressBlock = 'progressBlock', + /** column name */ + ReadyAt = 'readyAt', + /** column name */ + SourceBlock = 'sourceBlock', + /** column name */ + StartBlock = 'startBlock' +} + +/** Streaming cursor of the table "_meta" */ +export type _Meta_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: _Meta_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe; +}; + +/** Initial value of the column from where the streaming should start */ +export type _Meta_Stream_Cursor_Value_Input = { + bufferBlock?: InputMaybe; + chainId?: InputMaybe; + endBlock?: InputMaybe; + eventsProcessed?: InputMaybe; + firstEventBlock?: InputMaybe; + isReady?: InputMaybe; + progressBlock?: InputMaybe; + readyAt?: InputMaybe; + sourceBlock?: InputMaybe; + startBlock?: InputMaybe; +}; + +/** columns and relationships of "chain_metadata" */ +export type Chain_Metadata = { + __typename?: 'chain_metadata'; + block_height?: Maybe; + chain_id?: Maybe; + end_block?: Maybe; + first_event_block_number?: Maybe; + is_hyper_sync?: Maybe; + latest_fetched_block_number?: Maybe; + latest_processed_block?: Maybe; + num_batches_fetched?: Maybe; + num_events_processed?: Maybe; + start_block?: Maybe; + 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 enum Chain_Metadata_Select_Column { + /** column name */ + BlockHeight = 'block_height', + /** column name */ + ChainId = 'chain_id', + /** column name */ + EndBlock = 'end_block', + /** column name */ + FirstEventBlockNumber = 'first_event_block_number', + /** column name */ + IsHyperSync = 'is_hyper_sync', + /** column name */ + LatestFetchedBlockNumber = 'latest_fetched_block_number', + /** column name */ + LatestProcessedBlock = 'latest_processed_block', + /** column name */ + NumBatchesFetched = 'num_batches_fetched', + /** column name */ + NumEventsProcessed = 'num_events_processed', + /** column name */ + StartBlock = 'start_block', + /** column name */ + TimestampCaughtUpToHeadOrEndblock = '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; +}; + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} + +export type Jsonb_Cast_Exp = { + String?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ +export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe; + /** is the column contained in the given json value */ + _contained_in?: InputMaybe; + /** does the column contain the given json value at the top level */ + _contains?: InputMaybe; + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + /** does the string exist as a top-level key in the column */ + _has_key?: InputMaybe; + /** do all of these strings exist as top-level keys in the column */ + _has_keys_all?: InputMaybe>; + /** do any of these strings exist as top-level keys in the column */ + _has_keys_any?: 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 enum Order_By { + /** in ascending order, nulls last */ + Asc = 'asc', + /** in ascending order, nulls first */ + AscNullsFirst = 'asc_nulls_first', + /** in ascending order, nulls last */ + AscNullsLast = 'asc_nulls_last', + /** in descending order, nulls first */ + Desc = 'desc', + /** in descending order, nulls first */ + DescNullsFirst = 'desc_nulls_first', + /** in descending order, nulls last */ + DescNullsLast = 'desc_nulls_last' +} + +export type Query_Root = { + __typename?: 'query_root'; + /** fetch data from the table: "Arbitrator" */ + Arbitrator: Array; + /** fetch data from the table: "Arbitrator" using primary key columns */ + Arbitrator_by_pk?: Maybe; + /** fetch data from the table: "Evidence" */ + Evidence: Array; + /** fetch data from the table: "EvidenceGroup" */ + EvidenceGroup: Array; + /** fetch data from the table: "EvidenceGroup" using primary key columns */ + EvidenceGroup_by_pk?: Maybe; + /** fetch data from the table: "Evidence" using primary key columns */ + Evidence_by_pk?: Maybe; + /** fetch data from the table: "HasPaidAppealFee" */ + HasPaidAppealFee: Array; + /** fetch data from the table: "HasPaidAppealFee" using primary key columns */ + HasPaidAppealFee_by_pk?: Maybe; + /** fetch data from the table: "Item" */ + Item: Array; + /** fetch data from the table: "ItemProp" */ + ItemProp: Array; + /** fetch data from the table: "ItemProp" using primary key columns */ + ItemProp_by_pk?: Maybe; + /** fetch data from the table: "Item" using primary key columns */ + Item_by_pk?: Maybe; + /** fetch data from the table: "LArbitrator" */ + LArbitrator: Array; + /** fetch data from the table: "LArbitrator" using primary key columns */ + LArbitrator_by_pk?: Maybe; + /** fetch data from the table: "LContribution" */ + LContribution: Array; + /** fetch data from the table: "LContribution" using primary key columns */ + LContribution_by_pk?: Maybe; + /** fetch data from the table: "LItem" */ + LItem: Array; + /** fetch data from the table: "LItem" using primary key columns */ + LItem_by_pk?: Maybe; + /** fetch data from the table: "LRegistry" */ + LRegistry: Array; + /** fetch data from the table: "LRegistry" using primary key columns */ + LRegistry_by_pk?: Maybe; + /** fetch data from the table: "LRequest" */ + LRequest: Array; + /** fetch data from the table: "LRequest" using primary key columns */ + LRequest_by_pk?: Maybe; + /** fetch data from the table: "LRound" */ + LRound: Array; + /** fetch data from the table: "LRound" using primary key columns */ + LRound_by_pk?: Maybe; + /** fetch data from the table: "MetaEvidence" */ + MetaEvidence: Array; + /** fetch data from the table: "MetaEvidence" using primary key columns */ + MetaEvidence_by_pk?: Maybe; + /** fetch data from the table: "Registry" */ + Registry: Array; + /** fetch data from the table: "Registry" using primary key columns */ + Registry_by_pk?: Maybe; + /** fetch data from the table: "Request" */ + Request: Array; + /** fetch data from the table: "Request" using primary key columns */ + Request_by_pk?: Maybe; + /** fetch data from the table: "Round" */ + Round: Array; + /** fetch data from the table: "Round" using primary key columns */ + Round_by_pk?: Maybe; + /** fetch data from the table: "_meta" */ + _meta: Array<_Meta>; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: 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; }; -export type Query_MetaArgs = { - block?: InputMaybe; +export type Query_RootArbitratorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryArbitratorArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootArbitrator_By_PkArgs = { + id: Scalars['String']; }; -export type QueryArbitratorsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootEvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryEvidenceArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootEvidenceGroupArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryEvidenceGroupArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootEvidenceGroup_By_PkArgs = { + id: Scalars['String']; }; -export type QueryEvidenceGroupsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootEvidence_By_PkArgs = { + id: Scalars['String']; }; -export type QueryEvidenceMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootHasPaidAppealFeeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryEvidenceMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootHasPaidAppealFee_By_PkArgs = { + id: Scalars['String']; }; -export type QueryEvidencesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryHasPaidAppealFeeArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootItemPropArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryHasPaidAppealFeesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootItemProp_By_PkArgs = { + id: Scalars['String']; }; -export type QueryItemArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootItem_By_PkArgs = { + id: Scalars['String']; }; -export type QueryItemPropArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootLArbitratorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryItemPropsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLArbitrator_By_PkArgs = { + id: Scalars['String']; }; -export type QueryItemSearchArgs = { - block?: InputMaybe; - first?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - text: Scalars['String']; - where?: InputMaybe; +export type Query_RootLContributionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryItemsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLContribution_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLarbitratorArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootLItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLarbitratorsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLItem_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLcontributionArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootLRegistryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLcontributionsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLRegistry_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLitemArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootLRequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLitemMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootLRequest_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLitemMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLRoundArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLitemsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootLRound_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLregistriesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootMetaEvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLregistryArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootMetaEvidence_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLregistryMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootRegistryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLregistryMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootRegistry_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLrequestArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootRequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLrequestsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootRequest_By_PkArgs = { + id: Scalars['String']; }; -export type QueryLroundArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootRoundArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryLroundsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootRound_By_PkArgs = { + id: Scalars['String']; }; -export type QueryMetaEvidenceArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_Root_MetaArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe<_Meta_Bool_Exp>; }; -export type QueryMetaEvidencesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootChain_MetadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryRegistriesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Query_RootRaw_EventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type QueryRegistryArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Query_RootRaw_Events_By_PkArgs = { + serial: Scalars['Int']; +}; + +/** columns and relationships of "raw_events" */ +export type Raw_Events = { + __typename?: 'raw_events'; + block_fields: Scalars['jsonb']; + block_hash: Scalars['String']; + block_number: Scalars['Int']; + block_timestamp: Scalars['Int']; + chain_id: Scalars['Int']; + contract_name: Scalars['String']; + event_id: Scalars['numeric']; + event_name: Scalars['String']; + log_index: Scalars['Int']; + params: Scalars['jsonb']; + serial: Scalars['Int']; + src_address: Scalars['String']; + transaction_fields: Scalars['jsonb']; }; -export type QueryRegistrySearchArgs = { - block?: InputMaybe; - first?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - text: Scalars['String']; - where?: InputMaybe; +/** columns and relationships of "raw_events" */ +export type Raw_EventsBlock_FieldsArgs = { + path?: InputMaybe; }; -export type QueryRequestArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +/** columns and relationships of "raw_events" */ +export type Raw_EventsParamsArgs = { + path?: InputMaybe; }; -export type QueryRequestsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +/** columns and relationships of "raw_events" */ +export type Raw_EventsTransaction_FieldsArgs = { + 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_fields?: InputMaybe; + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_name?: InputMaybe; + event_id?: InputMaybe; + event_name?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + serial?: InputMaybe; + src_address?: InputMaybe; + transaction_fields?: InputMaybe; +}; + +/** Ordering options when selecting data from "raw_events". */ +export type Raw_Events_Order_By = { + block_fields?: InputMaybe; + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_name?: InputMaybe; + event_id?: InputMaybe; + event_name?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + serial?: InputMaybe; + src_address?: InputMaybe; + transaction_fields?: InputMaybe; +}; + +/** select columns of table "raw_events" */ +export enum Raw_Events_Select_Column { + /** column name */ + BlockFields = 'block_fields', + /** column name */ + BlockHash = 'block_hash', + /** column name */ + BlockNumber = 'block_number', + /** column name */ + BlockTimestamp = 'block_timestamp', + /** column name */ + ChainId = 'chain_id', + /** column name */ + ContractName = 'contract_name', + /** column name */ + EventId = 'event_id', + /** column name */ + EventName = 'event_name', + /** column name */ + LogIndex = 'log_index', + /** column name */ + Params = 'params', + /** column name */ + Serial = 'serial', + /** column name */ + SrcAddress = 'src_address', + /** column name */ + TransactionFields = 'transaction_fields' +} -export type QueryRoundArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +/** 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_fields?: InputMaybe; + block_hash?: InputMaybe; + block_number?: InputMaybe; + block_timestamp?: InputMaybe; + chain_id?: InputMaybe; + contract_name?: InputMaybe; + event_id?: InputMaybe; + event_name?: InputMaybe; + log_index?: InputMaybe; + params?: InputMaybe; + serial?: InputMaybe; + src_address?: InputMaybe; + transaction_fields?: InputMaybe; +}; + +/** Boolean expression to compare columns of type "ruling". All fields are combined with logical 'AND'. */ +export type Ruling_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 "status". All fields are combined with logical 'AND'. */ +export type Status_Comparison_Exp = { + _eq?: InputMaybe; + _gt?: InputMaybe; + _gte?: InputMaybe; + _in?: InputMaybe>; + _is_null?: InputMaybe; + _lt?: InputMaybe; + _lte?: InputMaybe; + _neq?: InputMaybe; + _nin?: InputMaybe>; +}; + +export type Subscription_Root = { + __typename?: 'subscription_root'; + /** fetch data from the table: "Arbitrator" */ + Arbitrator: Array; + /** fetch data from the table: "Arbitrator" using primary key columns */ + Arbitrator_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Arbitrator" */ + Arbitrator_stream: Array; + /** fetch data from the table: "Evidence" */ + Evidence: Array; + /** fetch data from the table: "EvidenceGroup" */ + EvidenceGroup: Array; + /** fetch data from the table: "EvidenceGroup" using primary key columns */ + EvidenceGroup_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "EvidenceGroup" */ + EvidenceGroup_stream: Array; + /** fetch data from the table: "Evidence" using primary key columns */ + Evidence_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Evidence" */ + Evidence_stream: Array; + /** fetch data from the table: "HasPaidAppealFee" */ + HasPaidAppealFee: Array; + /** fetch data from the table: "HasPaidAppealFee" using primary key columns */ + HasPaidAppealFee_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "HasPaidAppealFee" */ + HasPaidAppealFee_stream: Array; + /** fetch data from the table: "Item" */ + Item: Array; + /** fetch data from the table: "ItemProp" */ + ItemProp: Array; + /** fetch data from the table: "ItemProp" using primary key columns */ + ItemProp_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "ItemProp" */ + ItemProp_stream: Array; + /** fetch data from the table: "Item" using primary key columns */ + Item_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Item" */ + Item_stream: Array; + /** fetch data from the table: "LArbitrator" */ + LArbitrator: Array; + /** fetch data from the table: "LArbitrator" using primary key columns */ + LArbitrator_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LArbitrator" */ + LArbitrator_stream: Array; + /** fetch data from the table: "LContribution" */ + LContribution: Array; + /** fetch data from the table: "LContribution" using primary key columns */ + LContribution_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LContribution" */ + LContribution_stream: Array; + /** fetch data from the table: "LItem" */ + LItem: Array; + /** fetch data from the table: "LItem" using primary key columns */ + LItem_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LItem" */ + LItem_stream: Array; + /** fetch data from the table: "LRegistry" */ + LRegistry: Array; + /** fetch data from the table: "LRegistry" using primary key columns */ + LRegistry_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LRegistry" */ + LRegistry_stream: Array; + /** fetch data from the table: "LRequest" */ + LRequest: Array; + /** fetch data from the table: "LRequest" using primary key columns */ + LRequest_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LRequest" */ + LRequest_stream: Array; + /** fetch data from the table: "LRound" */ + LRound: Array; + /** fetch data from the table: "LRound" using primary key columns */ + LRound_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "LRound" */ + LRound_stream: Array; + /** fetch data from the table: "MetaEvidence" */ + MetaEvidence: Array; + /** fetch data from the table: "MetaEvidence" using primary key columns */ + MetaEvidence_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "MetaEvidence" */ + MetaEvidence_stream: Array; + /** fetch data from the table: "Registry" */ + Registry: Array; + /** fetch data from the table: "Registry" using primary key columns */ + Registry_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Registry" */ + Registry_stream: Array; + /** fetch data from the table: "Request" */ + Request: Array; + /** fetch data from the table: "Request" using primary key columns */ + Request_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Request" */ + Request_stream: Array; + /** fetch data from the table: "Round" */ + Round: Array; + /** fetch data from the table: "Round" using primary key columns */ + Round_by_pk?: Maybe; + /** fetch data from the table in a streaming manner: "Round" */ + Round_stream: Array; + /** fetch data from the table: "_meta" */ + _meta: Array<_Meta>; + /** fetch data from the table in a streaming manner: "_meta" */ + _meta_stream: Array<_Meta>; + /** fetch data from the table: "chain_metadata" */ + chain_metadata: Array; + /** fetch data from the table in a streaming manner: "chain_metadata" */ + chain_metadata_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_RootArbitratorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootArbitrator_By_PkArgs = { + id: Scalars['String']; +}; + + +export type Subscription_RootArbitrator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type QueryRoundsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootEvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type Registry = { - __typename?: 'Registry'; - /** The current removal meta evidence */ - clearingMetaEvidence: MetaEvidence; - /** Connected TCR. Can be the 0 address. In practice, will never be null. */ - connectedTCR?: Maybe; - /** The registry address */ - id: Scalars['ID']; - /** The items submitted to this list */ - items: Array; - /** The number of MetaEvidence event logs emitted. */ - metaEvidenceCount: Scalars['BigInt']; - /** The number of items submitted to the list. */ - numberOfItems: Scalars['BigInt']; - /** The current registration meta evidence */ - registrationMetaEvidence: MetaEvidence; - /** The requests submitted to this list */ - requests: Array; + +export type Subscription_RootEvidenceGroupArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type RegistryItemsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; +export type Subscription_RootEvidenceGroup_By_PkArgs = { + id: Scalars['String']; }; -export type RegistryRequestsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type Registry_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - clearingMetaEvidence?: InputMaybe; - clearingMetaEvidence_?: InputMaybe; - clearingMetaEvidence_contains?: InputMaybe; - clearingMetaEvidence_contains_nocase?: InputMaybe; - clearingMetaEvidence_ends_with?: InputMaybe; - clearingMetaEvidence_ends_with_nocase?: InputMaybe; - clearingMetaEvidence_gt?: InputMaybe; - clearingMetaEvidence_gte?: InputMaybe; - clearingMetaEvidence_in?: InputMaybe>; - clearingMetaEvidence_lt?: InputMaybe; - clearingMetaEvidence_lte?: InputMaybe; - clearingMetaEvidence_not?: InputMaybe; - clearingMetaEvidence_not_contains?: InputMaybe; - clearingMetaEvidence_not_contains_nocase?: InputMaybe; - clearingMetaEvidence_not_ends_with?: InputMaybe; - clearingMetaEvidence_not_ends_with_nocase?: InputMaybe; - clearingMetaEvidence_not_in?: InputMaybe>; - clearingMetaEvidence_not_starts_with?: InputMaybe; - clearingMetaEvidence_not_starts_with_nocase?: InputMaybe; - clearingMetaEvidence_starts_with?: InputMaybe; - clearingMetaEvidence_starts_with_nocase?: InputMaybe; - connectedTCR?: InputMaybe; - connectedTCR_contains?: InputMaybe; - connectedTCR_gt?: InputMaybe; - connectedTCR_gte?: InputMaybe; - connectedTCR_in?: InputMaybe>; - connectedTCR_lt?: InputMaybe; - connectedTCR_lte?: InputMaybe; - connectedTCR_not?: InputMaybe; - connectedTCR_not_contains?: InputMaybe; - connectedTCR_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - items_?: InputMaybe; - metaEvidenceCount?: InputMaybe; - metaEvidenceCount_gt?: InputMaybe; - metaEvidenceCount_gte?: InputMaybe; - metaEvidenceCount_in?: InputMaybe>; - metaEvidenceCount_lt?: InputMaybe; - metaEvidenceCount_lte?: InputMaybe; - metaEvidenceCount_not?: InputMaybe; - metaEvidenceCount_not_in?: InputMaybe>; - numberOfItems?: InputMaybe; - numberOfItems_gt?: InputMaybe; - numberOfItems_gte?: InputMaybe; - numberOfItems_in?: InputMaybe>; - numberOfItems_lt?: InputMaybe; - numberOfItems_lte?: InputMaybe; - numberOfItems_not?: InputMaybe; - numberOfItems_not_in?: InputMaybe>; - or?: InputMaybe>>; - registrationMetaEvidence?: InputMaybe; - registrationMetaEvidence_?: InputMaybe; - registrationMetaEvidence_contains?: InputMaybe; - registrationMetaEvidence_contains_nocase?: InputMaybe; - registrationMetaEvidence_ends_with?: InputMaybe; - registrationMetaEvidence_ends_with_nocase?: InputMaybe; - registrationMetaEvidence_gt?: InputMaybe; - registrationMetaEvidence_gte?: InputMaybe; - registrationMetaEvidence_in?: InputMaybe>; - registrationMetaEvidence_lt?: InputMaybe; - registrationMetaEvidence_lte?: InputMaybe; - registrationMetaEvidence_not?: InputMaybe; - registrationMetaEvidence_not_contains?: InputMaybe; - registrationMetaEvidence_not_contains_nocase?: InputMaybe; - registrationMetaEvidence_not_ends_with?: InputMaybe; - registrationMetaEvidence_not_ends_with_nocase?: InputMaybe; - registrationMetaEvidence_not_in?: InputMaybe>; - registrationMetaEvidence_not_starts_with?: InputMaybe; - registrationMetaEvidence_not_starts_with_nocase?: InputMaybe; - registrationMetaEvidence_starts_with?: InputMaybe; - registrationMetaEvidence_starts_with_nocase?: InputMaybe; - requests_?: InputMaybe; -}; - -export enum Registry_OrderBy { - ClearingMetaEvidence = 'clearingMetaEvidence', - ClearingMetaEvidenceUri = 'clearingMetaEvidence__URI', - ClearingMetaEvidenceId = 'clearingMetaEvidence__id', - ConnectedTcr = 'connectedTCR', - Id = 'id', - Items = 'items', - MetaEvidenceCount = 'metaEvidenceCount', - NumberOfItems = 'numberOfItems', - RegistrationMetaEvidence = 'registrationMetaEvidence', - RegistrationMetaEvidenceUri = 'registrationMetaEvidence__URI', - RegistrationMetaEvidenceId = 'registrationMetaEvidence__id', - Requests = 'requests' -} +export type Subscription_RootEvidenceGroup_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; -export type Request = { - __typename?: 'Request'; - /** The arbitrator trusted to solve disputes for this request. */ - arbitrator: Scalars['Bytes']; - /** The extra data for the trusted arbitrator of this request. */ - arbitratorExtraData: Scalars['Bytes']; - /** The address of the party that challenged the request */ - challenger: Scalars['Bytes']; - /** The hash of the transaction that created this request. */ - creationTx: Scalars['Bytes']; - /** The deposit that would be awarded to the challenger if challenge is successful */ - deposit: Scalars['BigInt']; - /** ID of the dispute, if any. */ - disputeID: Scalars['BigInt']; - /** The outcome of the dispute, if any. Note that unsuccessful appeal fundings can invert the arbitrator ruling (so this may differ from the ruling given by the arbitrator). */ - disputeOutcome: Ruling; - /** True if a dispute was raised. */ - disputed: Scalars['Boolean']; - /** The evidence group for this request. */ - evidenceGroup: EvidenceGroup; - /** Only set if the request was settled by a dispute. Used by the twitter bot */ - finalRuling?: Maybe; - /** - */ - id: Scalars['ID']; - /** The item this request belongs to. */ - item: Item; - /** The URI to the meta evidence used for this request. */ - metaEvidence: MetaEvidence; - /** The total number of rounds on this request. */ - numberOfRounds: Scalars['BigInt']; - /** The registry where this request was submitted. */ - registry: Registry; - /** The address of the registry this item was submitted. Redundant with registry field to allow use in conditionals. */ - registryAddress: Scalars['Bytes']; - /** Whether it was requested to add or remove the item to/from the list. */ - requestType: Status; - /** The address of the party that made a request */ - requester: Scalars['Bytes']; - /** The time the request was resolved. */ - resolutionTime: Scalars['BigInt']; - /** The hash of the transaction that solved this request. */ - resolutionTx?: Maybe; - /** True if the request was executed and/or any raised disputes were resolved. */ - resolved: Scalars['Boolean']; - /** Tracks each round of a dispute in the form rounds[roundID]. */ - rounds: Array; - /** Time when the request was made. Used to track when the challenge period ends. */ - submissionTime: Scalars['BigInt']; + +export type Subscription_RootEvidence_By_PkArgs = { + id: Scalars['String']; }; -export type RequestRoundsArgs = { - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - where?: InputMaybe; -}; - -export type Request_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - and?: InputMaybe>>; - arbitrator?: InputMaybe; - arbitratorExtraData?: InputMaybe; - arbitratorExtraData_contains?: InputMaybe; - arbitratorExtraData_gt?: InputMaybe; - arbitratorExtraData_gte?: InputMaybe; - arbitratorExtraData_in?: InputMaybe>; - arbitratorExtraData_lt?: InputMaybe; - arbitratorExtraData_lte?: InputMaybe; - arbitratorExtraData_not?: InputMaybe; - arbitratorExtraData_not_contains?: InputMaybe; - arbitratorExtraData_not_in?: InputMaybe>; - arbitrator_contains?: InputMaybe; - arbitrator_gt?: InputMaybe; - arbitrator_gte?: InputMaybe; - arbitrator_in?: InputMaybe>; - arbitrator_lt?: InputMaybe; - arbitrator_lte?: InputMaybe; - arbitrator_not?: InputMaybe; - arbitrator_not_contains?: InputMaybe; - arbitrator_not_in?: InputMaybe>; - challenger?: InputMaybe; - challenger_contains?: InputMaybe; - challenger_gt?: InputMaybe; - challenger_gte?: InputMaybe; - challenger_in?: InputMaybe>; - challenger_lt?: InputMaybe; - challenger_lte?: InputMaybe; - challenger_not?: InputMaybe; - challenger_not_contains?: InputMaybe; - challenger_not_in?: InputMaybe>; - creationTx?: InputMaybe; - creationTx_contains?: InputMaybe; - creationTx_gt?: InputMaybe; - creationTx_gte?: InputMaybe; - creationTx_in?: InputMaybe>; - creationTx_lt?: InputMaybe; - creationTx_lte?: InputMaybe; - creationTx_not?: InputMaybe; - creationTx_not_contains?: InputMaybe; - creationTx_not_in?: InputMaybe>; - deposit?: InputMaybe; - deposit_gt?: InputMaybe; - deposit_gte?: InputMaybe; - deposit_in?: InputMaybe>; - deposit_lt?: InputMaybe; - deposit_lte?: InputMaybe; - deposit_not?: InputMaybe; - deposit_not_in?: InputMaybe>; - disputeID?: InputMaybe; - disputeID_gt?: InputMaybe; - disputeID_gte?: InputMaybe; - disputeID_in?: InputMaybe>; - disputeID_lt?: InputMaybe; - disputeID_lte?: InputMaybe; - disputeID_not?: InputMaybe; - disputeID_not_in?: InputMaybe>; - disputeOutcome?: InputMaybe; - disputeOutcome_in?: InputMaybe>; - disputeOutcome_not?: InputMaybe; - disputeOutcome_not_in?: InputMaybe>; - disputed?: InputMaybe; - disputed_in?: InputMaybe>; - disputed_not?: InputMaybe; - disputed_not_in?: InputMaybe>; - evidenceGroup?: InputMaybe; - evidenceGroup_?: InputMaybe; - evidenceGroup_contains?: InputMaybe; - evidenceGroup_contains_nocase?: InputMaybe; - evidenceGroup_ends_with?: InputMaybe; - evidenceGroup_ends_with_nocase?: InputMaybe; - evidenceGroup_gt?: InputMaybe; - evidenceGroup_gte?: InputMaybe; - evidenceGroup_in?: InputMaybe>; - evidenceGroup_lt?: InputMaybe; - evidenceGroup_lte?: InputMaybe; - evidenceGroup_not?: InputMaybe; - evidenceGroup_not_contains?: InputMaybe; - evidenceGroup_not_contains_nocase?: InputMaybe; - evidenceGroup_not_ends_with?: InputMaybe; - evidenceGroup_not_ends_with_nocase?: InputMaybe; - evidenceGroup_not_in?: InputMaybe>; - evidenceGroup_not_starts_with?: InputMaybe; - evidenceGroup_not_starts_with_nocase?: InputMaybe; - evidenceGroup_starts_with?: InputMaybe; - evidenceGroup_starts_with_nocase?: InputMaybe; - finalRuling?: InputMaybe; - finalRuling_gt?: InputMaybe; - finalRuling_gte?: InputMaybe; - finalRuling_in?: InputMaybe>; - finalRuling_lt?: InputMaybe; - finalRuling_lte?: InputMaybe; - finalRuling_not?: InputMaybe; - finalRuling_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - item?: InputMaybe; - item_?: InputMaybe; - item_contains?: InputMaybe; - item_contains_nocase?: InputMaybe; - item_ends_with?: InputMaybe; - item_ends_with_nocase?: InputMaybe; - item_gt?: InputMaybe; - item_gte?: InputMaybe; - item_in?: InputMaybe>; - item_lt?: InputMaybe; - item_lte?: InputMaybe; - item_not?: InputMaybe; - item_not_contains?: InputMaybe; - item_not_contains_nocase?: InputMaybe; - item_not_ends_with?: InputMaybe; - item_not_ends_with_nocase?: InputMaybe; - item_not_in?: InputMaybe>; - item_not_starts_with?: InputMaybe; - item_not_starts_with_nocase?: InputMaybe; - item_starts_with?: InputMaybe; - item_starts_with_nocase?: InputMaybe; - metaEvidence?: InputMaybe; - metaEvidence_?: InputMaybe; - metaEvidence_contains?: InputMaybe; - metaEvidence_contains_nocase?: InputMaybe; - metaEvidence_ends_with?: InputMaybe; - metaEvidence_ends_with_nocase?: InputMaybe; - metaEvidence_gt?: InputMaybe; - metaEvidence_gte?: InputMaybe; - metaEvidence_in?: InputMaybe>; - metaEvidence_lt?: InputMaybe; - metaEvidence_lte?: InputMaybe; - metaEvidence_not?: InputMaybe; - metaEvidence_not_contains?: InputMaybe; - metaEvidence_not_contains_nocase?: InputMaybe; - metaEvidence_not_ends_with?: InputMaybe; - metaEvidence_not_ends_with_nocase?: InputMaybe; - metaEvidence_not_in?: InputMaybe>; - metaEvidence_not_starts_with?: InputMaybe; - metaEvidence_not_starts_with_nocase?: InputMaybe; - metaEvidence_starts_with?: InputMaybe; - metaEvidence_starts_with_nocase?: InputMaybe; - numberOfRounds?: InputMaybe; - numberOfRounds_gt?: InputMaybe; - numberOfRounds_gte?: InputMaybe; - numberOfRounds_in?: InputMaybe>; - numberOfRounds_lt?: InputMaybe; - numberOfRounds_lte?: InputMaybe; - numberOfRounds_not?: InputMaybe; - numberOfRounds_not_in?: InputMaybe>; - or?: InputMaybe>>; - registry?: InputMaybe; - registryAddress?: InputMaybe; - registryAddress_contains?: InputMaybe; - registryAddress_gt?: InputMaybe; - registryAddress_gte?: InputMaybe; - registryAddress_in?: InputMaybe>; - registryAddress_lt?: InputMaybe; - registryAddress_lte?: InputMaybe; - registryAddress_not?: InputMaybe; - registryAddress_not_contains?: InputMaybe; - registryAddress_not_in?: InputMaybe>; - registry_?: InputMaybe; - registry_contains?: InputMaybe; - registry_contains_nocase?: InputMaybe; - registry_ends_with?: InputMaybe; - registry_ends_with_nocase?: InputMaybe; - registry_gt?: InputMaybe; - registry_gte?: InputMaybe; - registry_in?: InputMaybe>; - registry_lt?: InputMaybe; - registry_lte?: InputMaybe; - registry_not?: InputMaybe; - registry_not_contains?: InputMaybe; - registry_not_contains_nocase?: InputMaybe; - registry_not_ends_with?: InputMaybe; - registry_not_ends_with_nocase?: InputMaybe; - registry_not_in?: InputMaybe>; - registry_not_starts_with?: InputMaybe; - registry_not_starts_with_nocase?: InputMaybe; - registry_starts_with?: InputMaybe; - registry_starts_with_nocase?: InputMaybe; - requestType?: InputMaybe; - requestType_in?: InputMaybe>; - requestType_not?: InputMaybe; - requestType_not_in?: InputMaybe>; - requester?: InputMaybe; - requester_contains?: InputMaybe; - requester_gt?: InputMaybe; - requester_gte?: InputMaybe; - requester_in?: InputMaybe>; - requester_lt?: InputMaybe; - requester_lte?: InputMaybe; - requester_not?: InputMaybe; - requester_not_contains?: InputMaybe; - requester_not_in?: InputMaybe>; - resolutionTime?: InputMaybe; - resolutionTime_gt?: InputMaybe; - resolutionTime_gte?: InputMaybe; - resolutionTime_in?: InputMaybe>; - resolutionTime_lt?: InputMaybe; - resolutionTime_lte?: InputMaybe; - resolutionTime_not?: InputMaybe; - resolutionTime_not_in?: InputMaybe>; - resolutionTx?: InputMaybe; - resolutionTx_contains?: InputMaybe; - resolutionTx_gt?: InputMaybe; - resolutionTx_gte?: InputMaybe; - resolutionTx_in?: InputMaybe>; - resolutionTx_lt?: InputMaybe; - resolutionTx_lte?: InputMaybe; - resolutionTx_not?: InputMaybe; - resolutionTx_not_contains?: InputMaybe; - resolutionTx_not_in?: InputMaybe>; - resolved?: InputMaybe; - resolved_in?: InputMaybe>; - resolved_not?: InputMaybe; - resolved_not_in?: InputMaybe>; - rounds_?: InputMaybe; - submissionTime?: InputMaybe; - submissionTime_gt?: InputMaybe; - submissionTime_gte?: InputMaybe; - submissionTime_in?: InputMaybe>; - submissionTime_lt?: InputMaybe; - submissionTime_lte?: InputMaybe; - submissionTime_not?: InputMaybe; - submissionTime_not_in?: InputMaybe>; -}; - -export enum Request_OrderBy { - Arbitrator = 'arbitrator', - ArbitratorExtraData = 'arbitratorExtraData', - Challenger = 'challenger', - CreationTx = 'creationTx', - Deposit = 'deposit', - DisputeId = 'disputeID', - DisputeOutcome = 'disputeOutcome', - Disputed = 'disputed', - EvidenceGroup = 'evidenceGroup', - EvidenceGroupId = 'evidenceGroup__id', - EvidenceGroupNumberOfEvidence = 'evidenceGroup__numberOfEvidence', - FinalRuling = 'finalRuling', - Id = 'id', - Item = 'item', - ItemData = 'item__data', - ItemDisputed = 'item__disputed', - ItemId = 'item__id', - ItemItemId = 'item__itemID', - ItemLatestChallenger = 'item__latestChallenger', - ItemLatestRequestResolutionTime = 'item__latestRequestResolutionTime', - ItemLatestRequestSubmissionTime = 'item__latestRequestSubmissionTime', - ItemLatestRequester = 'item__latestRequester', - ItemNumberOfRequests = 'item__numberOfRequests', - ItemRegistryAddress = 'item__registryAddress', - ItemStatus = 'item__status', - MetaEvidence = 'metaEvidence', - MetaEvidenceUri = 'metaEvidence__URI', - MetaEvidenceId = 'metaEvidence__id', - NumberOfRounds = 'numberOfRounds', - Registry = 'registry', - RegistryAddress = 'registryAddress', - RegistryConnectedTcr = 'registry__connectedTCR', - RegistryId = 'registry__id', - RegistryMetaEvidenceCount = 'registry__metaEvidenceCount', - RegistryNumberOfItems = 'registry__numberOfItems', - RequestType = 'requestType', - Requester = 'requester', - ResolutionTime = 'resolutionTime', - ResolutionTx = 'resolutionTx', - Resolved = 'resolved', - Rounds = 'rounds', - SubmissionTime = 'submissionTime' -} +export type Subscription_RootEvidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; +}; -export type Round = { - __typename?: 'Round'; - /** The total amount of appeal fees contributed to the challenger in this round. */ - amountPaidChallenger: Scalars['BigInt']; - /** The total amount of appeal fees contributed to the requester in this round. */ - amountPaidRequester: Scalars['BigInt']; - /** The time the appeal period ends, if in the appeal period. */ - appealPeriodEnd: Scalars['BigInt']; - /** The time the appeal period starts, if in the appeal period. */ - appealPeriodStart: Scalars['BigInt']; - /** Whether this round was appealed */ - appealed: Scalars['Boolean']; - /** When this round was appealed, if it was appealed */ - appealedAt?: Maybe; - /** The moment the round was created. */ - creationTime: Scalars['BigInt']; - /** Sum of reimbursable fees and stake rewards available to the parties that made contributions to the side that ultimately wins a dispute. */ - feeRewards: Scalars['BigInt']; - /** Whether the challenger is fully funded. */ - hasPaidChallenger: Scalars['Boolean']; - /** Whether the requester is fully funded. */ - hasPaidRequester: Scalars['Boolean']; - /** -- */ - id: Scalars['ID']; - /** The request to which this round belongs. */ - request: Request; - /** The ruling given by the arbitrator. */ - ruling: Ruling; - /** The time the round received the ruling. */ - rulingTime: Scalars['BigInt']; - /** The tx hash of the moment the round was appealed */ - txHashAppealDecision?: Maybe; - /** The tx hash of the moment appealing became possible */ - txHashAppealPossible?: Maybe; -}; - -export type Round_Filter = { - /** Filter for the block changed event. */ - _change_block?: InputMaybe; - amountPaidChallenger?: InputMaybe; - amountPaidChallenger_gt?: InputMaybe; - amountPaidChallenger_gte?: InputMaybe; - amountPaidChallenger_in?: InputMaybe>; - amountPaidChallenger_lt?: InputMaybe; - amountPaidChallenger_lte?: InputMaybe; - amountPaidChallenger_not?: InputMaybe; - amountPaidChallenger_not_in?: InputMaybe>; - amountPaidRequester?: InputMaybe; - amountPaidRequester_gt?: InputMaybe; - amountPaidRequester_gte?: InputMaybe; - amountPaidRequester_in?: InputMaybe>; - amountPaidRequester_lt?: InputMaybe; - amountPaidRequester_lte?: InputMaybe; - amountPaidRequester_not?: InputMaybe; - amountPaidRequester_not_in?: InputMaybe>; - and?: InputMaybe>>; - appealPeriodEnd?: InputMaybe; - appealPeriodEnd_gt?: InputMaybe; - appealPeriodEnd_gte?: InputMaybe; - appealPeriodEnd_in?: InputMaybe>; - appealPeriodEnd_lt?: InputMaybe; - appealPeriodEnd_lte?: InputMaybe; - appealPeriodEnd_not?: InputMaybe; - appealPeriodEnd_not_in?: InputMaybe>; - appealPeriodStart?: InputMaybe; - appealPeriodStart_gt?: InputMaybe; - appealPeriodStart_gte?: InputMaybe; - appealPeriodStart_in?: InputMaybe>; - appealPeriodStart_lt?: InputMaybe; - appealPeriodStart_lte?: InputMaybe; - appealPeriodStart_not?: InputMaybe; - appealPeriodStart_not_in?: InputMaybe>; - appealed?: InputMaybe; - appealedAt?: InputMaybe; - appealedAt_gt?: InputMaybe; - appealedAt_gte?: InputMaybe; - appealedAt_in?: InputMaybe>; - appealedAt_lt?: InputMaybe; - appealedAt_lte?: InputMaybe; - appealedAt_not?: InputMaybe; - appealedAt_not_in?: InputMaybe>; - appealed_in?: InputMaybe>; - appealed_not?: InputMaybe; - appealed_not_in?: InputMaybe>; - creationTime?: InputMaybe; - creationTime_gt?: InputMaybe; - creationTime_gte?: InputMaybe; - creationTime_in?: InputMaybe>; - creationTime_lt?: InputMaybe; - creationTime_lte?: InputMaybe; - creationTime_not?: InputMaybe; - creationTime_not_in?: InputMaybe>; - feeRewards?: InputMaybe; - feeRewards_gt?: InputMaybe; - feeRewards_gte?: InputMaybe; - feeRewards_in?: InputMaybe>; - feeRewards_lt?: InputMaybe; - feeRewards_lte?: InputMaybe; - feeRewards_not?: InputMaybe; - feeRewards_not_in?: InputMaybe>; - hasPaidChallenger?: InputMaybe; - hasPaidChallenger_in?: InputMaybe>; - hasPaidChallenger_not?: InputMaybe; - hasPaidChallenger_not_in?: InputMaybe>; - hasPaidRequester?: InputMaybe; - hasPaidRequester_in?: InputMaybe>; - hasPaidRequester_not?: InputMaybe; - hasPaidRequester_not_in?: InputMaybe>; - id?: InputMaybe; - id_gt?: InputMaybe; - id_gte?: InputMaybe; - id_in?: InputMaybe>; - id_lt?: InputMaybe; - id_lte?: InputMaybe; - id_not?: InputMaybe; - id_not_in?: InputMaybe>; - or?: InputMaybe>>; - request?: InputMaybe; - request_?: InputMaybe; - request_contains?: InputMaybe; - request_contains_nocase?: InputMaybe; - request_ends_with?: InputMaybe; - request_ends_with_nocase?: InputMaybe; - request_gt?: InputMaybe; - request_gte?: InputMaybe; - request_in?: InputMaybe>; - request_lt?: InputMaybe; - request_lte?: InputMaybe; - request_not?: InputMaybe; - request_not_contains?: InputMaybe; - request_not_contains_nocase?: InputMaybe; - request_not_ends_with?: InputMaybe; - request_not_ends_with_nocase?: InputMaybe; - request_not_in?: InputMaybe>; - request_not_starts_with?: InputMaybe; - request_not_starts_with_nocase?: InputMaybe; - request_starts_with?: InputMaybe; - request_starts_with_nocase?: InputMaybe; - ruling?: InputMaybe; - rulingTime?: InputMaybe; - rulingTime_gt?: InputMaybe; - rulingTime_gte?: InputMaybe; - rulingTime_in?: InputMaybe>; - rulingTime_lt?: InputMaybe; - rulingTime_lte?: InputMaybe; - rulingTime_not?: InputMaybe; - rulingTime_not_in?: InputMaybe>; - ruling_in?: InputMaybe>; - ruling_not?: InputMaybe; - ruling_not_in?: InputMaybe>; - txHashAppealDecision?: InputMaybe; - txHashAppealDecision_contains?: InputMaybe; - txHashAppealDecision_gt?: InputMaybe; - txHashAppealDecision_gte?: InputMaybe; - txHashAppealDecision_in?: InputMaybe>; - txHashAppealDecision_lt?: InputMaybe; - txHashAppealDecision_lte?: InputMaybe; - txHashAppealDecision_not?: InputMaybe; - txHashAppealDecision_not_contains?: InputMaybe; - txHashAppealDecision_not_in?: InputMaybe>; - txHashAppealPossible?: InputMaybe; - txHashAppealPossible_contains?: InputMaybe; - txHashAppealPossible_gt?: InputMaybe; - txHashAppealPossible_gte?: InputMaybe; - txHashAppealPossible_in?: InputMaybe>; - txHashAppealPossible_lt?: InputMaybe; - txHashAppealPossible_lte?: InputMaybe; - txHashAppealPossible_not?: InputMaybe; - txHashAppealPossible_not_contains?: InputMaybe; - txHashAppealPossible_not_in?: InputMaybe>; -}; - -export enum Round_OrderBy { - AmountPaidChallenger = 'amountPaidChallenger', - AmountPaidRequester = 'amountPaidRequester', - AppealPeriodEnd = 'appealPeriodEnd', - AppealPeriodStart = 'appealPeriodStart', - Appealed = 'appealed', - AppealedAt = 'appealedAt', - CreationTime = 'creationTime', - FeeRewards = 'feeRewards', - HasPaidChallenger = 'hasPaidChallenger', - HasPaidRequester = 'hasPaidRequester', - Id = 'id', - Request = 'request', - RequestArbitrator = 'request__arbitrator', - RequestArbitratorExtraData = 'request__arbitratorExtraData', - RequestChallenger = 'request__challenger', - RequestCreationTx = 'request__creationTx', - RequestDeposit = 'request__deposit', - RequestDisputeId = 'request__disputeID', - RequestDisputeOutcome = 'request__disputeOutcome', - RequestDisputed = 'request__disputed', - RequestFinalRuling = 'request__finalRuling', - RequestId = 'request__id', - RequestNumberOfRounds = 'request__numberOfRounds', - RequestRegistryAddress = 'request__registryAddress', - RequestRequestType = 'request__requestType', - RequestRequester = 'request__requester', - RequestResolutionTime = 'request__resolutionTime', - RequestResolutionTx = 'request__resolutionTx', - RequestResolved = 'request__resolved', - RequestSubmissionTime = 'request__submissionTime', - Ruling = 'ruling', - RulingTime = 'rulingTime', - TxHashAppealDecision = 'txHashAppealDecision', - TxHashAppealPossible = 'txHashAppealPossible' -} -export enum Ruling { - /** The arbitrator ruled in favor of the requester. */ - Accept = 'Accept', - /** The arbitrator did not rule or refused to rule. */ - None = 'None', - /** The arbitrator in favor of the challenger. */ - Reject = 'Reject' -} +export type Subscription_RootHasPaidAppealFeeArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; -export enum Status { - /** The item is not registered on the TCR and there are no pending requests. */ - Absent = 'Absent', - /** The item is registered on the TCR, but there is a pending removal request. These are sometimes also called removal requests. */ - ClearingRequested = 'ClearingRequested', - /** The item is registered and there are no pending requests. */ - Registered = 'Registered', - /** The item is not registered on the TCR, but there is a pending registration request. */ - RegistrationRequested = 'RegistrationRequested' -} -export type Subscription = { - __typename?: 'Subscription'; - /** Access to subgraph metadata */ - _meta?: Maybe<_Meta_>; - arbitrator?: Maybe; - arbitrators: Array; - evidence?: Maybe; - evidenceGroup?: Maybe; - evidenceGroups: Array; - evidenceMetadata?: Maybe; - evidenceMetadata_collection: Array; - evidences: Array; - hasPaidAppealFee?: Maybe; - hasPaidAppealFees: Array; - item?: Maybe; - itemProp?: Maybe; - itemProps: Array; - items: Array; - larbitrator?: Maybe; - larbitrators: Array; - lcontribution?: Maybe; - lcontributions: Array; - litem?: Maybe; - litemMetadata?: Maybe; - litemMetadata_collection: Array; - litems: Array; - lregistries: Array; - lregistry?: Maybe; - lregistryMetadata?: Maybe; - lregistryMetadata_collection: Array; - lrequest?: Maybe; - lrequests: Array; - lround?: Maybe; - lrounds: Array; - metaEvidence?: Maybe; - metaEvidences: Array; - registries: Array; - registry?: Maybe; - request?: Maybe; - requests: Array; - round?: Maybe; - rounds: Array; +export type Subscription_RootHasPaidAppealFee_By_PkArgs = { + id: Scalars['String']; }; -export type Subscription_MetaArgs = { - block?: InputMaybe; +export type Subscription_RootHasPaidAppealFee_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionArbitratorArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionArbitratorsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootItemPropArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionEvidenceArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootItemProp_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionEvidenceGroupArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootItemProp_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionEvidenceGroupsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootItem_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionEvidenceMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootItem_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionEvidenceMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLArbitratorArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionEvidencesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLArbitrator_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionHasPaidAppealFeeArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLArbitrator_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionHasPaidAppealFeesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLContributionArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionItemArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLContribution_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionItemPropArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLContribution_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionItemPropsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLItemArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionItemsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLItem_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLarbitratorArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLItem_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionLarbitratorsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLRegistryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionLcontributionArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLRegistry_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLcontributionsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLRegistry_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionLitemArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLRequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionLitemMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLRequest_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLitemMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLRequest_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionLitemsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLRoundArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionLregistriesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootLRound_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLregistryArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootLRound_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionLregistryMetadataArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootMetaEvidenceArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionLregistryMetadata_CollectionArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootMetaEvidence_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLrequestArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootMetaEvidence_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionLrequestsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootRegistryArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionLroundArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootRegistry_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionLroundsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootRegistry_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionMetaEvidenceArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootRequestArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionMetaEvidencesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootRequest_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionRegistriesArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootRequest_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionRegistryArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootRoundArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -export type SubscriptionRequestArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_RootRound_By_PkArgs = { + id: Scalars['String']; }; -export type SubscriptionRequestsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_RootRound_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export type SubscriptionRoundArgs = { - block?: InputMaybe; - id: Scalars['ID']; - subgraphError?: _SubgraphErrorPolicy_; +export type Subscription_Root_MetaArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe<_Meta_Bool_Exp>; }; -export type SubscriptionRoundsArgs = { - block?: InputMaybe; - first?: InputMaybe; - orderBy?: InputMaybe; - orderDirection?: InputMaybe; - skip?: InputMaybe; - subgraphError?: _SubgraphErrorPolicy_; - where?: InputMaybe; +export type Subscription_Root_Meta_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe<_Meta_Bool_Exp>; }; -export type _Block_ = { - __typename?: '_Block_'; - /** The hash of the block */ - hash?: Maybe; - /** The block number */ - number: Scalars['Int']; - /** The hash of the parent block */ - parentHash?: Maybe; - /** Integer representation of the timestamp stored in blocks for the chain */ - timestamp?: Maybe; + +export type Subscription_RootChain_MetadataArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; }; -/** The type for the top-level _meta field */ -export type _Meta_ = { - __typename?: '_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 Subscription_RootChain_Metadata_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: InputMaybe; }; -export enum _SubgraphErrorPolicy_ { - /** Data will be returned even if the subgraph has indexing errors */ - Allow = 'allow', - /** If the subgraph has indexing errors, data will be omitted. The default. */ - Deny = 'deny' -} + +export type Subscription_RootRaw_EventsArgs = { + distinct_on?: InputMaybe>; + limit?: InputMaybe; + offset?: InputMaybe; + order_by?: InputMaybe>; + where?: InputMaybe; +}; + + +export type Subscription_RootRaw_Events_By_PkArgs = { + serial: Scalars['Int']; +}; + + +export type Subscription_RootRaw_Events_StreamArgs = { + batch_size: Scalars['Int']; + cursor: Array>; + where?: 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 GetAddressInfoQueryVariables = Exact<{ address: Scalars['String']; @@ -4037,4 +4140,4 @@ export type GetAddressInfoQueryVariables = Exact<{ }>; -export type GetAddressInfoQuery = { __typename?: 'Query', litems: Array<{ __typename?: 'LItem', data: string, metadata?: { __typename?: 'LItemMetadata', keywords?: string | null } | null }> }; +export type GetAddressInfoQuery = { __typename?: 'query_root', litems: Array<{ __typename?: 'LItem', data: string }> }; diff --git a/src/get-ipfs-path.ts b/src/get-ipfs-path.ts index 10e6dca..d51a884 100644 --- a/src/get-ipfs-path.ts +++ b/src/get-ipfs-path.ts @@ -2,26 +2,23 @@ import { gql, GraphQLClient } from "graphql-request"; import { GetAddressInfoQuery } from "./generated/graphqlQueries"; const MAINNET_SUBGRAPH_CLIENT = new GraphQLClient( - "https://api.studio.thegraph.com/query/61738/legacy-curate-mainnet/version/latest" + "https://indexer.hyperindex.xyz/1a2f51c/v1/graphql" ); const MAINNET_REGISTRY_ADDRESS = "0x6e31d83b0c696f7d57241d3dffd0f2b628d14c67"; const GNOSIS_SUBGRAPH_CLIENT = new GraphQLClient( - "https://api.studio.thegraph.com/query/61738/legacy-curate-gnosis/version/latest" + "https://indexer.hyperindex.xyz/1a2f51c/v1/graphql" ); const GNOSIS_REGISTRY_ADDRESS = "0x76944a2678a0954a610096ee78e8ceb8d46d5922"; const QUERY = gql` query getAddressInfo($address: String!, $registryAddress: String!) { - litems( + litems: LItem( where: { - registry: $registryAddress - status: Registered - metadata_: { keywords_contains: $address } + registry_id: { _eq: $registryAddress } + status: { _eq: Registered } + keywords: { _ilike: $address } } ) { - metadata { - keywords - } data } } @@ -29,7 +26,7 @@ const QUERY = gql` export const getIPFSPath = async (address: string): Promise => { const ethereumSubgraphResult = await MAINNET_SUBGRAPH_CLIENT.request(QUERY, { - address, + address: `%${address}%`, registryAddress: MAINNET_REGISTRY_ADDRESS, }).then((result) => result as GetAddressInfoQuery); if (ethereumSubgraphResult.litems.length === 0) {