@libid/contracts 0.6.0 → 0.7.0

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 (170) hide show
  1. package/README.md +65 -26
  2. package/dist/abis/{googleIdentityVerifier.d.ts → ceremonyProofVerifier.d.ts} +146 -128
  3. package/dist/abis/{googleIdentityVerifier.d.ts.map → ceremonyProofVerifier.d.ts.map} +1 -1
  4. package/dist/abis/{googleIdentityVerifier.js → ceremonyProofVerifier.js} +182 -156
  5. package/dist/abis/ceremonyProofVerifier.js.map +1 -0
  6. package/dist/abis/{identityJwksRoots.d.ts → googleJwtRoots.d.ts} +273 -211
  7. package/dist/abis/{xZkVerifier.d.ts.map → googleJwtRoots.d.ts.map} +1 -1
  8. package/dist/abis/{identityJwksRoots.js → googleJwtRoots.js} +345 -253
  9. package/dist/abis/googleJwtRoots.js.map +1 -0
  10. package/dist/abis/{walletFactory.d.ts → handleResolver.d.ts} +185 -151
  11. package/dist/abis/handleResolver.d.ts.map +1 -0
  12. package/dist/abis/{walletFactory.js → handleResolver.js} +219 -170
  13. package/dist/abis/handleResolver.js.map +1 -0
  14. package/dist/abis/identityNames.d.ts +173 -219
  15. package/dist/abis/identityNames.d.ts.map +1 -1
  16. package/dist/abis/identityNames.js +210 -266
  17. package/dist/abis/identityNames.js.map +1 -1
  18. package/dist/abis/index.d.ts +4 -16
  19. package/dist/abis/index.d.ts.map +1 -1
  20. package/dist/abis/index.js +4 -16
  21. package/dist/abis/index.js.map +1 -1
  22. package/dist/abis/{xZkVerifier.d.ts → notaryService.d.ts} +237 -273
  23. package/dist/abis/{webWallet.d.ts.map → notaryService.d.ts.map} +1 -1
  24. package/dist/abis/{xZkVerifier.js → notaryService.js} +297 -337
  25. package/dist/abis/notaryService.js.map +1 -0
  26. package/dist/call.d.ts +7 -0
  27. package/dist/call.d.ts.map +1 -0
  28. package/dist/call.js +2 -0
  29. package/dist/call.js.map +1 -0
  30. package/dist/calls/ceremonyProofVerifier.d.ts +14 -0
  31. package/dist/calls/ceremonyProofVerifier.d.ts.map +1 -0
  32. package/dist/calls/ceremonyProofVerifier.js +55 -0
  33. package/dist/calls/ceremonyProofVerifier.js.map +1 -0
  34. package/dist/calls/googleJwtRoots.d.ts +14 -0
  35. package/dist/calls/googleJwtRoots.d.ts.map +1 -0
  36. package/dist/calls/googleJwtRoots.js +43 -0
  37. package/dist/calls/googleJwtRoots.js.map +1 -0
  38. package/dist/calls/handleResolver.d.ts +12 -0
  39. package/dist/calls/handleResolver.d.ts.map +1 -0
  40. package/dist/calls/handleResolver.js +29 -0
  41. package/dist/calls/handleResolver.js.map +1 -0
  42. package/dist/calls/identityNames.d.ts +16 -0
  43. package/dist/calls/identityNames.d.ts.map +1 -0
  44. package/dist/calls/identityNames.js +55 -0
  45. package/dist/calls/identityNames.js.map +1 -0
  46. package/dist/calls/index.d.ts +8 -0
  47. package/dist/calls/index.d.ts.map +1 -0
  48. package/dist/calls/index.js +10 -0
  49. package/dist/calls/index.js.map +1 -0
  50. package/dist/calls/libidFactory.d.ts +13 -0
  51. package/dist/calls/libidFactory.d.ts.map +1 -0
  52. package/dist/calls/libidFactory.js +36 -0
  53. package/dist/calls/libidFactory.js.map +1 -0
  54. package/dist/calls/notaryService.d.ts +16 -0
  55. package/dist/calls/notaryService.d.ts.map +1 -0
  56. package/dist/calls/notaryService.js +55 -0
  57. package/dist/calls/notaryService.js.map +1 -0
  58. package/dist/calls/wtia9.d.ts +13 -0
  59. package/dist/calls/wtia9.d.ts.map +1 -0
  60. package/dist/calls/wtia9.js +36 -0
  61. package/dist/calls/wtia9.js.map +1 -0
  62. package/dist/identity/handleVectors.d.ts +3 -3
  63. package/dist/identity/handleVectors.d.ts.map +1 -1
  64. package/dist/identity/handleVectors.js +3 -3
  65. package/dist/identity/handleVectors.js.map +1 -1
  66. package/dist/identity/index.d.ts +0 -1
  67. package/dist/identity/index.d.ts.map +1 -1
  68. package/dist/identity/index.js +7 -6
  69. package/dist/identity/index.js.map +1 -1
  70. package/dist/identity/resolve.js +4 -4
  71. package/dist/identity/resolve.js.map +1 -1
  72. package/dist/index.d.ts +2 -0
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +5 -3
  75. package/dist/index.js.map +1 -1
  76. package/package.json +8 -7
  77. package/src/abis/{googleIdentityVerifier.ts → ceremonyProofVerifier.ts} +181 -155
  78. package/src/abis/{identityJwksRoots.ts → googleJwtRoots.ts} +344 -252
  79. package/src/abis/{walletFactory.ts → handleResolver.ts} +218 -169
  80. package/src/abis/identityNames.ts +210 -266
  81. package/src/abis/index.ts +4 -16
  82. package/src/abis/{xZkVerifier.ts → notaryService.ts} +296 -336
  83. package/src/call.ts +15 -0
  84. package/src/calls/ceremonyProofVerifier.ts +90 -0
  85. package/src/calls/googleJwtRoots.ts +74 -0
  86. package/src/calls/handleResolver.ts +51 -0
  87. package/src/calls/identityNames.ts +88 -0
  88. package/src/calls/index.ts +9 -0
  89. package/src/calls/libidFactory.ts +63 -0
  90. package/src/calls/notaryService.ts +85 -0
  91. package/src/calls/wtia9.ts +52 -0
  92. package/src/identity/handleVectors.ts +3 -3
  93. package/src/identity/index.ts +7 -6
  94. package/src/identity/resolve.ts +4 -4
  95. package/src/index.ts +6 -3
  96. package/dist/abis/adminFacet.d.ts +0 -339
  97. package/dist/abis/adminFacet.d.ts.map +0 -1
  98. package/dist/abis/adminFacet.js +0 -442
  99. package/dist/abis/adminFacet.js.map +0 -1
  100. package/dist/abis/bank.d.ts +0 -916
  101. package/dist/abis/bank.d.ts.map +0 -1
  102. package/dist/abis/bank.js +0 -1184
  103. package/dist/abis/bank.js.map +0 -1
  104. package/dist/abis/diamondLoupeFacet.d.ts +0 -73
  105. package/dist/abis/diamondLoupeFacet.d.ts.map +0 -1
  106. package/dist/abis/diamondLoupeFacet.js +0 -100
  107. package/dist/abis/diamondLoupeFacet.js.map +0 -1
  108. package/dist/abis/gitHubIdentityVerifier.d.ts +0 -409
  109. package/dist/abis/gitHubIdentityVerifier.d.ts.map +0 -1
  110. package/dist/abis/gitHubIdentityVerifier.js +0 -531
  111. package/dist/abis/gitHubIdentityVerifier.js.map +0 -1
  112. package/dist/abis/googleIdentityVerifier.js.map +0 -1
  113. package/dist/abis/googleOidcVerifier.d.ts +0 -838
  114. package/dist/abis/googleOidcVerifier.d.ts.map +0 -1
  115. package/dist/abis/googleOidcVerifier.js +0 -1082
  116. package/dist/abis/googleOidcVerifier.js.map +0 -1
  117. package/dist/abis/identityJwksRoots.d.ts.map +0 -1
  118. package/dist/abis/identityJwksRoots.js.map +0 -1
  119. package/dist/abis/mockErc20.d.ts +0 -262
  120. package/dist/abis/mockErc20.d.ts.map +0 -1
  121. package/dist/abis/mockErc20.js +0 -347
  122. package/dist/abis/mockErc20.js.map +0 -1
  123. package/dist/abis/notary.d.ts +0 -263
  124. package/dist/abis/notary.d.ts.map +0 -1
  125. package/dist/abis/notary.js +0 -343
  126. package/dist/abis/notary.js.map +0 -1
  127. package/dist/abis/registry.d.ts +0 -1170
  128. package/dist/abis/registry.d.ts.map +0 -1
  129. package/dist/abis/registry.js +0 -1511
  130. package/dist/abis/registry.js.map +0 -1
  131. package/dist/abis/transferFacet.d.ts +0 -814
  132. package/dist/abis/transferFacet.d.ts.map +0 -1
  133. package/dist/abis/transferFacet.js +0 -1035
  134. package/dist/abis/transferFacet.js.map +0 -1
  135. package/dist/abis/vaultFacet.d.ts +0 -306
  136. package/dist/abis/vaultFacet.d.ts.map +0 -1
  137. package/dist/abis/vaultFacet.js +0 -398
  138. package/dist/abis/vaultFacet.js.map +0 -1
  139. package/dist/abis/walletFactory.d.ts.map +0 -1
  140. package/dist/abis/walletFactory.js.map +0 -1
  141. package/dist/abis/webWallet.d.ts +0 -523
  142. package/dist/abis/webWallet.js +0 -680
  143. package/dist/abis/webWallet.js.map +0 -1
  144. package/dist/abis/xIdentityVerifier.d.ts +0 -473
  145. package/dist/abis/xIdentityVerifier.d.ts.map +0 -1
  146. package/dist/abis/xIdentityVerifier.js +0 -612
  147. package/dist/abis/xIdentityVerifier.js.map +0 -1
  148. package/dist/abis/xZkVerifier.js.map +0 -1
  149. package/dist/identity/bind.d.ts +0 -59
  150. package/dist/identity/bind.d.ts.map +0 -1
  151. package/dist/identity/bind.fixtures.d.ts +0 -8
  152. package/dist/identity/bind.fixtures.d.ts.map +0 -1
  153. package/dist/identity/bind.fixtures.js +0 -55
  154. package/dist/identity/bind.fixtures.js.map +0 -1
  155. package/dist/identity/bind.js +0 -148
  156. package/dist/identity/bind.js.map +0 -1
  157. package/src/abis/adminFacet.ts +0 -444
  158. package/src/abis/bank.ts +0 -1186
  159. package/src/abis/diamondLoupeFacet.ts +0 -102
  160. package/src/abis/gitHubIdentityVerifier.ts +0 -533
  161. package/src/abis/googleOidcVerifier.ts +0 -1084
  162. package/src/abis/mockErc20.ts +0 -349
  163. package/src/abis/notary.ts +0 -345
  164. package/src/abis/registry.ts +0 -1513
  165. package/src/abis/transferFacet.ts +0 -1037
  166. package/src/abis/vaultFacet.ts +0 -400
  167. package/src/abis/webWallet.ts +0 -682
  168. package/src/abis/xIdentityVerifier.ts +0 -614
  169. package/src/identity/bind.fixtures.ts +0 -63
  170. package/src/identity/bind.ts +0 -243
