dop-wallet-v6 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +73 -0
- package/.prettierrc.js +21 -0
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/services/artifacts/artifact-downloader.d.ts +13 -0
- package/dist/services/artifacts/artifact-downloader.js +131 -0
- package/dist/services/artifacts/artifact-downloader.js.map +1 -0
- package/dist/services/artifacts/artifact-hash.d.ts +4 -0
- package/dist/services/artifacts/artifact-hash.js +54 -0
- package/dist/services/artifacts/artifact-hash.js.map +1 -0
- package/dist/services/artifacts/artifact-store.d.ts +12 -0
- package/dist/services/artifacts/artifact-store.js +12 -0
- package/dist/services/artifacts/artifact-store.js.map +1 -0
- package/dist/services/artifacts/artifact-util.d.ts +7 -0
- package/dist/services/artifacts/artifact-util.js +83 -0
- package/dist/services/artifacts/artifact-util.js.map +1 -0
- package/dist/services/artifacts/index.d.ts +2 -0
- package/dist/services/artifacts/index.js +19 -0
- package/dist/services/artifacts/index.js.map +1 -0
- package/dist/services/artifacts/json/artifact-v2-hashes.json +337 -0
- package/dist/services/dop/core/artifacts.d.ts +10 -0
- package/dist/services/dop/core/artifacts.js +69 -0
- package/dist/services/dop/core/artifacts.js.map +1 -0
- package/dist/services/dop/core/engine.d.ts +25 -0
- package/dist/services/dop/core/engine.js +103 -0
- package/dist/services/dop/core/engine.js.map +1 -0
- package/dist/services/dop/core/index.d.ts +5 -0
- package/dist/services/dop/core/index.js +22 -0
- package/dist/services/dop/core/index.js.map +1 -0
- package/dist/services/dop/core/prover.d.ts +3 -0
- package/dist/services/dop/core/prover.js +14 -0
- package/dist/services/dop/core/prover.js.map +1 -0
- package/dist/services/dop/core/providers.d.ts +18 -0
- package/dist/services/dop/core/providers.js +162 -0
- package/dist/services/dop/core/providers.js.map +1 -0
- package/dist/services/dop/core/shields.d.ts +7 -0
- package/dist/services/dop/core/shields.js +20 -0
- package/dist/services/dop/core/shields.js.map +1 -0
- package/dist/services/dop/history/transaction-history.d.ts +4 -0
- package/dist/services/dop/history/transaction-history.js +166 -0
- package/dist/services/dop/history/transaction-history.js.map +1 -0
- package/dist/services/dop/index.d.ts +4 -0
- package/dist/services/dop/index.js +21 -0
- package/dist/services/dop/index.js.map +1 -0
- package/dist/services/dop/process/extract-first-note.d.ts +6 -0
- package/dist/services/dop/process/extract-first-note.js +163 -0
- package/dist/services/dop/process/extract-first-note.js.map +1 -0
- package/dist/services/dop/process/index.d.ts +1 -0
- package/dist/services/dop/process/index.js +18 -0
- package/dist/services/dop/process/index.js.map +1 -0
- package/dist/services/dop/quick-sync/empty-events.d.ts +2 -0
- package/dist/services/dop/quick-sync/empty-events.js +9 -0
- package/dist/services/dop/quick-sync/empty-events.js.map +1 -0
- package/dist/services/dop/quick-sync/graph-type-formatters.d.ts +13 -0
- package/dist/services/dop/quick-sync/graph-type-formatters.js +168 -0
- package/dist/services/dop/quick-sync/graph-type-formatters.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-goerli/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/arbitrum-one/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/bsc/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/ethereum/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/goerli/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/matic/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/introspectionSchema.d.ts +2 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/introspectionSchema.js +24081 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/introspectionSchema.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/types.d.ts +1628 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/types.js +4 -0
- package/dist/services/dop/quick-sync/graphql/.graphclient/sources/mumbai/types.js.map +1 -0
- package/dist/services/dop/quick-sync/graphql/index.d.ts +1976 -0
- package/dist/services/dop/quick-sync/graphql/index.js +512 -0
- package/dist/services/dop/quick-sync/graphql/index.js.map +1 -0
- package/dist/services/dop/quick-sync/quick-sync-graph.d.ts +2 -0
- package/dist/services/dop/quick-sync/quick-sync-graph.js +150 -0
- package/dist/services/dop/quick-sync/quick-sync-graph.js.map +1 -0
- package/dist/services/dop/util/bytes.d.ts +5 -0
- package/dist/services/dop/util/bytes.js +21 -0
- package/dist/services/dop/util/bytes.js.map +1 -0
- package/dist/services/dop/util/commitment.d.ts +2 -0
- package/dist/services/dop/util/commitment.js +17 -0
- package/dist/services/dop/util/commitment.js.map +1 -0
- package/dist/services/dop/util/crypto.d.ts +14 -0
- package/dist/services/dop/util/crypto.js +79 -0
- package/dist/services/dop/util/crypto.js.map +1 -0
- package/dist/services/dop/util/db.d.ts +2 -0
- package/dist/services/dop/util/db.js +6 -0
- package/dist/services/dop/util/db.js.map +1 -0
- package/dist/services/dop/util/index.d.ts +4 -0
- package/dist/services/dop/util/index.js +21 -0
- package/dist/services/dop/util/index.js.map +1 -0
- package/dist/services/dop/wallets/balance-update.d.ts +8 -0
- package/dist/services/dop/wallets/balance-update.js +90 -0
- package/dist/services/dop/wallets/balance-update.js.map +1 -0
- package/dist/services/dop/wallets/balances.d.ts +6 -0
- package/dist/services/dop/wallets/balances.js +57 -0
- package/dist/services/dop/wallets/balances.js.map +1 -0
- package/dist/services/dop/wallets/index.d.ts +4 -0
- package/dist/services/dop/wallets/index.js +21 -0
- package/dist/services/dop/wallets/index.js.map +1 -0
- package/dist/services/dop/wallets/wallets.d.ts +19 -0
- package/dist/services/dop/wallets/wallets.js +226 -0
- package/dist/services/dop/wallets/wallets.js.map +1 -0
- package/dist/services/ethers/ethers-util.d.ts +1 -0
- package/dist/services/ethers/ethers-util.js +9 -0
- package/dist/services/ethers/ethers-util.js.map +1 -0
- package/dist/services/ethers/index.d.ts +1 -0
- package/dist/services/ethers/index.js +18 -0
- package/dist/services/ethers/index.js.map +1 -0
- package/dist/services/index.d.ts +4 -0
- package/dist/services/index.js +21 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/transactions/index.d.ts +13 -0
- package/dist/services/transactions/index.js +30 -0
- package/dist/services/transactions/index.js.map +1 -0
- package/dist/services/transactions/proof-cache.d.ts +27 -0
- package/dist/services/transactions/proof-cache.js +128 -0
- package/dist/services/transactions/proof-cache.js.map +1 -0
- package/dist/services/transactions/tx-cross-contract-calls.d.ts +9 -0
- package/dist/services/transactions/tx-cross-contract-calls.js +386 -0
- package/dist/services/transactions/tx-cross-contract-calls.js.map +1 -0
- package/dist/services/transactions/tx-gas-details.d.ts +5 -0
- package/dist/services/transactions/tx-gas-details.js +120 -0
- package/dist/services/transactions/tx-gas-details.js.map +1 -0
- package/dist/services/transactions/tx-gas-relayer-fee-estimator.d.ts +2 -0
- package/dist/services/transactions/tx-gas-relayer-fee-estimator.js +209 -0
- package/dist/services/transactions/tx-gas-relayer-fee-estimator.js.map +1 -0
- package/dist/services/transactions/tx-generator.d.ts +9 -0
- package/dist/services/transactions/tx-generator.js +205 -0
- package/dist/services/transactions/tx-generator.js.map +1 -0
- package/dist/services/transactions/tx-notes.d.ts +10 -0
- package/dist/services/transactions/tx-notes.js +154 -0
- package/dist/services/transactions/tx-notes.js.map +1 -0
- package/dist/services/transactions/tx-nullifiers.d.ts +2 -0
- package/dist/services/transactions/tx-nullifiers.js +17 -0
- package/dist/services/transactions/tx-nullifiers.js.map +1 -0
- package/dist/services/transactions/tx-proof-transfer.d.ts +4 -0
- package/dist/services/transactions/tx-proof-transfer.js +49 -0
- package/dist/services/transactions/tx-proof-transfer.js.map +1 -0
- package/dist/services/transactions/tx-proof-unshield.d.ts +3 -0
- package/dist/services/transactions/tx-proof-unshield.js +183 -0
- package/dist/services/transactions/tx-proof-unshield.js.map +1 -0
- package/dist/services/transactions/tx-shield-base-token.d.ts +3 -0
- package/dist/services/transactions/tx-shield-base-token.js +61 -0
- package/dist/services/transactions/tx-shield-base-token.js.map +1 -0
- package/dist/services/transactions/tx-shield.d.ts +6 -0
- package/dist/services/transactions/tx-shield.js +84 -0
- package/dist/services/transactions/tx-shield.js.map +1 -0
- package/dist/services/transactions/tx-transfer.d.ts +2 -0
- package/dist/services/transactions/tx-transfer.js +78 -0
- package/dist/services/transactions/tx-transfer.js.map +1 -0
- package/dist/services/transactions/tx-unshield.d.ts +3 -0
- package/dist/services/transactions/tx-unshield.js +174 -0
- package/dist/services/transactions/tx-unshield.js.map +1 -0
- package/dist/utils/blocked-address.d.ts +2 -0
- package/dist/utils/blocked-address.js +21 -0
- package/dist/utils/blocked-address.js.map +1 -0
- package/dist/utils/error.d.ts +1 -0
- package/dist/utils/error.js +20 -0
- package/dist/utils/error.js.map +1 -0
- package/dist/utils/gas-price.d.ts +6 -0
- package/dist/utils/gas-price.js +31 -0
- package/dist/utils/gas-price.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +20 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/logger.d.ts +3 -0
- package/dist/utils/logger.js +21 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.js +47 -0
- package/dist/utils/utils.js.map +1 -0
- package/package.json +85 -0
- package/postinstall.js +52 -0
- package/react-native-shims.js +42 -0
|
@@ -0,0 +1,1976 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TO UPDATE:
|
|
3
|
+
* 1. Find all places that are "MODIFIED", move them into the new built index.ts (in .graphclient)
|
|
4
|
+
* 2. add these comments (including eslint disables)
|
|
5
|
+
* 3. move the modified index file to quick-sync/graphql/
|
|
6
|
+
*/
|
|
7
|
+
import { GraphQLResolveInfo, SelectionSetNode, FieldNode, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
|
8
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
9
|
+
import type { GetMeshOptions } from '@graphql-mesh/runtime';
|
|
10
|
+
import type { YamlConfig } from '@graphql-mesh/types';
|
|
11
|
+
import { ExecuteMeshFn, SubscribeMeshFn, MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime';
|
|
12
|
+
import { MeshHTTPHandler } from '@graphql-mesh/http';
|
|
13
|
+
import type { BscTypes } from './.graphclient/sources/bsc/types';
|
|
14
|
+
import type { GoerliTypes } from './.graphclient/sources/goerli/types';
|
|
15
|
+
import type { ArbitrumOneTypes } from './.graphclient/sources/arbitrum-one/types';
|
|
16
|
+
import type { MaticTypes } from './.graphclient/sources/matic/types';
|
|
17
|
+
import type { MumbaiTypes } from './.graphclient/sources/mumbai/types';
|
|
18
|
+
import type { ArbitrumGoerliTypes } from './.graphclient/sources/arbitrum-goerli/types';
|
|
19
|
+
import type { EthereumTypes } from './.graphclient/sources/ethereum/types';
|
|
20
|
+
export type Maybe<T> = T | null;
|
|
21
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
22
|
+
export type Exact<T extends {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
};
|
|
27
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
28
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
29
|
+
};
|
|
30
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
31
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
32
|
+
};
|
|
33
|
+
export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
|
34
|
+
[P in K]-?: NonNullable<T[P]>;
|
|
35
|
+
};
|
|
36
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
37
|
+
export type Scalars = {
|
|
38
|
+
ID: string;
|
|
39
|
+
String: string;
|
|
40
|
+
Boolean: boolean;
|
|
41
|
+
Int: number;
|
|
42
|
+
Float: number;
|
|
43
|
+
BigDecimal: string;
|
|
44
|
+
BigInt: string;
|
|
45
|
+
Bytes: string;
|
|
46
|
+
};
|
|
47
|
+
export type Query = {
|
|
48
|
+
token?: Maybe<Token>;
|
|
49
|
+
tokens: Array<Token>;
|
|
50
|
+
commitmentPreimage?: Maybe<CommitmentPreimage>;
|
|
51
|
+
commitmentPreimages: Array<CommitmentPreimage>;
|
|
52
|
+
ciphertext?: Maybe<Ciphertext>;
|
|
53
|
+
ciphertexts: Array<Ciphertext>;
|
|
54
|
+
legacyCommitmentCiphertext?: Maybe<LegacyCommitmentCiphertext>;
|
|
55
|
+
legacyCommitmentCiphertexts: Array<LegacyCommitmentCiphertext>;
|
|
56
|
+
commitmentCiphertext?: Maybe<CommitmentCiphertext>;
|
|
57
|
+
commitmentCiphertexts: Array<CommitmentCiphertext>;
|
|
58
|
+
legacyGeneratedCommitment?: Maybe<LegacyGeneratedCommitment>;
|
|
59
|
+
legacyGeneratedCommitments: Array<LegacyGeneratedCommitment>;
|
|
60
|
+
legacyEncryptedCommitment?: Maybe<LegacyEncryptedCommitment>;
|
|
61
|
+
legacyEncryptedCommitments: Array<LegacyEncryptedCommitment>;
|
|
62
|
+
encryptCommitment?: Maybe<EncryptCommitment>;
|
|
63
|
+
encryptCommitments: Array<EncryptCommitment>;
|
|
64
|
+
transactCommitment?: Maybe<TransactCommitment>;
|
|
65
|
+
transactCommitments: Array<TransactCommitment>;
|
|
66
|
+
unshield?: Maybe<Unshield>;
|
|
67
|
+
unshields: Array<Unshield>;
|
|
68
|
+
nullifier?: Maybe<Nullifier>;
|
|
69
|
+
nullifiers: Array<Nullifier>;
|
|
70
|
+
commitment?: Maybe<Commitment>;
|
|
71
|
+
commitments: Array<Commitment>;
|
|
72
|
+
/** Access to subgraph metadata */
|
|
73
|
+
_meta?: Maybe<_Meta_>;
|
|
74
|
+
};
|
|
75
|
+
export type QuerytokenArgs = {
|
|
76
|
+
id: Scalars['ID'];
|
|
77
|
+
block?: InputMaybe<Block_height>;
|
|
78
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
79
|
+
};
|
|
80
|
+
export type QuerytokensArgs = {
|
|
81
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
82
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
83
|
+
orderBy?: InputMaybe<Token_orderBy>;
|
|
84
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
85
|
+
where?: InputMaybe<Token_filter>;
|
|
86
|
+
block?: InputMaybe<Block_height>;
|
|
87
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
88
|
+
};
|
|
89
|
+
export type QuerycommitmentPreimageArgs = {
|
|
90
|
+
id: Scalars['ID'];
|
|
91
|
+
block?: InputMaybe<Block_height>;
|
|
92
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
93
|
+
};
|
|
94
|
+
export type QuerycommitmentPreimagesArgs = {
|
|
95
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
96
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
97
|
+
orderBy?: InputMaybe<CommitmentPreimage_orderBy>;
|
|
98
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
99
|
+
where?: InputMaybe<CommitmentPreimage_filter>;
|
|
100
|
+
block?: InputMaybe<Block_height>;
|
|
101
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
102
|
+
};
|
|
103
|
+
export type QueryciphertextArgs = {
|
|
104
|
+
id: Scalars['ID'];
|
|
105
|
+
block?: InputMaybe<Block_height>;
|
|
106
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
107
|
+
};
|
|
108
|
+
export type QueryciphertextsArgs = {
|
|
109
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
110
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
111
|
+
orderBy?: InputMaybe<Ciphertext_orderBy>;
|
|
112
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
113
|
+
where?: InputMaybe<Ciphertext_filter>;
|
|
114
|
+
block?: InputMaybe<Block_height>;
|
|
115
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
116
|
+
};
|
|
117
|
+
export type QuerylegacyCommitmentCiphertextArgs = {
|
|
118
|
+
id: Scalars['ID'];
|
|
119
|
+
block?: InputMaybe<Block_height>;
|
|
120
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
121
|
+
};
|
|
122
|
+
export type QuerylegacyCommitmentCiphertextsArgs = {
|
|
123
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
124
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
125
|
+
orderBy?: InputMaybe<LegacyCommitmentCiphertext_orderBy>;
|
|
126
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
127
|
+
where?: InputMaybe<LegacyCommitmentCiphertext_filter>;
|
|
128
|
+
block?: InputMaybe<Block_height>;
|
|
129
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
130
|
+
};
|
|
131
|
+
export type QuerycommitmentCiphertextArgs = {
|
|
132
|
+
id: Scalars['ID'];
|
|
133
|
+
block?: InputMaybe<Block_height>;
|
|
134
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
135
|
+
};
|
|
136
|
+
export type QuerycommitmentCiphertextsArgs = {
|
|
137
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
138
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
139
|
+
orderBy?: InputMaybe<CommitmentCiphertext_orderBy>;
|
|
140
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
141
|
+
where?: InputMaybe<CommitmentCiphertext_filter>;
|
|
142
|
+
block?: InputMaybe<Block_height>;
|
|
143
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
144
|
+
};
|
|
145
|
+
export type QuerylegacyGeneratedCommitmentArgs = {
|
|
146
|
+
id: Scalars['ID'];
|
|
147
|
+
block?: InputMaybe<Block_height>;
|
|
148
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
149
|
+
};
|
|
150
|
+
export type QuerylegacyGeneratedCommitmentsArgs = {
|
|
151
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
152
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
153
|
+
orderBy?: InputMaybe<LegacyGeneratedCommitment_orderBy>;
|
|
154
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
155
|
+
where?: InputMaybe<LegacyGeneratedCommitment_filter>;
|
|
156
|
+
block?: InputMaybe<Block_height>;
|
|
157
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
158
|
+
};
|
|
159
|
+
export type QuerylegacyEncryptedCommitmentArgs = {
|
|
160
|
+
id: Scalars['ID'];
|
|
161
|
+
block?: InputMaybe<Block_height>;
|
|
162
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
163
|
+
};
|
|
164
|
+
export type QuerylegacyEncryptedCommitmentsArgs = {
|
|
165
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
166
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
167
|
+
orderBy?: InputMaybe<LegacyEncryptedCommitment_orderBy>;
|
|
168
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
169
|
+
where?: InputMaybe<LegacyEncryptedCommitment_filter>;
|
|
170
|
+
block?: InputMaybe<Block_height>;
|
|
171
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
172
|
+
};
|
|
173
|
+
export type QueryencryptCommitmentArgs = {
|
|
174
|
+
id: Scalars['ID'];
|
|
175
|
+
block?: InputMaybe<Block_height>;
|
|
176
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
177
|
+
};
|
|
178
|
+
export type QueryencryptCommitmentsArgs = {
|
|
179
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
180
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
181
|
+
orderBy?: InputMaybe<EncryptCommitment_orderBy>;
|
|
182
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
183
|
+
where?: InputMaybe<EncryptCommitment_filter>;
|
|
184
|
+
block?: InputMaybe<Block_height>;
|
|
185
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
186
|
+
};
|
|
187
|
+
export type QuerytransactCommitmentArgs = {
|
|
188
|
+
id: Scalars['ID'];
|
|
189
|
+
block?: InputMaybe<Block_height>;
|
|
190
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
191
|
+
};
|
|
192
|
+
export type QuerytransactCommitmentsArgs = {
|
|
193
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
194
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
195
|
+
orderBy?: InputMaybe<TransactCommitment_orderBy>;
|
|
196
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
197
|
+
where?: InputMaybe<TransactCommitment_filter>;
|
|
198
|
+
block?: InputMaybe<Block_height>;
|
|
199
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
200
|
+
};
|
|
201
|
+
export type QueryunshieldArgs = {
|
|
202
|
+
id: Scalars['ID'];
|
|
203
|
+
block?: InputMaybe<Block_height>;
|
|
204
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
205
|
+
};
|
|
206
|
+
export type QueryunshieldsArgs = {
|
|
207
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
208
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
209
|
+
orderBy?: InputMaybe<Unshield_orderBy>;
|
|
210
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
211
|
+
where?: InputMaybe<Unshield_filter>;
|
|
212
|
+
block?: InputMaybe<Block_height>;
|
|
213
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
214
|
+
};
|
|
215
|
+
export type QuerynullifierArgs = {
|
|
216
|
+
id: Scalars['ID'];
|
|
217
|
+
block?: InputMaybe<Block_height>;
|
|
218
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
219
|
+
};
|
|
220
|
+
export type QuerynullifiersArgs = {
|
|
221
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
222
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
223
|
+
orderBy?: InputMaybe<Nullifier_orderBy>;
|
|
224
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
225
|
+
where?: InputMaybe<Nullifier_filter>;
|
|
226
|
+
block?: InputMaybe<Block_height>;
|
|
227
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
228
|
+
};
|
|
229
|
+
export type QuerycommitmentArgs = {
|
|
230
|
+
id: Scalars['ID'];
|
|
231
|
+
block?: InputMaybe<Block_height>;
|
|
232
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
233
|
+
};
|
|
234
|
+
export type QuerycommitmentsArgs = {
|
|
235
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
236
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
237
|
+
orderBy?: InputMaybe<Commitment_orderBy>;
|
|
238
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
239
|
+
where?: InputMaybe<Commitment_filter>;
|
|
240
|
+
block?: InputMaybe<Block_height>;
|
|
241
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
242
|
+
};
|
|
243
|
+
export type Query_metaArgs = {
|
|
244
|
+
block?: InputMaybe<Block_height>;
|
|
245
|
+
};
|
|
246
|
+
export type Subscription = {
|
|
247
|
+
token?: Maybe<Token>;
|
|
248
|
+
tokens: Array<Token>;
|
|
249
|
+
commitmentPreimage?: Maybe<CommitmentPreimage>;
|
|
250
|
+
commitmentPreimages: Array<CommitmentPreimage>;
|
|
251
|
+
ciphertext?: Maybe<Ciphertext>;
|
|
252
|
+
ciphertexts: Array<Ciphertext>;
|
|
253
|
+
legacyCommitmentCiphertext?: Maybe<LegacyCommitmentCiphertext>;
|
|
254
|
+
legacyCommitmentCiphertexts: Array<LegacyCommitmentCiphertext>;
|
|
255
|
+
commitmentCiphertext?: Maybe<CommitmentCiphertext>;
|
|
256
|
+
commitmentCiphertexts: Array<CommitmentCiphertext>;
|
|
257
|
+
legacyGeneratedCommitment?: Maybe<LegacyGeneratedCommitment>;
|
|
258
|
+
legacyGeneratedCommitments: Array<LegacyGeneratedCommitment>;
|
|
259
|
+
legacyEncryptedCommitment?: Maybe<LegacyEncryptedCommitment>;
|
|
260
|
+
legacyEncryptedCommitments: Array<LegacyEncryptedCommitment>;
|
|
261
|
+
encryptCommitment?: Maybe<EncryptCommitment>;
|
|
262
|
+
encryptCommitments: Array<EncryptCommitment>;
|
|
263
|
+
transactCommitment?: Maybe<TransactCommitment>;
|
|
264
|
+
transactCommitments: Array<TransactCommitment>;
|
|
265
|
+
unshield?: Maybe<Unshield>;
|
|
266
|
+
unshields: Array<Unshield>;
|
|
267
|
+
nullifier?: Maybe<Nullifier>;
|
|
268
|
+
nullifiers: Array<Nullifier>;
|
|
269
|
+
commitment?: Maybe<Commitment>;
|
|
270
|
+
commitments: Array<Commitment>;
|
|
271
|
+
/** Access to subgraph metadata */
|
|
272
|
+
_meta?: Maybe<_Meta_>;
|
|
273
|
+
};
|
|
274
|
+
export type SubscriptiontokenArgs = {
|
|
275
|
+
id: Scalars['ID'];
|
|
276
|
+
block?: InputMaybe<Block_height>;
|
|
277
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
278
|
+
};
|
|
279
|
+
export type SubscriptiontokensArgs = {
|
|
280
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
281
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
282
|
+
orderBy?: InputMaybe<Token_orderBy>;
|
|
283
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
284
|
+
where?: InputMaybe<Token_filter>;
|
|
285
|
+
block?: InputMaybe<Block_height>;
|
|
286
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
287
|
+
};
|
|
288
|
+
export type SubscriptioncommitmentPreimageArgs = {
|
|
289
|
+
id: Scalars['ID'];
|
|
290
|
+
block?: InputMaybe<Block_height>;
|
|
291
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
292
|
+
};
|
|
293
|
+
export type SubscriptioncommitmentPreimagesArgs = {
|
|
294
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
295
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
296
|
+
orderBy?: InputMaybe<CommitmentPreimage_orderBy>;
|
|
297
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
298
|
+
where?: InputMaybe<CommitmentPreimage_filter>;
|
|
299
|
+
block?: InputMaybe<Block_height>;
|
|
300
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
301
|
+
};
|
|
302
|
+
export type SubscriptionciphertextArgs = {
|
|
303
|
+
id: Scalars['ID'];
|
|
304
|
+
block?: InputMaybe<Block_height>;
|
|
305
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
306
|
+
};
|
|
307
|
+
export type SubscriptionciphertextsArgs = {
|
|
308
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
309
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
310
|
+
orderBy?: InputMaybe<Ciphertext_orderBy>;
|
|
311
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
312
|
+
where?: InputMaybe<Ciphertext_filter>;
|
|
313
|
+
block?: InputMaybe<Block_height>;
|
|
314
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
315
|
+
};
|
|
316
|
+
export type SubscriptionlegacyCommitmentCiphertextArgs = {
|
|
317
|
+
id: Scalars['ID'];
|
|
318
|
+
block?: InputMaybe<Block_height>;
|
|
319
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
320
|
+
};
|
|
321
|
+
export type SubscriptionlegacyCommitmentCiphertextsArgs = {
|
|
322
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
323
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
324
|
+
orderBy?: InputMaybe<LegacyCommitmentCiphertext_orderBy>;
|
|
325
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
326
|
+
where?: InputMaybe<LegacyCommitmentCiphertext_filter>;
|
|
327
|
+
block?: InputMaybe<Block_height>;
|
|
328
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
329
|
+
};
|
|
330
|
+
export type SubscriptioncommitmentCiphertextArgs = {
|
|
331
|
+
id: Scalars['ID'];
|
|
332
|
+
block?: InputMaybe<Block_height>;
|
|
333
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
334
|
+
};
|
|
335
|
+
export type SubscriptioncommitmentCiphertextsArgs = {
|
|
336
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
337
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
338
|
+
orderBy?: InputMaybe<CommitmentCiphertext_orderBy>;
|
|
339
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
340
|
+
where?: InputMaybe<CommitmentCiphertext_filter>;
|
|
341
|
+
block?: InputMaybe<Block_height>;
|
|
342
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
343
|
+
};
|
|
344
|
+
export type SubscriptionlegacyGeneratedCommitmentArgs = {
|
|
345
|
+
id: Scalars['ID'];
|
|
346
|
+
block?: InputMaybe<Block_height>;
|
|
347
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
348
|
+
};
|
|
349
|
+
export type SubscriptionlegacyGeneratedCommitmentsArgs = {
|
|
350
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
351
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
352
|
+
orderBy?: InputMaybe<LegacyGeneratedCommitment_orderBy>;
|
|
353
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
354
|
+
where?: InputMaybe<LegacyGeneratedCommitment_filter>;
|
|
355
|
+
block?: InputMaybe<Block_height>;
|
|
356
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
357
|
+
};
|
|
358
|
+
export type SubscriptionlegacyEncryptedCommitmentArgs = {
|
|
359
|
+
id: Scalars['ID'];
|
|
360
|
+
block?: InputMaybe<Block_height>;
|
|
361
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
362
|
+
};
|
|
363
|
+
export type SubscriptionlegacyEncryptedCommitmentsArgs = {
|
|
364
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
365
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
366
|
+
orderBy?: InputMaybe<LegacyEncryptedCommitment_orderBy>;
|
|
367
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
368
|
+
where?: InputMaybe<LegacyEncryptedCommitment_filter>;
|
|
369
|
+
block?: InputMaybe<Block_height>;
|
|
370
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
371
|
+
};
|
|
372
|
+
export type SubscriptionencryptCommitmentArgs = {
|
|
373
|
+
id: Scalars['ID'];
|
|
374
|
+
block?: InputMaybe<Block_height>;
|
|
375
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
376
|
+
};
|
|
377
|
+
export type SubscriptionencryptCommitmentsArgs = {
|
|
378
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
379
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
380
|
+
orderBy?: InputMaybe<EncryptCommitment_orderBy>;
|
|
381
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
382
|
+
where?: InputMaybe<EncryptCommitment_filter>;
|
|
383
|
+
block?: InputMaybe<Block_height>;
|
|
384
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
385
|
+
};
|
|
386
|
+
export type SubscriptiontransactCommitmentArgs = {
|
|
387
|
+
id: Scalars['ID'];
|
|
388
|
+
block?: InputMaybe<Block_height>;
|
|
389
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
390
|
+
};
|
|
391
|
+
export type SubscriptiontransactCommitmentsArgs = {
|
|
392
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
393
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
394
|
+
orderBy?: InputMaybe<TransactCommitment_orderBy>;
|
|
395
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
396
|
+
where?: InputMaybe<TransactCommitment_filter>;
|
|
397
|
+
block?: InputMaybe<Block_height>;
|
|
398
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
399
|
+
};
|
|
400
|
+
export type SubscriptionunshieldArgs = {
|
|
401
|
+
id: Scalars['ID'];
|
|
402
|
+
block?: InputMaybe<Block_height>;
|
|
403
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
404
|
+
};
|
|
405
|
+
export type SubscriptionunshieldsArgs = {
|
|
406
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
407
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
408
|
+
orderBy?: InputMaybe<Unshield_orderBy>;
|
|
409
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
410
|
+
where?: InputMaybe<Unshield_filter>;
|
|
411
|
+
block?: InputMaybe<Block_height>;
|
|
412
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
413
|
+
};
|
|
414
|
+
export type SubscriptionnullifierArgs = {
|
|
415
|
+
id: Scalars['ID'];
|
|
416
|
+
block?: InputMaybe<Block_height>;
|
|
417
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
418
|
+
};
|
|
419
|
+
export type SubscriptionnullifiersArgs = {
|
|
420
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
421
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
422
|
+
orderBy?: InputMaybe<Nullifier_orderBy>;
|
|
423
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
424
|
+
where?: InputMaybe<Nullifier_filter>;
|
|
425
|
+
block?: InputMaybe<Block_height>;
|
|
426
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
427
|
+
};
|
|
428
|
+
export type SubscriptioncommitmentArgs = {
|
|
429
|
+
id: Scalars['ID'];
|
|
430
|
+
block?: InputMaybe<Block_height>;
|
|
431
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
432
|
+
};
|
|
433
|
+
export type SubscriptioncommitmentsArgs = {
|
|
434
|
+
skip?: InputMaybe<Scalars['Int']>;
|
|
435
|
+
first?: InputMaybe<Scalars['Int']>;
|
|
436
|
+
orderBy?: InputMaybe<Commitment_orderBy>;
|
|
437
|
+
orderDirection?: InputMaybe<OrderDirection>;
|
|
438
|
+
where?: InputMaybe<Commitment_filter>;
|
|
439
|
+
block?: InputMaybe<Block_height>;
|
|
440
|
+
subgraphError?: _SubgraphErrorPolicy_;
|
|
441
|
+
};
|
|
442
|
+
export type Subscription_metaArgs = {
|
|
443
|
+
block?: InputMaybe<Block_height>;
|
|
444
|
+
};
|
|
445
|
+
export type BlockChangedFilter = {
|
|
446
|
+
number_gte: Scalars['Int'];
|
|
447
|
+
};
|
|
448
|
+
export type Block_height = {
|
|
449
|
+
hash?: InputMaybe<Scalars['Bytes']>;
|
|
450
|
+
number?: InputMaybe<Scalars['Int']>;
|
|
451
|
+
number_gte?: InputMaybe<Scalars['Int']>;
|
|
452
|
+
};
|
|
453
|
+
export type Ciphertext = {
|
|
454
|
+
id: Scalars['Bytes'];
|
|
455
|
+
iv: Scalars['Bytes'];
|
|
456
|
+
tag: Scalars['Bytes'];
|
|
457
|
+
data: Array<Scalars['Bytes']>;
|
|
458
|
+
};
|
|
459
|
+
export type Ciphertext_filter = {
|
|
460
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
461
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
462
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
463
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
464
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
465
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
466
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
467
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
468
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
469
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
470
|
+
iv?: InputMaybe<Scalars['Bytes']>;
|
|
471
|
+
iv_not?: InputMaybe<Scalars['Bytes']>;
|
|
472
|
+
iv_gt?: InputMaybe<Scalars['Bytes']>;
|
|
473
|
+
iv_lt?: InputMaybe<Scalars['Bytes']>;
|
|
474
|
+
iv_gte?: InputMaybe<Scalars['Bytes']>;
|
|
475
|
+
iv_lte?: InputMaybe<Scalars['Bytes']>;
|
|
476
|
+
iv_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
477
|
+
iv_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
478
|
+
iv_contains?: InputMaybe<Scalars['Bytes']>;
|
|
479
|
+
iv_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
480
|
+
tag?: InputMaybe<Scalars['Bytes']>;
|
|
481
|
+
tag_not?: InputMaybe<Scalars['Bytes']>;
|
|
482
|
+
tag_gt?: InputMaybe<Scalars['Bytes']>;
|
|
483
|
+
tag_lt?: InputMaybe<Scalars['Bytes']>;
|
|
484
|
+
tag_gte?: InputMaybe<Scalars['Bytes']>;
|
|
485
|
+
tag_lte?: InputMaybe<Scalars['Bytes']>;
|
|
486
|
+
tag_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
487
|
+
tag_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
488
|
+
tag_contains?: InputMaybe<Scalars['Bytes']>;
|
|
489
|
+
tag_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
490
|
+
data?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
491
|
+
data_not?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
492
|
+
data_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
493
|
+
data_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
494
|
+
data_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
495
|
+
data_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
496
|
+
/** Filter for the block changed event. */
|
|
497
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
498
|
+
and?: InputMaybe<Array<InputMaybe<Ciphertext_filter>>>;
|
|
499
|
+
or?: InputMaybe<Array<InputMaybe<Ciphertext_filter>>>;
|
|
500
|
+
};
|
|
501
|
+
export type Ciphertext_orderBy = 'id' | 'iv' | 'tag' | 'data';
|
|
502
|
+
export type Commitment = {
|
|
503
|
+
id: Scalars['Bytes'];
|
|
504
|
+
blockNumber: Scalars['BigInt'];
|
|
505
|
+
blockTimestamp: Scalars['BigInt'];
|
|
506
|
+
transactionHash: Scalars['Bytes'];
|
|
507
|
+
treeNumber: Scalars['Int'];
|
|
508
|
+
batchStartTreePosition: Scalars['Int'];
|
|
509
|
+
treePosition: Scalars['Int'];
|
|
510
|
+
commitmentType: CommitmentType;
|
|
511
|
+
hash: Scalars['BigInt'];
|
|
512
|
+
};
|
|
513
|
+
export type CommitmentCiphertext = {
|
|
514
|
+
id: Scalars['Bytes'];
|
|
515
|
+
ciphertext: Ciphertext;
|
|
516
|
+
blindedSenderViewingKey: Scalars['Bytes'];
|
|
517
|
+
blindedReceiverViewingKey: Scalars['Bytes'];
|
|
518
|
+
annotationData: Scalars['Bytes'];
|
|
519
|
+
memo: Scalars['Bytes'];
|
|
520
|
+
};
|
|
521
|
+
export type CommitmentCiphertext_filter = {
|
|
522
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
523
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
524
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
525
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
526
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
527
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
528
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
529
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
530
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
531
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
532
|
+
ciphertext?: InputMaybe<Scalars['String']>;
|
|
533
|
+
ciphertext_not?: InputMaybe<Scalars['String']>;
|
|
534
|
+
ciphertext_gt?: InputMaybe<Scalars['String']>;
|
|
535
|
+
ciphertext_lt?: InputMaybe<Scalars['String']>;
|
|
536
|
+
ciphertext_gte?: InputMaybe<Scalars['String']>;
|
|
537
|
+
ciphertext_lte?: InputMaybe<Scalars['String']>;
|
|
538
|
+
ciphertext_in?: InputMaybe<Array<Scalars['String']>>;
|
|
539
|
+
ciphertext_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
540
|
+
ciphertext_contains?: InputMaybe<Scalars['String']>;
|
|
541
|
+
ciphertext_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
542
|
+
ciphertext_not_contains?: InputMaybe<Scalars['String']>;
|
|
543
|
+
ciphertext_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
544
|
+
ciphertext_starts_with?: InputMaybe<Scalars['String']>;
|
|
545
|
+
ciphertext_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
546
|
+
ciphertext_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
547
|
+
ciphertext_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
548
|
+
ciphertext_ends_with?: InputMaybe<Scalars['String']>;
|
|
549
|
+
ciphertext_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
550
|
+
ciphertext_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
551
|
+
ciphertext_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
552
|
+
ciphertext_?: InputMaybe<Ciphertext_filter>;
|
|
553
|
+
blindedSenderViewingKey?: InputMaybe<Scalars['Bytes']>;
|
|
554
|
+
blindedSenderViewingKey_not?: InputMaybe<Scalars['Bytes']>;
|
|
555
|
+
blindedSenderViewingKey_gt?: InputMaybe<Scalars['Bytes']>;
|
|
556
|
+
blindedSenderViewingKey_lt?: InputMaybe<Scalars['Bytes']>;
|
|
557
|
+
blindedSenderViewingKey_gte?: InputMaybe<Scalars['Bytes']>;
|
|
558
|
+
blindedSenderViewingKey_lte?: InputMaybe<Scalars['Bytes']>;
|
|
559
|
+
blindedSenderViewingKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
560
|
+
blindedSenderViewingKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
561
|
+
blindedSenderViewingKey_contains?: InputMaybe<Scalars['Bytes']>;
|
|
562
|
+
blindedSenderViewingKey_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
563
|
+
blindedReceiverViewingKey?: InputMaybe<Scalars['Bytes']>;
|
|
564
|
+
blindedReceiverViewingKey_not?: InputMaybe<Scalars['Bytes']>;
|
|
565
|
+
blindedReceiverViewingKey_gt?: InputMaybe<Scalars['Bytes']>;
|
|
566
|
+
blindedReceiverViewingKey_lt?: InputMaybe<Scalars['Bytes']>;
|
|
567
|
+
blindedReceiverViewingKey_gte?: InputMaybe<Scalars['Bytes']>;
|
|
568
|
+
blindedReceiverViewingKey_lte?: InputMaybe<Scalars['Bytes']>;
|
|
569
|
+
blindedReceiverViewingKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
570
|
+
blindedReceiverViewingKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
571
|
+
blindedReceiverViewingKey_contains?: InputMaybe<Scalars['Bytes']>;
|
|
572
|
+
blindedReceiverViewingKey_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
573
|
+
annotationData?: InputMaybe<Scalars['Bytes']>;
|
|
574
|
+
annotationData_not?: InputMaybe<Scalars['Bytes']>;
|
|
575
|
+
annotationData_gt?: InputMaybe<Scalars['Bytes']>;
|
|
576
|
+
annotationData_lt?: InputMaybe<Scalars['Bytes']>;
|
|
577
|
+
annotationData_gte?: InputMaybe<Scalars['Bytes']>;
|
|
578
|
+
annotationData_lte?: InputMaybe<Scalars['Bytes']>;
|
|
579
|
+
annotationData_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
580
|
+
annotationData_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
581
|
+
annotationData_contains?: InputMaybe<Scalars['Bytes']>;
|
|
582
|
+
annotationData_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
583
|
+
memo?: InputMaybe<Scalars['Bytes']>;
|
|
584
|
+
memo_not?: InputMaybe<Scalars['Bytes']>;
|
|
585
|
+
memo_gt?: InputMaybe<Scalars['Bytes']>;
|
|
586
|
+
memo_lt?: InputMaybe<Scalars['Bytes']>;
|
|
587
|
+
memo_gte?: InputMaybe<Scalars['Bytes']>;
|
|
588
|
+
memo_lte?: InputMaybe<Scalars['Bytes']>;
|
|
589
|
+
memo_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
590
|
+
memo_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
591
|
+
memo_contains?: InputMaybe<Scalars['Bytes']>;
|
|
592
|
+
memo_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
593
|
+
/** Filter for the block changed event. */
|
|
594
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
595
|
+
and?: InputMaybe<Array<InputMaybe<CommitmentCiphertext_filter>>>;
|
|
596
|
+
or?: InputMaybe<Array<InputMaybe<CommitmentCiphertext_filter>>>;
|
|
597
|
+
};
|
|
598
|
+
export type CommitmentCiphertext_orderBy = 'id' | 'ciphertext' | 'ciphertext__id' | 'ciphertext__iv' | 'ciphertext__tag' | 'blindedSenderViewingKey' | 'blindedReceiverViewingKey' | 'annotationData' | 'memo';
|
|
599
|
+
export type CommitmentPreimage = {
|
|
600
|
+
id: Scalars['Bytes'];
|
|
601
|
+
npk: Scalars['Bytes'];
|
|
602
|
+
token: Token;
|
|
603
|
+
value: Scalars['BigInt'];
|
|
604
|
+
};
|
|
605
|
+
export type CommitmentPreimage_filter = {
|
|
606
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
607
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
608
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
609
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
610
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
611
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
612
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
613
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
614
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
615
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
616
|
+
npk?: InputMaybe<Scalars['Bytes']>;
|
|
617
|
+
npk_not?: InputMaybe<Scalars['Bytes']>;
|
|
618
|
+
npk_gt?: InputMaybe<Scalars['Bytes']>;
|
|
619
|
+
npk_lt?: InputMaybe<Scalars['Bytes']>;
|
|
620
|
+
npk_gte?: InputMaybe<Scalars['Bytes']>;
|
|
621
|
+
npk_lte?: InputMaybe<Scalars['Bytes']>;
|
|
622
|
+
npk_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
623
|
+
npk_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
624
|
+
npk_contains?: InputMaybe<Scalars['Bytes']>;
|
|
625
|
+
npk_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
626
|
+
token?: InputMaybe<Scalars['String']>;
|
|
627
|
+
token_not?: InputMaybe<Scalars['String']>;
|
|
628
|
+
token_gt?: InputMaybe<Scalars['String']>;
|
|
629
|
+
token_lt?: InputMaybe<Scalars['String']>;
|
|
630
|
+
token_gte?: InputMaybe<Scalars['String']>;
|
|
631
|
+
token_lte?: InputMaybe<Scalars['String']>;
|
|
632
|
+
token_in?: InputMaybe<Array<Scalars['String']>>;
|
|
633
|
+
token_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
634
|
+
token_contains?: InputMaybe<Scalars['String']>;
|
|
635
|
+
token_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
636
|
+
token_not_contains?: InputMaybe<Scalars['String']>;
|
|
637
|
+
token_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
638
|
+
token_starts_with?: InputMaybe<Scalars['String']>;
|
|
639
|
+
token_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
640
|
+
token_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
641
|
+
token_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
642
|
+
token_ends_with?: InputMaybe<Scalars['String']>;
|
|
643
|
+
token_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
644
|
+
token_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
645
|
+
token_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
646
|
+
token_?: InputMaybe<Token_filter>;
|
|
647
|
+
value?: InputMaybe<Scalars['BigInt']>;
|
|
648
|
+
value_not?: InputMaybe<Scalars['BigInt']>;
|
|
649
|
+
value_gt?: InputMaybe<Scalars['BigInt']>;
|
|
650
|
+
value_lt?: InputMaybe<Scalars['BigInt']>;
|
|
651
|
+
value_gte?: InputMaybe<Scalars['BigInt']>;
|
|
652
|
+
value_lte?: InputMaybe<Scalars['BigInt']>;
|
|
653
|
+
value_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
654
|
+
value_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
655
|
+
/** Filter for the block changed event. */
|
|
656
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
657
|
+
and?: InputMaybe<Array<InputMaybe<CommitmentPreimage_filter>>>;
|
|
658
|
+
or?: InputMaybe<Array<InputMaybe<CommitmentPreimage_filter>>>;
|
|
659
|
+
};
|
|
660
|
+
export type CommitmentPreimage_orderBy = 'id' | 'npk' | 'token' | 'token__id' | 'token__tokenType' | 'token__tokenAddress' | 'token__tokenSubID' | 'value';
|
|
661
|
+
export type CommitmentType = 'EncryptCommitment' | 'TransactCommitment' | 'LegacyGeneratedCommitment' | 'LegacyEncryptedCommitment';
|
|
662
|
+
export type Commitment_filter = {
|
|
663
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
664
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
665
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
666
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
667
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
668
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
669
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
670
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
671
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
672
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
673
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
674
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
675
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
676
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
677
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
678
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
679
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
680
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
681
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
682
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
683
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
684
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
685
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
686
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
687
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
688
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
689
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
690
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
691
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
692
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
693
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
694
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
695
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
696
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
697
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
698
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
699
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
700
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
701
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
702
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
703
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
704
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
705
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
706
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
707
|
+
batchStartTreePosition?: InputMaybe<Scalars['Int']>;
|
|
708
|
+
batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
|
|
709
|
+
batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
710
|
+
batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
711
|
+
batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
712
|
+
batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
713
|
+
batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
714
|
+
batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
715
|
+
treePosition?: InputMaybe<Scalars['Int']>;
|
|
716
|
+
treePosition_not?: InputMaybe<Scalars['Int']>;
|
|
717
|
+
treePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
718
|
+
treePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
719
|
+
treePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
720
|
+
treePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
721
|
+
treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
722
|
+
treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
723
|
+
commitmentType?: InputMaybe<CommitmentType>;
|
|
724
|
+
commitmentType_not?: InputMaybe<CommitmentType>;
|
|
725
|
+
commitmentType_in?: InputMaybe<Array<CommitmentType>>;
|
|
726
|
+
commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
|
|
727
|
+
hash?: InputMaybe<Scalars['BigInt']>;
|
|
728
|
+
hash_not?: InputMaybe<Scalars['BigInt']>;
|
|
729
|
+
hash_gt?: InputMaybe<Scalars['BigInt']>;
|
|
730
|
+
hash_lt?: InputMaybe<Scalars['BigInt']>;
|
|
731
|
+
hash_gte?: InputMaybe<Scalars['BigInt']>;
|
|
732
|
+
hash_lte?: InputMaybe<Scalars['BigInt']>;
|
|
733
|
+
hash_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
734
|
+
hash_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
735
|
+
/** Filter for the block changed event. */
|
|
736
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
737
|
+
and?: InputMaybe<Array<InputMaybe<Commitment_filter>>>;
|
|
738
|
+
or?: InputMaybe<Array<InputMaybe<Commitment_filter>>>;
|
|
739
|
+
};
|
|
740
|
+
export type Commitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash';
|
|
741
|
+
export type LegacyCommitmentCiphertext = {
|
|
742
|
+
id: Scalars['Bytes'];
|
|
743
|
+
ciphertext: Ciphertext;
|
|
744
|
+
ephemeralKeys: Array<Scalars['Bytes']>;
|
|
745
|
+
memo: Array<Scalars['Bytes']>;
|
|
746
|
+
};
|
|
747
|
+
export type LegacyCommitmentCiphertext_filter = {
|
|
748
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
749
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
750
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
751
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
752
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
753
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
754
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
755
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
756
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
757
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
758
|
+
ciphertext?: InputMaybe<Scalars['String']>;
|
|
759
|
+
ciphertext_not?: InputMaybe<Scalars['String']>;
|
|
760
|
+
ciphertext_gt?: InputMaybe<Scalars['String']>;
|
|
761
|
+
ciphertext_lt?: InputMaybe<Scalars['String']>;
|
|
762
|
+
ciphertext_gte?: InputMaybe<Scalars['String']>;
|
|
763
|
+
ciphertext_lte?: InputMaybe<Scalars['String']>;
|
|
764
|
+
ciphertext_in?: InputMaybe<Array<Scalars['String']>>;
|
|
765
|
+
ciphertext_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
766
|
+
ciphertext_contains?: InputMaybe<Scalars['String']>;
|
|
767
|
+
ciphertext_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
768
|
+
ciphertext_not_contains?: InputMaybe<Scalars['String']>;
|
|
769
|
+
ciphertext_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
770
|
+
ciphertext_starts_with?: InputMaybe<Scalars['String']>;
|
|
771
|
+
ciphertext_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
772
|
+
ciphertext_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
773
|
+
ciphertext_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
774
|
+
ciphertext_ends_with?: InputMaybe<Scalars['String']>;
|
|
775
|
+
ciphertext_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
776
|
+
ciphertext_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
777
|
+
ciphertext_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
778
|
+
ciphertext_?: InputMaybe<Ciphertext_filter>;
|
|
779
|
+
ephemeralKeys?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
780
|
+
ephemeralKeys_not?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
781
|
+
ephemeralKeys_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
782
|
+
ephemeralKeys_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
783
|
+
ephemeralKeys_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
784
|
+
ephemeralKeys_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
785
|
+
memo?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
786
|
+
memo_not?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
787
|
+
memo_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
788
|
+
memo_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
789
|
+
memo_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
790
|
+
memo_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
791
|
+
/** Filter for the block changed event. */
|
|
792
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
793
|
+
and?: InputMaybe<Array<InputMaybe<LegacyCommitmentCiphertext_filter>>>;
|
|
794
|
+
or?: InputMaybe<Array<InputMaybe<LegacyCommitmentCiphertext_filter>>>;
|
|
795
|
+
};
|
|
796
|
+
export type LegacyCommitmentCiphertext_orderBy = 'id' | 'ciphertext' | 'ciphertext__id' | 'ciphertext__iv' | 'ciphertext__tag' | 'ephemeralKeys' | 'memo';
|
|
797
|
+
export type LegacyEncryptedCommitment = Commitment & {
|
|
798
|
+
id: Scalars['Bytes'];
|
|
799
|
+
blockNumber: Scalars['BigInt'];
|
|
800
|
+
blockTimestamp: Scalars['BigInt'];
|
|
801
|
+
transactionHash: Scalars['Bytes'];
|
|
802
|
+
treeNumber: Scalars['Int'];
|
|
803
|
+
batchStartTreePosition: Scalars['Int'];
|
|
804
|
+
treePosition: Scalars['Int'];
|
|
805
|
+
commitmentType: CommitmentType;
|
|
806
|
+
hash: Scalars['BigInt'];
|
|
807
|
+
legacyCiphertext: LegacyCommitmentCiphertext;
|
|
808
|
+
};
|
|
809
|
+
export type LegacyEncryptedCommitment_filter = {
|
|
810
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
811
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
812
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
813
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
814
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
815
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
816
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
817
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
818
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
819
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
820
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
821
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
822
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
823
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
824
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
825
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
826
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
827
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
828
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
829
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
830
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
831
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
832
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
833
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
834
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
835
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
836
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
837
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
838
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
839
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
840
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
841
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
842
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
843
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
844
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
845
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
846
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
847
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
848
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
849
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
850
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
851
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
852
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
853
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
854
|
+
batchStartTreePosition?: InputMaybe<Scalars['Int']>;
|
|
855
|
+
batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
|
|
856
|
+
batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
857
|
+
batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
858
|
+
batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
859
|
+
batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
860
|
+
batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
861
|
+
batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
862
|
+
treePosition?: InputMaybe<Scalars['Int']>;
|
|
863
|
+
treePosition_not?: InputMaybe<Scalars['Int']>;
|
|
864
|
+
treePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
865
|
+
treePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
866
|
+
treePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
867
|
+
treePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
868
|
+
treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
869
|
+
treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
870
|
+
commitmentType?: InputMaybe<CommitmentType>;
|
|
871
|
+
commitmentType_not?: InputMaybe<CommitmentType>;
|
|
872
|
+
commitmentType_in?: InputMaybe<Array<CommitmentType>>;
|
|
873
|
+
commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
|
|
874
|
+
hash?: InputMaybe<Scalars['BigInt']>;
|
|
875
|
+
hash_not?: InputMaybe<Scalars['BigInt']>;
|
|
876
|
+
hash_gt?: InputMaybe<Scalars['BigInt']>;
|
|
877
|
+
hash_lt?: InputMaybe<Scalars['BigInt']>;
|
|
878
|
+
hash_gte?: InputMaybe<Scalars['BigInt']>;
|
|
879
|
+
hash_lte?: InputMaybe<Scalars['BigInt']>;
|
|
880
|
+
hash_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
881
|
+
hash_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
882
|
+
ciphertext?: InputMaybe<Scalars['String']>;
|
|
883
|
+
ciphertext_not?: InputMaybe<Scalars['String']>;
|
|
884
|
+
ciphertext_gt?: InputMaybe<Scalars['String']>;
|
|
885
|
+
ciphertext_lt?: InputMaybe<Scalars['String']>;
|
|
886
|
+
ciphertext_gte?: InputMaybe<Scalars['String']>;
|
|
887
|
+
ciphertext_lte?: InputMaybe<Scalars['String']>;
|
|
888
|
+
ciphertext_in?: InputMaybe<Array<Scalars['String']>>;
|
|
889
|
+
ciphertext_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
890
|
+
ciphertext_contains?: InputMaybe<Scalars['String']>;
|
|
891
|
+
ciphertext_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
892
|
+
ciphertext_not_contains?: InputMaybe<Scalars['String']>;
|
|
893
|
+
ciphertext_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
894
|
+
ciphertext_starts_with?: InputMaybe<Scalars['String']>;
|
|
895
|
+
ciphertext_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
896
|
+
ciphertext_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
897
|
+
ciphertext_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
898
|
+
ciphertext_ends_with?: InputMaybe<Scalars['String']>;
|
|
899
|
+
ciphertext_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
900
|
+
ciphertext_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
901
|
+
ciphertext_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
902
|
+
ciphertext_?: InputMaybe<LegacyCommitmentCiphertext_filter>;
|
|
903
|
+
/** Filter for the block changed event. */
|
|
904
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
905
|
+
and?: InputMaybe<Array<InputMaybe<LegacyEncryptedCommitment_filter>>>;
|
|
906
|
+
or?: InputMaybe<Array<InputMaybe<LegacyEncryptedCommitment_filter>>>;
|
|
907
|
+
};
|
|
908
|
+
export type LegacyEncryptedCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash' | 'ciphertext' | 'ciphertext__id';
|
|
909
|
+
export type LegacyGeneratedCommitment = Commitment & {
|
|
910
|
+
id: Scalars['Bytes'];
|
|
911
|
+
blockNumber: Scalars['BigInt'];
|
|
912
|
+
blockTimestamp: Scalars['BigInt'];
|
|
913
|
+
transactionHash: Scalars['Bytes'];
|
|
914
|
+
treeNumber: Scalars['Int'];
|
|
915
|
+
batchStartTreePosition: Scalars['Int'];
|
|
916
|
+
treePosition: Scalars['Int'];
|
|
917
|
+
commitmentType: CommitmentType;
|
|
918
|
+
hash: Scalars['BigInt'];
|
|
919
|
+
preimage: CommitmentPreimage;
|
|
920
|
+
encryptedRandom: Array<Scalars['Bytes']>;
|
|
921
|
+
};
|
|
922
|
+
export type LegacyGeneratedCommitment_filter = {
|
|
923
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
924
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
925
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
926
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
927
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
928
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
929
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
930
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
931
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
932
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
933
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
934
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
935
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
936
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
937
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
938
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
939
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
940
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
941
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
942
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
943
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
944
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
945
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
946
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
947
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
948
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
949
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
950
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
951
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
952
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
953
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
954
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
955
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
956
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
957
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
958
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
959
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
960
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
961
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
962
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
963
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
964
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
965
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
966
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
967
|
+
batchStartTreePosition?: InputMaybe<Scalars['Int']>;
|
|
968
|
+
batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
|
|
969
|
+
batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
970
|
+
batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
971
|
+
batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
972
|
+
batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
973
|
+
batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
974
|
+
batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
975
|
+
treePosition?: InputMaybe<Scalars['Int']>;
|
|
976
|
+
treePosition_not?: InputMaybe<Scalars['Int']>;
|
|
977
|
+
treePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
978
|
+
treePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
979
|
+
treePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
980
|
+
treePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
981
|
+
treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
982
|
+
treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
983
|
+
commitmentType?: InputMaybe<CommitmentType>;
|
|
984
|
+
commitmentType_not?: InputMaybe<CommitmentType>;
|
|
985
|
+
commitmentType_in?: InputMaybe<Array<CommitmentType>>;
|
|
986
|
+
commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
|
|
987
|
+
hash?: InputMaybe<Scalars['BigInt']>;
|
|
988
|
+
hash_not?: InputMaybe<Scalars['BigInt']>;
|
|
989
|
+
hash_gt?: InputMaybe<Scalars['BigInt']>;
|
|
990
|
+
hash_lt?: InputMaybe<Scalars['BigInt']>;
|
|
991
|
+
hash_gte?: InputMaybe<Scalars['BigInt']>;
|
|
992
|
+
hash_lte?: InputMaybe<Scalars['BigInt']>;
|
|
993
|
+
hash_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
994
|
+
hash_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
995
|
+
preimage?: InputMaybe<Scalars['String']>;
|
|
996
|
+
preimage_not?: InputMaybe<Scalars['String']>;
|
|
997
|
+
preimage_gt?: InputMaybe<Scalars['String']>;
|
|
998
|
+
preimage_lt?: InputMaybe<Scalars['String']>;
|
|
999
|
+
preimage_gte?: InputMaybe<Scalars['String']>;
|
|
1000
|
+
preimage_lte?: InputMaybe<Scalars['String']>;
|
|
1001
|
+
preimage_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1002
|
+
preimage_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1003
|
+
preimage_contains?: InputMaybe<Scalars['String']>;
|
|
1004
|
+
preimage_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1005
|
+
preimage_not_contains?: InputMaybe<Scalars['String']>;
|
|
1006
|
+
preimage_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1007
|
+
preimage_starts_with?: InputMaybe<Scalars['String']>;
|
|
1008
|
+
preimage_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1009
|
+
preimage_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
1010
|
+
preimage_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1011
|
+
preimage_ends_with?: InputMaybe<Scalars['String']>;
|
|
1012
|
+
preimage_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1013
|
+
preimage_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
1014
|
+
preimage_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1015
|
+
preimage_?: InputMaybe<CommitmentPreimage_filter>;
|
|
1016
|
+
encryptedRandom?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1017
|
+
encryptedRandom_not?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1018
|
+
encryptedRandom_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1019
|
+
encryptedRandom_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1020
|
+
encryptedRandom_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1021
|
+
encryptedRandom_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1022
|
+
/** Filter for the block changed event. */
|
|
1023
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1024
|
+
and?: InputMaybe<Array<InputMaybe<LegacyGeneratedCommitment_filter>>>;
|
|
1025
|
+
or?: InputMaybe<Array<InputMaybe<LegacyGeneratedCommitment_filter>>>;
|
|
1026
|
+
};
|
|
1027
|
+
export type LegacyGeneratedCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash' | 'preimage' | 'preimage__id' | 'preimage__npk' | 'preimage__value' | 'encryptedRandom';
|
|
1028
|
+
export type Nullifier = {
|
|
1029
|
+
id: Scalars['Bytes'];
|
|
1030
|
+
blockNumber: Scalars['BigInt'];
|
|
1031
|
+
blockTimestamp: Scalars['BigInt'];
|
|
1032
|
+
transactionHash: Scalars['Bytes'];
|
|
1033
|
+
treeNumber: Scalars['Int'];
|
|
1034
|
+
nullifier: Scalars['Bytes'];
|
|
1035
|
+
};
|
|
1036
|
+
export type Nullifier_filter = {
|
|
1037
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
1038
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
1039
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1040
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1041
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1042
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1043
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1044
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1045
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1046
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1047
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1048
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
1049
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1050
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1051
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1052
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1053
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1054
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1055
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
1056
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
1057
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1058
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1059
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1060
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1061
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1062
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1063
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
1064
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
1065
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1066
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1067
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1068
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1069
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1070
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1071
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1072
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1073
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
1074
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
1075
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
1076
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
1077
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
1078
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
1079
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1080
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1081
|
+
nullifier?: InputMaybe<Scalars['Bytes']>;
|
|
1082
|
+
nullifier_not?: InputMaybe<Scalars['Bytes']>;
|
|
1083
|
+
nullifier_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1084
|
+
nullifier_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1085
|
+
nullifier_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1086
|
+
nullifier_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1087
|
+
nullifier_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1088
|
+
nullifier_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1089
|
+
nullifier_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1090
|
+
nullifier_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1091
|
+
/** Filter for the block changed event. */
|
|
1092
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1093
|
+
and?: InputMaybe<Array<InputMaybe<Nullifier_filter>>>;
|
|
1094
|
+
or?: InputMaybe<Array<InputMaybe<Nullifier_filter>>>;
|
|
1095
|
+
};
|
|
1096
|
+
export type Nullifier_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'nullifier';
|
|
1097
|
+
/** Defines the order direction, either ascending or descending */
|
|
1098
|
+
export type OrderDirection = 'asc' | 'desc';
|
|
1099
|
+
export type EncryptCommitment = Commitment & {
|
|
1100
|
+
id: Scalars['Bytes'];
|
|
1101
|
+
blockNumber: Scalars['BigInt'];
|
|
1102
|
+
blockTimestamp: Scalars['BigInt'];
|
|
1103
|
+
transactionHash: Scalars['Bytes'];
|
|
1104
|
+
treeNumber: Scalars['Int'];
|
|
1105
|
+
batchStartTreePosition: Scalars['Int'];
|
|
1106
|
+
treePosition: Scalars['Int'];
|
|
1107
|
+
commitmentType: CommitmentType;
|
|
1108
|
+
hash: Scalars['BigInt'];
|
|
1109
|
+
preimage: CommitmentPreimage;
|
|
1110
|
+
encryptedBundle: Array<Scalars['Bytes']>;
|
|
1111
|
+
encryptKey: Scalars['Bytes'];
|
|
1112
|
+
fee?: Maybe<Scalars['BigInt']>;
|
|
1113
|
+
};
|
|
1114
|
+
export type EncryptCommitment_filter = {
|
|
1115
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
1116
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
1117
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1118
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1119
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1120
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1121
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1122
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1123
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1124
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1125
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1126
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
1127
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1128
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1129
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1130
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1131
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1132
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1133
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
1134
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
1135
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1136
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1137
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1138
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1139
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1140
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1141
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
1142
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
1143
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1144
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1145
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1146
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1147
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1148
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1149
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1150
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1151
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
1152
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
1153
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
1154
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
1155
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
1156
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
1157
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1158
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1159
|
+
batchStartTreePosition?: InputMaybe<Scalars['Int']>;
|
|
1160
|
+
batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
|
|
1161
|
+
batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
1162
|
+
batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
1163
|
+
batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
1164
|
+
batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
1165
|
+
batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1166
|
+
batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1167
|
+
treePosition?: InputMaybe<Scalars['Int']>;
|
|
1168
|
+
treePosition_not?: InputMaybe<Scalars['Int']>;
|
|
1169
|
+
treePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
1170
|
+
treePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
1171
|
+
treePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
1172
|
+
treePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
1173
|
+
treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1174
|
+
treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1175
|
+
commitmentType?: InputMaybe<CommitmentType>;
|
|
1176
|
+
commitmentType_not?: InputMaybe<CommitmentType>;
|
|
1177
|
+
commitmentType_in?: InputMaybe<Array<CommitmentType>>;
|
|
1178
|
+
commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
|
|
1179
|
+
hash?: InputMaybe<Scalars['BigInt']>;
|
|
1180
|
+
hash_not?: InputMaybe<Scalars['BigInt']>;
|
|
1181
|
+
hash_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1182
|
+
hash_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1183
|
+
hash_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1184
|
+
hash_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1185
|
+
hash_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1186
|
+
hash_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1187
|
+
preimage?: InputMaybe<Scalars['String']>;
|
|
1188
|
+
preimage_not?: InputMaybe<Scalars['String']>;
|
|
1189
|
+
preimage_gt?: InputMaybe<Scalars['String']>;
|
|
1190
|
+
preimage_lt?: InputMaybe<Scalars['String']>;
|
|
1191
|
+
preimage_gte?: InputMaybe<Scalars['String']>;
|
|
1192
|
+
preimage_lte?: InputMaybe<Scalars['String']>;
|
|
1193
|
+
preimage_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1194
|
+
preimage_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1195
|
+
preimage_contains?: InputMaybe<Scalars['String']>;
|
|
1196
|
+
preimage_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1197
|
+
preimage_not_contains?: InputMaybe<Scalars['String']>;
|
|
1198
|
+
preimage_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1199
|
+
preimage_starts_with?: InputMaybe<Scalars['String']>;
|
|
1200
|
+
preimage_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1201
|
+
preimage_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
1202
|
+
preimage_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1203
|
+
preimage_ends_with?: InputMaybe<Scalars['String']>;
|
|
1204
|
+
preimage_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1205
|
+
preimage_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
1206
|
+
preimage_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1207
|
+
preimage_?: InputMaybe<CommitmentPreimage_filter>;
|
|
1208
|
+
encryptedBundle?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1209
|
+
encryptedBundle_not?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1210
|
+
encryptedBundle_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1211
|
+
encryptedBundle_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1212
|
+
encryptedBundle_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1213
|
+
encryptedBundle_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1214
|
+
encryptKey?: InputMaybe<Scalars['Bytes']>;
|
|
1215
|
+
encryptKey_not?: InputMaybe<Scalars['Bytes']>;
|
|
1216
|
+
encryptKey_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1217
|
+
encryptKey_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1218
|
+
encryptKey_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1219
|
+
encryptKey_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1220
|
+
encryptKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1221
|
+
encryptKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1222
|
+
encryptKey_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1223
|
+
encryptKey_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1224
|
+
fee?: InputMaybe<Scalars['BigInt']>;
|
|
1225
|
+
fee_not?: InputMaybe<Scalars['BigInt']>;
|
|
1226
|
+
fee_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1227
|
+
fee_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1228
|
+
fee_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1229
|
+
fee_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1230
|
+
fee_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1231
|
+
fee_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1232
|
+
/** Filter for the block changed event. */
|
|
1233
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1234
|
+
and?: InputMaybe<Array<InputMaybe<EncryptCommitment_filter>>>;
|
|
1235
|
+
or?: InputMaybe<Array<InputMaybe<EncryptCommitment_filter>>>;
|
|
1236
|
+
};
|
|
1237
|
+
export type EncryptCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash' | 'preimage' | 'preimage__id' | 'preimage__npk' | 'preimage__value' | 'encryptedBundle' | 'encryptKey' | 'fee';
|
|
1238
|
+
export type Token = {
|
|
1239
|
+
id: Scalars['Bytes'];
|
|
1240
|
+
tokenType: TokenType;
|
|
1241
|
+
tokenAddress: Scalars['Bytes'];
|
|
1242
|
+
tokenSubID: Scalars['Bytes'];
|
|
1243
|
+
};
|
|
1244
|
+
export type TokenType = 'ERC20' | 'ERC721' | 'ERC1155';
|
|
1245
|
+
export type Token_filter = {
|
|
1246
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
1247
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
1248
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1249
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1250
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1251
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1252
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1253
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1254
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1255
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1256
|
+
tokenType?: InputMaybe<TokenType>;
|
|
1257
|
+
tokenType_not?: InputMaybe<TokenType>;
|
|
1258
|
+
tokenType_in?: InputMaybe<Array<TokenType>>;
|
|
1259
|
+
tokenType_not_in?: InputMaybe<Array<TokenType>>;
|
|
1260
|
+
tokenAddress?: InputMaybe<Scalars['Bytes']>;
|
|
1261
|
+
tokenAddress_not?: InputMaybe<Scalars['Bytes']>;
|
|
1262
|
+
tokenAddress_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1263
|
+
tokenAddress_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1264
|
+
tokenAddress_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1265
|
+
tokenAddress_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1266
|
+
tokenAddress_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1267
|
+
tokenAddress_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1268
|
+
tokenAddress_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1269
|
+
tokenAddress_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1270
|
+
tokenSubID?: InputMaybe<Scalars['Bytes']>;
|
|
1271
|
+
tokenSubID_not?: InputMaybe<Scalars['Bytes']>;
|
|
1272
|
+
tokenSubID_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1273
|
+
tokenSubID_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1274
|
+
tokenSubID_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1275
|
+
tokenSubID_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1276
|
+
tokenSubID_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1277
|
+
tokenSubID_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1278
|
+
tokenSubID_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1279
|
+
tokenSubID_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1280
|
+
/** Filter for the block changed event. */
|
|
1281
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1282
|
+
and?: InputMaybe<Array<InputMaybe<Token_filter>>>;
|
|
1283
|
+
or?: InputMaybe<Array<InputMaybe<Token_filter>>>;
|
|
1284
|
+
};
|
|
1285
|
+
export type Token_orderBy = 'id' | 'tokenType' | 'tokenAddress' | 'tokenSubID';
|
|
1286
|
+
export type TransactCommitment = Commitment & {
|
|
1287
|
+
id: Scalars['Bytes'];
|
|
1288
|
+
blockNumber: Scalars['BigInt'];
|
|
1289
|
+
blockTimestamp: Scalars['BigInt'];
|
|
1290
|
+
transactionHash: Scalars['Bytes'];
|
|
1291
|
+
treeNumber: Scalars['Int'];
|
|
1292
|
+
batchStartTreePosition: Scalars['Int'];
|
|
1293
|
+
treePosition: Scalars['Int'];
|
|
1294
|
+
commitmentType: CommitmentType;
|
|
1295
|
+
hash: Scalars['BigInt'];
|
|
1296
|
+
ciphertext: CommitmentCiphertext;
|
|
1297
|
+
};
|
|
1298
|
+
export type TransactCommitment_filter = {
|
|
1299
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
1300
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
1301
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1302
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1303
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1304
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1305
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1306
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1307
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1308
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1309
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1310
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
1311
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1312
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1313
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1314
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1315
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1316
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1317
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
1318
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
1319
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1320
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1321
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1322
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1323
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1324
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1325
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
1326
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
1327
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1328
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1329
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1330
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1331
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1332
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1333
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1334
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1335
|
+
treeNumber?: InputMaybe<Scalars['Int']>;
|
|
1336
|
+
treeNumber_not?: InputMaybe<Scalars['Int']>;
|
|
1337
|
+
treeNumber_gt?: InputMaybe<Scalars['Int']>;
|
|
1338
|
+
treeNumber_lt?: InputMaybe<Scalars['Int']>;
|
|
1339
|
+
treeNumber_gte?: InputMaybe<Scalars['Int']>;
|
|
1340
|
+
treeNumber_lte?: InputMaybe<Scalars['Int']>;
|
|
1341
|
+
treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1342
|
+
treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1343
|
+
batchStartTreePosition?: InputMaybe<Scalars['Int']>;
|
|
1344
|
+
batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
|
|
1345
|
+
batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
1346
|
+
batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
1347
|
+
batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
1348
|
+
batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
1349
|
+
batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1350
|
+
batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1351
|
+
treePosition?: InputMaybe<Scalars['Int']>;
|
|
1352
|
+
treePosition_not?: InputMaybe<Scalars['Int']>;
|
|
1353
|
+
treePosition_gt?: InputMaybe<Scalars['Int']>;
|
|
1354
|
+
treePosition_lt?: InputMaybe<Scalars['Int']>;
|
|
1355
|
+
treePosition_gte?: InputMaybe<Scalars['Int']>;
|
|
1356
|
+
treePosition_lte?: InputMaybe<Scalars['Int']>;
|
|
1357
|
+
treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1358
|
+
treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
|
|
1359
|
+
commitmentType?: InputMaybe<CommitmentType>;
|
|
1360
|
+
commitmentType_not?: InputMaybe<CommitmentType>;
|
|
1361
|
+
commitmentType_in?: InputMaybe<Array<CommitmentType>>;
|
|
1362
|
+
commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
|
|
1363
|
+
hash?: InputMaybe<Scalars['BigInt']>;
|
|
1364
|
+
hash_not?: InputMaybe<Scalars['BigInt']>;
|
|
1365
|
+
hash_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1366
|
+
hash_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1367
|
+
hash_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1368
|
+
hash_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1369
|
+
hash_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1370
|
+
hash_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1371
|
+
ciphertext?: InputMaybe<Scalars['String']>;
|
|
1372
|
+
ciphertext_not?: InputMaybe<Scalars['String']>;
|
|
1373
|
+
ciphertext_gt?: InputMaybe<Scalars['String']>;
|
|
1374
|
+
ciphertext_lt?: InputMaybe<Scalars['String']>;
|
|
1375
|
+
ciphertext_gte?: InputMaybe<Scalars['String']>;
|
|
1376
|
+
ciphertext_lte?: InputMaybe<Scalars['String']>;
|
|
1377
|
+
ciphertext_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1378
|
+
ciphertext_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1379
|
+
ciphertext_contains?: InputMaybe<Scalars['String']>;
|
|
1380
|
+
ciphertext_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1381
|
+
ciphertext_not_contains?: InputMaybe<Scalars['String']>;
|
|
1382
|
+
ciphertext_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1383
|
+
ciphertext_starts_with?: InputMaybe<Scalars['String']>;
|
|
1384
|
+
ciphertext_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1385
|
+
ciphertext_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
1386
|
+
ciphertext_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1387
|
+
ciphertext_ends_with?: InputMaybe<Scalars['String']>;
|
|
1388
|
+
ciphertext_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1389
|
+
ciphertext_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
1390
|
+
ciphertext_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1391
|
+
ciphertext_?: InputMaybe<CommitmentCiphertext_filter>;
|
|
1392
|
+
/** Filter for the block changed event. */
|
|
1393
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1394
|
+
and?: InputMaybe<Array<InputMaybe<TransactCommitment_filter>>>;
|
|
1395
|
+
or?: InputMaybe<Array<InputMaybe<TransactCommitment_filter>>>;
|
|
1396
|
+
};
|
|
1397
|
+
export type TransactCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash' | 'ciphertext' | 'ciphertext__id' | 'ciphertext__blindedSenderViewingKey' | 'ciphertext__blindedReceiverViewingKey' | 'ciphertext__annotationData' | 'ciphertext__memo';
|
|
1398
|
+
export type Unshield = {
|
|
1399
|
+
id: Scalars['Bytes'];
|
|
1400
|
+
blockNumber: Scalars['BigInt'];
|
|
1401
|
+
blockTimestamp: Scalars['BigInt'];
|
|
1402
|
+
transactionHash: Scalars['Bytes'];
|
|
1403
|
+
to: Scalars['Bytes'];
|
|
1404
|
+
token: Token;
|
|
1405
|
+
amount: Scalars['BigInt'];
|
|
1406
|
+
fee: Scalars['BigInt'];
|
|
1407
|
+
eventLogIndex: Scalars['BigInt'];
|
|
1408
|
+
};
|
|
1409
|
+
export type Unshield_filter = {
|
|
1410
|
+
id?: InputMaybe<Scalars['Bytes']>;
|
|
1411
|
+
id_not?: InputMaybe<Scalars['Bytes']>;
|
|
1412
|
+
id_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1413
|
+
id_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1414
|
+
id_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1415
|
+
id_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1416
|
+
id_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1417
|
+
id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1418
|
+
id_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1419
|
+
id_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1420
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1421
|
+
blockNumber_not?: InputMaybe<Scalars['BigInt']>;
|
|
1422
|
+
blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1423
|
+
blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1424
|
+
blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1425
|
+
blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1426
|
+
blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1427
|
+
blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1428
|
+
blockTimestamp?: InputMaybe<Scalars['BigInt']>;
|
|
1429
|
+
blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
|
|
1430
|
+
blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1431
|
+
blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1432
|
+
blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1433
|
+
blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1434
|
+
blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1435
|
+
blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1436
|
+
transactionHash?: InputMaybe<Scalars['Bytes']>;
|
|
1437
|
+
transactionHash_not?: InputMaybe<Scalars['Bytes']>;
|
|
1438
|
+
transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1439
|
+
transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1440
|
+
transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1441
|
+
transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1442
|
+
transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1443
|
+
transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1444
|
+
transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1445
|
+
transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1446
|
+
to?: InputMaybe<Scalars['Bytes']>;
|
|
1447
|
+
to_not?: InputMaybe<Scalars['Bytes']>;
|
|
1448
|
+
to_gt?: InputMaybe<Scalars['Bytes']>;
|
|
1449
|
+
to_lt?: InputMaybe<Scalars['Bytes']>;
|
|
1450
|
+
to_gte?: InputMaybe<Scalars['Bytes']>;
|
|
1451
|
+
to_lte?: InputMaybe<Scalars['Bytes']>;
|
|
1452
|
+
to_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1453
|
+
to_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
|
|
1454
|
+
to_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1455
|
+
to_not_contains?: InputMaybe<Scalars['Bytes']>;
|
|
1456
|
+
token?: InputMaybe<Scalars['String']>;
|
|
1457
|
+
token_not?: InputMaybe<Scalars['String']>;
|
|
1458
|
+
token_gt?: InputMaybe<Scalars['String']>;
|
|
1459
|
+
token_lt?: InputMaybe<Scalars['String']>;
|
|
1460
|
+
token_gte?: InputMaybe<Scalars['String']>;
|
|
1461
|
+
token_lte?: InputMaybe<Scalars['String']>;
|
|
1462
|
+
token_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1463
|
+
token_not_in?: InputMaybe<Array<Scalars['String']>>;
|
|
1464
|
+
token_contains?: InputMaybe<Scalars['String']>;
|
|
1465
|
+
token_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1466
|
+
token_not_contains?: InputMaybe<Scalars['String']>;
|
|
1467
|
+
token_not_contains_nocase?: InputMaybe<Scalars['String']>;
|
|
1468
|
+
token_starts_with?: InputMaybe<Scalars['String']>;
|
|
1469
|
+
token_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1470
|
+
token_not_starts_with?: InputMaybe<Scalars['String']>;
|
|
1471
|
+
token_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1472
|
+
token_ends_with?: InputMaybe<Scalars['String']>;
|
|
1473
|
+
token_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1474
|
+
token_not_ends_with?: InputMaybe<Scalars['String']>;
|
|
1475
|
+
token_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
|
|
1476
|
+
token_?: InputMaybe<Token_filter>;
|
|
1477
|
+
amount?: InputMaybe<Scalars['BigInt']>;
|
|
1478
|
+
amount_not?: InputMaybe<Scalars['BigInt']>;
|
|
1479
|
+
amount_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1480
|
+
amount_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1481
|
+
amount_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1482
|
+
amount_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1483
|
+
amount_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1484
|
+
amount_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1485
|
+
fee?: InputMaybe<Scalars['BigInt']>;
|
|
1486
|
+
fee_not?: InputMaybe<Scalars['BigInt']>;
|
|
1487
|
+
fee_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1488
|
+
fee_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1489
|
+
fee_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1490
|
+
fee_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1491
|
+
fee_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1492
|
+
fee_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1493
|
+
eventLogIndex?: InputMaybe<Scalars['BigInt']>;
|
|
1494
|
+
eventLogIndex_not?: InputMaybe<Scalars['BigInt']>;
|
|
1495
|
+
eventLogIndex_gt?: InputMaybe<Scalars['BigInt']>;
|
|
1496
|
+
eventLogIndex_lt?: InputMaybe<Scalars['BigInt']>;
|
|
1497
|
+
eventLogIndex_gte?: InputMaybe<Scalars['BigInt']>;
|
|
1498
|
+
eventLogIndex_lte?: InputMaybe<Scalars['BigInt']>;
|
|
1499
|
+
eventLogIndex_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1500
|
+
eventLogIndex_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
|
|
1501
|
+
/** Filter for the block changed event. */
|
|
1502
|
+
_change_block?: InputMaybe<BlockChangedFilter>;
|
|
1503
|
+
and?: InputMaybe<Array<InputMaybe<Unshield_filter>>>;
|
|
1504
|
+
or?: InputMaybe<Array<InputMaybe<Unshield_filter>>>;
|
|
1505
|
+
};
|
|
1506
|
+
export type Unshield_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'to' | 'token' | 'token__id' | 'token__tokenType' | 'token__tokenAddress' | 'token__tokenSubID' | 'amount' | 'fee' | 'eventLogIndex';
|
|
1507
|
+
export type _Block_ = {
|
|
1508
|
+
/** The hash of the block */
|
|
1509
|
+
hash?: Maybe<Scalars['Bytes']>;
|
|
1510
|
+
/** The block number */
|
|
1511
|
+
number: Scalars['Int'];
|
|
1512
|
+
/** Integer representation of the timestamp stored in blocks for the chain */
|
|
1513
|
+
timestamp?: Maybe<Scalars['Int']>;
|
|
1514
|
+
};
|
|
1515
|
+
/** The type for the top-level _meta field */
|
|
1516
|
+
export type _Meta_ = {
|
|
1517
|
+
/**
|
|
1518
|
+
* Information about a specific subgraph block. The hash of the block
|
|
1519
|
+
* will be null if the _meta field has a block constraint that asks for
|
|
1520
|
+
* a block number. It will be filled if the _meta field has no block constraint
|
|
1521
|
+
* and therefore asks for the latest block
|
|
1522
|
+
*
|
|
1523
|
+
*/
|
|
1524
|
+
block: _Block_;
|
|
1525
|
+
/** The deployment ID */
|
|
1526
|
+
deployment: Scalars['String'];
|
|
1527
|
+
/** If `true`, the subgraph encountered indexing errors at some past block */
|
|
1528
|
+
hasIndexingErrors: Scalars['Boolean'];
|
|
1529
|
+
};
|
|
1530
|
+
export type _SubgraphErrorPolicy_ =
|
|
1531
|
+
/** Data will be returned even if the subgraph has indexing errors */
|
|
1532
|
+
'allow'
|
|
1533
|
+
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
1534
|
+
| 'deny';
|
|
1535
|
+
export type WithIndex<TObject> = TObject & Record<string, any>;
|
|
1536
|
+
export type ResolversObject<TObject> = WithIndex<TObject>;
|
|
1537
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
1538
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
1539
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
1540
|
+
};
|
|
1541
|
+
export type LegacyStitchingResolver<TResult, TParent, TContext, TArgs> = {
|
|
1542
|
+
fragment: string;
|
|
1543
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
1544
|
+
};
|
|
1545
|
+
export type NewStitchingResolver<TResult, TParent, TContext, TArgs> = {
|
|
1546
|
+
selectionSet: string | ((fieldNode: FieldNode) => SelectionSetNode);
|
|
1547
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
1548
|
+
};
|
|
1549
|
+
export type StitchingResolver<TResult, TParent, TContext, TArgs> = LegacyStitchingResolver<TResult, TParent, TContext, TArgs> | NewStitchingResolver<TResult, TParent, TContext, TArgs>;
|
|
1550
|
+
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs> | StitchingResolver<TResult, TParent, TContext, TArgs>;
|
|
1551
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
1552
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
1553
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
1554
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
1555
|
+
subscribe: SubscriptionSubscribeFn<{
|
|
1556
|
+
[key in TKey]: TResult;
|
|
1557
|
+
}, TParent, TContext, TArgs>;
|
|
1558
|
+
resolve?: SubscriptionResolveFn<TResult, {
|
|
1559
|
+
[key in TKey]: TResult;
|
|
1560
|
+
}, TContext, TArgs>;
|
|
1561
|
+
}
|
|
1562
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
1563
|
+
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
1564
|
+
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
1565
|
+
}
|
|
1566
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
1567
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
1568
|
+
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
1569
|
+
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
1570
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
1571
|
+
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
1572
|
+
/** Mapping between all available schema types and the resolvers types */
|
|
1573
|
+
export type ResolversTypes = ResolversObject<{
|
|
1574
|
+
Query: ResolverTypeWrapper<{}>;
|
|
1575
|
+
Subscription: ResolverTypeWrapper<{}>;
|
|
1576
|
+
BigDecimal: ResolverTypeWrapper<Scalars['BigDecimal']>;
|
|
1577
|
+
BigInt: ResolverTypeWrapper<Scalars['BigInt']>;
|
|
1578
|
+
BlockChangedFilter: BlockChangedFilter;
|
|
1579
|
+
Block_height: Block_height;
|
|
1580
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
1581
|
+
Bytes: ResolverTypeWrapper<Scalars['Bytes']>;
|
|
1582
|
+
Ciphertext: ResolverTypeWrapper<Ciphertext>;
|
|
1583
|
+
Ciphertext_filter: Ciphertext_filter;
|
|
1584
|
+
Ciphertext_orderBy: Ciphertext_orderBy;
|
|
1585
|
+
Commitment: ResolversTypes['LegacyEncryptedCommitment'] | ResolversTypes['LegacyGeneratedCommitment'] | ResolversTypes['EncryptCommitment'] | ResolversTypes['TransactCommitment'];
|
|
1586
|
+
CommitmentCiphertext: ResolverTypeWrapper<CommitmentCiphertext>;
|
|
1587
|
+
CommitmentCiphertext_filter: CommitmentCiphertext_filter;
|
|
1588
|
+
CommitmentCiphertext_orderBy: CommitmentCiphertext_orderBy;
|
|
1589
|
+
CommitmentPreimage: ResolverTypeWrapper<CommitmentPreimage>;
|
|
1590
|
+
CommitmentPreimage_filter: CommitmentPreimage_filter;
|
|
1591
|
+
CommitmentPreimage_orderBy: CommitmentPreimage_orderBy;
|
|
1592
|
+
CommitmentType: CommitmentType;
|
|
1593
|
+
Commitment_filter: Commitment_filter;
|
|
1594
|
+
Commitment_orderBy: Commitment_orderBy;
|
|
1595
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
1596
|
+
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
1597
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
1598
|
+
LegacyCommitmentCiphertext: ResolverTypeWrapper<LegacyCommitmentCiphertext>;
|
|
1599
|
+
LegacyCommitmentCiphertext_filter: LegacyCommitmentCiphertext_filter;
|
|
1600
|
+
LegacyCommitmentCiphertext_orderBy: LegacyCommitmentCiphertext_orderBy;
|
|
1601
|
+
LegacyEncryptedCommitment: ResolverTypeWrapper<LegacyEncryptedCommitment>;
|
|
1602
|
+
LegacyEncryptedCommitment_filter: LegacyEncryptedCommitment_filter;
|
|
1603
|
+
LegacyEncryptedCommitment_orderBy: LegacyEncryptedCommitment_orderBy;
|
|
1604
|
+
LegacyGeneratedCommitment: ResolverTypeWrapper<LegacyGeneratedCommitment>;
|
|
1605
|
+
LegacyGeneratedCommitment_filter: LegacyGeneratedCommitment_filter;
|
|
1606
|
+
LegacyGeneratedCommitment_orderBy: LegacyGeneratedCommitment_orderBy;
|
|
1607
|
+
Nullifier: ResolverTypeWrapper<Nullifier>;
|
|
1608
|
+
Nullifier_filter: Nullifier_filter;
|
|
1609
|
+
Nullifier_orderBy: Nullifier_orderBy;
|
|
1610
|
+
OrderDirection: OrderDirection;
|
|
1611
|
+
EncryptCommitment: ResolverTypeWrapper<EncryptCommitment>;
|
|
1612
|
+
EncryptCommitment_filter: EncryptCommitment_filter;
|
|
1613
|
+
EncryptCommitment_orderBy: EncryptCommitment_orderBy;
|
|
1614
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
1615
|
+
Token: ResolverTypeWrapper<Token>;
|
|
1616
|
+
TokenType: TokenType;
|
|
1617
|
+
Token_filter: Token_filter;
|
|
1618
|
+
Token_orderBy: Token_orderBy;
|
|
1619
|
+
TransactCommitment: ResolverTypeWrapper<TransactCommitment>;
|
|
1620
|
+
TransactCommitment_filter: TransactCommitment_filter;
|
|
1621
|
+
TransactCommitment_orderBy: TransactCommitment_orderBy;
|
|
1622
|
+
Unshield: ResolverTypeWrapper<Unshield>;
|
|
1623
|
+
Unshield_filter: Unshield_filter;
|
|
1624
|
+
Unshield_orderBy: Unshield_orderBy;
|
|
1625
|
+
_Block_: ResolverTypeWrapper<_Block_>;
|
|
1626
|
+
_Meta_: ResolverTypeWrapper<_Meta_>;
|
|
1627
|
+
_SubgraphErrorPolicy_: _SubgraphErrorPolicy_;
|
|
1628
|
+
}>;
|
|
1629
|
+
/** Mapping between all available schema types and the resolvers parents */
|
|
1630
|
+
export type ResolversParentTypes = ResolversObject<{
|
|
1631
|
+
Query: {};
|
|
1632
|
+
Subscription: {};
|
|
1633
|
+
BigDecimal: Scalars['BigDecimal'];
|
|
1634
|
+
BigInt: Scalars['BigInt'];
|
|
1635
|
+
BlockChangedFilter: BlockChangedFilter;
|
|
1636
|
+
Block_height: Block_height;
|
|
1637
|
+
Boolean: Scalars['Boolean'];
|
|
1638
|
+
Bytes: Scalars['Bytes'];
|
|
1639
|
+
Ciphertext: Ciphertext;
|
|
1640
|
+
Ciphertext_filter: Ciphertext_filter;
|
|
1641
|
+
Commitment: ResolversParentTypes['LegacyEncryptedCommitment'] | ResolversParentTypes['LegacyGeneratedCommitment'] | ResolversParentTypes['EncryptCommitment'] | ResolversParentTypes['TransactCommitment'];
|
|
1642
|
+
CommitmentCiphertext: CommitmentCiphertext;
|
|
1643
|
+
CommitmentCiphertext_filter: CommitmentCiphertext_filter;
|
|
1644
|
+
CommitmentPreimage: CommitmentPreimage;
|
|
1645
|
+
CommitmentPreimage_filter: CommitmentPreimage_filter;
|
|
1646
|
+
Commitment_filter: Commitment_filter;
|
|
1647
|
+
Float: Scalars['Float'];
|
|
1648
|
+
ID: Scalars['ID'];
|
|
1649
|
+
Int: Scalars['Int'];
|
|
1650
|
+
LegacyCommitmentCiphertext: LegacyCommitmentCiphertext;
|
|
1651
|
+
LegacyCommitmentCiphertext_filter: LegacyCommitmentCiphertext_filter;
|
|
1652
|
+
LegacyEncryptedCommitment: LegacyEncryptedCommitment;
|
|
1653
|
+
LegacyEncryptedCommitment_filter: LegacyEncryptedCommitment_filter;
|
|
1654
|
+
LegacyGeneratedCommitment: LegacyGeneratedCommitment;
|
|
1655
|
+
LegacyGeneratedCommitment_filter: LegacyGeneratedCommitment_filter;
|
|
1656
|
+
Nullifier: Nullifier;
|
|
1657
|
+
Nullifier_filter: Nullifier_filter;
|
|
1658
|
+
EncryptCommitment: EncryptCommitment;
|
|
1659
|
+
EncryptCommitment_filter: EncryptCommitment_filter;
|
|
1660
|
+
String: Scalars['String'];
|
|
1661
|
+
Token: Token;
|
|
1662
|
+
Token_filter: Token_filter;
|
|
1663
|
+
TransactCommitment: TransactCommitment;
|
|
1664
|
+
TransactCommitment_filter: TransactCommitment_filter;
|
|
1665
|
+
Unshield: Unshield;
|
|
1666
|
+
Unshield_filter: Unshield_filter;
|
|
1667
|
+
_Block_: _Block_;
|
|
1668
|
+
_Meta_: _Meta_;
|
|
1669
|
+
}>;
|
|
1670
|
+
export type entityDirectiveArgs = {};
|
|
1671
|
+
export type entityDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = entityDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1672
|
+
export type subgraphIdDirectiveArgs = {
|
|
1673
|
+
id: Scalars['String'];
|
|
1674
|
+
};
|
|
1675
|
+
export type subgraphIdDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = subgraphIdDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1676
|
+
export type derivedFromDirectiveArgs = {
|
|
1677
|
+
field: Scalars['String'];
|
|
1678
|
+
};
|
|
1679
|
+
export type derivedFromDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = derivedFromDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1680
|
+
export type QueryResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = ResolversObject<{
|
|
1681
|
+
token?: Resolver<Maybe<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokenArgs, 'id' | 'subgraphError'>>;
|
|
1682
|
+
tokens?: Resolver<Array<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokensArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1683
|
+
commitmentPreimage?: Resolver<Maybe<ResolversTypes['CommitmentPreimage']>, ParentType, ContextType, RequireFields<QuerycommitmentPreimageArgs, 'id' | 'subgraphError'>>;
|
|
1684
|
+
commitmentPreimages?: Resolver<Array<ResolversTypes['CommitmentPreimage']>, ParentType, ContextType, RequireFields<QuerycommitmentPreimagesArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1685
|
+
ciphertext?: Resolver<Maybe<ResolversTypes['Ciphertext']>, ParentType, ContextType, RequireFields<QueryciphertextArgs, 'id' | 'subgraphError'>>;
|
|
1686
|
+
ciphertexts?: Resolver<Array<ResolversTypes['Ciphertext']>, ParentType, ContextType, RequireFields<QueryciphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1687
|
+
legacyCommitmentCiphertext?: Resolver<Maybe<ResolversTypes['LegacyCommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerylegacyCommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
|
|
1688
|
+
legacyCommitmentCiphertexts?: Resolver<Array<ResolversTypes['LegacyCommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerylegacyCommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1689
|
+
commitmentCiphertext?: Resolver<Maybe<ResolversTypes['CommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerycommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
|
|
1690
|
+
commitmentCiphertexts?: Resolver<Array<ResolversTypes['CommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerycommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1691
|
+
legacyGeneratedCommitment?: Resolver<Maybe<ResolversTypes['LegacyGeneratedCommitment']>, ParentType, ContextType, RequireFields<QuerylegacyGeneratedCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1692
|
+
legacyGeneratedCommitments?: Resolver<Array<ResolversTypes['LegacyGeneratedCommitment']>, ParentType, ContextType, RequireFields<QuerylegacyGeneratedCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1693
|
+
legacyEncryptedCommitment?: Resolver<Maybe<ResolversTypes['LegacyEncryptedCommitment']>, ParentType, ContextType, RequireFields<QuerylegacyEncryptedCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1694
|
+
legacyEncryptedCommitments?: Resolver<Array<ResolversTypes['LegacyEncryptedCommitment']>, ParentType, ContextType, RequireFields<QuerylegacyEncryptedCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1695
|
+
encryptCommitment?: Resolver<Maybe<ResolversTypes['EncryptCommitment']>, ParentType, ContextType, RequireFields<QueryencryptCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1696
|
+
encryptCommitments?: Resolver<Array<ResolversTypes['EncryptCommitment']>, ParentType, ContextType, RequireFields<QueryencryptCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1697
|
+
transactCommitment?: Resolver<Maybe<ResolversTypes['TransactCommitment']>, ParentType, ContextType, RequireFields<QuerytransactCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1698
|
+
transactCommitments?: Resolver<Array<ResolversTypes['TransactCommitment']>, ParentType, ContextType, RequireFields<QuerytransactCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1699
|
+
unshield?: Resolver<Maybe<ResolversTypes['Unshield']>, ParentType, ContextType, RequireFields<QueryunshieldArgs, 'id' | 'subgraphError'>>;
|
|
1700
|
+
unshields?: Resolver<Array<ResolversTypes['Unshield']>, ParentType, ContextType, RequireFields<QueryunshieldsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1701
|
+
nullifier?: Resolver<Maybe<ResolversTypes['Nullifier']>, ParentType, ContextType, RequireFields<QuerynullifierArgs, 'id' | 'subgraphError'>>;
|
|
1702
|
+
nullifiers?: Resolver<Array<ResolversTypes['Nullifier']>, ParentType, ContextType, RequireFields<QuerynullifiersArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1703
|
+
commitment?: Resolver<Maybe<ResolversTypes['Commitment']>, ParentType, ContextType, RequireFields<QuerycommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1704
|
+
commitments?: Resolver<Array<ResolversTypes['Commitment']>, ParentType, ContextType, RequireFields<QuerycommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1705
|
+
_meta?: Resolver<Maybe<ResolversTypes['_Meta_']>, ParentType, ContextType, Partial<Query_metaArgs>>;
|
|
1706
|
+
}>;
|
|
1707
|
+
export type SubscriptionResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']> = ResolversObject<{
|
|
1708
|
+
token?: SubscriptionResolver<Maybe<ResolversTypes['Token']>, 'token', ParentType, ContextType, RequireFields<SubscriptiontokenArgs, 'id' | 'subgraphError'>>;
|
|
1709
|
+
tokens?: SubscriptionResolver<Array<ResolversTypes['Token']>, 'tokens', ParentType, ContextType, RequireFields<SubscriptiontokensArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1710
|
+
commitmentPreimage?: SubscriptionResolver<Maybe<ResolversTypes['CommitmentPreimage']>, 'commitmentPreimage', ParentType, ContextType, RequireFields<SubscriptioncommitmentPreimageArgs, 'id' | 'subgraphError'>>;
|
|
1711
|
+
commitmentPreimages?: SubscriptionResolver<Array<ResolversTypes['CommitmentPreimage']>, 'commitmentPreimages', ParentType, ContextType, RequireFields<SubscriptioncommitmentPreimagesArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1712
|
+
ciphertext?: SubscriptionResolver<Maybe<ResolversTypes['Ciphertext']>, 'ciphertext', ParentType, ContextType, RequireFields<SubscriptionciphertextArgs, 'id' | 'subgraphError'>>;
|
|
1713
|
+
ciphertexts?: SubscriptionResolver<Array<ResolversTypes['Ciphertext']>, 'ciphertexts', ParentType, ContextType, RequireFields<SubscriptionciphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1714
|
+
legacyCommitmentCiphertext?: SubscriptionResolver<Maybe<ResolversTypes['LegacyCommitmentCiphertext']>, 'legacyCommitmentCiphertext', ParentType, ContextType, RequireFields<SubscriptionlegacyCommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
|
|
1715
|
+
legacyCommitmentCiphertexts?: SubscriptionResolver<Array<ResolversTypes['LegacyCommitmentCiphertext']>, 'legacyCommitmentCiphertexts', ParentType, ContextType, RequireFields<SubscriptionlegacyCommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1716
|
+
commitmentCiphertext?: SubscriptionResolver<Maybe<ResolversTypes['CommitmentCiphertext']>, 'commitmentCiphertext', ParentType, ContextType, RequireFields<SubscriptioncommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
|
|
1717
|
+
commitmentCiphertexts?: SubscriptionResolver<Array<ResolversTypes['CommitmentCiphertext']>, 'commitmentCiphertexts', ParentType, ContextType, RequireFields<SubscriptioncommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1718
|
+
legacyGeneratedCommitment?: SubscriptionResolver<Maybe<ResolversTypes['LegacyGeneratedCommitment']>, 'legacyGeneratedCommitment', ParentType, ContextType, RequireFields<SubscriptionlegacyGeneratedCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1719
|
+
legacyGeneratedCommitments?: SubscriptionResolver<Array<ResolversTypes['LegacyGeneratedCommitment']>, 'legacyGeneratedCommitments', ParentType, ContextType, RequireFields<SubscriptionlegacyGeneratedCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1720
|
+
legacyEncryptedCommitment?: SubscriptionResolver<Maybe<ResolversTypes['LegacyEncryptedCommitment']>, 'legacyEncryptedCommitment', ParentType, ContextType, RequireFields<SubscriptionlegacyEncryptedCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1721
|
+
legacyEncryptedCommitments?: SubscriptionResolver<Array<ResolversTypes['LegacyEncryptedCommitment']>, 'legacyEncryptedCommitments', ParentType, ContextType, RequireFields<SubscriptionlegacyEncryptedCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1722
|
+
encryptCommitment?: SubscriptionResolver<Maybe<ResolversTypes['EncryptCommitment']>, 'encryptCommitment', ParentType, ContextType, RequireFields<SubscriptionencryptCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1723
|
+
encryptCommitments?: SubscriptionResolver<Array<ResolversTypes['EncryptCommitment']>, 'encryptCommitments', ParentType, ContextType, RequireFields<SubscriptionencryptCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1724
|
+
transactCommitment?: SubscriptionResolver<Maybe<ResolversTypes['TransactCommitment']>, 'transactCommitment', ParentType, ContextType, RequireFields<SubscriptiontransactCommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1725
|
+
transactCommitments?: SubscriptionResolver<Array<ResolversTypes['TransactCommitment']>, 'transactCommitments', ParentType, ContextType, RequireFields<SubscriptiontransactCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1726
|
+
unshield?: SubscriptionResolver<Maybe<ResolversTypes['Unshield']>, 'unshield', ParentType, ContextType, RequireFields<SubscriptionunshieldArgs, 'id' | 'subgraphError'>>;
|
|
1727
|
+
unshields?: SubscriptionResolver<Array<ResolversTypes['Unshield']>, 'unshields', ParentType, ContextType, RequireFields<SubscriptionunshieldsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1728
|
+
nullifier?: SubscriptionResolver<Maybe<ResolversTypes['Nullifier']>, 'nullifier', ParentType, ContextType, RequireFields<SubscriptionnullifierArgs, 'id' | 'subgraphError'>>;
|
|
1729
|
+
nullifiers?: SubscriptionResolver<Array<ResolversTypes['Nullifier']>, 'nullifiers', ParentType, ContextType, RequireFields<SubscriptionnullifiersArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1730
|
+
commitment?: SubscriptionResolver<Maybe<ResolversTypes['Commitment']>, 'commitment', ParentType, ContextType, RequireFields<SubscriptioncommitmentArgs, 'id' | 'subgraphError'>>;
|
|
1731
|
+
commitments?: SubscriptionResolver<Array<ResolversTypes['Commitment']>, 'commitments', ParentType, ContextType, RequireFields<SubscriptioncommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
|
|
1732
|
+
_meta?: SubscriptionResolver<Maybe<ResolversTypes['_Meta_']>, '_meta', ParentType, ContextType, Partial<Subscription_metaArgs>>;
|
|
1733
|
+
}>;
|
|
1734
|
+
export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigDecimal'], any> {
|
|
1735
|
+
name: 'BigDecimal';
|
|
1736
|
+
}
|
|
1737
|
+
export interface BigIntScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigInt'], any> {
|
|
1738
|
+
name: 'BigInt';
|
|
1739
|
+
}
|
|
1740
|
+
export interface BytesScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Bytes'], any> {
|
|
1741
|
+
name: 'Bytes';
|
|
1742
|
+
}
|
|
1743
|
+
export type CiphertextResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Ciphertext'] = ResolversParentTypes['Ciphertext']> = ResolversObject<{
|
|
1744
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1745
|
+
iv?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1746
|
+
tag?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1747
|
+
data?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1748
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1749
|
+
}>;
|
|
1750
|
+
export type CommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Commitment'] = ResolversParentTypes['Commitment']> = ResolversObject<{
|
|
1751
|
+
__resolveType: TypeResolveFn<'LegacyEncryptedCommitment' | 'LegacyGeneratedCommitment' | 'EncryptCommitment' | 'TransactCommitment', ParentType, ContextType>;
|
|
1752
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1753
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1754
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1755
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1756
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1757
|
+
batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1758
|
+
treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1759
|
+
commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
|
|
1760
|
+
hash?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1761
|
+
}>;
|
|
1762
|
+
export type CommitmentCiphertextResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['CommitmentCiphertext'] = ResolversParentTypes['CommitmentCiphertext']> = ResolversObject<{
|
|
1763
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1764
|
+
ciphertext?: Resolver<ResolversTypes['Ciphertext'], ParentType, ContextType>;
|
|
1765
|
+
blindedSenderViewingKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1766
|
+
blindedReceiverViewingKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1767
|
+
annotationData?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1768
|
+
memo?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1769
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1770
|
+
}>;
|
|
1771
|
+
export type CommitmentPreimageResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['CommitmentPreimage'] = ResolversParentTypes['CommitmentPreimage']> = ResolversObject<{
|
|
1772
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1773
|
+
npk?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1774
|
+
token?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
|
|
1775
|
+
value?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1776
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1777
|
+
}>;
|
|
1778
|
+
export type LegacyCommitmentCiphertextResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['LegacyCommitmentCiphertext'] = ResolversParentTypes['LegacyCommitmentCiphertext']> = ResolversObject<{
|
|
1779
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1780
|
+
ciphertext?: Resolver<ResolversTypes['Ciphertext'], ParentType, ContextType>;
|
|
1781
|
+
ephemeralKeys?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1782
|
+
memo?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1783
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1784
|
+
}>;
|
|
1785
|
+
export type LegacyEncryptedCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['LegacyEncryptedCommitment'] = ResolversParentTypes['LegacyEncryptedCommitment']> = ResolversObject<{
|
|
1786
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1787
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1788
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1789
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1790
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1791
|
+
batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1792
|
+
treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1793
|
+
commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
|
|
1794
|
+
hash?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1795
|
+
ciphertext?: Resolver<ResolversTypes['LegacyCommitmentCiphertext'], ParentType, ContextType>;
|
|
1796
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1797
|
+
}>;
|
|
1798
|
+
export type LegacyGeneratedCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['LegacyGeneratedCommitment'] = ResolversParentTypes['LegacyGeneratedCommitment']> = ResolversObject<{
|
|
1799
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1800
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1801
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1802
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1803
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1804
|
+
batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1805
|
+
treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1806
|
+
commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
|
|
1807
|
+
hash?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1808
|
+
preimage?: Resolver<ResolversTypes['CommitmentPreimage'], ParentType, ContextType>;
|
|
1809
|
+
encryptedRandom?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1810
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1811
|
+
}>;
|
|
1812
|
+
export type NullifierResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Nullifier'] = ResolversParentTypes['Nullifier']> = ResolversObject<{
|
|
1813
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1814
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1815
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1816
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1817
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1818
|
+
nullifier?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1819
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1820
|
+
}>;
|
|
1821
|
+
export type EncryptCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['EncryptCommitment'] = ResolversParentTypes['EncryptCommitment']> = ResolversObject<{
|
|
1822
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1823
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1824
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1825
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1826
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1827
|
+
batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1828
|
+
treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1829
|
+
commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
|
|
1830
|
+
hash?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1831
|
+
preimage?: Resolver<ResolversTypes['CommitmentPreimage'], ParentType, ContextType>;
|
|
1832
|
+
encryptedBundle?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1833
|
+
encryptKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1834
|
+
fee?: Resolver<Maybe<ResolversTypes['BigInt']>, ParentType, ContextType>;
|
|
1835
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1836
|
+
}>;
|
|
1837
|
+
export type TokenResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Token'] = ResolversParentTypes['Token']> = ResolversObject<{
|
|
1838
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1839
|
+
tokenType?: Resolver<ResolversTypes['TokenType'], ParentType, ContextType>;
|
|
1840
|
+
tokenAddress?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1841
|
+
tokenSubID?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1842
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1843
|
+
}>;
|
|
1844
|
+
export type TransactCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['TransactCommitment'] = ResolversParentTypes['TransactCommitment']> = ResolversObject<{
|
|
1845
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1846
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1847
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1848
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1849
|
+
treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1850
|
+
batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1851
|
+
treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1852
|
+
commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
|
|
1853
|
+
hash?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1854
|
+
ciphertext?: Resolver<ResolversTypes['CommitmentCiphertext'], ParentType, ContextType>;
|
|
1855
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1856
|
+
}>;
|
|
1857
|
+
export type UnshieldResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Unshield'] = ResolversParentTypes['Unshield']> = ResolversObject<{
|
|
1858
|
+
id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1859
|
+
blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1860
|
+
blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1861
|
+
transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1862
|
+
to?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
|
|
1863
|
+
token?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
|
|
1864
|
+
amount?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1865
|
+
fee?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1866
|
+
eventLogIndex?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
|
|
1867
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1868
|
+
}>;
|
|
1869
|
+
export type _Block_Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_Block_'] = ResolversParentTypes['_Block_']> = ResolversObject<{
|
|
1870
|
+
hash?: Resolver<Maybe<ResolversTypes['Bytes']>, ParentType, ContextType>;
|
|
1871
|
+
number?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
|
|
1872
|
+
timestamp?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
|
1873
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1874
|
+
}>;
|
|
1875
|
+
export type _Meta_Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_Meta_'] = ResolversParentTypes['_Meta_']> = ResolversObject<{
|
|
1876
|
+
block?: Resolver<ResolversTypes['_Block_'], ParentType, ContextType>;
|
|
1877
|
+
deployment?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1878
|
+
hasIndexingErrors?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1879
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1880
|
+
}>;
|
|
1881
|
+
export type Resolvers<ContextType = MeshContext> = ResolversObject<{
|
|
1882
|
+
Query?: QueryResolvers<ContextType>;
|
|
1883
|
+
Subscription?: SubscriptionResolvers<ContextType>;
|
|
1884
|
+
BigDecimal?: GraphQLScalarType;
|
|
1885
|
+
BigInt?: GraphQLScalarType;
|
|
1886
|
+
Bytes?: GraphQLScalarType;
|
|
1887
|
+
Ciphertext?: CiphertextResolvers<ContextType>;
|
|
1888
|
+
Commitment?: CommitmentResolvers<ContextType>;
|
|
1889
|
+
CommitmentCiphertext?: CommitmentCiphertextResolvers<ContextType>;
|
|
1890
|
+
CommitmentPreimage?: CommitmentPreimageResolvers<ContextType>;
|
|
1891
|
+
LegacyCommitmentCiphertext?: LegacyCommitmentCiphertextResolvers<ContextType>;
|
|
1892
|
+
LegacyEncryptedCommitment?: LegacyEncryptedCommitmentResolvers<ContextType>;
|
|
1893
|
+
LegacyGeneratedCommitment?: LegacyGeneratedCommitmentResolvers<ContextType>;
|
|
1894
|
+
Nullifier?: NullifierResolvers<ContextType>;
|
|
1895
|
+
EncryptCommitment?: EncryptCommitmentResolvers<ContextType>;
|
|
1896
|
+
Token?: TokenResolvers<ContextType>;
|
|
1897
|
+
TransactCommitment?: TransactCommitmentResolvers<ContextType>;
|
|
1898
|
+
Unshield?: UnshieldResolvers<ContextType>;
|
|
1899
|
+
_Block_?: _Block_Resolvers<ContextType>;
|
|
1900
|
+
_Meta_?: _Meta_Resolvers<ContextType>;
|
|
1901
|
+
}>;
|
|
1902
|
+
export type DirectiveResolvers<ContextType = MeshContext> = ResolversObject<{
|
|
1903
|
+
entity?: entityDirectiveResolver<any, any, ContextType>;
|
|
1904
|
+
subgraphId?: subgraphIdDirectiveResolver<any, any, ContextType>;
|
|
1905
|
+
derivedFrom?: derivedFromDirectiveResolver<any, any, ContextType>;
|
|
1906
|
+
}>;
|
|
1907
|
+
export type MeshContext = GoerliTypes.Context & ArbitrumGoerliTypes.Context & MumbaiTypes.Context & EthereumTypes.Context & MaticTypes.Context & BscTypes.Context & ArbitrumOneTypes.Context & BaseMeshContext;
|
|
1908
|
+
export declare const rawServeConfig: YamlConfig.Config['serve'];
|
|
1909
|
+
export declare function getMeshOptions(): Promise<GetMeshOptions>;
|
|
1910
|
+
export declare function createBuiltMeshHTTPHandler<TServerContext = {}>(): MeshHTTPHandler<TServerContext>;
|
|
1911
|
+
export declare function getBuiltGraphClient(): Promise<MeshInstance>;
|
|
1912
|
+
export declare const execute: ExecuteMeshFn;
|
|
1913
|
+
export declare const subscribe: SubscribeMeshFn;
|
|
1914
|
+
export declare function getBuiltGraphSDK<TGlobalContext = any, TOperationContext = any>(globalContext?: TGlobalContext): {
|
|
1915
|
+
Nullifiers(variables?: Exact<{
|
|
1916
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1917
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<NullifiersQuery>;
|
|
1918
|
+
Unshields(variables?: Exact<{
|
|
1919
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1920
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<UnshieldsQuery>;
|
|
1921
|
+
Commitments(variables?: Exact<{
|
|
1922
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1923
|
+
}> | undefined, options?: TOperationContext | undefined): Promise<CommitmentsQuery>;
|
|
1924
|
+
};
|
|
1925
|
+
export type NullifiersQueryVariables = Exact<{
|
|
1926
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1927
|
+
}>;
|
|
1928
|
+
export type NullifiersQuery = {
|
|
1929
|
+
nullifiers: Array<Pick<Nullifier, 'id' | 'blockNumber' | 'nullifier' | 'transactionHash' | 'blockTimestamp' | 'treeNumber'>>;
|
|
1930
|
+
};
|
|
1931
|
+
export type UnshieldsQueryVariables = Exact<{
|
|
1932
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1933
|
+
}>;
|
|
1934
|
+
export type UnshieldsQuery = {
|
|
1935
|
+
unshields: Array<Pick<Unshield, 'id' | 'blockNumber' | 'to' | 'transactionHash' | 'fee' | 'blockTimestamp' | 'amount' | 'eventLogIndex'> & {
|
|
1936
|
+
token: Pick<Token, 'id' | 'tokenType' | 'tokenSubID' | 'tokenAddress'>;
|
|
1937
|
+
}>;
|
|
1938
|
+
};
|
|
1939
|
+
export type CommitmentsQueryVariables = Exact<{
|
|
1940
|
+
blockNumber?: InputMaybe<Scalars['BigInt']>;
|
|
1941
|
+
}>;
|
|
1942
|
+
export type CommitmentsQuery = {
|
|
1943
|
+
commitments: Array<(Pick<LegacyEncryptedCommitment, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash'> & {
|
|
1944
|
+
legacyCiphertext: Pick<LegacyCommitmentCiphertext, 'id' | 'ephemeralKeys' | 'memo'> & {
|
|
1945
|
+
ciphertext: Pick<Ciphertext, 'id' | 'iv' | 'tag' | 'data'>;
|
|
1946
|
+
};
|
|
1947
|
+
}) | (Pick<LegacyGeneratedCommitment, 'id' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'blockNumber' | 'transactionHash' | 'blockTimestamp' | 'commitmentType' | 'hash' | 'encryptedRandom'> & {
|
|
1948
|
+
preimage: Pick<CommitmentPreimage, 'id' | 'npk' | 'value'> & {
|
|
1949
|
+
token: Pick<Token, 'id' | 'tokenType' | 'tokenSubID' | 'tokenAddress'>;
|
|
1950
|
+
};
|
|
1951
|
+
}) | (Pick<EncryptCommitment, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash' | 'encryptKey' | 'fee' | 'encryptedBundle'> & {
|
|
1952
|
+
preimage: Pick<CommitmentPreimage, 'id' | 'npk' | 'value'> & {
|
|
1953
|
+
token: Pick<Token, 'id' | 'tokenType' | 'tokenSubID' | 'tokenAddress'>;
|
|
1954
|
+
};
|
|
1955
|
+
}) | (Pick<TransactCommitment, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'treePosition' | 'commitmentType' | 'hash'> & {
|
|
1956
|
+
ciphertext: Pick<CommitmentCiphertext, 'id' | 'blindedSenderViewingKey' | 'blindedReceiverViewingKey' | 'annotationData' | 'memo'> & {
|
|
1957
|
+
ciphertext: Pick<Ciphertext, 'id' | 'iv' | 'tag' | 'data'>;
|
|
1958
|
+
};
|
|
1959
|
+
})>;
|
|
1960
|
+
};
|
|
1961
|
+
export declare const NullifiersDocument: DocumentNode<NullifiersQuery, Exact<{
|
|
1962
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1963
|
+
}>>;
|
|
1964
|
+
export declare const UnshieldsDocument: DocumentNode<UnshieldsQuery, Exact<{
|
|
1965
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1966
|
+
}>>;
|
|
1967
|
+
export declare const CommitmentsDocument: DocumentNode<CommitmentsQuery, Exact<{
|
|
1968
|
+
blockNumber?: InputMaybe<string> | undefined;
|
|
1969
|
+
}>>;
|
|
1970
|
+
export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
1971
|
+
export declare function getSdk<C, E>(requester: Requester<C, E>): {
|
|
1972
|
+
Nullifiers(variables?: NullifiersQueryVariables, options?: C): Promise<NullifiersQuery>;
|
|
1973
|
+
Unshields(variables?: UnshieldsQueryVariables, options?: C): Promise<UnshieldsQuery>;
|
|
1974
|
+
Commitments(variables?: CommitmentsQueryVariables, options?: C): Promise<CommitmentsQuery>;
|
|
1975
|
+
};
|
|
1976
|
+
export type Sdk = ReturnType<typeof getSdk>;
|