@matrix-privacy/wallet 0.0.1

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.
Files changed (270) hide show
  1. package/.eslintrc.js +73 -0
  2. package/.prettierrc.js +21 -0
  3. package/LICENSE +21 -0
  4. package/README.md +7 -0
  5. package/dist/__tests__/index.test.d.ts +1 -0
  6. package/dist/__tests__/index.test.js +13 -0
  7. package/dist/__tests__/index.test.js.map +1 -0
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.js +20 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/services/artifacts/__tests__/artifact-downloader.test.d.ts +1 -0
  12. package/dist/services/artifacts/__tests__/artifact-downloader.test.js +172 -0
  13. package/dist/services/artifacts/__tests__/artifact-downloader.test.js.map +1 -0
  14. package/dist/services/artifacts/artifact-downloader.d.ts +13 -0
  15. package/dist/services/artifacts/artifact-downloader.js +142 -0
  16. package/dist/services/artifacts/artifact-downloader.js.map +1 -0
  17. package/dist/services/artifacts/artifact-hash.d.ts +3 -0
  18. package/dist/services/artifacts/artifact-hash.js +53 -0
  19. package/dist/services/artifacts/artifact-hash.js.map +1 -0
  20. package/dist/services/artifacts/artifact-store.d.ts +11 -0
  21. package/dist/services/artifacts/artifact-store.js +15 -0
  22. package/dist/services/artifacts/artifact-store.js.map +1 -0
  23. package/dist/services/artifacts/artifact-util.d.ts +7 -0
  24. package/dist/services/artifacts/artifact-util.js +64 -0
  25. package/dist/services/artifacts/artifact-util.js.map +1 -0
  26. package/dist/services/artifacts/index.d.ts +2 -0
  27. package/dist/services/artifacts/index.js +19 -0
  28. package/dist/services/artifacts/index.js.map +1 -0
  29. package/dist/services/artifacts/json/artifact-v2-hashes.json +467 -0
  30. package/dist/services/ethers/__tests__/ethers-util.test.d.ts +1 -0
  31. package/dist/services/ethers/__tests__/ethers-util.test.js +19 -0
  32. package/dist/services/ethers/__tests__/ethers-util.test.js.map +1 -0
  33. package/dist/services/ethers/ethers-util.d.ts +1 -0
  34. package/dist/services/ethers/ethers-util.js +9 -0
  35. package/dist/services/ethers/ethers-util.js.map +1 -0
  36. package/dist/services/ethers/index.d.ts +1 -0
  37. package/dist/services/ethers/index.js +18 -0
  38. package/dist/services/ethers/index.js.map +1 -0
  39. package/dist/services/index.d.ts +4 -0
  40. package/dist/services/index.js +21 -0
  41. package/dist/services/index.js.map +1 -0
  42. package/dist/services/matrix/core/__tests__/engine.test.d.ts +1 -0
  43. package/dist/services/matrix/core/__tests__/engine.test.js +30 -0
  44. package/dist/services/matrix/core/__tests__/engine.test.js.map +1 -0
  45. package/dist/services/matrix/core/__tests__/providers.test.d.ts +1 -0
  46. package/dist/services/matrix/core/__tests__/providers.test.js +54 -0
  47. package/dist/services/matrix/core/__tests__/providers.test.js.map +1 -0
  48. package/dist/services/matrix/core/artifacts.d.ts +10 -0
  49. package/dist/services/matrix/core/artifacts.js +70 -0
  50. package/dist/services/matrix/core/artifacts.js.map +1 -0
  51. package/dist/services/matrix/core/engine.d.ts +4 -0
  52. package/dist/services/matrix/core/engine.js +21 -0
  53. package/dist/services/matrix/core/engine.js.map +1 -0
  54. package/dist/services/matrix/core/index.d.ts +8 -0
  55. package/dist/services/matrix/core/index.js +25 -0
  56. package/dist/services/matrix/core/index.js.map +1 -0
  57. package/dist/services/matrix/core/init.d.ts +21 -0
  58. package/dist/services/matrix/core/init.js +79 -0
  59. package/dist/services/matrix/core/init.js.map +1 -0
  60. package/dist/services/matrix/core/load-provider.d.ts +9 -0
  61. package/dist/services/matrix/core/load-provider.js +100 -0
  62. package/dist/services/matrix/core/load-provider.js.map +1 -0
  63. package/dist/services/matrix/core/merkletree.d.ts +5 -0
  64. package/dist/services/matrix/core/merkletree.js +40 -0
  65. package/dist/services/matrix/core/merkletree.js.map +1 -0
  66. package/dist/services/matrix/core/prover.d.ts +3 -0
  67. package/dist/services/matrix/core/prover.js +14 -0
  68. package/dist/services/matrix/core/prover.js.map +1 -0
  69. package/dist/services/matrix/core/providers.d.ts +9 -0
  70. package/dist/services/matrix/core/providers.js +31 -0
  71. package/dist/services/matrix/core/providers.js.map +1 -0
  72. package/dist/services/matrix/core/shields.d.ts +11 -0
  73. package/dist/services/matrix/core/shields.js +24 -0
  74. package/dist/services/matrix/core/shields.js.map +1 -0
  75. package/dist/services/matrix/history/__tests__/transaction-history.test.d.ts +1 -0
  76. package/dist/services/matrix/history/__tests__/transaction-history.test.js +249 -0
  77. package/dist/services/matrix/history/__tests__/transaction-history.test.js.map +1 -0
  78. package/dist/services/matrix/history/transaction-history.d.ts +4 -0
  79. package/dist/services/matrix/history/transaction-history.js +182 -0
  80. package/dist/services/matrix/history/transaction-history.js.map +1 -0
  81. package/dist/services/matrix/index.d.ts +4 -0
  82. package/dist/services/matrix/index.js +21 -0
  83. package/dist/services/matrix/index.js.map +1 -0
  84. package/dist/services/matrix/process/extract-transaction-data.d.ts +3 -0
  85. package/dist/services/matrix/process/extract-transaction-data.js +19 -0
  86. package/dist/services/matrix/process/extract-transaction-data.js.map +1 -0
  87. package/dist/services/matrix/process/index.d.ts +1 -0
  88. package/dist/services/matrix/process/index.js +18 -0
  89. package/dist/services/matrix/process/index.js.map +1 -0
  90. package/dist/services/matrix/quick-sync/V3/__tests__/quick-sync-events-graph-v3.test.d.ts +1 -0
  91. package/dist/services/matrix/quick-sync/V3/__tests__/quick-sync-events-graph-v3.test.js +56 -0
  92. package/dist/services/matrix/quick-sync/V3/__tests__/quick-sync-events-graph-v3.test.js.map +1 -0
  93. package/dist/services/matrix/quick-sync/V3/graph-type-formatters-v3.d.ts +8 -0
  94. package/dist/services/matrix/quick-sync/V3/graph-type-formatters-v3.js +103 -0
  95. package/dist/services/matrix/quick-sync/V3/graph-type-formatters-v3.js.map +1 -0
  96. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/introspectionSchema.d.ts +2 -0
  97. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/introspectionSchema.js +19861 -0
  98. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/introspectionSchema.js.map +1 -0
  99. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/types.d.ts +1352 -0
  100. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/types.js +4 -0
  101. package/dist/services/matrix/quick-sync/V3/graphql/.graphclient/sources/mumbai/types.js.map +1 -0
  102. package/dist/services/matrix/quick-sync/V3/graphql/index.d.ts +1680 -0
  103. package/dist/services/matrix/quick-sync/V3/graphql/index.js +348 -0
  104. package/dist/services/matrix/quick-sync/V3/graphql/index.js.map +1 -0
  105. package/dist/services/matrix/quick-sync/V3/quick-sync-events-graph-v3.d.ts +2 -0
  106. package/dist/services/matrix/quick-sync/V3/quick-sync-events-graph-v3.js +99 -0
  107. package/dist/services/matrix/quick-sync/V3/quick-sync-events-graph-v3.js.map +1 -0
  108. package/dist/services/matrix/quick-sync/graph-query.d.ts +5 -0
  109. package/dist/services/matrix/quick-sync/graph-query.js +26 -0
  110. package/dist/services/matrix/quick-sync/graph-query.js.map +1 -0
  111. package/dist/services/matrix/quick-sync/quick-sync-events.d.ts +2 -0
  112. package/dist/services/matrix/quick-sync/quick-sync-events.js +9 -0
  113. package/dist/services/matrix/quick-sync/quick-sync-events.js.map +1 -0
  114. package/dist/services/matrix/quick-sync/shared-formatters.d.ts +8 -0
  115. package/dist/services/matrix/quick-sync/shared-formatters.js +36 -0
  116. package/dist/services/matrix/quick-sync/shared-formatters.js.map +1 -0
  117. package/dist/services/matrix/util/__tests__/bytes-util.test.d.ts +1 -0
  118. package/dist/services/matrix/util/__tests__/bytes-util.test.js +23 -0
  119. package/dist/services/matrix/util/__tests__/bytes-util.test.js.map +1 -0
  120. package/dist/services/matrix/util/__tests__/crypto-util.test.d.ts +1 -0
  121. package/dist/services/matrix/util/__tests__/crypto-util.test.js +62 -0
  122. package/dist/services/matrix/util/__tests__/crypto-util.test.js.map +1 -0
  123. package/dist/services/matrix/util/bytes.d.ts +5 -0
  124. package/dist/services/matrix/util/bytes.js +22 -0
  125. package/dist/services/matrix/util/bytes.js.map +1 -0
  126. package/dist/services/matrix/util/crypto.d.ts +14 -0
  127. package/dist/services/matrix/util/crypto.js +80 -0
  128. package/dist/services/matrix/util/crypto.js.map +1 -0
  129. package/dist/services/matrix/util/graph-util.d.ts +3 -0
  130. package/dist/services/matrix/util/graph-util.js +13 -0
  131. package/dist/services/matrix/util/graph-util.js.map +1 -0
  132. package/dist/services/matrix/util/index.d.ts +2 -0
  133. package/dist/services/matrix/util/index.js +19 -0
  134. package/dist/services/matrix/util/index.js.map +1 -0
  135. package/dist/services/matrix/util/runtime.d.ts +2 -0
  136. package/dist/services/matrix/util/runtime.js +8 -0
  137. package/dist/services/matrix/util/runtime.js.map +1 -0
  138. package/dist/services/matrix/wallets/__tests__/balances-live.test.d.ts +1 -0
  139. package/dist/services/matrix/wallets/__tests__/balances-live.test.js +48 -0
  140. package/dist/services/matrix/wallets/__tests__/balances-live.test.js.map +1 -0
  141. package/dist/services/matrix/wallets/__tests__/balances-update.test.d.ts +1 -0
  142. package/dist/services/matrix/wallets/__tests__/balances-update.test.js +85 -0
  143. package/dist/services/matrix/wallets/__tests__/balances-update.test.js.map +1 -0
  144. package/dist/services/matrix/wallets/__tests__/balances.test.d.ts +1 -0
  145. package/dist/services/matrix/wallets/__tests__/balances.test.js +59 -0
  146. package/dist/services/matrix/wallets/__tests__/balances.test.js.map +1 -0
  147. package/dist/services/matrix/wallets/__tests__/wallets.test.d.ts +1 -0
  148. package/dist/services/matrix/wallets/__tests__/wallets.test.js +80 -0
  149. package/dist/services/matrix/wallets/__tests__/wallets.test.js.map +1 -0
  150. package/dist/services/matrix/wallets/balance-update.d.ts +10 -0
  151. package/dist/services/matrix/wallets/balance-update.js +126 -0
  152. package/dist/services/matrix/wallets/balance-update.js.map +1 -0
  153. package/dist/services/matrix/wallets/balances.d.ts +3 -0
  154. package/dist/services/matrix/wallets/balances.js +32 -0
  155. package/dist/services/matrix/wallets/balances.js.map +1 -0
  156. package/dist/services/matrix/wallets/index.d.ts +4 -0
  157. package/dist/services/matrix/wallets/index.js +21 -0
  158. package/dist/services/matrix/wallets/index.js.map +1 -0
  159. package/dist/services/matrix/wallets/wallets.d.ts +22 -0
  160. package/dist/services/matrix/wallets/wallets.js +252 -0
  161. package/dist/services/matrix/wallets/wallets.js.map +1 -0
  162. package/dist/services/transactions/__tests__/json/formatted-relay-adapt-error-logs.json +216 -0
  163. package/dist/services/transactions/__tests__/proof-cache.test.d.ts +1 -0
  164. package/dist/services/transactions/__tests__/proof-cache.test.js +114 -0
  165. package/dist/services/transactions/__tests__/proof-cache.test.js.map +1 -0
  166. package/dist/services/transactions/__tests__/tx-cross-contract-calls.test.d.ts +1 -0
  167. package/dist/services/transactions/__tests__/tx-cross-contract-calls.test.js +376 -0
  168. package/dist/services/transactions/__tests__/tx-cross-contract-calls.test.js.map +1 -0
  169. package/dist/services/transactions/__tests__/tx-gas-details.test.d.ts +1 -0
  170. package/dist/services/transactions/__tests__/tx-gas-details.test.js +109 -0
  171. package/dist/services/transactions/__tests__/tx-gas-details.test.js.map +1 -0
  172. package/dist/services/transactions/__tests__/tx-notes.test.d.ts +1 -0
  173. package/dist/services/transactions/__tests__/tx-notes.test.js +193 -0
  174. package/dist/services/transactions/__tests__/tx-notes.test.js.map +1 -0
  175. package/dist/services/transactions/__tests__/tx-shield-base-token.test.d.ts +1 -0
  176. package/dist/services/transactions/__tests__/tx-shield-base-token.test.js +99 -0
  177. package/dist/services/transactions/__tests__/tx-shield-base-token.test.js.map +1 -0
  178. package/dist/services/transactions/__tests__/tx-shield.test.d.ts +1 -0
  179. package/dist/services/transactions/__tests__/tx-shield.test.js +146 -0
  180. package/dist/services/transactions/__tests__/tx-shield.test.js.map +1 -0
  181. package/dist/services/transactions/__tests__/tx-transfer.test.d.ts +1 -0
  182. package/dist/services/transactions/__tests__/tx-transfer.test.js +263 -0
  183. package/dist/services/transactions/__tests__/tx-transfer.test.js.map +1 -0
  184. package/dist/services/transactions/__tests__/tx-unshield.test.d.ts +1 -0
  185. package/dist/services/transactions/__tests__/tx-unshield.test.js +759 -0
  186. package/dist/services/transactions/__tests__/tx-unshield.test.js.map +1 -0
  187. package/dist/services/transactions/index.d.ts +13 -0
  188. package/dist/services/transactions/index.js +30 -0
  189. package/dist/services/transactions/index.js.map +1 -0
  190. package/dist/services/transactions/proof-cache.d.ts +27 -0
  191. package/dist/services/transactions/proof-cache.js +130 -0
  192. package/dist/services/transactions/proof-cache.js.map +1 -0
  193. package/dist/services/transactions/tx-cross-contract-calls.d.ts +12 -0
  194. package/dist/services/transactions/tx-cross-contract-calls.js +210 -0
  195. package/dist/services/transactions/tx-cross-contract-calls.js.map +1 -0
  196. package/dist/services/transactions/tx-gas-broadcaster-fee-estimator.d.ts +5 -0
  197. package/dist/services/transactions/tx-gas-broadcaster-fee-estimator.js +110 -0
  198. package/dist/services/transactions/tx-gas-broadcaster-fee-estimator.js.map +1 -0
  199. package/dist/services/transactions/tx-gas-details.d.ts +5 -0
  200. package/dist/services/transactions/tx-gas-details.js +101 -0
  201. package/dist/services/transactions/tx-gas-details.js.map +1 -0
  202. package/dist/services/transactions/tx-generator.d.ts +13 -0
  203. package/dist/services/transactions/tx-generator.js +168 -0
  204. package/dist/services/transactions/tx-generator.js.map +1 -0
  205. package/dist/services/transactions/tx-notes.d.ts +11 -0
  206. package/dist/services/transactions/tx-notes.js +153 -0
  207. package/dist/services/transactions/tx-notes.js.map +1 -0
  208. package/dist/services/transactions/tx-nullifiers.d.ts +2 -0
  209. package/dist/services/transactions/tx-nullifiers.js +17 -0
  210. package/dist/services/transactions/tx-nullifiers.js.map +1 -0
  211. package/dist/services/transactions/tx-proof-transfer.d.ts +3 -0
  212. package/dist/services/transactions/tx-proof-transfer.js +39 -0
  213. package/dist/services/transactions/tx-proof-transfer.js.map +1 -0
  214. package/dist/services/transactions/tx-proof-unshield.d.ts +5 -0
  215. package/dist/services/transactions/tx-proof-unshield.js +132 -0
  216. package/dist/services/transactions/tx-proof-unshield.js.map +1 -0
  217. package/dist/services/transactions/tx-shield-base-token.d.ts +3 -0
  218. package/dist/services/transactions/tx-shield-base-token.js +55 -0
  219. package/dist/services/transactions/tx-shield-base-token.js.map +1 -0
  220. package/dist/services/transactions/tx-shield.d.ts +6 -0
  221. package/dist/services/transactions/tx-shield.js +77 -0
  222. package/dist/services/transactions/tx-shield.js.map +1 -0
  223. package/dist/services/transactions/tx-transfer.d.ts +3 -0
  224. package/dist/services/transactions/tx-transfer.js +39 -0
  225. package/dist/services/transactions/tx-transfer.js.map +1 -0
  226. package/dist/services/transactions/tx-unshield.d.ts +11 -0
  227. package/dist/services/transactions/tx-unshield.js +224 -0
  228. package/dist/services/transactions/tx-unshield.js.map +1 -0
  229. package/dist/tests/local-e2e.d.ts +13 -0
  230. package/dist/tests/local-e2e.js +487 -0
  231. package/dist/tests/local-e2e.js.map +1 -0
  232. package/dist/tests/mocks.test.d.ts +40 -0
  233. package/dist/tests/mocks.test.js +171 -0
  234. package/dist/tests/mocks.test.js.map +1 -0
  235. package/dist/tests/setup.test.d.ts +7 -0
  236. package/dist/tests/setup.test.js +88 -0
  237. package/dist/tests/setup.test.js.map +1 -0
  238. package/dist/tests/stubs/engine-stubs.test.d.ts +7 -0
  239. package/dist/tests/stubs/engine-stubs.test.js +72 -0
  240. package/dist/tests/stubs/engine-stubs.test.js.map +1 -0
  241. package/dist/utils/__tests__/blocked-address.test.d.ts +1 -0
  242. package/dist/utils/__tests__/blocked-address.test.js +23 -0
  243. package/dist/utils/__tests__/blocked-address.test.js.map +1 -0
  244. package/dist/utils/__tests__/logger.test.d.ts +1 -0
  245. package/dist/utils/__tests__/logger.test.js +28 -0
  246. package/dist/utils/__tests__/logger.test.js.map +1 -0
  247. package/dist/utils/__tests__/utils.test.d.ts +1 -0
  248. package/dist/utils/__tests__/utils.test.js +21 -0
  249. package/dist/utils/__tests__/utils.test.js.map +1 -0
  250. package/dist/utils/blocked-address.d.ts +2 -0
  251. package/dist/utils/blocked-address.js +17 -0
  252. package/dist/utils/blocked-address.js.map +1 -0
  253. package/dist/utils/error.d.ts +1 -0
  254. package/dist/utils/error.js +20 -0
  255. package/dist/utils/error.js.map +1 -0
  256. package/dist/utils/gas-price.d.ts +6 -0
  257. package/dist/utils/gas-price.js +19 -0
  258. package/dist/utils/gas-price.js.map +1 -0
  259. package/dist/utils/index.d.ts +2 -0
  260. package/dist/utils/index.js +19 -0
  261. package/dist/utils/index.js.map +1 -0
  262. package/dist/utils/logger.d.ts +3 -0
  263. package/dist/utils/logger.js +21 -0
  264. package/dist/utils/logger.js.map +1 -0
  265. package/dist/utils/utils.d.ts +4 -0
  266. package/dist/utils/utils.js +54 -0
  267. package/dist/utils/utils.js.map +1 -0
  268. package/package.json +94 -0
  269. package/postinstall.js +52 -0
  270. package/react-native-shims.js +42 -0
