diff --git a/apps/web/src/domains/nfts/core.ts b/apps/web/src/domains/nfts/core.ts index 25acb5985..28768050b 100644 --- a/apps/web/src/domains/nfts/core.ts +++ b/apps/web/src/domains/nfts/core.ts @@ -51,9 +51,12 @@ const _nftsState = atomFamily({ throw new Error('No RPC available for fetching Bitcountry NFTs') } - return worker(address, { batchSize, acalaRpc: acala.rpc, bitcountryRpc: bitcountry.rpc }).subscribe( - observer - ) + return worker(address, { + batchSize, + acalaRpc: acala.rpc, + bitcountryRpc: bitcountry.rpc, + chaindataUrl: import.meta.env.REACT_APP_CHAINDATA, + }).subscribe(observer) }) .pipe( bufferTime(1000, null, batchSize), diff --git a/apps/web/src/domains/nfts/worker.ts b/apps/web/src/domains/nfts/worker.ts index 86115ced6..8c0f9bc46 100644 --- a/apps/web/src/domains/nfts/worker.ts +++ b/apps/web/src/domains/nfts/worker.ts @@ -1,7 +1,7 @@ import { createAcalaNftAsyncGenerator, createBitCountryNftAsyncGenerator, - createEvmNftAsyncGenerator, + createOnfinalityNftGenerator, createRmrk2NftAsyncGenerator, createStatemineNftAsyncGenerator, createUniqueNetworkNftAsyncGenerator, @@ -10,11 +10,14 @@ import { import { Observable } from 'rxjs' import { expose } from 'threads/worker' -const subscribeNfts = (address: string, options: { batchSize: number; acalaRpc: string; bitcountryRpc: string }) => +const subscribeNfts = ( + address: string, + options: { batchSize: number; acalaRpc: string; bitcountryRpc: string; chaindataUrl: string } +) => new Observable(observer => { const promises = ( address.startsWith('0x') - ? [createEvmNftAsyncGenerator] + ? [createOnfinalityNftGenerator({ chaindataUrl: options.chaindataUrl })] : [ createAcalaNftAsyncGenerator({ rpc: options.acalaRpc }), createBitCountryNftAsyncGenerator({ rpc: options.bitcountryRpc }), diff --git a/packages/nft/generated/gql/onfinality/fragment-masking.ts b/packages/nft/generated/gql/onfinality/fragment-masking.ts new file mode 100644 index 000000000..4567d0fe3 --- /dev/null +++ b/packages/nft/generated/gql/onfinality/fragment-masking.ts @@ -0,0 +1,66 @@ +import type { ResultOf, DocumentTypeDecoration, TypedDocumentNode } from '@graphql-typed-document-node/core' +import type { FragmentDefinitionNode } from 'graphql' +import type { Incremental } from './graphql.js' + +export type FragmentType> = + TDocumentType extends DocumentTypeDecoration + ? [TType] extends [{ ' $fragmentName'?: infer TKey }] + ? TKey extends string + ? { ' $fragmentRefs'?: { [key in TKey]: TType } } + : never + : never + : never + +// return non-nullable if `fragmentType` is non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> +): TType +// return nullable if `fragmentType` is nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: FragmentType> | null | undefined +): TType | null | undefined +// return array of non-nullable if `fragmentType` is array of non-nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: ReadonlyArray>> +): ReadonlyArray +// return array of nullable if `fragmentType` is array of nullable +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: ReadonlyArray>> | null | undefined +): ReadonlyArray | null | undefined +export function useFragment( + _documentNode: DocumentTypeDecoration, + fragmentType: + | FragmentType> + | ReadonlyArray>> + | null + | undefined +): TType | ReadonlyArray | null | undefined { + return fragmentType as any +} + +export function makeFragmentData, FT extends ResultOf>( + data: FT, + _fragment: F +): FragmentType { + return data as FragmentType +} +export function isFragmentReady( + queryNode: DocumentTypeDecoration, + fragmentNode: TypedDocumentNode, + data: FragmentType, any>> | null | undefined +): data is FragmentType { + const deferredFields = (queryNode as { __meta__?: { deferredFields: Record } }).__meta__ + ?.deferredFields + + if (!deferredFields) return true + + const fragDef = fragmentNode.definitions[0] as FragmentDefinitionNode | undefined + const fragName = fragDef?.name?.value + + const fields = (fragName && deferredFields[fragName]) || [] + return fields.length > 0 && fields.every(field => data && field in data) +} diff --git a/packages/nft/generated/gql/onfinality/gql.ts b/packages/nft/generated/gql/onfinality/gql.ts new file mode 100644 index 000000000..504083fc5 --- /dev/null +++ b/packages/nft/generated/gql/onfinality/gql.ts @@ -0,0 +1,50 @@ +/* eslint-disable */ +import * as types from './graphql.js' +import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' + +/** + * Map of all GraphQL operations in the project. + * + * This map has several performance disadvantages: + * 1. It is not tree-shakeable, so it will include all operations in the project. + * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle. + * 3. It does not support dead code elimination, so it will add unused operations. + * + * Therefore it is highly recommended to use the babel or swc plugin for production. + */ +const documents = { + '\n query nfts($address: String!, $after: Cursor, $first: Int) {\n nfts(after: $after, first: $first, filter: { currentOwner: { equalTo: $address } }) {\n edges {\n node {\n id\n tokenId\n collection {\n id\n name\n contractType\n contractAddress\n networkId\n totalSupply\n }\n metadata {\n name\n description\n imageUri\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n ': + types.NftsDocument, +} + +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + * + * + * @example + * ```ts + * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`); + * ``` + * + * The query argument is unknown! + * Please regenerate the types. + */ +export function graphql(source: string): unknown + +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: '\n query nfts($address: String!, $after: Cursor, $first: Int) {\n nfts(after: $after, first: $first, filter: { currentOwner: { equalTo: $address } }) {\n edges {\n node {\n id\n tokenId\n collection {\n id\n name\n contractType\n contractAddress\n networkId\n totalSupply\n }\n metadata {\n name\n description\n imageUri\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n ' +): (typeof documents)['\n query nfts($address: String!, $after: Cursor, $first: Int) {\n nfts(after: $after, first: $first, filter: { currentOwner: { equalTo: $address } }) {\n edges {\n node {\n id\n tokenId\n collection {\n id\n name\n contractType\n contractAddress\n networkId\n totalSupply\n }\n metadata {\n name\n description\n imageUri\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n '] + +export function graphql(source: string) { + return (documents as any)[source] ?? {} +} + +export type DocumentType> = TDocumentNode extends DocumentNode< + infer TType, + any +> + ? TType + : never diff --git a/packages/nft/generated/gql/onfinality/graphql.ts b/packages/nft/generated/gql/onfinality/graphql.ts new file mode 100644 index 000000000..0809b2c8f --- /dev/null +++ b/packages/nft/generated/gql/onfinality/graphql.ts @@ -0,0 +1,4019 @@ +/* eslint-disable */ +import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' +export type Maybe = T | null +export type InputMaybe = Maybe +export type Exact = { [K in keyof T]: T[K] } +export type MakeOptional = Omit & { [SubKey in K]?: Maybe } +export type MakeMaybe = Omit & { [SubKey in K]: Maybe } +export type MakeEmpty = { [_ in K]?: never } +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never } +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string } + String: { input: string; output: string } + Boolean: { input: boolean; output: boolean } + Int: { input: number; output: number } + Float: { input: number; output: number } + /** A floating point number that requires more precision than IEEE 754 binary 64 */ + BigFloat: { input: any; output: any } + /** + * A signed eight-byte integer. The upper big integer values are greater than the + * max value for a JavaScript number. Therefore all big integers will be output as + * strings and not numbers. + */ + BigInt: { input: any; output: any } + /** A location in a connection that can be used for resuming pagination. */ + Cursor: { input: any; output: any } + /** The day, does not include a time. */ + Date: { input: any; output: any } + /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ + JSON: { input: any; output: any } +} + +export type Account = Node & { + __typename?: 'Account' + /** Reads and enables pagination through a set of `Address`. */ + addresses: AddressesConnection + /** Id is a base58 encoded public key */ + id: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Network`. */ + networksByAddressAccountIdAndNetworkId: AccountNetworksByAddressAccountIdAndNetworkIdManyToManyConnection + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] +} + +export type AccountAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type AccountNetworksByAddressAccountIdAndNetworkIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type AccountAggregates = { + __typename?: 'AccountAggregates' + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> +} + +export type AccountDistinctCountAggregates = { + __typename?: 'AccountDistinctCountAggregates' + /** Distinct count of id across the matching connection */ + id?: Maybe +} + +/** A filter to be used against `Account` object types. All fields are combined with a logical ‘and.’ */ +export type AccountFilter = { + /** Filter by the object’s `addresses` relation. */ + addresses?: InputMaybe + /** Some related `addresses` exist. */ + addressesExist?: InputMaybe + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> +} + +/** A connection to a list of `Network` values, with data from `Address`. */ +export type AccountNetworksByAddressAccountIdAndNetworkIdManyToManyConnection = { + __typename?: 'AccountNetworksByAddressAccountIdAndNetworkIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Network`, info from the `Address`, and the cursor to aid in pagination. */ + edges: Array + /** A list of `Network` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Network` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `Network` edge in the connection, with data from `Address`. */ +export type AccountNetworksByAddressAccountIdAndNetworkIdManyToManyEdge = { + __typename?: 'AccountNetworksByAddressAccountIdAndNetworkIdManyToManyEdge' + /** Reads and enables pagination through a set of `Address`. */ + addresses: AddressesConnection + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Network` at the end of the edge. */ + node?: Maybe +} + +/** A `Network` edge in the connection, with data from `Address`. */ +export type AccountNetworksByAddressAccountIdAndNetworkIdManyToManyEdgeAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** A filter to be used against many `Address` object types. All fields are combined with a logical ‘and.’ */ +export type AccountToManyAddressFilter = { + /** Aggregates across related `Address` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +/** A connection to a list of `Account` values. */ +export type AccountsConnection = { + __typename?: 'AccountsConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Account` and cursor to aid in pagination. */ + edges: Array + /** A list of `Account` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Account` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `Account` edge in the connection. */ +export type AccountsEdge = { + __typename?: 'AccountsEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Account` at the end of the edge. */ + node?: Maybe +} + +/** Methods to use when ordering `Account`. */ +export enum AccountsOrderBy { + AddressesAverageAccountIdAsc = 'ADDRESSES_AVERAGE_ACCOUNT_ID_ASC', + AddressesAverageAccountIdDesc = 'ADDRESSES_AVERAGE_ACCOUNT_ID_DESC', + AddressesAverageIdAsc = 'ADDRESSES_AVERAGE_ID_ASC', + AddressesAverageIdDesc = 'ADDRESSES_AVERAGE_ID_DESC', + AddressesAverageNetworkIdAsc = 'ADDRESSES_AVERAGE_NETWORK_ID_ASC', + AddressesAverageNetworkIdDesc = 'ADDRESSES_AVERAGE_NETWORK_ID_DESC', + AddressesCountAsc = 'ADDRESSES_COUNT_ASC', + AddressesCountDesc = 'ADDRESSES_COUNT_DESC', + AddressesDistinctCountAccountIdAsc = 'ADDRESSES_DISTINCT_COUNT_ACCOUNT_ID_ASC', + AddressesDistinctCountAccountIdDesc = 'ADDRESSES_DISTINCT_COUNT_ACCOUNT_ID_DESC', + AddressesDistinctCountIdAsc = 'ADDRESSES_DISTINCT_COUNT_ID_ASC', + AddressesDistinctCountIdDesc = 'ADDRESSES_DISTINCT_COUNT_ID_DESC', + AddressesDistinctCountNetworkIdAsc = 'ADDRESSES_DISTINCT_COUNT_NETWORK_ID_ASC', + AddressesDistinctCountNetworkIdDesc = 'ADDRESSES_DISTINCT_COUNT_NETWORK_ID_DESC', + AddressesMaxAccountIdAsc = 'ADDRESSES_MAX_ACCOUNT_ID_ASC', + AddressesMaxAccountIdDesc = 'ADDRESSES_MAX_ACCOUNT_ID_DESC', + AddressesMaxIdAsc = 'ADDRESSES_MAX_ID_ASC', + AddressesMaxIdDesc = 'ADDRESSES_MAX_ID_DESC', + AddressesMaxNetworkIdAsc = 'ADDRESSES_MAX_NETWORK_ID_ASC', + AddressesMaxNetworkIdDesc = 'ADDRESSES_MAX_NETWORK_ID_DESC', + AddressesMinAccountIdAsc = 'ADDRESSES_MIN_ACCOUNT_ID_ASC', + AddressesMinAccountIdDesc = 'ADDRESSES_MIN_ACCOUNT_ID_DESC', + AddressesMinIdAsc = 'ADDRESSES_MIN_ID_ASC', + AddressesMinIdDesc = 'ADDRESSES_MIN_ID_DESC', + AddressesMinNetworkIdAsc = 'ADDRESSES_MIN_NETWORK_ID_ASC', + AddressesMinNetworkIdDesc = 'ADDRESSES_MIN_NETWORK_ID_DESC', + AddressesStddevPopulationAccountIdAsc = 'ADDRESSES_STDDEV_POPULATION_ACCOUNT_ID_ASC', + AddressesStddevPopulationAccountIdDesc = 'ADDRESSES_STDDEV_POPULATION_ACCOUNT_ID_DESC', + AddressesStddevPopulationIdAsc = 'ADDRESSES_STDDEV_POPULATION_ID_ASC', + AddressesStddevPopulationIdDesc = 'ADDRESSES_STDDEV_POPULATION_ID_DESC', + AddressesStddevPopulationNetworkIdAsc = 'ADDRESSES_STDDEV_POPULATION_NETWORK_ID_ASC', + AddressesStddevPopulationNetworkIdDesc = 'ADDRESSES_STDDEV_POPULATION_NETWORK_ID_DESC', + AddressesStddevSampleAccountIdAsc = 'ADDRESSES_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + AddressesStddevSampleAccountIdDesc = 'ADDRESSES_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + AddressesStddevSampleIdAsc = 'ADDRESSES_STDDEV_SAMPLE_ID_ASC', + AddressesStddevSampleIdDesc = 'ADDRESSES_STDDEV_SAMPLE_ID_DESC', + AddressesStddevSampleNetworkIdAsc = 'ADDRESSES_STDDEV_SAMPLE_NETWORK_ID_ASC', + AddressesStddevSampleNetworkIdDesc = 'ADDRESSES_STDDEV_SAMPLE_NETWORK_ID_DESC', + AddressesSumAccountIdAsc = 'ADDRESSES_SUM_ACCOUNT_ID_ASC', + AddressesSumAccountIdDesc = 'ADDRESSES_SUM_ACCOUNT_ID_DESC', + AddressesSumIdAsc = 'ADDRESSES_SUM_ID_ASC', + AddressesSumIdDesc = 'ADDRESSES_SUM_ID_DESC', + AddressesSumNetworkIdAsc = 'ADDRESSES_SUM_NETWORK_ID_ASC', + AddressesSumNetworkIdDesc = 'ADDRESSES_SUM_NETWORK_ID_DESC', + AddressesVariancePopulationAccountIdAsc = 'ADDRESSES_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + AddressesVariancePopulationAccountIdDesc = 'ADDRESSES_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + AddressesVariancePopulationIdAsc = 'ADDRESSES_VARIANCE_POPULATION_ID_ASC', + AddressesVariancePopulationIdDesc = 'ADDRESSES_VARIANCE_POPULATION_ID_DESC', + AddressesVariancePopulationNetworkIdAsc = 'ADDRESSES_VARIANCE_POPULATION_NETWORK_ID_ASC', + AddressesVariancePopulationNetworkIdDesc = 'ADDRESSES_VARIANCE_POPULATION_NETWORK_ID_DESC', + AddressesVarianceSampleAccountIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + AddressesVarianceSampleAccountIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + AddressesVarianceSampleIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_ID_ASC', + AddressesVarianceSampleIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_ID_DESC', + AddressesVarianceSampleNetworkIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_NETWORK_ID_ASC', + AddressesVarianceSampleNetworkIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_NETWORK_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', +} + +export type Address = Node & { + __typename?: 'Address' + /** Reads a single `Account` that is related to this `Address`. */ + account?: Maybe + accountId?: Maybe + id: Scalars['String']['output'] + /** Reads a single `Network` that is related to this `Address`. */ + network?: Maybe + networkId: Scalars['String']['output'] + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] +} + +export type AddressAggregates = { + __typename?: 'AddressAggregates' + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> +} + +/** A filter to be used against aggregates of `Address` object types. */ +export type AddressAggregatesFilter = { + /** Distinct count aggregate over matching `Address` objects. */ + distinctCount?: InputMaybe + /** A filter that must pass for the relevant `Address` object to be included within the aggregate. */ + filter?: InputMaybe +} + +export type AddressDistinctCountAggregateFilter = { + accountId?: InputMaybe + id?: InputMaybe + networkId?: InputMaybe +} + +export type AddressDistinctCountAggregates = { + __typename?: 'AddressDistinctCountAggregates' + /** Distinct count of accountId across the matching connection */ + accountId?: Maybe + /** Distinct count of id across the matching connection */ + id?: Maybe + /** Distinct count of networkId across the matching connection */ + networkId?: Maybe +} + +/** A filter to be used against `Address` object types. All fields are combined with a logical ‘and.’ */ +export type AddressFilter = { + /** Filter by the object’s `account` relation. */ + account?: InputMaybe + /** A related `account` exists. */ + accountExists?: InputMaybe + /** Filter by the object’s `accountId` field. */ + accountId?: InputMaybe + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Filter by the object’s `network` relation. */ + network?: InputMaybe + /** Filter by the object’s `networkId` field. */ + networkId?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> +} + +/** A connection to a list of `Address` values. */ +export type AddressesConnection = { + __typename?: 'AddressesConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Address` and cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Address` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Address` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Address` values. */ +export type AddressesConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Address` edge in the connection. */ +export type AddressesEdge = { + __typename?: 'AddressesEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Address` at the end of the edge. */ + node?: Maybe
+} + +/** Grouping methods for `Address` for usage during aggregation. */ +export enum AddressesGroupBy { + AccountId = 'ACCOUNT_ID', + NetworkId = 'NETWORK_ID', +} + +/** Conditions for `Address` aggregates. */ +export type AddressesHavingInput = { + AND?: InputMaybe> + OR?: InputMaybe> +} + +/** Methods to use when ordering `Address`. */ +export enum AddressesOrderBy { + AccountIdAsc = 'ACCOUNT_ID_ASC', + AccountIdDesc = 'ACCOUNT_ID_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + NetworkIdAsc = 'NETWORK_ID_ASC', + NetworkIdDesc = 'NETWORK_ID_DESC', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', +} + +/** A filter to be used against BigFloat fields. All fields are combined with a logical ‘and.’ */ +export type BigFloatFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> +} + +/** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */ +export type BigIntFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> +} + +export type BlockedAddress = Node & { + __typename?: 'BlockedAddress' + /** Addresses that does not implement desired interfaces */ + id: Scalars['String']['output'] + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] +} + +export type BlockedAddressAggregates = { + __typename?: 'BlockedAddressAggregates' + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> +} + +export type BlockedAddressDistinctCountAggregates = { + __typename?: 'BlockedAddressDistinctCountAggregates' + /** Distinct count of id across the matching connection */ + id?: Maybe +} + +/** A filter to be used against `BlockedAddress` object types. All fields are combined with a logical ‘and.’ */ +export type BlockedAddressFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> +} + +/** A connection to a list of `BlockedAddress` values. */ +export type BlockedAddressesConnection = { + __typename?: 'BlockedAddressesConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `BlockedAddress` and cursor to aid in pagination. */ + edges: Array + /** A list of `BlockedAddress` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `BlockedAddress` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `BlockedAddress` edge in the connection. */ +export type BlockedAddressesEdge = { + __typename?: 'BlockedAddressesEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `BlockedAddress` at the end of the edge. */ + node?: Maybe +} + +/** Methods to use when ordering `BlockedAddress`. */ +export enum BlockedAddressesOrderBy { + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', +} + +export type Collection = Node & { + __typename?: 'Collection' + contractAddress: Scalars['String']['output'] + contractType: ContractType + createdBlock: Scalars['BigFloat']['output'] + createdTimestamp: Scalars['BigFloat']['output'] + creatorAddress: Scalars['String']['output'] + id: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Metadatum`. */ + metadataByNftCollectionIdAndMetadataId: CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyConnection + name?: Maybe + /** Reads a single `Network` that is related to this `Collection`. */ + network?: Maybe + networkId: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Nft`. */ + nfts: NftsConnection + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] + symbol?: Maybe + totalSupply: Scalars['BigFloat']['output'] +} + +export type CollectionMetadataByNftCollectionIdAndMetadataIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type CollectionNftsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type CollectionAggregates = { + __typename?: 'CollectionAggregates' + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe +} + +/** A filter to be used against aggregates of `Collection` object types. */ +export type CollectionAggregatesFilter = { + /** Mean average aggregate over matching `Collection` objects. */ + average?: InputMaybe + /** Distinct count aggregate over matching `Collection` objects. */ + distinctCount?: InputMaybe + /** A filter that must pass for the relevant `Collection` object to be included within the aggregate. */ + filter?: InputMaybe + /** Maximum aggregate over matching `Collection` objects. */ + max?: InputMaybe + /** Minimum aggregate over matching `Collection` objects. */ + min?: InputMaybe + /** Population standard deviation aggregate over matching `Collection` objects. */ + stddevPopulation?: InputMaybe + /** Sample standard deviation aggregate over matching `Collection` objects. */ + stddevSample?: InputMaybe + /** Sum aggregate over matching `Collection` objects. */ + sum?: InputMaybe + /** Population variance aggregate over matching `Collection` objects. */ + variancePopulation?: InputMaybe + /** Sample variance aggregate over matching `Collection` objects. */ + varianceSample?: InputMaybe +} + +export type CollectionAverageAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionAverageAggregates = { + __typename?: 'CollectionAverageAggregates' + /** Mean average of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Mean average of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Mean average of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +export type CollectionDistinctCountAggregateFilter = { + contractAddress?: InputMaybe + contractType?: InputMaybe + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + creatorAddress?: InputMaybe + id?: InputMaybe + name?: InputMaybe + networkId?: InputMaybe + symbol?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionDistinctCountAggregates = { + __typename?: 'CollectionDistinctCountAggregates' + /** Distinct count of contractAddress across the matching connection */ + contractAddress?: Maybe + /** Distinct count of contractType across the matching connection */ + contractType?: Maybe + /** Distinct count of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Distinct count of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Distinct count of creatorAddress across the matching connection */ + creatorAddress?: Maybe + /** Distinct count of id across the matching connection */ + id?: Maybe + /** Distinct count of name across the matching connection */ + name?: Maybe + /** Distinct count of networkId across the matching connection */ + networkId?: Maybe + /** Distinct count of symbol across the matching connection */ + symbol?: Maybe + /** Distinct count of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +/** A filter to be used against `Collection` object types. All fields are combined with a logical ‘and.’ */ +export type CollectionFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `contractAddress` field. */ + contractAddress?: InputMaybe + /** Filter by the object’s `contractType` field. */ + contractType?: InputMaybe + /** Filter by the object’s `createdBlock` field. */ + createdBlock?: InputMaybe + /** Filter by the object’s `createdTimestamp` field. */ + createdTimestamp?: InputMaybe + /** Filter by the object’s `creatorAddress` field. */ + creatorAddress?: InputMaybe + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Filter by the object’s `name` field. */ + name?: InputMaybe + /** Filter by the object’s `network` relation. */ + network?: InputMaybe + /** Filter by the object’s `networkId` field. */ + networkId?: InputMaybe + /** Filter by the object’s `nfts` relation. */ + nfts?: InputMaybe + /** Some related `nfts` exist. */ + nftsExist?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> + /** Filter by the object’s `symbol` field. */ + symbol?: InputMaybe + /** Filter by the object’s `totalSupply` field. */ + totalSupply?: InputMaybe +} + +export type CollectionMaxAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionMaxAggregates = { + __typename?: 'CollectionMaxAggregates' + /** Maximum of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Maximum of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Maximum of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +/** A connection to a list of `Metadatum` values, with data from `Nft`. */ +export type CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyConnection = { + __typename?: 'CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Metadatum`, info from the `Nft`, and the cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Metadatum` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Metadatum` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Metadatum` values, with data from `Nft`. */ +export type CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Metadatum` edge in the connection, with data from `Nft`. */ +export type CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyEdge = { + __typename?: 'CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** Reads and enables pagination through a set of `Nft`. */ + nftsByMetadataId: NftsConnection + /** The `Metadatum` at the end of the edge. */ + node?: Maybe +} + +/** A `Metadatum` edge in the connection, with data from `Nft`. */ +export type CollectionMetadataByNftCollectionIdAndMetadataIdManyToManyEdgeNftsByMetadataIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type CollectionMinAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionMinAggregates = { + __typename?: 'CollectionMinAggregates' + /** Minimum of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Minimum of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Minimum of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +export type CollectionStddevPopulationAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionStddevPopulationAggregates = { + __typename?: 'CollectionStddevPopulationAggregates' + /** Population standard deviation of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Population standard deviation of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Population standard deviation of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +export type CollectionStddevSampleAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionStddevSampleAggregates = { + __typename?: 'CollectionStddevSampleAggregates' + /** Sample standard deviation of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Sample standard deviation of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Sample standard deviation of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +export type CollectionSumAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionSumAggregates = { + __typename?: 'CollectionSumAggregates' + /** Sum of createdBlock across the matching connection */ + createdBlock: Scalars['BigFloat']['output'] + /** Sum of createdTimestamp across the matching connection */ + createdTimestamp: Scalars['BigFloat']['output'] + /** Sum of totalSupply across the matching connection */ + totalSupply: Scalars['BigFloat']['output'] +} + +/** A filter to be used against many `Nft` object types. All fields are combined with a logical ‘and.’ */ +export type CollectionToManyNftFilter = { + /** Aggregates across related `Nft` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +export type CollectionVariancePopulationAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionVariancePopulationAggregates = { + __typename?: 'CollectionVariancePopulationAggregates' + /** Population variance of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Population variance of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Population variance of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +export type CollectionVarianceSampleAggregateFilter = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionVarianceSampleAggregates = { + __typename?: 'CollectionVarianceSampleAggregates' + /** Sample variance of createdBlock across the matching connection */ + createdBlock?: Maybe + /** Sample variance of createdTimestamp across the matching connection */ + createdTimestamp?: Maybe + /** Sample variance of totalSupply across the matching connection */ + totalSupply?: Maybe +} + +/** A connection to a list of `Collection` values. */ +export type CollectionsConnection = { + __typename?: 'CollectionsConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Collection` and cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Collection` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Collection` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Collection` values. */ +export type CollectionsConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Collection` edge in the connection. */ +export type CollectionsEdge = { + __typename?: 'CollectionsEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Collection` at the end of the edge. */ + node?: Maybe +} + +/** Grouping methods for `Collection` for usage during aggregation. */ +export enum CollectionsGroupBy { + ContractAddress = 'CONTRACT_ADDRESS', + ContractType = 'CONTRACT_TYPE', + CreatedBlock = 'CREATED_BLOCK', + CreatedTimestamp = 'CREATED_TIMESTAMP', + CreatorAddress = 'CREATOR_ADDRESS', + Name = 'NAME', + NetworkId = 'NETWORK_ID', + Symbol = 'SYMBOL', + TotalSupply = 'TOTAL_SUPPLY', +} + +export type CollectionsHavingAverageInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingDistinctCountInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +/** Conditions for `Collection` aggregates. */ +export type CollectionsHavingInput = { + AND?: InputMaybe> + OR?: InputMaybe> + average?: InputMaybe + distinctCount?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddevPopulation?: InputMaybe + stddevSample?: InputMaybe + sum?: InputMaybe + variancePopulation?: InputMaybe + varianceSample?: InputMaybe +} + +export type CollectionsHavingMaxInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingMinInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingStddevPopulationInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingStddevSampleInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingSumInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingVariancePopulationInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +export type CollectionsHavingVarianceSampleInput = { + createdBlock?: InputMaybe + createdTimestamp?: InputMaybe + totalSupply?: InputMaybe +} + +/** Methods to use when ordering `Collection`. */ +export enum CollectionsOrderBy { + ContractAddressAsc = 'CONTRACT_ADDRESS_ASC', + ContractAddressDesc = 'CONTRACT_ADDRESS_DESC', + ContractTypeAsc = 'CONTRACT_TYPE_ASC', + ContractTypeDesc = 'CONTRACT_TYPE_DESC', + CreatedBlockAsc = 'CREATED_BLOCK_ASC', + CreatedBlockDesc = 'CREATED_BLOCK_DESC', + CreatedTimestampAsc = 'CREATED_TIMESTAMP_ASC', + CreatedTimestampDesc = 'CREATED_TIMESTAMP_DESC', + CreatorAddressAsc = 'CREATOR_ADDRESS_ASC', + CreatorAddressDesc = 'CREATOR_ADDRESS_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + Natural = 'NATURAL', + NetworkIdAsc = 'NETWORK_ID_ASC', + NetworkIdDesc = 'NETWORK_ID_DESC', + NftsAverageAmountAsc = 'NFTS_AVERAGE_AMOUNT_ASC', + NftsAverageAmountDesc = 'NFTS_AVERAGE_AMOUNT_DESC', + NftsAverageCollectionIdAsc = 'NFTS_AVERAGE_COLLECTION_ID_ASC', + NftsAverageCollectionIdDesc = 'NFTS_AVERAGE_COLLECTION_ID_DESC', + NftsAverageCurrentOwnerAsc = 'NFTS_AVERAGE_CURRENT_OWNER_ASC', + NftsAverageCurrentOwnerDesc = 'NFTS_AVERAGE_CURRENT_OWNER_DESC', + NftsAverageIdAsc = 'NFTS_AVERAGE_ID_ASC', + NftsAverageIdDesc = 'NFTS_AVERAGE_ID_DESC', + NftsAverageMetadataIdAsc = 'NFTS_AVERAGE_METADATA_ID_ASC', + NftsAverageMetadataIdDesc = 'NFTS_AVERAGE_METADATA_ID_DESC', + NftsAverageMintedBlockAsc = 'NFTS_AVERAGE_MINTED_BLOCK_ASC', + NftsAverageMintedBlockDesc = 'NFTS_AVERAGE_MINTED_BLOCK_DESC', + NftsAverageMintedTimestampAsc = 'NFTS_AVERAGE_MINTED_TIMESTAMP_ASC', + NftsAverageMintedTimestampDesc = 'NFTS_AVERAGE_MINTED_TIMESTAMP_DESC', + NftsAverageMinterAddressAsc = 'NFTS_AVERAGE_MINTER_ADDRESS_ASC', + NftsAverageMinterAddressDesc = 'NFTS_AVERAGE_MINTER_ADDRESS_DESC', + NftsAverageTokenIdAsc = 'NFTS_AVERAGE_TOKEN_ID_ASC', + NftsAverageTokenIdDesc = 'NFTS_AVERAGE_TOKEN_ID_DESC', + NftsCountAsc = 'NFTS_COUNT_ASC', + NftsCountDesc = 'NFTS_COUNT_DESC', + NftsDistinctCountAmountAsc = 'NFTS_DISTINCT_COUNT_AMOUNT_ASC', + NftsDistinctCountAmountDesc = 'NFTS_DISTINCT_COUNT_AMOUNT_DESC', + NftsDistinctCountCollectionIdAsc = 'NFTS_DISTINCT_COUNT_COLLECTION_ID_ASC', + NftsDistinctCountCollectionIdDesc = 'NFTS_DISTINCT_COUNT_COLLECTION_ID_DESC', + NftsDistinctCountCurrentOwnerAsc = 'NFTS_DISTINCT_COUNT_CURRENT_OWNER_ASC', + NftsDistinctCountCurrentOwnerDesc = 'NFTS_DISTINCT_COUNT_CURRENT_OWNER_DESC', + NftsDistinctCountIdAsc = 'NFTS_DISTINCT_COUNT_ID_ASC', + NftsDistinctCountIdDesc = 'NFTS_DISTINCT_COUNT_ID_DESC', + NftsDistinctCountMetadataIdAsc = 'NFTS_DISTINCT_COUNT_METADATA_ID_ASC', + NftsDistinctCountMetadataIdDesc = 'NFTS_DISTINCT_COUNT_METADATA_ID_DESC', + NftsDistinctCountMintedBlockAsc = 'NFTS_DISTINCT_COUNT_MINTED_BLOCK_ASC', + NftsDistinctCountMintedBlockDesc = 'NFTS_DISTINCT_COUNT_MINTED_BLOCK_DESC', + NftsDistinctCountMintedTimestampAsc = 'NFTS_DISTINCT_COUNT_MINTED_TIMESTAMP_ASC', + NftsDistinctCountMintedTimestampDesc = 'NFTS_DISTINCT_COUNT_MINTED_TIMESTAMP_DESC', + NftsDistinctCountMinterAddressAsc = 'NFTS_DISTINCT_COUNT_MINTER_ADDRESS_ASC', + NftsDistinctCountMinterAddressDesc = 'NFTS_DISTINCT_COUNT_MINTER_ADDRESS_DESC', + NftsDistinctCountTokenIdAsc = 'NFTS_DISTINCT_COUNT_TOKEN_ID_ASC', + NftsDistinctCountTokenIdDesc = 'NFTS_DISTINCT_COUNT_TOKEN_ID_DESC', + NftsMaxAmountAsc = 'NFTS_MAX_AMOUNT_ASC', + NftsMaxAmountDesc = 'NFTS_MAX_AMOUNT_DESC', + NftsMaxCollectionIdAsc = 'NFTS_MAX_COLLECTION_ID_ASC', + NftsMaxCollectionIdDesc = 'NFTS_MAX_COLLECTION_ID_DESC', + NftsMaxCurrentOwnerAsc = 'NFTS_MAX_CURRENT_OWNER_ASC', + NftsMaxCurrentOwnerDesc = 'NFTS_MAX_CURRENT_OWNER_DESC', + NftsMaxIdAsc = 'NFTS_MAX_ID_ASC', + NftsMaxIdDesc = 'NFTS_MAX_ID_DESC', + NftsMaxMetadataIdAsc = 'NFTS_MAX_METADATA_ID_ASC', + NftsMaxMetadataIdDesc = 'NFTS_MAX_METADATA_ID_DESC', + NftsMaxMintedBlockAsc = 'NFTS_MAX_MINTED_BLOCK_ASC', + NftsMaxMintedBlockDesc = 'NFTS_MAX_MINTED_BLOCK_DESC', + NftsMaxMintedTimestampAsc = 'NFTS_MAX_MINTED_TIMESTAMP_ASC', + NftsMaxMintedTimestampDesc = 'NFTS_MAX_MINTED_TIMESTAMP_DESC', + NftsMaxMinterAddressAsc = 'NFTS_MAX_MINTER_ADDRESS_ASC', + NftsMaxMinterAddressDesc = 'NFTS_MAX_MINTER_ADDRESS_DESC', + NftsMaxTokenIdAsc = 'NFTS_MAX_TOKEN_ID_ASC', + NftsMaxTokenIdDesc = 'NFTS_MAX_TOKEN_ID_DESC', + NftsMinAmountAsc = 'NFTS_MIN_AMOUNT_ASC', + NftsMinAmountDesc = 'NFTS_MIN_AMOUNT_DESC', + NftsMinCollectionIdAsc = 'NFTS_MIN_COLLECTION_ID_ASC', + NftsMinCollectionIdDesc = 'NFTS_MIN_COLLECTION_ID_DESC', + NftsMinCurrentOwnerAsc = 'NFTS_MIN_CURRENT_OWNER_ASC', + NftsMinCurrentOwnerDesc = 'NFTS_MIN_CURRENT_OWNER_DESC', + NftsMinIdAsc = 'NFTS_MIN_ID_ASC', + NftsMinIdDesc = 'NFTS_MIN_ID_DESC', + NftsMinMetadataIdAsc = 'NFTS_MIN_METADATA_ID_ASC', + NftsMinMetadataIdDesc = 'NFTS_MIN_METADATA_ID_DESC', + NftsMinMintedBlockAsc = 'NFTS_MIN_MINTED_BLOCK_ASC', + NftsMinMintedBlockDesc = 'NFTS_MIN_MINTED_BLOCK_DESC', + NftsMinMintedTimestampAsc = 'NFTS_MIN_MINTED_TIMESTAMP_ASC', + NftsMinMintedTimestampDesc = 'NFTS_MIN_MINTED_TIMESTAMP_DESC', + NftsMinMinterAddressAsc = 'NFTS_MIN_MINTER_ADDRESS_ASC', + NftsMinMinterAddressDesc = 'NFTS_MIN_MINTER_ADDRESS_DESC', + NftsMinTokenIdAsc = 'NFTS_MIN_TOKEN_ID_ASC', + NftsMinTokenIdDesc = 'NFTS_MIN_TOKEN_ID_DESC', + NftsStddevPopulationAmountAsc = 'NFTS_STDDEV_POPULATION_AMOUNT_ASC', + NftsStddevPopulationAmountDesc = 'NFTS_STDDEV_POPULATION_AMOUNT_DESC', + NftsStddevPopulationCollectionIdAsc = 'NFTS_STDDEV_POPULATION_COLLECTION_ID_ASC', + NftsStddevPopulationCollectionIdDesc = 'NFTS_STDDEV_POPULATION_COLLECTION_ID_DESC', + NftsStddevPopulationCurrentOwnerAsc = 'NFTS_STDDEV_POPULATION_CURRENT_OWNER_ASC', + NftsStddevPopulationCurrentOwnerDesc = 'NFTS_STDDEV_POPULATION_CURRENT_OWNER_DESC', + NftsStddevPopulationIdAsc = 'NFTS_STDDEV_POPULATION_ID_ASC', + NftsStddevPopulationIdDesc = 'NFTS_STDDEV_POPULATION_ID_DESC', + NftsStddevPopulationMetadataIdAsc = 'NFTS_STDDEV_POPULATION_METADATA_ID_ASC', + NftsStddevPopulationMetadataIdDesc = 'NFTS_STDDEV_POPULATION_METADATA_ID_DESC', + NftsStddevPopulationMintedBlockAsc = 'NFTS_STDDEV_POPULATION_MINTED_BLOCK_ASC', + NftsStddevPopulationMintedBlockDesc = 'NFTS_STDDEV_POPULATION_MINTED_BLOCK_DESC', + NftsStddevPopulationMintedTimestampAsc = 'NFTS_STDDEV_POPULATION_MINTED_TIMESTAMP_ASC', + NftsStddevPopulationMintedTimestampDesc = 'NFTS_STDDEV_POPULATION_MINTED_TIMESTAMP_DESC', + NftsStddevPopulationMinterAddressAsc = 'NFTS_STDDEV_POPULATION_MINTER_ADDRESS_ASC', + NftsStddevPopulationMinterAddressDesc = 'NFTS_STDDEV_POPULATION_MINTER_ADDRESS_DESC', + NftsStddevPopulationTokenIdAsc = 'NFTS_STDDEV_POPULATION_TOKEN_ID_ASC', + NftsStddevPopulationTokenIdDesc = 'NFTS_STDDEV_POPULATION_TOKEN_ID_DESC', + NftsStddevSampleAmountAsc = 'NFTS_STDDEV_SAMPLE_AMOUNT_ASC', + NftsStddevSampleAmountDesc = 'NFTS_STDDEV_SAMPLE_AMOUNT_DESC', + NftsStddevSampleCollectionIdAsc = 'NFTS_STDDEV_SAMPLE_COLLECTION_ID_ASC', + NftsStddevSampleCollectionIdDesc = 'NFTS_STDDEV_SAMPLE_COLLECTION_ID_DESC', + NftsStddevSampleCurrentOwnerAsc = 'NFTS_STDDEV_SAMPLE_CURRENT_OWNER_ASC', + NftsStddevSampleCurrentOwnerDesc = 'NFTS_STDDEV_SAMPLE_CURRENT_OWNER_DESC', + NftsStddevSampleIdAsc = 'NFTS_STDDEV_SAMPLE_ID_ASC', + NftsStddevSampleIdDesc = 'NFTS_STDDEV_SAMPLE_ID_DESC', + NftsStddevSampleMetadataIdAsc = 'NFTS_STDDEV_SAMPLE_METADATA_ID_ASC', + NftsStddevSampleMetadataIdDesc = 'NFTS_STDDEV_SAMPLE_METADATA_ID_DESC', + NftsStddevSampleMintedBlockAsc = 'NFTS_STDDEV_SAMPLE_MINTED_BLOCK_ASC', + NftsStddevSampleMintedBlockDesc = 'NFTS_STDDEV_SAMPLE_MINTED_BLOCK_DESC', + NftsStddevSampleMintedTimestampAsc = 'NFTS_STDDEV_SAMPLE_MINTED_TIMESTAMP_ASC', + NftsStddevSampleMintedTimestampDesc = 'NFTS_STDDEV_SAMPLE_MINTED_TIMESTAMP_DESC', + NftsStddevSampleMinterAddressAsc = 'NFTS_STDDEV_SAMPLE_MINTER_ADDRESS_ASC', + NftsStddevSampleMinterAddressDesc = 'NFTS_STDDEV_SAMPLE_MINTER_ADDRESS_DESC', + NftsStddevSampleTokenIdAsc = 'NFTS_STDDEV_SAMPLE_TOKEN_ID_ASC', + NftsStddevSampleTokenIdDesc = 'NFTS_STDDEV_SAMPLE_TOKEN_ID_DESC', + NftsSumAmountAsc = 'NFTS_SUM_AMOUNT_ASC', + NftsSumAmountDesc = 'NFTS_SUM_AMOUNT_DESC', + NftsSumCollectionIdAsc = 'NFTS_SUM_COLLECTION_ID_ASC', + NftsSumCollectionIdDesc = 'NFTS_SUM_COLLECTION_ID_DESC', + NftsSumCurrentOwnerAsc = 'NFTS_SUM_CURRENT_OWNER_ASC', + NftsSumCurrentOwnerDesc = 'NFTS_SUM_CURRENT_OWNER_DESC', + NftsSumIdAsc = 'NFTS_SUM_ID_ASC', + NftsSumIdDesc = 'NFTS_SUM_ID_DESC', + NftsSumMetadataIdAsc = 'NFTS_SUM_METADATA_ID_ASC', + NftsSumMetadataIdDesc = 'NFTS_SUM_METADATA_ID_DESC', + NftsSumMintedBlockAsc = 'NFTS_SUM_MINTED_BLOCK_ASC', + NftsSumMintedBlockDesc = 'NFTS_SUM_MINTED_BLOCK_DESC', + NftsSumMintedTimestampAsc = 'NFTS_SUM_MINTED_TIMESTAMP_ASC', + NftsSumMintedTimestampDesc = 'NFTS_SUM_MINTED_TIMESTAMP_DESC', + NftsSumMinterAddressAsc = 'NFTS_SUM_MINTER_ADDRESS_ASC', + NftsSumMinterAddressDesc = 'NFTS_SUM_MINTER_ADDRESS_DESC', + NftsSumTokenIdAsc = 'NFTS_SUM_TOKEN_ID_ASC', + NftsSumTokenIdDesc = 'NFTS_SUM_TOKEN_ID_DESC', + NftsVariancePopulationAmountAsc = 'NFTS_VARIANCE_POPULATION_AMOUNT_ASC', + NftsVariancePopulationAmountDesc = 'NFTS_VARIANCE_POPULATION_AMOUNT_DESC', + NftsVariancePopulationCollectionIdAsc = 'NFTS_VARIANCE_POPULATION_COLLECTION_ID_ASC', + NftsVariancePopulationCollectionIdDesc = 'NFTS_VARIANCE_POPULATION_COLLECTION_ID_DESC', + NftsVariancePopulationCurrentOwnerAsc = 'NFTS_VARIANCE_POPULATION_CURRENT_OWNER_ASC', + NftsVariancePopulationCurrentOwnerDesc = 'NFTS_VARIANCE_POPULATION_CURRENT_OWNER_DESC', + NftsVariancePopulationIdAsc = 'NFTS_VARIANCE_POPULATION_ID_ASC', + NftsVariancePopulationIdDesc = 'NFTS_VARIANCE_POPULATION_ID_DESC', + NftsVariancePopulationMetadataIdAsc = 'NFTS_VARIANCE_POPULATION_METADATA_ID_ASC', + NftsVariancePopulationMetadataIdDesc = 'NFTS_VARIANCE_POPULATION_METADATA_ID_DESC', + NftsVariancePopulationMintedBlockAsc = 'NFTS_VARIANCE_POPULATION_MINTED_BLOCK_ASC', + NftsVariancePopulationMintedBlockDesc = 'NFTS_VARIANCE_POPULATION_MINTED_BLOCK_DESC', + NftsVariancePopulationMintedTimestampAsc = 'NFTS_VARIANCE_POPULATION_MINTED_TIMESTAMP_ASC', + NftsVariancePopulationMintedTimestampDesc = 'NFTS_VARIANCE_POPULATION_MINTED_TIMESTAMP_DESC', + NftsVariancePopulationMinterAddressAsc = 'NFTS_VARIANCE_POPULATION_MINTER_ADDRESS_ASC', + NftsVariancePopulationMinterAddressDesc = 'NFTS_VARIANCE_POPULATION_MINTER_ADDRESS_DESC', + NftsVariancePopulationTokenIdAsc = 'NFTS_VARIANCE_POPULATION_TOKEN_ID_ASC', + NftsVariancePopulationTokenIdDesc = 'NFTS_VARIANCE_POPULATION_TOKEN_ID_DESC', + NftsVarianceSampleAmountAsc = 'NFTS_VARIANCE_SAMPLE_AMOUNT_ASC', + NftsVarianceSampleAmountDesc = 'NFTS_VARIANCE_SAMPLE_AMOUNT_DESC', + NftsVarianceSampleCollectionIdAsc = 'NFTS_VARIANCE_SAMPLE_COLLECTION_ID_ASC', + NftsVarianceSampleCollectionIdDesc = 'NFTS_VARIANCE_SAMPLE_COLLECTION_ID_DESC', + NftsVarianceSampleCurrentOwnerAsc = 'NFTS_VARIANCE_SAMPLE_CURRENT_OWNER_ASC', + NftsVarianceSampleCurrentOwnerDesc = 'NFTS_VARIANCE_SAMPLE_CURRENT_OWNER_DESC', + NftsVarianceSampleIdAsc = 'NFTS_VARIANCE_SAMPLE_ID_ASC', + NftsVarianceSampleIdDesc = 'NFTS_VARIANCE_SAMPLE_ID_DESC', + NftsVarianceSampleMetadataIdAsc = 'NFTS_VARIANCE_SAMPLE_METADATA_ID_ASC', + NftsVarianceSampleMetadataIdDesc = 'NFTS_VARIANCE_SAMPLE_METADATA_ID_DESC', + NftsVarianceSampleMintedBlockAsc = 'NFTS_VARIANCE_SAMPLE_MINTED_BLOCK_ASC', + NftsVarianceSampleMintedBlockDesc = 'NFTS_VARIANCE_SAMPLE_MINTED_BLOCK_DESC', + NftsVarianceSampleMintedTimestampAsc = 'NFTS_VARIANCE_SAMPLE_MINTED_TIMESTAMP_ASC', + NftsVarianceSampleMintedTimestampDesc = 'NFTS_VARIANCE_SAMPLE_MINTED_TIMESTAMP_DESC', + NftsVarianceSampleMinterAddressAsc = 'NFTS_VARIANCE_SAMPLE_MINTER_ADDRESS_ASC', + NftsVarianceSampleMinterAddressDesc = 'NFTS_VARIANCE_SAMPLE_MINTER_ADDRESS_DESC', + NftsVarianceSampleTokenIdAsc = 'NFTS_VARIANCE_SAMPLE_TOKEN_ID_ASC', + NftsVarianceSampleTokenIdDesc = 'NFTS_VARIANCE_SAMPLE_TOKEN_ID_DESC', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + SymbolAsc = 'SYMBOL_ASC', + SymbolDesc = 'SYMBOL_DESC', + TotalSupplyAsc = 'TOTAL_SUPPLY_ASC', + TotalSupplyDesc = 'TOTAL_SUPPLY_DESC', +} + +export enum ContractType { + Erc721 = 'ERC721', + Erc1155 = 'ERC1155', +} + +/** A filter to be used against ContractType fields. All fields are combined with a logical ‘and.’ */ +export type ContractTypeFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> +} + +export type HavingBigfloatFilter = { + equalTo?: InputMaybe + greaterThan?: InputMaybe + greaterThanOrEqualTo?: InputMaybe + lessThan?: InputMaybe + lessThanOrEqualTo?: InputMaybe + notEqualTo?: InputMaybe +} + +/** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */ +export type JsonFilter = { + /** Contained by the specified JSON. */ + containedBy?: InputMaybe + /** Contains the specified JSON. */ + contains?: InputMaybe + /** Contains all of the specified keys. */ + containsAllKeys?: InputMaybe> + /** Contains any of the specified keys. */ + containsAnyKeys?: InputMaybe> + /** Contains the specified key. */ + containsKey?: InputMaybe + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> +} + +/** A connection to a list of `Metadatum` values. */ +export type MetadataConnection = { + __typename?: 'MetadataConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Metadatum` and cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Metadatum` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Metadatum` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Metadatum` values. */ +export type MetadataConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Metadatum` edge in the connection. */ +export type MetadataEdge = { + __typename?: 'MetadataEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Metadatum` at the end of the edge. */ + node?: Maybe +} + +/** Grouping methods for `Metadatum` for usage during aggregation. */ +export enum MetadataGroupBy { + Description = 'DESCRIPTION', + ImageUri = 'IMAGE_URI', + MetadataStatus = 'METADATA_STATUS', + MetadataUri = 'METADATA_URI', + Name = 'NAME', + Raw = 'RAW', + Symbol = 'SYMBOL', + TokenUri = 'TOKEN_URI', +} + +/** Conditions for `Metadatum` aggregates. */ +export type MetadataHavingInput = { + AND?: InputMaybe> + OR?: InputMaybe> +} + +/** Methods to use when ordering `Metadatum`. */ +export enum MetadataOrderBy { + DescriptionAsc = 'DESCRIPTION_ASC', + DescriptionDesc = 'DESCRIPTION_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + ImageUriAsc = 'IMAGE_URI_ASC', + ImageUriDesc = 'IMAGE_URI_DESC', + MetadataStatusAsc = 'METADATA_STATUS_ASC', + MetadataStatusDesc = 'METADATA_STATUS_DESC', + MetadataUriAsc = 'METADATA_URI_ASC', + MetadataUriDesc = 'METADATA_URI_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + Natural = 'NATURAL', + NftsByMetadataIdAverageAmountAsc = 'NFTS_BY_METADATA_ID_AVERAGE_AMOUNT_ASC', + NftsByMetadataIdAverageAmountDesc = 'NFTS_BY_METADATA_ID_AVERAGE_AMOUNT_DESC', + NftsByMetadataIdAverageCollectionIdAsc = 'NFTS_BY_METADATA_ID_AVERAGE_COLLECTION_ID_ASC', + NftsByMetadataIdAverageCollectionIdDesc = 'NFTS_BY_METADATA_ID_AVERAGE_COLLECTION_ID_DESC', + NftsByMetadataIdAverageCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_AVERAGE_CURRENT_OWNER_ASC', + NftsByMetadataIdAverageCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_AVERAGE_CURRENT_OWNER_DESC', + NftsByMetadataIdAverageIdAsc = 'NFTS_BY_METADATA_ID_AVERAGE_ID_ASC', + NftsByMetadataIdAverageIdDesc = 'NFTS_BY_METADATA_ID_AVERAGE_ID_DESC', + NftsByMetadataIdAverageMetadataIdAsc = 'NFTS_BY_METADATA_ID_AVERAGE_METADATA_ID_ASC', + NftsByMetadataIdAverageMetadataIdDesc = 'NFTS_BY_METADATA_ID_AVERAGE_METADATA_ID_DESC', + NftsByMetadataIdAverageMintedBlockAsc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTED_BLOCK_ASC', + NftsByMetadataIdAverageMintedBlockDesc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTED_BLOCK_DESC', + NftsByMetadataIdAverageMintedTimestampAsc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdAverageMintedTimestampDesc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdAverageMinterAddressAsc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTER_ADDRESS_ASC', + NftsByMetadataIdAverageMinterAddressDesc = 'NFTS_BY_METADATA_ID_AVERAGE_MINTER_ADDRESS_DESC', + NftsByMetadataIdAverageTokenIdAsc = 'NFTS_BY_METADATA_ID_AVERAGE_TOKEN_ID_ASC', + NftsByMetadataIdAverageTokenIdDesc = 'NFTS_BY_METADATA_ID_AVERAGE_TOKEN_ID_DESC', + NftsByMetadataIdCountAsc = 'NFTS_BY_METADATA_ID_COUNT_ASC', + NftsByMetadataIdCountDesc = 'NFTS_BY_METADATA_ID_COUNT_DESC', + NftsByMetadataIdDistinctCountAmountAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_AMOUNT_ASC', + NftsByMetadataIdDistinctCountAmountDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_AMOUNT_DESC', + NftsByMetadataIdDistinctCountCollectionIdAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_COLLECTION_ID_ASC', + NftsByMetadataIdDistinctCountCollectionIdDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_COLLECTION_ID_DESC', + NftsByMetadataIdDistinctCountCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_CURRENT_OWNER_ASC', + NftsByMetadataIdDistinctCountCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_CURRENT_OWNER_DESC', + NftsByMetadataIdDistinctCountIdAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_ID_ASC', + NftsByMetadataIdDistinctCountIdDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_ID_DESC', + NftsByMetadataIdDistinctCountMetadataIdAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_METADATA_ID_ASC', + NftsByMetadataIdDistinctCountMetadataIdDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_METADATA_ID_DESC', + NftsByMetadataIdDistinctCountMintedBlockAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTED_BLOCK_ASC', + NftsByMetadataIdDistinctCountMintedBlockDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTED_BLOCK_DESC', + NftsByMetadataIdDistinctCountMintedTimestampAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdDistinctCountMintedTimestampDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdDistinctCountMinterAddressAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTER_ADDRESS_ASC', + NftsByMetadataIdDistinctCountMinterAddressDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_MINTER_ADDRESS_DESC', + NftsByMetadataIdDistinctCountTokenIdAsc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_TOKEN_ID_ASC', + NftsByMetadataIdDistinctCountTokenIdDesc = 'NFTS_BY_METADATA_ID_DISTINCT_COUNT_TOKEN_ID_DESC', + NftsByMetadataIdMaxAmountAsc = 'NFTS_BY_METADATA_ID_MAX_AMOUNT_ASC', + NftsByMetadataIdMaxAmountDesc = 'NFTS_BY_METADATA_ID_MAX_AMOUNT_DESC', + NftsByMetadataIdMaxCollectionIdAsc = 'NFTS_BY_METADATA_ID_MAX_COLLECTION_ID_ASC', + NftsByMetadataIdMaxCollectionIdDesc = 'NFTS_BY_METADATA_ID_MAX_COLLECTION_ID_DESC', + NftsByMetadataIdMaxCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_MAX_CURRENT_OWNER_ASC', + NftsByMetadataIdMaxCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_MAX_CURRENT_OWNER_DESC', + NftsByMetadataIdMaxIdAsc = 'NFTS_BY_METADATA_ID_MAX_ID_ASC', + NftsByMetadataIdMaxIdDesc = 'NFTS_BY_METADATA_ID_MAX_ID_DESC', + NftsByMetadataIdMaxMetadataIdAsc = 'NFTS_BY_METADATA_ID_MAX_METADATA_ID_ASC', + NftsByMetadataIdMaxMetadataIdDesc = 'NFTS_BY_METADATA_ID_MAX_METADATA_ID_DESC', + NftsByMetadataIdMaxMintedBlockAsc = 'NFTS_BY_METADATA_ID_MAX_MINTED_BLOCK_ASC', + NftsByMetadataIdMaxMintedBlockDesc = 'NFTS_BY_METADATA_ID_MAX_MINTED_BLOCK_DESC', + NftsByMetadataIdMaxMintedTimestampAsc = 'NFTS_BY_METADATA_ID_MAX_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdMaxMintedTimestampDesc = 'NFTS_BY_METADATA_ID_MAX_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdMaxMinterAddressAsc = 'NFTS_BY_METADATA_ID_MAX_MINTER_ADDRESS_ASC', + NftsByMetadataIdMaxMinterAddressDesc = 'NFTS_BY_METADATA_ID_MAX_MINTER_ADDRESS_DESC', + NftsByMetadataIdMaxTokenIdAsc = 'NFTS_BY_METADATA_ID_MAX_TOKEN_ID_ASC', + NftsByMetadataIdMaxTokenIdDesc = 'NFTS_BY_METADATA_ID_MAX_TOKEN_ID_DESC', + NftsByMetadataIdMinAmountAsc = 'NFTS_BY_METADATA_ID_MIN_AMOUNT_ASC', + NftsByMetadataIdMinAmountDesc = 'NFTS_BY_METADATA_ID_MIN_AMOUNT_DESC', + NftsByMetadataIdMinCollectionIdAsc = 'NFTS_BY_METADATA_ID_MIN_COLLECTION_ID_ASC', + NftsByMetadataIdMinCollectionIdDesc = 'NFTS_BY_METADATA_ID_MIN_COLLECTION_ID_DESC', + NftsByMetadataIdMinCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_MIN_CURRENT_OWNER_ASC', + NftsByMetadataIdMinCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_MIN_CURRENT_OWNER_DESC', + NftsByMetadataIdMinIdAsc = 'NFTS_BY_METADATA_ID_MIN_ID_ASC', + NftsByMetadataIdMinIdDesc = 'NFTS_BY_METADATA_ID_MIN_ID_DESC', + NftsByMetadataIdMinMetadataIdAsc = 'NFTS_BY_METADATA_ID_MIN_METADATA_ID_ASC', + NftsByMetadataIdMinMetadataIdDesc = 'NFTS_BY_METADATA_ID_MIN_METADATA_ID_DESC', + NftsByMetadataIdMinMintedBlockAsc = 'NFTS_BY_METADATA_ID_MIN_MINTED_BLOCK_ASC', + NftsByMetadataIdMinMintedBlockDesc = 'NFTS_BY_METADATA_ID_MIN_MINTED_BLOCK_DESC', + NftsByMetadataIdMinMintedTimestampAsc = 'NFTS_BY_METADATA_ID_MIN_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdMinMintedTimestampDesc = 'NFTS_BY_METADATA_ID_MIN_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdMinMinterAddressAsc = 'NFTS_BY_METADATA_ID_MIN_MINTER_ADDRESS_ASC', + NftsByMetadataIdMinMinterAddressDesc = 'NFTS_BY_METADATA_ID_MIN_MINTER_ADDRESS_DESC', + NftsByMetadataIdMinTokenIdAsc = 'NFTS_BY_METADATA_ID_MIN_TOKEN_ID_ASC', + NftsByMetadataIdMinTokenIdDesc = 'NFTS_BY_METADATA_ID_MIN_TOKEN_ID_DESC', + NftsByMetadataIdStddevPopulationAmountAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_AMOUNT_ASC', + NftsByMetadataIdStddevPopulationAmountDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_AMOUNT_DESC', + NftsByMetadataIdStddevPopulationCollectionIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_COLLECTION_ID_ASC', + NftsByMetadataIdStddevPopulationCollectionIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_COLLECTION_ID_DESC', + NftsByMetadataIdStddevPopulationCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_CURRENT_OWNER_ASC', + NftsByMetadataIdStddevPopulationCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_CURRENT_OWNER_DESC', + NftsByMetadataIdStddevPopulationIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_ID_ASC', + NftsByMetadataIdStddevPopulationIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_ID_DESC', + NftsByMetadataIdStddevPopulationMetadataIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_METADATA_ID_ASC', + NftsByMetadataIdStddevPopulationMetadataIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_METADATA_ID_DESC', + NftsByMetadataIdStddevPopulationMintedBlockAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTED_BLOCK_ASC', + NftsByMetadataIdStddevPopulationMintedBlockDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTED_BLOCK_DESC', + NftsByMetadataIdStddevPopulationMintedTimestampAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdStddevPopulationMintedTimestampDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdStddevPopulationMinterAddressAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTER_ADDRESS_ASC', + NftsByMetadataIdStddevPopulationMinterAddressDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_MINTER_ADDRESS_DESC', + NftsByMetadataIdStddevPopulationTokenIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_TOKEN_ID_ASC', + NftsByMetadataIdStddevPopulationTokenIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_POPULATION_TOKEN_ID_DESC', + NftsByMetadataIdStddevSampleAmountAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_AMOUNT_ASC', + NftsByMetadataIdStddevSampleAmountDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_AMOUNT_DESC', + NftsByMetadataIdStddevSampleCollectionIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_COLLECTION_ID_ASC', + NftsByMetadataIdStddevSampleCollectionIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_COLLECTION_ID_DESC', + NftsByMetadataIdStddevSampleCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_CURRENT_OWNER_ASC', + NftsByMetadataIdStddevSampleCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_CURRENT_OWNER_DESC', + NftsByMetadataIdStddevSampleIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_ID_ASC', + NftsByMetadataIdStddevSampleIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_ID_DESC', + NftsByMetadataIdStddevSampleMetadataIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_METADATA_ID_ASC', + NftsByMetadataIdStddevSampleMetadataIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_METADATA_ID_DESC', + NftsByMetadataIdStddevSampleMintedBlockAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTED_BLOCK_ASC', + NftsByMetadataIdStddevSampleMintedBlockDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTED_BLOCK_DESC', + NftsByMetadataIdStddevSampleMintedTimestampAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdStddevSampleMintedTimestampDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdStddevSampleMinterAddressAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTER_ADDRESS_ASC', + NftsByMetadataIdStddevSampleMinterAddressDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_MINTER_ADDRESS_DESC', + NftsByMetadataIdStddevSampleTokenIdAsc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_TOKEN_ID_ASC', + NftsByMetadataIdStddevSampleTokenIdDesc = 'NFTS_BY_METADATA_ID_STDDEV_SAMPLE_TOKEN_ID_DESC', + NftsByMetadataIdSumAmountAsc = 'NFTS_BY_METADATA_ID_SUM_AMOUNT_ASC', + NftsByMetadataIdSumAmountDesc = 'NFTS_BY_METADATA_ID_SUM_AMOUNT_DESC', + NftsByMetadataIdSumCollectionIdAsc = 'NFTS_BY_METADATA_ID_SUM_COLLECTION_ID_ASC', + NftsByMetadataIdSumCollectionIdDesc = 'NFTS_BY_METADATA_ID_SUM_COLLECTION_ID_DESC', + NftsByMetadataIdSumCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_SUM_CURRENT_OWNER_ASC', + NftsByMetadataIdSumCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_SUM_CURRENT_OWNER_DESC', + NftsByMetadataIdSumIdAsc = 'NFTS_BY_METADATA_ID_SUM_ID_ASC', + NftsByMetadataIdSumIdDesc = 'NFTS_BY_METADATA_ID_SUM_ID_DESC', + NftsByMetadataIdSumMetadataIdAsc = 'NFTS_BY_METADATA_ID_SUM_METADATA_ID_ASC', + NftsByMetadataIdSumMetadataIdDesc = 'NFTS_BY_METADATA_ID_SUM_METADATA_ID_DESC', + NftsByMetadataIdSumMintedBlockAsc = 'NFTS_BY_METADATA_ID_SUM_MINTED_BLOCK_ASC', + NftsByMetadataIdSumMintedBlockDesc = 'NFTS_BY_METADATA_ID_SUM_MINTED_BLOCK_DESC', + NftsByMetadataIdSumMintedTimestampAsc = 'NFTS_BY_METADATA_ID_SUM_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdSumMintedTimestampDesc = 'NFTS_BY_METADATA_ID_SUM_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdSumMinterAddressAsc = 'NFTS_BY_METADATA_ID_SUM_MINTER_ADDRESS_ASC', + NftsByMetadataIdSumMinterAddressDesc = 'NFTS_BY_METADATA_ID_SUM_MINTER_ADDRESS_DESC', + NftsByMetadataIdSumTokenIdAsc = 'NFTS_BY_METADATA_ID_SUM_TOKEN_ID_ASC', + NftsByMetadataIdSumTokenIdDesc = 'NFTS_BY_METADATA_ID_SUM_TOKEN_ID_DESC', + NftsByMetadataIdVariancePopulationAmountAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_AMOUNT_ASC', + NftsByMetadataIdVariancePopulationAmountDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_AMOUNT_DESC', + NftsByMetadataIdVariancePopulationCollectionIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_COLLECTION_ID_ASC', + NftsByMetadataIdVariancePopulationCollectionIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_COLLECTION_ID_DESC', + NftsByMetadataIdVariancePopulationCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_CURRENT_OWNER_ASC', + NftsByMetadataIdVariancePopulationCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_CURRENT_OWNER_DESC', + NftsByMetadataIdVariancePopulationIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_ID_ASC', + NftsByMetadataIdVariancePopulationIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_ID_DESC', + NftsByMetadataIdVariancePopulationMetadataIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_METADATA_ID_ASC', + NftsByMetadataIdVariancePopulationMetadataIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_METADATA_ID_DESC', + NftsByMetadataIdVariancePopulationMintedBlockAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTED_BLOCK_ASC', + NftsByMetadataIdVariancePopulationMintedBlockDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTED_BLOCK_DESC', + NftsByMetadataIdVariancePopulationMintedTimestampAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdVariancePopulationMintedTimestampDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdVariancePopulationMinterAddressAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTER_ADDRESS_ASC', + NftsByMetadataIdVariancePopulationMinterAddressDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_MINTER_ADDRESS_DESC', + NftsByMetadataIdVariancePopulationTokenIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_TOKEN_ID_ASC', + NftsByMetadataIdVariancePopulationTokenIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_POPULATION_TOKEN_ID_DESC', + NftsByMetadataIdVarianceSampleAmountAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_AMOUNT_ASC', + NftsByMetadataIdVarianceSampleAmountDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_AMOUNT_DESC', + NftsByMetadataIdVarianceSampleCollectionIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_COLLECTION_ID_ASC', + NftsByMetadataIdVarianceSampleCollectionIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_COLLECTION_ID_DESC', + NftsByMetadataIdVarianceSampleCurrentOwnerAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_CURRENT_OWNER_ASC', + NftsByMetadataIdVarianceSampleCurrentOwnerDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_CURRENT_OWNER_DESC', + NftsByMetadataIdVarianceSampleIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_ID_ASC', + NftsByMetadataIdVarianceSampleIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_ID_DESC', + NftsByMetadataIdVarianceSampleMetadataIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_METADATA_ID_ASC', + NftsByMetadataIdVarianceSampleMetadataIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_METADATA_ID_DESC', + NftsByMetadataIdVarianceSampleMintedBlockAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTED_BLOCK_ASC', + NftsByMetadataIdVarianceSampleMintedBlockDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTED_BLOCK_DESC', + NftsByMetadataIdVarianceSampleMintedTimestampAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTED_TIMESTAMP_ASC', + NftsByMetadataIdVarianceSampleMintedTimestampDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTED_TIMESTAMP_DESC', + NftsByMetadataIdVarianceSampleMinterAddressAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTER_ADDRESS_ASC', + NftsByMetadataIdVarianceSampleMinterAddressDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_MINTER_ADDRESS_DESC', + NftsByMetadataIdVarianceSampleTokenIdAsc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_TOKEN_ID_ASC', + NftsByMetadataIdVarianceSampleTokenIdDesc = 'NFTS_BY_METADATA_ID_VARIANCE_SAMPLE_TOKEN_ID_DESC', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + RawAsc = 'RAW_ASC', + RawDesc = 'RAW_DESC', + SymbolAsc = 'SYMBOL_ASC', + SymbolDesc = 'SYMBOL_DESC', + TokenUriAsc = 'TOKEN_URI_ASC', + TokenUriDesc = 'TOKEN_URI_DESC', +} + +export type Metadatum = Node & { + __typename?: 'Metadatum' + /** Reads and enables pagination through a set of `Collection`. */ + collectionsByNftMetadataIdAndCollectionId: MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyConnection + description?: Maybe + id: Scalars['String']['output'] + imageUri?: Maybe + metadataStatus: StatusType + metadataUri: Scalars['String']['output'] + name?: Maybe + /** Reads and enables pagination through a set of `Nft`. */ + nftsByMetadataId: NftsConnection + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] + raw?: Maybe + symbol?: Maybe + tokenUri?: Maybe +} + +export type MetadatumCollectionsByNftMetadataIdAndCollectionIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type MetadatumNftsByMetadataIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type MetadatumAggregates = { + __typename?: 'MetadatumAggregates' + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> +} + +/** A connection to a list of `Collection` values, with data from `Nft`. */ +export type MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyConnection = { + __typename?: 'MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Collection`, info from the `Nft`, and the cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Collection` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Collection` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Collection` values, with data from `Nft`. */ +export type MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Collection` edge in the connection, with data from `Nft`. */ +export type MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyEdge = { + __typename?: 'MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** Reads and enables pagination through a set of `Nft`. */ + nfts: NftsConnection + /** The `Collection` at the end of the edge. */ + node?: Maybe +} + +/** A `Collection` edge in the connection, with data from `Nft`. */ +export type MetadatumCollectionsByNftMetadataIdAndCollectionIdManyToManyEdgeNftsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type MetadatumDistinctCountAggregates = { + __typename?: 'MetadatumDistinctCountAggregates' + /** Distinct count of description across the matching connection */ + description?: Maybe + /** Distinct count of id across the matching connection */ + id?: Maybe + /** Distinct count of imageUri across the matching connection */ + imageUri?: Maybe + /** Distinct count of metadataStatus across the matching connection */ + metadataStatus?: Maybe + /** Distinct count of metadataUri across the matching connection */ + metadataUri?: Maybe + /** Distinct count of name across the matching connection */ + name?: Maybe + /** Distinct count of raw across the matching connection */ + raw?: Maybe + /** Distinct count of symbol across the matching connection */ + symbol?: Maybe + /** Distinct count of tokenUri across the matching connection */ + tokenUri?: Maybe +} + +/** A filter to be used against `Metadatum` object types. All fields are combined with a logical ‘and.’ */ +export type MetadatumFilter = { + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `description` field. */ + description?: InputMaybe + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Filter by the object’s `imageUri` field. */ + imageUri?: InputMaybe + /** Filter by the object’s `metadataStatus` field. */ + metadataStatus?: InputMaybe + /** Filter by the object’s `metadataUri` field. */ + metadataUri?: InputMaybe + /** Filter by the object’s `name` field. */ + name?: InputMaybe + /** Filter by the object’s `nftsByMetadataId` relation. */ + nftsByMetadataId?: InputMaybe + /** Some related `nftsByMetadataId` exist. */ + nftsByMetadataIdExist?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> + /** Filter by the object’s `raw` field. */ + raw?: InputMaybe + /** Filter by the object’s `symbol` field. */ + symbol?: InputMaybe + /** Filter by the object’s `tokenUri` field. */ + tokenUri?: InputMaybe +} + +/** A filter to be used against many `Nft` object types. All fields are combined with a logical ‘and.’ */ +export type MetadatumToManyNftFilter = { + /** Aggregates across related `Nft` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Nft` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +export type Network = Node & { + __typename?: 'Network' + /** Reads and enables pagination through a set of `Account`. */ + accountsByAddressNetworkIdAndAccountId: NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyConnection + /** Reads and enables pagination through a set of `Address`. */ + addresses: AddressesConnection + /** Reads and enables pagination through a set of `Collection`. */ + collections: CollectionsConnection + id: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Nft`. */ + nftsByTransferNetworkIdAndNftId: NetworkNftsByTransferNetworkIdAndNftIdManyToManyConnection + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] + /** Reads and enables pagination through a set of `Transfer`. */ + transfers: TransfersConnection +} + +export type NetworkAccountsByAddressNetworkIdAndAccountIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NetworkAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NetworkCollectionsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NetworkNftsByTransferNetworkIdAndNftIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NetworkTransfersArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** A connection to a list of `Account` values, with data from `Address`. */ +export type NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyConnection = { + __typename?: 'NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Account`, info from the `Address`, and the cursor to aid in pagination. */ + edges: Array + /** A list of `Account` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Account` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `Account` edge in the connection, with data from `Address`. */ +export type NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyEdge = { + __typename?: 'NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyEdge' + /** Reads and enables pagination through a set of `Address`. */ + addresses: AddressesConnection + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Account` at the end of the edge. */ + node?: Maybe +} + +/** A `Account` edge in the connection, with data from `Address`. */ +export type NetworkAccountsByAddressNetworkIdAndAccountIdManyToManyEdgeAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NetworkAggregates = { + __typename?: 'NetworkAggregates' + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> +} + +export type NetworkDistinctCountAggregates = { + __typename?: 'NetworkDistinctCountAggregates' + /** Distinct count of id across the matching connection */ + id?: Maybe +} + +/** A filter to be used against `Network` object types. All fields are combined with a logical ‘and.’ */ +export type NetworkFilter = { + /** Filter by the object’s `addresses` relation. */ + addresses?: InputMaybe + /** Some related `addresses` exist. */ + addressesExist?: InputMaybe + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `collections` relation. */ + collections?: InputMaybe + /** Some related `collections` exist. */ + collectionsExist?: InputMaybe + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> + /** Filter by the object’s `transfers` relation. */ + transfers?: InputMaybe + /** Some related `transfers` exist. */ + transfersExist?: InputMaybe +} + +/** A connection to a list of `Nft` values, with data from `Transfer`. */ +export type NetworkNftsByTransferNetworkIdAndNftIdManyToManyConnection = { + __typename?: 'NetworkNftsByTransferNetworkIdAndNftIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Nft`, info from the `Transfer`, and the cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Nft` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Nft` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Nft` values, with data from `Transfer`. */ +export type NetworkNftsByTransferNetworkIdAndNftIdManyToManyConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Nft` edge in the connection, with data from `Transfer`. */ +export type NetworkNftsByTransferNetworkIdAndNftIdManyToManyEdge = { + __typename?: 'NetworkNftsByTransferNetworkIdAndNftIdManyToManyEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Nft` at the end of the edge. */ + node?: Maybe + /** Reads and enables pagination through a set of `Transfer`. */ + transfers: TransfersConnection +} + +/** A `Nft` edge in the connection, with data from `Transfer`. */ +export type NetworkNftsByTransferNetworkIdAndNftIdManyToManyEdgeTransfersArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** A filter to be used against many `Address` object types. All fields are combined with a logical ‘and.’ */ +export type NetworkToManyAddressFilter = { + /** Aggregates across related `Address` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Address` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +/** A filter to be used against many `Collection` object types. All fields are combined with a logical ‘and.’ */ +export type NetworkToManyCollectionFilter = { + /** Aggregates across related `Collection` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Collection` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Collection` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Collection` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +/** A filter to be used against many `Transfer` object types. All fields are combined with a logical ‘and.’ */ +export type NetworkToManyTransferFilter = { + /** Aggregates across related `Transfer` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +/** A connection to a list of `Network` values. */ +export type NetworksConnection = { + __typename?: 'NetworksConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Network` and cursor to aid in pagination. */ + edges: Array + /** A list of `Network` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Network` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `Network` edge in the connection. */ +export type NetworksEdge = { + __typename?: 'NetworksEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Network` at the end of the edge. */ + node?: Maybe +} + +/** Methods to use when ordering `Network`. */ +export enum NetworksOrderBy { + AddressesAverageAccountIdAsc = 'ADDRESSES_AVERAGE_ACCOUNT_ID_ASC', + AddressesAverageAccountIdDesc = 'ADDRESSES_AVERAGE_ACCOUNT_ID_DESC', + AddressesAverageIdAsc = 'ADDRESSES_AVERAGE_ID_ASC', + AddressesAverageIdDesc = 'ADDRESSES_AVERAGE_ID_DESC', + AddressesAverageNetworkIdAsc = 'ADDRESSES_AVERAGE_NETWORK_ID_ASC', + AddressesAverageNetworkIdDesc = 'ADDRESSES_AVERAGE_NETWORK_ID_DESC', + AddressesCountAsc = 'ADDRESSES_COUNT_ASC', + AddressesCountDesc = 'ADDRESSES_COUNT_DESC', + AddressesDistinctCountAccountIdAsc = 'ADDRESSES_DISTINCT_COUNT_ACCOUNT_ID_ASC', + AddressesDistinctCountAccountIdDesc = 'ADDRESSES_DISTINCT_COUNT_ACCOUNT_ID_DESC', + AddressesDistinctCountIdAsc = 'ADDRESSES_DISTINCT_COUNT_ID_ASC', + AddressesDistinctCountIdDesc = 'ADDRESSES_DISTINCT_COUNT_ID_DESC', + AddressesDistinctCountNetworkIdAsc = 'ADDRESSES_DISTINCT_COUNT_NETWORK_ID_ASC', + AddressesDistinctCountNetworkIdDesc = 'ADDRESSES_DISTINCT_COUNT_NETWORK_ID_DESC', + AddressesMaxAccountIdAsc = 'ADDRESSES_MAX_ACCOUNT_ID_ASC', + AddressesMaxAccountIdDesc = 'ADDRESSES_MAX_ACCOUNT_ID_DESC', + AddressesMaxIdAsc = 'ADDRESSES_MAX_ID_ASC', + AddressesMaxIdDesc = 'ADDRESSES_MAX_ID_DESC', + AddressesMaxNetworkIdAsc = 'ADDRESSES_MAX_NETWORK_ID_ASC', + AddressesMaxNetworkIdDesc = 'ADDRESSES_MAX_NETWORK_ID_DESC', + AddressesMinAccountIdAsc = 'ADDRESSES_MIN_ACCOUNT_ID_ASC', + AddressesMinAccountIdDesc = 'ADDRESSES_MIN_ACCOUNT_ID_DESC', + AddressesMinIdAsc = 'ADDRESSES_MIN_ID_ASC', + AddressesMinIdDesc = 'ADDRESSES_MIN_ID_DESC', + AddressesMinNetworkIdAsc = 'ADDRESSES_MIN_NETWORK_ID_ASC', + AddressesMinNetworkIdDesc = 'ADDRESSES_MIN_NETWORK_ID_DESC', + AddressesStddevPopulationAccountIdAsc = 'ADDRESSES_STDDEV_POPULATION_ACCOUNT_ID_ASC', + AddressesStddevPopulationAccountIdDesc = 'ADDRESSES_STDDEV_POPULATION_ACCOUNT_ID_DESC', + AddressesStddevPopulationIdAsc = 'ADDRESSES_STDDEV_POPULATION_ID_ASC', + AddressesStddevPopulationIdDesc = 'ADDRESSES_STDDEV_POPULATION_ID_DESC', + AddressesStddevPopulationNetworkIdAsc = 'ADDRESSES_STDDEV_POPULATION_NETWORK_ID_ASC', + AddressesStddevPopulationNetworkIdDesc = 'ADDRESSES_STDDEV_POPULATION_NETWORK_ID_DESC', + AddressesStddevSampleAccountIdAsc = 'ADDRESSES_STDDEV_SAMPLE_ACCOUNT_ID_ASC', + AddressesStddevSampleAccountIdDesc = 'ADDRESSES_STDDEV_SAMPLE_ACCOUNT_ID_DESC', + AddressesStddevSampleIdAsc = 'ADDRESSES_STDDEV_SAMPLE_ID_ASC', + AddressesStddevSampleIdDesc = 'ADDRESSES_STDDEV_SAMPLE_ID_DESC', + AddressesStddevSampleNetworkIdAsc = 'ADDRESSES_STDDEV_SAMPLE_NETWORK_ID_ASC', + AddressesStddevSampleNetworkIdDesc = 'ADDRESSES_STDDEV_SAMPLE_NETWORK_ID_DESC', + AddressesSumAccountIdAsc = 'ADDRESSES_SUM_ACCOUNT_ID_ASC', + AddressesSumAccountIdDesc = 'ADDRESSES_SUM_ACCOUNT_ID_DESC', + AddressesSumIdAsc = 'ADDRESSES_SUM_ID_ASC', + AddressesSumIdDesc = 'ADDRESSES_SUM_ID_DESC', + AddressesSumNetworkIdAsc = 'ADDRESSES_SUM_NETWORK_ID_ASC', + AddressesSumNetworkIdDesc = 'ADDRESSES_SUM_NETWORK_ID_DESC', + AddressesVariancePopulationAccountIdAsc = 'ADDRESSES_VARIANCE_POPULATION_ACCOUNT_ID_ASC', + AddressesVariancePopulationAccountIdDesc = 'ADDRESSES_VARIANCE_POPULATION_ACCOUNT_ID_DESC', + AddressesVariancePopulationIdAsc = 'ADDRESSES_VARIANCE_POPULATION_ID_ASC', + AddressesVariancePopulationIdDesc = 'ADDRESSES_VARIANCE_POPULATION_ID_DESC', + AddressesVariancePopulationNetworkIdAsc = 'ADDRESSES_VARIANCE_POPULATION_NETWORK_ID_ASC', + AddressesVariancePopulationNetworkIdDesc = 'ADDRESSES_VARIANCE_POPULATION_NETWORK_ID_DESC', + AddressesVarianceSampleAccountIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_ACCOUNT_ID_ASC', + AddressesVarianceSampleAccountIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_ACCOUNT_ID_DESC', + AddressesVarianceSampleIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_ID_ASC', + AddressesVarianceSampleIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_ID_DESC', + AddressesVarianceSampleNetworkIdAsc = 'ADDRESSES_VARIANCE_SAMPLE_NETWORK_ID_ASC', + AddressesVarianceSampleNetworkIdDesc = 'ADDRESSES_VARIANCE_SAMPLE_NETWORK_ID_DESC', + CollectionsAverageContractAddressAsc = 'COLLECTIONS_AVERAGE_CONTRACT_ADDRESS_ASC', + CollectionsAverageContractAddressDesc = 'COLLECTIONS_AVERAGE_CONTRACT_ADDRESS_DESC', + CollectionsAverageContractTypeAsc = 'COLLECTIONS_AVERAGE_CONTRACT_TYPE_ASC', + CollectionsAverageContractTypeDesc = 'COLLECTIONS_AVERAGE_CONTRACT_TYPE_DESC', + CollectionsAverageCreatedBlockAsc = 'COLLECTIONS_AVERAGE_CREATED_BLOCK_ASC', + CollectionsAverageCreatedBlockDesc = 'COLLECTIONS_AVERAGE_CREATED_BLOCK_DESC', + CollectionsAverageCreatedTimestampAsc = 'COLLECTIONS_AVERAGE_CREATED_TIMESTAMP_ASC', + CollectionsAverageCreatedTimestampDesc = 'COLLECTIONS_AVERAGE_CREATED_TIMESTAMP_DESC', + CollectionsAverageCreatorAddressAsc = 'COLLECTIONS_AVERAGE_CREATOR_ADDRESS_ASC', + CollectionsAverageCreatorAddressDesc = 'COLLECTIONS_AVERAGE_CREATOR_ADDRESS_DESC', + CollectionsAverageIdAsc = 'COLLECTIONS_AVERAGE_ID_ASC', + CollectionsAverageIdDesc = 'COLLECTIONS_AVERAGE_ID_DESC', + CollectionsAverageNameAsc = 'COLLECTIONS_AVERAGE_NAME_ASC', + CollectionsAverageNameDesc = 'COLLECTIONS_AVERAGE_NAME_DESC', + CollectionsAverageNetworkIdAsc = 'COLLECTIONS_AVERAGE_NETWORK_ID_ASC', + CollectionsAverageNetworkIdDesc = 'COLLECTIONS_AVERAGE_NETWORK_ID_DESC', + CollectionsAverageSymbolAsc = 'COLLECTIONS_AVERAGE_SYMBOL_ASC', + CollectionsAverageSymbolDesc = 'COLLECTIONS_AVERAGE_SYMBOL_DESC', + CollectionsAverageTotalSupplyAsc = 'COLLECTIONS_AVERAGE_TOTAL_SUPPLY_ASC', + CollectionsAverageTotalSupplyDesc = 'COLLECTIONS_AVERAGE_TOTAL_SUPPLY_DESC', + CollectionsCountAsc = 'COLLECTIONS_COUNT_ASC', + CollectionsCountDesc = 'COLLECTIONS_COUNT_DESC', + CollectionsDistinctCountContractAddressAsc = 'COLLECTIONS_DISTINCT_COUNT_CONTRACT_ADDRESS_ASC', + CollectionsDistinctCountContractAddressDesc = 'COLLECTIONS_DISTINCT_COUNT_CONTRACT_ADDRESS_DESC', + CollectionsDistinctCountContractTypeAsc = 'COLLECTIONS_DISTINCT_COUNT_CONTRACT_TYPE_ASC', + CollectionsDistinctCountContractTypeDesc = 'COLLECTIONS_DISTINCT_COUNT_CONTRACT_TYPE_DESC', + CollectionsDistinctCountCreatedBlockAsc = 'COLLECTIONS_DISTINCT_COUNT_CREATED_BLOCK_ASC', + CollectionsDistinctCountCreatedBlockDesc = 'COLLECTIONS_DISTINCT_COUNT_CREATED_BLOCK_DESC', + CollectionsDistinctCountCreatedTimestampAsc = 'COLLECTIONS_DISTINCT_COUNT_CREATED_TIMESTAMP_ASC', + CollectionsDistinctCountCreatedTimestampDesc = 'COLLECTIONS_DISTINCT_COUNT_CREATED_TIMESTAMP_DESC', + CollectionsDistinctCountCreatorAddressAsc = 'COLLECTIONS_DISTINCT_COUNT_CREATOR_ADDRESS_ASC', + CollectionsDistinctCountCreatorAddressDesc = 'COLLECTIONS_DISTINCT_COUNT_CREATOR_ADDRESS_DESC', + CollectionsDistinctCountIdAsc = 'COLLECTIONS_DISTINCT_COUNT_ID_ASC', + CollectionsDistinctCountIdDesc = 'COLLECTIONS_DISTINCT_COUNT_ID_DESC', + CollectionsDistinctCountNameAsc = 'COLLECTIONS_DISTINCT_COUNT_NAME_ASC', + CollectionsDistinctCountNameDesc = 'COLLECTIONS_DISTINCT_COUNT_NAME_DESC', + CollectionsDistinctCountNetworkIdAsc = 'COLLECTIONS_DISTINCT_COUNT_NETWORK_ID_ASC', + CollectionsDistinctCountNetworkIdDesc = 'COLLECTIONS_DISTINCT_COUNT_NETWORK_ID_DESC', + CollectionsDistinctCountSymbolAsc = 'COLLECTIONS_DISTINCT_COUNT_SYMBOL_ASC', + CollectionsDistinctCountSymbolDesc = 'COLLECTIONS_DISTINCT_COUNT_SYMBOL_DESC', + CollectionsDistinctCountTotalSupplyAsc = 'COLLECTIONS_DISTINCT_COUNT_TOTAL_SUPPLY_ASC', + CollectionsDistinctCountTotalSupplyDesc = 'COLLECTIONS_DISTINCT_COUNT_TOTAL_SUPPLY_DESC', + CollectionsMaxContractAddressAsc = 'COLLECTIONS_MAX_CONTRACT_ADDRESS_ASC', + CollectionsMaxContractAddressDesc = 'COLLECTIONS_MAX_CONTRACT_ADDRESS_DESC', + CollectionsMaxContractTypeAsc = 'COLLECTIONS_MAX_CONTRACT_TYPE_ASC', + CollectionsMaxContractTypeDesc = 'COLLECTIONS_MAX_CONTRACT_TYPE_DESC', + CollectionsMaxCreatedBlockAsc = 'COLLECTIONS_MAX_CREATED_BLOCK_ASC', + CollectionsMaxCreatedBlockDesc = 'COLLECTIONS_MAX_CREATED_BLOCK_DESC', + CollectionsMaxCreatedTimestampAsc = 'COLLECTIONS_MAX_CREATED_TIMESTAMP_ASC', + CollectionsMaxCreatedTimestampDesc = 'COLLECTIONS_MAX_CREATED_TIMESTAMP_DESC', + CollectionsMaxCreatorAddressAsc = 'COLLECTIONS_MAX_CREATOR_ADDRESS_ASC', + CollectionsMaxCreatorAddressDesc = 'COLLECTIONS_MAX_CREATOR_ADDRESS_DESC', + CollectionsMaxIdAsc = 'COLLECTIONS_MAX_ID_ASC', + CollectionsMaxIdDesc = 'COLLECTIONS_MAX_ID_DESC', + CollectionsMaxNameAsc = 'COLLECTIONS_MAX_NAME_ASC', + CollectionsMaxNameDesc = 'COLLECTIONS_MAX_NAME_DESC', + CollectionsMaxNetworkIdAsc = 'COLLECTIONS_MAX_NETWORK_ID_ASC', + CollectionsMaxNetworkIdDesc = 'COLLECTIONS_MAX_NETWORK_ID_DESC', + CollectionsMaxSymbolAsc = 'COLLECTIONS_MAX_SYMBOL_ASC', + CollectionsMaxSymbolDesc = 'COLLECTIONS_MAX_SYMBOL_DESC', + CollectionsMaxTotalSupplyAsc = 'COLLECTIONS_MAX_TOTAL_SUPPLY_ASC', + CollectionsMaxTotalSupplyDesc = 'COLLECTIONS_MAX_TOTAL_SUPPLY_DESC', + CollectionsMinContractAddressAsc = 'COLLECTIONS_MIN_CONTRACT_ADDRESS_ASC', + CollectionsMinContractAddressDesc = 'COLLECTIONS_MIN_CONTRACT_ADDRESS_DESC', + CollectionsMinContractTypeAsc = 'COLLECTIONS_MIN_CONTRACT_TYPE_ASC', + CollectionsMinContractTypeDesc = 'COLLECTIONS_MIN_CONTRACT_TYPE_DESC', + CollectionsMinCreatedBlockAsc = 'COLLECTIONS_MIN_CREATED_BLOCK_ASC', + CollectionsMinCreatedBlockDesc = 'COLLECTIONS_MIN_CREATED_BLOCK_DESC', + CollectionsMinCreatedTimestampAsc = 'COLLECTIONS_MIN_CREATED_TIMESTAMP_ASC', + CollectionsMinCreatedTimestampDesc = 'COLLECTIONS_MIN_CREATED_TIMESTAMP_DESC', + CollectionsMinCreatorAddressAsc = 'COLLECTIONS_MIN_CREATOR_ADDRESS_ASC', + CollectionsMinCreatorAddressDesc = 'COLLECTIONS_MIN_CREATOR_ADDRESS_DESC', + CollectionsMinIdAsc = 'COLLECTIONS_MIN_ID_ASC', + CollectionsMinIdDesc = 'COLLECTIONS_MIN_ID_DESC', + CollectionsMinNameAsc = 'COLLECTIONS_MIN_NAME_ASC', + CollectionsMinNameDesc = 'COLLECTIONS_MIN_NAME_DESC', + CollectionsMinNetworkIdAsc = 'COLLECTIONS_MIN_NETWORK_ID_ASC', + CollectionsMinNetworkIdDesc = 'COLLECTIONS_MIN_NETWORK_ID_DESC', + CollectionsMinSymbolAsc = 'COLLECTIONS_MIN_SYMBOL_ASC', + CollectionsMinSymbolDesc = 'COLLECTIONS_MIN_SYMBOL_DESC', + CollectionsMinTotalSupplyAsc = 'COLLECTIONS_MIN_TOTAL_SUPPLY_ASC', + CollectionsMinTotalSupplyDesc = 'COLLECTIONS_MIN_TOTAL_SUPPLY_DESC', + CollectionsStddevPopulationContractAddressAsc = 'COLLECTIONS_STDDEV_POPULATION_CONTRACT_ADDRESS_ASC', + CollectionsStddevPopulationContractAddressDesc = 'COLLECTIONS_STDDEV_POPULATION_CONTRACT_ADDRESS_DESC', + CollectionsStddevPopulationContractTypeAsc = 'COLLECTIONS_STDDEV_POPULATION_CONTRACT_TYPE_ASC', + CollectionsStddevPopulationContractTypeDesc = 'COLLECTIONS_STDDEV_POPULATION_CONTRACT_TYPE_DESC', + CollectionsStddevPopulationCreatedBlockAsc = 'COLLECTIONS_STDDEV_POPULATION_CREATED_BLOCK_ASC', + CollectionsStddevPopulationCreatedBlockDesc = 'COLLECTIONS_STDDEV_POPULATION_CREATED_BLOCK_DESC', + CollectionsStddevPopulationCreatedTimestampAsc = 'COLLECTIONS_STDDEV_POPULATION_CREATED_TIMESTAMP_ASC', + CollectionsStddevPopulationCreatedTimestampDesc = 'COLLECTIONS_STDDEV_POPULATION_CREATED_TIMESTAMP_DESC', + CollectionsStddevPopulationCreatorAddressAsc = 'COLLECTIONS_STDDEV_POPULATION_CREATOR_ADDRESS_ASC', + CollectionsStddevPopulationCreatorAddressDesc = 'COLLECTIONS_STDDEV_POPULATION_CREATOR_ADDRESS_DESC', + CollectionsStddevPopulationIdAsc = 'COLLECTIONS_STDDEV_POPULATION_ID_ASC', + CollectionsStddevPopulationIdDesc = 'COLLECTIONS_STDDEV_POPULATION_ID_DESC', + CollectionsStddevPopulationNameAsc = 'COLLECTIONS_STDDEV_POPULATION_NAME_ASC', + CollectionsStddevPopulationNameDesc = 'COLLECTIONS_STDDEV_POPULATION_NAME_DESC', + CollectionsStddevPopulationNetworkIdAsc = 'COLLECTIONS_STDDEV_POPULATION_NETWORK_ID_ASC', + CollectionsStddevPopulationNetworkIdDesc = 'COLLECTIONS_STDDEV_POPULATION_NETWORK_ID_DESC', + CollectionsStddevPopulationSymbolAsc = 'COLLECTIONS_STDDEV_POPULATION_SYMBOL_ASC', + CollectionsStddevPopulationSymbolDesc = 'COLLECTIONS_STDDEV_POPULATION_SYMBOL_DESC', + CollectionsStddevPopulationTotalSupplyAsc = 'COLLECTIONS_STDDEV_POPULATION_TOTAL_SUPPLY_ASC', + CollectionsStddevPopulationTotalSupplyDesc = 'COLLECTIONS_STDDEV_POPULATION_TOTAL_SUPPLY_DESC', + CollectionsStddevSampleContractAddressAsc = 'COLLECTIONS_STDDEV_SAMPLE_CONTRACT_ADDRESS_ASC', + CollectionsStddevSampleContractAddressDesc = 'COLLECTIONS_STDDEV_SAMPLE_CONTRACT_ADDRESS_DESC', + CollectionsStddevSampleContractTypeAsc = 'COLLECTIONS_STDDEV_SAMPLE_CONTRACT_TYPE_ASC', + CollectionsStddevSampleContractTypeDesc = 'COLLECTIONS_STDDEV_SAMPLE_CONTRACT_TYPE_DESC', + CollectionsStddevSampleCreatedBlockAsc = 'COLLECTIONS_STDDEV_SAMPLE_CREATED_BLOCK_ASC', + CollectionsStddevSampleCreatedBlockDesc = 'COLLECTIONS_STDDEV_SAMPLE_CREATED_BLOCK_DESC', + CollectionsStddevSampleCreatedTimestampAsc = 'COLLECTIONS_STDDEV_SAMPLE_CREATED_TIMESTAMP_ASC', + CollectionsStddevSampleCreatedTimestampDesc = 'COLLECTIONS_STDDEV_SAMPLE_CREATED_TIMESTAMP_DESC', + CollectionsStddevSampleCreatorAddressAsc = 'COLLECTIONS_STDDEV_SAMPLE_CREATOR_ADDRESS_ASC', + CollectionsStddevSampleCreatorAddressDesc = 'COLLECTIONS_STDDEV_SAMPLE_CREATOR_ADDRESS_DESC', + CollectionsStddevSampleIdAsc = 'COLLECTIONS_STDDEV_SAMPLE_ID_ASC', + CollectionsStddevSampleIdDesc = 'COLLECTIONS_STDDEV_SAMPLE_ID_DESC', + CollectionsStddevSampleNameAsc = 'COLLECTIONS_STDDEV_SAMPLE_NAME_ASC', + CollectionsStddevSampleNameDesc = 'COLLECTIONS_STDDEV_SAMPLE_NAME_DESC', + CollectionsStddevSampleNetworkIdAsc = 'COLLECTIONS_STDDEV_SAMPLE_NETWORK_ID_ASC', + CollectionsStddevSampleNetworkIdDesc = 'COLLECTIONS_STDDEV_SAMPLE_NETWORK_ID_DESC', + CollectionsStddevSampleSymbolAsc = 'COLLECTIONS_STDDEV_SAMPLE_SYMBOL_ASC', + CollectionsStddevSampleSymbolDesc = 'COLLECTIONS_STDDEV_SAMPLE_SYMBOL_DESC', + CollectionsStddevSampleTotalSupplyAsc = 'COLLECTIONS_STDDEV_SAMPLE_TOTAL_SUPPLY_ASC', + CollectionsStddevSampleTotalSupplyDesc = 'COLLECTIONS_STDDEV_SAMPLE_TOTAL_SUPPLY_DESC', + CollectionsSumContractAddressAsc = 'COLLECTIONS_SUM_CONTRACT_ADDRESS_ASC', + CollectionsSumContractAddressDesc = 'COLLECTIONS_SUM_CONTRACT_ADDRESS_DESC', + CollectionsSumContractTypeAsc = 'COLLECTIONS_SUM_CONTRACT_TYPE_ASC', + CollectionsSumContractTypeDesc = 'COLLECTIONS_SUM_CONTRACT_TYPE_DESC', + CollectionsSumCreatedBlockAsc = 'COLLECTIONS_SUM_CREATED_BLOCK_ASC', + CollectionsSumCreatedBlockDesc = 'COLLECTIONS_SUM_CREATED_BLOCK_DESC', + CollectionsSumCreatedTimestampAsc = 'COLLECTIONS_SUM_CREATED_TIMESTAMP_ASC', + CollectionsSumCreatedTimestampDesc = 'COLLECTIONS_SUM_CREATED_TIMESTAMP_DESC', + CollectionsSumCreatorAddressAsc = 'COLLECTIONS_SUM_CREATOR_ADDRESS_ASC', + CollectionsSumCreatorAddressDesc = 'COLLECTIONS_SUM_CREATOR_ADDRESS_DESC', + CollectionsSumIdAsc = 'COLLECTIONS_SUM_ID_ASC', + CollectionsSumIdDesc = 'COLLECTIONS_SUM_ID_DESC', + CollectionsSumNameAsc = 'COLLECTIONS_SUM_NAME_ASC', + CollectionsSumNameDesc = 'COLLECTIONS_SUM_NAME_DESC', + CollectionsSumNetworkIdAsc = 'COLLECTIONS_SUM_NETWORK_ID_ASC', + CollectionsSumNetworkIdDesc = 'COLLECTIONS_SUM_NETWORK_ID_DESC', + CollectionsSumSymbolAsc = 'COLLECTIONS_SUM_SYMBOL_ASC', + CollectionsSumSymbolDesc = 'COLLECTIONS_SUM_SYMBOL_DESC', + CollectionsSumTotalSupplyAsc = 'COLLECTIONS_SUM_TOTAL_SUPPLY_ASC', + CollectionsSumTotalSupplyDesc = 'COLLECTIONS_SUM_TOTAL_SUPPLY_DESC', + CollectionsVariancePopulationContractAddressAsc = 'COLLECTIONS_VARIANCE_POPULATION_CONTRACT_ADDRESS_ASC', + CollectionsVariancePopulationContractAddressDesc = 'COLLECTIONS_VARIANCE_POPULATION_CONTRACT_ADDRESS_DESC', + CollectionsVariancePopulationContractTypeAsc = 'COLLECTIONS_VARIANCE_POPULATION_CONTRACT_TYPE_ASC', + CollectionsVariancePopulationContractTypeDesc = 'COLLECTIONS_VARIANCE_POPULATION_CONTRACT_TYPE_DESC', + CollectionsVariancePopulationCreatedBlockAsc = 'COLLECTIONS_VARIANCE_POPULATION_CREATED_BLOCK_ASC', + CollectionsVariancePopulationCreatedBlockDesc = 'COLLECTIONS_VARIANCE_POPULATION_CREATED_BLOCK_DESC', + CollectionsVariancePopulationCreatedTimestampAsc = 'COLLECTIONS_VARIANCE_POPULATION_CREATED_TIMESTAMP_ASC', + CollectionsVariancePopulationCreatedTimestampDesc = 'COLLECTIONS_VARIANCE_POPULATION_CREATED_TIMESTAMP_DESC', + CollectionsVariancePopulationCreatorAddressAsc = 'COLLECTIONS_VARIANCE_POPULATION_CREATOR_ADDRESS_ASC', + CollectionsVariancePopulationCreatorAddressDesc = 'COLLECTIONS_VARIANCE_POPULATION_CREATOR_ADDRESS_DESC', + CollectionsVariancePopulationIdAsc = 'COLLECTIONS_VARIANCE_POPULATION_ID_ASC', + CollectionsVariancePopulationIdDesc = 'COLLECTIONS_VARIANCE_POPULATION_ID_DESC', + CollectionsVariancePopulationNameAsc = 'COLLECTIONS_VARIANCE_POPULATION_NAME_ASC', + CollectionsVariancePopulationNameDesc = 'COLLECTIONS_VARIANCE_POPULATION_NAME_DESC', + CollectionsVariancePopulationNetworkIdAsc = 'COLLECTIONS_VARIANCE_POPULATION_NETWORK_ID_ASC', + CollectionsVariancePopulationNetworkIdDesc = 'COLLECTIONS_VARIANCE_POPULATION_NETWORK_ID_DESC', + CollectionsVariancePopulationSymbolAsc = 'COLLECTIONS_VARIANCE_POPULATION_SYMBOL_ASC', + CollectionsVariancePopulationSymbolDesc = 'COLLECTIONS_VARIANCE_POPULATION_SYMBOL_DESC', + CollectionsVariancePopulationTotalSupplyAsc = 'COLLECTIONS_VARIANCE_POPULATION_TOTAL_SUPPLY_ASC', + CollectionsVariancePopulationTotalSupplyDesc = 'COLLECTIONS_VARIANCE_POPULATION_TOTAL_SUPPLY_DESC', + CollectionsVarianceSampleContractAddressAsc = 'COLLECTIONS_VARIANCE_SAMPLE_CONTRACT_ADDRESS_ASC', + CollectionsVarianceSampleContractAddressDesc = 'COLLECTIONS_VARIANCE_SAMPLE_CONTRACT_ADDRESS_DESC', + CollectionsVarianceSampleContractTypeAsc = 'COLLECTIONS_VARIANCE_SAMPLE_CONTRACT_TYPE_ASC', + CollectionsVarianceSampleContractTypeDesc = 'COLLECTIONS_VARIANCE_SAMPLE_CONTRACT_TYPE_DESC', + CollectionsVarianceSampleCreatedBlockAsc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_ASC', + CollectionsVarianceSampleCreatedBlockDesc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATED_BLOCK_DESC', + CollectionsVarianceSampleCreatedTimestampAsc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATED_TIMESTAMP_ASC', + CollectionsVarianceSampleCreatedTimestampDesc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATED_TIMESTAMP_DESC', + CollectionsVarianceSampleCreatorAddressAsc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATOR_ADDRESS_ASC', + CollectionsVarianceSampleCreatorAddressDesc = 'COLLECTIONS_VARIANCE_SAMPLE_CREATOR_ADDRESS_DESC', + CollectionsVarianceSampleIdAsc = 'COLLECTIONS_VARIANCE_SAMPLE_ID_ASC', + CollectionsVarianceSampleIdDesc = 'COLLECTIONS_VARIANCE_SAMPLE_ID_DESC', + CollectionsVarianceSampleNameAsc = 'COLLECTIONS_VARIANCE_SAMPLE_NAME_ASC', + CollectionsVarianceSampleNameDesc = 'COLLECTIONS_VARIANCE_SAMPLE_NAME_DESC', + CollectionsVarianceSampleNetworkIdAsc = 'COLLECTIONS_VARIANCE_SAMPLE_NETWORK_ID_ASC', + CollectionsVarianceSampleNetworkIdDesc = 'COLLECTIONS_VARIANCE_SAMPLE_NETWORK_ID_DESC', + CollectionsVarianceSampleSymbolAsc = 'COLLECTIONS_VARIANCE_SAMPLE_SYMBOL_ASC', + CollectionsVarianceSampleSymbolDesc = 'COLLECTIONS_VARIANCE_SAMPLE_SYMBOL_DESC', + CollectionsVarianceSampleTotalSupplyAsc = 'COLLECTIONS_VARIANCE_SAMPLE_TOTAL_SUPPLY_ASC', + CollectionsVarianceSampleTotalSupplyDesc = 'COLLECTIONS_VARIANCE_SAMPLE_TOTAL_SUPPLY_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + TransfersAverageAmountAsc = 'TRANSFERS_AVERAGE_AMOUNT_ASC', + TransfersAverageAmountDesc = 'TRANSFERS_AVERAGE_AMOUNT_DESC', + TransfersAverageBlockAsc = 'TRANSFERS_AVERAGE_BLOCK_ASC', + TransfersAverageBlockDesc = 'TRANSFERS_AVERAGE_BLOCK_DESC', + TransfersAverageFromAsc = 'TRANSFERS_AVERAGE_FROM_ASC', + TransfersAverageFromDesc = 'TRANSFERS_AVERAGE_FROM_DESC', + TransfersAverageIdAsc = 'TRANSFERS_AVERAGE_ID_ASC', + TransfersAverageIdDesc = 'TRANSFERS_AVERAGE_ID_DESC', + TransfersAverageNetworkIdAsc = 'TRANSFERS_AVERAGE_NETWORK_ID_ASC', + TransfersAverageNetworkIdDesc = 'TRANSFERS_AVERAGE_NETWORK_ID_DESC', + TransfersAverageNftIdAsc = 'TRANSFERS_AVERAGE_NFT_ID_ASC', + TransfersAverageNftIdDesc = 'TRANSFERS_AVERAGE_NFT_ID_DESC', + TransfersAverageTimestampAsc = 'TRANSFERS_AVERAGE_TIMESTAMP_ASC', + TransfersAverageTimestampDesc = 'TRANSFERS_AVERAGE_TIMESTAMP_DESC', + TransfersAverageTokenIdAsc = 'TRANSFERS_AVERAGE_TOKEN_ID_ASC', + TransfersAverageTokenIdDesc = 'TRANSFERS_AVERAGE_TOKEN_ID_DESC', + TransfersAverageToAsc = 'TRANSFERS_AVERAGE_TO_ASC', + TransfersAverageToDesc = 'TRANSFERS_AVERAGE_TO_DESC', + TransfersAverageTransactionHashAsc = 'TRANSFERS_AVERAGE_TRANSACTION_HASH_ASC', + TransfersAverageTransactionHashDesc = 'TRANSFERS_AVERAGE_TRANSACTION_HASH_DESC', + TransfersCountAsc = 'TRANSFERS_COUNT_ASC', + TransfersCountDesc = 'TRANSFERS_COUNT_DESC', + TransfersDistinctCountAmountAsc = 'TRANSFERS_DISTINCT_COUNT_AMOUNT_ASC', + TransfersDistinctCountAmountDesc = 'TRANSFERS_DISTINCT_COUNT_AMOUNT_DESC', + TransfersDistinctCountBlockAsc = 'TRANSFERS_DISTINCT_COUNT_BLOCK_ASC', + TransfersDistinctCountBlockDesc = 'TRANSFERS_DISTINCT_COUNT_BLOCK_DESC', + TransfersDistinctCountFromAsc = 'TRANSFERS_DISTINCT_COUNT_FROM_ASC', + TransfersDistinctCountFromDesc = 'TRANSFERS_DISTINCT_COUNT_FROM_DESC', + TransfersDistinctCountIdAsc = 'TRANSFERS_DISTINCT_COUNT_ID_ASC', + TransfersDistinctCountIdDesc = 'TRANSFERS_DISTINCT_COUNT_ID_DESC', + TransfersDistinctCountNetworkIdAsc = 'TRANSFERS_DISTINCT_COUNT_NETWORK_ID_ASC', + TransfersDistinctCountNetworkIdDesc = 'TRANSFERS_DISTINCT_COUNT_NETWORK_ID_DESC', + TransfersDistinctCountNftIdAsc = 'TRANSFERS_DISTINCT_COUNT_NFT_ID_ASC', + TransfersDistinctCountNftIdDesc = 'TRANSFERS_DISTINCT_COUNT_NFT_ID_DESC', + TransfersDistinctCountTimestampAsc = 'TRANSFERS_DISTINCT_COUNT_TIMESTAMP_ASC', + TransfersDistinctCountTimestampDesc = 'TRANSFERS_DISTINCT_COUNT_TIMESTAMP_DESC', + TransfersDistinctCountTokenIdAsc = 'TRANSFERS_DISTINCT_COUNT_TOKEN_ID_ASC', + TransfersDistinctCountTokenIdDesc = 'TRANSFERS_DISTINCT_COUNT_TOKEN_ID_DESC', + TransfersDistinctCountToAsc = 'TRANSFERS_DISTINCT_COUNT_TO_ASC', + TransfersDistinctCountToDesc = 'TRANSFERS_DISTINCT_COUNT_TO_DESC', + TransfersDistinctCountTransactionHashAsc = 'TRANSFERS_DISTINCT_COUNT_TRANSACTION_HASH_ASC', + TransfersDistinctCountTransactionHashDesc = 'TRANSFERS_DISTINCT_COUNT_TRANSACTION_HASH_DESC', + TransfersMaxAmountAsc = 'TRANSFERS_MAX_AMOUNT_ASC', + TransfersMaxAmountDesc = 'TRANSFERS_MAX_AMOUNT_DESC', + TransfersMaxBlockAsc = 'TRANSFERS_MAX_BLOCK_ASC', + TransfersMaxBlockDesc = 'TRANSFERS_MAX_BLOCK_DESC', + TransfersMaxFromAsc = 'TRANSFERS_MAX_FROM_ASC', + TransfersMaxFromDesc = 'TRANSFERS_MAX_FROM_DESC', + TransfersMaxIdAsc = 'TRANSFERS_MAX_ID_ASC', + TransfersMaxIdDesc = 'TRANSFERS_MAX_ID_DESC', + TransfersMaxNetworkIdAsc = 'TRANSFERS_MAX_NETWORK_ID_ASC', + TransfersMaxNetworkIdDesc = 'TRANSFERS_MAX_NETWORK_ID_DESC', + TransfersMaxNftIdAsc = 'TRANSFERS_MAX_NFT_ID_ASC', + TransfersMaxNftIdDesc = 'TRANSFERS_MAX_NFT_ID_DESC', + TransfersMaxTimestampAsc = 'TRANSFERS_MAX_TIMESTAMP_ASC', + TransfersMaxTimestampDesc = 'TRANSFERS_MAX_TIMESTAMP_DESC', + TransfersMaxTokenIdAsc = 'TRANSFERS_MAX_TOKEN_ID_ASC', + TransfersMaxTokenIdDesc = 'TRANSFERS_MAX_TOKEN_ID_DESC', + TransfersMaxToAsc = 'TRANSFERS_MAX_TO_ASC', + TransfersMaxToDesc = 'TRANSFERS_MAX_TO_DESC', + TransfersMaxTransactionHashAsc = 'TRANSFERS_MAX_TRANSACTION_HASH_ASC', + TransfersMaxTransactionHashDesc = 'TRANSFERS_MAX_TRANSACTION_HASH_DESC', + TransfersMinAmountAsc = 'TRANSFERS_MIN_AMOUNT_ASC', + TransfersMinAmountDesc = 'TRANSFERS_MIN_AMOUNT_DESC', + TransfersMinBlockAsc = 'TRANSFERS_MIN_BLOCK_ASC', + TransfersMinBlockDesc = 'TRANSFERS_MIN_BLOCK_DESC', + TransfersMinFromAsc = 'TRANSFERS_MIN_FROM_ASC', + TransfersMinFromDesc = 'TRANSFERS_MIN_FROM_DESC', + TransfersMinIdAsc = 'TRANSFERS_MIN_ID_ASC', + TransfersMinIdDesc = 'TRANSFERS_MIN_ID_DESC', + TransfersMinNetworkIdAsc = 'TRANSFERS_MIN_NETWORK_ID_ASC', + TransfersMinNetworkIdDesc = 'TRANSFERS_MIN_NETWORK_ID_DESC', + TransfersMinNftIdAsc = 'TRANSFERS_MIN_NFT_ID_ASC', + TransfersMinNftIdDesc = 'TRANSFERS_MIN_NFT_ID_DESC', + TransfersMinTimestampAsc = 'TRANSFERS_MIN_TIMESTAMP_ASC', + TransfersMinTimestampDesc = 'TRANSFERS_MIN_TIMESTAMP_DESC', + TransfersMinTokenIdAsc = 'TRANSFERS_MIN_TOKEN_ID_ASC', + TransfersMinTokenIdDesc = 'TRANSFERS_MIN_TOKEN_ID_DESC', + TransfersMinToAsc = 'TRANSFERS_MIN_TO_ASC', + TransfersMinToDesc = 'TRANSFERS_MIN_TO_DESC', + TransfersMinTransactionHashAsc = 'TRANSFERS_MIN_TRANSACTION_HASH_ASC', + TransfersMinTransactionHashDesc = 'TRANSFERS_MIN_TRANSACTION_HASH_DESC', + TransfersStddevPopulationAmountAsc = 'TRANSFERS_STDDEV_POPULATION_AMOUNT_ASC', + TransfersStddevPopulationAmountDesc = 'TRANSFERS_STDDEV_POPULATION_AMOUNT_DESC', + TransfersStddevPopulationBlockAsc = 'TRANSFERS_STDDEV_POPULATION_BLOCK_ASC', + TransfersStddevPopulationBlockDesc = 'TRANSFERS_STDDEV_POPULATION_BLOCK_DESC', + TransfersStddevPopulationFromAsc = 'TRANSFERS_STDDEV_POPULATION_FROM_ASC', + TransfersStddevPopulationFromDesc = 'TRANSFERS_STDDEV_POPULATION_FROM_DESC', + TransfersStddevPopulationIdAsc = 'TRANSFERS_STDDEV_POPULATION_ID_ASC', + TransfersStddevPopulationIdDesc = 'TRANSFERS_STDDEV_POPULATION_ID_DESC', + TransfersStddevPopulationNetworkIdAsc = 'TRANSFERS_STDDEV_POPULATION_NETWORK_ID_ASC', + TransfersStddevPopulationNetworkIdDesc = 'TRANSFERS_STDDEV_POPULATION_NETWORK_ID_DESC', + TransfersStddevPopulationNftIdAsc = 'TRANSFERS_STDDEV_POPULATION_NFT_ID_ASC', + TransfersStddevPopulationNftIdDesc = 'TRANSFERS_STDDEV_POPULATION_NFT_ID_DESC', + TransfersStddevPopulationTimestampAsc = 'TRANSFERS_STDDEV_POPULATION_TIMESTAMP_ASC', + TransfersStddevPopulationTimestampDesc = 'TRANSFERS_STDDEV_POPULATION_TIMESTAMP_DESC', + TransfersStddevPopulationTokenIdAsc = 'TRANSFERS_STDDEV_POPULATION_TOKEN_ID_ASC', + TransfersStddevPopulationTokenIdDesc = 'TRANSFERS_STDDEV_POPULATION_TOKEN_ID_DESC', + TransfersStddevPopulationToAsc = 'TRANSFERS_STDDEV_POPULATION_TO_ASC', + TransfersStddevPopulationToDesc = 'TRANSFERS_STDDEV_POPULATION_TO_DESC', + TransfersStddevPopulationTransactionHashAsc = 'TRANSFERS_STDDEV_POPULATION_TRANSACTION_HASH_ASC', + TransfersStddevPopulationTransactionHashDesc = 'TRANSFERS_STDDEV_POPULATION_TRANSACTION_HASH_DESC', + TransfersStddevSampleAmountAsc = 'TRANSFERS_STDDEV_SAMPLE_AMOUNT_ASC', + TransfersStddevSampleAmountDesc = 'TRANSFERS_STDDEV_SAMPLE_AMOUNT_DESC', + TransfersStddevSampleBlockAsc = 'TRANSFERS_STDDEV_SAMPLE_BLOCK_ASC', + TransfersStddevSampleBlockDesc = 'TRANSFERS_STDDEV_SAMPLE_BLOCK_DESC', + TransfersStddevSampleFromAsc = 'TRANSFERS_STDDEV_SAMPLE_FROM_ASC', + TransfersStddevSampleFromDesc = 'TRANSFERS_STDDEV_SAMPLE_FROM_DESC', + TransfersStddevSampleIdAsc = 'TRANSFERS_STDDEV_SAMPLE_ID_ASC', + TransfersStddevSampleIdDesc = 'TRANSFERS_STDDEV_SAMPLE_ID_DESC', + TransfersStddevSampleNetworkIdAsc = 'TRANSFERS_STDDEV_SAMPLE_NETWORK_ID_ASC', + TransfersStddevSampleNetworkIdDesc = 'TRANSFERS_STDDEV_SAMPLE_NETWORK_ID_DESC', + TransfersStddevSampleNftIdAsc = 'TRANSFERS_STDDEV_SAMPLE_NFT_ID_ASC', + TransfersStddevSampleNftIdDesc = 'TRANSFERS_STDDEV_SAMPLE_NFT_ID_DESC', + TransfersStddevSampleTimestampAsc = 'TRANSFERS_STDDEV_SAMPLE_TIMESTAMP_ASC', + TransfersStddevSampleTimestampDesc = 'TRANSFERS_STDDEV_SAMPLE_TIMESTAMP_DESC', + TransfersStddevSampleTokenIdAsc = 'TRANSFERS_STDDEV_SAMPLE_TOKEN_ID_ASC', + TransfersStddevSampleTokenIdDesc = 'TRANSFERS_STDDEV_SAMPLE_TOKEN_ID_DESC', + TransfersStddevSampleToAsc = 'TRANSFERS_STDDEV_SAMPLE_TO_ASC', + TransfersStddevSampleToDesc = 'TRANSFERS_STDDEV_SAMPLE_TO_DESC', + TransfersStddevSampleTransactionHashAsc = 'TRANSFERS_STDDEV_SAMPLE_TRANSACTION_HASH_ASC', + TransfersStddevSampleTransactionHashDesc = 'TRANSFERS_STDDEV_SAMPLE_TRANSACTION_HASH_DESC', + TransfersSumAmountAsc = 'TRANSFERS_SUM_AMOUNT_ASC', + TransfersSumAmountDesc = 'TRANSFERS_SUM_AMOUNT_DESC', + TransfersSumBlockAsc = 'TRANSFERS_SUM_BLOCK_ASC', + TransfersSumBlockDesc = 'TRANSFERS_SUM_BLOCK_DESC', + TransfersSumFromAsc = 'TRANSFERS_SUM_FROM_ASC', + TransfersSumFromDesc = 'TRANSFERS_SUM_FROM_DESC', + TransfersSumIdAsc = 'TRANSFERS_SUM_ID_ASC', + TransfersSumIdDesc = 'TRANSFERS_SUM_ID_DESC', + TransfersSumNetworkIdAsc = 'TRANSFERS_SUM_NETWORK_ID_ASC', + TransfersSumNetworkIdDesc = 'TRANSFERS_SUM_NETWORK_ID_DESC', + TransfersSumNftIdAsc = 'TRANSFERS_SUM_NFT_ID_ASC', + TransfersSumNftIdDesc = 'TRANSFERS_SUM_NFT_ID_DESC', + TransfersSumTimestampAsc = 'TRANSFERS_SUM_TIMESTAMP_ASC', + TransfersSumTimestampDesc = 'TRANSFERS_SUM_TIMESTAMP_DESC', + TransfersSumTokenIdAsc = 'TRANSFERS_SUM_TOKEN_ID_ASC', + TransfersSumTokenIdDesc = 'TRANSFERS_SUM_TOKEN_ID_DESC', + TransfersSumToAsc = 'TRANSFERS_SUM_TO_ASC', + TransfersSumToDesc = 'TRANSFERS_SUM_TO_DESC', + TransfersSumTransactionHashAsc = 'TRANSFERS_SUM_TRANSACTION_HASH_ASC', + TransfersSumTransactionHashDesc = 'TRANSFERS_SUM_TRANSACTION_HASH_DESC', + TransfersVariancePopulationAmountAsc = 'TRANSFERS_VARIANCE_POPULATION_AMOUNT_ASC', + TransfersVariancePopulationAmountDesc = 'TRANSFERS_VARIANCE_POPULATION_AMOUNT_DESC', + TransfersVariancePopulationBlockAsc = 'TRANSFERS_VARIANCE_POPULATION_BLOCK_ASC', + TransfersVariancePopulationBlockDesc = 'TRANSFERS_VARIANCE_POPULATION_BLOCK_DESC', + TransfersVariancePopulationFromAsc = 'TRANSFERS_VARIANCE_POPULATION_FROM_ASC', + TransfersVariancePopulationFromDesc = 'TRANSFERS_VARIANCE_POPULATION_FROM_DESC', + TransfersVariancePopulationIdAsc = 'TRANSFERS_VARIANCE_POPULATION_ID_ASC', + TransfersVariancePopulationIdDesc = 'TRANSFERS_VARIANCE_POPULATION_ID_DESC', + TransfersVariancePopulationNetworkIdAsc = 'TRANSFERS_VARIANCE_POPULATION_NETWORK_ID_ASC', + TransfersVariancePopulationNetworkIdDesc = 'TRANSFERS_VARIANCE_POPULATION_NETWORK_ID_DESC', + TransfersVariancePopulationNftIdAsc = 'TRANSFERS_VARIANCE_POPULATION_NFT_ID_ASC', + TransfersVariancePopulationNftIdDesc = 'TRANSFERS_VARIANCE_POPULATION_NFT_ID_DESC', + TransfersVariancePopulationTimestampAsc = 'TRANSFERS_VARIANCE_POPULATION_TIMESTAMP_ASC', + TransfersVariancePopulationTimestampDesc = 'TRANSFERS_VARIANCE_POPULATION_TIMESTAMP_DESC', + TransfersVariancePopulationTokenIdAsc = 'TRANSFERS_VARIANCE_POPULATION_TOKEN_ID_ASC', + TransfersVariancePopulationTokenIdDesc = 'TRANSFERS_VARIANCE_POPULATION_TOKEN_ID_DESC', + TransfersVariancePopulationToAsc = 'TRANSFERS_VARIANCE_POPULATION_TO_ASC', + TransfersVariancePopulationToDesc = 'TRANSFERS_VARIANCE_POPULATION_TO_DESC', + TransfersVariancePopulationTransactionHashAsc = 'TRANSFERS_VARIANCE_POPULATION_TRANSACTION_HASH_ASC', + TransfersVariancePopulationTransactionHashDesc = 'TRANSFERS_VARIANCE_POPULATION_TRANSACTION_HASH_DESC', + TransfersVarianceSampleAmountAsc = 'TRANSFERS_VARIANCE_SAMPLE_AMOUNT_ASC', + TransfersVarianceSampleAmountDesc = 'TRANSFERS_VARIANCE_SAMPLE_AMOUNT_DESC', + TransfersVarianceSampleBlockAsc = 'TRANSFERS_VARIANCE_SAMPLE_BLOCK_ASC', + TransfersVarianceSampleBlockDesc = 'TRANSFERS_VARIANCE_SAMPLE_BLOCK_DESC', + TransfersVarianceSampleFromAsc = 'TRANSFERS_VARIANCE_SAMPLE_FROM_ASC', + TransfersVarianceSampleFromDesc = 'TRANSFERS_VARIANCE_SAMPLE_FROM_DESC', + TransfersVarianceSampleIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_ID_ASC', + TransfersVarianceSampleIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_ID_DESC', + TransfersVarianceSampleNetworkIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_NETWORK_ID_ASC', + TransfersVarianceSampleNetworkIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_NETWORK_ID_DESC', + TransfersVarianceSampleNftIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_NFT_ID_ASC', + TransfersVarianceSampleNftIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_NFT_ID_DESC', + TransfersVarianceSampleTimestampAsc = 'TRANSFERS_VARIANCE_SAMPLE_TIMESTAMP_ASC', + TransfersVarianceSampleTimestampDesc = 'TRANSFERS_VARIANCE_SAMPLE_TIMESTAMP_DESC', + TransfersVarianceSampleTokenIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_TOKEN_ID_ASC', + TransfersVarianceSampleTokenIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_TOKEN_ID_DESC', + TransfersVarianceSampleToAsc = 'TRANSFERS_VARIANCE_SAMPLE_TO_ASC', + TransfersVarianceSampleToDesc = 'TRANSFERS_VARIANCE_SAMPLE_TO_DESC', + TransfersVarianceSampleTransactionHashAsc = 'TRANSFERS_VARIANCE_SAMPLE_TRANSACTION_HASH_ASC', + TransfersVarianceSampleTransactionHashDesc = 'TRANSFERS_VARIANCE_SAMPLE_TRANSACTION_HASH_DESC', +} + +export type Nft = Node & { + __typename?: 'Nft' + amount: Scalars['BigFloat']['output'] + /** Reads a single `Collection` that is related to this `Nft`. */ + collection?: Maybe + collectionId: Scalars['String']['output'] + currentOwner: Scalars['String']['output'] + id: Scalars['String']['output'] + /** Reads a single `Metadatum` that is related to this `Nft`. */ + metadata?: Maybe + metadataId?: Maybe + mintedBlock: Scalars['BigFloat']['output'] + mintedTimestamp: Scalars['BigFloat']['output'] + minterAddress: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Network`. */ + networksByTransferNftIdAndNetworkId: NftNetworksByTransferNftIdAndNetworkIdManyToManyConnection + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] + tokenId: Scalars['String']['output'] + /** Reads and enables pagination through a set of `Transfer`. */ + transfers: TransfersConnection +} + +export type NftNetworksByTransferNftIdAndNetworkIdArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NftTransfersArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NftAggregates = { + __typename?: 'NftAggregates' + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe +} + +/** A filter to be used against aggregates of `Nft` object types. */ +export type NftAggregatesFilter = { + /** Mean average aggregate over matching `Nft` objects. */ + average?: InputMaybe + /** Distinct count aggregate over matching `Nft` objects. */ + distinctCount?: InputMaybe + /** A filter that must pass for the relevant `Nft` object to be included within the aggregate. */ + filter?: InputMaybe + /** Maximum aggregate over matching `Nft` objects. */ + max?: InputMaybe + /** Minimum aggregate over matching `Nft` objects. */ + min?: InputMaybe + /** Population standard deviation aggregate over matching `Nft` objects. */ + stddevPopulation?: InputMaybe + /** Sample standard deviation aggregate over matching `Nft` objects. */ + stddevSample?: InputMaybe + /** Sum aggregate over matching `Nft` objects. */ + sum?: InputMaybe + /** Population variance aggregate over matching `Nft` objects. */ + variancePopulation?: InputMaybe + /** Sample variance aggregate over matching `Nft` objects. */ + varianceSample?: InputMaybe +} + +export type NftAverageAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftAverageAggregates = { + __typename?: 'NftAverageAggregates' + /** Mean average of amount across the matching connection */ + amount?: Maybe + /** Mean average of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Mean average of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +export type NftDistinctCountAggregateFilter = { + amount?: InputMaybe + collectionId?: InputMaybe + currentOwner?: InputMaybe + id?: InputMaybe + metadataId?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe + minterAddress?: InputMaybe + tokenId?: InputMaybe +} + +export type NftDistinctCountAggregates = { + __typename?: 'NftDistinctCountAggregates' + /** Distinct count of amount across the matching connection */ + amount?: Maybe + /** Distinct count of collectionId across the matching connection */ + collectionId?: Maybe + /** Distinct count of currentOwner across the matching connection */ + currentOwner?: Maybe + /** Distinct count of id across the matching connection */ + id?: Maybe + /** Distinct count of metadataId across the matching connection */ + metadataId?: Maybe + /** Distinct count of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Distinct count of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe + /** Distinct count of minterAddress across the matching connection */ + minterAddress?: Maybe + /** Distinct count of tokenId across the matching connection */ + tokenId?: Maybe +} + +/** A filter to be used against `Nft` object types. All fields are combined with a logical ‘and.’ */ +export type NftFilter = { + /** Filter by the object’s `amount` field. */ + amount?: InputMaybe + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `collection` relation. */ + collection?: InputMaybe + /** Filter by the object’s `collectionId` field. */ + collectionId?: InputMaybe + /** Filter by the object’s `currentOwner` field. */ + currentOwner?: InputMaybe + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Filter by the object’s `metadata` relation. */ + metadata?: InputMaybe + /** A related `metadata` exists. */ + metadataExists?: InputMaybe + /** Filter by the object’s `metadataId` field. */ + metadataId?: InputMaybe + /** Filter by the object’s `mintedBlock` field. */ + mintedBlock?: InputMaybe + /** Filter by the object’s `mintedTimestamp` field. */ + mintedTimestamp?: InputMaybe + /** Filter by the object’s `minterAddress` field. */ + minterAddress?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> + /** Filter by the object’s `tokenId` field. */ + tokenId?: InputMaybe + /** Filter by the object’s `transfers` relation. */ + transfers?: InputMaybe + /** Some related `transfers` exist. */ + transfersExist?: InputMaybe +} + +export type NftMaxAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftMaxAggregates = { + __typename?: 'NftMaxAggregates' + /** Maximum of amount across the matching connection */ + amount?: Maybe + /** Maximum of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Maximum of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +export type NftMinAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftMinAggregates = { + __typename?: 'NftMinAggregates' + /** Minimum of amount across the matching connection */ + amount?: Maybe + /** Minimum of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Minimum of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +/** A connection to a list of `Network` values, with data from `Transfer`. */ +export type NftNetworksByTransferNftIdAndNetworkIdManyToManyConnection = { + __typename?: 'NftNetworksByTransferNftIdAndNetworkIdManyToManyConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Network`, info from the `Transfer`, and the cursor to aid in pagination. */ + edges: Array + /** A list of `Network` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Network` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A `Network` edge in the connection, with data from `Transfer`. */ +export type NftNetworksByTransferNftIdAndNetworkIdManyToManyEdge = { + __typename?: 'NftNetworksByTransferNftIdAndNetworkIdManyToManyEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Network` at the end of the edge. */ + node?: Maybe + /** Reads and enables pagination through a set of `Transfer`. */ + transfers: TransfersConnection +} + +/** A `Network` edge in the connection, with data from `Transfer`. */ +export type NftNetworksByTransferNftIdAndNetworkIdManyToManyEdgeTransfersArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export type NftStddevPopulationAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftStddevPopulationAggregates = { + __typename?: 'NftStddevPopulationAggregates' + /** Population standard deviation of amount across the matching connection */ + amount?: Maybe + /** Population standard deviation of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Population standard deviation of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +export type NftStddevSampleAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftStddevSampleAggregates = { + __typename?: 'NftStddevSampleAggregates' + /** Sample standard deviation of amount across the matching connection */ + amount?: Maybe + /** Sample standard deviation of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Sample standard deviation of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +export type NftSumAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftSumAggregates = { + __typename?: 'NftSumAggregates' + /** Sum of amount across the matching connection */ + amount: Scalars['BigFloat']['output'] + /** Sum of mintedBlock across the matching connection */ + mintedBlock: Scalars['BigFloat']['output'] + /** Sum of mintedTimestamp across the matching connection */ + mintedTimestamp: Scalars['BigFloat']['output'] +} + +/** A filter to be used against many `Transfer` object types. All fields are combined with a logical ‘and.’ */ +export type NftToManyTransferFilter = { + /** Aggregates across related `Transfer` match the filter criteria. */ + aggregates?: InputMaybe + /** Every related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + every?: InputMaybe + /** No related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + none?: InputMaybe + /** Some related `Transfer` matches the filter criteria. All fields are combined with a logical ‘and.’ */ + some?: InputMaybe +} + +export type NftVariancePopulationAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftVariancePopulationAggregates = { + __typename?: 'NftVariancePopulationAggregates' + /** Population variance of amount across the matching connection */ + amount?: Maybe + /** Population variance of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Population variance of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +export type NftVarianceSampleAggregateFilter = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftVarianceSampleAggregates = { + __typename?: 'NftVarianceSampleAggregates' + /** Sample variance of amount across the matching connection */ + amount?: Maybe + /** Sample variance of mintedBlock across the matching connection */ + mintedBlock?: Maybe + /** Sample variance of mintedTimestamp across the matching connection */ + mintedTimestamp?: Maybe +} + +/** A connection to a list of `Nft` values. */ +export type NftsConnection = { + __typename?: 'NftsConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Nft` and cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Nft` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Nft` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Nft` values. */ +export type NftsConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Nft` edge in the connection. */ +export type NftsEdge = { + __typename?: 'NftsEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Nft` at the end of the edge. */ + node?: Maybe +} + +/** Grouping methods for `Nft` for usage during aggregation. */ +export enum NftsGroupBy { + Amount = 'AMOUNT', + CollectionId = 'COLLECTION_ID', + CurrentOwner = 'CURRENT_OWNER', + MetadataId = 'METADATA_ID', + MintedBlock = 'MINTED_BLOCK', + MintedTimestamp = 'MINTED_TIMESTAMP', + MinterAddress = 'MINTER_ADDRESS', + TokenId = 'TOKEN_ID', +} + +export type NftsHavingAverageInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingDistinctCountInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +/** Conditions for `Nft` aggregates. */ +export type NftsHavingInput = { + AND?: InputMaybe> + OR?: InputMaybe> + average?: InputMaybe + distinctCount?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddevPopulation?: InputMaybe + stddevSample?: InputMaybe + sum?: InputMaybe + variancePopulation?: InputMaybe + varianceSample?: InputMaybe +} + +export type NftsHavingMaxInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingMinInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingStddevPopulationInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingStddevSampleInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingSumInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingVariancePopulationInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +export type NftsHavingVarianceSampleInput = { + amount?: InputMaybe + mintedBlock?: InputMaybe + mintedTimestamp?: InputMaybe +} + +/** Methods to use when ordering `Nft`. */ +export enum NftsOrderBy { + AmountAsc = 'AMOUNT_ASC', + AmountDesc = 'AMOUNT_DESC', + CollectionIdAsc = 'COLLECTION_ID_ASC', + CollectionIdDesc = 'COLLECTION_ID_DESC', + CurrentOwnerAsc = 'CURRENT_OWNER_ASC', + CurrentOwnerDesc = 'CURRENT_OWNER_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + MetadataIdAsc = 'METADATA_ID_ASC', + MetadataIdDesc = 'METADATA_ID_DESC', + MintedBlockAsc = 'MINTED_BLOCK_ASC', + MintedBlockDesc = 'MINTED_BLOCK_DESC', + MintedTimestampAsc = 'MINTED_TIMESTAMP_ASC', + MintedTimestampDesc = 'MINTED_TIMESTAMP_DESC', + MinterAddressAsc = 'MINTER_ADDRESS_ASC', + MinterAddressDesc = 'MINTER_ADDRESS_DESC', + Natural = 'NATURAL', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + TokenIdAsc = 'TOKEN_ID_ASC', + TokenIdDesc = 'TOKEN_ID_DESC', + TransfersAverageAmountAsc = 'TRANSFERS_AVERAGE_AMOUNT_ASC', + TransfersAverageAmountDesc = 'TRANSFERS_AVERAGE_AMOUNT_DESC', + TransfersAverageBlockAsc = 'TRANSFERS_AVERAGE_BLOCK_ASC', + TransfersAverageBlockDesc = 'TRANSFERS_AVERAGE_BLOCK_DESC', + TransfersAverageFromAsc = 'TRANSFERS_AVERAGE_FROM_ASC', + TransfersAverageFromDesc = 'TRANSFERS_AVERAGE_FROM_DESC', + TransfersAverageIdAsc = 'TRANSFERS_AVERAGE_ID_ASC', + TransfersAverageIdDesc = 'TRANSFERS_AVERAGE_ID_DESC', + TransfersAverageNetworkIdAsc = 'TRANSFERS_AVERAGE_NETWORK_ID_ASC', + TransfersAverageNetworkIdDesc = 'TRANSFERS_AVERAGE_NETWORK_ID_DESC', + TransfersAverageNftIdAsc = 'TRANSFERS_AVERAGE_NFT_ID_ASC', + TransfersAverageNftIdDesc = 'TRANSFERS_AVERAGE_NFT_ID_DESC', + TransfersAverageTimestampAsc = 'TRANSFERS_AVERAGE_TIMESTAMP_ASC', + TransfersAverageTimestampDesc = 'TRANSFERS_AVERAGE_TIMESTAMP_DESC', + TransfersAverageTokenIdAsc = 'TRANSFERS_AVERAGE_TOKEN_ID_ASC', + TransfersAverageTokenIdDesc = 'TRANSFERS_AVERAGE_TOKEN_ID_DESC', + TransfersAverageToAsc = 'TRANSFERS_AVERAGE_TO_ASC', + TransfersAverageToDesc = 'TRANSFERS_AVERAGE_TO_DESC', + TransfersAverageTransactionHashAsc = 'TRANSFERS_AVERAGE_TRANSACTION_HASH_ASC', + TransfersAverageTransactionHashDesc = 'TRANSFERS_AVERAGE_TRANSACTION_HASH_DESC', + TransfersCountAsc = 'TRANSFERS_COUNT_ASC', + TransfersCountDesc = 'TRANSFERS_COUNT_DESC', + TransfersDistinctCountAmountAsc = 'TRANSFERS_DISTINCT_COUNT_AMOUNT_ASC', + TransfersDistinctCountAmountDesc = 'TRANSFERS_DISTINCT_COUNT_AMOUNT_DESC', + TransfersDistinctCountBlockAsc = 'TRANSFERS_DISTINCT_COUNT_BLOCK_ASC', + TransfersDistinctCountBlockDesc = 'TRANSFERS_DISTINCT_COUNT_BLOCK_DESC', + TransfersDistinctCountFromAsc = 'TRANSFERS_DISTINCT_COUNT_FROM_ASC', + TransfersDistinctCountFromDesc = 'TRANSFERS_DISTINCT_COUNT_FROM_DESC', + TransfersDistinctCountIdAsc = 'TRANSFERS_DISTINCT_COUNT_ID_ASC', + TransfersDistinctCountIdDesc = 'TRANSFERS_DISTINCT_COUNT_ID_DESC', + TransfersDistinctCountNetworkIdAsc = 'TRANSFERS_DISTINCT_COUNT_NETWORK_ID_ASC', + TransfersDistinctCountNetworkIdDesc = 'TRANSFERS_DISTINCT_COUNT_NETWORK_ID_DESC', + TransfersDistinctCountNftIdAsc = 'TRANSFERS_DISTINCT_COUNT_NFT_ID_ASC', + TransfersDistinctCountNftIdDesc = 'TRANSFERS_DISTINCT_COUNT_NFT_ID_DESC', + TransfersDistinctCountTimestampAsc = 'TRANSFERS_DISTINCT_COUNT_TIMESTAMP_ASC', + TransfersDistinctCountTimestampDesc = 'TRANSFERS_DISTINCT_COUNT_TIMESTAMP_DESC', + TransfersDistinctCountTokenIdAsc = 'TRANSFERS_DISTINCT_COUNT_TOKEN_ID_ASC', + TransfersDistinctCountTokenIdDesc = 'TRANSFERS_DISTINCT_COUNT_TOKEN_ID_DESC', + TransfersDistinctCountToAsc = 'TRANSFERS_DISTINCT_COUNT_TO_ASC', + TransfersDistinctCountToDesc = 'TRANSFERS_DISTINCT_COUNT_TO_DESC', + TransfersDistinctCountTransactionHashAsc = 'TRANSFERS_DISTINCT_COUNT_TRANSACTION_HASH_ASC', + TransfersDistinctCountTransactionHashDesc = 'TRANSFERS_DISTINCT_COUNT_TRANSACTION_HASH_DESC', + TransfersMaxAmountAsc = 'TRANSFERS_MAX_AMOUNT_ASC', + TransfersMaxAmountDesc = 'TRANSFERS_MAX_AMOUNT_DESC', + TransfersMaxBlockAsc = 'TRANSFERS_MAX_BLOCK_ASC', + TransfersMaxBlockDesc = 'TRANSFERS_MAX_BLOCK_DESC', + TransfersMaxFromAsc = 'TRANSFERS_MAX_FROM_ASC', + TransfersMaxFromDesc = 'TRANSFERS_MAX_FROM_DESC', + TransfersMaxIdAsc = 'TRANSFERS_MAX_ID_ASC', + TransfersMaxIdDesc = 'TRANSFERS_MAX_ID_DESC', + TransfersMaxNetworkIdAsc = 'TRANSFERS_MAX_NETWORK_ID_ASC', + TransfersMaxNetworkIdDesc = 'TRANSFERS_MAX_NETWORK_ID_DESC', + TransfersMaxNftIdAsc = 'TRANSFERS_MAX_NFT_ID_ASC', + TransfersMaxNftIdDesc = 'TRANSFERS_MAX_NFT_ID_DESC', + TransfersMaxTimestampAsc = 'TRANSFERS_MAX_TIMESTAMP_ASC', + TransfersMaxTimestampDesc = 'TRANSFERS_MAX_TIMESTAMP_DESC', + TransfersMaxTokenIdAsc = 'TRANSFERS_MAX_TOKEN_ID_ASC', + TransfersMaxTokenIdDesc = 'TRANSFERS_MAX_TOKEN_ID_DESC', + TransfersMaxToAsc = 'TRANSFERS_MAX_TO_ASC', + TransfersMaxToDesc = 'TRANSFERS_MAX_TO_DESC', + TransfersMaxTransactionHashAsc = 'TRANSFERS_MAX_TRANSACTION_HASH_ASC', + TransfersMaxTransactionHashDesc = 'TRANSFERS_MAX_TRANSACTION_HASH_DESC', + TransfersMinAmountAsc = 'TRANSFERS_MIN_AMOUNT_ASC', + TransfersMinAmountDesc = 'TRANSFERS_MIN_AMOUNT_DESC', + TransfersMinBlockAsc = 'TRANSFERS_MIN_BLOCK_ASC', + TransfersMinBlockDesc = 'TRANSFERS_MIN_BLOCK_DESC', + TransfersMinFromAsc = 'TRANSFERS_MIN_FROM_ASC', + TransfersMinFromDesc = 'TRANSFERS_MIN_FROM_DESC', + TransfersMinIdAsc = 'TRANSFERS_MIN_ID_ASC', + TransfersMinIdDesc = 'TRANSFERS_MIN_ID_DESC', + TransfersMinNetworkIdAsc = 'TRANSFERS_MIN_NETWORK_ID_ASC', + TransfersMinNetworkIdDesc = 'TRANSFERS_MIN_NETWORK_ID_DESC', + TransfersMinNftIdAsc = 'TRANSFERS_MIN_NFT_ID_ASC', + TransfersMinNftIdDesc = 'TRANSFERS_MIN_NFT_ID_DESC', + TransfersMinTimestampAsc = 'TRANSFERS_MIN_TIMESTAMP_ASC', + TransfersMinTimestampDesc = 'TRANSFERS_MIN_TIMESTAMP_DESC', + TransfersMinTokenIdAsc = 'TRANSFERS_MIN_TOKEN_ID_ASC', + TransfersMinTokenIdDesc = 'TRANSFERS_MIN_TOKEN_ID_DESC', + TransfersMinToAsc = 'TRANSFERS_MIN_TO_ASC', + TransfersMinToDesc = 'TRANSFERS_MIN_TO_DESC', + TransfersMinTransactionHashAsc = 'TRANSFERS_MIN_TRANSACTION_HASH_ASC', + TransfersMinTransactionHashDesc = 'TRANSFERS_MIN_TRANSACTION_HASH_DESC', + TransfersStddevPopulationAmountAsc = 'TRANSFERS_STDDEV_POPULATION_AMOUNT_ASC', + TransfersStddevPopulationAmountDesc = 'TRANSFERS_STDDEV_POPULATION_AMOUNT_DESC', + TransfersStddevPopulationBlockAsc = 'TRANSFERS_STDDEV_POPULATION_BLOCK_ASC', + TransfersStddevPopulationBlockDesc = 'TRANSFERS_STDDEV_POPULATION_BLOCK_DESC', + TransfersStddevPopulationFromAsc = 'TRANSFERS_STDDEV_POPULATION_FROM_ASC', + TransfersStddevPopulationFromDesc = 'TRANSFERS_STDDEV_POPULATION_FROM_DESC', + TransfersStddevPopulationIdAsc = 'TRANSFERS_STDDEV_POPULATION_ID_ASC', + TransfersStddevPopulationIdDesc = 'TRANSFERS_STDDEV_POPULATION_ID_DESC', + TransfersStddevPopulationNetworkIdAsc = 'TRANSFERS_STDDEV_POPULATION_NETWORK_ID_ASC', + TransfersStddevPopulationNetworkIdDesc = 'TRANSFERS_STDDEV_POPULATION_NETWORK_ID_DESC', + TransfersStddevPopulationNftIdAsc = 'TRANSFERS_STDDEV_POPULATION_NFT_ID_ASC', + TransfersStddevPopulationNftIdDesc = 'TRANSFERS_STDDEV_POPULATION_NFT_ID_DESC', + TransfersStddevPopulationTimestampAsc = 'TRANSFERS_STDDEV_POPULATION_TIMESTAMP_ASC', + TransfersStddevPopulationTimestampDesc = 'TRANSFERS_STDDEV_POPULATION_TIMESTAMP_DESC', + TransfersStddevPopulationTokenIdAsc = 'TRANSFERS_STDDEV_POPULATION_TOKEN_ID_ASC', + TransfersStddevPopulationTokenIdDesc = 'TRANSFERS_STDDEV_POPULATION_TOKEN_ID_DESC', + TransfersStddevPopulationToAsc = 'TRANSFERS_STDDEV_POPULATION_TO_ASC', + TransfersStddevPopulationToDesc = 'TRANSFERS_STDDEV_POPULATION_TO_DESC', + TransfersStddevPopulationTransactionHashAsc = 'TRANSFERS_STDDEV_POPULATION_TRANSACTION_HASH_ASC', + TransfersStddevPopulationTransactionHashDesc = 'TRANSFERS_STDDEV_POPULATION_TRANSACTION_HASH_DESC', + TransfersStddevSampleAmountAsc = 'TRANSFERS_STDDEV_SAMPLE_AMOUNT_ASC', + TransfersStddevSampleAmountDesc = 'TRANSFERS_STDDEV_SAMPLE_AMOUNT_DESC', + TransfersStddevSampleBlockAsc = 'TRANSFERS_STDDEV_SAMPLE_BLOCK_ASC', + TransfersStddevSampleBlockDesc = 'TRANSFERS_STDDEV_SAMPLE_BLOCK_DESC', + TransfersStddevSampleFromAsc = 'TRANSFERS_STDDEV_SAMPLE_FROM_ASC', + TransfersStddevSampleFromDesc = 'TRANSFERS_STDDEV_SAMPLE_FROM_DESC', + TransfersStddevSampleIdAsc = 'TRANSFERS_STDDEV_SAMPLE_ID_ASC', + TransfersStddevSampleIdDesc = 'TRANSFERS_STDDEV_SAMPLE_ID_DESC', + TransfersStddevSampleNetworkIdAsc = 'TRANSFERS_STDDEV_SAMPLE_NETWORK_ID_ASC', + TransfersStddevSampleNetworkIdDesc = 'TRANSFERS_STDDEV_SAMPLE_NETWORK_ID_DESC', + TransfersStddevSampleNftIdAsc = 'TRANSFERS_STDDEV_SAMPLE_NFT_ID_ASC', + TransfersStddevSampleNftIdDesc = 'TRANSFERS_STDDEV_SAMPLE_NFT_ID_DESC', + TransfersStddevSampleTimestampAsc = 'TRANSFERS_STDDEV_SAMPLE_TIMESTAMP_ASC', + TransfersStddevSampleTimestampDesc = 'TRANSFERS_STDDEV_SAMPLE_TIMESTAMP_DESC', + TransfersStddevSampleTokenIdAsc = 'TRANSFERS_STDDEV_SAMPLE_TOKEN_ID_ASC', + TransfersStddevSampleTokenIdDesc = 'TRANSFERS_STDDEV_SAMPLE_TOKEN_ID_DESC', + TransfersStddevSampleToAsc = 'TRANSFERS_STDDEV_SAMPLE_TO_ASC', + TransfersStddevSampleToDesc = 'TRANSFERS_STDDEV_SAMPLE_TO_DESC', + TransfersStddevSampleTransactionHashAsc = 'TRANSFERS_STDDEV_SAMPLE_TRANSACTION_HASH_ASC', + TransfersStddevSampleTransactionHashDesc = 'TRANSFERS_STDDEV_SAMPLE_TRANSACTION_HASH_DESC', + TransfersSumAmountAsc = 'TRANSFERS_SUM_AMOUNT_ASC', + TransfersSumAmountDesc = 'TRANSFERS_SUM_AMOUNT_DESC', + TransfersSumBlockAsc = 'TRANSFERS_SUM_BLOCK_ASC', + TransfersSumBlockDesc = 'TRANSFERS_SUM_BLOCK_DESC', + TransfersSumFromAsc = 'TRANSFERS_SUM_FROM_ASC', + TransfersSumFromDesc = 'TRANSFERS_SUM_FROM_DESC', + TransfersSumIdAsc = 'TRANSFERS_SUM_ID_ASC', + TransfersSumIdDesc = 'TRANSFERS_SUM_ID_DESC', + TransfersSumNetworkIdAsc = 'TRANSFERS_SUM_NETWORK_ID_ASC', + TransfersSumNetworkIdDesc = 'TRANSFERS_SUM_NETWORK_ID_DESC', + TransfersSumNftIdAsc = 'TRANSFERS_SUM_NFT_ID_ASC', + TransfersSumNftIdDesc = 'TRANSFERS_SUM_NFT_ID_DESC', + TransfersSumTimestampAsc = 'TRANSFERS_SUM_TIMESTAMP_ASC', + TransfersSumTimestampDesc = 'TRANSFERS_SUM_TIMESTAMP_DESC', + TransfersSumTokenIdAsc = 'TRANSFERS_SUM_TOKEN_ID_ASC', + TransfersSumTokenIdDesc = 'TRANSFERS_SUM_TOKEN_ID_DESC', + TransfersSumToAsc = 'TRANSFERS_SUM_TO_ASC', + TransfersSumToDesc = 'TRANSFERS_SUM_TO_DESC', + TransfersSumTransactionHashAsc = 'TRANSFERS_SUM_TRANSACTION_HASH_ASC', + TransfersSumTransactionHashDesc = 'TRANSFERS_SUM_TRANSACTION_HASH_DESC', + TransfersVariancePopulationAmountAsc = 'TRANSFERS_VARIANCE_POPULATION_AMOUNT_ASC', + TransfersVariancePopulationAmountDesc = 'TRANSFERS_VARIANCE_POPULATION_AMOUNT_DESC', + TransfersVariancePopulationBlockAsc = 'TRANSFERS_VARIANCE_POPULATION_BLOCK_ASC', + TransfersVariancePopulationBlockDesc = 'TRANSFERS_VARIANCE_POPULATION_BLOCK_DESC', + TransfersVariancePopulationFromAsc = 'TRANSFERS_VARIANCE_POPULATION_FROM_ASC', + TransfersVariancePopulationFromDesc = 'TRANSFERS_VARIANCE_POPULATION_FROM_DESC', + TransfersVariancePopulationIdAsc = 'TRANSFERS_VARIANCE_POPULATION_ID_ASC', + TransfersVariancePopulationIdDesc = 'TRANSFERS_VARIANCE_POPULATION_ID_DESC', + TransfersVariancePopulationNetworkIdAsc = 'TRANSFERS_VARIANCE_POPULATION_NETWORK_ID_ASC', + TransfersVariancePopulationNetworkIdDesc = 'TRANSFERS_VARIANCE_POPULATION_NETWORK_ID_DESC', + TransfersVariancePopulationNftIdAsc = 'TRANSFERS_VARIANCE_POPULATION_NFT_ID_ASC', + TransfersVariancePopulationNftIdDesc = 'TRANSFERS_VARIANCE_POPULATION_NFT_ID_DESC', + TransfersVariancePopulationTimestampAsc = 'TRANSFERS_VARIANCE_POPULATION_TIMESTAMP_ASC', + TransfersVariancePopulationTimestampDesc = 'TRANSFERS_VARIANCE_POPULATION_TIMESTAMP_DESC', + TransfersVariancePopulationTokenIdAsc = 'TRANSFERS_VARIANCE_POPULATION_TOKEN_ID_ASC', + TransfersVariancePopulationTokenIdDesc = 'TRANSFERS_VARIANCE_POPULATION_TOKEN_ID_DESC', + TransfersVariancePopulationToAsc = 'TRANSFERS_VARIANCE_POPULATION_TO_ASC', + TransfersVariancePopulationToDesc = 'TRANSFERS_VARIANCE_POPULATION_TO_DESC', + TransfersVariancePopulationTransactionHashAsc = 'TRANSFERS_VARIANCE_POPULATION_TRANSACTION_HASH_ASC', + TransfersVariancePopulationTransactionHashDesc = 'TRANSFERS_VARIANCE_POPULATION_TRANSACTION_HASH_DESC', + TransfersVarianceSampleAmountAsc = 'TRANSFERS_VARIANCE_SAMPLE_AMOUNT_ASC', + TransfersVarianceSampleAmountDesc = 'TRANSFERS_VARIANCE_SAMPLE_AMOUNT_DESC', + TransfersVarianceSampleBlockAsc = 'TRANSFERS_VARIANCE_SAMPLE_BLOCK_ASC', + TransfersVarianceSampleBlockDesc = 'TRANSFERS_VARIANCE_SAMPLE_BLOCK_DESC', + TransfersVarianceSampleFromAsc = 'TRANSFERS_VARIANCE_SAMPLE_FROM_ASC', + TransfersVarianceSampleFromDesc = 'TRANSFERS_VARIANCE_SAMPLE_FROM_DESC', + TransfersVarianceSampleIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_ID_ASC', + TransfersVarianceSampleIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_ID_DESC', + TransfersVarianceSampleNetworkIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_NETWORK_ID_ASC', + TransfersVarianceSampleNetworkIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_NETWORK_ID_DESC', + TransfersVarianceSampleNftIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_NFT_ID_ASC', + TransfersVarianceSampleNftIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_NFT_ID_DESC', + TransfersVarianceSampleTimestampAsc = 'TRANSFERS_VARIANCE_SAMPLE_TIMESTAMP_ASC', + TransfersVarianceSampleTimestampDesc = 'TRANSFERS_VARIANCE_SAMPLE_TIMESTAMP_DESC', + TransfersVarianceSampleTokenIdAsc = 'TRANSFERS_VARIANCE_SAMPLE_TOKEN_ID_ASC', + TransfersVarianceSampleTokenIdDesc = 'TRANSFERS_VARIANCE_SAMPLE_TOKEN_ID_DESC', + TransfersVarianceSampleToAsc = 'TRANSFERS_VARIANCE_SAMPLE_TO_ASC', + TransfersVarianceSampleToDesc = 'TRANSFERS_VARIANCE_SAMPLE_TO_DESC', + TransfersVarianceSampleTransactionHashAsc = 'TRANSFERS_VARIANCE_SAMPLE_TRANSACTION_HASH_ASC', + TransfersVarianceSampleTransactionHashDesc = 'TRANSFERS_VARIANCE_SAMPLE_TRANSACTION_HASH_DESC', +} + +/** An object with a globally unique `ID`. */ +export type Node = { + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] +} + +/** Information about pagination in a connection. */ +export type PageInfo = { + __typename?: 'PageInfo' + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe + /** When paginating forwards, are there more items? */ + hasNextPage: Scalars['Boolean']['output'] + /** When paginating backwards, are there more items? */ + hasPreviousPage: Scalars['Boolean']['output'] + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe +} + +/** The root query type which gives access points into the data universe. */ +export type Query = Node & { + __typename?: 'Query' + _metadata?: Maybe<_Metadata> + _metadatas?: Maybe<_Metadatas> + account?: Maybe + /** Reads a single `Account` using its globally unique `ID`. */ + accountByNodeId?: Maybe + /** Reads and enables pagination through a set of `Account`. */ + accounts?: Maybe + address?: Maybe
+ /** Reads a single `Address` using its globally unique `ID`. */ + addressByNodeId?: Maybe
+ /** Reads and enables pagination through a set of `Address`. */ + addresses?: Maybe + blockedAddress?: Maybe + /** Reads a single `BlockedAddress` using its globally unique `ID`. */ + blockedAddressByNodeId?: Maybe + /** Reads and enables pagination through a set of `BlockedAddress`. */ + blockedAddresses?: Maybe + collection?: Maybe + /** Reads a single `Collection` using its globally unique `ID`. */ + collectionByNodeId?: Maybe + /** Reads and enables pagination through a set of `Collection`. */ + collections?: Maybe + /** Reads and enables pagination through a set of `Metadatum`. */ + metadata?: Maybe + metadatum?: Maybe + /** Reads a single `Metadatum` using its globally unique `ID`. */ + metadatumByNodeId?: Maybe + network?: Maybe + /** Reads a single `Network` using its globally unique `ID`. */ + networkByNodeId?: Maybe + /** Reads and enables pagination through a set of `Network`. */ + networks?: Maybe + nft?: Maybe + /** Reads a single `Nft` using its globally unique `ID`. */ + nftByNodeId?: Maybe + /** Reads and enables pagination through a set of `Nft`. */ + nfts?: Maybe + /** Fetches an object given its globally unique `ID`. */ + node?: Maybe + /** The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`. */ + nodeId: Scalars['ID']['output'] + /** + * Exposes the root query type nested one level down. This is helpful for Relay 1 + * which can only query top level fields if they are in a particular form. + */ + query: Query + transfer?: Maybe + /** Reads a single `Transfer` using its globally unique `ID`. */ + transferByNodeId?: Maybe + /** Reads and enables pagination through a set of `Transfer`. */ + transfers?: Maybe +} + +/** The root query type which gives access points into the data universe. */ +export type Query_MetadataArgs = { + chainId?: InputMaybe +} + +/** The root query type which gives access points into the data universe. */ +export type Query_MetadatasArgs = { + after?: InputMaybe + before?: InputMaybe +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAccountArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAccountByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAccountsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAddressArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAddressByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryBlockedAddressArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryBlockedAddressByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryBlockedAddressesArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryCollectionArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryCollectionByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryCollectionsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryMetadataArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryMetadatumArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryMetadatumByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNetworkArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNetworkByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNetworksArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNftArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNftByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNftsArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +/** The root query type which gives access points into the data universe. */ +export type QueryNodeArgs = { + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryTransferArgs = { + id: Scalars['String']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryTransferByNodeIdArgs = { + distinct?: InputMaybe>> + nodeId: Scalars['ID']['input'] +} + +/** The root query type which gives access points into the data universe. */ +export type QueryTransfersArgs = { + after?: InputMaybe + before?: InputMaybe + distinct?: InputMaybe>> + filter?: InputMaybe + first?: InputMaybe + last?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe> +} + +export enum StatusType { + Completed = 'COMPLETED', + Failed = 'FAILED', + Invalid = 'INVALID', + Pending = 'PENDING', + Processing = 'PROCESSING', + Unknown = 'UNKNOWN', +} + +/** A filter to be used against StatusType fields. All fields are combined with a logical ‘and.’ */ +export type StatusTypeFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> +} + +/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */ +export type StringFilter = { + /** Not equal to the specified value, treating null like an ordinary value. */ + distinctFrom?: InputMaybe + /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ + distinctFromInsensitive?: InputMaybe + /** Ends with the specified string (case-sensitive). */ + endsWith?: InputMaybe + /** Ends with the specified string (case-insensitive). */ + endsWithInsensitive?: InputMaybe + /** Equal to the specified value. */ + equalTo?: InputMaybe + /** Equal to the specified value (case-insensitive). */ + equalToInsensitive?: InputMaybe + /** Greater than the specified value. */ + greaterThan?: InputMaybe + /** Greater than the specified value (case-insensitive). */ + greaterThanInsensitive?: InputMaybe + /** Greater than or equal to the specified value. */ + greaterThanOrEqualTo?: InputMaybe + /** Greater than or equal to the specified value (case-insensitive). */ + greaterThanOrEqualToInsensitive?: InputMaybe + /** Included in the specified list. */ + in?: InputMaybe> + /** Included in the specified list (case-insensitive). */ + inInsensitive?: InputMaybe> + /** Contains the specified string (case-sensitive). */ + includes?: InputMaybe + /** Contains the specified string (case-insensitive). */ + includesInsensitive?: InputMaybe + /** Is null (if `true` is specified) or is not null (if `false` is specified). */ + isNull?: InputMaybe + /** Less than the specified value. */ + lessThan?: InputMaybe + /** Less than the specified value (case-insensitive). */ + lessThanInsensitive?: InputMaybe + /** Less than or equal to the specified value. */ + lessThanOrEqualTo?: InputMaybe + /** Less than or equal to the specified value (case-insensitive). */ + lessThanOrEqualToInsensitive?: InputMaybe + /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + like?: InputMaybe + /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + likeInsensitive?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value. */ + notDistinctFrom?: InputMaybe + /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ + notDistinctFromInsensitive?: InputMaybe + /** Does not end with the specified string (case-sensitive). */ + notEndsWith?: InputMaybe + /** Does not end with the specified string (case-insensitive). */ + notEndsWithInsensitive?: InputMaybe + /** Not equal to the specified value. */ + notEqualTo?: InputMaybe + /** Not equal to the specified value (case-insensitive). */ + notEqualToInsensitive?: InputMaybe + /** Not included in the specified list. */ + notIn?: InputMaybe> + /** Not included in the specified list (case-insensitive). */ + notInInsensitive?: InputMaybe> + /** Does not contain the specified string (case-sensitive). */ + notIncludes?: InputMaybe + /** Does not contain the specified string (case-insensitive). */ + notIncludesInsensitive?: InputMaybe + /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + notLike?: InputMaybe + /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ + notLikeInsensitive?: InputMaybe + /** Does not start with the specified string (case-sensitive). */ + notStartsWith?: InputMaybe + /** Does not start with the specified string (case-insensitive). */ + notStartsWithInsensitive?: InputMaybe + /** Starts with the specified string (case-sensitive). */ + startsWith?: InputMaybe + /** Starts with the specified string (case-insensitive). */ + startsWithInsensitive?: InputMaybe +} + +export type TableEstimate = { + __typename?: 'TableEstimate' + estimate?: Maybe + table?: Maybe +} + +export type Transfer = Node & { + __typename?: 'Transfer' + amount: Scalars['BigFloat']['output'] + block?: Maybe + from: Scalars['String']['output'] + id: Scalars['String']['output'] + /** Reads a single `Network` that is related to this `Transfer`. */ + network?: Maybe + networkId: Scalars['String']['output'] + /** Reads a single `Nft` that is related to this `Transfer`. */ + nft?: Maybe + nftId?: Maybe + /** A globally unique identifier. Can be used in various places throughout the system to identify this single value. */ + nodeId: Scalars['ID']['output'] + timestamp?: Maybe + to: Scalars['String']['output'] + tokenId: Scalars['String']['output'] + transactionHash?: Maybe +} + +export type TransferAggregates = { + __typename?: 'TransferAggregates' + /** Mean average aggregates across the matching connection (ignoring before/after/first/last/offset) */ + average?: Maybe + /** Distinct count aggregates across the matching connection (ignoring before/after/first/last/offset) */ + distinctCount?: Maybe + keys?: Maybe> + /** Maximum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + max?: Maybe + /** Minimum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + min?: Maybe + /** Population standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevPopulation?: Maybe + /** Sample standard deviation aggregates across the matching connection (ignoring before/after/first/last/offset) */ + stddevSample?: Maybe + /** Sum aggregates across the matching connection (ignoring before/after/first/last/offset) */ + sum?: Maybe + /** Population variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + variancePopulation?: Maybe + /** Sample variance aggregates across the matching connection (ignoring before/after/first/last/offset) */ + varianceSample?: Maybe +} + +/** A filter to be used against aggregates of `Transfer` object types. */ +export type TransferAggregatesFilter = { + /** Mean average aggregate over matching `Transfer` objects. */ + average?: InputMaybe + /** Distinct count aggregate over matching `Transfer` objects. */ + distinctCount?: InputMaybe + /** A filter that must pass for the relevant `Transfer` object to be included within the aggregate. */ + filter?: InputMaybe + /** Maximum aggregate over matching `Transfer` objects. */ + max?: InputMaybe + /** Minimum aggregate over matching `Transfer` objects. */ + min?: InputMaybe + /** Population standard deviation aggregate over matching `Transfer` objects. */ + stddevPopulation?: InputMaybe + /** Sample standard deviation aggregate over matching `Transfer` objects. */ + stddevSample?: InputMaybe + /** Sum aggregate over matching `Transfer` objects. */ + sum?: InputMaybe + /** Population variance aggregate over matching `Transfer` objects. */ + variancePopulation?: InputMaybe + /** Sample variance aggregate over matching `Transfer` objects. */ + varianceSample?: InputMaybe +} + +export type TransferAverageAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferAverageAggregates = { + __typename?: 'TransferAverageAggregates' + /** Mean average of amount across the matching connection */ + amount?: Maybe + /** Mean average of block across the matching connection */ + block?: Maybe + /** Mean average of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferDistinctCountAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + from?: InputMaybe + id?: InputMaybe + networkId?: InputMaybe + nftId?: InputMaybe + timestamp?: InputMaybe + to?: InputMaybe + tokenId?: InputMaybe + transactionHash?: InputMaybe +} + +export type TransferDistinctCountAggregates = { + __typename?: 'TransferDistinctCountAggregates' + /** Distinct count of amount across the matching connection */ + amount?: Maybe + /** Distinct count of block across the matching connection */ + block?: Maybe + /** Distinct count of from across the matching connection */ + from?: Maybe + /** Distinct count of id across the matching connection */ + id?: Maybe + /** Distinct count of networkId across the matching connection */ + networkId?: Maybe + /** Distinct count of nftId across the matching connection */ + nftId?: Maybe + /** Distinct count of timestamp across the matching connection */ + timestamp?: Maybe + /** Distinct count of to across the matching connection */ + to?: Maybe + /** Distinct count of tokenId across the matching connection */ + tokenId?: Maybe + /** Distinct count of transactionHash across the matching connection */ + transactionHash?: Maybe +} + +/** A filter to be used against `Transfer` object types. All fields are combined with a logical ‘and.’ */ +export type TransferFilter = { + /** Filter by the object’s `amount` field. */ + amount?: InputMaybe + /** Checks for all expressions in this list. */ + and?: InputMaybe> + /** Filter by the object’s `block` field. */ + block?: InputMaybe + /** Filter by the object’s `from` field. */ + from?: InputMaybe + /** Filter by the object’s `id` field. */ + id?: InputMaybe + /** Filter by the object’s `network` relation. */ + network?: InputMaybe + /** Filter by the object’s `networkId` field. */ + networkId?: InputMaybe + /** Filter by the object’s `nft` relation. */ + nft?: InputMaybe + /** A related `nft` exists. */ + nftExists?: InputMaybe + /** Filter by the object’s `nftId` field. */ + nftId?: InputMaybe + /** Negates the expression. */ + not?: InputMaybe + /** Checks for any expressions in this list. */ + or?: InputMaybe> + /** Filter by the object’s `timestamp` field. */ + timestamp?: InputMaybe + /** Filter by the object’s `to` field. */ + to?: InputMaybe + /** Filter by the object’s `tokenId` field. */ + tokenId?: InputMaybe + /** Filter by the object’s `transactionHash` field. */ + transactionHash?: InputMaybe +} + +export type TransferMaxAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferMaxAggregates = { + __typename?: 'TransferMaxAggregates' + /** Maximum of amount across the matching connection */ + amount?: Maybe + /** Maximum of block across the matching connection */ + block?: Maybe + /** Maximum of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferMinAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferMinAggregates = { + __typename?: 'TransferMinAggregates' + /** Minimum of amount across the matching connection */ + amount?: Maybe + /** Minimum of block across the matching connection */ + block?: Maybe + /** Minimum of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferStddevPopulationAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferStddevPopulationAggregates = { + __typename?: 'TransferStddevPopulationAggregates' + /** Population standard deviation of amount across the matching connection */ + amount?: Maybe + /** Population standard deviation of block across the matching connection */ + block?: Maybe + /** Population standard deviation of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferStddevSampleAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferStddevSampleAggregates = { + __typename?: 'TransferStddevSampleAggregates' + /** Sample standard deviation of amount across the matching connection */ + amount?: Maybe + /** Sample standard deviation of block across the matching connection */ + block?: Maybe + /** Sample standard deviation of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferSumAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferSumAggregates = { + __typename?: 'TransferSumAggregates' + /** Sum of amount across the matching connection */ + amount: Scalars['BigFloat']['output'] + /** Sum of block across the matching connection */ + block: Scalars['BigFloat']['output'] + /** Sum of timestamp across the matching connection */ + timestamp: Scalars['BigFloat']['output'] +} + +export type TransferVariancePopulationAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferVariancePopulationAggregates = { + __typename?: 'TransferVariancePopulationAggregates' + /** Population variance of amount across the matching connection */ + amount?: Maybe + /** Population variance of block across the matching connection */ + block?: Maybe + /** Population variance of timestamp across the matching connection */ + timestamp?: Maybe +} + +export type TransferVarianceSampleAggregateFilter = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransferVarianceSampleAggregates = { + __typename?: 'TransferVarianceSampleAggregates' + /** Sample variance of amount across the matching connection */ + amount?: Maybe + /** Sample variance of block across the matching connection */ + block?: Maybe + /** Sample variance of timestamp across the matching connection */ + timestamp?: Maybe +} + +/** A connection to a list of `Transfer` values. */ +export type TransfersConnection = { + __typename?: 'TransfersConnection' + /** Aggregates across the matching connection (ignoring before/after/first/last/offset) */ + aggregates?: Maybe + /** A list of edges which contains the `Transfer` and cursor to aid in pagination. */ + edges: Array + /** Grouped aggregates across the matching connection (ignoring before/after/first/last/offset) */ + groupedAggregates?: Maybe> + /** A list of `Transfer` objects. */ + nodes: Array> + /** Information to aid in pagination. */ + pageInfo: PageInfo + /** The count of *all* `Transfer` you could get from the connection. */ + totalCount: Scalars['Int']['output'] +} + +/** A connection to a list of `Transfer` values. */ +export type TransfersConnectionGroupedAggregatesArgs = { + groupBy: Array + having?: InputMaybe +} + +/** A `Transfer` edge in the connection. */ +export type TransfersEdge = { + __typename?: 'TransfersEdge' + /** A cursor for use in pagination. */ + cursor?: Maybe + /** The `Transfer` at the end of the edge. */ + node?: Maybe +} + +/** Grouping methods for `Transfer` for usage during aggregation. */ +export enum TransfersGroupBy { + Amount = 'AMOUNT', + Block = 'BLOCK', + From = 'FROM', + NetworkId = 'NETWORK_ID', + NftId = 'NFT_ID', + Timestamp = 'TIMESTAMP', + To = 'TO', + TokenId = 'TOKEN_ID', + TransactionHash = 'TRANSACTION_HASH', +} + +export type TransfersHavingAverageInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingDistinctCountInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +/** Conditions for `Transfer` aggregates. */ +export type TransfersHavingInput = { + AND?: InputMaybe> + OR?: InputMaybe> + average?: InputMaybe + distinctCount?: InputMaybe + max?: InputMaybe + min?: InputMaybe + stddevPopulation?: InputMaybe + stddevSample?: InputMaybe + sum?: InputMaybe + variancePopulation?: InputMaybe + varianceSample?: InputMaybe +} + +export type TransfersHavingMaxInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingMinInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingStddevPopulationInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingStddevSampleInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingSumInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingVariancePopulationInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +export type TransfersHavingVarianceSampleInput = { + amount?: InputMaybe + block?: InputMaybe + timestamp?: InputMaybe +} + +/** Methods to use when ordering `Transfer`. */ +export enum TransfersOrderBy { + AmountAsc = 'AMOUNT_ASC', + AmountDesc = 'AMOUNT_DESC', + BlockAsc = 'BLOCK_ASC', + BlockDesc = 'BLOCK_DESC', + FromAsc = 'FROM_ASC', + FromDesc = 'FROM_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + Natural = 'NATURAL', + NetworkIdAsc = 'NETWORK_ID_ASC', + NetworkIdDesc = 'NETWORK_ID_DESC', + NftIdAsc = 'NFT_ID_ASC', + NftIdDesc = 'NFT_ID_DESC', + PrimaryKeyAsc = 'PRIMARY_KEY_ASC', + PrimaryKeyDesc = 'PRIMARY_KEY_DESC', + TimestampAsc = 'TIMESTAMP_ASC', + TimestampDesc = 'TIMESTAMP_DESC', + TokenIdAsc = 'TOKEN_ID_ASC', + TokenIdDesc = 'TOKEN_ID_DESC', + ToAsc = 'TO_ASC', + ToDesc = 'TO_DESC', + TransactionHashAsc = 'TRANSACTION_HASH_ASC', + TransactionHashDesc = 'TRANSACTION_HASH_DESC', +} + +export type _Metadata = { + __typename?: '_Metadata' + chain?: Maybe + deployments?: Maybe + dynamicDatasources?: Maybe + evmChainId?: Maybe + genesisHash?: Maybe + indexerHealthy?: Maybe + indexerNodeVersion?: Maybe + lastCreatedPoiHeight?: Maybe + lastFinalizedVerifiedHeight?: Maybe + lastProcessedHeight?: Maybe + lastProcessedTimestamp?: Maybe + latestSyncedPoiHeight?: Maybe + queryNodeVersion?: Maybe + rowCountEstimate?: Maybe>> + specName?: Maybe + startHeight?: Maybe + targetHeight?: Maybe + unfinalizedBlocks?: Maybe +} + +export type _Metadatas = { + __typename?: '_Metadatas' + nodes: Array> + totalCount: Scalars['Int']['output'] +} + +export enum Accounts_Distinct_Enum { + Id = 'ID', +} + +export enum Addresses_Distinct_Enum { + AccountId = 'ACCOUNT_ID', + Id = 'ID', + NetworkId = 'NETWORK_ID', +} + +export enum Blocked_Addresses_Distinct_Enum { + Id = 'ID', +} + +export enum Collections_Distinct_Enum { + ContractAddress = 'CONTRACT_ADDRESS', + ContractType = 'CONTRACT_TYPE', + CreatedBlock = 'CREATED_BLOCK', + CreatedTimestamp = 'CREATED_TIMESTAMP', + CreatorAddress = 'CREATOR_ADDRESS', + Id = 'ID', + Name = 'NAME', + NetworkId = 'NETWORK_ID', + Symbol = 'SYMBOL', + TotalSupply = 'TOTAL_SUPPLY', +} + +export enum Metadata_Distinct_Enum { + Description = 'DESCRIPTION', + Id = 'ID', + ImageUri = 'IMAGE_URI', + MetadataStatus = 'METADATA_STATUS', + MetadataUri = 'METADATA_URI', + Name = 'NAME', + Raw = 'RAW', + Symbol = 'SYMBOL', + TokenUri = 'TOKEN_URI', +} + +export enum Networks_Distinct_Enum { + Id = 'ID', +} + +export enum Nfts_Distinct_Enum { + Amount = 'AMOUNT', + CollectionId = 'COLLECTION_ID', + CurrentOwner = 'CURRENT_OWNER', + Id = 'ID', + MetadataId = 'METADATA_ID', + MintedBlock = 'MINTED_BLOCK', + MintedTimestamp = 'MINTED_TIMESTAMP', + MinterAddress = 'MINTER_ADDRESS', + TokenId = 'TOKEN_ID', +} + +export enum Transfers_Distinct_Enum { + Amount = 'AMOUNT', + Block = 'BLOCK', + From = 'FROM', + Id = 'ID', + NetworkId = 'NETWORK_ID', + NftId = 'NFT_ID', + Timestamp = 'TIMESTAMP', + To = 'TO', + TokenId = 'TOKEN_ID', + TransactionHash = 'TRANSACTION_HASH', +} + +export type NftsQueryVariables = Exact<{ + address: Scalars['String']['input'] + after?: InputMaybe + first?: InputMaybe +}> + +export type NftsQuery = { + __typename?: 'Query' + nfts?: { + __typename?: 'NftsConnection' + edges: Array<{ + __typename?: 'NftsEdge' + node?: { + __typename?: 'Nft' + id: string + tokenId: string + collection?: { + __typename?: 'Collection' + id: string + name?: string | null + contractType: ContractType + contractAddress: string + networkId: string + totalSupply: any + } | null + metadata?: { + __typename?: 'Metadatum' + name?: string | null + description?: string | null + imageUri?: string | null + } | null + } | null + }> + pageInfo: { __typename?: 'PageInfo'; hasNextPage: boolean; endCursor?: any | null } + } | null +} + +export const NftsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'nfts' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'address' } }, + type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'after' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Cursor' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'first' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'nfts' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'after' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'after' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'first' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'first' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'currentOwner' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'equalTo' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'address' } }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'edges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'node' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'tokenId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'collection' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contractType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contractAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'networkId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalSupply' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'metadata' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'imageUri' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'pageInfo' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'hasNextPage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endCursor' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode diff --git a/packages/nft/generated/gql/rmrk1/index.ts b/packages/nft/generated/gql/onfinality/index.ts similarity index 100% rename from packages/nft/generated/gql/rmrk1/index.ts rename to packages/nft/generated/gql/onfinality/index.ts diff --git a/packages/nft/generated/gql/rmrk1/fragment-masking.ts b/packages/nft/generated/gql/rmrk1/fragment-masking.ts deleted file mode 100644 index 0f1e69d16..000000000 --- a/packages/nft/generated/gql/rmrk1/fragment-masking.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { ResultOf, TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' - -export type FragmentType> = TDocumentType extends DocumentNode< - infer TType, - any -> - ? TType extends { ' $fragmentName'?: infer TKey } - ? TKey extends string - ? { ' $fragmentRefs'?: { [key in TKey]: TType } } - : never - : never - : never - -// return non-nullable if `fragmentType` is non-nullable -export function useFragment( - _documentNode: DocumentNode, - fragmentType: FragmentType> -): TType -// return nullable if `fragmentType` is nullable -export function useFragment( - _documentNode: DocumentNode, - fragmentType: FragmentType> | null | undefined -): TType | null | undefined -// return array of non-nullable if `fragmentType` is array of non-nullable -export function useFragment( - _documentNode: DocumentNode, - fragmentType: ReadonlyArray>> -): ReadonlyArray -// return array of nullable if `fragmentType` is array of nullable -export function useFragment( - _documentNode: DocumentNode, - fragmentType: ReadonlyArray>> | null | undefined -): ReadonlyArray | null | undefined -export function useFragment( - _documentNode: DocumentNode, - fragmentType: - | FragmentType> - | ReadonlyArray>> - | null - | undefined -): TType | ReadonlyArray | null | undefined { - return fragmentType as any -} - -export function makeFragmentData>( - data: FT, - _fragment: F -): FragmentType { - return data as FragmentType -} diff --git a/packages/nft/generated/gql/rmrk1/gql.ts b/packages/nft/generated/gql/rmrk1/gql.ts deleted file mode 100644 index 024a56002..000000000 --- a/packages/nft/generated/gql/rmrk1/gql.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* eslint-disable */ -import * as types from './graphql.js' -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' - -/** - * Map of all GraphQL operations in the project. - * - * This map has several performance disadvantages: - * 1. It is not tree-shakeable, so it will include all operations in the project. - * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle. - * 3. It does not support dead code elimination, so it will add unused operations. - * - * Therefore it is highly recommended to use the babel-plugin for production. - */ -const documents = { - '\n query nfts($addresses: [String!], $limit: Int, $offset: Int) {\n nfts(limit: $limit, offset: $offset, where: { owner: { _in: $addresses }, burned: { _eq: "" } }) {\n id\n metadata_name\n metadata_description\n metadata_animation_url\n metadata_image\n sn\n collection {\n id\n name\n max\n }\n }\n }\n ': - types.NftsDocument, -} - -/** - * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. - * - * - * @example - * ```ts - * const query = gql(`query GetUser($id: ID!) { user(id: $id) { name } }`); - * ``` - * - * The query argument is unknown! - * Please regenerate the types. - */ -export function graphql(source: string): unknown - -/** - * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. - */ -export function graphql( - source: '\n query nfts($addresses: [String!], $limit: Int, $offset: Int) {\n nfts(limit: $limit, offset: $offset, where: { owner: { _in: $addresses }, burned: { _eq: "" } }) {\n id\n metadata_name\n metadata_description\n metadata_animation_url\n metadata_image\n sn\n collection {\n id\n name\n max\n }\n }\n }\n ' -): (typeof documents)['\n query nfts($addresses: [String!], $limit: Int, $offset: Int) {\n nfts(limit: $limit, offset: $offset, where: { owner: { _in: $addresses }, burned: { _eq: "" } }) {\n id\n metadata_name\n metadata_description\n metadata_animation_url\n metadata_image\n sn\n collection {\n id\n name\n max\n }\n }\n }\n '] - -export function graphql(source: string) { - return (documents as any)[source] ?? {} -} - -export type DocumentType> = TDocumentNode extends DocumentNode< - infer TType, - any -> - ? TType - : never diff --git a/packages/nft/generated/gql/rmrk1/graphql.ts b/packages/nft/generated/gql/rmrk1/graphql.ts deleted file mode 100644 index 46526a84a..000000000 --- a/packages/nft/generated/gql/rmrk1/graphql.ts +++ /dev/null @@ -1,5737 +0,0 @@ -/* eslint-disable */ -import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' -export type Maybe = T | null -export type InputMaybe = Maybe -export type Exact = { [K in keyof T]: T[K] } -export type MakeOptional = Omit & { [SubKey in K]?: Maybe } -export type MakeMaybe = Omit & { [SubKey in K]: Maybe } -/** All built-in and custom scalars, mapped to their actual values */ -export type Scalars = { - ID: string - String: string - Boolean: boolean - Int: number - Float: number - bigint: any - jsonb: any - timestamptz: any -} - -/** 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> -} - -/** 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> -} - -/** 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 - _ilike?: InputMaybe - _in?: InputMaybe> - _is_null?: InputMaybe - _like?: InputMaybe - _lt?: InputMaybe - _lte?: InputMaybe - _neq?: InputMaybe - _nilike?: InputMaybe - _nin?: InputMaybe> - _nlike?: InputMaybe - _nsimilar?: InputMaybe - _similar?: InputMaybe -} - -/** columns and relationships of "art_contest_nfts" */ -export type Art_Contest_Nfts = { - __typename?: 'art_contest_nfts' - /** An array relationship */ - art_contest_submissions: Array - /** An aggregated array relationship */ - art_contest_submissions_aggregate: Art_Contest_Submissions_Aggregate - id: Scalars['Int'] - nft_id: Scalars['String'] -} - -/** columns and relationships of "art_contest_nfts" */ -export type Art_Contest_NftsArt_Contest_SubmissionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "art_contest_nfts" */ -export type Art_Contest_NftsArt_Contest_Submissions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "art_contest_nfts" */ -export type Art_Contest_Nfts_Aggregate = { - __typename?: 'art_contest_nfts_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "art_contest_nfts" */ -export type Art_Contest_Nfts_Aggregate_Fields = { - __typename?: 'art_contest_nfts_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "art_contest_nfts" */ -export type Art_Contest_Nfts_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "art_contest_nfts" */ -export type Art_Contest_Nfts_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 -} - -/** aggregate avg on columns */ -export type Art_Contest_Nfts_Avg_Fields = { - __typename?: 'art_contest_nfts_avg_fields' - id?: Maybe -} - -/** order by avg() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Avg_Order_By = { - id?: InputMaybe -} - -/** Boolean expression to filter rows from the table "art_contest_nfts". All fields are combined with a logical 'AND'. */ -export type Art_Contest_Nfts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - art_contest_submissions?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate max on columns */ -export type Art_Contest_Nfts_Max_Fields = { - __typename?: 'art_contest_nfts_max_fields' - id?: Maybe - nft_id?: Maybe -} - -/** order by max() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Max_Order_By = { - id?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Art_Contest_Nfts_Min_Fields = { - __typename?: 'art_contest_nfts_min_fields' - id?: Maybe - nft_id?: Maybe -} - -/** order by min() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Min_Order_By = { - id?: InputMaybe - nft_id?: InputMaybe -} - -/** ordering options when selecting data from "art_contest_nfts" */ -export type Art_Contest_Nfts_Order_By = { - art_contest_submissions_aggregate?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe -} - -/** primary key columns input for table: "art_contest_nfts" */ -export type Art_Contest_Nfts_Pk_Columns_Input = { - nft_id: Scalars['String'] -} - -/** select columns of table "art_contest_nfts" */ -export enum Art_Contest_Nfts_Select_Column { - /** column name */ - Id = 'id', - /** column name */ - NftId = 'nft_id', -} - -/** aggregate stddev on columns */ -export type Art_Contest_Nfts_Stddev_Fields = { - __typename?: 'art_contest_nfts_stddev_fields' - id?: Maybe -} - -/** order by stddev() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Stddev_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Art_Contest_Nfts_Stddev_Pop_Fields = { - __typename?: 'art_contest_nfts_stddev_pop_fields' - id?: Maybe -} - -/** order by stddev_pop() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Stddev_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Art_Contest_Nfts_Stddev_Samp_Fields = { - __typename?: 'art_contest_nfts_stddev_samp_fields' - id?: Maybe -} - -/** order by stddev_samp() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Stddev_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Art_Contest_Nfts_Sum_Fields = { - __typename?: 'art_contest_nfts_sum_fields' - id?: Maybe -} - -/** order by sum() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Sum_Order_By = { - id?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Art_Contest_Nfts_Var_Pop_Fields = { - __typename?: 'art_contest_nfts_var_pop_fields' - id?: Maybe -} - -/** order by var_pop() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Var_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Art_Contest_Nfts_Var_Samp_Fields = { - __typename?: 'art_contest_nfts_var_samp_fields' - id?: Maybe -} - -/** order by var_samp() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Var_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Art_Contest_Nfts_Variance_Fields = { - __typename?: 'art_contest_nfts_variance_fields' - id?: Maybe -} - -/** order by variance() on columns of table "art_contest_nfts" */ -export type Art_Contest_Nfts_Variance_Order_By = { - id?: InputMaybe -} - -/** columns and relationships of "art_contest_submissions" */ -export type Art_Contest_Submissions = { - __typename?: 'art_contest_submissions' - animation_url: Scalars['String'] - /** An object relationship */ - art_contest_nft: Art_Contest_Nfts - art_id: Scalars['String'] - /** An array relationship */ - art_votes: Array - /** An aggregated array relationship */ - art_votes_aggregate: Art_Contest_Votes_Aggregate - artist_address: Scalars['String'] - created_at: Scalars['timestamptz'] - disabled: Scalars['Boolean'] - id: Scalars['Int'] - img_url: Scalars['String'] - nft_id: Scalars['String'] -} - -/** columns and relationships of "art_contest_submissions" */ -export type Art_Contest_SubmissionsArt_VotesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "art_contest_submissions" */ -export type Art_Contest_SubmissionsArt_Votes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "art_contest_submissions" */ -export type Art_Contest_Submissions_Aggregate = { - __typename?: 'art_contest_submissions_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "art_contest_submissions" */ -export type Art_Contest_Submissions_Aggregate_Fields = { - __typename?: 'art_contest_submissions_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "art_contest_submissions" */ -export type Art_Contest_Submissions_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "art_contest_submissions" */ -export type Art_Contest_Submissions_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 -} - -/** aggregate avg on columns */ -export type Art_Contest_Submissions_Avg_Fields = { - __typename?: 'art_contest_submissions_avg_fields' - id?: Maybe -} - -/** order by avg() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Avg_Order_By = { - id?: InputMaybe -} - -/** Boolean expression to filter rows from the table "art_contest_submissions". All fields are combined with a logical 'AND'. */ -export type Art_Contest_Submissions_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - animation_url?: InputMaybe - art_contest_nft?: InputMaybe - art_id?: InputMaybe - art_votes?: InputMaybe - artist_address?: InputMaybe - created_at?: InputMaybe - disabled?: InputMaybe - id?: InputMaybe - img_url?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate max on columns */ -export type Art_Contest_Submissions_Max_Fields = { - __typename?: 'art_contest_submissions_max_fields' - animation_url?: Maybe - art_id?: Maybe - artist_address?: Maybe - created_at?: Maybe - id?: Maybe - img_url?: Maybe - nft_id?: Maybe -} - -/** order by max() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Max_Order_By = { - animation_url?: InputMaybe - art_id?: InputMaybe - artist_address?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - img_url?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Art_Contest_Submissions_Min_Fields = { - __typename?: 'art_contest_submissions_min_fields' - animation_url?: Maybe - art_id?: Maybe - artist_address?: Maybe - created_at?: Maybe - id?: Maybe - img_url?: Maybe - nft_id?: Maybe -} - -/** order by min() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Min_Order_By = { - animation_url?: InputMaybe - art_id?: InputMaybe - artist_address?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - img_url?: InputMaybe - nft_id?: InputMaybe -} - -/** ordering options when selecting data from "art_contest_submissions" */ -export type Art_Contest_Submissions_Order_By = { - animation_url?: InputMaybe - art_contest_nft?: InputMaybe - art_id?: InputMaybe - art_votes_aggregate?: InputMaybe - artist_address?: InputMaybe - created_at?: InputMaybe - disabled?: InputMaybe - id?: InputMaybe - img_url?: InputMaybe - nft_id?: InputMaybe -} - -/** primary key columns input for table: "art_contest_submissions" */ -export type Art_Contest_Submissions_Pk_Columns_Input = { - id: Scalars['Int'] -} - -/** select columns of table "art_contest_submissions" */ -export enum Art_Contest_Submissions_Select_Column { - /** column name */ - AnimationUrl = 'animation_url', - /** column name */ - ArtId = 'art_id', - /** column name */ - ArtistAddress = 'artist_address', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Disabled = 'disabled', - /** column name */ - Id = 'id', - /** column name */ - ImgUrl = 'img_url', - /** column name */ - NftId = 'nft_id', -} - -/** aggregate stddev on columns */ -export type Art_Contest_Submissions_Stddev_Fields = { - __typename?: 'art_contest_submissions_stddev_fields' - id?: Maybe -} - -/** order by stddev() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Stddev_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Art_Contest_Submissions_Stddev_Pop_Fields = { - __typename?: 'art_contest_submissions_stddev_pop_fields' - id?: Maybe -} - -/** order by stddev_pop() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Stddev_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Art_Contest_Submissions_Stddev_Samp_Fields = { - __typename?: 'art_contest_submissions_stddev_samp_fields' - id?: Maybe -} - -/** order by stddev_samp() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Stddev_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Art_Contest_Submissions_Sum_Fields = { - __typename?: 'art_contest_submissions_sum_fields' - id?: Maybe -} - -/** order by sum() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Sum_Order_By = { - id?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Art_Contest_Submissions_Var_Pop_Fields = { - __typename?: 'art_contest_submissions_var_pop_fields' - id?: Maybe -} - -/** order by var_pop() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Var_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Art_Contest_Submissions_Var_Samp_Fields = { - __typename?: 'art_contest_submissions_var_samp_fields' - id?: Maybe -} - -/** order by var_samp() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Var_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Art_Contest_Submissions_Variance_Fields = { - __typename?: 'art_contest_submissions_variance_fields' - id?: Maybe -} - -/** order by variance() on columns of table "art_contest_submissions" */ -export type Art_Contest_Submissions_Variance_Order_By = { - id?: InputMaybe -} - -/** columns and relationships of "art_contest_votes" */ -export type Art_Contest_Votes = { - __typename?: 'art_contest_votes' - art_id: Scalars['String'] - /** An object relationship */ - art_votes?: Maybe - caller: Scalars['String'] - created_at: Scalars['timestamptz'] - id: Scalars['Int'] - nft_id: Scalars['String'] - updated_at: Scalars['timestamptz'] - weight: Scalars['Int'] -} - -/** aggregated selection of "art_contest_votes" */ -export type Art_Contest_Votes_Aggregate = { - __typename?: 'art_contest_votes_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "art_contest_votes" */ -export type Art_Contest_Votes_Aggregate_Fields = { - __typename?: 'art_contest_votes_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "art_contest_votes" */ -export type Art_Contest_Votes_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "art_contest_votes" */ -export type Art_Contest_Votes_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 -} - -/** aggregate avg on columns */ -export type Art_Contest_Votes_Avg_Fields = { - __typename?: 'art_contest_votes_avg_fields' - id?: Maybe - weight?: Maybe -} - -/** order by avg() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Avg_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** Boolean expression to filter rows from the table "art_contest_votes". All fields are combined with a logical 'AND'. */ -export type Art_Contest_Votes_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - art_id?: InputMaybe - art_votes?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - updated_at?: InputMaybe - weight?: InputMaybe -} - -/** aggregate max on columns */ -export type Art_Contest_Votes_Max_Fields = { - __typename?: 'art_contest_votes_max_fields' - art_id?: Maybe - caller?: Maybe - created_at?: Maybe - id?: Maybe - nft_id?: Maybe - updated_at?: Maybe - weight?: Maybe -} - -/** order by max() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Max_Order_By = { - art_id?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - updated_at?: InputMaybe - weight?: InputMaybe -} - -/** aggregate min on columns */ -export type Art_Contest_Votes_Min_Fields = { - __typename?: 'art_contest_votes_min_fields' - art_id?: Maybe - caller?: Maybe - created_at?: Maybe - id?: Maybe - nft_id?: Maybe - updated_at?: Maybe - weight?: Maybe -} - -/** order by min() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Min_Order_By = { - art_id?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - updated_at?: InputMaybe - weight?: InputMaybe -} - -/** ordering options when selecting data from "art_contest_votes" */ -export type Art_Contest_Votes_Order_By = { - art_id?: InputMaybe - art_votes?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - updated_at?: InputMaybe - weight?: InputMaybe -} - -/** primary key columns input for table: "art_contest_votes" */ -export type Art_Contest_Votes_Pk_Columns_Input = { - caller: Scalars['String'] - nft_id: Scalars['String'] -} - -/** select columns of table "art_contest_votes" */ -export enum Art_Contest_Votes_Select_Column { - /** column name */ - ArtId = 'art_id', - /** column name */ - Caller = 'caller', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Id = 'id', - /** column name */ - NftId = 'nft_id', - /** column name */ - UpdatedAt = 'updated_at', - /** column name */ - Weight = 'weight', -} - -/** aggregate stddev on columns */ -export type Art_Contest_Votes_Stddev_Fields = { - __typename?: 'art_contest_votes_stddev_fields' - id?: Maybe - weight?: Maybe -} - -/** order by stddev() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Stddev_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Art_Contest_Votes_Stddev_Pop_Fields = { - __typename?: 'art_contest_votes_stddev_pop_fields' - id?: Maybe - weight?: Maybe -} - -/** order by stddev_pop() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Stddev_Pop_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Art_Contest_Votes_Stddev_Samp_Fields = { - __typename?: 'art_contest_votes_stddev_samp_fields' - id?: Maybe - weight?: Maybe -} - -/** order by stddev_samp() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Stddev_Samp_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate sum on columns */ -export type Art_Contest_Votes_Sum_Fields = { - __typename?: 'art_contest_votes_sum_fields' - id?: Maybe - weight?: Maybe -} - -/** order by sum() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Sum_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Art_Contest_Votes_Var_Pop_Fields = { - __typename?: 'art_contest_votes_var_pop_fields' - id?: Maybe - weight?: Maybe -} - -/** order by var_pop() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Var_Pop_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Art_Contest_Votes_Var_Samp_Fields = { - __typename?: 'art_contest_votes_var_samp_fields' - id?: Maybe - weight?: Maybe -} - -/** order by var_samp() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Var_Samp_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** aggregate variance on columns */ -export type Art_Contest_Votes_Variance_Fields = { - __typename?: 'art_contest_votes_variance_fields' - id?: Maybe - weight?: Maybe -} - -/** order by variance() on columns of table "art_contest_votes" */ -export type Art_Contest_Votes_Variance_Order_By = { - id?: InputMaybe - weight?: InputMaybe -} - -/** expression to compare columns of type bigint. All fields are combined with logical 'AND'. */ -export type Bigint_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 "changes" */ -export type Changes = { - __typename?: 'changes' - block: Scalars['Int'] - caller: Scalars['String'] - /** An object relationship */ - collection?: Maybe - created_at: Scalars['timestamptz'] - field: Scalars['String'] - id: Scalars['Int'] - new: Scalars['String'] - /** An object relationship */ - nft?: Maybe - old: Scalars['String'] - opType: Scalars['String'] - ref_id: Scalars['String'] -} - -/** aggregated selection of "changes" */ -export type Changes_Aggregate = { - __typename?: 'changes_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "changes" */ -export type Changes_Aggregate_Fields = { - __typename?: 'changes_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "changes" */ -export type Changes_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "changes" */ -export type Changes_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 -} - -/** aggregate avg on columns */ -export type Changes_Avg_Fields = { - __typename?: 'changes_avg_fields' - block?: Maybe - id?: Maybe -} - -/** order by avg() on columns of table "changes" */ -export type Changes_Avg_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** Boolean expression to filter rows from the table "changes". All fields are combined with a logical 'AND'. */ -export type Changes_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - block?: InputMaybe - caller?: InputMaybe - collection?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - nft?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** columns and relationships of "changes_collection" */ -export type Changes_Collection = { - __typename?: 'changes_collection' - block: Scalars['Int'] - caller: Scalars['String'] - /** An object relationship */ - collection?: Maybe - created_at: Scalars['timestamptz'] - field: Scalars['String'] - id: Scalars['Int'] - new: Scalars['String'] - old: Scalars['String'] - opType: Scalars['String'] - ref_id: Scalars['String'] -} - -/** aggregated selection of "changes_collection" */ -export type Changes_Collection_Aggregate = { - __typename?: 'changes_collection_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "changes_collection" */ -export type Changes_Collection_Aggregate_Fields = { - __typename?: 'changes_collection_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "changes_collection" */ -export type Changes_Collection_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "changes_collection" */ -export type Changes_Collection_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 -} - -/** aggregate avg on columns */ -export type Changes_Collection_Avg_Fields = { - __typename?: 'changes_collection_avg_fields' - block?: Maybe - id?: Maybe -} - -/** order by avg() on columns of table "changes_collection" */ -export type Changes_Collection_Avg_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** Boolean expression to filter rows from the table "changes_collection". All fields are combined with a logical 'AND'. */ -export type Changes_Collection_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - block?: InputMaybe - caller?: InputMaybe - collection?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** aggregate max on columns */ -export type Changes_Collection_Max_Fields = { - __typename?: 'changes_collection_max_fields' - block?: Maybe - caller?: Maybe - created_at?: Maybe - field?: Maybe - id?: Maybe - new?: Maybe - old?: Maybe - opType?: Maybe - ref_id?: Maybe -} - -/** order by max() on columns of table "changes_collection" */ -export type Changes_Collection_Max_Order_By = { - block?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Changes_Collection_Min_Fields = { - __typename?: 'changes_collection_min_fields' - block?: Maybe - caller?: Maybe - created_at?: Maybe - field?: Maybe - id?: Maybe - new?: Maybe - old?: Maybe - opType?: Maybe - ref_id?: Maybe -} - -/** order by min() on columns of table "changes_collection" */ -export type Changes_Collection_Min_Order_By = { - block?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** ordering options when selecting data from "changes_collection" */ -export type Changes_Collection_Order_By = { - block?: InputMaybe - caller?: InputMaybe - collection?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** primary key columns input for table: "changes_collection" */ -export type Changes_Collection_Pk_Columns_Input = { - id: Scalars['Int'] -} - -/** select columns of table "changes_collection" */ -export enum Changes_Collection_Select_Column { - /** column name */ - Block = 'block', - /** column name */ - Caller = 'caller', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Field = 'field', - /** column name */ - Id = 'id', - /** column name */ - New = 'new', - /** column name */ - Old = 'old', - /** column name */ - OpType = 'opType', - /** column name */ - RefId = 'ref_id', -} - -/** aggregate stddev on columns */ -export type Changes_Collection_Stddev_Fields = { - __typename?: 'changes_collection_stddev_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev() on columns of table "changes_collection" */ -export type Changes_Collection_Stddev_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Changes_Collection_Stddev_Pop_Fields = { - __typename?: 'changes_collection_stddev_pop_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev_pop() on columns of table "changes_collection" */ -export type Changes_Collection_Stddev_Pop_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Changes_Collection_Stddev_Samp_Fields = { - __typename?: 'changes_collection_stddev_samp_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev_samp() on columns of table "changes_collection" */ -export type Changes_Collection_Stddev_Samp_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Changes_Collection_Sum_Fields = { - __typename?: 'changes_collection_sum_fields' - block?: Maybe - id?: Maybe -} - -/** order by sum() on columns of table "changes_collection" */ -export type Changes_Collection_Sum_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Changes_Collection_Var_Pop_Fields = { - __typename?: 'changes_collection_var_pop_fields' - block?: Maybe - id?: Maybe -} - -/** order by var_pop() on columns of table "changes_collection" */ -export type Changes_Collection_Var_Pop_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Changes_Collection_Var_Samp_Fields = { - __typename?: 'changes_collection_var_samp_fields' - block?: Maybe - id?: Maybe -} - -/** order by var_samp() on columns of table "changes_collection" */ -export type Changes_Collection_Var_Samp_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Changes_Collection_Variance_Fields = { - __typename?: 'changes_collection_variance_fields' - block?: Maybe - id?: Maybe -} - -/** order by variance() on columns of table "changes_collection" */ -export type Changes_Collection_Variance_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate max on columns */ -export type Changes_Max_Fields = { - __typename?: 'changes_max_fields' - block?: Maybe - caller?: Maybe - created_at?: Maybe - field?: Maybe - id?: Maybe - new?: Maybe - old?: Maybe - opType?: Maybe - ref_id?: Maybe -} - -/** order by max() on columns of table "changes" */ -export type Changes_Max_Order_By = { - block?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Changes_Min_Fields = { - __typename?: 'changes_min_fields' - block?: Maybe - caller?: Maybe - created_at?: Maybe - field?: Maybe - id?: Maybe - new?: Maybe - old?: Maybe - opType?: Maybe - ref_id?: Maybe -} - -/** order by min() on columns of table "changes" */ -export type Changes_Min_Order_By = { - block?: InputMaybe - caller?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** ordering options when selecting data from "changes" */ -export type Changes_Order_By = { - block?: InputMaybe - caller?: InputMaybe - collection?: InputMaybe - created_at?: InputMaybe - field?: InputMaybe - id?: InputMaybe - new?: InputMaybe - nft?: InputMaybe - old?: InputMaybe - opType?: InputMaybe - ref_id?: InputMaybe -} - -/** primary key columns input for table: "changes" */ -export type Changes_Pk_Columns_Input = { - id: Scalars['Int'] -} - -/** select columns of table "changes" */ -export enum Changes_Select_Column { - /** column name */ - Block = 'block', - /** column name */ - Caller = 'caller', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Field = 'field', - /** column name */ - Id = 'id', - /** column name */ - New = 'new', - /** column name */ - Old = 'old', - /** column name */ - OpType = 'opType', - /** column name */ - RefId = 'ref_id', -} - -/** aggregate stddev on columns */ -export type Changes_Stddev_Fields = { - __typename?: 'changes_stddev_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev() on columns of table "changes" */ -export type Changes_Stddev_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Changes_Stddev_Pop_Fields = { - __typename?: 'changes_stddev_pop_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev_pop() on columns of table "changes" */ -export type Changes_Stddev_Pop_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Changes_Stddev_Samp_Fields = { - __typename?: 'changes_stddev_samp_fields' - block?: Maybe - id?: Maybe -} - -/** order by stddev_samp() on columns of table "changes" */ -export type Changes_Stddev_Samp_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Changes_Sum_Fields = { - __typename?: 'changes_sum_fields' - block?: Maybe - id?: Maybe -} - -/** order by sum() on columns of table "changes" */ -export type Changes_Sum_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Changes_Var_Pop_Fields = { - __typename?: 'changes_var_pop_fields' - block?: Maybe - id?: Maybe -} - -/** order by var_pop() on columns of table "changes" */ -export type Changes_Var_Pop_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Changes_Var_Samp_Fields = { - __typename?: 'changes_var_samp_fields' - block?: Maybe - id?: Maybe -} - -/** order by var_samp() on columns of table "changes" */ -export type Changes_Var_Samp_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Changes_Variance_Fields = { - __typename?: 'changes_variance_fields' - block?: Maybe - id?: Maybe -} - -/** order by variance() on columns of table "changes" */ -export type Changes_Variance_Order_By = { - block?: InputMaybe - id?: InputMaybe -} - -/** columns and relationships of "collection_banners" */ -export type Collection_Banners = { - __typename?: 'collection_banners' - /** An object relationship */ - collection?: Maybe - collection_id: Scalars['String'] - created_at: Scalars['timestamptz'] - image: Scalars['String'] -} - -/** Boolean expression to filter rows from the table "collection_banners". All fields are combined with a logical 'AND'. */ -export type Collection_Banners_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe - image?: InputMaybe -} - -/** ordering options when selecting data from "collection_banners" */ -export type Collection_Banners_Order_By = { - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe - image?: InputMaybe -} - -/** primary key columns input for table: "collection_banners" */ -export type Collection_Banners_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "collection_banners" */ -export enum Collection_Banners_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Image = 'image', -} - -/** columns and relationships of "collections" */ -export type Collections = { - __typename?: 'collections' - /** An object relationship */ - banner?: Maybe - block: Scalars['Int'] - /** An array relationship */ - changes: Array - /** An aggregated array relationship */ - changes_aggregate: Changes_Aggregate - /** An array relationship */ - changes_collection: Array - /** An aggregated array relationship */ - changes_collection_aggregate: Changes_Collection_Aggregate - data?: Maybe - id: Scalars['String'] - issuer: Scalars['String'] - max: Scalars['Int'] - metadata?: Maybe - name: Scalars['String'] - /** An array relationship */ - nfts: Array - /** An aggregated array relationship */ - nfts_aggregate: Nfts_Aggregate - /** An object relationship */ - nfts_stats?: Maybe - /** An array relationship */ - singular_blacklisted_accounts: Array - /** An array relationship */ - singular_blacklisted_collections: Array - /** An array relationship */ - singular_curated: Array - /** An array relationship */ - singular_hidden_collections: Array - /** An array relationship */ - singular_nsfw_collections: Array - /** An aggregated array relationship */ - singular_nsfw_collections_aggregate: Singular_Nsfw_Collections_Aggregate - /** An array relationship */ - singular_verified_collections: Array - symbol: Scalars['String'] - updated_at: Scalars['timestamptz'] -} - -/** columns and relationships of "collections" */ -export type CollectionsChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsChanges_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsChanges_CollectionArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsChanges_Collection_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsDataArgs = { - path?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsNftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsNfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Blacklisted_AccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Blacklisted_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_CuratedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Hidden_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Nsfw_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Nsfw_Collections_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "collections" */ -export type CollectionsSingular_Verified_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "collections" */ -export type Collections_Aggregate = { - __typename?: 'collections_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "collections" */ -export type Collections_Aggregate_Fields = { - __typename?: 'collections_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "collections" */ -export type Collections_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "collections" */ -export type Collections_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 -} - -/** aggregate avg on columns */ -export type Collections_Avg_Fields = { - __typename?: 'collections_avg_fields' - block?: Maybe - max?: Maybe -} - -/** order by avg() on columns of table "collections" */ -export type Collections_Avg_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** Boolean expression to filter rows from the table "collections". All fields are combined with a logical 'AND'. */ -export type Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - banner?: InputMaybe - block?: InputMaybe - changes?: InputMaybe - changes_collection?: InputMaybe - data?: InputMaybe - id?: InputMaybe - issuer?: InputMaybe - max?: InputMaybe - metadata?: InputMaybe - name?: InputMaybe - nfts?: InputMaybe - nfts_stats?: InputMaybe - singular_blacklisted_accounts?: InputMaybe - singular_blacklisted_collections?: InputMaybe - singular_curated?: InputMaybe - singular_hidden_collections?: InputMaybe - singular_nsfw_collections?: InputMaybe - singular_verified_collections?: InputMaybe - symbol?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate max on columns */ -export type Collections_Max_Fields = { - __typename?: 'collections_max_fields' - block?: Maybe - id?: Maybe - issuer?: Maybe - max?: Maybe - metadata?: Maybe - name?: Maybe - symbol?: Maybe - updated_at?: Maybe -} - -/** order by max() on columns of table "collections" */ -export type Collections_Max_Order_By = { - block?: InputMaybe - id?: InputMaybe - issuer?: InputMaybe - max?: InputMaybe - metadata?: InputMaybe - name?: InputMaybe - symbol?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate min on columns */ -export type Collections_Min_Fields = { - __typename?: 'collections_min_fields' - block?: Maybe - id?: Maybe - issuer?: Maybe - max?: Maybe - metadata?: Maybe - name?: Maybe - symbol?: Maybe - updated_at?: Maybe -} - -/** order by min() on columns of table "collections" */ -export type Collections_Min_Order_By = { - block?: InputMaybe - id?: InputMaybe - issuer?: InputMaybe - max?: InputMaybe - metadata?: InputMaybe - name?: InputMaybe - symbol?: InputMaybe - updated_at?: InputMaybe -} - -/** ordering options when selecting data from "collections" */ -export type Collections_Order_By = { - banner?: InputMaybe - block?: InputMaybe - changes_aggregate?: InputMaybe - changes_collection_aggregate?: InputMaybe - data?: InputMaybe - id?: InputMaybe - issuer?: InputMaybe - max?: InputMaybe - metadata?: InputMaybe - name?: InputMaybe - nfts_aggregate?: InputMaybe - nfts_stats?: InputMaybe - singular_nsfw_collections_aggregate?: InputMaybe - symbol?: InputMaybe - updated_at?: InputMaybe -} - -/** primary key columns input for table: "collections" */ -export type Collections_Pk_Columns_Input = { - id: Scalars['String'] -} - -/** select columns of table "collections" */ -export enum Collections_Select_Column { - /** column name */ - Block = 'block', - /** column name */ - Data = 'data', - /** column name */ - Id = 'id', - /** column name */ - Issuer = 'issuer', - /** column name */ - Max = 'max', - /** column name */ - Metadata = 'metadata', - /** column name */ - Name = 'name', - /** column name */ - Symbol = 'symbol', - /** column name */ - UpdatedAt = 'updated_at', -} - -/** aggregate stddev on columns */ -export type Collections_Stddev_Fields = { - __typename?: 'collections_stddev_fields' - block?: Maybe - max?: Maybe -} - -/** order by stddev() on columns of table "collections" */ -export type Collections_Stddev_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Collections_Stddev_Pop_Fields = { - __typename?: 'collections_stddev_pop_fields' - block?: Maybe - max?: Maybe -} - -/** order by stddev_pop() on columns of table "collections" */ -export type Collections_Stddev_Pop_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Collections_Stddev_Samp_Fields = { - __typename?: 'collections_stddev_samp_fields' - block?: Maybe - max?: Maybe -} - -/** order by stddev_samp() on columns of table "collections" */ -export type Collections_Stddev_Samp_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate sum on columns */ -export type Collections_Sum_Fields = { - __typename?: 'collections_sum_fields' - block?: Maybe - max?: Maybe -} - -/** order by sum() on columns of table "collections" */ -export type Collections_Sum_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Collections_Var_Pop_Fields = { - __typename?: 'collections_var_pop_fields' - block?: Maybe - max?: Maybe -} - -/** order by var_pop() on columns of table "collections" */ -export type Collections_Var_Pop_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Collections_Var_Samp_Fields = { - __typename?: 'collections_var_samp_fields' - block?: Maybe - max?: Maybe -} - -/** order by var_samp() on columns of table "collections" */ -export type Collections_Var_Samp_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** aggregate variance on columns */ -export type Collections_Variance_Fields = { - __typename?: 'collections_variance_fields' - block?: Maybe - max?: Maybe -} - -/** order by variance() on columns of table "collections" */ -export type Collections_Variance_Order_By = { - block?: InputMaybe - max?: InputMaybe -} - -/** columns and relationships of "distinct_nfts" */ -export type Distinct_Nfts = { - __typename?: 'distinct_nfts' - block?: Maybe - burned?: Maybe - /** An object relationship */ - collection?: Maybe - collectionId?: Maybe - forsale?: Maybe - id?: Maybe - instance?: Maybe - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name?: Maybe - owner?: Maybe - /** An array relationship */ - singular_curated: Array - /** An array relationship */ - singular_nsfw: Array - /** An aggregated array relationship */ - singular_nsfw_aggregate: Singular_Nsfw_Nfts_Aggregate - sn?: Maybe - transferable?: Maybe - tx_block?: Maybe - tx_caller?: Maybe - tx_pending?: Maybe - updated_at?: Maybe -} - -/** columns and relationships of "distinct_nfts" */ -export type Distinct_NftsSingular_CuratedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "distinct_nfts" */ -export type Distinct_NftsSingular_NsfwArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "distinct_nfts" */ -export type Distinct_NftsSingular_Nsfw_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "distinct_nfts" */ -export type Distinct_Nfts_Aggregate = { - __typename?: 'distinct_nfts_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "distinct_nfts" */ -export type Distinct_Nfts_Aggregate_Fields = { - __typename?: 'distinct_nfts_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "distinct_nfts" */ -export type Distinct_Nfts_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "distinct_nfts" */ -export type Distinct_Nfts_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 -} - -/** aggregate avg on columns */ -export type Distinct_Nfts_Avg_Fields = { - __typename?: 'distinct_nfts_avg_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by avg() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Avg_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** Boolean expression to filter rows from the table "distinct_nfts". All fields are combined with a logical 'AND'. */ -export type Distinct_Nfts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - block?: InputMaybe - burned?: InputMaybe - collection?: InputMaybe - collectionId?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - singular_curated?: InputMaybe - singular_nsfw?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe - tx_caller?: InputMaybe - tx_pending?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate max on columns */ -export type Distinct_Nfts_Max_Fields = { - __typename?: 'distinct_nfts_max_fields' - block?: Maybe - burned?: Maybe - collectionId?: Maybe - forsale?: Maybe - id?: Maybe - instance?: Maybe - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name?: Maybe - owner?: Maybe - sn?: Maybe - transferable?: Maybe - tx_block?: Maybe - tx_caller?: Maybe - updated_at?: Maybe -} - -/** order by max() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Max_Order_By = { - block?: InputMaybe - burned?: InputMaybe - collectionId?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe - tx_caller?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate min on columns */ -export type Distinct_Nfts_Min_Fields = { - __typename?: 'distinct_nfts_min_fields' - block?: Maybe - burned?: Maybe - collectionId?: Maybe - forsale?: Maybe - id?: Maybe - instance?: Maybe - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name?: Maybe - owner?: Maybe - sn?: Maybe - transferable?: Maybe - tx_block?: Maybe - tx_caller?: Maybe - updated_at?: Maybe -} - -/** order by min() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Min_Order_By = { - block?: InputMaybe - burned?: InputMaybe - collectionId?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe - tx_caller?: InputMaybe - updated_at?: InputMaybe -} - -/** ordering options when selecting data from "distinct_nfts" */ -export type Distinct_Nfts_Order_By = { - block?: InputMaybe - burned?: InputMaybe - collection?: InputMaybe - collectionId?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - singular_nsfw_aggregate?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe - tx_caller?: InputMaybe - tx_pending?: InputMaybe - updated_at?: InputMaybe -} - -/** select columns of table "distinct_nfts" */ -export enum Distinct_Nfts_Select_Column { - /** column name */ - Block = 'block', - /** column name */ - Burned = 'burned', - /** column name */ - CollectionId = 'collectionId', - /** column name */ - Forsale = 'forsale', - /** column name */ - Id = 'id', - /** column name */ - Instance = 'instance', - /** column name */ - Metadata = 'metadata', - /** column name */ - MetadataAnimationUrl = 'metadata_animation_url', - /** column name */ - MetadataContentType = 'metadata_content_type', - /** column name */ - MetadataImage = 'metadata_image', - /** column name */ - MetadataName = 'metadata_name', - /** column name */ - Name = 'name', - /** column name */ - Owner = 'owner', - /** column name */ - Sn = 'sn', - /** column name */ - Transferable = 'transferable', - /** column name */ - TxBlock = 'tx_block', - /** column name */ - TxCaller = 'tx_caller', - /** column name */ - TxPending = 'tx_pending', - /** column name */ - UpdatedAt = 'updated_at', -} - -/** aggregate stddev on columns */ -export type Distinct_Nfts_Stddev_Fields = { - __typename?: 'distinct_nfts_stddev_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by stddev() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Stddev_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Distinct_Nfts_Stddev_Pop_Fields = { - __typename?: 'distinct_nfts_stddev_pop_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by stddev_pop() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Stddev_Pop_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Distinct_Nfts_Stddev_Samp_Fields = { - __typename?: 'distinct_nfts_stddev_samp_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by stddev_samp() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Stddev_Samp_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate sum on columns */ -export type Distinct_Nfts_Sum_Fields = { - __typename?: 'distinct_nfts_sum_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by sum() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Sum_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Distinct_Nfts_Var_Pop_Fields = { - __typename?: 'distinct_nfts_var_pop_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by var_pop() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Var_Pop_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Distinct_Nfts_Var_Samp_Fields = { - __typename?: 'distinct_nfts_var_samp_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by var_samp() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Var_Samp_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -/** aggregate variance on columns */ -export type Distinct_Nfts_Variance_Fields = { - __typename?: 'distinct_nfts_variance_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - tx_block?: Maybe -} - -/** order by variance() on columns of table "distinct_nfts" */ -export type Distinct_Nfts_Variance_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - tx_block?: InputMaybe -} - -export type Get_By_Unicode_Args = { - nft?: InputMaybe -} - -/** expression to compare columns of type jsonb. All fields are combined with logical 'AND'. */ -export type Jsonb_Comparison_Exp = { - /** 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> -} - -/** columns and relationships of "kanaria_houou" */ -export type Kanaria_Houou = { - __typename?: 'kanaria_houou' - created_at: Scalars['timestamptz'] - /** An object relationship */ - nft: Nfts - nft_id: Scalars['String'] -} - -/** aggregated selection of "kanaria_houou" */ -export type Kanaria_Houou_Aggregate = { - __typename?: 'kanaria_houou_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "kanaria_houou" */ -export type Kanaria_Houou_Aggregate_Fields = { - __typename?: 'kanaria_houou_aggregate_fields' - count?: Maybe - max?: Maybe - min?: Maybe -} - -/** aggregate fields of "kanaria_houou" */ -export type Kanaria_Houou_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "kanaria_houou" */ -export type Kanaria_Houou_Aggregate_Order_By = { - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe -} - -/** Boolean expression to filter rows from the table "kanaria_houou". All fields are combined with a logical 'AND'. */ -export type Kanaria_Houou_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate max on columns */ -export type Kanaria_Houou_Max_Fields = { - __typename?: 'kanaria_houou_max_fields' - created_at?: Maybe - nft_id?: Maybe -} - -/** order by max() on columns of table "kanaria_houou" */ -export type Kanaria_Houou_Max_Order_By = { - created_at?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Kanaria_Houou_Min_Fields = { - __typename?: 'kanaria_houou_min_fields' - created_at?: Maybe - nft_id?: Maybe -} - -/** order by min() on columns of table "kanaria_houou" */ -export type Kanaria_Houou_Min_Order_By = { - created_at?: InputMaybe - nft_id?: InputMaybe -} - -/** ordering options when selecting data from "kanaria_houou" */ -export type Kanaria_Houou_Order_By = { - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe -} - -/** primary key columns input for table: "kanaria_houou" */ -export type Kanaria_Houou_Pk_Columns_Input = { - nft_id: Scalars['String'] -} - -/** select columns of table "kanaria_houou" */ -export enum Kanaria_Houou_Select_Column { - /** column name */ - CreatedAt = 'created_at', - /** column name */ - NftId = 'nft_id', -} - -/** mutation root */ -export type Mutation_Root = { - __typename?: 'mutation_root' - /** update data of the table: "system" */ - update_system?: Maybe - /** update single row of the table: "system" */ - update_system_by_pk?: Maybe -} - -/** mutation root */ -export type Mutation_RootUpdate_SystemArgs = { - _set?: InputMaybe - where: System_Bool_Exp -} - -/** mutation root */ -export type Mutation_RootUpdate_System_By_PkArgs = { - _set?: InputMaybe - pk_columns: System_Pk_Columns_Input -} - -/** columns and relationships of "nfts" */ -export type Nfts = { - __typename?: 'nfts' - block: Scalars['Int'] - burned: Scalars['String'] - /** An array relationship */ - changes: Array - /** An aggregated array relationship */ - changes_aggregate: Changes_Aggregate - /** An object relationship */ - collection: Collections - collectionId: Scalars['String'] - data?: Maybe - forsale: Scalars['bigint'] - id: Scalars['String'] - id_md5?: Maybe - instance: Scalars['String'] - /** An array relationship */ - kanaria_houou: Array - /** An aggregated array relationship */ - kanaria_houou_aggregate: Kanaria_Houou_Aggregate - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_description?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name: Scalars['String'] - /** An array relationship */ - nft_reaction_stats: Array - /** An aggregated array relationship */ - nft_reaction_stats_aggregate: Nfts_Reactions_Stats_Aggregate - /** An object relationship */ - nfts_stats?: Maybe - owner: Scalars['String'] - /** An array relationship */ - reactions: Array - /** An aggregated array relationship */ - reactions_aggregate: Reactions_Aggregate - /** An array relationship */ - singular_curated: Array - /** An array relationship */ - singular_hidden: Array - /** An array relationship */ - singular_nsfw: Array - /** An aggregated array relationship */ - singular_nsfw_aggregate: Singular_Nsfw_Nfts_Aggregate - sn: Scalars['String'] - transferable: Scalars['bigint'] - txBlock?: Maybe - txCaller?: Maybe - txPending: Scalars['Boolean'] - updatedAtBlock?: Maybe - updated_at: Scalars['timestamptz'] -} - -/** columns and relationships of "nfts" */ -export type NftsChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsChanges_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsKanaria_HououArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsKanaria_Houou_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsNft_Reaction_StatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsNft_Reaction_Stats_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsReactionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsReactions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsSingular_CuratedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsSingular_HiddenArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsSingular_NsfwArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "nfts" */ -export type NftsSingular_Nsfw_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "nfts" */ -export type Nfts_Aggregate = { - __typename?: 'nfts_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "nfts" */ -export type Nfts_Aggregate_Fields = { - __typename?: 'nfts_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "nfts" */ -export type Nfts_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "nfts" */ -export type Nfts_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 -} - -/** aggregate avg on columns */ -export type Nfts_Avg_Fields = { - __typename?: 'nfts_avg_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by avg() on columns of table "nfts" */ -export type Nfts_Avg_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** Boolean expression to filter rows from the table "nfts". All fields are combined with a logical 'AND'. */ -export type Nfts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - block?: InputMaybe - burned?: InputMaybe - changes?: InputMaybe - collection?: InputMaybe - collectionId?: InputMaybe - data?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - id_md5?: InputMaybe - instance?: InputMaybe - kanaria_houou?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_description?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - nft_reaction_stats?: InputMaybe - nfts_stats?: InputMaybe - owner?: InputMaybe - reactions?: InputMaybe - singular_curated?: InputMaybe - singular_hidden?: InputMaybe - singular_nsfw?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - txCaller?: InputMaybe - txPending?: InputMaybe - updatedAtBlock?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate max on columns */ -export type Nfts_Max_Fields = { - __typename?: 'nfts_max_fields' - block?: Maybe - burned?: Maybe - collectionId?: Maybe - data?: Maybe - forsale?: Maybe - id?: Maybe - id_md5?: Maybe - instance?: Maybe - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_description?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name?: Maybe - owner?: Maybe - sn?: Maybe - transferable?: Maybe - txBlock?: Maybe - txCaller?: Maybe - updatedAtBlock?: Maybe - updated_at?: Maybe -} - -/** order by max() on columns of table "nfts" */ -export type Nfts_Max_Order_By = { - block?: InputMaybe - burned?: InputMaybe - collectionId?: InputMaybe - data?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - id_md5?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_description?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - txCaller?: InputMaybe - updatedAtBlock?: InputMaybe - updated_at?: InputMaybe -} - -/** aggregate min on columns */ -export type Nfts_Min_Fields = { - __typename?: 'nfts_min_fields' - block?: Maybe - burned?: Maybe - collectionId?: Maybe - data?: Maybe - forsale?: Maybe - id?: Maybe - id_md5?: Maybe - instance?: Maybe - metadata?: Maybe - metadata_animation_url?: Maybe - metadata_content_type?: Maybe - metadata_description?: Maybe - metadata_image?: Maybe - metadata_name?: Maybe - name?: Maybe - owner?: Maybe - sn?: Maybe - transferable?: Maybe - txBlock?: Maybe - txCaller?: Maybe - updatedAtBlock?: Maybe - updated_at?: Maybe -} - -/** order by min() on columns of table "nfts" */ -export type Nfts_Min_Order_By = { - block?: InputMaybe - burned?: InputMaybe - collectionId?: InputMaybe - data?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - id_md5?: InputMaybe - instance?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_description?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - owner?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - txCaller?: InputMaybe - updatedAtBlock?: InputMaybe - updated_at?: InputMaybe -} - -/** ordering options when selecting data from "nfts" */ -export type Nfts_Order_By = { - block?: InputMaybe - burned?: InputMaybe - changes_aggregate?: InputMaybe - collection?: InputMaybe - collectionId?: InputMaybe - data?: InputMaybe - forsale?: InputMaybe - id?: InputMaybe - id_md5?: InputMaybe - instance?: InputMaybe - kanaria_houou_aggregate?: InputMaybe - metadata?: InputMaybe - metadata_animation_url?: InputMaybe - metadata_content_type?: InputMaybe - metadata_description?: InputMaybe - metadata_image?: InputMaybe - metadata_name?: InputMaybe - name?: InputMaybe - nft_reaction_stats_aggregate?: InputMaybe - nfts_stats?: InputMaybe - owner?: InputMaybe - reactions_aggregate?: InputMaybe - singular_nsfw_aggregate?: InputMaybe - sn?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - txCaller?: InputMaybe - txPending?: InputMaybe - updatedAtBlock?: InputMaybe - updated_at?: InputMaybe -} - -/** primary key columns input for table: "nfts" */ -export type Nfts_Pk_Columns_Input = { - id: Scalars['String'] -} - -/** columns and relationships of "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats = { - __typename?: 'nfts_reactions_stats' - count?: Maybe - nft_id?: Maybe - /** An object relationship */ - nft_reaction_stats?: Maybe -} - -/** aggregated selection of "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Aggregate = { - __typename?: 'nfts_reactions_stats_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Aggregate_Fields = { - __typename?: 'nfts_reactions_stats_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_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 -} - -/** aggregate avg on columns */ -export type Nfts_Reactions_Stats_Avg_Fields = { - __typename?: 'nfts_reactions_stats_avg_fields' - count?: Maybe -} - -/** order by avg() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Avg_Order_By = { - count?: InputMaybe -} - -/** Boolean expression to filter rows from the table "nfts_reactions_stats". All fields are combined with a logical 'AND'. */ -export type Nfts_Reactions_Stats_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - count?: InputMaybe - nft_id?: InputMaybe - nft_reaction_stats?: InputMaybe -} - -/** aggregate max on columns */ -export type Nfts_Reactions_Stats_Max_Fields = { - __typename?: 'nfts_reactions_stats_max_fields' - count?: Maybe - nft_id?: Maybe -} - -/** order by max() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Max_Order_By = { - count?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Nfts_Reactions_Stats_Min_Fields = { - __typename?: 'nfts_reactions_stats_min_fields' - count?: Maybe - nft_id?: Maybe -} - -/** order by min() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Min_Order_By = { - count?: InputMaybe - nft_id?: InputMaybe -} - -/** ordering options when selecting data from "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Order_By = { - count?: InputMaybe - nft_id?: InputMaybe - nft_reaction_stats?: InputMaybe -} - -/** select columns of table "nfts_reactions_stats" */ -export enum Nfts_Reactions_Stats_Select_Column { - /** column name */ - Count = 'count', - /** column name */ - NftId = 'nft_id', -} - -/** aggregate stddev on columns */ -export type Nfts_Reactions_Stats_Stddev_Fields = { - __typename?: 'nfts_reactions_stats_stddev_fields' - count?: Maybe -} - -/** order by stddev() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Stddev_Order_By = { - count?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Nfts_Reactions_Stats_Stddev_Pop_Fields = { - __typename?: 'nfts_reactions_stats_stddev_pop_fields' - count?: Maybe -} - -/** order by stddev_pop() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Stddev_Pop_Order_By = { - count?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Nfts_Reactions_Stats_Stddev_Samp_Fields = { - __typename?: 'nfts_reactions_stats_stddev_samp_fields' - count?: Maybe -} - -/** order by stddev_samp() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Stddev_Samp_Order_By = { - count?: InputMaybe -} - -/** aggregate sum on columns */ -export type Nfts_Reactions_Stats_Sum_Fields = { - __typename?: 'nfts_reactions_stats_sum_fields' - count?: Maybe -} - -/** order by sum() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Sum_Order_By = { - count?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Nfts_Reactions_Stats_Var_Pop_Fields = { - __typename?: 'nfts_reactions_stats_var_pop_fields' - count?: Maybe -} - -/** order by var_pop() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Var_Pop_Order_By = { - count?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Nfts_Reactions_Stats_Var_Samp_Fields = { - __typename?: 'nfts_reactions_stats_var_samp_fields' - count?: Maybe -} - -/** order by var_samp() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Var_Samp_Order_By = { - count?: InputMaybe -} - -/** aggregate variance on columns */ -export type Nfts_Reactions_Stats_Variance_Fields = { - __typename?: 'nfts_reactions_stats_variance_fields' - count?: Maybe -} - -/** order by variance() on columns of table "nfts_reactions_stats" */ -export type Nfts_Reactions_Stats_Variance_Order_By = { - count?: InputMaybe -} - -/** select columns of table "nfts" */ -export enum Nfts_Select_Column { - /** column name */ - Block = 'block', - /** column name */ - Burned = 'burned', - /** column name */ - CollectionId = 'collectionId', - /** column name */ - Data = 'data', - /** column name */ - Forsale = 'forsale', - /** column name */ - Id = 'id', - /** column name */ - IdMd5 = 'id_md5', - /** column name */ - Instance = 'instance', - /** column name */ - Metadata = 'metadata', - /** column name */ - MetadataAnimationUrl = 'metadata_animation_url', - /** column name */ - MetadataContentType = 'metadata_content_type', - /** column name */ - MetadataDescription = 'metadata_description', - /** column name */ - MetadataImage = 'metadata_image', - /** column name */ - MetadataName = 'metadata_name', - /** column name */ - Name = 'name', - /** column name */ - Owner = 'owner', - /** column name */ - Sn = 'sn', - /** column name */ - Transferable = 'transferable', - /** column name */ - TxBlock = 'txBlock', - /** column name */ - TxCaller = 'txCaller', - /** column name */ - TxPending = 'txPending', - /** column name */ - UpdatedAtBlock = 'updatedAtBlock', - /** column name */ - UpdatedAt = 'updated_at', -} - -/** columns and relationships of "nfts_stats" */ -export type Nfts_Stats = { - __typename?: 'nfts_stats' - collection_id?: Maybe - count?: Maybe -} - -/** Boolean expression to filter rows from the table "nfts_stats". All fields are combined with a logical 'AND'. */ -export type Nfts_Stats_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection_id?: InputMaybe - count?: InputMaybe -} - -/** ordering options when selecting data from "nfts_stats" */ -export type Nfts_Stats_Order_By = { - collection_id?: InputMaybe - count?: InputMaybe -} - -/** select columns of table "nfts_stats" */ -export enum Nfts_Stats_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - Count = 'count', -} - -/** aggregate stddev on columns */ -export type Nfts_Stddev_Fields = { - __typename?: 'nfts_stddev_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by stddev() on columns of table "nfts" */ -export type Nfts_Stddev_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Nfts_Stddev_Pop_Fields = { - __typename?: 'nfts_stddev_pop_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by stddev_pop() on columns of table "nfts" */ -export type Nfts_Stddev_Pop_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Nfts_Stddev_Samp_Fields = { - __typename?: 'nfts_stddev_samp_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by stddev_samp() on columns of table "nfts" */ -export type Nfts_Stddev_Samp_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate sum on columns */ -export type Nfts_Sum_Fields = { - __typename?: 'nfts_sum_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by sum() on columns of table "nfts" */ -export type Nfts_Sum_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate var_pop on columns */ -export type Nfts_Var_Pop_Fields = { - __typename?: 'nfts_var_pop_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by var_pop() on columns of table "nfts" */ -export type Nfts_Var_Pop_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Nfts_Var_Samp_Fields = { - __typename?: 'nfts_var_samp_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by var_samp() on columns of table "nfts" */ -export type Nfts_Var_Samp_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** aggregate variance on columns */ -export type Nfts_Variance_Fields = { - __typename?: 'nfts_variance_fields' - block?: Maybe - forsale?: Maybe - transferable?: Maybe - txBlock?: Maybe - updatedAtBlock?: Maybe -} - -/** order by variance() on columns of table "nfts" */ -export type Nfts_Variance_Order_By = { - block?: InputMaybe - forsale?: InputMaybe - transferable?: InputMaybe - txBlock?: InputMaybe - updatedAtBlock?: InputMaybe -} - -/** column ordering options */ -export enum Order_By { - /** in the ascending order, nulls last */ - Asc = 'asc', - /** in the ascending order, nulls first */ - AscNullsFirst = 'asc_nulls_first', - /** in the ascending order, nulls last */ - AscNullsLast = 'asc_nulls_last', - /** in the descending order, nulls first */ - Desc = 'desc', - /** in the descending order, nulls first */ - DescNullsFirst = 'desc_nulls_first', - /** in the descending order, nulls last */ - DescNullsLast = 'desc_nulls_last', -} - -/** query root */ -export type Query_Root = { - __typename?: 'query_root' - /** fetch data from the table: "art_contest_nfts" */ - art_contest_nfts: Array - /** fetch aggregated fields from the table: "art_contest_nfts" */ - art_contest_nfts_aggregate: Art_Contest_Nfts_Aggregate - /** fetch data from the table: "art_contest_nfts" using primary key columns */ - art_contest_nfts_by_pk?: Maybe - /** fetch data from the table: "art_contest_submissions" */ - art_contest_submissions: Array - /** fetch aggregated fields from the table: "art_contest_submissions" */ - art_contest_submissions_aggregate: Art_Contest_Submissions_Aggregate - /** fetch data from the table: "art_contest_submissions" using primary key columns */ - art_contest_submissions_by_pk?: Maybe - /** fetch data from the table: "art_contest_votes" */ - art_contest_votes: Array - /** fetch aggregated fields from the table: "art_contest_votes" */ - art_contest_votes_aggregate: Art_Contest_Votes_Aggregate - /** fetch data from the table: "art_contest_votes" using primary key columns */ - art_contest_votes_by_pk?: Maybe - /** fetch data from the table: "changes" */ - changes: Array - /** fetch aggregated fields from the table: "changes" */ - changes_aggregate: Changes_Aggregate - /** fetch data from the table: "changes" using primary key columns */ - changes_by_pk?: Maybe - /** fetch data from the table: "changes_collection" */ - changes_collection: Array - /** fetch aggregated fields from the table: "changes_collection" */ - changes_collection_aggregate: Changes_Collection_Aggregate - /** fetch data from the table: "changes_collection" using primary key columns */ - changes_collection_by_pk?: Maybe - /** fetch data from the table: "collection_banners" */ - collection_banners: Array - /** fetch data from the table: "collection_banners" using primary key columns */ - collection_banners_by_pk?: Maybe - /** fetch data from the table: "collections" */ - collections: Array - /** fetch aggregated fields from the table: "collections" */ - collections_aggregate: Collections_Aggregate - /** fetch data from the table: "collections" using primary key columns */ - collections_by_pk?: Maybe - /** fetch data from the table: "distinct_nfts" */ - distinct_nfts: Array - /** fetch aggregated fields from the table: "distinct_nfts" */ - distinct_nfts_aggregate: Distinct_Nfts_Aggregate - /** execute function "get_by_unicode" which returns "reactions" */ - get_by_unicode: Array - /** execute function "get_by_unicode" and query aggregates on result of table type "reactions" */ - get_by_unicode_aggregate: Reactions_Aggregate - /** execute function "get_newly_listed" which returns "nfts" */ - get_newly_listed: Array - /** execute function "get_newly_listed" and query aggregates on result of table type "nfts" */ - get_newly_listed_aggregate: Nfts_Aggregate - /** execute function "get_newly_minted" which returns "nfts" */ - get_newly_minted: Array - /** execute function "get_newly_minted" and query aggregates on result of table type "nfts" */ - get_newly_minted_aggregate: Nfts_Aggregate - /** fetch data from the table: "kanaria_houou" */ - kanaria_houou: Array - /** fetch aggregated fields from the table: "kanaria_houou" */ - kanaria_houou_aggregate: Kanaria_Houou_Aggregate - /** fetch data from the table: "kanaria_houou" using primary key columns */ - kanaria_houou_by_pk?: Maybe - /** fetch data from the table: "nfts" */ - nfts: Array - /** fetch aggregated fields from the table: "nfts" */ - nfts_aggregate: Nfts_Aggregate - /** fetch data from the table: "nfts" using primary key columns */ - nfts_by_pk?: Maybe - /** fetch data from the table: "nfts_reactions_stats" */ - nfts_reactions_stats: Array - /** fetch aggregated fields from the table: "nfts_reactions_stats" */ - nfts_reactions_stats_aggregate: Nfts_Reactions_Stats_Aggregate - /** fetch data from the table: "nfts_stats" */ - nfts_stats: Array - /** fetch data from the table: "reactions" */ - reactions: Array - /** fetch aggregated fields from the table: "reactions" */ - reactions_aggregate: Reactions_Aggregate - /** fetch data from the table: "reactions" using primary key columns */ - reactions_by_pk?: Maybe - /** fetch data from the table: "reactions_unicode" */ - reactions_unicode: Array - /** fetch aggregated fields from the table: "reactions_unicode" */ - reactions_unicode_aggregate: Reactions_Unicode_Aggregate - /** fetch data from the table: "reactions_users" */ - reactions_users: Array - /** fetch aggregated fields from the table: "reactions_users" */ - reactions_users_aggregate: Reactions_Users_Aggregate - /** fetch data from the table: "singular_blacklisted_accounts" */ - singular_blacklisted_accounts: Array - /** fetch data from the table: "singular_blacklisted_accounts" using primary key columns */ - singular_blacklisted_accounts_by_pk?: Maybe - /** fetch data from the table: "singular_blacklisted_collections" */ - singular_blacklisted_collections: Array - /** fetch data from the table: "singular_blacklisted_collections" using primary key columns */ - singular_blacklisted_collections_by_pk?: Maybe - /** fetch data from the table: "singular_curated" */ - singular_curated: Array - /** fetch data from the table: "singular_curated" using primary key columns */ - singular_curated_by_pk?: Maybe - /** fetch data from the table: "singular_curated_collections" */ - singular_curated_collections: Array - /** fetch data from the table: "singular_curated_collections" using primary key columns */ - singular_curated_collections_by_pk?: Maybe - /** fetch data from the table: "singular_hidden_collections" */ - singular_hidden_collections: Array - /** fetch data from the table: "singular_hidden_collections" using primary key columns */ - singular_hidden_collections_by_pk?: Maybe - /** fetch data from the table: "singular_hidden_nfts" */ - singular_hidden_nfts: Array - /** fetch data from the table: "singular_hidden_nfts" using primary key columns */ - singular_hidden_nfts_by_pk?: Maybe - /** fetch data from the table: "singular_nsfw_collections" */ - singular_nsfw_collections: Array - /** fetch aggregated fields from the table: "singular_nsfw_collections" */ - singular_nsfw_collections_aggregate: Singular_Nsfw_Collections_Aggregate - /** fetch data from the table: "singular_nsfw_collections" using primary key columns */ - singular_nsfw_collections_by_pk?: Maybe - /** fetch data from the table: "singular_nsfw_nfts" */ - singular_nsfw_nfts: Array - /** fetch aggregated fields from the table: "singular_nsfw_nfts" */ - singular_nsfw_nfts_aggregate: Singular_Nsfw_Nfts_Aggregate - /** fetch data from the table: "singular_nsfw_nfts" using primary key columns */ - singular_nsfw_nfts_by_pk?: Maybe - /** fetch data from the table: "singular_verified_collections" */ - singular_verified_collections: Array - /** fetch data from the table: "singular_verified_collections" using primary key columns */ - singular_verified_collections_by_pk?: Maybe - /** fetch data from the table: "system" */ - system: Array - /** fetch data from the table: "system" using primary key columns */ - system_by_pk?: Maybe -} - -/** query root */ -export type Query_RootArt_Contest_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootArt_Contest_SubmissionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Submissions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Submissions_By_PkArgs = { - id: Scalars['Int'] -} - -/** query root */ -export type Query_RootArt_Contest_VotesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Votes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootArt_Contest_Votes_By_PkArgs = { - caller: Scalars['String'] - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootChanges_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootChanges_By_PkArgs = { - id: Scalars['Int'] -} - -/** query root */ -export type Query_RootChanges_CollectionArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootChanges_Collection_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootChanges_Collection_By_PkArgs = { - id: Scalars['Int'] -} - -/** query root */ -export type Query_RootCollection_BannersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootCollection_Banners_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootCollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootCollections_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootCollections_By_PkArgs = { - id: Scalars['String'] -} - -/** query root */ -export type Query_RootDistinct_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootDistinct_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_By_UnicodeArgs = { - args: Get_By_Unicode_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_By_Unicode_AggregateArgs = { - args: Get_By_Unicode_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_Newly_ListedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_Newly_Listed_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_Newly_MintedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootGet_Newly_Minted_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootKanaria_HououArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootKanaria_Houou_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootKanaria_Houou_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootNftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootNfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootNfts_By_PkArgs = { - id: Scalars['String'] -} - -/** query root */ -export type Query_RootNfts_Reactions_StatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootNfts_Reactions_Stats_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootNfts_StatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactions_By_PkArgs = { - nft_id: Scalars['String'] - owner: Scalars['String'] - unicode: Scalars['String'] -} - -/** query root */ -export type Query_RootReactions_UnicodeArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactions_Unicode_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactions_UsersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootReactions_Users_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Blacklisted_AccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Blacklisted_Accounts_By_PkArgs = { - account: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Blacklisted_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Blacklisted_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_CuratedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Curated_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Curated_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Curated_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Hidden_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Hidden_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Hidden_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Hidden_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Nsfw_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Nsfw_Collections_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Nsfw_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Nsfw_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Nsfw_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Nsfw_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSingular_Verified_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSingular_Verified_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** query root */ -export type Query_RootSystemArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** query root */ -export type Query_RootSystem_By_PkArgs = { - purchaseEnabled: Scalars['Boolean'] -} - -/** columns and relationships of "reactions" */ -export type Reactions = { - __typename?: 'reactions' - created_at: Scalars['timestamptz'] - id: Scalars['Int'] - /** An object relationship */ - nft: Nfts - nft_id: Scalars['String'] - owner: Scalars['String'] - /** An array relationship */ - reactions_unicode: Array - /** An aggregated array relationship */ - reactions_unicode_aggregate: Reactions_Unicode_Aggregate - unicode: Scalars['String'] - /** An array relationship */ - user_reactions: Array - /** An aggregated array relationship */ - user_reactions_aggregate: Reactions_Users_Aggregate -} - -/** columns and relationships of "reactions" */ -export type ReactionsReactions_UnicodeArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "reactions" */ -export type ReactionsReactions_Unicode_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "reactions" */ -export type ReactionsUser_ReactionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "reactions" */ -export type ReactionsUser_Reactions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** aggregated selection of "reactions" */ -export type Reactions_Aggregate = { - __typename?: 'reactions_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "reactions" */ -export type Reactions_Aggregate_Fields = { - __typename?: 'reactions_aggregate_fields' - avg?: Maybe - count?: Maybe - max?: Maybe - min?: Maybe - stddev?: Maybe - stddev_pop?: Maybe - stddev_samp?: Maybe - sum?: Maybe - var_pop?: Maybe - var_samp?: Maybe - variance?: Maybe -} - -/** aggregate fields of "reactions" */ -export type Reactions_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "reactions" */ -export type Reactions_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 -} - -/** aggregate avg on columns */ -export type Reactions_Avg_Fields = { - __typename?: 'reactions_avg_fields' - id?: Maybe -} - -/** order by avg() on columns of table "reactions" */ -export type Reactions_Avg_Order_By = { - id?: InputMaybe -} - -/** Boolean expression to filter rows from the table "reactions". All fields are combined with a logical 'AND'. */ -export type Reactions_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - created_at?: InputMaybe - id?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe - owner?: InputMaybe - reactions_unicode?: InputMaybe - unicode?: InputMaybe - user_reactions?: InputMaybe -} - -/** aggregate max on columns */ -export type Reactions_Max_Fields = { - __typename?: 'reactions_max_fields' - created_at?: Maybe - id?: Maybe - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by max() on columns of table "reactions" */ -export type Reactions_Max_Order_By = { - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** aggregate min on columns */ -export type Reactions_Min_Fields = { - __typename?: 'reactions_min_fields' - created_at?: Maybe - id?: Maybe - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by min() on columns of table "reactions" */ -export type Reactions_Min_Order_By = { - created_at?: InputMaybe - id?: InputMaybe - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** ordering options when selecting data from "reactions" */ -export type Reactions_Order_By = { - created_at?: InputMaybe - id?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe - owner?: InputMaybe - reactions_unicode_aggregate?: InputMaybe - unicode?: InputMaybe - user_reactions_aggregate?: InputMaybe -} - -/** primary key columns input for table: "reactions" */ -export type Reactions_Pk_Columns_Input = { - nft_id: Scalars['String'] - owner: Scalars['String'] - unicode: Scalars['String'] -} - -/** select columns of table "reactions" */ -export enum Reactions_Select_Column { - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Id = 'id', - /** column name */ - NftId = 'nft_id', - /** column name */ - Owner = 'owner', - /** column name */ - Unicode = 'unicode', -} - -/** aggregate stddev on columns */ -export type Reactions_Stddev_Fields = { - __typename?: 'reactions_stddev_fields' - id?: Maybe -} - -/** order by stddev() on columns of table "reactions" */ -export type Reactions_Stddev_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_pop on columns */ -export type Reactions_Stddev_Pop_Fields = { - __typename?: 'reactions_stddev_pop_fields' - id?: Maybe -} - -/** order by stddev_pop() on columns of table "reactions" */ -export type Reactions_Stddev_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate stddev_samp on columns */ -export type Reactions_Stddev_Samp_Fields = { - __typename?: 'reactions_stddev_samp_fields' - id?: Maybe -} - -/** order by stddev_samp() on columns of table "reactions" */ -export type Reactions_Stddev_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate sum on columns */ -export type Reactions_Sum_Fields = { - __typename?: 'reactions_sum_fields' - id?: Maybe -} - -/** order by sum() on columns of table "reactions" */ -export type Reactions_Sum_Order_By = { - id?: InputMaybe -} - -/** columns and relationships of "reactions_unicode" */ -export type Reactions_Unicode = { - __typename?: 'reactions_unicode' - nft_id?: Maybe - owner?: Maybe - /** An object relationship */ - reactions_unicode?: Maybe - unicode?: Maybe -} - -/** aggregated selection of "reactions_unicode" */ -export type Reactions_Unicode_Aggregate = { - __typename?: 'reactions_unicode_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "reactions_unicode" */ -export type Reactions_Unicode_Aggregate_Fields = { - __typename?: 'reactions_unicode_aggregate_fields' - count?: Maybe - max?: Maybe - min?: Maybe -} - -/** aggregate fields of "reactions_unicode" */ -export type Reactions_Unicode_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "reactions_unicode" */ -export type Reactions_Unicode_Aggregate_Order_By = { - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe -} - -/** Boolean expression to filter rows from the table "reactions_unicode". All fields are combined with a logical 'AND'. */ -export type Reactions_Unicode_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - nft_id?: InputMaybe - owner?: InputMaybe - reactions_unicode?: InputMaybe - unicode?: InputMaybe -} - -/** aggregate max on columns */ -export type Reactions_Unicode_Max_Fields = { - __typename?: 'reactions_unicode_max_fields' - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by max() on columns of table "reactions_unicode" */ -export type Reactions_Unicode_Max_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** aggregate min on columns */ -export type Reactions_Unicode_Min_Fields = { - __typename?: 'reactions_unicode_min_fields' - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by min() on columns of table "reactions_unicode" */ -export type Reactions_Unicode_Min_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** ordering options when selecting data from "reactions_unicode" */ -export type Reactions_Unicode_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - reactions_unicode?: InputMaybe - unicode?: InputMaybe -} - -/** select columns of table "reactions_unicode" */ -export enum Reactions_Unicode_Select_Column { - /** column name */ - NftId = 'nft_id', - /** column name */ - Owner = 'owner', - /** column name */ - Unicode = 'unicode', -} - -/** columns and relationships of "reactions_users" */ -export type Reactions_Users = { - __typename?: 'reactions_users' - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe - /** An object relationship */ - user_reactions?: Maybe -} - -/** aggregated selection of "reactions_users" */ -export type Reactions_Users_Aggregate = { - __typename?: 'reactions_users_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "reactions_users" */ -export type Reactions_Users_Aggregate_Fields = { - __typename?: 'reactions_users_aggregate_fields' - count?: Maybe - max?: Maybe - min?: Maybe -} - -/** aggregate fields of "reactions_users" */ -export type Reactions_Users_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "reactions_users" */ -export type Reactions_Users_Aggregate_Order_By = { - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe -} - -/** Boolean expression to filter rows from the table "reactions_users". All fields are combined with a logical 'AND'. */ -export type Reactions_Users_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe - user_reactions?: InputMaybe -} - -/** aggregate max on columns */ -export type Reactions_Users_Max_Fields = { - __typename?: 'reactions_users_max_fields' - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by max() on columns of table "reactions_users" */ -export type Reactions_Users_Max_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** aggregate min on columns */ -export type Reactions_Users_Min_Fields = { - __typename?: 'reactions_users_min_fields' - nft_id?: Maybe - owner?: Maybe - unicode?: Maybe -} - -/** order by min() on columns of table "reactions_users" */ -export type Reactions_Users_Min_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe -} - -/** ordering options when selecting data from "reactions_users" */ -export type Reactions_Users_Order_By = { - nft_id?: InputMaybe - owner?: InputMaybe - unicode?: InputMaybe - user_reactions?: InputMaybe -} - -/** select columns of table "reactions_users" */ -export enum Reactions_Users_Select_Column { - /** column name */ - NftId = 'nft_id', - /** column name */ - Owner = 'owner', - /** column name */ - Unicode = 'unicode', -} - -/** aggregate var_pop on columns */ -export type Reactions_Var_Pop_Fields = { - __typename?: 'reactions_var_pop_fields' - id?: Maybe -} - -/** order by var_pop() on columns of table "reactions" */ -export type Reactions_Var_Pop_Order_By = { - id?: InputMaybe -} - -/** aggregate var_samp on columns */ -export type Reactions_Var_Samp_Fields = { - __typename?: 'reactions_var_samp_fields' - id?: Maybe -} - -/** order by var_samp() on columns of table "reactions" */ -export type Reactions_Var_Samp_Order_By = { - id?: InputMaybe -} - -/** aggregate variance on columns */ -export type Reactions_Variance_Fields = { - __typename?: 'reactions_variance_fields' - id?: Maybe -} - -/** order by variance() on columns of table "reactions" */ -export type Reactions_Variance_Order_By = { - id?: InputMaybe -} - -/** columns and relationships of "singular_blacklisted_accounts" */ -export type Singular_Blacklisted_Accounts = { - __typename?: 'singular_blacklisted_accounts' - account: Scalars['String'] - /** An array relationship */ - accounts: Array - /** An aggregated array relationship */ - accounts_aggregate: Collections_Aggregate - created_at: Scalars['timestamptz'] -} - -/** columns and relationships of "singular_blacklisted_accounts" */ -export type Singular_Blacklisted_AccountsAccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** columns and relationships of "singular_blacklisted_accounts" */ -export type Singular_Blacklisted_AccountsAccounts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** Boolean expression to filter rows from the table "singular_blacklisted_accounts". All fields are combined with a logical 'AND'. */ -export type Singular_Blacklisted_Accounts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - account?: InputMaybe - accounts?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_blacklisted_accounts" */ -export type Singular_Blacklisted_Accounts_Order_By = { - account?: InputMaybe - accounts_aggregate?: InputMaybe - created_at?: InputMaybe -} - -/** primary key columns input for table: "singular_blacklisted_accounts" */ -export type Singular_Blacklisted_Accounts_Pk_Columns_Input = { - account: Scalars['String'] -} - -/** select columns of table "singular_blacklisted_accounts" */ -export enum Singular_Blacklisted_Accounts_Select_Column { - /** column name */ - Account = 'account', - /** column name */ - CreatedAt = 'created_at', -} - -/** columns and relationships of "singular_blacklisted_collections" */ -export type Singular_Blacklisted_Collections = { - __typename?: 'singular_blacklisted_collections' - /** An object relationship */ - collection?: Maybe - collection_id: Scalars['String'] - created_at: Scalars['timestamptz'] -} - -/** Boolean expression to filter rows from the table "singular_blacklisted_collections". All fields are combined with a logical 'AND'. */ -export type Singular_Blacklisted_Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_blacklisted_collections" */ -export type Singular_Blacklisted_Collections_Order_By = { - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** primary key columns input for table: "singular_blacklisted_collections" */ -export type Singular_Blacklisted_Collections_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "singular_blacklisted_collections" */ -export enum Singular_Blacklisted_Collections_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', -} - -/** columns and relationships of "singular_curated" */ -export type Singular_Curated = { - __typename?: 'singular_curated' - created_at: Scalars['timestamptz'] - /** An object relationship */ - nft: Nfts - nft_id: Scalars['String'] -} - -/** Boolean expression to filter rows from the table "singular_curated". All fields are combined with a logical 'AND'. */ -export type Singular_Curated_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe -} - -/** columns and relationships of "singular_curated_collections" */ -export type Singular_Curated_Collections = { - __typename?: 'singular_curated_collections' - collection_id: Scalars['String'] - created_at: Scalars['timestamptz'] -} - -/** Boolean expression to filter rows from the table "singular_curated_collections". All fields are combined with a logical 'AND'. */ -export type Singular_Curated_Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_curated_collections" */ -export type Singular_Curated_Collections_Order_By = { - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** primary key columns input for table: "singular_curated_collections" */ -export type Singular_Curated_Collections_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "singular_curated_collections" */ -export enum Singular_Curated_Collections_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', -} - -/** ordering options when selecting data from "singular_curated" */ -export type Singular_Curated_Order_By = { - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe -} - -/** primary key columns input for table: "singular_curated" */ -export type Singular_Curated_Pk_Columns_Input = { - nft_id: Scalars['String'] -} - -/** select columns of table "singular_curated" */ -export enum Singular_Curated_Select_Column { - /** column name */ - CreatedAt = 'created_at', - /** column name */ - NftId = 'nft_id', -} - -/** columns and relationships of "singular_hidden_collections" */ -export type Singular_Hidden_Collections = { - __typename?: 'singular_hidden_collections' - collection_id: Scalars['String'] - /** An object relationship */ - collections?: Maybe - created_at: Scalars['timestamptz'] -} - -/** Boolean expression to filter rows from the table "singular_hidden_collections". All fields are combined with a logical 'AND'. */ -export type Singular_Hidden_Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection_id?: InputMaybe - collections?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_hidden_collections" */ -export type Singular_Hidden_Collections_Order_By = { - collection_id?: InputMaybe - collections?: InputMaybe - created_at?: InputMaybe -} - -/** primary key columns input for table: "singular_hidden_collections" */ -export type Singular_Hidden_Collections_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "singular_hidden_collections" */ -export enum Singular_Hidden_Collections_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', -} - -/** columns and relationships of "singular_hidden_nfts" */ -export type Singular_Hidden_Nfts = { - __typename?: 'singular_hidden_nfts' - created_at: Scalars['timestamptz'] - nft_id: Scalars['String'] - /** An object relationship */ - nfts?: Maybe -} - -/** Boolean expression to filter rows from the table "singular_hidden_nfts". All fields are combined with a logical 'AND'. */ -export type Singular_Hidden_Nfts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - created_at?: InputMaybe - nft_id?: InputMaybe - nfts?: InputMaybe -} - -/** ordering options when selecting data from "singular_hidden_nfts" */ -export type Singular_Hidden_Nfts_Order_By = { - created_at?: InputMaybe - nft_id?: InputMaybe - nfts?: InputMaybe -} - -/** primary key columns input for table: "singular_hidden_nfts" */ -export type Singular_Hidden_Nfts_Pk_Columns_Input = { - nft_id: Scalars['String'] -} - -/** select columns of table "singular_hidden_nfts" */ -export enum Singular_Hidden_Nfts_Select_Column { - /** column name */ - CreatedAt = 'created_at', - /** column name */ - NftId = 'nft_id', -} - -/** columns and relationships of "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections = { - __typename?: 'singular_nsfw_collections' - /** An object relationship */ - collection?: Maybe - collection_id: Scalars['String'] - created_at: Scalars['timestamptz'] - reason?: Maybe -} - -/** columns and relationships of "singular_nsfw_collections" */ -export type Singular_Nsfw_CollectionsReasonArgs = { - path?: InputMaybe -} - -/** aggregated selection of "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Aggregate = { - __typename?: 'singular_nsfw_collections_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Aggregate_Fields = { - __typename?: 'singular_nsfw_collections_aggregate_fields' - count?: Maybe - max?: Maybe - min?: Maybe -} - -/** aggregate fields of "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Aggregate_Order_By = { - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe -} - -/** Boolean expression to filter rows from the table "singular_nsfw_collections". All fields are combined with a logical 'AND'. */ -export type Singular_Nsfw_Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe - reason?: InputMaybe -} - -/** aggregate max on columns */ -export type Singular_Nsfw_Collections_Max_Fields = { - __typename?: 'singular_nsfw_collections_max_fields' - collection_id?: Maybe - created_at?: Maybe -} - -/** order by max() on columns of table "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Max_Order_By = { - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** aggregate min on columns */ -export type Singular_Nsfw_Collections_Min_Fields = { - __typename?: 'singular_nsfw_collections_min_fields' - collection_id?: Maybe - created_at?: Maybe -} - -/** order by min() on columns of table "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Min_Order_By = { - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Order_By = { - collection?: InputMaybe - collection_id?: InputMaybe - created_at?: InputMaybe - reason?: InputMaybe -} - -/** primary key columns input for table: "singular_nsfw_collections" */ -export type Singular_Nsfw_Collections_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "singular_nsfw_collections" */ -export enum Singular_Nsfw_Collections_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', - /** column name */ - Reason = 'reason', -} - -/** columns and relationships of "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts = { - __typename?: 'singular_nsfw_nfts' - created_at: Scalars['timestamptz'] - /** An object relationship */ - nft: Nfts - nft_id: Scalars['String'] - reason?: Maybe -} - -/** columns and relationships of "singular_nsfw_nfts" */ -export type Singular_Nsfw_NftsReasonArgs = { - path?: InputMaybe -} - -/** aggregated selection of "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Aggregate = { - __typename?: 'singular_nsfw_nfts_aggregate' - aggregate?: Maybe - nodes: Array -} - -/** aggregate fields of "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Aggregate_Fields = { - __typename?: 'singular_nsfw_nfts_aggregate_fields' - count?: Maybe - max?: Maybe - min?: Maybe -} - -/** aggregate fields of "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Aggregate_FieldsCountArgs = { - columns?: InputMaybe> - distinct?: InputMaybe -} - -/** order by aggregate values of table "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Aggregate_Order_By = { - count?: InputMaybe - max?: InputMaybe - min?: InputMaybe -} - -/** Boolean expression to filter rows from the table "singular_nsfw_nfts". All fields are combined with a logical 'AND'. */ -export type Singular_Nsfw_Nfts_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe - reason?: InputMaybe -} - -/** aggregate max on columns */ -export type Singular_Nsfw_Nfts_Max_Fields = { - __typename?: 'singular_nsfw_nfts_max_fields' - created_at?: Maybe - nft_id?: Maybe -} - -/** order by max() on columns of table "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Max_Order_By = { - created_at?: InputMaybe - nft_id?: InputMaybe -} - -/** aggregate min on columns */ -export type Singular_Nsfw_Nfts_Min_Fields = { - __typename?: 'singular_nsfw_nfts_min_fields' - created_at?: Maybe - nft_id?: Maybe -} - -/** order by min() on columns of table "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Min_Order_By = { - created_at?: InputMaybe - nft_id?: InputMaybe -} - -/** ordering options when selecting data from "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Order_By = { - created_at?: InputMaybe - nft?: InputMaybe - nft_id?: InputMaybe - reason?: InputMaybe -} - -/** primary key columns input for table: "singular_nsfw_nfts" */ -export type Singular_Nsfw_Nfts_Pk_Columns_Input = { - nft_id: Scalars['String'] -} - -/** select columns of table "singular_nsfw_nfts" */ -export enum Singular_Nsfw_Nfts_Select_Column { - /** column name */ - CreatedAt = 'created_at', - /** column name */ - NftId = 'nft_id', - /** column name */ - Reason = 'reason', -} - -/** columns and relationships of "singular_verified_collections" */ -export type Singular_Verified_Collections = { - __typename?: 'singular_verified_collections' - collection_id: Scalars['String'] - created_at?: Maybe -} - -/** Boolean expression to filter rows from the table "singular_verified_collections". All fields are combined with a logical 'AND'. */ -export type Singular_Verified_Collections_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** ordering options when selecting data from "singular_verified_collections" */ -export type Singular_Verified_Collections_Order_By = { - collection_id?: InputMaybe - created_at?: InputMaybe -} - -/** primary key columns input for table: "singular_verified_collections" */ -export type Singular_Verified_Collections_Pk_Columns_Input = { - collection_id: Scalars['String'] -} - -/** select columns of table "singular_verified_collections" */ -export enum Singular_Verified_Collections_Select_Column { - /** column name */ - CollectionId = 'collection_id', - /** column name */ - CreatedAt = 'created_at', -} - -/** subscription root */ -export type Subscription_Root = { - __typename?: 'subscription_root' - /** fetch data from the table: "art_contest_nfts" */ - art_contest_nfts: Array - /** fetch aggregated fields from the table: "art_contest_nfts" */ - art_contest_nfts_aggregate: Art_Contest_Nfts_Aggregate - /** fetch data from the table: "art_contest_nfts" using primary key columns */ - art_contest_nfts_by_pk?: Maybe - /** fetch data from the table: "art_contest_submissions" */ - art_contest_submissions: Array - /** fetch aggregated fields from the table: "art_contest_submissions" */ - art_contest_submissions_aggregate: Art_Contest_Submissions_Aggregate - /** fetch data from the table: "art_contest_submissions" using primary key columns */ - art_contest_submissions_by_pk?: Maybe - /** fetch data from the table: "art_contest_votes" */ - art_contest_votes: Array - /** fetch aggregated fields from the table: "art_contest_votes" */ - art_contest_votes_aggregate: Art_Contest_Votes_Aggregate - /** fetch data from the table: "art_contest_votes" using primary key columns */ - art_contest_votes_by_pk?: Maybe - /** fetch data from the table: "changes" */ - changes: Array - /** fetch aggregated fields from the table: "changes" */ - changes_aggregate: Changes_Aggregate - /** fetch data from the table: "changes" using primary key columns */ - changes_by_pk?: Maybe - /** fetch data from the table: "changes_collection" */ - changes_collection: Array - /** fetch aggregated fields from the table: "changes_collection" */ - changes_collection_aggregate: Changes_Collection_Aggregate - /** fetch data from the table: "changes_collection" using primary key columns */ - changes_collection_by_pk?: Maybe - /** fetch data from the table: "collection_banners" */ - collection_banners: Array - /** fetch data from the table: "collection_banners" using primary key columns */ - collection_banners_by_pk?: Maybe - /** fetch data from the table: "collections" */ - collections: Array - /** fetch aggregated fields from the table: "collections" */ - collections_aggregate: Collections_Aggregate - /** fetch data from the table: "collections" using primary key columns */ - collections_by_pk?: Maybe - /** fetch data from the table: "distinct_nfts" */ - distinct_nfts: Array - /** fetch aggregated fields from the table: "distinct_nfts" */ - distinct_nfts_aggregate: Distinct_Nfts_Aggregate - /** execute function "get_by_unicode" which returns "reactions" */ - get_by_unicode: Array - /** execute function "get_by_unicode" and query aggregates on result of table type "reactions" */ - get_by_unicode_aggregate: Reactions_Aggregate - /** execute function "get_newly_listed" which returns "nfts" */ - get_newly_listed: Array - /** execute function "get_newly_listed" and query aggregates on result of table type "nfts" */ - get_newly_listed_aggregate: Nfts_Aggregate - /** execute function "get_newly_minted" which returns "nfts" */ - get_newly_minted: Array - /** execute function "get_newly_minted" and query aggregates on result of table type "nfts" */ - get_newly_minted_aggregate: Nfts_Aggregate - /** fetch data from the table: "kanaria_houou" */ - kanaria_houou: Array - /** fetch aggregated fields from the table: "kanaria_houou" */ - kanaria_houou_aggregate: Kanaria_Houou_Aggregate - /** fetch data from the table: "kanaria_houou" using primary key columns */ - kanaria_houou_by_pk?: Maybe - /** fetch data from the table: "nfts" */ - nfts: Array - /** fetch aggregated fields from the table: "nfts" */ - nfts_aggregate: Nfts_Aggregate - /** fetch data from the table: "nfts" using primary key columns */ - nfts_by_pk?: Maybe - /** fetch data from the table: "nfts_reactions_stats" */ - nfts_reactions_stats: Array - /** fetch aggregated fields from the table: "nfts_reactions_stats" */ - nfts_reactions_stats_aggregate: Nfts_Reactions_Stats_Aggregate - /** fetch data from the table: "nfts_stats" */ - nfts_stats: Array - /** fetch data from the table: "reactions" */ - reactions: Array - /** fetch aggregated fields from the table: "reactions" */ - reactions_aggregate: Reactions_Aggregate - /** fetch data from the table: "reactions" using primary key columns */ - reactions_by_pk?: Maybe - /** fetch data from the table: "reactions_unicode" */ - reactions_unicode: Array - /** fetch aggregated fields from the table: "reactions_unicode" */ - reactions_unicode_aggregate: Reactions_Unicode_Aggregate - /** fetch data from the table: "reactions_users" */ - reactions_users: Array - /** fetch aggregated fields from the table: "reactions_users" */ - reactions_users_aggregate: Reactions_Users_Aggregate - /** fetch data from the table: "singular_blacklisted_accounts" */ - singular_blacklisted_accounts: Array - /** fetch data from the table: "singular_blacklisted_accounts" using primary key columns */ - singular_blacklisted_accounts_by_pk?: Maybe - /** fetch data from the table: "singular_blacklisted_collections" */ - singular_blacklisted_collections: Array - /** fetch data from the table: "singular_blacklisted_collections" using primary key columns */ - singular_blacklisted_collections_by_pk?: Maybe - /** fetch data from the table: "singular_curated" */ - singular_curated: Array - /** fetch data from the table: "singular_curated" using primary key columns */ - singular_curated_by_pk?: Maybe - /** fetch data from the table: "singular_curated_collections" */ - singular_curated_collections: Array - /** fetch data from the table: "singular_curated_collections" using primary key columns */ - singular_curated_collections_by_pk?: Maybe - /** fetch data from the table: "singular_hidden_collections" */ - singular_hidden_collections: Array - /** fetch data from the table: "singular_hidden_collections" using primary key columns */ - singular_hidden_collections_by_pk?: Maybe - /** fetch data from the table: "singular_hidden_nfts" */ - singular_hidden_nfts: Array - /** fetch data from the table: "singular_hidden_nfts" using primary key columns */ - singular_hidden_nfts_by_pk?: Maybe - /** fetch data from the table: "singular_nsfw_collections" */ - singular_nsfw_collections: Array - /** fetch aggregated fields from the table: "singular_nsfw_collections" */ - singular_nsfw_collections_aggregate: Singular_Nsfw_Collections_Aggregate - /** fetch data from the table: "singular_nsfw_collections" using primary key columns */ - singular_nsfw_collections_by_pk?: Maybe - /** fetch data from the table: "singular_nsfw_nfts" */ - singular_nsfw_nfts: Array - /** fetch aggregated fields from the table: "singular_nsfw_nfts" */ - singular_nsfw_nfts_aggregate: Singular_Nsfw_Nfts_Aggregate - /** fetch data from the table: "singular_nsfw_nfts" using primary key columns */ - singular_nsfw_nfts_by_pk?: Maybe - /** fetch data from the table: "singular_verified_collections" */ - singular_verified_collections: Array - /** fetch data from the table: "singular_verified_collections" using primary key columns */ - singular_verified_collections_by_pk?: Maybe - /** fetch data from the table: "system" */ - system: Array - /** fetch data from the table: "system" using primary key columns */ - system_by_pk?: Maybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootArt_Contest_SubmissionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Submissions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Submissions_By_PkArgs = { - id: Scalars['Int'] -} - -/** subscription root */ -export type Subscription_RootArt_Contest_VotesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Votes_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootArt_Contest_Votes_By_PkArgs = { - caller: Scalars['String'] - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootChangesArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootChanges_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootChanges_By_PkArgs = { - id: Scalars['Int'] -} - -/** subscription root */ -export type Subscription_RootChanges_CollectionArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootChanges_Collection_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootChanges_Collection_By_PkArgs = { - id: Scalars['Int'] -} - -/** subscription root */ -export type Subscription_RootCollection_BannersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootCollection_Banners_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootCollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootCollections_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootCollections_By_PkArgs = { - id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootDistinct_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootDistinct_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_By_UnicodeArgs = { - args: Get_By_Unicode_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_By_Unicode_AggregateArgs = { - args: Get_By_Unicode_Args - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_Newly_ListedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_Newly_Listed_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_Newly_MintedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootGet_Newly_Minted_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootKanaria_HououArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootKanaria_Houou_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootKanaria_Houou_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootNftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootNfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootNfts_By_PkArgs = { - id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootNfts_Reactions_StatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootNfts_Reactions_Stats_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootNfts_StatsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactions_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactions_By_PkArgs = { - nft_id: Scalars['String'] - owner: Scalars['String'] - unicode: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootReactions_UnicodeArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactions_Unicode_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactions_UsersArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootReactions_Users_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Blacklisted_AccountsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Blacklisted_Accounts_By_PkArgs = { - account: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Blacklisted_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Blacklisted_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_CuratedArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Curated_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Curated_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Curated_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Hidden_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Hidden_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Hidden_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Hidden_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_Collections_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_NftsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_Nfts_AggregateArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Nsfw_Nfts_By_PkArgs = { - nft_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSingular_Verified_CollectionsArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSingular_Verified_Collections_By_PkArgs = { - collection_id: Scalars['String'] -} - -/** subscription root */ -export type Subscription_RootSystemArgs = { - distinct_on?: InputMaybe> - limit?: InputMaybe - offset?: InputMaybe - order_by?: InputMaybe> - where?: InputMaybe -} - -/** subscription root */ -export type Subscription_RootSystem_By_PkArgs = { - purchaseEnabled: Scalars['Boolean'] -} - -/** columns and relationships of "system" */ -export type System = { - __typename?: 'system' - purchaseEnabled: Scalars['Boolean'] -} - -/** Boolean expression to filter rows from the table "system". All fields are combined with a logical 'AND'. */ -export type System_Bool_Exp = { - _and?: InputMaybe>> - _not?: InputMaybe - _or?: InputMaybe>> - purchaseEnabled?: InputMaybe -} - -/** unique or primary key constraints on table "system" */ -export enum System_Constraint { - /** unique or primary key constraint */ - SystemPkey = 'system_pkey', -} - -/** response of any mutation on the table "system" */ -export type System_Mutation_Response = { - __typename?: 'system_mutation_response' - /** number of affected rows by the mutation */ - affected_rows: Scalars['Int'] - /** data of the affected rows by the mutation */ - returning: Array -} - -/** on conflict condition type for table "system" */ -export type System_On_Conflict = { - constraint: System_Constraint - update_columns: Array - where?: InputMaybe -} - -/** ordering options when selecting data from "system" */ -export type System_Order_By = { - purchaseEnabled?: InputMaybe -} - -/** primary key columns input for table: "system" */ -export type System_Pk_Columns_Input = { - purchaseEnabled: Scalars['Boolean'] -} - -/** select columns of table "system" */ -export enum System_Select_Column { - /** column name */ - PurchaseEnabled = 'purchaseEnabled', -} - -/** input type for updating data in table "system" */ -export type System_Set_Input = { - purchaseEnabled?: InputMaybe -} - -/** update columns of table "system" */ -export enum System_Update_Column { - /** column name */ - PurchaseEnabled = 'purchaseEnabled', -} - -/** 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 NftsQueryVariables = Exact<{ - addresses?: InputMaybe | Scalars['String']> - limit?: InputMaybe - offset?: InputMaybe -}> - -export type NftsQuery = { - __typename?: 'query_root' - nfts: Array<{ - __typename?: 'nfts' - id: string - metadata_name?: string | null - metadata_description?: string | null - metadata_animation_url?: string | null - metadata_image?: string | null - sn: string - collection: { __typename?: 'collections'; id: string; name: string; max: number } - }> -} - -export const NftsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'nfts' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, - type: { - kind: 'ListType', - type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'nfts' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'offset' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'where' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'owner' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_in' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'addresses' } }, - }, - ], - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'burned' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: '_eq' }, - value: { kind: 'StringValue', value: '', block: false }, - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata_name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata_description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata_animation_url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata_image' } }, - { kind: 'Field', name: { kind: 'Name', value: 'sn' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'collection' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'max' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode diff --git a/packages/nft/graphql.config.cjs b/packages/nft/graphql.config.cjs index 463b895e6..a5d7faa20 100644 --- a/packages/nft/graphql.config.cjs +++ b/packages/nft/graphql.config.cjs @@ -34,5 +34,11 @@ module.exports = { documents: 'src/generators/unique.ts', extensions: extensions('generated/gql/unique/'), }, + onfinality: { + overwrite: true, + schema: 'https://nft-beta.api.onfinality.io/public', + documents: 'src/generators/onfinality.ts', + extensions: extensions('generated/gql/onfinality/'), + }, }, } diff --git a/packages/nft/package.json b/packages/nft/package.json index 29a8c69ad..779eb3c12 100644 --- a/packages/nft/package.json +++ b/packages/nft/package.json @@ -3,7 +3,7 @@ "type": "module", "exports": "./build/src/index.js", "scripts": { - "codegen": "yarn graphql-codegen --config graphql.config.cjs --project statemine && yarn graphql-codegen --config graphql.config.cjs --project rmrk2 && yarn graphql-codegen --config graphql.config.cjs --project unique", + "codegen": "sh scripts/codegen.sh", "dev": "tsc --build --watch", "build": "rm -rf build && yarn tsc --build", "check-types": "yarn tsc --build" diff --git a/packages/nft/scripts/codegen.sh b/packages/nft/scripts/codegen.sh new file mode 100644 index 000000000..3bc4edfc5 --- /dev/null +++ b/packages/nft/scripts/codegen.sh @@ -0,0 +1,8 @@ +rm -rf generated + +yarn graphql-codegen --config graphql.config.cjs --project statemine & +yarn graphql-codegen --config graphql.config.cjs --project rmrk2 & +yarn graphql-codegen --config graphql.config.cjs --project unique & +yarn graphql-codegen --config graphql.config.cjs --project onfinality & + +wait diff --git a/packages/nft/src/generators/evm/README.md b/packages/nft/src/generators/evm/README.md new file mode 100644 index 000000000..a24cdda9e --- /dev/null +++ b/packages/nft/src/generators/evm/README.md @@ -0,0 +1,3 @@ +# NOTE + +Keep this for custom NFT collections support diff --git a/packages/nft/src/generators/index.ts b/packages/nft/src/generators/index.ts index 580ca3a89..806aa0dc5 100644 --- a/packages/nft/src/generators/index.ts +++ b/packages/nft/src/generators/index.ts @@ -1,4 +1,5 @@ export { createEvmNftAsyncGenerator } from './evm/index.js' +export { createOnfinalityNftGenerator } from './onfinality.js' export { createAcalaNftAsyncGenerator, createBitCountryNftAsyncGenerator } from './orml/index.js' export { createRmrk2NftAsyncGenerator } from './rmrk2.js' export { createStatemineNftAsyncGenerator } from './statemine.js' diff --git a/packages/nft/src/generators/onfinality.ts b/packages/nft/src/generators/onfinality.ts new file mode 100644 index 000000000..0f624576b --- /dev/null +++ b/packages/nft/src/generators/onfinality.ts @@ -0,0 +1,121 @@ +import request from 'graphql-request' +import { graphql } from '../../generated/gql/onfinality/index.js' +import type { CreateNftAsyncGenerator, Nft } from '../types.js' + +export const createOnfinalityNftGenerator: (options?: { + chaindataUrl: string +}) => CreateNftAsyncGenerator> = options => + async function* (address, { batchSize }) { + let after: string + while (true) { + const response = await request( + 'https://nft-beta.api.onfinality.io/public', + graphql(` + query nfts($address: String!, $after: Cursor, $first: Int) { + nfts(after: $after, first: $first, filter: { currentOwner: { equalTo: $address } }) { + edges { + node { + id + tokenId + collection { + id + name + contractType + contractAddress + networkId + totalSupply + } + metadata { + name + description + imageUri + } + } + } + pageInfo { + hasNextPage + endCursor + } + } + } + `), + { + address: address.toLowerCase(), + // @ts-expect-error + after, + first: batchSize, + } + ) + + const chainEtherscan = new Map() + const getNftChainInfo = async (chainId: string, contractAddress: string, tokenId: string) => { + chainEtherscan.set( + chainId, + chainEtherscan.get(chainId) ?? + (await fetch( + new URL( + `./evmNetworks/byId/${chainId}.json`, + options?.chaindataUrl ?? 'https://raw.githubusercontent.com/TalismanSociety/chaindata/main/dist/' + ) + ) + .then(x => x.json()) + .catch()) + ) + + if (!chainEtherscan.has(chainId)) { + return + } + + return { + name: chainEtherscan.get(chainId)?.name ?? '', + etherscanUrl: new URL( + `./nft/${contractAddress}/${tokenId}`, + chainEtherscan.get(chainId)?.explorerUrl + ).toString(), + } + } + + yield* await Promise.all( + response.nfts?.edges + .map(x => x.node) + .filter( + ( + x + ): x is Omit, 'collection'> & { + collection: NonNullable['collection']> + } => x !== null && x !== undefined && x.collection !== null && x.collection !== undefined + ) + .map(async nft => { + const nftChainInfo = await getNftChainInfo( + nft.collection.networkId, + nft.collection.contractAddress, + nft.tokenId + ) + return { + id: `${nft.collection.contractType}-${nft.collection.networkId}-${nft.collection.contractAddress}-${nft.tokenId}`.toLowerCase(), + type: nft.collection.contractType.toLowerCase() ?? '', + chain: nftChainInfo?.name, + name: nft.metadata?.name ?? undefined, + description: nft.metadata?.description ?? undefined, + media: { url: nft.metadata?.imageUri ?? undefined }, + thumbnail: nft.metadata?.imageUri ?? undefined, + serialNumber: Number(nft.tokenId), + properties: undefined, + externalLinks: + nftChainInfo === undefined ? undefined : [{ name: 'Etherscan', url: nftChainInfo.etherscanUrl }], + collection: { + id: nft.collection.contractAddress, + name: nft.collection.name, + totalSupply: Number(nft.collection.totalSupply), + }, + } as Nft<'erc721' | 'erc1155', string> + }) ?? [] + ) + + if (!response.nfts?.pageInfo.hasNextPage) { + break + } + + after = response.nfts.pageInfo.endCursor + } + }