@libid/contracts 0.1.0 → 0.3.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.
- package/dist/abis/gitHubIdentityVerifier.d.ts +21 -15
- package/dist/abis/gitHubIdentityVerifier.d.ts.map +1 -1
- package/dist/abis/gitHubIdentityVerifier.js +27 -19
- package/dist/abis/gitHubIdentityVerifier.js.map +1 -1
- package/dist/abis/googleOidcVerifier.d.ts +18 -60
- package/dist/abis/googleOidcVerifier.d.ts.map +1 -1
- package/dist/abis/googleOidcVerifier.js +19 -74
- package/dist/abis/googleOidcVerifier.js.map +1 -1
- package/dist/abis/identityJwksRoots.d.ts +18 -60
- package/dist/abis/identityJwksRoots.d.ts.map +1 -1
- package/dist/abis/identityJwksRoots.js +19 -74
- package/dist/abis/identityJwksRoots.js.map +1 -1
- package/dist/abis/index.d.ts +2 -1
- package/dist/abis/index.d.ts.map +1 -1
- package/dist/abis/index.js +2 -1
- package/dist/abis/index.js.map +1 -1
- package/dist/abis/libidFactory.d.ts +306 -0
- package/dist/abis/libidFactory.d.ts.map +1 -0
- package/dist/abis/libidFactory.js +401 -0
- package/dist/abis/libidFactory.js.map +1 -0
- package/dist/abis/{notaryRegistry.d.ts → notary.d.ts} +36 -45
- package/dist/abis/notary.d.ts.map +1 -0
- package/dist/abis/{notaryRegistry.js → notary.js} +44 -56
- package/dist/abis/notary.js.map +1 -0
- package/dist/abis/registry.d.ts +15 -11
- package/dist/abis/registry.d.ts.map +1 -1
- package/dist/abis/registry.js +19 -14
- package/dist/abis/registry.js.map +1 -1
- package/dist/abis/xIdentityVerifier.d.ts +21 -35
- package/dist/abis/xIdentityVerifier.d.ts.map +1 -1
- package/dist/abis/xIdentityVerifier.js +27 -46
- package/dist/abis/xIdentityVerifier.js.map +1 -1
- package/dist/abis/xZkVerifier.d.ts +11 -31
- package/dist/abis/xZkVerifier.d.ts.map +1 -1
- package/dist/abis/xZkVerifier.js +14 -41
- package/dist/abis/xZkVerifier.js.map +1 -1
- package/package.json +1 -1
- package/src/abis/gitHubIdentityVerifier.ts +27 -19
- package/src/abis/googleOidcVerifier.ts +19 -74
- package/src/abis/identityJwksRoots.ts +19 -74
- package/src/abis/index.ts +2 -1
- package/src/abis/libidFactory.ts +403 -0
- package/src/abis/{notaryRegistry.ts → notary.ts} +43 -55
- package/src/abis/registry.ts +19 -14
- package/src/abis/xIdentityVerifier.ts +27 -46
- package/src/abis/xZkVerifier.ts +14 -41
- package/dist/abis/notaryRegistry.d.ts.map +0 -1
- package/dist/abis/notaryRegistry.js.map +0 -1
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
// Generated by ts/packages/contracts/scripts/codegen.mjs. Do not edit.
|
|
2
|
+
// Source artifact: solidity/out/LibidFactory.sol/LibidFactory.json
|
|
3
|
+
|
|
4
|
+
import type { Abi } from 'viem'
|
|
5
|
+
|
|
6
|
+
export const libidFactoryAbi = [
|
|
7
|
+
{
|
|
8
|
+
"type": "constructor",
|
|
9
|
+
"inputs": [],
|
|
10
|
+
"stateMutability": "nonpayable"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "function",
|
|
14
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
15
|
+
"inputs": [],
|
|
16
|
+
"outputs": [
|
|
17
|
+
{
|
|
18
|
+
"name": "",
|
|
19
|
+
"type": "string",
|
|
20
|
+
"internalType": "string"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"stateMutability": "view"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "function",
|
|
27
|
+
"name": "acceptOwnership",
|
|
28
|
+
"inputs": [],
|
|
29
|
+
"outputs": [],
|
|
30
|
+
"stateMutability": "nonpayable"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "function",
|
|
34
|
+
"name": "deploy",
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"name": "name",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"internalType": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "creationCode",
|
|
43
|
+
"type": "bytes",
|
|
44
|
+
"internalType": "bytes"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"outputs": [
|
|
48
|
+
{
|
|
49
|
+
"name": "addr",
|
|
50
|
+
"type": "address",
|
|
51
|
+
"internalType": "address"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"stateMutability": "nonpayable"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "function",
|
|
58
|
+
"name": "deployedAt",
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"name": "name",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"internalType": "string"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"outputs": [
|
|
67
|
+
{
|
|
68
|
+
"name": "",
|
|
69
|
+
"type": "address",
|
|
70
|
+
"internalType": "address"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"stateMutability": "view"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "function",
|
|
77
|
+
"name": "deployments",
|
|
78
|
+
"inputs": [
|
|
79
|
+
{
|
|
80
|
+
"name": "nameHash",
|
|
81
|
+
"type": "bytes32",
|
|
82
|
+
"internalType": "bytes32"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"outputs": [
|
|
86
|
+
{
|
|
87
|
+
"name": "addr",
|
|
88
|
+
"type": "address",
|
|
89
|
+
"internalType": "address"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"stateMutability": "view"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "function",
|
|
96
|
+
"name": "initialize",
|
|
97
|
+
"inputs": [
|
|
98
|
+
{
|
|
99
|
+
"name": "owner_",
|
|
100
|
+
"type": "address",
|
|
101
|
+
"internalType": "address"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"outputs": [],
|
|
105
|
+
"stateMutability": "nonpayable"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "function",
|
|
109
|
+
"name": "owner",
|
|
110
|
+
"inputs": [],
|
|
111
|
+
"outputs": [
|
|
112
|
+
{
|
|
113
|
+
"name": "",
|
|
114
|
+
"type": "address",
|
|
115
|
+
"internalType": "address"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"stateMutability": "view"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "function",
|
|
122
|
+
"name": "pendingOwner",
|
|
123
|
+
"inputs": [],
|
|
124
|
+
"outputs": [
|
|
125
|
+
{
|
|
126
|
+
"name": "",
|
|
127
|
+
"type": "address",
|
|
128
|
+
"internalType": "address"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"stateMutability": "view"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "function",
|
|
135
|
+
"name": "predict",
|
|
136
|
+
"inputs": [
|
|
137
|
+
{
|
|
138
|
+
"name": "name",
|
|
139
|
+
"type": "string",
|
|
140
|
+
"internalType": "string"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"outputs": [
|
|
144
|
+
{
|
|
145
|
+
"name": "",
|
|
146
|
+
"type": "address",
|
|
147
|
+
"internalType": "address"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"stateMutability": "view"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "function",
|
|
154
|
+
"name": "proxiableUUID",
|
|
155
|
+
"inputs": [],
|
|
156
|
+
"outputs": [
|
|
157
|
+
{
|
|
158
|
+
"name": "",
|
|
159
|
+
"type": "bytes32",
|
|
160
|
+
"internalType": "bytes32"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"stateMutability": "view"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "function",
|
|
167
|
+
"name": "renounceOwnership",
|
|
168
|
+
"inputs": [],
|
|
169
|
+
"outputs": [],
|
|
170
|
+
"stateMutability": "pure"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"type": "function",
|
|
174
|
+
"name": "transferOwnership",
|
|
175
|
+
"inputs": [
|
|
176
|
+
{
|
|
177
|
+
"name": "newOwner",
|
|
178
|
+
"type": "address",
|
|
179
|
+
"internalType": "address"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"outputs": [],
|
|
183
|
+
"stateMutability": "nonpayable"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "function",
|
|
187
|
+
"name": "upgradeToAndCall",
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"name": "newImplementation",
|
|
191
|
+
"type": "address",
|
|
192
|
+
"internalType": "address"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "data",
|
|
196
|
+
"type": "bytes",
|
|
197
|
+
"internalType": "bytes"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"outputs": [],
|
|
201
|
+
"stateMutability": "payable"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "event",
|
|
205
|
+
"name": "Deployed",
|
|
206
|
+
"inputs": [
|
|
207
|
+
{
|
|
208
|
+
"name": "nameHash",
|
|
209
|
+
"type": "bytes32",
|
|
210
|
+
"indexed": true,
|
|
211
|
+
"internalType": "bytes32"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "name",
|
|
215
|
+
"type": "string",
|
|
216
|
+
"indexed": false,
|
|
217
|
+
"internalType": "string"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "addr",
|
|
221
|
+
"type": "address",
|
|
222
|
+
"indexed": false,
|
|
223
|
+
"internalType": "address"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"anonymous": false
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "event",
|
|
230
|
+
"name": "Initialized",
|
|
231
|
+
"inputs": [
|
|
232
|
+
{
|
|
233
|
+
"name": "version",
|
|
234
|
+
"type": "uint64",
|
|
235
|
+
"indexed": false,
|
|
236
|
+
"internalType": "uint64"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"anonymous": false
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"type": "event",
|
|
243
|
+
"name": "OwnershipTransferStarted",
|
|
244
|
+
"inputs": [
|
|
245
|
+
{
|
|
246
|
+
"name": "previousOwner",
|
|
247
|
+
"type": "address",
|
|
248
|
+
"indexed": true,
|
|
249
|
+
"internalType": "address"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "newOwner",
|
|
253
|
+
"type": "address",
|
|
254
|
+
"indexed": true,
|
|
255
|
+
"internalType": "address"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"anonymous": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "event",
|
|
262
|
+
"name": "OwnershipTransferred",
|
|
263
|
+
"inputs": [
|
|
264
|
+
{
|
|
265
|
+
"name": "previousOwner",
|
|
266
|
+
"type": "address",
|
|
267
|
+
"indexed": true,
|
|
268
|
+
"internalType": "address"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "newOwner",
|
|
272
|
+
"type": "address",
|
|
273
|
+
"indexed": true,
|
|
274
|
+
"internalType": "address"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"anonymous": false
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "event",
|
|
281
|
+
"name": "Upgraded",
|
|
282
|
+
"inputs": [
|
|
283
|
+
{
|
|
284
|
+
"name": "implementation",
|
|
285
|
+
"type": "address",
|
|
286
|
+
"indexed": true,
|
|
287
|
+
"internalType": "address"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"anonymous": false
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"type": "error",
|
|
294
|
+
"name": "AddressEmptyCode",
|
|
295
|
+
"inputs": [
|
|
296
|
+
{
|
|
297
|
+
"name": "target",
|
|
298
|
+
"type": "address",
|
|
299
|
+
"internalType": "address"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "error",
|
|
305
|
+
"name": "AlreadyDeployed",
|
|
306
|
+
"inputs": [
|
|
307
|
+
{
|
|
308
|
+
"name": "name",
|
|
309
|
+
"type": "string",
|
|
310
|
+
"internalType": "string"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "addr",
|
|
314
|
+
"type": "address",
|
|
315
|
+
"internalType": "address"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "error",
|
|
321
|
+
"name": "ERC1967InvalidImplementation",
|
|
322
|
+
"inputs": [
|
|
323
|
+
{
|
|
324
|
+
"name": "implementation",
|
|
325
|
+
"type": "address",
|
|
326
|
+
"internalType": "address"
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"type": "error",
|
|
332
|
+
"name": "ERC1967NonPayable",
|
|
333
|
+
"inputs": []
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"type": "error",
|
|
337
|
+
"name": "EmptyName",
|
|
338
|
+
"inputs": []
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"type": "error",
|
|
342
|
+
"name": "FailedCall",
|
|
343
|
+
"inputs": []
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"type": "error",
|
|
347
|
+
"name": "InvalidInitialization",
|
|
348
|
+
"inputs": []
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "error",
|
|
352
|
+
"name": "NotInitializing",
|
|
353
|
+
"inputs": []
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"type": "error",
|
|
357
|
+
"name": "OwnableInvalidOwner",
|
|
358
|
+
"inputs": [
|
|
359
|
+
{
|
|
360
|
+
"name": "owner",
|
|
361
|
+
"type": "address",
|
|
362
|
+
"internalType": "address"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "error",
|
|
368
|
+
"name": "OwnableUnauthorizedAccount",
|
|
369
|
+
"inputs": [
|
|
370
|
+
{
|
|
371
|
+
"name": "account",
|
|
372
|
+
"type": "address",
|
|
373
|
+
"internalType": "address"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "error",
|
|
379
|
+
"name": "ProxyDeployFailed",
|
|
380
|
+
"inputs": []
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "error",
|
|
384
|
+
"name": "TargetDeployFailed",
|
|
385
|
+
"inputs": []
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "error",
|
|
389
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
390
|
+
"inputs": []
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "error",
|
|
394
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
395
|
+
"inputs": [
|
|
396
|
+
{
|
|
397
|
+
"name": "slot",
|
|
398
|
+
"type": "bytes32",
|
|
399
|
+
"internalType": "bytes32"
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
}
|
|
403
|
+
] as const satisfies Abi
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Generated by ts/packages/contracts/scripts/codegen.mjs. Do not edit.
|
|
2
|
-
// Source artifact: solidity/out/
|
|
2
|
+
// Source artifact: solidity/out/Notary.sol/Notary.json
|
|
3
3
|
|
|
4
4
|
import type { Abi } from 'viem'
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const notaryAbi = [
|
|
7
7
|
{
|
|
8
8
|
"type": "constructor",
|
|
9
9
|
"inputs": [],
|
|
@@ -29,19 +29,6 @@ export const notaryRegistryAbi = [
|
|
|
29
29
|
"outputs": [],
|
|
30
30
|
"stateMutability": "nonpayable"
|
|
31
31
|
},
|
|
32
|
-
{
|
|
33
|
-
"type": "function",
|
|
34
|
-
"name": "addNotary",
|
|
35
|
-
"inputs": [
|
|
36
|
-
{
|
|
37
|
-
"name": "notary",
|
|
38
|
-
"type": "address",
|
|
39
|
-
"internalType": "address"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"outputs": [],
|
|
43
|
-
"stateMutability": "nonpayable"
|
|
44
|
-
},
|
|
45
32
|
{
|
|
46
33
|
"type": "function",
|
|
47
34
|
"name": "initialize",
|
|
@@ -52,7 +39,7 @@ export const notaryRegistryAbi = [
|
|
|
52
39
|
"internalType": "address"
|
|
53
40
|
},
|
|
54
41
|
{
|
|
55
|
-
"name": "
|
|
42
|
+
"name": "notary_",
|
|
56
43
|
"type": "address",
|
|
57
44
|
"internalType": "address"
|
|
58
45
|
}
|
|
@@ -62,21 +49,15 @@ export const notaryRegistryAbi = [
|
|
|
62
49
|
},
|
|
63
50
|
{
|
|
64
51
|
"type": "function",
|
|
65
|
-
"name": "
|
|
66
|
-
"inputs": [
|
|
52
|
+
"name": "notary",
|
|
53
|
+
"inputs": [],
|
|
54
|
+
"outputs": [
|
|
67
55
|
{
|
|
68
56
|
"name": "",
|
|
69
57
|
"type": "address",
|
|
70
58
|
"internalType": "address"
|
|
71
59
|
}
|
|
72
60
|
],
|
|
73
|
-
"outputs": [
|
|
74
|
-
{
|
|
75
|
-
"name": "",
|
|
76
|
-
"type": "bool",
|
|
77
|
-
"internalType": "bool"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
61
|
"stateMutability": "view"
|
|
81
62
|
},
|
|
82
63
|
{
|
|
@@ -120,10 +101,17 @@ export const notaryRegistryAbi = [
|
|
|
120
101
|
},
|
|
121
102
|
{
|
|
122
103
|
"type": "function",
|
|
123
|
-
"name": "
|
|
104
|
+
"name": "renounceOwnership",
|
|
105
|
+
"inputs": [],
|
|
106
|
+
"outputs": [],
|
|
107
|
+
"stateMutability": "pure"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "function",
|
|
111
|
+
"name": "setNotary",
|
|
124
112
|
"inputs": [
|
|
125
113
|
{
|
|
126
|
-
"name": "
|
|
114
|
+
"name": "notary_",
|
|
127
115
|
"type": "address",
|
|
128
116
|
"internalType": "address"
|
|
129
117
|
}
|
|
@@ -131,13 +119,6 @@ export const notaryRegistryAbi = [
|
|
|
131
119
|
"outputs": [],
|
|
132
120
|
"stateMutability": "nonpayable"
|
|
133
121
|
},
|
|
134
|
-
{
|
|
135
|
-
"type": "function",
|
|
136
|
-
"name": "renounceOwnership",
|
|
137
|
-
"inputs": [],
|
|
138
|
-
"outputs": [],
|
|
139
|
-
"stateMutability": "nonpayable"
|
|
140
|
-
},
|
|
141
122
|
{
|
|
142
123
|
"type": "function",
|
|
143
124
|
"name": "transferOwnership",
|
|
@@ -169,6 +150,30 @@ export const notaryRegistryAbi = [
|
|
|
169
150
|
"outputs": [],
|
|
170
151
|
"stateMutability": "payable"
|
|
171
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"type": "function",
|
|
155
|
+
"name": "verify",
|
|
156
|
+
"inputs": [
|
|
157
|
+
{
|
|
158
|
+
"name": "digest",
|
|
159
|
+
"type": "bytes32",
|
|
160
|
+
"internalType": "bytes32"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "proof",
|
|
164
|
+
"type": "bytes",
|
|
165
|
+
"internalType": "bytes"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"outputs": [
|
|
169
|
+
{
|
|
170
|
+
"name": "",
|
|
171
|
+
"type": "bool",
|
|
172
|
+
"internalType": "bool"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"stateMutability": "view"
|
|
176
|
+
},
|
|
172
177
|
{
|
|
173
178
|
"type": "event",
|
|
174
179
|
"name": "Initialized",
|
|
@@ -184,23 +189,16 @@ export const notaryRegistryAbi = [
|
|
|
184
189
|
},
|
|
185
190
|
{
|
|
186
191
|
"type": "event",
|
|
187
|
-
"name": "
|
|
192
|
+
"name": "NotaryChanged",
|
|
188
193
|
"inputs": [
|
|
189
194
|
{
|
|
190
|
-
"name": "
|
|
195
|
+
"name": "previousNotary",
|
|
191
196
|
"type": "address",
|
|
192
197
|
"indexed": true,
|
|
193
198
|
"internalType": "address"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"anonymous": false
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"type": "event",
|
|
200
|
-
"name": "NotaryRemoved",
|
|
201
|
-
"inputs": [
|
|
199
|
+
},
|
|
202
200
|
{
|
|
203
|
-
"name": "
|
|
201
|
+
"name": "newNotary",
|
|
204
202
|
"type": "address",
|
|
205
203
|
"indexed": true,
|
|
206
204
|
"internalType": "address"
|
|
@@ -301,16 +299,6 @@ export const notaryRegistryAbi = [
|
|
|
301
299
|
"name": "NotInitializing",
|
|
302
300
|
"inputs": []
|
|
303
301
|
},
|
|
304
|
-
{
|
|
305
|
-
"type": "error",
|
|
306
|
-
"name": "NotaryAlreadyRegistered",
|
|
307
|
-
"inputs": []
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"type": "error",
|
|
311
|
-
"name": "NotaryNotRegistered",
|
|
312
|
-
"inputs": []
|
|
313
|
-
},
|
|
314
302
|
{
|
|
315
303
|
"type": "error",
|
|
316
304
|
"name": "OwnableInvalidOwner",
|
package/src/abis/registry.ts
CHANGED
|
@@ -243,7 +243,7 @@ export const registryAbi = [
|
|
|
243
243
|
"name": "initialize",
|
|
244
244
|
"inputs": [
|
|
245
245
|
{
|
|
246
|
-
"name": "
|
|
246
|
+
"name": "_notaryContract",
|
|
247
247
|
"type": "address",
|
|
248
248
|
"internalType": "address"
|
|
249
249
|
},
|
|
@@ -444,6 +444,19 @@ export const registryAbi = [
|
|
|
444
444
|
],
|
|
445
445
|
"stateMutability": "view"
|
|
446
446
|
},
|
|
447
|
+
{
|
|
448
|
+
"type": "function",
|
|
449
|
+
"name": "notaryContract",
|
|
450
|
+
"inputs": [],
|
|
451
|
+
"outputs": [
|
|
452
|
+
{
|
|
453
|
+
"name": "",
|
|
454
|
+
"type": "address",
|
|
455
|
+
"internalType": "address"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"stateMutability": "view"
|
|
459
|
+
},
|
|
447
460
|
{
|
|
448
461
|
"type": "function",
|
|
449
462
|
"name": "oidcVerifierOf",
|
|
@@ -883,19 +896,6 @@ export const registryAbi = [
|
|
|
883
896
|
"outputs": [],
|
|
884
897
|
"stateMutability": "nonpayable"
|
|
885
898
|
},
|
|
886
|
-
{
|
|
887
|
-
"type": "function",
|
|
888
|
-
"name": "setNotary",
|
|
889
|
-
"inputs": [
|
|
890
|
-
{
|
|
891
|
-
"name": "_notary",
|
|
892
|
-
"type": "address",
|
|
893
|
-
"internalType": "address"
|
|
894
|
-
}
|
|
895
|
-
],
|
|
896
|
-
"outputs": [],
|
|
897
|
-
"stateMutability": "nonpayable"
|
|
898
|
-
},
|
|
899
899
|
{
|
|
900
900
|
"type": "function",
|
|
901
901
|
"name": "setOidcVerifier",
|
|
@@ -1392,6 +1392,11 @@ export const registryAbi = [
|
|
|
1392
1392
|
"name": "InvalidMerkleProof",
|
|
1393
1393
|
"inputs": []
|
|
1394
1394
|
},
|
|
1395
|
+
{
|
|
1396
|
+
"type": "error",
|
|
1397
|
+
"name": "InvalidNotarySignature",
|
|
1398
|
+
"inputs": []
|
|
1399
|
+
},
|
|
1395
1400
|
{
|
|
1396
1401
|
"type": "error",
|
|
1397
1402
|
"name": "JwtExpired",
|