diff --git a/.env.test b/.env.test index 1277117c..97e6f6b3 100644 --- a/.env.test +++ b/.env.test @@ -2,5 +2,4 @@ NEXT_PUBLIC_ENVIRONMENT=test NEXT_PUBLIC_WC_PROJECT_ID= NEXT_PUBLIC_ALCHEMY_API_KEY="mock-alchemy-key" NEXT_PUBLIC_DRPC_API_PKEY="mock-drpc-key" -NEXT_PUBLIC_INFURA_API_KEY="mock-infura-key" NEXT_PUBLIC_FILECOIN_API_KEY="mock-filecoin-key" diff --git a/app/collections/[collectionId]/page.tsx b/app/collections/[collectionId]/page.tsx index 6367f3e4..a4d6f22a 100644 --- a/app/collections/[collectionId]/page.tsx +++ b/app/collections/[collectionId]/page.tsx @@ -17,7 +17,7 @@ const CollectionPageInner = async ({

{data.name}

- {data.sections.data[0].collection.description} + {data.sections?.data?.[0]?.collections?.[0].description}

diff --git a/app/collections/edit/[collectionId]/page.tsx b/app/collections/edit/[collectionId]/page.tsx index 04c4f5df..18ec877a 100644 --- a/app/collections/edit/[collectionId]/page.tsx +++ b/app/collections/edit/[collectionId]/page.tsx @@ -17,13 +17,13 @@ const EditCollectionPage = async ({ const prefilledValues: CollectionCreateFormValues = { id: collectionId, - collectionId: data.sections.data[0].collection.id, + collectionId: data.sections?.data?.[0]?.collections?.[0]?.id || "", title: data.name, - description: data.sections.data[0].collection.description, + description: data.sections?.data?.[0]?.collections?.[0]?.description || "", borderColor: data.tile_border_color || "#000000", backgroundImg: data.background_image || "", entries: - data.sections.data[0].entries?.map((hc) => ({ + data.sections?.data?.[0]?.entries?.map((hc) => ({ entryId: hc.id, factor: hc.display_size, })) || [], diff --git a/app/profile/[address]/collections-tab-content-inner.tsx b/app/profile/[address]/collections-tab-content-inner.tsx index cfaa1121..d1450cd9 100644 --- a/app/profile/[address]/collections-tab-content-inner.tsx +++ b/app/profile/[address]/collections-tab-content-inner.tsx @@ -36,17 +36,23 @@ export const HyperboardsOverview = ({
)}
- {hyperboards.map((hyperboard) => ( - - ))} + {hyperboards.map((hyperboard) => { + if (!hyperboard.id) { + return null; + } + return ( + + ); + })}
); diff --git a/attestations/getAttestations.tsx b/attestations/getAttestations.tsx index 32a9334f..95657baf 100644 --- a/attestations/getAttestations.tsx +++ b/attestations/getAttestations.tsx @@ -43,20 +43,26 @@ export async function getAttestations({ }: GetAttestationsParams) { const where: Record = {}; - if (filter?.chainId) { - where.chain_id = { eq: filter.chainId.toString() }; - } + // where: {hypercert: {token_id: {eq: 292983117918928017041965536998752430063616}}, eas_schema: {uid: {eq: "0x2f4f575d5df78ac52e8b124c4c900ec4c540f1d44f5b8825fac0af5308c91449"}, chain_id: {eq: 11155111}}} if (filter?.contractAddress) { where.contract_address = { eq: filter.contractAddress }; } + if (filter?.tokenId) { - where.token_id = { eq: filter.tokenId.toString() }; + where.hypercert = { token_id: { eq: filter.tokenId } }; } if (filter?.schemaId) { where.eas_schema = { uid: { eq: filter.schemaId } }; } + if (filter?.chainId) { + where.eas_schema = { + ...(where.eas_schema || {}), + chain_id: { eq: Number(filter.chainId) }, + }; + } + const res = await request(HYPERCERTS_API_URL_GRAPH, query, { first, offset, diff --git a/attestations/getCreatorFeedAttestation.tsx b/attestations/getCreatorFeedAttestation.tsx index eb1d9c9e..e9731149 100644 --- a/attestations/getCreatorFeedAttestation.tsx +++ b/attestations/getCreatorFeedAttestation.tsx @@ -9,7 +9,7 @@ const query = graphql( query AttestationsQuery($where: AttestationWhereInput) { attestations( where: $where - sort: { by: { creation_block_timestamp: descending } } + sortBy: { creation_block_timestamp: descending } ) { count data { @@ -38,20 +38,25 @@ export async function getCreatorFeedAttestations({ }: GetAttestationsParams) { const where: Record = {}; - if (filter?.chainId) { - where.chain_id = { eq: filter.chainId.toString() }; - } if (filter?.contractAddress) { where.contract_address = { eq: filter.contractAddress }; } + if (filter?.tokenId) { - where.token_id = { eq: filter.tokenId.toString() }; + where.hypercert = { token_id: { eq: filter.tokenId } }; } if (filter?.schemaId) { where.eas_schema = { uid: { eq: filter.schemaId } }; } + if (filter?.chainId) { + where.eas_schema = { + ...(where.eas_schema || {}), + chain_id: { eq: Number(filter.chainId) }, + }; + } + const res = await request(HYPERCERTS_API_URL_GRAPH, query, { first, offset, diff --git a/collections/getCollectionById.ts b/collections/getCollectionById.ts index 56e2d93f..5ac2418e 100644 --- a/collections/getCollectionById.ts +++ b/collections/getCollectionById.ts @@ -8,7 +8,7 @@ import { HYPERCERTS_API_URL_GRAPH } from "@/configs/hypercerts"; const query = graphql( ` - query Hyperboard($id: UUID!) { + query Hyperboard($id: String!) { hyperboards(where: { id: { eq: $id } }) { data { ...HyperboardFragment diff --git a/collections/getCollectionsByAdminAddress.ts b/collections/getCollectionsByAdminAddress.ts index 06e56bc4..753d1d71 100644 --- a/collections/getCollectionsByAdminAddress.ts +++ b/collections/getCollectionsByAdminAddress.ts @@ -11,7 +11,7 @@ const query = graphql( ` query Collection($admin_address: String!, $first: Int, $offset: Int) { hyperboards( - where: { admin_id: { eq: $admin_address } } + where: { admin_address: { eq: $admin_address } } first: $first offset: $offset ) { diff --git a/collections/hyperboard.fragment.ts b/collections/hyperboard.fragment.ts index e1db0060..15927e7b 100644 --- a/collections/hyperboard.fragment.ts +++ b/collections/hyperboard.fragment.ts @@ -4,8 +4,10 @@ export const HyperboardFragment = graphql(` fragment HyperboardFragment on Hyperboard { id admins { - address - chain_id + data { + address + chain_id + } } name background_image @@ -15,7 +17,7 @@ export const HyperboardFragment = graphql(` count data { label - collection { + collections { name admins { address @@ -32,18 +34,22 @@ export const HyperboardFragment = graphql(` name total_units owners { - percentage - address - units - avatar - display_name + data { + percentage + address + units + avatar + display_name + } } } owners { - percentage_owned - address - display_name - avatar + data { + percentage_owned + address + display_name + avatar + } } } } diff --git a/components/hypercert/creator.tsx b/components/hypercert/creator.tsx index 11a3cbec..8376855c 100644 --- a/components/hypercert/creator.tsx +++ b/components/hypercert/creator.tsx @@ -14,7 +14,7 @@ export default function Creator({ hypercert }: { hypercert: HypercertState }) { {hypercert.creator_address && (
by - +
)} {hypercert.contract?.chain_id && ( diff --git a/components/marketplace/user-listings-list.tsx b/components/marketplace/user-listings-list.tsx index d6ee663c..654f835d 100644 --- a/components/marketplace/user-listings-list.tsx +++ b/components/marketplace/user-listings-list.tsx @@ -253,7 +253,7 @@ export default function UserListingsList({ const cancelDisabled = Number(order.chainId) !== chainId; const isCancelled = order.validator_codes?.includes( - OrderValidatorCode.USER_ORDER_NONCE_EXECUTED_OR_CANCELLED.toString(), + OrderValidatorCode.USER_ORDER_NONCE_EXECUTED_OR_CANCELLED, ); if (!isCancelled) { @@ -300,6 +300,9 @@ export default function UserListingsList({ className="ml-2" onClick={async (e) => { e.preventDefault(); + if (!order.id) { + return; + } await deleteOrder({ orderId: order.id, hypercertId: order.hypercert_id, diff --git a/configs/constants.ts b/configs/constants.ts index dea97786..072597d5 100644 --- a/configs/constants.ts +++ b/configs/constants.ts @@ -67,5 +67,4 @@ export const hypercertApiSigningDomainSafe = ( export const alchemyApiKey = process.env.NEXT_PUBLIC_ALCHEMY_API_KEY; export const drpcApiPkey = process.env.NEXT_PUBLIC_DRPC_API_PKEY; -export const infuraApiKey = process.env.NEXT_PUBLIC_INFURA_API_KEY; export const filecoinApiKey = process.env.NEXT_PUBLIC_FILECOIN_API_KEY; diff --git a/configs/hypercerts.ts b/configs/hypercerts.ts index a5947905..7ad03aa1 100644 --- a/configs/hypercerts.ts +++ b/configs/hypercerts.ts @@ -5,8 +5,8 @@ import { ENVIRONMENT } from "@/configs/constants"; const HYPERCERT_API_URL = CONSTANTS.ENDPOINTS[ENVIRONMENT as keyof typeof CONSTANTS.ENDPOINTS]; -export const HYPERCERTS_API_URL_REST = `${HYPERCERT_API_URL}/v1`; -export const HYPERCERTS_API_URL_GRAPH = `${HYPERCERT_API_URL}/v1/graphql`; +export const HYPERCERTS_API_URL_REST = `${HYPERCERT_API_URL}/v2`; +export const HYPERCERTS_API_URL_GRAPH = `${HYPERCERT_API_URL}/v2/graphql`; export const DEFAULT_NUM_UNITS_DECIMALS = 8; export const DEFAULT_NUM_UNITS = parseUnits("1", DEFAULT_NUM_UNITS_DECIMALS); diff --git a/graphql-hypercerts-env.d.ts b/graphql-hypercerts-env.d.ts index ad637ed2..428fca66 100644 --- a/graphql-hypercerts-env.d.ts +++ b/graphql-hypercerts-env.d.ts @@ -2,108 +2,111 @@ /* prettier-ignore */ export type introspection_types = { - 'AllowlistRecord': { kind: 'OBJECT'; name: 'AllowlistRecord'; fields: { 'claimed': { name: 'claimed'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'entry': { name: 'entry'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'leaf': { name: 'leaf'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'proof': { name: 'proof'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'root': { name: 'root'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'user_address': { name: 'user_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'AllowlistRecordFetchInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'AllowlistRecordSortOptions': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordSortOptions'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'AllowlistRecordWhereInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordWhereInput'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Attestation': { kind: 'OBJECT'; name: 'Attestation'; fields: { 'attester': { name: 'attester'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'eas_schema': { name: 'eas_schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AttestationSchemaBaseType'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'recipient': { name: 'recipient'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'resolver': { name: 'resolver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'schema_uid': { name: 'schema_uid'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'uid': { name: 'uid'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; }; }; - 'AttestationBaseType': { kind: 'OBJECT'; name: 'AttestationBaseType'; fields: { 'attester': { name: 'attester'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'recipient': { name: 'recipient'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'resolver': { name: 'resolver'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'schema_uid': { name: 'schema_uid'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'uid': { name: 'uid'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; }; }; - 'AttestationFetchInput': { kind: 'INPUT_OBJECT'; name: 'AttestationFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'AttestationSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'AttestationSchema': { kind: 'OBJECT'; name: 'AttestationSchema'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'records': { name: 'records'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AttestationBaseType'; ofType: null; }; }; }; } }; 'resolver': { name: 'resolver'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'revocable': { name: 'revocable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'schema': { name: 'schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'uid': { name: 'uid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; }; - 'AttestationSchemaBaseType': { kind: 'OBJECT'; name: 'AttestationSchemaBaseType'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'resolver': { name: 'resolver'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'revocable': { name: 'revocable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'schema': { name: 'schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'uid': { name: 'uid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; }; - 'AttestationSortOptions': { kind: 'INPUT_OBJECT'; name: 'AttestationSortOptions'; isOneOf: false; inputFields: [{ name: 'attestation_uid'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'attester_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'recipient_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'AttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }, { name: 'eas_schema'; type: { kind: 'INPUT_OBJECT'; name: 'BasicAttestationSchemaWhereInput'; ofType: null; }; defaultValue: null }]; }; - 'BasicAttestationSchemaWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicAttestationSchemaWhereInput'; isOneOf: false; inputFields: [{ name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'schema'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'revocable'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicAttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestation'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicFractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicHypercertWhereArgs': { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'BasicMetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AllowlistRecord': { kind: 'OBJECT'; name: 'AllowlistRecord'; fields: { 'claimed': { name: 'claimed'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'entry': { name: 'entry'; type: { kind: 'SCALAR'; name: 'Float'; ofType: null; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'Hypercert'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'leaf': { name: 'leaf'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'proof': { name: 'proof'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'root': { name: 'root'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'user_address': { name: 'user_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'AllowlistRecordHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AllowlistRecordSortOptions': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordSortOptions'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'leaf'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'entry'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'user_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'claimed'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'proof'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'total_units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'root'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'AllowlistRecordWhereInput': { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordWhereInput'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'leaf'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'entry'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'user_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'claimed'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'proof'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'total_units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'root'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert'; type: { kind: 'INPUT_OBJECT'; name: 'AllowlistRecordHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'Attestation': { kind: 'OBJECT'; name: 'Attestation'; fields: { 'attester': { name: 'attester'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'eas_schema': { name: 'eas_schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AttestationSchemaBaseType'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; }; } }; 'recipient': { name: 'recipient'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'schema_uid': { name: 'schema_uid'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'uid': { name: 'uid'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; }; }; + 'AttestationAttestationSchemaWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationAttestationSchemaWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'revocable'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AttestationHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AttestationSchema': { kind: 'OBJECT'; name: 'AttestationSchema'; fields: { 'attestations': { name: 'attestations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; }; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'resolver': { name: 'resolver'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'revocable': { name: 'revocable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'schema': { name: 'schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'uid': { name: 'uid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; }; + 'AttestationSchemaAttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationSchemaAttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'AttestationSchemaBaseType': { kind: 'OBJECT'; name: 'AttestationSchemaBaseType'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'resolver': { name: 'resolver'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'revocable': { name: 'revocable'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'schema': { name: 'schema'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'uid': { name: 'uid'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; }; }; + 'AttestationSchemaSortOptions': { kind: 'INPUT_OBJECT'; name: 'AttestationSchemaSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'uid'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'resolver'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'revocable'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'AttestationSchemaWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationSchemaWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'revocable'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations'; type: { kind: 'INPUT_OBJECT'; name: 'AttestationSchemaAttestationWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'AttestationSortOptions': { kind: 'INPUT_OBJECT'; name: 'AttestationSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'uid'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'attester'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'recipient'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'resolver'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'supported_schemas_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'contract_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'AttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'AttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert'; type: { kind: 'INPUT_OBJECT'; name: 'AttestationHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'eas_schema'; type: { kind: 'INPUT_OBJECT'; name: 'AttestationAttestationSchemaWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; 'BigInt': unknown; 'BigIntSearchOptions': { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; defaultValue: null }]; }; - 'Blueprint': { kind: 'OBJECT'; name: 'Blueprint'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'created_at': { name: 'created_at'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'form_values': { name: 'form_values'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHypercertsResponse'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'minted': { name: 'minted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'minter_address': { name: 'minter_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; - 'BlueprintFetchInput': { kind: 'INPUT_OBJECT'; name: 'BlueprintFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'BlueprintSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'BlueprintSortOptions': { kind: 'INPUT_OBJECT'; name: 'BlueprintSortOptions'; isOneOf: false; inputFields: [{ name: 'created_at'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'BlueprintWhereInput': { kind: 'INPUT_OBJECT'; name: 'BlueprintWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minter_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minted'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Blueprint': { kind: 'OBJECT'; name: 'Blueprint'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'created_at': { name: 'created_at'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'form_values': { name: 'form_values'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'JSON'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HypercertsResponse'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'minted': { name: 'minted'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'minter_address': { name: 'minter_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'BlueprintSortOptions': { kind: 'INPUT_OBJECT'; name: 'BlueprintSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'created_at'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'minter_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'minted'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'admin_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'BlueprintUserWhereInput': { kind: 'INPUT_OBJECT'; name: 'BlueprintUserWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'BlueprintWhereInput': { kind: 'INPUT_OBJECT'; name: 'BlueprintWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'created_at'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minter_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minted'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admins'; type: { kind: 'INPUT_OBJECT'; name: 'BlueprintUserWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; 'Boolean': unknown; 'BooleanSearchOptions': { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; defaultValue: null }]; }; - 'Collection': { kind: 'OBJECT'; name: 'Collection'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'blueprints': { name: 'blueprints'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Blueprint'; ofType: null; }; }; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'created_at': { name: 'created_at'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hypercert'; ofType: null; }; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; - 'CollectionFetchInput': { kind: 'INPUT_OBJECT'; name: 'CollectionFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'CollectionSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'CollectionSortOptions': { kind: 'INPUT_OBJECT'; name: 'CollectionSortOptions'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'created_at'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'CollectionWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Contract': { kind: 'OBJECT'; name: 'Contract'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'contract_address': { name: 'contract_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'start_block': { name: 'start_block'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; - 'ContractFetchInput': { kind: 'INPUT_OBJECT'; name: 'ContractFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'ContractSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'ContractSortOptions': { kind: 'INPUT_OBJECT'; name: 'ContractSortOptions'; isOneOf: false; inputFields: [{ name: 'contract_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'ContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'ContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'Collection': { kind: 'OBJECT'; name: 'Collection'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'blueprints': { name: 'blueprints'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Blueprint'; ofType: null; }; }; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'created_at': { name: 'created_at'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'description': { name: 'description'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'OBJECT'; name: 'HypercertsResponse'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'CollectionBlueprintWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionBlueprintWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'created_at'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minter_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'minted'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'CollectionHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'CollectionSortOptions': { kind: 'INPUT_OBJECT'; name: 'CollectionSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'created_at'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'CollectionUserWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionUserWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'CollectionWhereInput': { kind: 'INPUT_OBJECT'; name: 'CollectionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'created_at'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admins'; type: { kind: 'INPUT_OBJECT'; name: 'CollectionUserWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'CollectionHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'blueprints'; type: { kind: 'INPUT_OBJECT'; name: 'CollectionBlueprintWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'Contract': { kind: 'OBJECT'; name: 'Contract'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'contract_address': { name: 'contract_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'start_block': { name: 'start_block'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; + 'ContractSortOptions': { kind: 'INPUT_OBJECT'; name: 'ContractSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'contract_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'ContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'ContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; 'EthBigInt': unknown; 'Float': unknown; - 'Fraction': { kind: 'OBJECT'; name: 'Fraction'; fields: { 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'fraction_id': { name: 'fraction_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; } }; 'owner_address': { name: 'owner_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; - 'FractionFetchInput': { kind: 'INPUT_OBJECT'; name: 'FractionFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'FractionSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'FractionSortOptions': { kind: 'INPUT_OBJECT'; name: 'FractionSortOptions'; isOneOf: false; inputFields: [{ name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'FractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'FractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; + 'Fraction': { kind: 'OBJECT'; name: 'Fraction'; fields: { 'claims_id': { name: 'claims_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'fraction_id': { name: 'fraction_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; } }; 'owner_address': { name: 'owner_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; + 'FractionMetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'FractionMetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'allow_list_uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'external_url'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'FractionSortOptions': { kind: 'INPUT_OBJECT'; name: 'FractionSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'owner_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'fraction_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'FractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'FractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'FractionMetadataWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; 'GetAllowlistRecordResponse': { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AllowlistRecord'; ofType: null; }; }; } }; }; }; 'GetAttestationsResponse': { kind: 'OBJECT'; name: 'GetAttestationsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Attestation'; ofType: null; }; }; } }; }; }; 'GetAttestationsSchemaResponse': { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'AttestationSchema'; ofType: null; }; }; } }; }; }; - 'GetBlueprintResponse': { kind: 'OBJECT'; name: 'GetBlueprintResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Blueprint'; ofType: null; }; }; } }; }; }; + 'GetBlueprintsResponse': { kind: 'OBJECT'; name: 'GetBlueprintsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Blueprint'; ofType: null; }; }; } }; }; }; 'GetCollectionsResponse': { kind: 'OBJECT'; name: 'GetCollectionsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Collection'; ofType: null; }; }; } }; }; }; 'GetContractsResponse': { kind: 'OBJECT'; name: 'GetContractsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Contract'; ofType: null; }; }; } }; }; }; 'GetFractionsResponse': { kind: 'OBJECT'; name: 'GetFractionsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Fraction'; ofType: null; }; }; } }; }; }; + 'GetHyperboardOwnersResponse': { kind: 'OBJECT'; name: 'GetHyperboardOwnersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HyperboardOwner'; ofType: null; }; }; } }; }; }; 'GetHyperboardsResponse': { kind: 'OBJECT'; name: 'GetHyperboardsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hyperboard'; ofType: null; }; }; } }; }; }; 'GetHypercertsResponse': { kind: 'OBJECT'; name: 'GetHypercertsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Hypercert'; ofType: null; }; }; } }; }; }; 'GetMetadataResponse': { kind: 'OBJECT'; name: 'GetMetadataResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; }; }; } }; }; }; 'GetOrdersForHypercertResponse': { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; fields: { 'cheapestOrder': { name: 'cheapestOrder'; type: { kind: 'OBJECT'; name: 'Order'; ofType: null; } }; 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; }; } }; 'totalUnitsForSale': { name: 'totalUnitsForSale'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; 'GetOrdersResponse': { kind: 'OBJECT'; name: 'GetOrdersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Order'; ofType: null; }; }; } }; }; }; 'GetSalesResponse': { kind: 'OBJECT'; name: 'GetSalesResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Sale'; ofType: null; }; }; } }; }; }; + 'GetSectionEntryOwnersResponse': { kind: 'OBJECT'; name: 'GetSectionEntryOwnersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntryOwner'; ofType: null; }; }; } }; }; }; + 'GetSectionsResponse': { kind: 'OBJECT'; name: 'GetSectionsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Section'; ofType: null; }; }; } }; }; }; 'GetSignatureRequestResponse': { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SignatureRequest'; ofType: null; }; }; } }; }; }; 'GetUsersResponse': { kind: 'OBJECT'; name: 'GetUsersResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; } }; }; }; - 'Hyperboard': { kind: 'OBJECT'; name: 'Hyperboard'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'User'; ofType: null; }; }; }; } }; 'background_image': { name: 'background_image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'grayscale_images': { name: 'grayscale_images'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HyperboardOwner'; ofType: null; }; }; }; } }; 'sections': { name: 'sections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionResponseType'; ofType: null; }; } }; 'tile_border_color': { name: 'tile_border_color'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'HyperboardFetchInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'HyperboardSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'HyperboardOwner': { kind: 'OBJECT'; name: 'HyperboardOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'percentage_owned': { name: 'percentage_owned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SignatureRequest'; ofType: null; }; }; } }; }; }; - 'HyperboardSortOptions': { kind: 'INPUT_OBJECT'; name: 'HyperboardSortOptions'; isOneOf: false; inputFields: [{ name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'HyperboardWhereInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Hypercert': { kind: 'OBJECT'; name: 'Hypercert'; fields: { 'attestations': { name: 'attestations'; type: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; } }; 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'OBJECT'; name: 'Contract'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'fractions': { name: 'fractions'; type: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'HypercertBaseType': { kind: 'OBJECT'; name: 'HypercertBaseType'; fields: { 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; - 'HypercertFetchInput': { kind: 'INPUT_OBJECT'; name: 'HypercertFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'HypercertSortOptions': { kind: 'INPUT_OBJECT'; name: 'HypercertSortOptions'; isOneOf: false; inputFields: [{ name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'HypercertsWhereArgs': { kind: 'INPUT_OBJECT'; name: 'HypercertsWhereArgs'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract'; type: { kind: 'INPUT_OBJECT'; name: 'BasicContractWhereInput'; ofType: null; }; defaultValue: null }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'BasicMetadataWhereInput'; ofType: null; }; defaultValue: null }, { name: 'attestations'; type: { kind: 'INPUT_OBJECT'; name: 'BasicAttestationWhereInput'; ofType: null; }; defaultValue: null }, { name: 'fractions'; type: { kind: 'INPUT_OBJECT'; name: 'BasicFractionWhereInput'; ofType: null; }; defaultValue: null }]; }; + 'Hyperboard': { kind: 'OBJECT'; name: 'Hyperboard'; fields: { 'admins': { name: 'admins'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetUsersResponse'; ofType: null; }; } }; 'background_image': { name: 'background_image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_ids': { name: 'chain_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'grayscale_images': { name: 'grayscale_images'; type: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHyperboardOwnersResponse'; ofType: null; }; } }; 'sections': { name: 'sections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSectionsResponse'; ofType: null; }; } }; 'tile_border_color': { name: 'tile_border_color'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HyperboardCollectionWhereInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardCollectionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'created_at'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HyperboardOwner': { kind: 'OBJECT'; name: 'HyperboardOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'percentage_owned': { name: 'percentage_owned'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; ofType: null; } }; }; }; + 'HyperboardSortOptions': { kind: 'INPUT_OBJECT'; name: 'HyperboardSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chain_ids'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'admin_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'HyperboardUserWhereInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardUserWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HyperboardWhereInput': { kind: 'INPUT_OBJECT'; name: 'HyperboardWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_ids'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'admin_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collections'; type: { kind: 'INPUT_OBJECT'; name: 'HyperboardCollectionWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'admins'; type: { kind: 'INPUT_OBJECT'; name: 'HyperboardUserWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'Hypercert': { kind: 'OBJECT'; name: 'Hypercert'; fields: { 'attestations': { name: 'attestations'; type: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; } }; 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contract': { name: 'contract'; type: { kind: 'OBJECT'; name: 'Contract'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'fractions': { name: 'fractions'; type: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'orders': { name: 'orders'; type: { kind: 'OBJECT'; name: 'GetOrdersForHypercertResponse'; ofType: null; } }; 'sales': { name: 'sales'; type: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HypercertAttestationWhereInput': { kind: 'INPUT_OBJECT'; name: 'HypercertAttestationWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uid'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attester'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'recipient'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'resolver'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'supported_schemas_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HypercertBaseType': { kind: 'OBJECT'; name: 'HypercertBaseType'; fields: { 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HypercertContractWhereInput': { kind: 'INPUT_OBJECT'; name: 'HypercertContractWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HypercertFractionWhereInput': { kind: 'INPUT_OBJECT'; name: 'HypercertFractionWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'owner_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'fraction_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HypercertMetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'HypercertMetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'allow_list_uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'external_url'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'HypercertSortOptions': { kind: 'INPUT_OBJECT'; name: 'HypercertSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creator_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'token_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'units'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'last_update_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'sales_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'attestations_count'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'HypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'HypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contract'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertContractWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'metadata'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertMetadataWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'attestations'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertAttestationWhereInput'; ofType: null; }; defaultValue: "{}" }, { name: 'fractions'; type: { kind: 'INPUT_OBJECT'; name: 'HypercertFractionWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'HypercertWithMetadata': { kind: 'OBJECT'; name: 'HypercertWithMetadata'; fields: { 'attestations_count': { name: 'attestations_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'contracts_id': { name: 'contracts_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creator_address': { name: 'creator_address'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'last_update_block_number': { name: 'last_update_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'last_update_block_timestamp': { name: 'last_update_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'Metadata'; ofType: null; } }; 'sales_count': { name: 'sales_count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'token_id': { name: 'token_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; }; }; + 'HypercertsResponse': { kind: 'OBJECT'; name: 'HypercertsResponse'; fields: { 'count': { name: 'count'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; } }; 'data': { name: 'data'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; }; }; } }; }; }; 'ID': unknown; - 'IdSearchOptions': { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; defaultValue: null }, { name: 'in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'UUID'; ofType: null; }; }; }; defaultValue: null }]; }; 'Int': unknown; 'JSON': unknown; - 'Metadata': { kind: 'OBJECT'; name: 'Metadata'; fields: { 'allow_list_uri': { name: 'allow_list_uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'contributors': { name: 'contributors'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'external_url': { name: 'external_url'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'image': { name: 'image'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'impact_scope': { name: 'impact_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'impact_timeframe_from': { name: 'impact_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'impact_timeframe_to': { name: 'impact_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'properties': { name: 'properties'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'rights': { name: 'rights'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'work_scope': { name: 'work_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'work_timeframe_from': { name: 'work_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'work_timeframe_to': { name: 'work_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; - 'MetadataFetchInput': { kind: 'INPUT_OBJECT'; name: 'MetadataFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'MetadataSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'MetadataSortOptions': { kind: 'INPUT_OBJECT'; name: 'MetadataSortOptions'; isOneOf: false; inputFields: [{ name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'external_url'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'metadata_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'allow_list_uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'MetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'MetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_block_update_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercerts'; type: { kind: 'INPUT_OBJECT'; name: 'BasicHypercertWhereArgs'; ofType: null; }; defaultValue: null }]; }; - 'NumberArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'contains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; }; }; defaultValue: null }, { name: 'overlaps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; }; }; defaultValue: null }]; }; + 'Metadata': { kind: 'OBJECT'; name: 'Metadata'; fields: { 'allow_list_uri': { name: 'allow_list_uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'contributors': { name: 'contributors'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'description': { name: 'description'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'external_url': { name: 'external_url'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'image': { name: 'image'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'impact_scope': { name: 'impact_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'impact_timeframe_from': { name: 'impact_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'impact_timeframe_to': { name: 'impact_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'properties': { name: 'properties'; type: { kind: 'SCALAR'; name: 'JSON'; ofType: null; } }; 'rights': { name: 'rights'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'uri': { name: 'uri'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'work_scope': { name: 'work_scope'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; 'work_timeframe_from': { name: 'work_timeframe_from'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'work_timeframe_to': { name: 'work_timeframe_to'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; + 'MetadataHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'MetadataHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'MetadataSortOptions': { kind: 'INPUT_OBJECT'; name: 'MetadataSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'description'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'allow_list_uri'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'contributors'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'external_url'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'impact_scope'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'rights'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'work_scope'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'work_timeframe_from'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'work_timeframe_to'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'impact_timeframe_from'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'impact_timeframe_to'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'MetadataWhereInput': { kind: 'INPUT_OBJECT'; name: 'MetadataWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'description'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'allow_list_uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'contributors'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'external_url'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'rights'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_scope'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'work_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_from'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'impact_timeframe_to'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert'; type: { kind: 'INPUT_OBJECT'; name: 'MetadataHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'NumberArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'arrayContains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; }; }; defaultValue: null }, { name: 'arrayOverlaps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; }; }; }; defaultValue: null }]; }; 'NumberSearchOptions': { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; }; defaultValue: null }, { name: 'gt'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'gte'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'lt'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }, { name: 'lte'; type: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; defaultValue: null }]; }; - 'Order': { kind: 'OBJECT'; name: 'Order'; fields: { 'additionalParameters': { name: 'additionalParameters'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'amounts': { name: 'amounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collectionType': { name: 'collectionType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'endTime': { name: 'endTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'globalNonce': { name: 'globalNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'invalidated': { name: 'invalidated'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'itemIds': { name: 'itemIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'orderNonce': { name: 'orderNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInToken': { name: 'pricePerPercentInToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInUSD': { name: 'pricePerPercentInUSD'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'quoteType': { name: 'quoteType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature': { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'startTime': { name: 'startTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'strategyId': { name: 'strategyId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'subsetNonce': { name: 'subsetNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'validator_codes': { name: 'validator_codes'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; } }; }; }; - 'OrderFetchInput': { kind: 'INPUT_OBJECT'; name: 'OrderFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'OrderSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'OrderSortOptions': { kind: 'INPUT_OBJECT'; name: 'OrderSortOptions'; isOneOf: false; inputFields: [{ name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collectionType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'createdAt'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'endTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'globalNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'invalidated'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'orderNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'price'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'quoteType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'startTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'strategyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'OrderWhereInput': { kind: 'INPUT_OBJECT'; name: 'OrderWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'invalidated'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'allowlistRecords': { name: 'allowlistRecords'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; ofType: null; }; } }; 'attestationSchemas': { name: 'attestationSchemas'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; ofType: null; }; } }; 'attestations': { name: 'attestations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; }; } }; 'blueprints': { name: 'blueprints'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetBlueprintResponse'; ofType: null; }; } }; 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetCollectionsResponse'; ofType: null; }; } }; 'contracts': { name: 'contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetContractsResponse'; ofType: null; }; } }; 'fractions': { name: 'fractions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; }; } }; 'hyperboards': { name: 'hyperboards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHyperboardsResponse'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHypercertsResponse'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetMetadataResponse'; ofType: null; }; } }; 'orders': { name: 'orders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; }; } }; 'sales': { name: 'sales'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; }; } }; 'signatureRequests': { name: 'signatureRequests'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; ofType: null; }; } }; 'users': { name: 'users'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetUsersResponse'; ofType: null; }; } }; }; }; - 'Sale': { kind: 'OBJECT'; name: 'Sale'; fields: { 'amounts': { name: 'amounts'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'buyer': { name: 'buyer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'currency_amount': { name: 'currency_amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertBaseType'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'ID'; ofType: null; }; } }; 'item_ids': { name: 'item_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'seller': { name: 'seller'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'strategy_id': { name: 'strategy_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'transaction_hash': { name: 'transaction_hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; - 'SaleFetchInput': { kind: 'INPUT_OBJECT'; name: 'SaleFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'SaleSortOptions'; ofType: null; }; defaultValue: null }]; }; - 'SaleSortOptions': { kind: 'INPUT_OBJECT'; name: 'SaleSortOptions'; isOneOf: false; inputFields: [{ name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creationBlockNumber'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'creationBlockTimestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'hypercertId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'strategyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'transactionHash'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; - 'SaleWhereInput': { kind: 'INPUT_OBJECT'; name: 'SaleWhereInput'; isOneOf: false; inputFields: [{ name: 'transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'IdSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'item_ids'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'strategy_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'amounts'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }]; }; - 'Section': { kind: 'OBJECT'; name: 'Section'; fields: { 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Collection'; ofType: null; }; } }; 'entries': { name: 'entries'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntry'; ofType: null; }; }; }; } }; 'label': { name: 'label'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'HyperboardOwner'; ofType: null; }; }; }; } }; }; }; - 'SectionEntry': { kind: 'OBJECT'; name: 'SectionEntry'; fields: { 'display_size': { name: 'display_size'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'is_blueprint': { name: 'is_blueprint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntryOwner'; ofType: null; }; }; }; } }; 'percentage_of_section': { name: 'percentage_of_section'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; - 'SectionEntryOwner': { kind: 'OBJECT'; name: 'SectionEntryOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'percentage': { name: 'percentage'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SignatureRequest'; ofType: null; }; }; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'BigInt'; ofType: null; } }; }; }; - 'SectionResponseType': { kind: 'OBJECT'; name: 'SectionResponseType'; fields: { 'count': { name: 'count'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'data': { name: 'data'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Section'; ofType: null; }; }; }; } }; }; }; + 'Order': { kind: 'OBJECT'; name: 'Order'; fields: { 'additionalParameters': { name: 'additionalParameters'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'amounts': { name: 'amounts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; }; }; } }; 'chainId': { name: 'chainId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collectionType': { name: 'collectionType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'endTime': { name: 'endTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'globalNonce': { name: 'globalNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertWithMetadata'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'invalidated': { name: 'invalidated'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'itemIds': { name: 'itemIds'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; } }; 'orderNonce': { name: 'orderNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'price': { name: 'price'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInToken': { name: 'pricePerPercentInToken'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'pricePerPercentInUSD': { name: 'pricePerPercentInUSD'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'quoteType': { name: 'quoteType'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature': { name: 'signature'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'signer': { name: 'signer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'startTime': { name: 'startTime'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'strategyId': { name: 'strategyId'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'subsetNonce': { name: 'subsetNonce'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'validator_codes': { name: 'validator_codes'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Int'; ofType: null; }; }; } }; }; }; + 'OrderHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'OrderHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'OrderSortOptions': { kind: 'INPUT_OBJECT'; name: 'OrderSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'createdAt'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'quoteType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'globalNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'orderNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'strategyId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'collectionType'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'signer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'startTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'endTime'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'price'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chainId'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'subsetNonce'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'itemIds'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'invalidated'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'OrderWhereInput': { kind: 'INPUT_OBJECT'; name: 'OrderWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'createdAt'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'quoteType'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'globalNonce'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'orderNonce'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'strategyId'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collectionType'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'signer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'startTime'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'endTime'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'price'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chainId'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'subsetNonce'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'itemIds'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'amounts'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'invalidated'; type: { kind: 'INPUT_OBJECT'; name: 'BooleanSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert'; type: { kind: 'INPUT_OBJECT'; name: 'OrderHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'Query': { kind: 'OBJECT'; name: 'Query'; fields: { 'allowlistRecords': { name: 'allowlistRecords'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAllowlistRecordResponse'; ofType: null; }; } }; 'attestationSchemas': { name: 'attestationSchemas'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsSchemaResponse'; ofType: null; }; } }; 'attestations': { name: 'attestations'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetAttestationsResponse'; ofType: null; }; } }; 'blueprints': { name: 'blueprints'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetBlueprintsResponse'; ofType: null; }; } }; 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetCollectionsResponse'; ofType: null; }; } }; 'contracts': { name: 'contracts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetContractsResponse'; ofType: null; }; } }; 'fractions': { name: 'fractions'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetFractionsResponse'; ofType: null; }; } }; 'hyperboards': { name: 'hyperboards'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHyperboardsResponse'; ofType: null; }; } }; 'hypercerts': { name: 'hypercerts'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHypercertsResponse'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetMetadataResponse'; ofType: null; }; } }; 'orders': { name: 'orders'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetOrdersResponse'; ofType: null; }; } }; 'sales': { name: 'sales'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSalesResponse'; ofType: null; }; } }; 'signatureRequests': { name: 'signatureRequests'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; ofType: null; }; } }; 'users': { name: 'users'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetUsersResponse'; ofType: null; }; } }; }; }; + 'Sale': { kind: 'OBJECT'; name: 'Sale'; fields: { 'amounts': { name: 'amounts'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'buyer': { name: 'buyer'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'collection': { name: 'collection'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'creation_block_number': { name: 'creation_block_number'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'creation_block_timestamp': { name: 'creation_block_timestamp'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'currency': { name: 'currency'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'currency_amount': { name: 'currency_amount'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'hypercert': { name: 'hypercert'; type: { kind: 'OBJECT'; name: 'HypercertWithMetadata'; ofType: null; } }; 'hypercert_id': { name: 'hypercert_id'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'item_ids': { name: 'item_ids'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; }; } }; 'seller': { name: 'seller'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'strategy_id': { name: 'strategy_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'transaction_hash': { name: 'transaction_hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; }; }; + 'SaleHypercertWhereInput': { kind: 'INPUT_OBJECT'; name: 'SaleHypercertWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creator_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'token_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'units'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'last_update_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'sales_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'attestations_count'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'uri'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'SaleSortOptions': { kind: 'INPUT_OBJECT'; name: 'SaleSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'buyer'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'seller'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'strategy_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'currency'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'collection'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'item_ids'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'hypercert_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'amounts'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'transaction_hash'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_number'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'creation_block_timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'SaleWhereInput': { kind: 'INPUT_OBJECT'; name: 'SaleWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'buyer'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'seller'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'strategy_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'currency'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'collection'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'item_ids'; type: { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert_id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'amounts'; type: { kind: 'INPUT_OBJECT'; name: 'NumberArraySearchOptions'; ofType: null; }; defaultValue: null }, { name: 'transaction_hash'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_number'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'creation_block_timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'hypercert'; type: { kind: 'INPUT_OBJECT'; name: 'SaleHypercertWhereInput'; ofType: null; }; defaultValue: "{}" }]; }; + 'Section': { kind: 'OBJECT'; name: 'Section'; fields: { 'collections': { name: 'collections'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'Collection'; ofType: null; }; }; }; } }; 'entries': { name: 'entries'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SectionEntry'; ofType: null; }; }; }; } }; 'label': { name: 'label'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetHyperboardOwnersResponse'; ofType: null; }; } }; }; }; + 'SectionEntry': { kind: 'OBJECT'; name: 'SectionEntry'; fields: { 'display_size': { name: 'display_size'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'id': { name: 'id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'is_blueprint': { name: 'is_blueprint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'name': { name: 'name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'owners': { name: 'owners'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'GetSectionEntryOwnersResponse'; ofType: null; }; } }; 'percentage_of_section': { name: 'percentage_of_section'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'total_units': { name: 'total_units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; + 'SectionEntryOwner': { kind: 'OBJECT'; name: 'SectionEntryOwner'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'percentage': { name: 'percentage'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Float'; ofType: null; }; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; ofType: null; } }; 'units': { name: 'units'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; }; }; 'SignatureRequest': { kind: 'OBJECT'; name: 'SignatureRequest'; fields: { 'chain_id': { name: 'chain_id'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; 'message': { name: 'message'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'message_hash': { name: 'message_hash'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'purpose': { name: 'purpose'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SignatureRequestPurpose'; ofType: null; }; } }; 'safe_address': { name: 'safe_address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'status': { name: 'status'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'SignatureRequestStatus'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; }; } }; }; }; - 'SignatureRequestFetchInput': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestFetchInput'; isOneOf: false; inputFields: [{ name: 'by'; type: { kind: 'INPUT_OBJECT'; name: 'SignatureRequestSortOptions'; ofType: null; }; defaultValue: null }]; }; 'SignatureRequestPurpose': { name: 'SignatureRequestPurpose'; enumValues: 'UPDATE_USER_DATA'; }; - 'SignatureRequestPurposeSearchOptions': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestPurposeSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'ENUM'; name: 'SignatureRequestPurpose'; ofType: null; }; defaultValue: null }]; }; - 'SignatureRequestSortOptions': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestSortOptions'; isOneOf: false; inputFields: [{ name: 'safe_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'message_hash'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }, { name: 'purpose'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: null }]; }; + 'SignatureRequestSortOptions': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestSortOptions'; isOneOf: false; inputFields: [{ name: 'safe_address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'message_hash'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'timestamp'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'status'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; 'SignatureRequestStatus': { name: 'SignatureRequestStatus'; enumValues: 'PENDING' | 'EXECUTED' | 'CANCELED'; }; 'SignatureRequestStatusSearchOptions': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestStatusSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'ENUM'; name: 'SignatureRequestStatus'; ofType: null; }; defaultValue: null }]; }; - 'SignatureRequestWhereInput': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestWhereInput'; isOneOf: false; inputFields: [{ name: 'safe_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'message_hash'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'purpose'; type: { kind: 'INPUT_OBJECT'; name: 'SignatureRequestPurposeSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'SignatureRequestStatusSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'SignatureRequestWhereInput': { kind: 'INPUT_OBJECT'; name: 'SignatureRequestWhereInput'; isOneOf: false; inputFields: [{ name: 'safe_address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'message_hash'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'timestamp'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'status'; type: { kind: 'INPUT_OBJECT'; name: 'SignatureRequestStatusSearchOptions'; ofType: null; }; defaultValue: null }]; }; 'SortOrder': { name: 'SortOrder'; enumValues: 'ascending' | 'descending'; }; 'String': unknown; - 'StringArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'contains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: 'overlaps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }]; }; + 'StringArraySearchOptions': { kind: 'INPUT_OBJECT'; name: 'StringArraySearchOptions'; isOneOf: false; inputFields: [{ name: 'arrayContains'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: 'arrayOverlaps'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }]; }; 'StringSearchOptions': { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; isOneOf: false; inputFields: [{ name: 'eq'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'in'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; }; }; defaultValue: null }, { name: 'contains'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'startsWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }, { name: 'endsWith'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; }; defaultValue: null }]; }; - 'UUID': unknown; - 'User': { kind: 'OBJECT'; name: 'User'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'LIST'; name: never; ofType: { kind: 'NON_NULL'; name: never; ofType: { kind: 'OBJECT'; name: 'SignatureRequest'; ofType: null; }; }; } }; }; }; - 'UserWhereInput': { kind: 'INPUT_OBJECT'; name: 'UserWhereInput'; isOneOf: false; inputFields: [{ name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'BigIntSearchOptions'; ofType: null; }; defaultValue: null }]; }; + 'User': { kind: 'OBJECT'; name: 'User'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'String'; ofType: null; }; } }; 'avatar': { name: 'avatar'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'chain_id': { name: 'chain_id'; type: { kind: 'SCALAR'; name: 'EthBigInt'; ofType: null; } }; 'display_name': { name: 'display_name'; type: { kind: 'SCALAR'; name: 'String'; ofType: null; } }; 'id': { name: 'id'; type: { kind: 'SCALAR'; name: 'ID'; ofType: null; } }; 'signature_requests': { name: 'signature_requests'; type: { kind: 'OBJECT'; name: 'GetSignatureRequestResponse'; ofType: null; } }; }; }; + 'UserSortOptions': { kind: 'INPUT_OBJECT'; name: 'UserSortOptions'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'address'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'display_name'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }, { name: 'chain_id'; type: { kind: 'ENUM'; name: 'SortOrder'; ofType: null; }; defaultValue: "null" }]; }; + 'UserWhereInput': { kind: 'INPUT_OBJECT'; name: 'UserWhereInput'; isOneOf: false; inputFields: [{ name: 'id'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'address'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'display_name'; type: { kind: 'INPUT_OBJECT'; name: 'StringSearchOptions'; ofType: null; }; defaultValue: null }, { name: 'chain_id'; type: { kind: 'INPUT_OBJECT'; name: 'NumberSearchOptions'; ofType: null; }; defaultValue: null }]; }; }; /** An IntrospectionQuery representation of your schema. @@ -116,16 +119,16 @@ export type introspection_types = { */ export type introspection = { name: never; - query: 'Query'; + query: "Query"; mutation: never; subscription: never; types: introspection_types; }; -import * as gqlTada from 'gql.tada'; +import * as gqlTada from "gql.tada"; -declare module 'gql.tada' { +declare module "gql.tada" { interface setupSchema { - introspection: introspection + introspection: introspection; } -} \ No newline at end of file +} diff --git a/hypercerts/actions/getAllHypercerts.ts b/hypercerts/actions/getAllHypercerts.ts index 86eda497..bce58ca0 100644 --- a/hypercerts/actions/getAllHypercerts.ts +++ b/hypercerts/actions/getAllHypercerts.ts @@ -30,12 +30,17 @@ export function isClaimsFilter(value: string): value is ClaimsFilter { const query = graphql( ` query AllHypercerts( - $where: HypercertsWhereArgs - $sort: HypercertFetchInput + $where: HypercertWhereInput + $sortBy: HypercertSortOptions $first: Int $offset: Int ) { - hypercerts(where: $where, first: $first, offset: $offset, sort: $sort) { + hypercerts( + where: $where + first: $first + offset: $offset + sortBy: $sortBy + ) { count data { @@ -53,32 +58,26 @@ function createOrderBy({ orderBy, }: { orderBy?: ClaimsOrderBy; -}): VariableTypes["sort"] { +}): VariableTypes["sortBy"] { if (orderBy) { const directionDivider = orderBy.lastIndexOf("_"); const orderByAttribute = orderBy.substring(0, directionDivider); const orderByDirection = orderBy.substring(directionDivider + 1); if (orderByAttribute === "created") { return { - by: { - creation_block_timestamp: - orderByDirection === "asc" ? "ascending" : "descending", - }, + creation_block_timestamp: + orderByDirection === "asc" ? "ascending" : "descending", }; } if (orderByAttribute === "attestations_count") { return { - by: { - attestations_count: - orderByDirection === "asc" ? "ascending" : "descending", - }, + attestations_count: + orderByDirection === "asc" ? "ascending" : "descending", }; } } return { - by: { - creation_block_timestamp: "descending", - }, + creation_block_timestamp: "descending", }; } diff --git a/hypercerts/actions/getHypercertMetadata.ts b/hypercerts/actions/getHypercertMetadata.ts index 967b3174..81207207 100644 --- a/hypercerts/actions/getHypercertMetadata.ts +++ b/hypercerts/actions/getHypercertMetadata.ts @@ -8,7 +8,7 @@ import { HypercertMetadataFragment } from "../fragments/hypercert-metadata.fragm const query = graphql( ` query Metadata($hypercert_id: String!) { - metadata(where: { hypercerts: { hypercert_id: { eq: $hypercert_id } } }) { + metadata(where: { hypercert: { hypercert_id: { eq: $hypercert_id } } }) { data { ...HypercertMetadataFragment } diff --git a/hypercerts/actions/getHypercertsByCreator.ts b/hypercerts/actions/getHypercertsByCreator.ts index f5b6188b..bc1a89aa 100644 --- a/hypercerts/actions/getHypercertsByCreator.ts +++ b/hypercerts/actions/getHypercertsByCreator.ts @@ -8,7 +8,7 @@ import request from "graphql-request"; const query = graphql( ` - query AllHypercerts($where: HypercertsWhereArgs) { + query AllHypercerts($where: HypercertWhereInput) { hypercerts(where: $where) { count data { diff --git a/hypercerts/actions/getHypercertsByOwner.ts b/hypercerts/actions/getHypercertsByOwner.ts index 7a8b84aa..a69a043f 100644 --- a/hypercerts/actions/getHypercertsByOwner.ts +++ b/hypercerts/actions/getHypercertsByOwner.ts @@ -9,7 +9,7 @@ import { getAddress } from "viem"; const query = graphql( ` - query AllHypercerts($where: HypercertsWhereArgs) { + query AllHypercerts($where: HypercertWhereInput) { hypercerts(where: $where) { count data { diff --git a/lib/evmClient.ts b/lib/evmClient.ts index 4021e033..9dcc22d8 100644 --- a/lib/evmClient.ts +++ b/lib/evmClient.ts @@ -1,4 +1,4 @@ -import { alchemyApiKey, drpcApiPkey, infuraApiKey } from "@/configs/constants"; +import { alchemyApiKey, drpcApiPkey } from "@/configs/constants"; import { PublicClient, createPublicClient, fallback } from "viem"; import { ChainFactory } from "./chainFactory"; import { UnifiedRpcClientFactory } from "./rpcClientFactory"; @@ -15,6 +15,7 @@ class AlchemyProvider implements RpcProvider { 8453: `https://base-mainnet.g.alchemy.com/v2/${alchemyApiKey}`, 42161: `https://arb-mainnet.g.alchemy.com/v2/${alchemyApiKey}`, 421614: `https://arb-sepolia.g.alchemy.com/v2/${alchemyApiKey}`, + 42220: `https://celo-mainnet.g.alchemy.com/v2/${alchemyApiKey}`, 84532: `https://base-sepolia.g.alchemy.com/v2/${alchemyApiKey}`, 11155111: `https://eth-sepolia.g.alchemy.com/v2/${alchemyApiKey}`, }; @@ -22,19 +23,6 @@ class AlchemyProvider implements RpcProvider { } } -class InfuraProvider implements RpcProvider { - getUrl(chainId: number): string | undefined { - if (!infuraApiKey) return undefined; - const urls: Record = { - 10: `https://optimism-mainnet.infura.io/v3/${infuraApiKey}`, - 42220: `https://celo-mainnet.infura.io/v3/${infuraApiKey}`, - 42161: `https://arbitrum-mainnet.infura.io/v3/${infuraApiKey}`, - 421614: `https://arbitrum-sepolia.infura.io/v3/${infuraApiKey}`, - }; - return urls[chainId]; - } -} - class DrpcProvider implements RpcProvider { getUrl(chainId: number): string | undefined { if (!drpcApiPkey) return undefined; @@ -84,7 +72,6 @@ export class EvmClientFactory { private static readonly providers: RpcProvider[] = [ new AlchemyProvider(), new AnkrProvider(), - new InfuraProvider(), new FVMProvider(), new DrpcProvider(), ]; diff --git a/marketplace/EOABuyFractionalStrategy.tsx b/marketplace/EOABuyFractionalStrategy.tsx index 29b8ae9a..f1a8d148 100644 --- a/marketplace/EOABuyFractionalStrategy.tsx +++ b/marketplace/EOABuyFractionalStrategy.tsx @@ -104,7 +104,7 @@ export class EOABuyFractionalStrategy extends BuyFractionalStrategy { ); } - const totalPrice = BigInt(order.price) * unitAmount; + const totalPrice = BigInt(pricePerUnit) * unitAmount; try { await setStep("ERC20"); if (currency.address !== zeroAddress) { diff --git a/marketplace/SafeBuyFractionalStrategy.tsx b/marketplace/SafeBuyFractionalStrategy.tsx index 887e2665..b9221282 100644 --- a/marketplace/SafeBuyFractionalStrategy.tsx +++ b/marketplace/SafeBuyFractionalStrategy.tsx @@ -98,7 +98,7 @@ export class SafeBuyFractionalStrategy extends BuyFractionalStrategy { ); } - const totalPrice = BigInt(order.price) * unitAmount; + const totalPrice = BigInt(pricePerUnit) * unitAmount; try { await setStep("ERC20"); if (currency.address !== zeroAddress) { diff --git a/marketplace/utils.ts b/marketplace/utils.ts index dd65d08f..cffc2c8b 100644 --- a/marketplace/utils.ts +++ b/marketplace/utils.ts @@ -87,6 +87,9 @@ export const orderFragmentToMarketplaceOrder = ( if (!order.chainId) { throw new Error("Order does not have a chain ID"); } + if (!order.id) { + throw new Error("Order does not have an ID"); + } return { signer: order.signer, price: order.price, @@ -100,7 +103,7 @@ export const orderFragmentToMarketplaceOrder = ( id: order.id, collectionType: order.collectionType, collection: order.collection, - createdAt: order.createdAt, + createdAt: order.createdAt.toString(), endTime: order.endTime, orderNonce: order.orderNonce, subsetNonce: order.subsetNonce, @@ -108,8 +111,7 @@ export const orderFragmentToMarketplaceOrder = ( globalNonce: order.globalNonce, quoteType: order.quoteType, signature: order.signature, - validator_codes: - order.validator_codes?.map((code) => parseInt(code, 10)) || null, + validator_codes: order.validator_codes || null, hypercert_id: order.hypercert_id, }; }; diff --git a/test/lib/evmClient.test.ts b/test/lib/evmClient.test.ts index e6915642..cee135be 100644 --- a/test/lib/evmClient.test.ts +++ b/test/lib/evmClient.test.ts @@ -3,7 +3,6 @@ import { describe, expect, it, vi } from "vitest"; vi.mock("@/utils/constants", () => ({ environment: "test", alchemyApiKey: "mock-alchemy-key", - infuraApiKey: "mock-infura-key", drpcApiPkey: "mock-drpc-key", filecoinApiKey: "mock-filecoin-key", Environment: { TEST: "test", PROD: "prod" }, @@ -42,10 +41,9 @@ describe("EvmClient", () => { expect(sepoliaUrls[0]).toContain("alchemy.com"); const opUrls = EvmClientFactory.getAllAvailableUrls(10); - expect(opUrls).toHaveLength(3); // Alchemy, Infura, DRPC for Optimism + expect(opUrls).toHaveLength(2); // Alchemy, DRPC for Optimism expect(opUrls[0]).toContain("alchemy.com"); - expect(opUrls[1]).toContain("infura.io"); - expect(opUrls[2]).toContain("drpc.org"); + expect(opUrls[1]).toContain("drpc.org"); }); it("returns empty array for unsupported chain", () => { @@ -90,11 +88,6 @@ describe("RPC Providers", () => { expect(url).toContain("alchemy-key"); }); - it("should return Ankr URL when Alchemy is not available", () => { - const url = EvmClientFactory.getRpcUrl(42220); // Celo - expect(url).toContain("ankr.com"); - }); - it("should return ankr.com URL for Filecoin", () => { const url = EvmClientFactory.getRpcUrl(314159); expect(url).toContain("https://rpc.ankr.com/"); diff --git a/tsconfig.json b/tsconfig.json index 0016910d..22e876d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,7 @@ }, { "name": "@0no-co/graphqlsp", - "schema": "https://staging-api.hypercerts.org/v1/graphql", + "schema": "https://staging-api.hypercerts.org/v2/graphql", "tadaOutputLocation": "./graphql-hypercerts-env.d.ts" } ], diff --git a/users/hooks.ts b/users/hooks.ts index 9ebe1cc6..a88335b9 100644 --- a/users/hooks.ts +++ b/users/hooks.ts @@ -30,7 +30,7 @@ export const useGetUser = ({ address }: { address?: string }) => { const query = graphql( ` - query UserQuery($address: String!, $chainId: BigInt!) { + query UserQuery($address: String!, $chainId: Int!) { users( where: { address: { eq: $address }, chain_id: { eq: $chainId } } ) { @@ -54,7 +54,7 @@ export const useGetUser = ({ address }: { address?: string }) => { const res = await request(HYPERCERTS_API_URL_GRAPH, query, { address, - chainId: chainId.toString(), + chainId: chainId, }); const userFragment = res.users?.data?.[0];