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

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/.cursorrules +43 -0
  2. package/core/abi/AirdropNFT.json +1 -1
  3. package/core/abi/Allo.json +860 -860
  4. package/core/abi/AlloRegistry.json +578 -578
  5. package/core/abi/CommunityResolverABI.json +506 -506
  6. package/core/abi/Donations.json +251 -251
  7. package/core/abi/EAS.json +1 -1
  8. package/core/abi/MultiAttester.json +746 -746
  9. package/core/abi/ProjectResolver.json +574 -574
  10. package/core/abi/SchemaRegistry.json +1 -1
  11. package/core/abi/index.ts +21 -0
  12. package/core/class/AllGapSchemas.ts +21 -0
  13. package/core/class/Attestation.ts +429 -0
  14. package/core/class/Fetcher.ts +224 -0
  15. package/core/class/GAP.ts +481 -0
  16. package/core/class/GapSchema.ts +93 -0
  17. package/core/class/Gelato/{Gelato.js → Gelato.ts} +23 -0
  18. package/core/class/GrantProgramRegistry/Allo.ts +188 -0
  19. package/core/class/GrantProgramRegistry/AlloRegistry.ts +101 -0
  20. package/core/class/GraphQL/AxiosGQL.ts +29 -0
  21. package/core/class/GraphQL/EASClient.ts +34 -0
  22. package/core/class/GraphQL/GapEasClient.ts +869 -0
  23. package/core/class/Schema.ts +659 -0
  24. package/core/class/SchemaError.ts +42 -0
  25. package/core/class/contract/GapContract.ts +457 -0
  26. package/core/class/entities/Community.ts +148 -0
  27. package/core/class/entities/ContributorProfile.ts +108 -0
  28. package/core/class/entities/Grant.ts +321 -0
  29. package/core/class/entities/GrantUpdate.ts +187 -0
  30. package/core/class/entities/MemberOf.ts +52 -0
  31. package/core/class/entities/Milestone.ts +898 -0
  32. package/core/class/entities/Project.ts +672 -0
  33. package/core/class/entities/ProjectImpact.ts +170 -0
  34. package/core/class/entities/ProjectMilestone.ts +254 -0
  35. package/core/class/entities/ProjectPointer.ts +39 -0
  36. package/core/class/entities/ProjectUpdate.ts +176 -0
  37. package/core/class/entities/Track.ts +32 -0
  38. package/core/class/karma-indexer/GapIndexerClient.ts +383 -0
  39. package/core/class/karma-indexer/api/GapIndexerApi.ts +446 -0
  40. package/core/class/karma-indexer/api/types.ts +313 -0
  41. package/core/class/remote-storage/IpfsStorage.ts +76 -0
  42. package/core/class/remote-storage/RemoteStorage.ts +65 -0
  43. package/core/class/types/allo.ts +93 -0
  44. package/core/class/types/attestations.ts +223 -0
  45. package/core/consts.ts +775 -0
  46. package/core/scripts/create-grant.ts +102 -0
  47. package/core/scripts/create-program.ts +43 -0
  48. package/core/scripts/create-schemas.ts +65 -0
  49. package/core/scripts/deploy.ts +65 -0
  50. package/core/scripts/index.ts +1 -0
  51. package/core/scripts/milestone-multi-grants.ts +125 -0
  52. package/core/shared/types.ts +13 -0
  53. package/core/types.ts +224 -0
  54. package/core/utils/gelato/send-gelato-txn.ts +114 -0
  55. package/core/utils/gelato/sponsor-handler.ts +77 -0
  56. package/core/utils/gelato/watch-gelato-txn.ts +67 -0
  57. package/core/utils/get-date.ts +3 -0
  58. package/core/utils/get-ipfs-data.ts +13 -0
  59. package/core/utils/get-web3-provider.ts +18 -0
  60. package/core/utils/gql-queries.ts +133 -0
  61. package/core/utils/map-filter.ts +21 -0
  62. package/core/utils/serialize-bigint.ts +7 -0
  63. package/core/utils/to-unix.ts +18 -0
  64. package/create-community-example.ts +119 -0
  65. package/csv-upload/README.md +74 -0
  66. package/csv-upload/config.ts +41 -0
  67. package/csv-upload/example.csv +2 -0
  68. package/csv-upload/keys.example.json +8 -0
  69. package/csv-upload/scripts/run.ts +417 -0
  70. package/csv-upload/types.ts +39 -0
  71. package/docs/.gitkeep +0 -0
  72. package/docs/images/attestation-architecture.png +0 -0
  73. package/docs/images/dfd-get-projects.png +0 -0
  74. package/gap-schema.yaml +155 -0
  75. package/milestone-workflow-example.ts +353 -0
  76. package/package.json +45 -39
  77. package/readme.md +872 -0
  78. package/schemas/.gitkeep +0 -0
  79. package/schemas/GAP-schemas-1692135812877.json +33 -0
  80. package/test-file-indexer-api.ts +25 -0
  81. package/tsconfig.json +26 -0
  82. package/core/abi/index.d.ts +0 -1114
  83. package/core/abi/index.js +0 -26
  84. package/core/class/AllGapSchemas.d.ts +0 -9
  85. package/core/class/AllGapSchemas.js +0 -19
  86. package/core/class/Attestation.d.ts +0 -173
  87. package/core/class/Attestation.js +0 -333
  88. package/core/class/Fetcher.d.ts +0 -175
  89. package/core/class/Fetcher.js +0 -13
  90. package/core/class/GAP.d.ts +0 -254
  91. package/core/class/GAP.js +0 -289
  92. package/core/class/GapSchema.d.ts +0 -34
  93. package/core/class/GapSchema.js +0 -62
  94. package/core/class/GrantProgramRegistry/Allo.d.ts +0 -17
  95. package/core/class/GrantProgramRegistry/Allo.js +0 -137
  96. package/core/class/GrantProgramRegistry/AlloRegistry.d.ts +0 -15
  97. package/core/class/GrantProgramRegistry/AlloRegistry.js +0 -70
  98. package/core/class/GraphQL/AxiosGQL.d.ts +0 -6
  99. package/core/class/GraphQL/AxiosGQL.js +0 -25
  100. package/core/class/GraphQL/EASClient.d.ts +0 -16
  101. package/core/class/GraphQL/EASClient.js +0 -26
  102. package/core/class/GraphQL/GapEasClient.d.ts +0 -71
  103. package/core/class/GraphQL/GapEasClient.js +0 -451
  104. package/core/class/GraphQL/index.js +0 -19
  105. package/core/class/Schema.d.ts +0 -233
  106. package/core/class/Schema.js +0 -488
  107. package/core/class/SchemaError.d.ts +0 -30
  108. package/core/class/SchemaError.js +0 -39
  109. package/core/class/contract/GapContract.d.ts +0 -102
  110. package/core/class/contract/GapContract.js +0 -285
  111. package/core/class/entities/Community.d.ts +0 -34
  112. package/core/class/entities/Community.js +0 -109
  113. package/core/class/entities/ContributorProfile.d.ts +0 -41
  114. package/core/class/entities/ContributorProfile.js +0 -69
  115. package/core/class/entities/Grant.d.ts +0 -54
  116. package/core/class/entities/Grant.js +0 -223
  117. package/core/class/entities/GrantUpdate.d.ts +0 -40
  118. package/core/class/entities/GrantUpdate.js +0 -114
  119. package/core/class/entities/MemberOf.d.ts +0 -11
  120. package/core/class/entities/MemberOf.js +0 -33
  121. package/core/class/entities/Milestone.d.ts +0 -168
  122. package/core/class/entities/Milestone.js +0 -657
  123. package/core/class/entities/Project.d.ts +0 -92
  124. package/core/class/entities/Project.js +0 -418
  125. package/core/class/entities/ProjectImpact.d.ts +0 -50
  126. package/core/class/entities/ProjectImpact.js +0 -112
  127. package/core/class/entities/ProjectMilestone.d.ts +0 -60
  128. package/core/class/entities/ProjectMilestone.js +0 -174
  129. package/core/class/entities/ProjectPointer.d.ts +0 -12
  130. package/core/class/entities/ProjectPointer.js +0 -22
  131. package/core/class/entities/ProjectUpdate.d.ts +0 -50
  132. package/core/class/entities/ProjectUpdate.js +0 -110
  133. package/core/class/entities/Track.d.ts +0 -16
  134. package/core/class/entities/Track.js +0 -21
  135. package/core/class/entities/index.js +0 -26
  136. package/core/class/index.js +0 -26
  137. package/core/class/karma-indexer/GapIndexerClient.d.ts +0 -66
  138. package/core/class/karma-indexer/GapIndexerClient.js +0 -207
  139. package/core/class/karma-indexer/api/GapIndexerApi.d.ts +0 -73
  140. package/core/class/karma-indexer/api/GapIndexerApi.js +0 -256
  141. package/core/class/karma-indexer/api/types.d.ts +0 -295
  142. package/core/class/karma-indexer/api/types.js +0 -2
  143. package/core/class/remote-storage/IpfsStorage.d.ts +0 -23
  144. package/core/class/remote-storage/IpfsStorage.js +0 -56
  145. package/core/class/remote-storage/RemoteStorage.d.ts +0 -41
  146. package/core/class/remote-storage/RemoteStorage.js +0 -38
  147. package/core/class/types/allo.d.ts +0 -78
  148. package/core/class/types/allo.js +0 -2
  149. package/core/class/types/attestations.d.ts +0 -168
  150. package/core/class/types/attestations.js +0 -66
  151. package/core/consts.d.ts +0 -48
  152. package/core/consts.js +0 -641
  153. package/core/index.js +0 -24
  154. package/core/shared/types.d.ts +0 -6
  155. package/core/shared/types.js +0 -2
  156. package/core/types.d.ts +0 -131
  157. package/core/types.js +0 -13
  158. package/core/utils/gelato/index.js +0 -19
  159. package/core/utils/gelato/send-gelato-txn.d.ts +0 -55
  160. package/core/utils/gelato/send-gelato-txn.js +0 -100
  161. package/core/utils/gelato/sponsor-handler.d.ts +0 -9
  162. package/core/utils/gelato/sponsor-handler.js +0 -60
  163. package/core/utils/gelato/watch-gelato-txn.d.ts +0 -7
  164. package/core/utils/gelato/watch-gelato-txn.js +0 -63
  165. package/core/utils/get-date.d.ts +0 -1
  166. package/core/utils/get-date.js +0 -7
  167. package/core/utils/get-ipfs-data.d.ts +0 -1
  168. package/core/utils/get-ipfs-data.js +0 -20
  169. package/core/utils/get-web3-provider.d.ts +0 -2
  170. package/core/utils/get-web3-provider.js +0 -18
  171. package/core/utils/gql-queries.d.ts +0 -12
  172. package/core/utils/gql-queries.js +0 -90
  173. package/core/utils/index.js +0 -23
  174. package/core/utils/map-filter.d.ts +0 -8
  175. package/core/utils/map-filter.js +0 -20
  176. package/core/utils/serialize-bigint.d.ts +0 -1
  177. package/core/utils/serialize-bigint.js +0 -8
  178. package/core/utils/to-unix.d.ts +0 -1
  179. package/core/utils/to-unix.js +0 -25
  180. package/index.js +0 -17
  181. /package/core/class/GraphQL/{index.d.ts → index.ts} +0 -0
  182. /package/core/class/entities/{index.d.ts → index.ts} +0 -0
  183. /package/core/class/{index.d.ts → index.ts} +0 -0
  184. /package/core/{index.d.ts → index.ts} +0 -0
  185. /package/core/utils/gelato/{index.d.ts → index.ts} +0 -0
  186. /package/core/utils/{index.d.ts → index.ts} +0 -0
  187. /package/{core/class/Gelato/Gelato.d.ts → csv-upload/.gitkeep} +0 -0
  188. /package/{index.d.ts → index.ts} +0 -0
@@ -1,1114 +0,0 @@
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
- };