@show-karma/karma-gap-sdk 0.4.16 → 0.4.18

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 (188) hide show
  1. package/core/abi/AirdropNFT.json +1 -1
  2. package/core/abi/Allo.json +860 -860
  3. package/core/abi/AlloRegistry.json +578 -578
  4. package/core/abi/CommunityResolverABI.json +506 -506
  5. package/core/abi/Donations.json +251 -251
  6. package/core/abi/EAS.json +1 -1
  7. package/core/abi/MultiAttester.json +746 -746
  8. package/core/abi/ProjectResolver.json +574 -574
  9. package/core/abi/SchemaRegistry.json +1 -1
  10. package/core/abi/index.d.ts +1114 -0
  11. package/core/abi/index.js +26 -0
  12. package/core/class/AllGapSchemas.d.ts +9 -0
  13. package/core/class/AllGapSchemas.js +19 -0
  14. package/core/class/Attestation.d.ts +173 -0
  15. package/core/class/Attestation.js +333 -0
  16. package/core/class/Fetcher.d.ts +175 -0
  17. package/core/class/Fetcher.js +13 -0
  18. package/core/class/GAP.d.ts +254 -0
  19. package/core/class/GAP.js +289 -0
  20. package/core/class/GapSchema.d.ts +34 -0
  21. package/core/class/GapSchema.js +62 -0
  22. package/core/class/Gelato/{Gelato.ts → Gelato.js} +0 -23
  23. package/core/class/GrantProgramRegistry/Allo.d.ts +17 -0
  24. package/core/class/GrantProgramRegistry/Allo.js +137 -0
  25. package/core/class/GrantProgramRegistry/AlloRegistry.d.ts +15 -0
  26. package/core/class/GrantProgramRegistry/AlloRegistry.js +70 -0
  27. package/core/class/GraphQL/AxiosGQL.d.ts +6 -0
  28. package/core/class/GraphQL/AxiosGQL.js +25 -0
  29. package/core/class/GraphQL/EASClient.d.ts +16 -0
  30. package/core/class/GraphQL/EASClient.js +26 -0
  31. package/core/class/GraphQL/GapEasClient.d.ts +71 -0
  32. package/core/class/GraphQL/GapEasClient.js +451 -0
  33. package/core/class/GraphQL/index.js +19 -0
  34. package/core/class/Schema.d.ts +233 -0
  35. package/core/class/Schema.js +490 -0
  36. package/core/class/SchemaError.d.ts +30 -0
  37. package/core/class/SchemaError.js +39 -0
  38. package/core/class/contract/GapContract.d.ts +102 -0
  39. package/core/class/contract/GapContract.js +285 -0
  40. package/core/class/entities/Community.d.ts +34 -0
  41. package/core/class/entities/Community.js +109 -0
  42. package/core/class/entities/ContributorProfile.d.ts +41 -0
  43. package/core/class/entities/ContributorProfile.js +69 -0
  44. package/core/class/entities/Grant.d.ts +54 -0
  45. package/core/class/entities/Grant.js +223 -0
  46. package/core/class/entities/GrantUpdate.d.ts +62 -0
  47. package/core/class/entities/GrantUpdate.js +114 -0
  48. package/core/class/entities/MemberOf.d.ts +11 -0
  49. package/core/class/entities/MemberOf.js +33 -0
  50. package/core/class/entities/Milestone.d.ts +168 -0
  51. package/core/class/entities/Milestone.js +657 -0
  52. package/core/class/entities/Project.d.ts +92 -0
  53. package/core/class/entities/Project.js +418 -0
  54. package/core/class/entities/ProjectImpact.d.ts +50 -0
  55. package/core/class/entities/ProjectImpact.js +112 -0
  56. package/core/class/entities/ProjectMilestone.d.ts +60 -0
  57. package/core/class/entities/ProjectMilestone.js +174 -0
  58. package/core/class/entities/ProjectPointer.d.ts +12 -0
  59. package/core/class/entities/ProjectPointer.js +22 -0
  60. package/core/class/entities/ProjectUpdate.d.ts +50 -0
  61. package/core/class/entities/ProjectUpdate.js +110 -0
  62. package/core/class/entities/Track.d.ts +16 -0
  63. package/core/class/entities/Track.js +21 -0
  64. package/core/class/entities/index.js +26 -0
  65. package/core/class/index.js +26 -0
  66. package/core/class/karma-indexer/GapIndexerClient.d.ts +66 -0
  67. package/core/class/karma-indexer/GapIndexerClient.js +207 -0
  68. package/core/class/karma-indexer/api/GapIndexerApi.d.ts +73 -0
  69. package/core/class/karma-indexer/api/GapIndexerApi.js +256 -0
  70. package/core/class/karma-indexer/api/types.d.ts +309 -0
  71. package/core/class/karma-indexer/api/types.js +2 -0
  72. package/core/class/remote-storage/IpfsStorage.d.ts +23 -0
  73. package/core/class/remote-storage/IpfsStorage.js +56 -0
  74. package/core/class/remote-storage/RemoteStorage.d.ts +41 -0
  75. package/core/class/remote-storage/RemoteStorage.js +38 -0
  76. package/core/class/types/allo.d.ts +78 -0
  77. package/core/class/types/allo.js +2 -0
  78. package/core/class/types/attestations.d.ts +173 -0
  79. package/core/class/types/attestations.js +66 -0
  80. package/core/consts.d.ts +50 -0
  81. package/core/consts.js +699 -0
  82. package/core/index.js +24 -0
  83. package/core/shared/types.d.ts +13 -0
  84. package/core/shared/types.js +2 -0
  85. package/core/types.d.ts +131 -0
  86. package/core/types.js +13 -0
  87. package/core/utils/gelato/index.js +19 -0
  88. package/core/utils/gelato/send-gelato-txn.d.ts +55 -0
  89. package/core/utils/gelato/send-gelato-txn.js +100 -0
  90. package/core/utils/gelato/sponsor-handler.d.ts +9 -0
  91. package/core/utils/gelato/sponsor-handler.js +60 -0
  92. package/core/utils/gelato/watch-gelato-txn.d.ts +7 -0
  93. package/core/utils/gelato/watch-gelato-txn.js +63 -0
  94. package/core/utils/get-date.d.ts +1 -0
  95. package/core/utils/get-date.js +7 -0
  96. package/core/utils/get-ipfs-data.d.ts +1 -0
  97. package/core/utils/get-ipfs-data.js +20 -0
  98. package/core/utils/get-web3-provider.d.ts +2 -0
  99. package/core/utils/get-web3-provider.js +18 -0
  100. package/core/utils/gql-queries.d.ts +12 -0
  101. package/core/utils/gql-queries.js +90 -0
  102. package/core/utils/index.js +23 -0
  103. package/core/utils/map-filter.d.ts +8 -0
  104. package/core/utils/map-filter.js +20 -0
  105. package/core/utils/serialize-bigint.d.ts +1 -0
  106. package/core/utils/serialize-bigint.js +8 -0
  107. package/core/utils/to-unix.d.ts +1 -0
  108. package/core/utils/to-unix.js +25 -0
  109. package/index.js +17 -0
  110. package/package.json +45 -45
  111. package/.cursorrules +0 -43
  112. package/core/abi/index.ts +0 -21
  113. package/core/class/AllGapSchemas.ts +0 -21
  114. package/core/class/Attestation.ts +0 -429
  115. package/core/class/Fetcher.ts +0 -224
  116. package/core/class/GAP.ts +0 -481
  117. package/core/class/GapSchema.ts +0 -93
  118. package/core/class/GrantProgramRegistry/Allo.ts +0 -188
  119. package/core/class/GrantProgramRegistry/AlloRegistry.ts +0 -101
  120. package/core/class/GraphQL/AxiosGQL.ts +0 -29
  121. package/core/class/GraphQL/EASClient.ts +0 -34
  122. package/core/class/GraphQL/GapEasClient.ts +0 -869
  123. package/core/class/Schema.ts +0 -659
  124. package/core/class/SchemaError.ts +0 -42
  125. package/core/class/contract/GapContract.ts +0 -457
  126. package/core/class/entities/Community.ts +0 -148
  127. package/core/class/entities/ContributorProfile.ts +0 -108
  128. package/core/class/entities/Grant.ts +0 -321
  129. package/core/class/entities/GrantUpdate.ts +0 -187
  130. package/core/class/entities/MemberOf.ts +0 -52
  131. package/core/class/entities/Milestone.ts +0 -898
  132. package/core/class/entities/Project.ts +0 -672
  133. package/core/class/entities/ProjectImpact.ts +0 -170
  134. package/core/class/entities/ProjectMilestone.ts +0 -254
  135. package/core/class/entities/ProjectPointer.ts +0 -39
  136. package/core/class/entities/ProjectUpdate.ts +0 -176
  137. package/core/class/entities/Track.ts +0 -32
  138. package/core/class/karma-indexer/GapIndexerClient.ts +0 -383
  139. package/core/class/karma-indexer/api/GapIndexerApi.ts +0 -446
  140. package/core/class/karma-indexer/api/types.ts +0 -313
  141. package/core/class/remote-storage/IpfsStorage.ts +0 -76
  142. package/core/class/remote-storage/RemoteStorage.ts +0 -65
  143. package/core/class/types/allo.ts +0 -93
  144. package/core/class/types/attestations.ts +0 -223
  145. package/core/consts.ts +0 -775
  146. package/core/scripts/create-grant.ts +0 -102
  147. package/core/scripts/create-program.ts +0 -43
  148. package/core/scripts/create-schemas.ts +0 -65
  149. package/core/scripts/deploy.ts +0 -65
  150. package/core/scripts/index.ts +0 -1
  151. package/core/scripts/milestone-multi-grants.ts +0 -125
  152. package/core/shared/types.ts +0 -13
  153. package/core/types.ts +0 -224
  154. package/core/utils/gelato/send-gelato-txn.ts +0 -114
  155. package/core/utils/gelato/sponsor-handler.ts +0 -77
  156. package/core/utils/gelato/watch-gelato-txn.ts +0 -67
  157. package/core/utils/get-date.ts +0 -3
  158. package/core/utils/get-ipfs-data.ts +0 -13
  159. package/core/utils/get-web3-provider.ts +0 -18
  160. package/core/utils/gql-queries.ts +0 -133
  161. package/core/utils/map-filter.ts +0 -21
  162. package/core/utils/serialize-bigint.ts +0 -7
  163. package/core/utils/to-unix.ts +0 -18
  164. package/create-community-example.ts +0 -119
  165. package/csv-upload/README.md +0 -74
  166. package/csv-upload/config.ts +0 -41
  167. package/csv-upload/example.csv +0 -2
  168. package/csv-upload/keys.example.json +0 -8
  169. package/csv-upload/scripts/run.ts +0 -417
  170. package/csv-upload/types.ts +0 -39
  171. package/docs/.gitkeep +0 -0
  172. package/docs/images/attestation-architecture.png +0 -0
  173. package/docs/images/dfd-get-projects.png +0 -0
  174. package/gap-schema.yaml +0 -155
  175. package/milestone-workflow-example.ts +0 -353
  176. package/readme.md +0 -872
  177. package/schemas/.gitkeep +0 -0
  178. package/schemas/GAP-schemas-1692135812877.json +0 -33
  179. package/test-file-indexer-api.ts +0 -25
  180. package/tsconfig.json +0 -26
  181. /package/{csv-upload/.gitkeep → core/class/Gelato/Gelato.d.ts} +0 -0
  182. /package/core/class/GraphQL/{index.ts → index.d.ts} +0 -0
  183. /package/core/class/entities/{index.ts → index.d.ts} +0 -0
  184. /package/core/class/{index.ts → index.d.ts} +0 -0
  185. /package/core/{index.ts → index.d.ts} +0 -0
  186. /package/core/utils/gelato/{index.ts → index.d.ts} +0 -0
  187. /package/core/utils/{index.ts → index.d.ts} +0 -0
  188. /package/{index.ts → index.d.ts} +0 -0