@@ -1,916 +0,0 @@
1
- export declare const bankAbi: readonly [{
2
- readonly type: "function";
3
- readonly name: "balanceOf";
4
- readonly inputs: readonly [{
5
- readonly name: "platform";
6
- readonly type: "string";
7
- readonly internalType: "string";
8
- }, {
9
- readonly name: "handle";
10
- readonly type: "string";
11
- readonly internalType: "string";
12
- }, {
13
- readonly name: "userId";
14
- readonly type: "string";
15
- readonly internalType: "string";
16
- }, {
17
- readonly name: "token";
18
- readonly type: "address";
19
- readonly internalType: "address";
20
- }];
21
- readonly outputs: readonly [{
22
- readonly name: "";
23
- readonly type: "uint256";
24
- readonly internalType: "uint256";
25
- }];
26
- readonly stateMutability: "view";
27
- }, {
28
- readonly type: "function";
29
- readonly name: "balanceOf";
30
- readonly inputs: readonly [{
31
- readonly name: "wallet";
32
- readonly type: "address";
33
- readonly internalType: "address";
34
- }, {
35
- readonly name: "token";
36
- readonly type: "address";
37
- readonly internalType: "address";
38
- }];
39
- readonly outputs: readonly [{
40
- readonly name: "";
41
- readonly type: "uint256";
42
- readonly internalType: "uint256";
43
- }];
44
- readonly stateMutability: "view";
45
- }, {
46
- readonly type: "function";
47
- readonly name: "balanceOfTotal";
48
- readonly inputs: readonly [{
49
- readonly name: "wallet";
50
- readonly type: "address";
51
- readonly internalType: "address";
52
- }, {
53
- readonly name: "token";
54
- readonly type: "address";
55
- readonly internalType: "address";
56
- }];
57
- readonly outputs: readonly [{
58
- readonly name: "";
59
- readonly type: "uint256";
60
- readonly internalType: "uint256";
61
- }];
62
- readonly stateMutability: "view";
63
- }, {
64
- readonly type: "function";
65
- readonly name: "balanceOfTotal";
66
- readonly inputs: readonly [{
67
- readonly name: "platform";
68
- readonly type: "string";
69
- readonly internalType: "string";
70
- }, {
71
- readonly name: "handle";
72
- readonly type: "string";
73
- readonly internalType: "string";
74
- }, {
75
- readonly name: "userId";
76
- readonly type: "string";
77
- readonly internalType: "string";
78
- }, {
79
- readonly name: "token";
80
- readonly type: "address";
81
- readonly internalType: "address";
82
- }];
83
- readonly outputs: readonly [{
84
- readonly name: "";
85
- readonly type: "uint256";
86
- readonly internalType: "uint256";
87
- }];
88
- readonly stateMutability: "view";
89
- }, {
90
- readonly type: "function";
91
- readonly name: "clearPlatformTemplates";
92
- readonly inputs: readonly [{
93
- readonly name: "platform";
94
- readonly type: "string";
95
- readonly internalType: "string";
96
- }];
97
- readonly outputs: readonly [];
98
- readonly stateMutability: "nonpayable";
99
- }, {
100
- readonly type: "function";
101
- readonly name: "deposit";
102
- readonly inputs: readonly [{
103
- readonly name: "platform";
104
- readonly type: "string";
105
- readonly internalType: "string";
106
- }, {
107
- readonly name: "handle";
108
- readonly type: "string";
109
- readonly internalType: "string";
110
- }, {
111
- readonly name: "userId";
112
- readonly type: "string";
113
- readonly internalType: "string";
114
- }, {
115
- readonly name: "token";
116
- readonly type: "address";
117
- readonly internalType: "address";
118
- }, {
119
- readonly name: "amount";
120
- readonly type: "uint256";
121
- readonly internalType: "uint256";
122
- }];
123
- readonly outputs: readonly [];
124
- readonly stateMutability: "payable";
125
- }, {
126
- readonly type: "function";
127
- readonly name: "getPlatformTemplate";
128
- readonly inputs: readonly [{
129
- readonly name: "platform";
130
- readonly type: "string";
131
- readonly internalType: "string";
132
- }, {
133
- readonly name: "index";
134
- readonly type: "uint256";
135
- readonly internalType: "uint256";
136
- }];
137
- readonly outputs: readonly [{
138
- readonly name: "";
139
- readonly type: "string";
140
- readonly internalType: "string";
141
- }];
142
- readonly stateMutability: "view";
143
- }, {
144
- readonly type: "function";
145
- readonly name: "getPlatformWebPrefix";
146
- readonly inputs: readonly [{
147
- readonly name: "platform";
148
- readonly type: "string";
149
- readonly internalType: "string";
150
- }];
151
- readonly outputs: readonly [{
152
- readonly name: "";
153
- readonly type: "string";
154
- readonly internalType: "string";
155
- }];
156
- readonly stateMutability: "view";
157
- }, {
158
- readonly type: "function";
159
- readonly name: "getRegisteredTokens";
160
- readonly inputs: readonly [];
161
- readonly outputs: readonly [{
162
- readonly name: "";
163
- readonly type: "address[]";
164
- readonly internalType: "address[]";
165
- }];
166
- readonly stateMutability: "view";
167
- }, {
168
- readonly type: "function";
169
- readonly name: "getTemplateParts";
170
- readonly inputs: readonly [{
171
- readonly name: "platform";
172
- readonly type: "string";
173
- readonly internalType: "string";
174
- }, {
175
- readonly name: "index";
176
- readonly type: "uint256";
177
- readonly internalType: "uint256";
178
- }];
179
- readonly outputs: readonly [{
180
- readonly name: "prefix";
181
- readonly type: "string";
182
- readonly internalType: "string";
183
- }, {
184
- readonly name: "afterRecipient";
185
- readonly type: "string";
186
- readonly internalType: "string";
187
- }, {
188
- readonly name: "afterAmount";
189
- readonly type: "string";
190
- readonly internalType: "string";
191
- }, {
192
- readonly name: "suffix";
193
- readonly type: "string";
194
- readonly internalType: "string";
195
- }];
196
- readonly stateMutability: "view";
197
- }, {
198
- readonly type: "function";
199
- readonly name: "identityHash";
200
- readonly inputs: readonly [{
201
- readonly name: "domain";
202
- readonly type: "string";
203
- readonly internalType: "string";
204
- }, {
205
- readonly name: "username";
206
- readonly type: "string";
207
- readonly internalType: "string";
208
- }];
209
- readonly outputs: readonly [{
210
- readonly name: "";
211
- readonly type: "bytes32";
212
- readonly internalType: "bytes32";
213
- }];
214
- readonly stateMutability: "pure";
215
- }, {
216
- readonly type: "function";
217
- readonly name: "pause";
218
- readonly inputs: readonly [];
219
- readonly outputs: readonly [];
220
- readonly stateMutability: "nonpayable";
221
- }, {
222
- readonly type: "function";
223
- readonly name: "paused";
224
- readonly inputs: readonly [];
225
- readonly outputs: readonly [{
226
- readonly name: "";
227
- readonly type: "bool";
228
- readonly internalType: "bool";
229
- }];
230
- readonly stateMutability: "view";
231
- }, {
232
- readonly type: "function";
233
- readonly name: "platformTemplateCount";
234
- readonly inputs: readonly [{
235
- readonly name: "platform";
236
- readonly type: "string";
237
- readonly internalType: "string";
238
- }];
239
- readonly outputs: readonly [{
240
- readonly name: "";
241
- readonly type: "uint256";
242
- readonly internalType: "uint256";
243
- }];
244
- readonly stateMutability: "view";
245
- }, {
246
- readonly type: "function";
247
- readonly name: "registerToken";
248
- readonly inputs: readonly [{
249
- readonly name: "name";
250
- readonly type: "string";
251
- readonly internalType: "string";
252
- }, {
253
- readonly name: "token";
254
- readonly type: "address";
255
- readonly internalType: "address";
256
- }];
257
- readonly outputs: readonly [];
258
- readonly stateMutability: "nonpayable";
259
- }, {
260
- readonly type: "function";
261
- readonly name: "registeredBalances";
262
- readonly inputs: readonly [{
263
- readonly name: "wallet";
264
- readonly type: "address";
265
- readonly internalType: "address";
266
- }, {
267
- readonly name: "token";
268
- readonly type: "address";
269
- readonly internalType: "address";
270
- }];
271
- readonly outputs: readonly [{
272
- readonly name: "";
273
- readonly type: "uint256";
274
- readonly internalType: "uint256";
275
- }];
276
- readonly stateMutability: "view";
277
- }, {
278
- readonly type: "function";
279
- readonly name: "registry";
280
- readonly inputs: readonly [];
281
- readonly outputs: readonly [{
282
- readonly name: "";
283
- readonly type: "address";
284
- readonly internalType: "address";
285
- }];
286
- readonly stateMutability: "view";
287
- }, {
288
- readonly type: "function";
289
- readonly name: "resolveToken";
290
- readonly inputs: readonly [{
291
- readonly name: "name";
292
- readonly type: "string";
293
- readonly internalType: "string";
294
- }];
295
- readonly outputs: readonly [{
296
- readonly name: "";
297
- readonly type: "address";
298
- readonly internalType: "address";
299
- }];
300
- readonly stateMutability: "view";
301
- }, {
302
- readonly type: "function";
303
- readonly name: "setPlatformTemplate";
304
- readonly inputs: readonly [{
305
- readonly name: "platform";
306
- readonly type: "string";
307
- readonly internalType: "string";
308
- }, {
309
- readonly name: "newTemplate";
310
- readonly type: "string";
311
- readonly internalType: "string";
312
- }];
313
- readonly outputs: readonly [];
314
- readonly stateMutability: "nonpayable";
315
- }, {
316
- readonly type: "function";
317
- readonly name: "setPlatformWebPrefix";
318
- readonly inputs: readonly [{
319
- readonly name: "platform";
320
- readonly type: "string";
321
- readonly internalType: "string";
322
- }, {
323
- readonly name: "prefix";
324
- readonly type: "string";
325
- readonly internalType: "string";
326
- }];
327
- readonly outputs: readonly [];
328
- readonly stateMutability: "nonpayable";
329
- }, {
330
- readonly type: "function";
331
- readonly name: "setRegistry";
332
- readonly inputs: readonly [{
333
- readonly name: "registry";
334
- readonly type: "address";
335
- readonly internalType: "address";
336
- }];
337
- readonly outputs: readonly [];
338
- readonly stateMutability: "nonpayable";
339
- }, {
340
- readonly type: "function";
341
- readonly name: "setResourceTypePrefix";
342
- readonly inputs: readonly [{
343
- readonly name: "resourceType";
344
- readonly type: "string";
345
- readonly internalType: "string";
346
- }, {
347
- readonly name: "prefix";
348
- readonly type: "string";
349
- readonly internalType: "string";
350
- }];
351
- readonly outputs: readonly [];
352
- readonly stateMutability: "nonpayable";
353
- }, {
354
- readonly type: "function";
355
- readonly name: "tokenName";
356
- readonly inputs: readonly [{
357
- readonly name: "token";
358
- readonly type: "address";
359
- readonly internalType: "address";
360
- }];
361
- readonly outputs: readonly [{
362
- readonly name: "";
363
- readonly type: "string";
364
- readonly internalType: "string";
365
- }];
366
- readonly stateMutability: "view";
367
- }, {
368
- readonly type: "function";
369
- readonly name: "transfer_within";
370
- readonly inputs: readonly [{
371
- readonly name: "receiverPlatform";
372
- readonly type: "string";
373
- readonly internalType: "string";
374
- }, {
375
- readonly name: "receiverHandle";
376
- readonly type: "string";
377
- readonly internalType: "string";
378
- }, {
379
- readonly name: "receiverUserId";
380
- readonly type: "string";
381
- readonly internalType: "string";
382
- }, {
383
- readonly name: "token";
384
- readonly type: "address";
385
- readonly internalType: "address";
386
- }, {
387
- readonly name: "amount";
388
- readonly type: "uint256";
389
- readonly internalType: "uint256";
390
- }];
391
- readonly outputs: readonly [];
392
- readonly stateMutability: "nonpayable";
393
- }, {
394
- readonly type: "function";
395
- readonly name: "unpause";
396
- readonly inputs: readonly [];
397
- readonly outputs: readonly [];
398
- readonly stateMutability: "nonpayable";
399
- }, {
400
- readonly type: "function";
401
- readonly name: "unregisterToken";
402
- readonly inputs: readonly [{
403
- readonly name: "name";
404
- readonly type: "string";
405
- readonly internalType: "string";
406
- }];
407
- readonly outputs: readonly [];
408
- readonly stateMutability: "nonpayable";
409
- }, {
410
- readonly type: "function";
411
- readonly name: "unregisteredBalances";
412
- readonly inputs: readonly [{
413
- readonly name: "key";
414
- readonly type: "bytes32";
415
- readonly internalType: "bytes32";
416
- }, {
417
- readonly name: "token";
418
- readonly type: "address";
419
- readonly internalType: "address";
420
- }];
421
- readonly outputs: readonly [{
422
- readonly name: "";
423
- readonly type: "uint256";
424
- readonly internalType: "uint256";
425
- }];
426
- readonly stateMutability: "view";
427
- }, {
428
- readonly type: "function";
429
- readonly name: "verifyProof";
430
- readonly inputs: readonly [{
431
- readonly name: "resource";
432
- readonly type: "tuple";
433
- readonly internalType: "struct ResourceInfo";
434
- readonly components: readonly [{
435
- readonly name: "platform";
436
- readonly type: "string";
437
- readonly internalType: "string";
438
- }, {
439
- readonly name: "resourceType";
440
- readonly type: "string";
441
- readonly internalType: "string";
442
- }, {
443
- readonly name: "resourceId";
444
- readonly type: "string";
445
- readonly internalType: "string";
446
- }, {
447
- readonly name: "requestPath";
448
- readonly type: "string";
449
- readonly internalType: "string";
450
- }];
451
- }, {
452
- readonly name: "sender";
453
- readonly type: "tuple";
454
- readonly internalType: "struct SenderInfo";
455
- readonly components: readonly [{
456
- readonly name: "author";
457
- readonly type: "string";
458
- readonly internalType: "string";
459
- }, {
460
- readonly name: "revealedAuthor";
461
- readonly type: "bytes";
462
- readonly internalType: "bytes";
463
- }, {
464
- readonly name: "revealedAuthorId";
465
- readonly type: "bytes";
466
- readonly internalType: "bytes";
467
- }];
468
- }, {
469
- readonly name: "revealedSubsection";
470
- readonly type: "bytes";
471
- readonly internalType: "bytes";
472
- }, {
473
- readonly name: "notaryTlsProof";
474
- readonly type: "tuple";
475
- readonly internalType: "struct NotaryTlsProof";
476
- readonly components: readonly [{
477
- readonly name: "notarySig";
478
- readonly type: "bytes";
479
- readonly internalType: "bytes";
480
- }, {
481
- readonly name: "domainHash";
482
- readonly type: "bytes32";
483
- readonly internalType: "bytes32";
484
- }, {
485
- readonly name: "clientRandom";
486
- readonly type: "bytes32";
487
- readonly internalType: "bytes32";
488
- }, {
489
- readonly name: "serverRandom";
490
- readonly type: "bytes32";
491
- readonly internalType: "bytes32";
492
- }, {
493
- readonly name: "serverEphemeralKey";
494
- readonly type: "bytes";
495
- readonly internalType: "bytes";
496
- }, {
497
- readonly name: "transcriptRoot";
498
- readonly type: "bytes32";
499
- readonly internalType: "bytes32";
500
- }, {
501
- readonly name: "timestamp";
502
- readonly type: "uint256";
503
- readonly internalType: "uint256";
504
- }, {
505
- readonly name: "bodyMerklePath";
506
- readonly type: "bytes32[]";
507
- readonly internalType: "bytes32[]";
508
- }, {
509
- readonly name: "authorMerklePath";
510
- readonly type: "bytes32[]";
511
- readonly internalType: "bytes32[]";
512
- }, {
513
- readonly name: "domainMerklePath";
514
- readonly type: "bytes32[]";
515
- readonly internalType: "bytes32[]";
516
- }, {
517
- readonly name: "endpointMerklePath";
518
- readonly type: "bytes32[]";
519
- readonly internalType: "bytes32[]";
520
- }, {
521
- readonly name: "authorIdMerklePath";
522
- readonly type: "bytes32[]";
523
- readonly internalType: "bytes32[]";
524
- }, {
525
- readonly name: "receiverIdMerklePath";
526
- readonly type: "bytes32[]";
527
- readonly internalType: "bytes32[]";
528
- }, {
529
- readonly name: "revealedReceiverId";
530
- readonly type: "bytes";
531
- readonly internalType: "bytes";
532
- }, {
533
- readonly name: "quotedRefMerklePath";
534
- readonly type: "bytes32[]";
535
- readonly internalType: "bytes32[]";
536
- }, {
537
- readonly name: "revealedQuotedRef";
538
- readonly type: "bytes";
539
- readonly internalType: "bytes";
540
- }, {
541
- readonly name: "quotedAuthorMerklePath";
542
- readonly type: "bytes32[]";
543
- readonly internalType: "bytes32[]";
544
- }, {
545
- readonly name: "revealedQuotedAuthorId";
546
- readonly type: "bytes";
547
- readonly internalType: "bytes";
548
- }];
549
- }, {
550
- readonly name: "backendSigData";
551
- readonly type: "tuple";
552
- readonly internalType: "struct BackendSig";
553
- readonly components: readonly [{
554
- readonly name: "sig";
555
- readonly type: "bytes";
556
- readonly internalType: "bytes";
557
- }, {
558
- readonly name: "timestamp";
559
- readonly type: "uint256";
560
- readonly internalType: "uint256";
561
- }];
562
- }, {
563
- readonly name: "receiverUserId";
564
- readonly type: "string";
565
- readonly internalType: "string";
566
- }];
567
- readonly outputs: readonly [{
568
- readonly name: "";
569
- readonly type: "bool";
570
- readonly internalType: "bool";
571
- }];
572
- readonly stateMutability: "view";
573
- }, {
574
- readonly type: "function";
575
- readonly name: "webTransferV2";
576
- readonly inputs: readonly [{
577
- readonly name: "resource";
578
- readonly type: "tuple";
579
- readonly internalType: "struct ResourceInfo";
580
- readonly components: readonly [{
581
- readonly name: "platform";
582
- readonly type: "string";
583
- readonly internalType: "string";
584
- }, {
585
- readonly name: "resourceType";
586
- readonly type: "string";
587
- readonly internalType: "string";
588
- }, {
589
- readonly name: "resourceId";
590
- readonly type: "string";
591
- readonly internalType: "string";
592
- }, {
593
- readonly name: "requestPath";
594
- readonly type: "string";
595
- readonly internalType: "string";
596
- }];
597
- }, {
598
- readonly name: "sender";
599
- readonly type: "tuple";
600
- readonly internalType: "struct SenderInfo";
601
- readonly components: readonly [{
602
- readonly name: "author";
603
- readonly type: "string";
604
- readonly internalType: "string";
605
- }, {
606
- readonly name: "revealedAuthor";
607
- readonly type: "bytes";
608
- readonly internalType: "bytes";
609
- }, {
610
- readonly name: "revealedAuthorId";
611
- readonly type: "bytes";
612
- readonly internalType: "bytes";
613
- }];
614
- }, {
615
- readonly name: "revealedSubsection";
616
- readonly type: "bytes";
617
- readonly internalType: "bytes";
618
- }, {
619
- readonly name: "notaryTlsProof";
620
- readonly type: "tuple";
621
- readonly internalType: "struct NotaryTlsProof";
622
- readonly components: readonly [{
623
- readonly name: "notarySig";
624
- readonly type: "bytes";
625
- readonly internalType: "bytes";
626
- }, {
627
- readonly name: "domainHash";
628
- readonly type: "bytes32";
629
- readonly internalType: "bytes32";
630
- }, {
631
- readonly name: "clientRandom";
632
- readonly type: "bytes32";
633
- readonly internalType: "bytes32";
634
- }, {
635
- readonly name: "serverRandom";
636
- readonly type: "bytes32";
637
- readonly internalType: "bytes32";
638
- }, {
639
- readonly name: "serverEphemeralKey";
640
- readonly type: "bytes";
641
- readonly internalType: "bytes";
642
- }, {
643
- readonly name: "transcriptRoot";
644
- readonly type: "bytes32";
645
- readonly internalType: "bytes32";
646
- }, {
647
- readonly name: "timestamp";
648
- readonly type: "uint256";
649
- readonly internalType: "uint256";
650
- }, {
651
- readonly name: "bodyMerklePath";
652
- readonly type: "bytes32[]";
653
- readonly internalType: "bytes32[]";
654
- }, {
655
- readonly name: "authorMerklePath";
656
- readonly type: "bytes32[]";
657
- readonly internalType: "bytes32[]";
658
- }, {
659
- readonly name: "domainMerklePath";
660
- readonly type: "bytes32[]";
661
- readonly internalType: "bytes32[]";
662
- }, {
663
- readonly name: "endpointMerklePath";
664
- readonly type: "bytes32[]";
665
- readonly internalType: "bytes32[]";
666
- }, {
667
- readonly name: "authorIdMerklePath";
668
- readonly type: "bytes32[]";
669
- readonly internalType: "bytes32[]";
670
- }, {
671
- readonly name: "receiverIdMerklePath";
672
- readonly type: "bytes32[]";
673
- readonly internalType: "bytes32[]";
674
- }, {
675
- readonly name: "revealedReceiverId";
676
- readonly type: "bytes";
677
- readonly internalType: "bytes";
678
- }, {
679
- readonly name: "quotedRefMerklePath";
680
- readonly type: "bytes32[]";
681
- readonly internalType: "bytes32[]";
682
- }, {
683
- readonly name: "revealedQuotedRef";
684
- readonly type: "bytes";
685
- readonly internalType: "bytes";
686
- }, {
687
- readonly name: "quotedAuthorMerklePath";
688
- readonly type: "bytes32[]";
689
- readonly internalType: "bytes32[]";
690
- }, {
691
- readonly name: "revealedQuotedAuthorId";
692
- readonly type: "bytes";
693
- readonly internalType: "bytes";
694
- }];
695
- }, {
696
- readonly name: "backendSigData";
697
- readonly type: "tuple";
698
- readonly internalType: "struct BackendSig";
699
- readonly components: readonly [{
700
- readonly name: "sig";
701
- readonly type: "bytes";
702
- readonly internalType: "bytes";
703
- }, {
704
- readonly name: "timestamp";
705
- readonly type: "uint256";
706
- readonly internalType: "uint256";
707
- }];
708
- }, {
709
- readonly name: "receiverHandle";
710
- readonly type: "string";
711
- readonly internalType: "string";
712
- }, {
713
- readonly name: "receiverUserId";
714
- readonly type: "string";
715
- readonly internalType: "string";
716
- }, {
717
- readonly name: "tokenName_";
718
- readonly type: "string";
719
- readonly internalType: "string";
720
- }, {
721
- readonly name: "amountStr";
722
- readonly type: "string";
723
- readonly internalType: "string";
724
- }, {
725
- readonly name: "amount";
726
- readonly type: "uint256";
727
- readonly internalType: "uint256";
728
- }, {
729
- readonly name: "sourceUrl";
730
- readonly type: "string";
731
- readonly internalType: "string";
732
- }];
733
- readonly outputs: readonly [];
734
- readonly stateMutability: "nonpayable";
735
- }, {
736
- readonly type: "function";
737
- readonly name: "webTransferV2";
738
- readonly inputs: readonly [{
739
- readonly name: "resource";
740
- readonly type: "tuple";
741
- readonly internalType: "struct ResourceInfo";
742
- readonly components: readonly [{
743
- readonly name: "platform";
744
- readonly type: "string";
745
- readonly internalType: "string";
746
- }, {
747
- readonly name: "resourceType";
748
- readonly type: "string";
749
- readonly internalType: "string";
750
- }, {
751
- readonly name: "resourceId";
752
- readonly type: "string";
753
- readonly internalType: "string";
754
- }, {
755
- readonly name: "requestPath";
756
- readonly type: "string";
757
- readonly internalType: "string";
758
- }];
759
- }, {
760
- readonly name: "sender";
761
- readonly type: "tuple";
762
- readonly internalType: "struct SenderInfo";
763
- readonly components: readonly [{
764
- readonly name: "author";
765
- readonly type: "string";
766
- readonly internalType: "string";
767
- }, {
768
- readonly name: "revealedAuthor";
769
- readonly type: "bytes";
770
- readonly internalType: "bytes";
771
- }, {
772
- readonly name: "revealedAuthorId";
773
- readonly type: "bytes";
774
- readonly internalType: "bytes";
775
- }];
776
- }, {
777
- readonly name: "revealedSubsection";
778
- readonly type: "bytes";
779
- readonly internalType: "bytes";
780
- }, {
781
- readonly name: "notaryTlsProof";
782
- readonly type: "tuple";
783
- readonly internalType: "struct NotaryTlsProof";
784
- readonly components: readonly [{
785
- readonly name: "notarySig";
786
- readonly type: "bytes";
787
- readonly internalType: "bytes";
788
- }, {
789
- readonly name: "domainHash";
790
- readonly type: "bytes32";
791
- readonly internalType: "bytes32";
792
- }, {
793
- readonly name: "clientRandom";
794
- readonly type: "bytes32";
795
- readonly internalType: "bytes32";
796
- }, {
797
- readonly name: "serverRandom";
798
- readonly type: "bytes32";
799
- readonly internalType: "bytes32";
800
- }, {
801
- readonly name: "serverEphemeralKey";
802
- readonly type: "bytes";
803
- readonly internalType: "bytes";
804
- }, {
805
- readonly name: "transcriptRoot";
806
- readonly type: "bytes32";
807
- readonly internalType: "bytes32";
808
- }, {
809
- readonly name: "timestamp";
810
- readonly type: "uint256";
811
- readonly internalType: "uint256";
812
- }, {
813
- readonly name: "bodyMerklePath";
814
- readonly type: "bytes32[]";
815
- readonly internalType: "bytes32[]";
816
- }, {
817
- readonly name: "authorMerklePath";
818
- readonly type: "bytes32[]";
819
- readonly internalType: "bytes32[]";
820
- }, {
821
- readonly name: "domainMerklePath";
822
- readonly type: "bytes32[]";
823
- readonly internalType: "bytes32[]";
824
- }, {
825
- readonly name: "endpointMerklePath";
826
- readonly type: "bytes32[]";
827
- readonly internalType: "bytes32[]";
828
- }, {
829
- readonly name: "authorIdMerklePath";
830
- readonly type: "bytes32[]";
831
- readonly internalType: "bytes32[]";
832
- }, {
833
- readonly name: "receiverIdMerklePath";
834
- readonly type: "bytes32[]";
835
- readonly internalType: "bytes32[]";
836
- }, {
837
- readonly name: "revealedReceiverId";
838
- readonly type: "bytes";
839
- readonly internalType: "bytes";
840
- }, {
841
- readonly name: "quotedRefMerklePath";
842
- readonly type: "bytes32[]";
843
- readonly internalType: "bytes32[]";
844
- }, {
845
- readonly name: "revealedQuotedRef";
846
- readonly type: "bytes";
847
- readonly internalType: "bytes";
848
- }, {
849
- readonly name: "quotedAuthorMerklePath";
850
- readonly type: "bytes32[]";
851
- readonly internalType: "bytes32[]";
852
- }, {
853
- readonly name: "revealedQuotedAuthorId";
854
- readonly type: "bytes";
855
- readonly internalType: "bytes";
856
- }];
857
- }, {
858
- readonly name: "backendSigData";
859
- readonly type: "tuple";
860
- readonly internalType: "struct BackendSig";
861
- readonly components: readonly [{
862
- readonly name: "sig";
863
- readonly type: "bytes";
864
- readonly internalType: "bytes";
865
- }, {
866
- readonly name: "timestamp";
867
- readonly type: "uint256";
868
- readonly internalType: "uint256";
869
- }];
870
- }, {
871
- readonly name: "receiverHandle";
872
- readonly type: "string";
873
- readonly internalType: "string";
874
- }, {
875
- readonly name: "receiverUserId";
876
- readonly type: "string";
877
- readonly internalType: "string";
878
- }, {
879
- readonly name: "token";
880
- readonly type: "address";
881
- readonly internalType: "address";
882
- }, {
883
- readonly name: "amountStr";
884
- readonly type: "string";
885
- readonly internalType: "string";
886
- }, {
887
- readonly name: "amount";
888
- readonly type: "uint256";
889
- readonly internalType: "uint256";
890
- }, {
891
- readonly name: "sourceUrl";
892
- readonly type: "string";
893
- readonly internalType: "string";
894
- }];
895
- readonly outputs: readonly [];
896
- readonly stateMutability: "nonpayable";
897
- }, {
898
- readonly type: "function";
899
- readonly name: "withdraw";
900
- readonly inputs: readonly [{
901
- readonly name: "recipient";
902
- readonly type: "address";
903
- readonly internalType: "address";
904
- }, {
905
- readonly name: "token";
906
- readonly type: "address";
907
- readonly internalType: "address";
908
- }, {
909
- readonly name: "amount";
910
- readonly type: "uint256";
911
- readonly internalType: "uint256";
912
- }];
913
- readonly outputs: readonly [];
914
- readonly stateMutability: "nonpayable";
915
- }];
916
- //# sourceMappingURL=bank.d.ts.map