@@ -0,0 +1,1680 @@
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 { MeshHTTPHandler } from '@graphql-mesh/http';
12
+ import { ExecuteMeshFn, SubscribeMeshFn, MeshContext as BaseMeshContext, MeshInstance } from '@graphql-mesh/runtime';
13
+ import type { MumbaiTypes } from './.graphclient/sources/mumbai/types';
14
+ export type Maybe<T> = T | null;
15
+ export type InputMaybe<T> = Maybe<T>;
16
+ export type Exact<T extends {
17
+ [key: string]: unknown;
18
+ }> = {
19
+ [K in keyof T]: T[K];
20
+ };
21
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
22
+ [SubKey in K]?: Maybe<T[SubKey]>;
23
+ };
24
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
25
+ [SubKey in K]: Maybe<T[SubKey]>;
26
+ };
27
+ export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
28
+ [P in K]-?: NonNullable<T[P]>;
29
+ };
30
+ /** All built-in and custom scalars, mapped to their actual values */
31
+ export type Scalars = {
32
+ ID: string;
33
+ String: string;
34
+ Boolean: boolean;
35
+ Int: number;
36
+ Float: number;
37
+ BigDecimal: string;
38
+ BigInt: string;
39
+ Bytes: string;
40
+ Int8: string;
41
+ };
42
+ export type BlockChangedFilter = {
43
+ number_gte: Scalars['Int'];
44
+ };
45
+ export type Block_height = {
46
+ hash?: InputMaybe<Scalars['Bytes']>;
47
+ number?: InputMaybe<Scalars['Int']>;
48
+ number_gte?: InputMaybe<Scalars['Int']>;
49
+ };
50
+ export type Commitment = {
51
+ id: Scalars['Bytes'];
52
+ blockNumber: Scalars['BigInt'];
53
+ blockTimestamp: Scalars['BigInt'];
54
+ transactionHash: Scalars['Bytes'];
55
+ treeNumber: Scalars['Int'];
56
+ commitmentType: CommitmentType;
57
+ hashes: Array<Scalars['Bytes']>;
58
+ };
59
+ export type CommitmentCiphertext = {
60
+ id: Scalars['Bytes'];
61
+ ciphertext: Scalars['Bytes'];
62
+ blindedSenderViewingKey: Scalars['Bytes'];
63
+ blindedReceiverViewingKey: Scalars['Bytes'];
64
+ };
65
+ export type CommitmentCiphertext_filter = {
66
+ id?: InputMaybe<Scalars['Bytes']>;
67
+ id_not?: InputMaybe<Scalars['Bytes']>;
68
+ id_gt?: InputMaybe<Scalars['Bytes']>;
69
+ id_lt?: InputMaybe<Scalars['Bytes']>;
70
+ id_gte?: InputMaybe<Scalars['Bytes']>;
71
+ id_lte?: InputMaybe<Scalars['Bytes']>;
72
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
73
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
74
+ id_contains?: InputMaybe<Scalars['Bytes']>;
75
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
76
+ ciphertext?: InputMaybe<Scalars['Bytes']>;
77
+ ciphertext_not?: InputMaybe<Scalars['Bytes']>;
78
+ ciphertext_gt?: InputMaybe<Scalars['Bytes']>;
79
+ ciphertext_lt?: InputMaybe<Scalars['Bytes']>;
80
+ ciphertext_gte?: InputMaybe<Scalars['Bytes']>;
81
+ ciphertext_lte?: InputMaybe<Scalars['Bytes']>;
82
+ ciphertext_in?: InputMaybe<Array<Scalars['Bytes']>>;
83
+ ciphertext_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
84
+ ciphertext_contains?: InputMaybe<Scalars['Bytes']>;
85
+ ciphertext_not_contains?: InputMaybe<Scalars['Bytes']>;
86
+ blindedSenderViewingKey?: InputMaybe<Scalars['Bytes']>;
87
+ blindedSenderViewingKey_not?: InputMaybe<Scalars['Bytes']>;
88
+ blindedSenderViewingKey_gt?: InputMaybe<Scalars['Bytes']>;
89
+ blindedSenderViewingKey_lt?: InputMaybe<Scalars['Bytes']>;
90
+ blindedSenderViewingKey_gte?: InputMaybe<Scalars['Bytes']>;
91
+ blindedSenderViewingKey_lte?: InputMaybe<Scalars['Bytes']>;
92
+ blindedSenderViewingKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
93
+ blindedSenderViewingKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
94
+ blindedSenderViewingKey_contains?: InputMaybe<Scalars['Bytes']>;
95
+ blindedSenderViewingKey_not_contains?: InputMaybe<Scalars['Bytes']>;
96
+ blindedReceiverViewingKey?: InputMaybe<Scalars['Bytes']>;
97
+ blindedReceiverViewingKey_not?: InputMaybe<Scalars['Bytes']>;
98
+ blindedReceiverViewingKey_gt?: InputMaybe<Scalars['Bytes']>;
99
+ blindedReceiverViewingKey_lt?: InputMaybe<Scalars['Bytes']>;
100
+ blindedReceiverViewingKey_gte?: InputMaybe<Scalars['Bytes']>;
101
+ blindedReceiverViewingKey_lte?: InputMaybe<Scalars['Bytes']>;
102
+ blindedReceiverViewingKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
103
+ blindedReceiverViewingKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
104
+ blindedReceiverViewingKey_contains?: InputMaybe<Scalars['Bytes']>;
105
+ blindedReceiverViewingKey_not_contains?: InputMaybe<Scalars['Bytes']>;
106
+ /** Filter for the block changed event. */
107
+ _change_block?: InputMaybe<BlockChangedFilter>;
108
+ and?: InputMaybe<Array<InputMaybe<CommitmentCiphertext_filter>>>;
109
+ or?: InputMaybe<Array<InputMaybe<CommitmentCiphertext_filter>>>;
110
+ };
111
+ export type CommitmentCiphertext_orderBy = 'id' | 'ciphertext' | 'blindedSenderViewingKey' | 'blindedReceiverViewingKey';
112
+ export type CommitmentPreimage = {
113
+ id: Scalars['Bytes'];
114
+ npk: Scalars['Bytes'];
115
+ token: Token;
116
+ value: Scalars['BigInt'];
117
+ };
118
+ export type CommitmentPreimage_filter = {
119
+ id?: InputMaybe<Scalars['Bytes']>;
120
+ id_not?: InputMaybe<Scalars['Bytes']>;
121
+ id_gt?: InputMaybe<Scalars['Bytes']>;
122
+ id_lt?: InputMaybe<Scalars['Bytes']>;
123
+ id_gte?: InputMaybe<Scalars['Bytes']>;
124
+ id_lte?: InputMaybe<Scalars['Bytes']>;
125
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
126
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
127
+ id_contains?: InputMaybe<Scalars['Bytes']>;
128
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
129
+ npk?: InputMaybe<Scalars['Bytes']>;
130
+ npk_not?: InputMaybe<Scalars['Bytes']>;
131
+ npk_gt?: InputMaybe<Scalars['Bytes']>;
132
+ npk_lt?: InputMaybe<Scalars['Bytes']>;
133
+ npk_gte?: InputMaybe<Scalars['Bytes']>;
134
+ npk_lte?: InputMaybe<Scalars['Bytes']>;
135
+ npk_in?: InputMaybe<Array<Scalars['Bytes']>>;
136
+ npk_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
137
+ npk_contains?: InputMaybe<Scalars['Bytes']>;
138
+ npk_not_contains?: InputMaybe<Scalars['Bytes']>;
139
+ token?: InputMaybe<Scalars['String']>;
140
+ token_not?: InputMaybe<Scalars['String']>;
141
+ token_gt?: InputMaybe<Scalars['String']>;
142
+ token_lt?: InputMaybe<Scalars['String']>;
143
+ token_gte?: InputMaybe<Scalars['String']>;
144
+ token_lte?: InputMaybe<Scalars['String']>;
145
+ token_in?: InputMaybe<Array<Scalars['String']>>;
146
+ token_not_in?: InputMaybe<Array<Scalars['String']>>;
147
+ token_contains?: InputMaybe<Scalars['String']>;
148
+ token_contains_nocase?: InputMaybe<Scalars['String']>;
149
+ token_not_contains?: InputMaybe<Scalars['String']>;
150
+ token_not_contains_nocase?: InputMaybe<Scalars['String']>;
151
+ token_starts_with?: InputMaybe<Scalars['String']>;
152
+ token_starts_with_nocase?: InputMaybe<Scalars['String']>;
153
+ token_not_starts_with?: InputMaybe<Scalars['String']>;
154
+ token_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
155
+ token_ends_with?: InputMaybe<Scalars['String']>;
156
+ token_ends_with_nocase?: InputMaybe<Scalars['String']>;
157
+ token_not_ends_with?: InputMaybe<Scalars['String']>;
158
+ token_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
159
+ token_?: InputMaybe<Token_filter>;
160
+ value?: InputMaybe<Scalars['BigInt']>;
161
+ value_not?: InputMaybe<Scalars['BigInt']>;
162
+ value_gt?: InputMaybe<Scalars['BigInt']>;
163
+ value_lt?: InputMaybe<Scalars['BigInt']>;
164
+ value_gte?: InputMaybe<Scalars['BigInt']>;
165
+ value_lte?: InputMaybe<Scalars['BigInt']>;
166
+ value_in?: InputMaybe<Array<Scalars['BigInt']>>;
167
+ value_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
168
+ /** Filter for the block changed event. */
169
+ _change_block?: InputMaybe<BlockChangedFilter>;
170
+ and?: InputMaybe<Array<InputMaybe<CommitmentPreimage_filter>>>;
171
+ or?: InputMaybe<Array<InputMaybe<CommitmentPreimage_filter>>>;
172
+ };
173
+ export type CommitmentPreimage_orderBy = 'id' | 'npk' | 'token' | 'token__id' | 'token__tokenType' | 'token__tokenAddress' | 'token__tokenSubID' | 'value';
174
+ export type CommitmentType = 'ShieldCommitment' | 'TransactCommitment' | 'LegacyGeneratedCommitment' | 'LegacyEncryptedCommitment';
175
+ export type Commitment_filter = {
176
+ id?: InputMaybe<Scalars['Bytes']>;
177
+ id_not?: InputMaybe<Scalars['Bytes']>;
178
+ id_gt?: InputMaybe<Scalars['Bytes']>;
179
+ id_lt?: InputMaybe<Scalars['Bytes']>;
180
+ id_gte?: InputMaybe<Scalars['Bytes']>;
181
+ id_lte?: InputMaybe<Scalars['Bytes']>;
182
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
183
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
184
+ id_contains?: InputMaybe<Scalars['Bytes']>;
185
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
186
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
187
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
188
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
189
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
190
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
191
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
192
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
193
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
194
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
195
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
196
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
197
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
198
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
199
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
200
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
201
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
202
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
203
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
204
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
205
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
206
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
207
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
208
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
209
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
210
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
211
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
212
+ treeNumber?: InputMaybe<Scalars['Int']>;
213
+ treeNumber_not?: InputMaybe<Scalars['Int']>;
214
+ treeNumber_gt?: InputMaybe<Scalars['Int']>;
215
+ treeNumber_lt?: InputMaybe<Scalars['Int']>;
216
+ treeNumber_gte?: InputMaybe<Scalars['Int']>;
217
+ treeNumber_lte?: InputMaybe<Scalars['Int']>;
218
+ treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
219
+ treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
220
+ commitmentType?: InputMaybe<CommitmentType>;
221
+ commitmentType_not?: InputMaybe<CommitmentType>;
222
+ commitmentType_in?: InputMaybe<Array<CommitmentType>>;
223
+ commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
224
+ hashes?: InputMaybe<Array<Scalars['Bytes']>>;
225
+ hashes_not?: InputMaybe<Array<Scalars['Bytes']>>;
226
+ hashes_contains?: InputMaybe<Array<Scalars['Bytes']>>;
227
+ hashes_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
228
+ hashes_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
229
+ hashes_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
230
+ /** Filter for the block changed event. */
231
+ _change_block?: InputMaybe<BlockChangedFilter>;
232
+ and?: InputMaybe<Array<InputMaybe<Commitment_filter>>>;
233
+ or?: InputMaybe<Array<InputMaybe<Commitment_filter>>>;
234
+ };
235
+ export type Commitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'commitmentType' | 'hashes';
236
+ export type Nullifier = {
237
+ id: Scalars['Bytes'];
238
+ blockNumber: Scalars['BigInt'];
239
+ blockTimestamp: Scalars['BigInt'];
240
+ transactionHash: Scalars['Bytes'];
241
+ treeNumber: Scalars['Int'];
242
+ nullifier: Scalars['Bytes'];
243
+ };
244
+ export type Nullifier_filter = {
245
+ id?: InputMaybe<Scalars['Bytes']>;
246
+ id_not?: InputMaybe<Scalars['Bytes']>;
247
+ id_gt?: InputMaybe<Scalars['Bytes']>;
248
+ id_lt?: InputMaybe<Scalars['Bytes']>;
249
+ id_gte?: InputMaybe<Scalars['Bytes']>;
250
+ id_lte?: InputMaybe<Scalars['Bytes']>;
251
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
252
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
253
+ id_contains?: InputMaybe<Scalars['Bytes']>;
254
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
255
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
256
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
257
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
258
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
259
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
260
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
261
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
262
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
263
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
264
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
265
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
266
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
267
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
268
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
269
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
270
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
271
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
272
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
273
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
274
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
275
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
276
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
277
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
278
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
279
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
280
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
281
+ treeNumber?: InputMaybe<Scalars['Int']>;
282
+ treeNumber_not?: InputMaybe<Scalars['Int']>;
283
+ treeNumber_gt?: InputMaybe<Scalars['Int']>;
284
+ treeNumber_lt?: InputMaybe<Scalars['Int']>;
285
+ treeNumber_gte?: InputMaybe<Scalars['Int']>;
286
+ treeNumber_lte?: InputMaybe<Scalars['Int']>;
287
+ treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
288
+ treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
289
+ nullifier?: InputMaybe<Scalars['Bytes']>;
290
+ nullifier_not?: InputMaybe<Scalars['Bytes']>;
291
+ nullifier_gt?: InputMaybe<Scalars['Bytes']>;
292
+ nullifier_lt?: InputMaybe<Scalars['Bytes']>;
293
+ nullifier_gte?: InputMaybe<Scalars['Bytes']>;
294
+ nullifier_lte?: InputMaybe<Scalars['Bytes']>;
295
+ nullifier_in?: InputMaybe<Array<Scalars['Bytes']>>;
296
+ nullifier_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
297
+ nullifier_contains?: InputMaybe<Scalars['Bytes']>;
298
+ nullifier_not_contains?: InputMaybe<Scalars['Bytes']>;
299
+ /** Filter for the block changed event. */
300
+ _change_block?: InputMaybe<BlockChangedFilter>;
301
+ and?: InputMaybe<Array<InputMaybe<Nullifier_filter>>>;
302
+ or?: InputMaybe<Array<InputMaybe<Nullifier_filter>>>;
303
+ };
304
+ export type Nullifier_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'nullifier';
305
+ /** Defines the order direction, either ascending or descending */
306
+ export type OrderDirection = 'asc' | 'desc';
307
+ export type Query = {
308
+ token?: Maybe<Token>;
309
+ tokens: Array<Token>;
310
+ commitmentPreimage?: Maybe<CommitmentPreimage>;
311
+ commitmentPreimages: Array<CommitmentPreimage>;
312
+ commitmentCiphertext?: Maybe<CommitmentCiphertext>;
313
+ commitmentCiphertexts: Array<CommitmentCiphertext>;
314
+ shieldCommitment?: Maybe<ShieldCommitment>;
315
+ shieldCommitments: Array<ShieldCommitment>;
316
+ transactCommitment?: Maybe<TransactCommitment>;
317
+ transactCommitments: Array<TransactCommitment>;
318
+ unshield?: Maybe<Unshield>;
319
+ unshields: Array<Unshield>;
320
+ nullifier?: Maybe<Nullifier>;
321
+ nullifiers: Array<Nullifier>;
322
+ matrixTransaction?: Maybe<MatrixTransaction>;
323
+ matrixTransactions: Array<MatrixTransaction>;
324
+ verificationHash?: Maybe<VerificationHash>;
325
+ verificationHashes: Array<VerificationHash>;
326
+ commitment?: Maybe<Commitment>;
327
+ commitments: Array<Commitment>;
328
+ /** Access to subgraph metadata */
329
+ _meta?: Maybe<_Meta_>;
330
+ };
331
+ export type QuerytokenArgs = {
332
+ id: Scalars['ID'];
333
+ block?: InputMaybe<Block_height>;
334
+ subgraphError?: _SubgraphErrorPolicy_;
335
+ };
336
+ export type QuerytokensArgs = {
337
+ skip?: InputMaybe<Scalars['Int']>;
338
+ first?: InputMaybe<Scalars['Int']>;
339
+ orderBy?: InputMaybe<Token_orderBy>;
340
+ orderDirection?: InputMaybe<OrderDirection>;
341
+ where?: InputMaybe<Token_filter>;
342
+ block?: InputMaybe<Block_height>;
343
+ subgraphError?: _SubgraphErrorPolicy_;
344
+ };
345
+ export type QuerycommitmentPreimageArgs = {
346
+ id: Scalars['ID'];
347
+ block?: InputMaybe<Block_height>;
348
+ subgraphError?: _SubgraphErrorPolicy_;
349
+ };
350
+ export type QuerycommitmentPreimagesArgs = {
351
+ skip?: InputMaybe<Scalars['Int']>;
352
+ first?: InputMaybe<Scalars['Int']>;
353
+ orderBy?: InputMaybe<CommitmentPreimage_orderBy>;
354
+ orderDirection?: InputMaybe<OrderDirection>;
355
+ where?: InputMaybe<CommitmentPreimage_filter>;
356
+ block?: InputMaybe<Block_height>;
357
+ subgraphError?: _SubgraphErrorPolicy_;
358
+ };
359
+ export type QuerycommitmentCiphertextArgs = {
360
+ id: Scalars['ID'];
361
+ block?: InputMaybe<Block_height>;
362
+ subgraphError?: _SubgraphErrorPolicy_;
363
+ };
364
+ export type QuerycommitmentCiphertextsArgs = {
365
+ skip?: InputMaybe<Scalars['Int']>;
366
+ first?: InputMaybe<Scalars['Int']>;
367
+ orderBy?: InputMaybe<CommitmentCiphertext_orderBy>;
368
+ orderDirection?: InputMaybe<OrderDirection>;
369
+ where?: InputMaybe<CommitmentCiphertext_filter>;
370
+ block?: InputMaybe<Block_height>;
371
+ subgraphError?: _SubgraphErrorPolicy_;
372
+ };
373
+ export type QueryshieldCommitmentArgs = {
374
+ id: Scalars['ID'];
375
+ block?: InputMaybe<Block_height>;
376
+ subgraphError?: _SubgraphErrorPolicy_;
377
+ };
378
+ export type QueryshieldCommitmentsArgs = {
379
+ skip?: InputMaybe<Scalars['Int']>;
380
+ first?: InputMaybe<Scalars['Int']>;
381
+ orderBy?: InputMaybe<ShieldCommitment_orderBy>;
382
+ orderDirection?: InputMaybe<OrderDirection>;
383
+ where?: InputMaybe<ShieldCommitment_filter>;
384
+ block?: InputMaybe<Block_height>;
385
+ subgraphError?: _SubgraphErrorPolicy_;
386
+ };
387
+ export type QuerytransactCommitmentArgs = {
388
+ id: Scalars['ID'];
389
+ block?: InputMaybe<Block_height>;
390
+ subgraphError?: _SubgraphErrorPolicy_;
391
+ };
392
+ export type QuerytransactCommitmentsArgs = {
393
+ skip?: InputMaybe<Scalars['Int']>;
394
+ first?: InputMaybe<Scalars['Int']>;
395
+ orderBy?: InputMaybe<TransactCommitment_orderBy>;
396
+ orderDirection?: InputMaybe<OrderDirection>;
397
+ where?: InputMaybe<TransactCommitment_filter>;
398
+ block?: InputMaybe<Block_height>;
399
+ subgraphError?: _SubgraphErrorPolicy_;
400
+ };
401
+ export type QueryunshieldArgs = {
402
+ id: Scalars['ID'];
403
+ block?: InputMaybe<Block_height>;
404
+ subgraphError?: _SubgraphErrorPolicy_;
405
+ };
406
+ export type QueryunshieldsArgs = {
407
+ skip?: InputMaybe<Scalars['Int']>;
408
+ first?: InputMaybe<Scalars['Int']>;
409
+ orderBy?: InputMaybe<Unshield_orderBy>;
410
+ orderDirection?: InputMaybe<OrderDirection>;
411
+ where?: InputMaybe<Unshield_filter>;
412
+ block?: InputMaybe<Block_height>;
413
+ subgraphError?: _SubgraphErrorPolicy_;
414
+ };
415
+ export type QuerynullifierArgs = {
416
+ id: Scalars['ID'];
417
+ block?: InputMaybe<Block_height>;
418
+ subgraphError?: _SubgraphErrorPolicy_;
419
+ };
420
+ export type QuerynullifiersArgs = {
421
+ skip?: InputMaybe<Scalars['Int']>;
422
+ first?: InputMaybe<Scalars['Int']>;
423
+ orderBy?: InputMaybe<Nullifier_orderBy>;
424
+ orderDirection?: InputMaybe<OrderDirection>;
425
+ where?: InputMaybe<Nullifier_filter>;
426
+ block?: InputMaybe<Block_height>;
427
+ subgraphError?: _SubgraphErrorPolicy_;
428
+ };
429
+ export type QuerymatrixTransactionArgs = {
430
+ id: Scalars['ID'];
431
+ block?: InputMaybe<Block_height>;
432
+ subgraphError?: _SubgraphErrorPolicy_;
433
+ };
434
+ export type QuerymatrixTransactionsArgs = {
435
+ skip?: InputMaybe<Scalars['Int']>;
436
+ first?: InputMaybe<Scalars['Int']>;
437
+ orderBy?: InputMaybe<MatrixTransaction_orderBy>;
438
+ orderDirection?: InputMaybe<OrderDirection>;
439
+ where?: InputMaybe<MatrixTransaction_filter>;
440
+ block?: InputMaybe<Block_height>;
441
+ subgraphError?: _SubgraphErrorPolicy_;
442
+ };
443
+ export type QueryverificationHashArgs = {
444
+ id: Scalars['ID'];
445
+ block?: InputMaybe<Block_height>;
446
+ subgraphError?: _SubgraphErrorPolicy_;
447
+ };
448
+ export type QueryverificationHashesArgs = {
449
+ skip?: InputMaybe<Scalars['Int']>;
450
+ first?: InputMaybe<Scalars['Int']>;
451
+ orderBy?: InputMaybe<VerificationHash_orderBy>;
452
+ orderDirection?: InputMaybe<OrderDirection>;
453
+ where?: InputMaybe<VerificationHash_filter>;
454
+ block?: InputMaybe<Block_height>;
455
+ subgraphError?: _SubgraphErrorPolicy_;
456
+ };
457
+ export type QuerycommitmentArgs = {
458
+ id: Scalars['ID'];
459
+ block?: InputMaybe<Block_height>;
460
+ subgraphError?: _SubgraphErrorPolicy_;
461
+ };
462
+ export type QuerycommitmentsArgs = {
463
+ skip?: InputMaybe<Scalars['Int']>;
464
+ first?: InputMaybe<Scalars['Int']>;
465
+ orderBy?: InputMaybe<Commitment_orderBy>;
466
+ orderDirection?: InputMaybe<OrderDirection>;
467
+ where?: InputMaybe<Commitment_filter>;
468
+ block?: InputMaybe<Block_height>;
469
+ subgraphError?: _SubgraphErrorPolicy_;
470
+ };
471
+ export type Query_metaArgs = {
472
+ block?: InputMaybe<Block_height>;
473
+ };
474
+ export type MatrixTransaction = {
475
+ id: Scalars['Bytes'];
476
+ blockNumber: Scalars['BigInt'];
477
+ transactionHash: Scalars['Bytes'];
478
+ nullifiers: Array<Scalars['Bytes']>;
479
+ commitments: Array<Scalars['Bytes']>;
480
+ boundParamsHash: Scalars['Bytes'];
481
+ hasUnshield: Scalars['Boolean'];
482
+ utxoTreeIn: Scalars['BigInt'];
483
+ utxoTreeOut: Scalars['BigInt'];
484
+ utxoBatchStartPositionOut: Scalars['BigInt'];
485
+ unshieldToken: Token;
486
+ unshieldToAddress: Scalars['Bytes'];
487
+ unshieldValue: Scalars['BigInt'];
488
+ blockTimestamp: Scalars['BigInt'];
489
+ verificationHash: Scalars['Bytes'];
490
+ };
491
+ export type MatrixTransaction_filter = {
492
+ id?: InputMaybe<Scalars['Bytes']>;
493
+ id_not?: InputMaybe<Scalars['Bytes']>;
494
+ id_gt?: InputMaybe<Scalars['Bytes']>;
495
+ id_lt?: InputMaybe<Scalars['Bytes']>;
496
+ id_gte?: InputMaybe<Scalars['Bytes']>;
497
+ id_lte?: InputMaybe<Scalars['Bytes']>;
498
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
499
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
500
+ id_contains?: InputMaybe<Scalars['Bytes']>;
501
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
502
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
503
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
504
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
505
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
506
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
507
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
508
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
509
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
510
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
511
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
512
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
513
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
514
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
515
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
516
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
517
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
518
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
519
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
520
+ nullifiers?: InputMaybe<Array<Scalars['Bytes']>>;
521
+ nullifiers_not?: InputMaybe<Array<Scalars['Bytes']>>;
522
+ nullifiers_contains?: InputMaybe<Array<Scalars['Bytes']>>;
523
+ nullifiers_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
524
+ nullifiers_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
525
+ nullifiers_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
526
+ commitments?: InputMaybe<Array<Scalars['Bytes']>>;
527
+ commitments_not?: InputMaybe<Array<Scalars['Bytes']>>;
528
+ commitments_contains?: InputMaybe<Array<Scalars['Bytes']>>;
529
+ commitments_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
530
+ commitments_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
531
+ commitments_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
532
+ boundParamsHash?: InputMaybe<Scalars['Bytes']>;
533
+ boundParamsHash_not?: InputMaybe<Scalars['Bytes']>;
534
+ boundParamsHash_gt?: InputMaybe<Scalars['Bytes']>;
535
+ boundParamsHash_lt?: InputMaybe<Scalars['Bytes']>;
536
+ boundParamsHash_gte?: InputMaybe<Scalars['Bytes']>;
537
+ boundParamsHash_lte?: InputMaybe<Scalars['Bytes']>;
538
+ boundParamsHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
539
+ boundParamsHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
540
+ boundParamsHash_contains?: InputMaybe<Scalars['Bytes']>;
541
+ boundParamsHash_not_contains?: InputMaybe<Scalars['Bytes']>;
542
+ hasUnshield?: InputMaybe<Scalars['Boolean']>;
543
+ hasUnshield_not?: InputMaybe<Scalars['Boolean']>;
544
+ hasUnshield_in?: InputMaybe<Array<Scalars['Boolean']>>;
545
+ hasUnshield_not_in?: InputMaybe<Array<Scalars['Boolean']>>;
546
+ utxoTreeIn?: InputMaybe<Scalars['BigInt']>;
547
+ utxoTreeIn_not?: InputMaybe<Scalars['BigInt']>;
548
+ utxoTreeIn_gt?: InputMaybe<Scalars['BigInt']>;
549
+ utxoTreeIn_lt?: InputMaybe<Scalars['BigInt']>;
550
+ utxoTreeIn_gte?: InputMaybe<Scalars['BigInt']>;
551
+ utxoTreeIn_lte?: InputMaybe<Scalars['BigInt']>;
552
+ utxoTreeIn_in?: InputMaybe<Array<Scalars['BigInt']>>;
553
+ utxoTreeIn_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
554
+ utxoTreeOut?: InputMaybe<Scalars['BigInt']>;
555
+ utxoTreeOut_not?: InputMaybe<Scalars['BigInt']>;
556
+ utxoTreeOut_gt?: InputMaybe<Scalars['BigInt']>;
557
+ utxoTreeOut_lt?: InputMaybe<Scalars['BigInt']>;
558
+ utxoTreeOut_gte?: InputMaybe<Scalars['BigInt']>;
559
+ utxoTreeOut_lte?: InputMaybe<Scalars['BigInt']>;
560
+ utxoTreeOut_in?: InputMaybe<Array<Scalars['BigInt']>>;
561
+ utxoTreeOut_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
562
+ utxoBatchStartPositionOut?: InputMaybe<Scalars['BigInt']>;
563
+ utxoBatchStartPositionOut_not?: InputMaybe<Scalars['BigInt']>;
564
+ utxoBatchStartPositionOut_gt?: InputMaybe<Scalars['BigInt']>;
565
+ utxoBatchStartPositionOut_lt?: InputMaybe<Scalars['BigInt']>;
566
+ utxoBatchStartPositionOut_gte?: InputMaybe<Scalars['BigInt']>;
567
+ utxoBatchStartPositionOut_lte?: InputMaybe<Scalars['BigInt']>;
568
+ utxoBatchStartPositionOut_in?: InputMaybe<Array<Scalars['BigInt']>>;
569
+ utxoBatchStartPositionOut_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
570
+ unshieldToken?: InputMaybe<Scalars['String']>;
571
+ unshieldToken_not?: InputMaybe<Scalars['String']>;
572
+ unshieldToken_gt?: InputMaybe<Scalars['String']>;
573
+ unshieldToken_lt?: InputMaybe<Scalars['String']>;
574
+ unshieldToken_gte?: InputMaybe<Scalars['String']>;
575
+ unshieldToken_lte?: InputMaybe<Scalars['String']>;
576
+ unshieldToken_in?: InputMaybe<Array<Scalars['String']>>;
577
+ unshieldToken_not_in?: InputMaybe<Array<Scalars['String']>>;
578
+ unshieldToken_contains?: InputMaybe<Scalars['String']>;
579
+ unshieldToken_contains_nocase?: InputMaybe<Scalars['String']>;
580
+ unshieldToken_not_contains?: InputMaybe<Scalars['String']>;
581
+ unshieldToken_not_contains_nocase?: InputMaybe<Scalars['String']>;
582
+ unshieldToken_starts_with?: InputMaybe<Scalars['String']>;
583
+ unshieldToken_starts_with_nocase?: InputMaybe<Scalars['String']>;
584
+ unshieldToken_not_starts_with?: InputMaybe<Scalars['String']>;
585
+ unshieldToken_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
586
+ unshieldToken_ends_with?: InputMaybe<Scalars['String']>;
587
+ unshieldToken_ends_with_nocase?: InputMaybe<Scalars['String']>;
588
+ unshieldToken_not_ends_with?: InputMaybe<Scalars['String']>;
589
+ unshieldToken_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
590
+ unshieldToken_?: InputMaybe<Token_filter>;
591
+ unshieldToAddress?: InputMaybe<Scalars['Bytes']>;
592
+ unshieldToAddress_not?: InputMaybe<Scalars['Bytes']>;
593
+ unshieldToAddress_gt?: InputMaybe<Scalars['Bytes']>;
594
+ unshieldToAddress_lt?: InputMaybe<Scalars['Bytes']>;
595
+ unshieldToAddress_gte?: InputMaybe<Scalars['Bytes']>;
596
+ unshieldToAddress_lte?: InputMaybe<Scalars['Bytes']>;
597
+ unshieldToAddress_in?: InputMaybe<Array<Scalars['Bytes']>>;
598
+ unshieldToAddress_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
599
+ unshieldToAddress_contains?: InputMaybe<Scalars['Bytes']>;
600
+ unshieldToAddress_not_contains?: InputMaybe<Scalars['Bytes']>;
601
+ unshieldValue?: InputMaybe<Scalars['BigInt']>;
602
+ unshieldValue_not?: InputMaybe<Scalars['BigInt']>;
603
+ unshieldValue_gt?: InputMaybe<Scalars['BigInt']>;
604
+ unshieldValue_lt?: InputMaybe<Scalars['BigInt']>;
605
+ unshieldValue_gte?: InputMaybe<Scalars['BigInt']>;
606
+ unshieldValue_lte?: InputMaybe<Scalars['BigInt']>;
607
+ unshieldValue_in?: InputMaybe<Array<Scalars['BigInt']>>;
608
+ unshieldValue_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
609
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
610
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
611
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
612
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
613
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
614
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
615
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
616
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
617
+ verificationHash?: InputMaybe<Scalars['Bytes']>;
618
+ verificationHash_not?: InputMaybe<Scalars['Bytes']>;
619
+ verificationHash_gt?: InputMaybe<Scalars['Bytes']>;
620
+ verificationHash_lt?: InputMaybe<Scalars['Bytes']>;
621
+ verificationHash_gte?: InputMaybe<Scalars['Bytes']>;
622
+ verificationHash_lte?: InputMaybe<Scalars['Bytes']>;
623
+ verificationHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
624
+ verificationHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
625
+ verificationHash_contains?: InputMaybe<Scalars['Bytes']>;
626
+ verificationHash_not_contains?: InputMaybe<Scalars['Bytes']>;
627
+ /** Filter for the block changed event. */
628
+ _change_block?: InputMaybe<BlockChangedFilter>;
629
+ and?: InputMaybe<Array<InputMaybe<MatrixTransaction_filter>>>;
630
+ or?: InputMaybe<Array<InputMaybe<MatrixTransaction_filter>>>;
631
+ };
632
+ export type MatrixTransaction_orderBy = 'id' | 'blockNumber' | 'transactionHash' | 'nullifiers' | 'commitments' | 'boundParamsHash' | 'hasUnshield' | 'utxoTreeIn' | 'utxoTreeOut' | 'utxoBatchStartPositionOut' | 'unshieldToken' | 'unshieldToken__id' | 'unshieldToken__tokenType' | 'unshieldToken__tokenAddress' | 'unshieldToken__tokenSubID' | 'unshieldToAddress' | 'unshieldValue' | 'blockTimestamp' | 'verificationHash';
633
+ export type ShieldCommitment = Commitment & {
634
+ id: Scalars['Bytes'];
635
+ blockNumber: Scalars['BigInt'];
636
+ blockTimestamp: Scalars['BigInt'];
637
+ transactionHash: Scalars['Bytes'];
638
+ treeNumber: Scalars['Int'];
639
+ commitmentType: CommitmentType;
640
+ hashes: Array<Scalars['Bytes']>;
641
+ from: Scalars['Bytes'];
642
+ treePosition: Scalars['Int'];
643
+ preimage: CommitmentPreimage;
644
+ encryptedBundle: Array<Scalars['Bytes']>;
645
+ shieldKey: Scalars['Bytes'];
646
+ fee: Scalars['BigInt'];
647
+ };
648
+ export type ShieldCommitment_filter = {
649
+ id?: InputMaybe<Scalars['Bytes']>;
650
+ id_not?: InputMaybe<Scalars['Bytes']>;
651
+ id_gt?: InputMaybe<Scalars['Bytes']>;
652
+ id_lt?: InputMaybe<Scalars['Bytes']>;
653
+ id_gte?: InputMaybe<Scalars['Bytes']>;
654
+ id_lte?: InputMaybe<Scalars['Bytes']>;
655
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
656
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
657
+ id_contains?: InputMaybe<Scalars['Bytes']>;
658
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
659
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
660
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
661
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
662
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
663
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
664
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
665
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
666
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
667
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
668
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
669
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
670
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
671
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
672
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
673
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
674
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
675
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
676
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
677
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
678
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
679
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
680
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
681
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
682
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
683
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
684
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
685
+ treeNumber?: InputMaybe<Scalars['Int']>;
686
+ treeNumber_not?: InputMaybe<Scalars['Int']>;
687
+ treeNumber_gt?: InputMaybe<Scalars['Int']>;
688
+ treeNumber_lt?: InputMaybe<Scalars['Int']>;
689
+ treeNumber_gte?: InputMaybe<Scalars['Int']>;
690
+ treeNumber_lte?: InputMaybe<Scalars['Int']>;
691
+ treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
692
+ treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
693
+ commitmentType?: InputMaybe<CommitmentType>;
694
+ commitmentType_not?: InputMaybe<CommitmentType>;
695
+ commitmentType_in?: InputMaybe<Array<CommitmentType>>;
696
+ commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
697
+ hashes?: InputMaybe<Array<Scalars['Bytes']>>;
698
+ hashes_not?: InputMaybe<Array<Scalars['Bytes']>>;
699
+ hashes_contains?: InputMaybe<Array<Scalars['Bytes']>>;
700
+ hashes_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
701
+ hashes_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
702
+ hashes_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
703
+ from?: InputMaybe<Scalars['Bytes']>;
704
+ from_not?: InputMaybe<Scalars['Bytes']>;
705
+ from_gt?: InputMaybe<Scalars['Bytes']>;
706
+ from_lt?: InputMaybe<Scalars['Bytes']>;
707
+ from_gte?: InputMaybe<Scalars['Bytes']>;
708
+ from_lte?: InputMaybe<Scalars['Bytes']>;
709
+ from_in?: InputMaybe<Array<Scalars['Bytes']>>;
710
+ from_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
711
+ from_contains?: InputMaybe<Scalars['Bytes']>;
712
+ from_not_contains?: InputMaybe<Scalars['Bytes']>;
713
+ treePosition?: InputMaybe<Scalars['Int']>;
714
+ treePosition_not?: InputMaybe<Scalars['Int']>;
715
+ treePosition_gt?: InputMaybe<Scalars['Int']>;
716
+ treePosition_lt?: InputMaybe<Scalars['Int']>;
717
+ treePosition_gte?: InputMaybe<Scalars['Int']>;
718
+ treePosition_lte?: InputMaybe<Scalars['Int']>;
719
+ treePosition_in?: InputMaybe<Array<Scalars['Int']>>;
720
+ treePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
721
+ preimage?: InputMaybe<Scalars['String']>;
722
+ preimage_not?: InputMaybe<Scalars['String']>;
723
+ preimage_gt?: InputMaybe<Scalars['String']>;
724
+ preimage_lt?: InputMaybe<Scalars['String']>;
725
+ preimage_gte?: InputMaybe<Scalars['String']>;
726
+ preimage_lte?: InputMaybe<Scalars['String']>;
727
+ preimage_in?: InputMaybe<Array<Scalars['String']>>;
728
+ preimage_not_in?: InputMaybe<Array<Scalars['String']>>;
729
+ preimage_contains?: InputMaybe<Scalars['String']>;
730
+ preimage_contains_nocase?: InputMaybe<Scalars['String']>;
731
+ preimage_not_contains?: InputMaybe<Scalars['String']>;
732
+ preimage_not_contains_nocase?: InputMaybe<Scalars['String']>;
733
+ preimage_starts_with?: InputMaybe<Scalars['String']>;
734
+ preimage_starts_with_nocase?: InputMaybe<Scalars['String']>;
735
+ preimage_not_starts_with?: InputMaybe<Scalars['String']>;
736
+ preimage_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
737
+ preimage_ends_with?: InputMaybe<Scalars['String']>;
738
+ preimage_ends_with_nocase?: InputMaybe<Scalars['String']>;
739
+ preimage_not_ends_with?: InputMaybe<Scalars['String']>;
740
+ preimage_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
741
+ preimage_?: InputMaybe<CommitmentPreimage_filter>;
742
+ encryptedBundle?: InputMaybe<Array<Scalars['Bytes']>>;
743
+ encryptedBundle_not?: InputMaybe<Array<Scalars['Bytes']>>;
744
+ encryptedBundle_contains?: InputMaybe<Array<Scalars['Bytes']>>;
745
+ encryptedBundle_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
746
+ encryptedBundle_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
747
+ encryptedBundle_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
748
+ shieldKey?: InputMaybe<Scalars['Bytes']>;
749
+ shieldKey_not?: InputMaybe<Scalars['Bytes']>;
750
+ shieldKey_gt?: InputMaybe<Scalars['Bytes']>;
751
+ shieldKey_lt?: InputMaybe<Scalars['Bytes']>;
752
+ shieldKey_gte?: InputMaybe<Scalars['Bytes']>;
753
+ shieldKey_lte?: InputMaybe<Scalars['Bytes']>;
754
+ shieldKey_in?: InputMaybe<Array<Scalars['Bytes']>>;
755
+ shieldKey_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
756
+ shieldKey_contains?: InputMaybe<Scalars['Bytes']>;
757
+ shieldKey_not_contains?: InputMaybe<Scalars['Bytes']>;
758
+ fee?: InputMaybe<Scalars['BigInt']>;
759
+ fee_not?: InputMaybe<Scalars['BigInt']>;
760
+ fee_gt?: InputMaybe<Scalars['BigInt']>;
761
+ fee_lt?: InputMaybe<Scalars['BigInt']>;
762
+ fee_gte?: InputMaybe<Scalars['BigInt']>;
763
+ fee_lte?: InputMaybe<Scalars['BigInt']>;
764
+ fee_in?: InputMaybe<Array<Scalars['BigInt']>>;
765
+ fee_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
766
+ /** Filter for the block changed event. */
767
+ _change_block?: InputMaybe<BlockChangedFilter>;
768
+ and?: InputMaybe<Array<InputMaybe<ShieldCommitment_filter>>>;
769
+ or?: InputMaybe<Array<InputMaybe<ShieldCommitment_filter>>>;
770
+ };
771
+ export type ShieldCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'commitmentType' | 'hashes' | 'from' | 'treePosition' | 'preimage' | 'preimage__id' | 'preimage__npk' | 'preimage__value' | 'encryptedBundle' | 'shieldKey' | 'fee';
772
+ export type Subscription = {
773
+ token?: Maybe<Token>;
774
+ tokens: Array<Token>;
775
+ commitmentPreimage?: Maybe<CommitmentPreimage>;
776
+ commitmentPreimages: Array<CommitmentPreimage>;
777
+ commitmentCiphertext?: Maybe<CommitmentCiphertext>;
778
+ commitmentCiphertexts: Array<CommitmentCiphertext>;
779
+ shieldCommitment?: Maybe<ShieldCommitment>;
780
+ shieldCommitments: Array<ShieldCommitment>;
781
+ transactCommitment?: Maybe<TransactCommitment>;
782
+ transactCommitments: Array<TransactCommitment>;
783
+ unshield?: Maybe<Unshield>;
784
+ unshields: Array<Unshield>;
785
+ nullifier?: Maybe<Nullifier>;
786
+ nullifiers: Array<Nullifier>;
787
+ matrixTransaction?: Maybe<MatrixTransaction>;
788
+ matrixTransactions: Array<MatrixTransaction>;
789
+ verificationHash?: Maybe<VerificationHash>;
790
+ verificationHashes: Array<VerificationHash>;
791
+ commitment?: Maybe<Commitment>;
792
+ commitments: Array<Commitment>;
793
+ /** Access to subgraph metadata */
794
+ _meta?: Maybe<_Meta_>;
795
+ };
796
+ export type SubscriptiontokenArgs = {
797
+ id: Scalars['ID'];
798
+ block?: InputMaybe<Block_height>;
799
+ subgraphError?: _SubgraphErrorPolicy_;
800
+ };
801
+ export type SubscriptiontokensArgs = {
802
+ skip?: InputMaybe<Scalars['Int']>;
803
+ first?: InputMaybe<Scalars['Int']>;
804
+ orderBy?: InputMaybe<Token_orderBy>;
805
+ orderDirection?: InputMaybe<OrderDirection>;
806
+ where?: InputMaybe<Token_filter>;
807
+ block?: InputMaybe<Block_height>;
808
+ subgraphError?: _SubgraphErrorPolicy_;
809
+ };
810
+ export type SubscriptioncommitmentPreimageArgs = {
811
+ id: Scalars['ID'];
812
+ block?: InputMaybe<Block_height>;
813
+ subgraphError?: _SubgraphErrorPolicy_;
814
+ };
815
+ export type SubscriptioncommitmentPreimagesArgs = {
816
+ skip?: InputMaybe<Scalars['Int']>;
817
+ first?: InputMaybe<Scalars['Int']>;
818
+ orderBy?: InputMaybe<CommitmentPreimage_orderBy>;
819
+ orderDirection?: InputMaybe<OrderDirection>;
820
+ where?: InputMaybe<CommitmentPreimage_filter>;
821
+ block?: InputMaybe<Block_height>;
822
+ subgraphError?: _SubgraphErrorPolicy_;
823
+ };
824
+ export type SubscriptioncommitmentCiphertextArgs = {
825
+ id: Scalars['ID'];
826
+ block?: InputMaybe<Block_height>;
827
+ subgraphError?: _SubgraphErrorPolicy_;
828
+ };
829
+ export type SubscriptioncommitmentCiphertextsArgs = {
830
+ skip?: InputMaybe<Scalars['Int']>;
831
+ first?: InputMaybe<Scalars['Int']>;
832
+ orderBy?: InputMaybe<CommitmentCiphertext_orderBy>;
833
+ orderDirection?: InputMaybe<OrderDirection>;
834
+ where?: InputMaybe<CommitmentCiphertext_filter>;
835
+ block?: InputMaybe<Block_height>;
836
+ subgraphError?: _SubgraphErrorPolicy_;
837
+ };
838
+ export type SubscriptionshieldCommitmentArgs = {
839
+ id: Scalars['ID'];
840
+ block?: InputMaybe<Block_height>;
841
+ subgraphError?: _SubgraphErrorPolicy_;
842
+ };
843
+ export type SubscriptionshieldCommitmentsArgs = {
844
+ skip?: InputMaybe<Scalars['Int']>;
845
+ first?: InputMaybe<Scalars['Int']>;
846
+ orderBy?: InputMaybe<ShieldCommitment_orderBy>;
847
+ orderDirection?: InputMaybe<OrderDirection>;
848
+ where?: InputMaybe<ShieldCommitment_filter>;
849
+ block?: InputMaybe<Block_height>;
850
+ subgraphError?: _SubgraphErrorPolicy_;
851
+ };
852
+ export type SubscriptiontransactCommitmentArgs = {
853
+ id: Scalars['ID'];
854
+ block?: InputMaybe<Block_height>;
855
+ subgraphError?: _SubgraphErrorPolicy_;
856
+ };
857
+ export type SubscriptiontransactCommitmentsArgs = {
858
+ skip?: InputMaybe<Scalars['Int']>;
859
+ first?: InputMaybe<Scalars['Int']>;
860
+ orderBy?: InputMaybe<TransactCommitment_orderBy>;
861
+ orderDirection?: InputMaybe<OrderDirection>;
862
+ where?: InputMaybe<TransactCommitment_filter>;
863
+ block?: InputMaybe<Block_height>;
864
+ subgraphError?: _SubgraphErrorPolicy_;
865
+ };
866
+ export type SubscriptionunshieldArgs = {
867
+ id: Scalars['ID'];
868
+ block?: InputMaybe<Block_height>;
869
+ subgraphError?: _SubgraphErrorPolicy_;
870
+ };
871
+ export type SubscriptionunshieldsArgs = {
872
+ skip?: InputMaybe<Scalars['Int']>;
873
+ first?: InputMaybe<Scalars['Int']>;
874
+ orderBy?: InputMaybe<Unshield_orderBy>;
875
+ orderDirection?: InputMaybe<OrderDirection>;
876
+ where?: InputMaybe<Unshield_filter>;
877
+ block?: InputMaybe<Block_height>;
878
+ subgraphError?: _SubgraphErrorPolicy_;
879
+ };
880
+ export type SubscriptionnullifierArgs = {
881
+ id: Scalars['ID'];
882
+ block?: InputMaybe<Block_height>;
883
+ subgraphError?: _SubgraphErrorPolicy_;
884
+ };
885
+ export type SubscriptionnullifiersArgs = {
886
+ skip?: InputMaybe<Scalars['Int']>;
887
+ first?: InputMaybe<Scalars['Int']>;
888
+ orderBy?: InputMaybe<Nullifier_orderBy>;
889
+ orderDirection?: InputMaybe<OrderDirection>;
890
+ where?: InputMaybe<Nullifier_filter>;
891
+ block?: InputMaybe<Block_height>;
892
+ subgraphError?: _SubgraphErrorPolicy_;
893
+ };
894
+ export type SubscriptionmatrixTransactionArgs = {
895
+ id: Scalars['ID'];
896
+ block?: InputMaybe<Block_height>;
897
+ subgraphError?: _SubgraphErrorPolicy_;
898
+ };
899
+ export type SubscriptionmatrixTransactionsArgs = {
900
+ skip?: InputMaybe<Scalars['Int']>;
901
+ first?: InputMaybe<Scalars['Int']>;
902
+ orderBy?: InputMaybe<MatrixTransaction_orderBy>;
903
+ orderDirection?: InputMaybe<OrderDirection>;
904
+ where?: InputMaybe<MatrixTransaction_filter>;
905
+ block?: InputMaybe<Block_height>;
906
+ subgraphError?: _SubgraphErrorPolicy_;
907
+ };
908
+ export type SubscriptionverificationHashArgs = {
909
+ id: Scalars['ID'];
910
+ block?: InputMaybe<Block_height>;
911
+ subgraphError?: _SubgraphErrorPolicy_;
912
+ };
913
+ export type SubscriptionverificationHashesArgs = {
914
+ skip?: InputMaybe<Scalars['Int']>;
915
+ first?: InputMaybe<Scalars['Int']>;
916
+ orderBy?: InputMaybe<VerificationHash_orderBy>;
917
+ orderDirection?: InputMaybe<OrderDirection>;
918
+ where?: InputMaybe<VerificationHash_filter>;
919
+ block?: InputMaybe<Block_height>;
920
+ subgraphError?: _SubgraphErrorPolicy_;
921
+ };
922
+ export type SubscriptioncommitmentArgs = {
923
+ id: Scalars['ID'];
924
+ block?: InputMaybe<Block_height>;
925
+ subgraphError?: _SubgraphErrorPolicy_;
926
+ };
927
+ export type SubscriptioncommitmentsArgs = {
928
+ skip?: InputMaybe<Scalars['Int']>;
929
+ first?: InputMaybe<Scalars['Int']>;
930
+ orderBy?: InputMaybe<Commitment_orderBy>;
931
+ orderDirection?: InputMaybe<OrderDirection>;
932
+ where?: InputMaybe<Commitment_filter>;
933
+ block?: InputMaybe<Block_height>;
934
+ subgraphError?: _SubgraphErrorPolicy_;
935
+ };
936
+ export type Subscription_metaArgs = {
937
+ block?: InputMaybe<Block_height>;
938
+ };
939
+ export type Token = {
940
+ id: Scalars['Bytes'];
941
+ tokenType: TokenType;
942
+ tokenAddress: Scalars['Bytes'];
943
+ tokenSubID: Scalars['Bytes'];
944
+ };
945
+ export type TokenType = 'ERC20' | 'ERC721' | 'ERC1155';
946
+ export type Token_filter = {
947
+ id?: InputMaybe<Scalars['Bytes']>;
948
+ id_not?: InputMaybe<Scalars['Bytes']>;
949
+ id_gt?: InputMaybe<Scalars['Bytes']>;
950
+ id_lt?: InputMaybe<Scalars['Bytes']>;
951
+ id_gte?: InputMaybe<Scalars['Bytes']>;
952
+ id_lte?: InputMaybe<Scalars['Bytes']>;
953
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
954
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
955
+ id_contains?: InputMaybe<Scalars['Bytes']>;
956
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
957
+ tokenType?: InputMaybe<TokenType>;
958
+ tokenType_not?: InputMaybe<TokenType>;
959
+ tokenType_in?: InputMaybe<Array<TokenType>>;
960
+ tokenType_not_in?: InputMaybe<Array<TokenType>>;
961
+ tokenAddress?: InputMaybe<Scalars['Bytes']>;
962
+ tokenAddress_not?: InputMaybe<Scalars['Bytes']>;
963
+ tokenAddress_gt?: InputMaybe<Scalars['Bytes']>;
964
+ tokenAddress_lt?: InputMaybe<Scalars['Bytes']>;
965
+ tokenAddress_gte?: InputMaybe<Scalars['Bytes']>;
966
+ tokenAddress_lte?: InputMaybe<Scalars['Bytes']>;
967
+ tokenAddress_in?: InputMaybe<Array<Scalars['Bytes']>>;
968
+ tokenAddress_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
969
+ tokenAddress_contains?: InputMaybe<Scalars['Bytes']>;
970
+ tokenAddress_not_contains?: InputMaybe<Scalars['Bytes']>;
971
+ tokenSubID?: InputMaybe<Scalars['Bytes']>;
972
+ tokenSubID_not?: InputMaybe<Scalars['Bytes']>;
973
+ tokenSubID_gt?: InputMaybe<Scalars['Bytes']>;
974
+ tokenSubID_lt?: InputMaybe<Scalars['Bytes']>;
975
+ tokenSubID_gte?: InputMaybe<Scalars['Bytes']>;
976
+ tokenSubID_lte?: InputMaybe<Scalars['Bytes']>;
977
+ tokenSubID_in?: InputMaybe<Array<Scalars['Bytes']>>;
978
+ tokenSubID_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
979
+ tokenSubID_contains?: InputMaybe<Scalars['Bytes']>;
980
+ tokenSubID_not_contains?: InputMaybe<Scalars['Bytes']>;
981
+ /** Filter for the block changed event. */
982
+ _change_block?: InputMaybe<BlockChangedFilter>;
983
+ and?: InputMaybe<Array<InputMaybe<Token_filter>>>;
984
+ or?: InputMaybe<Array<InputMaybe<Token_filter>>>;
985
+ };
986
+ export type Token_orderBy = 'id' | 'tokenType' | 'tokenAddress' | 'tokenSubID';
987
+ export type TransactCommitment = Commitment & {
988
+ id: Scalars['Bytes'];
989
+ blockNumber: Scalars['BigInt'];
990
+ blockTimestamp: Scalars['BigInt'];
991
+ transactionHash: Scalars['Bytes'];
992
+ treeNumber: Scalars['Int'];
993
+ commitmentType: CommitmentType;
994
+ hashes: Array<Scalars['Bytes']>;
995
+ commitmentCiphertexts: Array<CommitmentCiphertext>;
996
+ batchStartTreePosition: Scalars['Int'];
997
+ transactIndex: Scalars['Int'];
998
+ senderCiphertext: Scalars['Bytes'];
999
+ };
1000
+ export type TransactCommitmentcommitmentCiphertextsArgs = {
1001
+ skip?: InputMaybe<Scalars['Int']>;
1002
+ first?: InputMaybe<Scalars['Int']>;
1003
+ orderBy?: InputMaybe<CommitmentCiphertext_orderBy>;
1004
+ orderDirection?: InputMaybe<OrderDirection>;
1005
+ where?: InputMaybe<CommitmentCiphertext_filter>;
1006
+ };
1007
+ export type TransactCommitment_filter = {
1008
+ id?: InputMaybe<Scalars['Bytes']>;
1009
+ id_not?: InputMaybe<Scalars['Bytes']>;
1010
+ id_gt?: InputMaybe<Scalars['Bytes']>;
1011
+ id_lt?: InputMaybe<Scalars['Bytes']>;
1012
+ id_gte?: InputMaybe<Scalars['Bytes']>;
1013
+ id_lte?: InputMaybe<Scalars['Bytes']>;
1014
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
1015
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1016
+ id_contains?: InputMaybe<Scalars['Bytes']>;
1017
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
1018
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1019
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
1020
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
1021
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
1022
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
1023
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
1024
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
1025
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1026
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
1027
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
1028
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
1029
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
1030
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
1031
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
1032
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
1033
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1034
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
1035
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
1036
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
1037
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
1038
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
1039
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
1040
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
1041
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1042
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
1043
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
1044
+ treeNumber?: InputMaybe<Scalars['Int']>;
1045
+ treeNumber_not?: InputMaybe<Scalars['Int']>;
1046
+ treeNumber_gt?: InputMaybe<Scalars['Int']>;
1047
+ treeNumber_lt?: InputMaybe<Scalars['Int']>;
1048
+ treeNumber_gte?: InputMaybe<Scalars['Int']>;
1049
+ treeNumber_lte?: InputMaybe<Scalars['Int']>;
1050
+ treeNumber_in?: InputMaybe<Array<Scalars['Int']>>;
1051
+ treeNumber_not_in?: InputMaybe<Array<Scalars['Int']>>;
1052
+ commitmentType?: InputMaybe<CommitmentType>;
1053
+ commitmentType_not?: InputMaybe<CommitmentType>;
1054
+ commitmentType_in?: InputMaybe<Array<CommitmentType>>;
1055
+ commitmentType_not_in?: InputMaybe<Array<CommitmentType>>;
1056
+ hashes?: InputMaybe<Array<Scalars['Bytes']>>;
1057
+ hashes_not?: InputMaybe<Array<Scalars['Bytes']>>;
1058
+ hashes_contains?: InputMaybe<Array<Scalars['Bytes']>>;
1059
+ hashes_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
1060
+ hashes_not_contains?: InputMaybe<Array<Scalars['Bytes']>>;
1061
+ hashes_not_contains_nocase?: InputMaybe<Array<Scalars['Bytes']>>;
1062
+ commitmentCiphertexts?: InputMaybe<Array<Scalars['String']>>;
1063
+ commitmentCiphertexts_not?: InputMaybe<Array<Scalars['String']>>;
1064
+ commitmentCiphertexts_contains?: InputMaybe<Array<Scalars['String']>>;
1065
+ commitmentCiphertexts_contains_nocase?: InputMaybe<Array<Scalars['String']>>;
1066
+ commitmentCiphertexts_not_contains?: InputMaybe<Array<Scalars['String']>>;
1067
+ commitmentCiphertexts_not_contains_nocase?: InputMaybe<Array<Scalars['String']>>;
1068
+ commitmentCiphertexts_?: InputMaybe<CommitmentCiphertext_filter>;
1069
+ batchStartTreePosition?: InputMaybe<Scalars['Int']>;
1070
+ batchStartTreePosition_not?: InputMaybe<Scalars['Int']>;
1071
+ batchStartTreePosition_gt?: InputMaybe<Scalars['Int']>;
1072
+ batchStartTreePosition_lt?: InputMaybe<Scalars['Int']>;
1073
+ batchStartTreePosition_gte?: InputMaybe<Scalars['Int']>;
1074
+ batchStartTreePosition_lte?: InputMaybe<Scalars['Int']>;
1075
+ batchStartTreePosition_in?: InputMaybe<Array<Scalars['Int']>>;
1076
+ batchStartTreePosition_not_in?: InputMaybe<Array<Scalars['Int']>>;
1077
+ transactIndex?: InputMaybe<Scalars['Int']>;
1078
+ transactIndex_not?: InputMaybe<Scalars['Int']>;
1079
+ transactIndex_gt?: InputMaybe<Scalars['Int']>;
1080
+ transactIndex_lt?: InputMaybe<Scalars['Int']>;
1081
+ transactIndex_gte?: InputMaybe<Scalars['Int']>;
1082
+ transactIndex_lte?: InputMaybe<Scalars['Int']>;
1083
+ transactIndex_in?: InputMaybe<Array<Scalars['Int']>>;
1084
+ transactIndex_not_in?: InputMaybe<Array<Scalars['Int']>>;
1085
+ senderCiphertext?: InputMaybe<Scalars['Bytes']>;
1086
+ senderCiphertext_not?: InputMaybe<Scalars['Bytes']>;
1087
+ senderCiphertext_gt?: InputMaybe<Scalars['Bytes']>;
1088
+ senderCiphertext_lt?: InputMaybe<Scalars['Bytes']>;
1089
+ senderCiphertext_gte?: InputMaybe<Scalars['Bytes']>;
1090
+ senderCiphertext_lte?: InputMaybe<Scalars['Bytes']>;
1091
+ senderCiphertext_in?: InputMaybe<Array<Scalars['Bytes']>>;
1092
+ senderCiphertext_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1093
+ senderCiphertext_contains?: InputMaybe<Scalars['Bytes']>;
1094
+ senderCiphertext_not_contains?: InputMaybe<Scalars['Bytes']>;
1095
+ /** Filter for the block changed event. */
1096
+ _change_block?: InputMaybe<BlockChangedFilter>;
1097
+ and?: InputMaybe<Array<InputMaybe<TransactCommitment_filter>>>;
1098
+ or?: InputMaybe<Array<InputMaybe<TransactCommitment_filter>>>;
1099
+ };
1100
+ export type TransactCommitment_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'commitmentType' | 'hashes' | 'commitmentCiphertexts' | 'batchStartTreePosition' | 'transactIndex' | 'senderCiphertext';
1101
+ export type Unshield = {
1102
+ id: Scalars['Bytes'];
1103
+ blockNumber: Scalars['BigInt'];
1104
+ blockTimestamp: Scalars['BigInt'];
1105
+ transactionHash: Scalars['Bytes'];
1106
+ to: Scalars['Bytes'];
1107
+ token: Token;
1108
+ value: Scalars['BigInt'];
1109
+ fee: Scalars['BigInt'];
1110
+ transactIndex: Scalars['BigInt'];
1111
+ };
1112
+ export type Unshield_filter = {
1113
+ id?: InputMaybe<Scalars['Bytes']>;
1114
+ id_not?: InputMaybe<Scalars['Bytes']>;
1115
+ id_gt?: InputMaybe<Scalars['Bytes']>;
1116
+ id_lt?: InputMaybe<Scalars['Bytes']>;
1117
+ id_gte?: InputMaybe<Scalars['Bytes']>;
1118
+ id_lte?: InputMaybe<Scalars['Bytes']>;
1119
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
1120
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1121
+ id_contains?: InputMaybe<Scalars['Bytes']>;
1122
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
1123
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1124
+ blockNumber_not?: InputMaybe<Scalars['BigInt']>;
1125
+ blockNumber_gt?: InputMaybe<Scalars['BigInt']>;
1126
+ blockNumber_lt?: InputMaybe<Scalars['BigInt']>;
1127
+ blockNumber_gte?: InputMaybe<Scalars['BigInt']>;
1128
+ blockNumber_lte?: InputMaybe<Scalars['BigInt']>;
1129
+ blockNumber_in?: InputMaybe<Array<Scalars['BigInt']>>;
1130
+ blockNumber_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1131
+ blockTimestamp?: InputMaybe<Scalars['BigInt']>;
1132
+ blockTimestamp_not?: InputMaybe<Scalars['BigInt']>;
1133
+ blockTimestamp_gt?: InputMaybe<Scalars['BigInt']>;
1134
+ blockTimestamp_lt?: InputMaybe<Scalars['BigInt']>;
1135
+ blockTimestamp_gte?: InputMaybe<Scalars['BigInt']>;
1136
+ blockTimestamp_lte?: InputMaybe<Scalars['BigInt']>;
1137
+ blockTimestamp_in?: InputMaybe<Array<Scalars['BigInt']>>;
1138
+ blockTimestamp_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1139
+ transactionHash?: InputMaybe<Scalars['Bytes']>;
1140
+ transactionHash_not?: InputMaybe<Scalars['Bytes']>;
1141
+ transactionHash_gt?: InputMaybe<Scalars['Bytes']>;
1142
+ transactionHash_lt?: InputMaybe<Scalars['Bytes']>;
1143
+ transactionHash_gte?: InputMaybe<Scalars['Bytes']>;
1144
+ transactionHash_lte?: InputMaybe<Scalars['Bytes']>;
1145
+ transactionHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
1146
+ transactionHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1147
+ transactionHash_contains?: InputMaybe<Scalars['Bytes']>;
1148
+ transactionHash_not_contains?: InputMaybe<Scalars['Bytes']>;
1149
+ to?: InputMaybe<Scalars['Bytes']>;
1150
+ to_not?: InputMaybe<Scalars['Bytes']>;
1151
+ to_gt?: InputMaybe<Scalars['Bytes']>;
1152
+ to_lt?: InputMaybe<Scalars['Bytes']>;
1153
+ to_gte?: InputMaybe<Scalars['Bytes']>;
1154
+ to_lte?: InputMaybe<Scalars['Bytes']>;
1155
+ to_in?: InputMaybe<Array<Scalars['Bytes']>>;
1156
+ to_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1157
+ to_contains?: InputMaybe<Scalars['Bytes']>;
1158
+ to_not_contains?: InputMaybe<Scalars['Bytes']>;
1159
+ token?: InputMaybe<Scalars['String']>;
1160
+ token_not?: InputMaybe<Scalars['String']>;
1161
+ token_gt?: InputMaybe<Scalars['String']>;
1162
+ token_lt?: InputMaybe<Scalars['String']>;
1163
+ token_gte?: InputMaybe<Scalars['String']>;
1164
+ token_lte?: InputMaybe<Scalars['String']>;
1165
+ token_in?: InputMaybe<Array<Scalars['String']>>;
1166
+ token_not_in?: InputMaybe<Array<Scalars['String']>>;
1167
+ token_contains?: InputMaybe<Scalars['String']>;
1168
+ token_contains_nocase?: InputMaybe<Scalars['String']>;
1169
+ token_not_contains?: InputMaybe<Scalars['String']>;
1170
+ token_not_contains_nocase?: InputMaybe<Scalars['String']>;
1171
+ token_starts_with?: InputMaybe<Scalars['String']>;
1172
+ token_starts_with_nocase?: InputMaybe<Scalars['String']>;
1173
+ token_not_starts_with?: InputMaybe<Scalars['String']>;
1174
+ token_not_starts_with_nocase?: InputMaybe<Scalars['String']>;
1175
+ token_ends_with?: InputMaybe<Scalars['String']>;
1176
+ token_ends_with_nocase?: InputMaybe<Scalars['String']>;
1177
+ token_not_ends_with?: InputMaybe<Scalars['String']>;
1178
+ token_not_ends_with_nocase?: InputMaybe<Scalars['String']>;
1179
+ token_?: InputMaybe<Token_filter>;
1180
+ value?: InputMaybe<Scalars['BigInt']>;
1181
+ value_not?: InputMaybe<Scalars['BigInt']>;
1182
+ value_gt?: InputMaybe<Scalars['BigInt']>;
1183
+ value_lt?: InputMaybe<Scalars['BigInt']>;
1184
+ value_gte?: InputMaybe<Scalars['BigInt']>;
1185
+ value_lte?: InputMaybe<Scalars['BigInt']>;
1186
+ value_in?: InputMaybe<Array<Scalars['BigInt']>>;
1187
+ value_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1188
+ fee?: InputMaybe<Scalars['BigInt']>;
1189
+ fee_not?: InputMaybe<Scalars['BigInt']>;
1190
+ fee_gt?: InputMaybe<Scalars['BigInt']>;
1191
+ fee_lt?: InputMaybe<Scalars['BigInt']>;
1192
+ fee_gte?: InputMaybe<Scalars['BigInt']>;
1193
+ fee_lte?: InputMaybe<Scalars['BigInt']>;
1194
+ fee_in?: InputMaybe<Array<Scalars['BigInt']>>;
1195
+ fee_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1196
+ transactIndex?: InputMaybe<Scalars['BigInt']>;
1197
+ transactIndex_not?: InputMaybe<Scalars['BigInt']>;
1198
+ transactIndex_gt?: InputMaybe<Scalars['BigInt']>;
1199
+ transactIndex_lt?: InputMaybe<Scalars['BigInt']>;
1200
+ transactIndex_gte?: InputMaybe<Scalars['BigInt']>;
1201
+ transactIndex_lte?: InputMaybe<Scalars['BigInt']>;
1202
+ transactIndex_in?: InputMaybe<Array<Scalars['BigInt']>>;
1203
+ transactIndex_not_in?: InputMaybe<Array<Scalars['BigInt']>>;
1204
+ /** Filter for the block changed event. */
1205
+ _change_block?: InputMaybe<BlockChangedFilter>;
1206
+ and?: InputMaybe<Array<InputMaybe<Unshield_filter>>>;
1207
+ or?: InputMaybe<Array<InputMaybe<Unshield_filter>>>;
1208
+ };
1209
+ export type Unshield_orderBy = 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'to' | 'token' | 'token__id' | 'token__tokenType' | 'token__tokenAddress' | 'token__tokenSubID' | 'value' | 'fee' | 'transactIndex';
1210
+ export type VerificationHash = {
1211
+ id: Scalars['Bytes'];
1212
+ verificationHash: Scalars['Bytes'];
1213
+ };
1214
+ export type VerificationHash_filter = {
1215
+ id?: InputMaybe<Scalars['Bytes']>;
1216
+ id_not?: InputMaybe<Scalars['Bytes']>;
1217
+ id_gt?: InputMaybe<Scalars['Bytes']>;
1218
+ id_lt?: InputMaybe<Scalars['Bytes']>;
1219
+ id_gte?: InputMaybe<Scalars['Bytes']>;
1220
+ id_lte?: InputMaybe<Scalars['Bytes']>;
1221
+ id_in?: InputMaybe<Array<Scalars['Bytes']>>;
1222
+ id_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1223
+ id_contains?: InputMaybe<Scalars['Bytes']>;
1224
+ id_not_contains?: InputMaybe<Scalars['Bytes']>;
1225
+ verificationHash?: InputMaybe<Scalars['Bytes']>;
1226
+ verificationHash_not?: InputMaybe<Scalars['Bytes']>;
1227
+ verificationHash_gt?: InputMaybe<Scalars['Bytes']>;
1228
+ verificationHash_lt?: InputMaybe<Scalars['Bytes']>;
1229
+ verificationHash_gte?: InputMaybe<Scalars['Bytes']>;
1230
+ verificationHash_lte?: InputMaybe<Scalars['Bytes']>;
1231
+ verificationHash_in?: InputMaybe<Array<Scalars['Bytes']>>;
1232
+ verificationHash_not_in?: InputMaybe<Array<Scalars['Bytes']>>;
1233
+ verificationHash_contains?: InputMaybe<Scalars['Bytes']>;
1234
+ verificationHash_not_contains?: InputMaybe<Scalars['Bytes']>;
1235
+ /** Filter for the block changed event. */
1236
+ _change_block?: InputMaybe<BlockChangedFilter>;
1237
+ and?: InputMaybe<Array<InputMaybe<VerificationHash_filter>>>;
1238
+ or?: InputMaybe<Array<InputMaybe<VerificationHash_filter>>>;
1239
+ };
1240
+ export type VerificationHash_orderBy = 'id' | 'verificationHash';
1241
+ export type _Block_ = {
1242
+ /** The hash of the block */
1243
+ hash?: Maybe<Scalars['Bytes']>;
1244
+ /** The block number */
1245
+ number: Scalars['Int'];
1246
+ /** Integer representation of the timestamp stored in blocks for the chain */
1247
+ timestamp?: Maybe<Scalars['Int']>;
1248
+ };
1249
+ /** The type for the top-level _meta field */
1250
+ export type _Meta_ = {
1251
+ /**
1252
+ * Information about a specific subgraph block. The hash of the block
1253
+ * will be null if the _meta field has a block constraint that asks for
1254
+ * a block number. It will be filled if the _meta field has no block constraint
1255
+ * and therefore asks for the latest block
1256
+ *
1257
+ */
1258
+ block: _Block_;
1259
+ /** The deployment ID */
1260
+ deployment: Scalars['String'];
1261
+ /** If `true`, the subgraph encountered indexing errors at some past block */
1262
+ hasIndexingErrors: Scalars['Boolean'];
1263
+ };
1264
+ export type _SubgraphErrorPolicy_ =
1265
+ /** Data will be returned even if the subgraph has indexing errors */
1266
+ 'allow'
1267
+ /** If the subgraph has indexing errors, data will be omitted. The default. */
1268
+ | 'deny';
1269
+ export type WithIndex<TObject> = TObject & Record<string, any>;
1270
+ export type ResolversObject<TObject> = WithIndex<TObject>;
1271
+ export type ResolverTypeWrapper<T> = Promise<T> | T;
1272
+ export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
1273
+ resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
1274
+ };
1275
+ export type LegacyStitchingResolver<TResult, TParent, TContext, TArgs> = {
1276
+ fragment: string;
1277
+ resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
1278
+ };
1279
+ export type NewStitchingResolver<TResult, TParent, TContext, TArgs> = {
1280
+ selectionSet: string | ((fieldNode: FieldNode) => SelectionSetNode);
1281
+ resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
1282
+ };
1283
+ export type StitchingResolver<TResult, TParent, TContext, TArgs> = LegacyStitchingResolver<TResult, TParent, TContext, TArgs> | NewStitchingResolver<TResult, TParent, TContext, TArgs>;
1284
+ export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs> | StitchingResolver<TResult, TParent, TContext, TArgs>;
1285
+ export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
1286
+ export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
1287
+ export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
1288
+ export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
1289
+ subscribe: SubscriptionSubscribeFn<{
1290
+ [key in TKey]: TResult;
1291
+ }, TParent, TContext, TArgs>;
1292
+ resolve?: SubscriptionResolveFn<TResult, {
1293
+ [key in TKey]: TResult;
1294
+ }, TContext, TArgs>;
1295
+ }
1296
+ export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
1297
+ subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
1298
+ resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
1299
+ }
1300
+ export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
1301
+ export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
1302
+ export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
1303
+ export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
1304
+ export type NextResolverFn<T> = () => Promise<T>;
1305
+ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
1306
+ /** Mapping between all available schema types and the resolvers types */
1307
+ export type ResolversTypes = ResolversObject<{
1308
+ BigDecimal: ResolverTypeWrapper<Scalars['BigDecimal']>;
1309
+ BigInt: ResolverTypeWrapper<Scalars['BigInt']>;
1310
+ BlockChangedFilter: BlockChangedFilter;
1311
+ Block_height: Block_height;
1312
+ Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
1313
+ Bytes: ResolverTypeWrapper<Scalars['Bytes']>;
1314
+ Commitment: ResolversTypes['ShieldCommitment'] | ResolversTypes['TransactCommitment'];
1315
+ CommitmentCiphertext: ResolverTypeWrapper<CommitmentCiphertext>;
1316
+ CommitmentCiphertext_filter: CommitmentCiphertext_filter;
1317
+ CommitmentCiphertext_orderBy: CommitmentCiphertext_orderBy;
1318
+ CommitmentPreimage: ResolverTypeWrapper<CommitmentPreimage>;
1319
+ CommitmentPreimage_filter: CommitmentPreimage_filter;
1320
+ CommitmentPreimage_orderBy: CommitmentPreimage_orderBy;
1321
+ CommitmentType: CommitmentType;
1322
+ Commitment_filter: Commitment_filter;
1323
+ Commitment_orderBy: Commitment_orderBy;
1324
+ Float: ResolverTypeWrapper<Scalars['Float']>;
1325
+ ID: ResolverTypeWrapper<Scalars['ID']>;
1326
+ Int: ResolverTypeWrapper<Scalars['Int']>;
1327
+ Int8: ResolverTypeWrapper<Scalars['Int8']>;
1328
+ Nullifier: ResolverTypeWrapper<Nullifier>;
1329
+ Nullifier_filter: Nullifier_filter;
1330
+ Nullifier_orderBy: Nullifier_orderBy;
1331
+ OrderDirection: OrderDirection;
1332
+ Query: ResolverTypeWrapper<{}>;
1333
+ MatrixTransaction: ResolverTypeWrapper<MatrixTransaction>;
1334
+ MatrixTransaction_filter: MatrixTransaction_filter;
1335
+ MatrixTransaction_orderBy: MatrixTransaction_orderBy;
1336
+ ShieldCommitment: ResolverTypeWrapper<ShieldCommitment>;
1337
+ ShieldCommitment_filter: ShieldCommitment_filter;
1338
+ ShieldCommitment_orderBy: ShieldCommitment_orderBy;
1339
+ String: ResolverTypeWrapper<Scalars['String']>;
1340
+ Subscription: ResolverTypeWrapper<{}>;
1341
+ Token: ResolverTypeWrapper<Token>;
1342
+ TokenType: TokenType;
1343
+ Token_filter: Token_filter;
1344
+ Token_orderBy: Token_orderBy;
1345
+ TransactCommitment: ResolverTypeWrapper<TransactCommitment>;
1346
+ TransactCommitment_filter: TransactCommitment_filter;
1347
+ TransactCommitment_orderBy: TransactCommitment_orderBy;
1348
+ Unshield: ResolverTypeWrapper<Unshield>;
1349
+ Unshield_filter: Unshield_filter;
1350
+ Unshield_orderBy: Unshield_orderBy;
1351
+ VerificationHash: ResolverTypeWrapper<VerificationHash>;
1352
+ VerificationHash_filter: VerificationHash_filter;
1353
+ VerificationHash_orderBy: VerificationHash_orderBy;
1354
+ _Block_: ResolverTypeWrapper<_Block_>;
1355
+ _Meta_: ResolverTypeWrapper<_Meta_>;
1356
+ _SubgraphErrorPolicy_: _SubgraphErrorPolicy_;
1357
+ }>;
1358
+ /** Mapping between all available schema types and the resolvers parents */
1359
+ export type ResolversParentTypes = ResolversObject<{
1360
+ BigDecimal: Scalars['BigDecimal'];
1361
+ BigInt: Scalars['BigInt'];
1362
+ BlockChangedFilter: BlockChangedFilter;
1363
+ Block_height: Block_height;
1364
+ Boolean: Scalars['Boolean'];
1365
+ Bytes: Scalars['Bytes'];
1366
+ Commitment: ResolversParentTypes['ShieldCommitment'] | ResolversParentTypes['TransactCommitment'];
1367
+ CommitmentCiphertext: CommitmentCiphertext;
1368
+ CommitmentCiphertext_filter: CommitmentCiphertext_filter;
1369
+ CommitmentPreimage: CommitmentPreimage;
1370
+ CommitmentPreimage_filter: CommitmentPreimage_filter;
1371
+ Commitment_filter: Commitment_filter;
1372
+ Float: Scalars['Float'];
1373
+ ID: Scalars['ID'];
1374
+ Int: Scalars['Int'];
1375
+ Int8: Scalars['Int8'];
1376
+ Nullifier: Nullifier;
1377
+ Nullifier_filter: Nullifier_filter;
1378
+ Query: {};
1379
+ MatrixTransaction: MatrixTransaction;
1380
+ MatrixTransaction_filter: MatrixTransaction_filter;
1381
+ ShieldCommitment: ShieldCommitment;
1382
+ ShieldCommitment_filter: ShieldCommitment_filter;
1383
+ String: Scalars['String'];
1384
+ Subscription: {};
1385
+ Token: Token;
1386
+ Token_filter: Token_filter;
1387
+ TransactCommitment: TransactCommitment;
1388
+ TransactCommitment_filter: TransactCommitment_filter;
1389
+ Unshield: Unshield;
1390
+ Unshield_filter: Unshield_filter;
1391
+ VerificationHash: VerificationHash;
1392
+ VerificationHash_filter: VerificationHash_filter;
1393
+ _Block_: _Block_;
1394
+ _Meta_: _Meta_;
1395
+ }>;
1396
+ export type entityDirectiveArgs = {};
1397
+ export type entityDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = entityDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
1398
+ export type subgraphIdDirectiveArgs = {
1399
+ id: Scalars['String'];
1400
+ };
1401
+ export type subgraphIdDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = subgraphIdDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
1402
+ export type derivedFromDirectiveArgs = {
1403
+ field: Scalars['String'];
1404
+ };
1405
+ export type derivedFromDirectiveResolver<Result, Parent, ContextType = MeshContext, Args = derivedFromDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
1406
+ export interface BigDecimalScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigDecimal'], any> {
1407
+ name: 'BigDecimal';
1408
+ }
1409
+ export interface BigIntScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['BigInt'], any> {
1410
+ name: 'BigInt';
1411
+ }
1412
+ export interface BytesScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Bytes'], any> {
1413
+ name: 'Bytes';
1414
+ }
1415
+ export type CommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Commitment'] = ResolversParentTypes['Commitment']> = ResolversObject<{
1416
+ __resolveType: TypeResolveFn<'ShieldCommitment' | 'TransactCommitment', ParentType, ContextType>;
1417
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1418
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1419
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1420
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1421
+ treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1422
+ commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
1423
+ hashes?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1424
+ }>;
1425
+ export type CommitmentCiphertextResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['CommitmentCiphertext'] = ResolversParentTypes['CommitmentCiphertext']> = ResolversObject<{
1426
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1427
+ ciphertext?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1428
+ blindedSenderViewingKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1429
+ blindedReceiverViewingKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1430
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1431
+ }>;
1432
+ export type CommitmentPreimageResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['CommitmentPreimage'] = ResolversParentTypes['CommitmentPreimage']> = ResolversObject<{
1433
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1434
+ npk?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1435
+ token?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
1436
+ value?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1437
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1438
+ }>;
1439
+ export interface Int8ScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes['Int8'], any> {
1440
+ name: 'Int8';
1441
+ }
1442
+ export type NullifierResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Nullifier'] = ResolversParentTypes['Nullifier']> = ResolversObject<{
1443
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1444
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1445
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1446
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1447
+ treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1448
+ nullifier?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1449
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1450
+ }>;
1451
+ export type QueryResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']> = ResolversObject<{
1452
+ token?: Resolver<Maybe<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokenArgs, 'id' | 'subgraphError'>>;
1453
+ tokens?: Resolver<Array<ResolversTypes['Token']>, ParentType, ContextType, RequireFields<QuerytokensArgs, 'skip' | 'first' | 'subgraphError'>>;
1454
+ commitmentPreimage?: Resolver<Maybe<ResolversTypes['CommitmentPreimage']>, ParentType, ContextType, RequireFields<QuerycommitmentPreimageArgs, 'id' | 'subgraphError'>>;
1455
+ commitmentPreimages?: Resolver<Array<ResolversTypes['CommitmentPreimage']>, ParentType, ContextType, RequireFields<QuerycommitmentPreimagesArgs, 'skip' | 'first' | 'subgraphError'>>;
1456
+ commitmentCiphertext?: Resolver<Maybe<ResolversTypes['CommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerycommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
1457
+ commitmentCiphertexts?: Resolver<Array<ResolversTypes['CommitmentCiphertext']>, ParentType, ContextType, RequireFields<QuerycommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
1458
+ shieldCommitment?: Resolver<Maybe<ResolversTypes['ShieldCommitment']>, ParentType, ContextType, RequireFields<QueryshieldCommitmentArgs, 'id' | 'subgraphError'>>;
1459
+ shieldCommitments?: Resolver<Array<ResolversTypes['ShieldCommitment']>, ParentType, ContextType, RequireFields<QueryshieldCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1460
+ transactCommitment?: Resolver<Maybe<ResolversTypes['TransactCommitment']>, ParentType, ContextType, RequireFields<QuerytransactCommitmentArgs, 'id' | 'subgraphError'>>;
1461
+ transactCommitments?: Resolver<Array<ResolversTypes['TransactCommitment']>, ParentType, ContextType, RequireFields<QuerytransactCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1462
+ unshield?: Resolver<Maybe<ResolversTypes['Unshield']>, ParentType, ContextType, RequireFields<QueryunshieldArgs, 'id' | 'subgraphError'>>;
1463
+ unshields?: Resolver<Array<ResolversTypes['Unshield']>, ParentType, ContextType, RequireFields<QueryunshieldsArgs, 'skip' | 'first' | 'subgraphError'>>;
1464
+ nullifier?: Resolver<Maybe<ResolversTypes['Nullifier']>, ParentType, ContextType, RequireFields<QuerynullifierArgs, 'id' | 'subgraphError'>>;
1465
+ nullifiers?: Resolver<Array<ResolversTypes['Nullifier']>, ParentType, ContextType, RequireFields<QuerynullifiersArgs, 'skip' | 'first' | 'subgraphError'>>;
1466
+ matrixTransaction?: Resolver<Maybe<ResolversTypes['MatrixTransaction']>, ParentType, ContextType, RequireFields<QuerymatrixTransactionArgs, 'id' | 'subgraphError'>>;
1467
+ matrixTransactions?: Resolver<Array<ResolversTypes['MatrixTransaction']>, ParentType, ContextType, RequireFields<QuerymatrixTransactionsArgs, 'skip' | 'first' | 'subgraphError'>>;
1468
+ verificationHash?: Resolver<Maybe<ResolversTypes['VerificationHash']>, ParentType, ContextType, RequireFields<QueryverificationHashArgs, 'id' | 'subgraphError'>>;
1469
+ verificationHashes?: Resolver<Array<ResolversTypes['VerificationHash']>, ParentType, ContextType, RequireFields<QueryverificationHashesArgs, 'skip' | 'first' | 'subgraphError'>>;
1470
+ commitment?: Resolver<Maybe<ResolversTypes['Commitment']>, ParentType, ContextType, RequireFields<QuerycommitmentArgs, 'id' | 'subgraphError'>>;
1471
+ commitments?: Resolver<Array<ResolversTypes['Commitment']>, ParentType, ContextType, RequireFields<QuerycommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1472
+ _meta?: Resolver<Maybe<ResolversTypes['_Meta_']>, ParentType, ContextType, Partial<Query_metaArgs>>;
1473
+ }>;
1474
+ export type MatrixTransactionResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['MatrixTransaction'] = ResolversParentTypes['MatrixTransaction']> = ResolversObject<{
1475
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1476
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1477
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1478
+ nullifiers?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1479
+ commitments?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1480
+ boundParamsHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1481
+ hasUnshield?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
1482
+ utxoTreeIn?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1483
+ utxoTreeOut?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1484
+ utxoBatchStartPositionOut?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1485
+ unshieldToken?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
1486
+ unshieldToAddress?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1487
+ unshieldValue?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1488
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1489
+ verificationHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1490
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1491
+ }>;
1492
+ export type ShieldCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['ShieldCommitment'] = ResolversParentTypes['ShieldCommitment']> = ResolversObject<{
1493
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1494
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1495
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1496
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1497
+ treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1498
+ commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
1499
+ hashes?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1500
+ from?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1501
+ treePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1502
+ preimage?: Resolver<ResolversTypes['CommitmentPreimage'], ParentType, ContextType>;
1503
+ encryptedBundle?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1504
+ shieldKey?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1505
+ fee?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1506
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1507
+ }>;
1508
+ export type SubscriptionResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Subscription'] = ResolversParentTypes['Subscription']> = ResolversObject<{
1509
+ token?: SubscriptionResolver<Maybe<ResolversTypes['Token']>, 'token', ParentType, ContextType, RequireFields<SubscriptiontokenArgs, 'id' | 'subgraphError'>>;
1510
+ tokens?: SubscriptionResolver<Array<ResolversTypes['Token']>, 'tokens', ParentType, ContextType, RequireFields<SubscriptiontokensArgs, 'skip' | 'first' | 'subgraphError'>>;
1511
+ commitmentPreimage?: SubscriptionResolver<Maybe<ResolversTypes['CommitmentPreimage']>, 'commitmentPreimage', ParentType, ContextType, RequireFields<SubscriptioncommitmentPreimageArgs, 'id' | 'subgraphError'>>;
1512
+ commitmentPreimages?: SubscriptionResolver<Array<ResolversTypes['CommitmentPreimage']>, 'commitmentPreimages', ParentType, ContextType, RequireFields<SubscriptioncommitmentPreimagesArgs, 'skip' | 'first' | 'subgraphError'>>;
1513
+ commitmentCiphertext?: SubscriptionResolver<Maybe<ResolversTypes['CommitmentCiphertext']>, 'commitmentCiphertext', ParentType, ContextType, RequireFields<SubscriptioncommitmentCiphertextArgs, 'id' | 'subgraphError'>>;
1514
+ commitmentCiphertexts?: SubscriptionResolver<Array<ResolversTypes['CommitmentCiphertext']>, 'commitmentCiphertexts', ParentType, ContextType, RequireFields<SubscriptioncommitmentCiphertextsArgs, 'skip' | 'first' | 'subgraphError'>>;
1515
+ shieldCommitment?: SubscriptionResolver<Maybe<ResolversTypes['ShieldCommitment']>, 'shieldCommitment', ParentType, ContextType, RequireFields<SubscriptionshieldCommitmentArgs, 'id' | 'subgraphError'>>;
1516
+ shieldCommitments?: SubscriptionResolver<Array<ResolversTypes['ShieldCommitment']>, 'shieldCommitments', ParentType, ContextType, RequireFields<SubscriptionshieldCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1517
+ transactCommitment?: SubscriptionResolver<Maybe<ResolversTypes['TransactCommitment']>, 'transactCommitment', ParentType, ContextType, RequireFields<SubscriptiontransactCommitmentArgs, 'id' | 'subgraphError'>>;
1518
+ transactCommitments?: SubscriptionResolver<Array<ResolversTypes['TransactCommitment']>, 'transactCommitments', ParentType, ContextType, RequireFields<SubscriptiontransactCommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1519
+ unshield?: SubscriptionResolver<Maybe<ResolversTypes['Unshield']>, 'unshield', ParentType, ContextType, RequireFields<SubscriptionunshieldArgs, 'id' | 'subgraphError'>>;
1520
+ unshields?: SubscriptionResolver<Array<ResolversTypes['Unshield']>, 'unshields', ParentType, ContextType, RequireFields<SubscriptionunshieldsArgs, 'skip' | 'first' | 'subgraphError'>>;
1521
+ nullifier?: SubscriptionResolver<Maybe<ResolversTypes['Nullifier']>, 'nullifier', ParentType, ContextType, RequireFields<SubscriptionnullifierArgs, 'id' | 'subgraphError'>>;
1522
+ nullifiers?: SubscriptionResolver<Array<ResolversTypes['Nullifier']>, 'nullifiers', ParentType, ContextType, RequireFields<SubscriptionnullifiersArgs, 'skip' | 'first' | 'subgraphError'>>;
1523
+ matrixTransaction?: SubscriptionResolver<Maybe<ResolversTypes['MatrixTransaction']>, 'matrixTransaction', ParentType, ContextType, RequireFields<SubscriptionmatrixTransactionArgs, 'id' | 'subgraphError'>>;
1524
+ matrixTransactions?: SubscriptionResolver<Array<ResolversTypes['MatrixTransaction']>, 'matrixTransactions', ParentType, ContextType, RequireFields<SubscriptionmatrixTransactionsArgs, 'skip' | 'first' | 'subgraphError'>>;
1525
+ verificationHash?: SubscriptionResolver<Maybe<ResolversTypes['VerificationHash']>, 'verificationHash', ParentType, ContextType, RequireFields<SubscriptionverificationHashArgs, 'id' | 'subgraphError'>>;
1526
+ verificationHashes?: SubscriptionResolver<Array<ResolversTypes['VerificationHash']>, 'verificationHashes', ParentType, ContextType, RequireFields<SubscriptionverificationHashesArgs, 'skip' | 'first' | 'subgraphError'>>;
1527
+ commitment?: SubscriptionResolver<Maybe<ResolversTypes['Commitment']>, 'commitment', ParentType, ContextType, RequireFields<SubscriptioncommitmentArgs, 'id' | 'subgraphError'>>;
1528
+ commitments?: SubscriptionResolver<Array<ResolversTypes['Commitment']>, 'commitments', ParentType, ContextType, RequireFields<SubscriptioncommitmentsArgs, 'skip' | 'first' | 'subgraphError'>>;
1529
+ _meta?: SubscriptionResolver<Maybe<ResolversTypes['_Meta_']>, '_meta', ParentType, ContextType, Partial<Subscription_metaArgs>>;
1530
+ }>;
1531
+ export type TokenResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Token'] = ResolversParentTypes['Token']> = ResolversObject<{
1532
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1533
+ tokenType?: Resolver<ResolversTypes['TokenType'], ParentType, ContextType>;
1534
+ tokenAddress?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1535
+ tokenSubID?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1536
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1537
+ }>;
1538
+ export type TransactCommitmentResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['TransactCommitment'] = ResolversParentTypes['TransactCommitment']> = ResolversObject<{
1539
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1540
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1541
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1542
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1543
+ treeNumber?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1544
+ commitmentType?: Resolver<ResolversTypes['CommitmentType'], ParentType, ContextType>;
1545
+ hashes?: Resolver<Array<ResolversTypes['Bytes']>, ParentType, ContextType>;
1546
+ commitmentCiphertexts?: Resolver<Array<ResolversTypes['CommitmentCiphertext']>, ParentType, ContextType, RequireFields<TransactCommitmentcommitmentCiphertextsArgs, 'skip' | 'first'>>;
1547
+ batchStartTreePosition?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1548
+ transactIndex?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1549
+ senderCiphertext?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1550
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1551
+ }>;
1552
+ export type UnshieldResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['Unshield'] = ResolversParentTypes['Unshield']> = ResolversObject<{
1553
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1554
+ blockNumber?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1555
+ blockTimestamp?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1556
+ transactionHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1557
+ to?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1558
+ token?: Resolver<ResolversTypes['Token'], ParentType, ContextType>;
1559
+ value?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1560
+ fee?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1561
+ transactIndex?: Resolver<ResolversTypes['BigInt'], ParentType, ContextType>;
1562
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1563
+ }>;
1564
+ export type VerificationHashResolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['VerificationHash'] = ResolversParentTypes['VerificationHash']> = ResolversObject<{
1565
+ id?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1566
+ verificationHash?: Resolver<ResolversTypes['Bytes'], ParentType, ContextType>;
1567
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1568
+ }>;
1569
+ export type _Block_Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_Block_'] = ResolversParentTypes['_Block_']> = ResolversObject<{
1570
+ hash?: Resolver<Maybe<ResolversTypes['Bytes']>, ParentType, ContextType>;
1571
+ number?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
1572
+ timestamp?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
1573
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1574
+ }>;
1575
+ export type _Meta_Resolvers<ContextType = MeshContext, ParentType extends ResolversParentTypes['_Meta_'] = ResolversParentTypes['_Meta_']> = ResolversObject<{
1576
+ block?: Resolver<ResolversTypes['_Block_'], ParentType, ContextType>;
1577
+ deployment?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
1578
+ hasIndexingErrors?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
1579
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
1580
+ }>;
1581
+ export type Resolvers<ContextType = MeshContext> = ResolversObject<{
1582
+ BigDecimal?: GraphQLScalarType;
1583
+ BigInt?: GraphQLScalarType;
1584
+ Bytes?: GraphQLScalarType;
1585
+ Commitment?: CommitmentResolvers<ContextType>;
1586
+ CommitmentCiphertext?: CommitmentCiphertextResolvers<ContextType>;
1587
+ CommitmentPreimage?: CommitmentPreimageResolvers<ContextType>;
1588
+ Int8?: GraphQLScalarType;
1589
+ Nullifier?: NullifierResolvers<ContextType>;
1590
+ Query?: QueryResolvers<ContextType>;
1591
+ MatrixTransaction?: MatrixTransactionResolvers<ContextType>;
1592
+ ShieldCommitment?: ShieldCommitmentResolvers<ContextType>;
1593
+ Subscription?: SubscriptionResolvers<ContextType>;
1594
+ Token?: TokenResolvers<ContextType>;
1595
+ TransactCommitment?: TransactCommitmentResolvers<ContextType>;
1596
+ Unshield?: UnshieldResolvers<ContextType>;
1597
+ VerificationHash?: VerificationHashResolvers<ContextType>;
1598
+ _Block_?: _Block_Resolvers<ContextType>;
1599
+ _Meta_?: _Meta_Resolvers<ContextType>;
1600
+ }>;
1601
+ export type DirectiveResolvers<ContextType = MeshContext> = ResolversObject<{
1602
+ entity?: entityDirectiveResolver<any, any, ContextType>;
1603
+ subgraphId?: subgraphIdDirectiveResolver<any, any, ContextType>;
1604
+ derivedFrom?: derivedFromDirectiveResolver<any, any, ContextType>;
1605
+ }>;
1606
+ export type MeshContext = MumbaiTypes.Context & BaseMeshContext;
1607
+ export declare const rawServeConfig: YamlConfig.Config['serve'];
1608
+ export declare function getMeshOptions(): Promise<GetMeshOptions>;
1609
+ export declare function createBuiltMeshHTTPHandler<TServerContext = {}>(): MeshHTTPHandler<TServerContext>;
1610
+ export declare function getBuiltGraphClient(): Promise<MeshInstance>;
1611
+ export declare const execute: ExecuteMeshFn;
1612
+ export declare const subscribe: SubscribeMeshFn;
1613
+ export declare function getBuiltGraphSDK<TGlobalContext = any, TOperationContext = any>(globalContext?: TGlobalContext): {
1614
+ Nullifiers(variables?: Exact<{
1615
+ blockNumber?: InputMaybe<string> | undefined;
1616
+ }> | undefined, options?: TOperationContext | undefined): Promise<NullifiersQuery>;
1617
+ Unshields(variables?: Exact<{
1618
+ blockNumber?: InputMaybe<string> | undefined;
1619
+ }> | undefined, options?: TOperationContext | undefined): Promise<UnshieldsQuery>;
1620
+ Commitments(variables?: Exact<{
1621
+ blockNumber?: InputMaybe<string> | undefined;
1622
+ }> | undefined, options?: TOperationContext | undefined): Promise<CommitmentsQuery>;
1623
+ MatrixTransactions(variables?: Exact<{
1624
+ blockNumber?: InputMaybe<string> | undefined;
1625
+ }> | undefined, options?: TOperationContext | undefined): Promise<MatrixTransactionsQuery>;
1626
+ };
1627
+ export type NullifiersQueryVariables = Exact<{
1628
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1629
+ }>;
1630
+ export type NullifiersQuery = {
1631
+ nullifiers: Array<Pick<Nullifier, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'nullifier'>>;
1632
+ };
1633
+ export type UnshieldsQueryVariables = Exact<{
1634
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1635
+ }>;
1636
+ export type UnshieldsQuery = {
1637
+ unshields: Array<Pick<Unshield, 'id' | 'blockNumber' | 'blockTimestamp' | 'to' | 'transactionHash' | 'fee' | 'value' | 'transactIndex'> & {
1638
+ token: Pick<Token, 'id' | 'tokenType' | 'tokenSubID' | 'tokenAddress'>;
1639
+ }>;
1640
+ };
1641
+ export type CommitmentsQueryVariables = Exact<{
1642
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1643
+ }>;
1644
+ export type CommitmentsQuery = {
1645
+ commitments: Array<(Pick<ShieldCommitment, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'treePosition' | 'commitmentType' | 'hashes' | 'shieldKey' | 'fee' | 'encryptedBundle' | 'from'> & {
1646
+ preimage: Pick<CommitmentPreimage, 'id' | 'npk' | 'value'> & {
1647
+ token: Pick<Token, 'id' | 'tokenType' | 'tokenSubID' | 'tokenAddress'>;
1648
+ };
1649
+ }) | (Pick<TransactCommitment, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'treeNumber' | 'batchStartTreePosition' | 'transactIndex' | 'commitmentType' | 'senderCiphertext' | 'hashes'> & {
1650
+ commitmentCiphertexts: Array<Pick<CommitmentCiphertext, 'id' | 'ciphertext' | 'blindedSenderViewingKey' | 'blindedReceiverViewingKey'>>;
1651
+ })>;
1652
+ };
1653
+ export type MatrixTransactionsQueryVariables = Exact<{
1654
+ blockNumber?: InputMaybe<Scalars['BigInt']>;
1655
+ }>;
1656
+ export type MatrixTransactionsQuery = {
1657
+ matrixTransactions: Array<Pick<MatrixTransaction, 'id' | 'blockNumber' | 'blockTimestamp' | 'transactionHash' | 'nullifiers' | 'commitments' | 'boundParamsHash' | 'hasUnshield' | 'utxoTreeIn' | 'utxoTreeOut' | 'utxoBatchStartPositionOut' | 'unshieldToAddress' | 'unshieldValue' | 'verificationHash'> & {
1658
+ unshieldToken: Pick<Token, 'id' | 'tokenType' | 'tokenAddress' | 'tokenSubID'>;
1659
+ }>;
1660
+ };
1661
+ export declare const NullifiersDocument: DocumentNode<NullifiersQuery, Exact<{
1662
+ blockNumber?: InputMaybe<string> | undefined;
1663
+ }>>;
1664
+ export declare const UnshieldsDocument: DocumentNode<UnshieldsQuery, Exact<{
1665
+ blockNumber?: InputMaybe<string> | undefined;
1666
+ }>>;
1667
+ export declare const CommitmentsDocument: DocumentNode<CommitmentsQuery, Exact<{
1668
+ blockNumber?: InputMaybe<string> | undefined;
1669
+ }>>;
1670
+ export declare const MatrixTransactionsDocument: DocumentNode<MatrixTransactionsQuery, Exact<{
1671
+ blockNumber?: InputMaybe<string> | undefined;
1672
+ }>>;
1673
+ export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
1674
+ export declare function getSdk<C, E>(requester: Requester<C, E>): {
1675
+ Nullifiers(variables?: NullifiersQueryVariables, options?: C): Promise<NullifiersQuery>;
1676
+ Unshields(variables?: UnshieldsQueryVariables, options?: C): Promise<UnshieldsQuery>;
1677
+ Commitments(variables?: CommitmentsQueryVariables, options?: C): Promise<CommitmentsQuery>;
1678
+ MatrixTransactions(variables?: MatrixTransactionsQueryVariables, options?: C): Promise<MatrixTransactionsQuery>;
1679
+ };
1680
+ export type Sdk = ReturnType<typeof getSdk>;