@@ -0,0 +1,1114 @@
1
+ export declare const abis: {
2
+ AirdropNFT: ({
3
+ inputs: {
4
+ internalType: string;
5
+ name: string;
6
+ type: string;
7
+ }[];
8
+ stateMutability: string;
9
+ type: string;
10
+ anonymous?: undefined;
11
+ name?: undefined;
12
+ outputs?: undefined;
13
+ } | {
14
+ anonymous: boolean;
15
+ inputs: {
16
+ indexed: boolean;
17
+ internalType: string;
18
+ name: string;
19
+ type: string;
20
+ }[];
21
+ name: string;
22
+ type: string;
23
+ stateMutability?: undefined;
24
+ outputs?: undefined;
25
+ } | {
26
+ inputs: {
27
+ internalType: string;
28
+ name: string;
29
+ type: string;
30
+ }[];
31
+ name: string;
32
+ outputs: {
33
+ internalType: string;
34
+ name: string;
35
+ type: string;
36
+ }[];
37
+ stateMutability: string;
38
+ type: string;
39
+ anonymous?: undefined;
40
+ })[];
41
+ Allo: ({
42
+ inputs: {
43
+ internalType: string;
44
+ name: string;
45
+ type: string;
46
+ }[];
47
+ name: string;
48
+ type: string;
49
+ anonymous?: undefined;
50
+ outputs?: undefined;
51
+ stateMutability?: undefined;
52
+ } | {
53
+ anonymous: boolean;
54
+ inputs: ({
55
+ indexed: boolean;
56
+ internalType: string;
57
+ name: string;
58
+ type: string;
59
+ components?: undefined;
60
+ } | {
61
+ components: {
62
+ internalType: string;
63
+ name: string;
64
+ type: string;
65
+ }[];
66
+ indexed: boolean;
67
+ internalType: string;
68
+ name: string;
69
+ type: string;
70
+ })[];
71
+ name: string;
72
+ type: string;
73
+ outputs?: undefined;
74
+ stateMutability?: undefined;
75
+ } | {
76
+ inputs: ({
77
+ internalType: string;
78
+ name: string;
79
+ type: string;
80
+ components?: undefined;
81
+ } | {
82
+ components: {
83
+ internalType: string;
84
+ name: string;
85
+ type: string;
86
+ }[];
87
+ internalType: string;
88
+ name: string;
89
+ type: string;
90
+ })[];
91
+ name: string;
92
+ outputs: {
93
+ internalType: string;
94
+ name: string;
95
+ type: string;
96
+ }[];
97
+ stateMutability: string;
98
+ type: string;
99
+ anonymous?: undefined;
100
+ } | {
101
+ inputs: {
102
+ internalType: string;
103
+ name: string;
104
+ type: string;
105
+ }[];
106
+ name: string;
107
+ outputs: {
108
+ components: ({
109
+ internalType: string;
110
+ name: string;
111
+ type: string;
112
+ components?: undefined;
113
+ } | {
114
+ components: {
115
+ internalType: string;
116
+ name: string;
117
+ type: string;
118
+ }[];
119
+ internalType: string;
120
+ name: string;
121
+ type: string;
122
+ })[];
123
+ internalType: string;
124
+ name: string;
125
+ type: string;
126
+ }[];
127
+ stateMutability: string;
128
+ type: string;
129
+ anonymous?: undefined;
130
+ })[];
131
+ AlloRegistry: ({
132
+ inputs: {
133
+ internalType: string;
134
+ name: string;
135
+ type: string;
136
+ }[];
137
+ name: string;
138
+ type: string;
139
+ anonymous?: undefined;
140
+ outputs?: undefined;
141
+ stateMutability?: undefined;
142
+ } | {
143
+ anonymous: boolean;
144
+ inputs: ({
145
+ indexed: boolean;
146
+ internalType: string;
147
+ name: string;
148
+ type: string;
149
+ components?: undefined;
150
+ } | {
151
+ components: {
152
+ internalType: string;
153
+ name: string;
154
+ type: string;
155
+ }[];
156
+ indexed: boolean;
157
+ internalType: string;
158
+ name: string;
159
+ type: string;
160
+ })[];
161
+ name: string;
162
+ type: string;
163
+ outputs?: undefined;
164
+ stateMutability?: undefined;
165
+ } | {
166
+ inputs: ({
167
+ internalType: string;
168
+ name: string;
169
+ type: string;
170
+ components?: undefined;
171
+ } | {
172
+ components: {
173
+ internalType: string;
174
+ name: string;
175
+ type: string;
176
+ }[];
177
+ internalType: string;
178
+ name: string;
179
+ type: string;
180
+ })[];
181
+ name: string;
182
+ outputs: {
183
+ internalType: string;
184
+ name: string;
185
+ type: string;
186
+ }[];
187
+ stateMutability: string;
188
+ type: string;
189
+ anonymous?: undefined;
190
+ } | {
191
+ inputs: {
192
+ internalType: string;
193
+ name: string;
194
+ type: string;
195
+ }[];
196
+ name: string;
197
+ outputs: {
198
+ components: ({
199
+ internalType: string;
200
+ name: string;
201
+ type: string;
202
+ components?: undefined;
203
+ } | {
204
+ components: {
205
+ internalType: string;
206
+ name: string;
207
+ type: string;
208
+ }[];
209
+ internalType: string;
210
+ name: string;
211
+ type: string;
212
+ })[];
213
+ internalType: string;
214
+ name: string;
215
+ type: string;
216
+ }[];
217
+ stateMutability: string;
218
+ type: string;
219
+ anonymous?: undefined;
220
+ } | {
221
+ inputs: {
222
+ internalType: string;
223
+ name: string;
224
+ type: string;
225
+ }[];
226
+ name: string;
227
+ outputs: ({
228
+ internalType: string;
229
+ name: string;
230
+ type: string;
231
+ components?: undefined;
232
+ } | {
233
+ components: {
234
+ internalType: string;
235
+ name: string;
236
+ type: string;
237
+ }[];
238
+ internalType: string;
239
+ name: string;
240
+ type: string;
241
+ })[];
242
+ stateMutability: string;
243
+ type: string;
244
+ anonymous?: undefined;
245
+ })[];
246
+ CommunityResolverABI: ({
247
+ inputs: {
248
+ internalType: string;
249
+ name: string;
250
+ type: string;
251
+ }[];
252
+ stateMutability: string;
253
+ type: string;
254
+ name?: undefined;
255
+ anonymous?: undefined;
256
+ outputs?: undefined;
257
+ } | {
258
+ inputs: any[];
259
+ name: string;
260
+ type: string;
261
+ stateMutability?: undefined;
262
+ anonymous?: undefined;
263
+ outputs?: undefined;
264
+ } | {
265
+ anonymous: boolean;
266
+ inputs: {
267
+ indexed: boolean;
268
+ internalType: string;
269
+ name: string;
270
+ type: string;
271
+ }[];
272
+ name: string;
273
+ type: string;
274
+ stateMutability?: undefined;
275
+ outputs?: undefined;
276
+ } | {
277
+ inputs: ({
278
+ components: {
279
+ internalType: string;
280
+ name: string;
281
+ type: string;
282
+ }[];
283
+ internalType: string;
284
+ name: string;
285
+ type: string;
286
+ } | {
287
+ internalType: string;
288
+ name: string;
289
+ type: string;
290
+ components?: undefined;
291
+ })[];
292
+ name: string;
293
+ outputs: {
294
+ internalType: string;
295
+ name: string;
296
+ type: string;
297
+ }[];
298
+ stateMutability: string;
299
+ type: string;
300
+ anonymous?: undefined;
301
+ } | {
302
+ stateMutability: string;
303
+ type: string;
304
+ inputs?: undefined;
305
+ name?: undefined;
306
+ anonymous?: undefined;
307
+ outputs?: undefined;
308
+ })[];
309
+ Donations: ({
310
+ inputs: {
311
+ internalType: string;
312
+ name: string;
313
+ type: string;
314
+ }[];
315
+ stateMutability: string;
316
+ type: string;
317
+ anonymous?: undefined;
318
+ name?: undefined;
319
+ outputs?: undefined;
320
+ } | {
321
+ anonymous: boolean;
322
+ inputs: {
323
+ indexed: boolean;
324
+ internalType: string;
325
+ name: string;
326
+ type: string;
327
+ }[];
328
+ name: string;
329
+ type: string;
330
+ stateMutability?: undefined;
331
+ outputs?: undefined;
332
+ } | {
333
+ inputs: ({
334
+ components: ({
335
+ internalType: string;
336
+ name: string;
337
+ type: string;
338
+ components?: undefined;
339
+ } | {
340
+ components: {
341
+ internalType: string;
342
+ name: string;
343
+ type: string;
344
+ }[];
345
+ internalType: string;
346
+ name: string;
347
+ type: string;
348
+ })[];
349
+ internalType: string;
350
+ name: string;
351
+ type: string;
352
+ } | {
353
+ internalType: string;
354
+ name: string;
355
+ type: string;
356
+ components?: undefined;
357
+ })[];
358
+ name: string;
359
+ outputs: {
360
+ internalType: string;
361
+ name: string;
362
+ type: string;
363
+ }[];
364
+ stateMutability: string;
365
+ type: string;
366
+ anonymous?: undefined;
367
+ })[];
368
+ EAS: {
369
+ address: string;
370
+ abi: ({
371
+ inputs: {
372
+ internalType: string;
373
+ name: string;
374
+ type: string;
375
+ }[];
376
+ stateMutability: string;
377
+ type: string;
378
+ name?: undefined;
379
+ anonymous?: undefined;
380
+ outputs?: undefined;
381
+ } | {
382
+ inputs: any[];
383
+ name: string;
384
+ type: string;
385
+ stateMutability?: undefined;
386
+ anonymous?: undefined;
387
+ outputs?: undefined;
388
+ } | {
389
+ anonymous: boolean;
390
+ inputs: {
391
+ indexed: boolean;
392
+ internalType: string;
393
+ name: string;
394
+ type: string;
395
+ }[];
396
+ name: string;
397
+ type: string;
398
+ stateMutability?: undefined;
399
+ outputs?: undefined;
400
+ } | {
401
+ inputs: {
402
+ components: ({
403
+ internalType: string;
404
+ name: string;
405
+ type: string;
406
+ components?: undefined;
407
+ } | {
408
+ components: {
409
+ internalType: string;
410
+ name: string;
411
+ type: string;
412
+ }[];
413
+ internalType: string;
414
+ name: string;
415
+ type: string;
416
+ })[];
417
+ internalType: string;
418
+ name: string;
419
+ type: string;
420
+ }[];
421
+ name: string;
422
+ outputs: {
423
+ internalType: string;
424
+ name: string;
425
+ type: string;
426
+ }[];
427
+ stateMutability: string;
428
+ type: string;
429
+ anonymous?: undefined;
430
+ } | {
431
+ inputs: {
432
+ internalType: string;
433
+ name: string;
434
+ type: string;
435
+ }[];
436
+ name: string;
437
+ outputs: {
438
+ components: {
439
+ internalType: string;
440
+ name: string;
441
+ type: string;
442
+ }[];
443
+ internalType: string;
444
+ name: string;
445
+ type: string;
446
+ }[];
447
+ stateMutability: string;
448
+ type: string;
449
+ anonymous?: undefined;
450
+ } | {
451
+ inputs: {
452
+ internalType: string;
453
+ name: string;
454
+ type: string;
455
+ }[];
456
+ name: string;
457
+ outputs: {
458
+ internalType: string;
459
+ name: string;
460
+ type: string;
461
+ }[];
462
+ stateMutability: string;
463
+ type: string;
464
+ anonymous?: undefined;
465
+ })[];
466
+ transactionHash: string;
467
+ receipt: {
468
+ to: any;
469
+ from: string;
470
+ contractAddress: string;
471
+ transactionIndex: number;
472
+ gasUsed: string;
473
+ logsBloom: string;
474
+ blockHash: string;
475
+ transactionHash: string;
476
+ logs: any[];
477
+ blockNumber: number;
478
+ cumulativeGasUsed: string;
479
+ status: number;
480
+ byzantium: boolean;
481
+ };
482
+ args: string[];
483
+ numDeployments: number;
484
+ solcInputHash: string;
485
+ metadata: string;
486
+ bytecode: string;
487
+ deployedBytecode: string;
488
+ devdoc: {
489
+ events: {
490
+ "Attested(address,address,bytes32,bytes32)": {
491
+ details: string;
492
+ params: {
493
+ attester: string;
494
+ recipient: string;
495
+ schema: string;
496
+ uid: string;
497
+ };
498
+ };
499
+ "Revoked(address,address,bytes32,bytes32)": {
500
+ details: string;
501
+ params: {
502
+ attester: string;
503
+ recipient: string;
504
+ schema: string;
505
+ uid: string;
506
+ };
507
+ };
508
+ "RevokedOffchain(address,bytes32,uint64)": {
509
+ details: string;
510
+ params: {
511
+ data: string;
512
+ revoker: string;
513
+ timestamp: string;
514
+ };
515
+ };
516
+ "Timestamped(bytes32,uint64)": {
517
+ details: string;
518
+ params: {
519
+ data: string;
520
+ timestamp: string;
521
+ };
522
+ };
523
+ };
524
+ kind: string;
525
+ methods: {
526
+ "attest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)))": {
527
+ details: string;
528
+ params: {
529
+ request: string;
530
+ };
531
+ returns: {
532
+ _0: string;
533
+ };
534
+ };
535
+ "attestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256),(uint8,bytes32,bytes32),address))": {
536
+ details: string;
537
+ params: {
538
+ delegatedRequest: string;
539
+ };
540
+ returns: {
541
+ _0: string;
542
+ };
543
+ };
544
+ constructor: {
545
+ details: string;
546
+ params: {
547
+ registry: string;
548
+ };
549
+ };
550
+ "getAttestation(bytes32)": {
551
+ details: string;
552
+ params: {
553
+ uid: string;
554
+ };
555
+ returns: {
556
+ _0: string;
557
+ };
558
+ };
559
+ "getDomainSeparator()": {
560
+ details: string;
561
+ };
562
+ "getNonce(address)": {
563
+ details: string;
564
+ params: {
565
+ account: string;
566
+ };
567
+ returns: {
568
+ _0: string;
569
+ };
570
+ };
571
+ "getRevokeOffchain(address,bytes32)": {
572
+ details: string;
573
+ params: {
574
+ data: string;
575
+ };
576
+ returns: {
577
+ _0: string;
578
+ };
579
+ };
580
+ "getSchemaRegistry()": {
581
+ details: string;
582
+ returns: {
583
+ _0: string;
584
+ };
585
+ };
586
+ "getTimestamp(bytes32)": {
587
+ details: string;
588
+ params: {
589
+ data: string;
590
+ };
591
+ returns: {
592
+ _0: string;
593
+ };
594
+ };
595
+ "isAttestationValid(bytes32)": {
596
+ details: string;
597
+ params: {
598
+ uid: string;
599
+ };
600
+ returns: {
601
+ _0: string;
602
+ };
603
+ };
604
+ "multiAttest((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[])[])": {
605
+ details: string;
606
+ params: {
607
+ multiRequests: string;
608
+ };
609
+ returns: {
610
+ _0: string;
611
+ };
612
+ };
613
+ "multiAttestByDelegation((bytes32,(address,uint64,bool,bytes32,bytes,uint256)[],(uint8,bytes32,bytes32)[],address)[])": {
614
+ details: string;
615
+ params: {
616
+ multiDelegatedRequests: string;
617
+ };
618
+ returns: {
619
+ _0: string;
620
+ };
621
+ };
622
+ "multiRevoke((bytes32,(bytes32,uint256)[])[])": {
623
+ details: string;
624
+ params: {
625
+ multiRequests: string;
626
+ };
627
+ };
628
+ "multiRevokeByDelegation((bytes32,(bytes32,uint256)[],(uint8,bytes32,bytes32)[],address)[])": {
629
+ details: string;
630
+ params: {
631
+ multiDelegatedRequests: string;
632
+ };
633
+ };
634
+ "multiRevokeOffchain(bytes32[])": {
635
+ details: string;
636
+ params: {
637
+ data: string;
638
+ };
639
+ returns: {
640
+ _0: string;
641
+ };
642
+ };
643
+ "multiTimestamp(bytes32[])": {
644
+ details: string;
645
+ params: {
646
+ data: string;
647
+ };
648
+ returns: {
649
+ _0: string;
650
+ };
651
+ };
652
+ "revoke((bytes32,(bytes32,uint256)))": {
653
+ details: string;
654
+ params: {
655
+ request: string;
656
+ };
657
+ };
658
+ "revokeByDelegation((bytes32,(bytes32,uint256),(uint8,bytes32,bytes32),address))": {
659
+ details: string;
660
+ params: {
661
+ delegatedRequest: string;
662
+ };
663
+ };
664
+ "revokeOffchain(bytes32)": {
665
+ details: string;
666
+ params: {
667
+ data: string;
668
+ };
669
+ returns: {
670
+ _0: string;
671
+ };
672
+ };
673
+ "timestamp(bytes32)": {
674
+ details: string;
675
+ params: {
676
+ data: string;
677
+ };
678
+ returns: {
679
+ _0: string;
680
+ };
681
+ };
682
+ };
683
+ title: string;
684
+ version: number;
685
+ };
686
+ userdoc: {
687
+ kind: string;
688
+ methods: {
689
+ "getAttestTypeHash()": {
690
+ notice: string;
691
+ };
692
+ "getRevokeTypeHash()": {
693
+ notice: string;
694
+ };
695
+ };
696
+ version: number;
697
+ };
698
+ storageLayout: {
699
+ storage: {
700
+ astId: number;
701
+ contract: string;
702
+ label: string;
703
+ offset: number;
704
+ slot: string;
705
+ type: string;
706
+ }[];
707
+ types: {
708
+ t_address: {
709
+ encoding: string;
710
+ label: string;
711
+ numberOfBytes: string;
712
+ };
713
+ t_bool: {
714
+ encoding: string;
715
+ label: string;
716
+ numberOfBytes: string;
717
+ };
718
+ t_bytes32: {
719
+ encoding: string;
720
+ label: string;
721
+ numberOfBytes: string;
722
+ };
723
+ t_bytes_storage: {
724
+ encoding: string;
725
+ label: string;
726
+ numberOfBytes: string;
727
+ };
728
+ "t_mapping(t_address,t_mapping(t_bytes32,t_uint64))": {
729
+ encoding: string;
730
+ key: string;
731
+ label: string;
732
+ numberOfBytes: string;
733
+ value: string;
734
+ };
735
+ "t_mapping(t_address,t_uint256)": {
736
+ encoding: string;
737
+ key: string;
738
+ label: string;
739
+ numberOfBytes: string;
740
+ value: string;
741
+ };
742
+ "t_mapping(t_bytes32,t_struct(Attestation)5497_storage)": {
743
+ encoding: string;
744
+ key: string;
745
+ label: string;
746
+ numberOfBytes: string;
747
+ value: string;
748
+ };
749
+ "t_mapping(t_bytes32,t_uint64)": {
750
+ encoding: string;
751
+ key: string;
752
+ label: string;
753
+ numberOfBytes: string;
754
+ value: string;
755
+ };
756
+ "t_struct(Attestation)5497_storage": {
757
+ encoding: string;
758
+ label: string;
759
+ members: {
760
+ astId: number;
761
+ contract: string;
762
+ label: string;
763
+ offset: number;
764
+ slot: string;
765
+ type: string;
766
+ }[];
767
+ numberOfBytes: string;
768
+ };
769
+ t_uint256: {
770
+ encoding: string;
771
+ label: string;
772
+ numberOfBytes: string;
773
+ };
774
+ t_uint64: {
775
+ encoding: string;
776
+ label: string;
777
+ numberOfBytes: string;
778
+ };
779
+ };
780
+ };
781
+ };
782
+ MultiAttester: ({
783
+ inputs: any[];
784
+ stateMutability: string;
785
+ type: string;
786
+ anonymous?: undefined;
787
+ name?: undefined;
788
+ outputs?: undefined;
789
+ } | {
790
+ anonymous: boolean;
791
+ inputs: {
792
+ indexed: boolean;
793
+ internalType: string;
794
+ name: string;
795
+ type: string;
796
+ }[];
797
+ name: string;
798
+ type: string;
799
+ stateMutability?: undefined;
800
+ outputs?: undefined;
801
+ } | {
802
+ inputs: ({
803
+ components: ({
804
+ internalType: string;
805
+ name: string;
806
+ type: string;
807
+ components?: undefined;
808
+ } | {
809
+ components: {
810
+ internalType: string;
811
+ name: string;
812
+ type: string;
813
+ }[];
814
+ internalType: string;
815
+ name: string;
816
+ type: string;
817
+ })[];
818
+ internalType: string;
819
+ name: string;
820
+ type: string;
821
+ } | {
822
+ internalType: string;
823
+ name: string;
824
+ type: string;
825
+ components?: undefined;
826
+ })[];
827
+ name: string;
828
+ outputs: {
829
+ internalType: string;
830
+ name: string;
831
+ type: string;
832
+ }[];
833
+ stateMutability: string;
834
+ type: string;
835
+ anonymous?: undefined;
836
+ } | {
837
+ inputs: ({
838
+ components: ({
839
+ internalType: string;
840
+ name: string;
841
+ type: string;
842
+ components?: undefined;
843
+ } | {
844
+ components: ({
845
+ internalType: string;
846
+ name: string;
847
+ type: string;
848
+ components?: undefined;
849
+ } | {
850
+ components: {
851
+ internalType: string;
852
+ name: string;
853
+ type: string;
854
+ }[];
855
+ internalType: string;
856
+ name: string;
857
+ type: string;
858
+ })[];
859
+ internalType: string;
860
+ name: string;
861
+ type: string;
862
+ })[];
863
+ internalType: string;
864
+ name: string;
865
+ type: string;
866
+ } | {
867
+ internalType: string;
868
+ name: string;
869
+ type: string;
870
+ components?: undefined;
871
+ })[];
872
+ name: string;
873
+ outputs: any[];
874
+ stateMutability: string;
875
+ type: string;
876
+ anonymous?: undefined;
877
+ })[];
878
+ ProjectResolver: ({
879
+ inputs: {
880
+ internalType: string;
881
+ name: string;
882
+ type: string;
883
+ }[];
884
+ stateMutability: string;
885
+ type: string;
886
+ name?: undefined;
887
+ anonymous?: undefined;
888
+ outputs?: undefined;
889
+ } | {
890
+ inputs: any[];
891
+ name: string;
892
+ type: string;
893
+ stateMutability?: undefined;
894
+ anonymous?: undefined;
895
+ outputs?: undefined;
896
+ } | {
897
+ anonymous: boolean;
898
+ inputs: {
899
+ indexed: boolean;
900
+ internalType: string;
901
+ name: string;
902
+ type: string;
903
+ }[];
904
+ name: string;
905
+ type: string;
906
+ stateMutability?: undefined;
907
+ outputs?: undefined;
908
+ } | {
909
+ inputs: ({
910
+ components: {
911
+ internalType: string;
912
+ name: string;
913
+ type: string;
914
+ }[];
915
+ internalType: string;
916
+ name: string;
917
+ type: string;
918
+ } | {
919
+ internalType: string;
920
+ name: string;
921
+ type: string;
922
+ components?: undefined;
923
+ })[];
924
+ name: string;
925
+ outputs: {
926
+ internalType: string;
927
+ name: string;
928
+ type: string;
929
+ }[];
930
+ stateMutability: string;
931
+ type: string;
932
+ anonymous?: undefined;
933
+ } | {
934
+ stateMutability: string;
935
+ type: string;
936
+ inputs?: undefined;
937
+ name?: undefined;
938
+ anonymous?: undefined;
939
+ outputs?: undefined;
940
+ })[];
941
+ SchemaRegistry: {
942
+ address: string;
943
+ abi: ({
944
+ inputs: any[];
945
+ name: string;
946
+ type: string;
947
+ anonymous?: undefined;
948
+ outputs?: undefined;
949
+ stateMutability?: undefined;
950
+ } | {
951
+ anonymous: boolean;
952
+ inputs: {
953
+ indexed: boolean;
954
+ internalType: string;
955
+ name: string;
956
+ type: string;
957
+ }[];
958
+ name: string;
959
+ type: string;
960
+ outputs?: undefined;
961
+ stateMutability?: undefined;
962
+ } | {
963
+ inputs: {
964
+ internalType: string;
965
+ name: string;
966
+ type: string;
967
+ }[];
968
+ name: string;
969
+ outputs: {
970
+ components: {
971
+ internalType: string;
972
+ name: string;
973
+ type: string;
974
+ }[];
975
+ internalType: string;
976
+ name: string;
977
+ type: string;
978
+ }[];
979
+ stateMutability: string;
980
+ type: string;
981
+ anonymous?: undefined;
982
+ } | {
983
+ inputs: {
984
+ internalType: string;
985
+ name: string;
986
+ type: string;
987
+ }[];
988
+ name: string;
989
+ outputs: {
990
+ internalType: string;
991
+ name: string;
992
+ type: string;
993
+ }[];
994
+ stateMutability: string;
995
+ type: string;
996
+ anonymous?: undefined;
997
+ })[];
998
+ transactionHash: string;
999
+ receipt: {
1000
+ to: any;
1001
+ from: string;
1002
+ contractAddress: string;
1003
+ transactionIndex: number;
1004
+ gasUsed: string;
1005
+ logsBloom: string;
1006
+ blockHash: string;
1007
+ transactionHash: string;
1008
+ logs: any[];
1009
+ blockNumber: number;
1010
+ cumulativeGasUsed: string;
1011
+ status: number;
1012
+ byzantium: boolean;
1013
+ };
1014
+ args: any[];
1015
+ numDeployments: number;
1016
+ solcInputHash: string;
1017
+ metadata: string;
1018
+ bytecode: string;
1019
+ deployedBytecode: string;
1020
+ devdoc: {
1021
+ events: {
1022
+ "Registered(bytes32,address)": {
1023
+ details: string;
1024
+ params: {
1025
+ registerer: string;
1026
+ uid: string;
1027
+ };
1028
+ };
1029
+ };
1030
+ kind: string;
1031
+ methods: {
1032
+ "getSchema(bytes32)": {
1033
+ details: string;
1034
+ params: {
1035
+ uid: string;
1036
+ };
1037
+ returns: {
1038
+ _0: string;
1039
+ };
1040
+ };
1041
+ "register(string,address,bool)": {
1042
+ details: string;
1043
+ params: {
1044
+ resolver: string;
1045
+ revocable: string;
1046
+ schema: string;
1047
+ };
1048
+ returns: {
1049
+ _0: string;
1050
+ };
1051
+ };
1052
+ };
1053
+ title: string;
1054
+ version: number;
1055
+ };
1056
+ userdoc: {
1057
+ kind: string;
1058
+ methods: {};
1059
+ version: number;
1060
+ };
1061
+ storageLayout: {
1062
+ storage: {
1063
+ astId: number;
1064
+ contract: string;
1065
+ label: string;
1066
+ offset: number;
1067
+ slot: string;
1068
+ type: string;
1069
+ }[];
1070
+ types: {
1071
+ t_bool: {
1072
+ encoding: string;
1073
+ label: string;
1074
+ numberOfBytes: string;
1075
+ };
1076
+ t_bytes32: {
1077
+ encoding: string;
1078
+ label: string;
1079
+ numberOfBytes: string;
1080
+ };
1081
+ "t_contract(ISchemaResolver)5553": {
1082
+ encoding: string;
1083
+ label: string;
1084
+ numberOfBytes: string;
1085
+ };
1086
+ "t_mapping(t_bytes32,t_struct(SchemaRecord)5313_storage)": {
1087
+ encoding: string;
1088
+ key: string;
1089
+ label: string;
1090
+ numberOfBytes: string;
1091
+ value: string;
1092
+ };
1093
+ t_string_storage: {
1094
+ encoding: string;
1095
+ label: string;
1096
+ numberOfBytes: string;
1097
+ };
1098
+ "t_struct(SchemaRecord)5313_storage": {
1099
+ encoding: string;
1100
+ label: string;
1101
+ members: {
1102
+ astId: number;
1103
+ contract: string;
1104
+ label: string;
1105
+ offset: number;
1106
+ slot: string;
1107
+ type: string;
1108
+ }[];
1109
+ numberOfBytes: string;
1110
+ };
1111
+ };
1112
+ };
1113
+ };
1114
+ };