@libid/contracts 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,401 @@
1
+ // Generated by ts/packages/contracts/scripts/codegen.mjs. Do not edit.
2
+ // Source artifact: solidity/out/LibidFactory.sol/LibidFactory.json
3
+ export const libidFactoryAbi = [
4
+ {
5
+ "type": "constructor",
6
+ "inputs": [],
7
+ "stateMutability": "nonpayable"
8
+ },
9
+ {
10
+ "type": "function",
11
+ "name": "UPGRADE_INTERFACE_VERSION",
12
+ "inputs": [],
13
+ "outputs": [
14
+ {
15
+ "name": "",
16
+ "type": "string",
17
+ "internalType": "string"
18
+ }
19
+ ],
20
+ "stateMutability": "view"
21
+ },
22
+ {
23
+ "type": "function",
24
+ "name": "acceptOwnership",
25
+ "inputs": [],
26
+ "outputs": [],
27
+ "stateMutability": "nonpayable"
28
+ },
29
+ {
30
+ "type": "function",
31
+ "name": "deploy",
32
+ "inputs": [
33
+ {
34
+ "name": "name",
35
+ "type": "string",
36
+ "internalType": "string"
37
+ },
38
+ {
39
+ "name": "creationCode",
40
+ "type": "bytes",
41
+ "internalType": "bytes"
42
+ }
43
+ ],
44
+ "outputs": [
45
+ {
46
+ "name": "addr",
47
+ "type": "address",
48
+ "internalType": "address"
49
+ }
50
+ ],
51
+ "stateMutability": "nonpayable"
52
+ },
53
+ {
54
+ "type": "function",
55
+ "name": "deployedAt",
56
+ "inputs": [
57
+ {
58
+ "name": "name",
59
+ "type": "string",
60
+ "internalType": "string"
61
+ }
62
+ ],
63
+ "outputs": [
64
+ {
65
+ "name": "",
66
+ "type": "address",
67
+ "internalType": "address"
68
+ }
69
+ ],
70
+ "stateMutability": "view"
71
+ },
72
+ {
73
+ "type": "function",
74
+ "name": "deployments",
75
+ "inputs": [
76
+ {
77
+ "name": "nameHash",
78
+ "type": "bytes32",
79
+ "internalType": "bytes32"
80
+ }
81
+ ],
82
+ "outputs": [
83
+ {
84
+ "name": "addr",
85
+ "type": "address",
86
+ "internalType": "address"
87
+ }
88
+ ],
89
+ "stateMutability": "view"
90
+ },
91
+ {
92
+ "type": "function",
93
+ "name": "initialize",
94
+ "inputs": [
95
+ {
96
+ "name": "owner_",
97
+ "type": "address",
98
+ "internalType": "address"
99
+ }
100
+ ],
101
+ "outputs": [],
102
+ "stateMutability": "nonpayable"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "owner",
107
+ "inputs": [],
108
+ "outputs": [
109
+ {
110
+ "name": "",
111
+ "type": "address",
112
+ "internalType": "address"
113
+ }
114
+ ],
115
+ "stateMutability": "view"
116
+ },
117
+ {
118
+ "type": "function",
119
+ "name": "pendingOwner",
120
+ "inputs": [],
121
+ "outputs": [
122
+ {
123
+ "name": "",
124
+ "type": "address",
125
+ "internalType": "address"
126
+ }
127
+ ],
128
+ "stateMutability": "view"
129
+ },
130
+ {
131
+ "type": "function",
132
+ "name": "predict",
133
+ "inputs": [
134
+ {
135
+ "name": "name",
136
+ "type": "string",
137
+ "internalType": "string"
138
+ }
139
+ ],
140
+ "outputs": [
141
+ {
142
+ "name": "",
143
+ "type": "address",
144
+ "internalType": "address"
145
+ }
146
+ ],
147
+ "stateMutability": "view"
148
+ },
149
+ {
150
+ "type": "function",
151
+ "name": "proxiableUUID",
152
+ "inputs": [],
153
+ "outputs": [
154
+ {
155
+ "name": "",
156
+ "type": "bytes32",
157
+ "internalType": "bytes32"
158
+ }
159
+ ],
160
+ "stateMutability": "view"
161
+ },
162
+ {
163
+ "type": "function",
164
+ "name": "renounceOwnership",
165
+ "inputs": [],
166
+ "outputs": [],
167
+ "stateMutability": "pure"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "transferOwnership",
172
+ "inputs": [
173
+ {
174
+ "name": "newOwner",
175
+ "type": "address",
176
+ "internalType": "address"
177
+ }
178
+ ],
179
+ "outputs": [],
180
+ "stateMutability": "nonpayable"
181
+ },
182
+ {
183
+ "type": "function",
184
+ "name": "upgradeToAndCall",
185
+ "inputs": [
186
+ {
187
+ "name": "newImplementation",
188
+ "type": "address",
189
+ "internalType": "address"
190
+ },
191
+ {
192
+ "name": "data",
193
+ "type": "bytes",
194
+ "internalType": "bytes"
195
+ }
196
+ ],
197
+ "outputs": [],
198
+ "stateMutability": "payable"
199
+ },
200
+ {
201
+ "type": "event",
202
+ "name": "Deployed",
203
+ "inputs": [
204
+ {
205
+ "name": "nameHash",
206
+ "type": "bytes32",
207
+ "indexed": true,
208
+ "internalType": "bytes32"
209
+ },
210
+ {
211
+ "name": "name",
212
+ "type": "string",
213
+ "indexed": false,
214
+ "internalType": "string"
215
+ },
216
+ {
217
+ "name": "addr",
218
+ "type": "address",
219
+ "indexed": false,
220
+ "internalType": "address"
221
+ }
222
+ ],
223
+ "anonymous": false
224
+ },
225
+ {
226
+ "type": "event",
227
+ "name": "Initialized",
228
+ "inputs": [
229
+ {
230
+ "name": "version",
231
+ "type": "uint64",
232
+ "indexed": false,
233
+ "internalType": "uint64"
234
+ }
235
+ ],
236
+ "anonymous": false
237
+ },
238
+ {
239
+ "type": "event",
240
+ "name": "OwnershipTransferStarted",
241
+ "inputs": [
242
+ {
243
+ "name": "previousOwner",
244
+ "type": "address",
245
+ "indexed": true,
246
+ "internalType": "address"
247
+ },
248
+ {
249
+ "name": "newOwner",
250
+ "type": "address",
251
+ "indexed": true,
252
+ "internalType": "address"
253
+ }
254
+ ],
255
+ "anonymous": false
256
+ },
257
+ {
258
+ "type": "event",
259
+ "name": "OwnershipTransferred",
260
+ "inputs": [
261
+ {
262
+ "name": "previousOwner",
263
+ "type": "address",
264
+ "indexed": true,
265
+ "internalType": "address"
266
+ },
267
+ {
268
+ "name": "newOwner",
269
+ "type": "address",
270
+ "indexed": true,
271
+ "internalType": "address"
272
+ }
273
+ ],
274
+ "anonymous": false
275
+ },
276
+ {
277
+ "type": "event",
278
+ "name": "Upgraded",
279
+ "inputs": [
280
+ {
281
+ "name": "implementation",
282
+ "type": "address",
283
+ "indexed": true,
284
+ "internalType": "address"
285
+ }
286
+ ],
287
+ "anonymous": false
288
+ },
289
+ {
290
+ "type": "error",
291
+ "name": "AddressEmptyCode",
292
+ "inputs": [
293
+ {
294
+ "name": "target",
295
+ "type": "address",
296
+ "internalType": "address"
297
+ }
298
+ ]
299
+ },
300
+ {
301
+ "type": "error",
302
+ "name": "AlreadyDeployed",
303
+ "inputs": [
304
+ {
305
+ "name": "name",
306
+ "type": "string",
307
+ "internalType": "string"
308
+ },
309
+ {
310
+ "name": "addr",
311
+ "type": "address",
312
+ "internalType": "address"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "type": "error",
318
+ "name": "ERC1967InvalidImplementation",
319
+ "inputs": [
320
+ {
321
+ "name": "implementation",
322
+ "type": "address",
323
+ "internalType": "address"
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "type": "error",
329
+ "name": "ERC1967NonPayable",
330
+ "inputs": []
331
+ },
332
+ {
333
+ "type": "error",
334
+ "name": "EmptyName",
335
+ "inputs": []
336
+ },
337
+ {
338
+ "type": "error",
339
+ "name": "FailedCall",
340
+ "inputs": []
341
+ },
342
+ {
343
+ "type": "error",
344
+ "name": "InvalidInitialization",
345
+ "inputs": []
346
+ },
347
+ {
348
+ "type": "error",
349
+ "name": "NotInitializing",
350
+ "inputs": []
351
+ },
352
+ {
353
+ "type": "error",
354
+ "name": "OwnableInvalidOwner",
355
+ "inputs": [
356
+ {
357
+ "name": "owner",
358
+ "type": "address",
359
+ "internalType": "address"
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "type": "error",
365
+ "name": "OwnableUnauthorizedAccount",
366
+ "inputs": [
367
+ {
368
+ "name": "account",
369
+ "type": "address",
370
+ "internalType": "address"
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "type": "error",
376
+ "name": "ProxyDeployFailed",
377
+ "inputs": []
378
+ },
379
+ {
380
+ "type": "error",
381
+ "name": "TargetDeployFailed",
382
+ "inputs": []
383
+ },
384
+ {
385
+ "type": "error",
386
+ "name": "UUPSUnauthorizedCallContext",
387
+ "inputs": []
388
+ },
389
+ {
390
+ "type": "error",
391
+ "name": "UUPSUnsupportedProxiableUUID",
392
+ "inputs": [
393
+ {
394
+ "name": "slot",
395
+ "type": "bytes32",
396
+ "internalType": "bytes32"
397
+ }
398
+ ]
399
+ }
400
+ ];
401
+ //# sourceMappingURL=libidFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libidFactory.js","sourceRoot":"","sources":["../../src/abis/libidFactory.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,mEAAmE;AAInE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;QACE,MAAM,EAAE,aAAa;QACrB,QAAQ,EAAE,EAAE;QACZ,iBAAiB,EAAE,YAAY;KAChC;IACD;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,2BAA2B;QACnC,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE;YACT;gBACE,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,QAAQ;gBAChB,cAAc,EAAE,QAAQ;aACzB;SACF;QACD,iBAAiB,EAAE,MAAM;KAC1B;IACD;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,iBAAiB;QACzB,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,EAAE;QACb,iBAAiB,EAAE,YAAY;KAChC;IACD;QACE,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE;YACR;gBACE,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,QAAQ;gBAChB,cAAc,EAAE,QAAQ;aACzB;YACD;gBACE,MAAM,EAAE,cAAc;gBACtB,MAAM,EAAE,OAAO;gBACf,cAAc,EAAE,OAAO;aACxB;SACF;QACD,SAAS,EAAE;YACT;gBACE,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,SAAS;gBACjB,cAAc,EAAE,SAAS;aAC1B;SACF;QACD,iBAAiB,EAAE,YAAY;KAChC;IACD;QACE,MAAM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B;QACzB,QAAQ,EAAE,EAAE;KACb;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,qBAAqB;QAC7B,QAAQ,EAAE;YACR;gBACE,MAAM,EAAE,OAAO;gBACf,MAAM,EAAE,SAAS;gBACjB,cAAc,EAAE,SAAS;aAC1B;SACF;KACF;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE;YACR;gBACE,MAAM,EAAE,SAAS;gBACjB,MAAM,EAAE,SAAS;gBACjB,cAAc,EAAE,SAAS;aAC1B;SACF;KACF;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,mBAAmB;QAC3B,QAAQ,EAAE,EAAE;KACb;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,oBAAoB;QAC5B,QAAQ,EAAE,EAAE;KACb;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,6BAA6B;QACrC,QAAQ,EAAE,EAAE;KACb;IACD;QACE,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,8BAA8B;QACtC,QAAQ,EAAE;YACR;gBACE,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,SAAS;gBACjB,cAAc,EAAE,SAAS;aAC1B;SACF;KACF;CACqB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libid/contracts",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Typed viem-ready ABIs for the libid contracts, plus the identity helper layer (handle normalization, bind, resolve).",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "repository": {
@@ -61,6 +61,32 @@ export const googleOidcVerifierAbi = [
61
61
  ],
62
62
  "stateMutability": "view"
63
63
  },
64
+ {
65
+ "type": "function",
66
+ "name": "MAX_TRACKED_KIDS",
67
+ "inputs": [],
68
+ "outputs": [
69
+ {
70
+ "name": "",
71
+ "type": "uint256",
72
+ "internalType": "uint256"
73
+ }
74
+ ],
75
+ "stateMutability": "view"
76
+ },
77
+ {
78
+ "type": "function",
79
+ "name": "RENEWAL_MARGIN",
80
+ "inputs": [],
81
+ "outputs": [
82
+ {
83
+ "name": "",
84
+ "type": "uint256",
85
+ "internalType": "uint256"
86
+ }
87
+ ],
88
+ "stateMutability": "view"
89
+ },
64
90
  {
65
91
  "type": "function",
66
92
  "name": "TOTAL_PUBLIC_INPUTS",
@@ -94,6 +120,41 @@ export const googleOidcVerifierAbi = [
94
120
  "outputs": [],
95
121
  "stateMutability": "nonpayable"
96
122
  },
123
+ {
124
+ "type": "function",
125
+ "name": "currentRoots",
126
+ "inputs": [],
127
+ "outputs": [
128
+ {
129
+ "name": "infos",
130
+ "type": "tuple[]",
131
+ "internalType": "struct GoogleOidcVerifier.RootInfo[]",
132
+ "components": [
133
+ {
134
+ "name": "kidHash",
135
+ "type": "bytes32",
136
+ "internalType": "bytes32"
137
+ },
138
+ {
139
+ "name": "modulusHash",
140
+ "type": "bytes32",
141
+ "internalType": "bytes32"
142
+ },
143
+ {
144
+ "name": "observedAt",
145
+ "type": "uint256",
146
+ "internalType": "uint256"
147
+ },
148
+ {
149
+ "name": "expiresAt",
150
+ "type": "uint256",
151
+ "internalType": "uint256"
152
+ }
153
+ ]
154
+ }
155
+ ],
156
+ "stateMutability": "view"
157
+ },
97
158
  {
98
159
  "type": "function",
99
160
  "name": "expectedAudienceHash",
@@ -126,6 +187,19 @@ export const googleOidcVerifierAbi = [
126
187
  ],
127
188
  "stateMutability": "view"
128
189
  },
190
+ {
191
+ "type": "function",
192
+ "name": "freshestObservedAt",
193
+ "inputs": [],
194
+ "outputs": [
195
+ {
196
+ "name": "",
197
+ "type": "uint256",
198
+ "internalType": "uint256"
199
+ }
200
+ ],
201
+ "stateMutability": "view"
202
+ },
129
203
  {
130
204
  "type": "function",
131
205
  "name": "initialize",
@@ -173,6 +247,19 @@ export const googleOidcVerifierAbi = [
173
247
  ],
174
248
  "stateMutability": "view"
175
249
  },
250
+ {
251
+ "type": "function",
252
+ "name": "needsRotation",
253
+ "inputs": [],
254
+ "outputs": [
255
+ {
256
+ "name": "",
257
+ "type": "bool",
258
+ "internalType": "bool"
259
+ }
260
+ ],
261
+ "stateMutability": "view"
262
+ },
176
263
  {
177
264
  "type": "function",
178
265
  "name": "notary",
@@ -251,6 +338,13 @@ export const googleOidcVerifierAbi = [
251
338
  ],
252
339
  "stateMutability": "view"
253
340
  },
341
+ {
342
+ "type": "function",
343
+ "name": "prune",
344
+ "inputs": [],
345
+ "outputs": [],
346
+ "stateMutability": "nonpayable"
347
+ },
254
348
  {
255
349
  "type": "function",
256
350
  "name": "registry",
@@ -461,6 +555,19 @@ export const googleOidcVerifierAbi = [
461
555
  ],
462
556
  "stateMutability": "view"
463
557
  },
558
+ {
559
+ "type": "function",
560
+ "name": "untrustModulus",
561
+ "inputs": [
562
+ {
563
+ "name": "modulusHash",
564
+ "type": "bytes32",
565
+ "internalType": "bytes32"
566
+ }
567
+ ],
568
+ "outputs": [],
569
+ "stateMutability": "nonpayable"
570
+ },
464
571
  {
465
572
  "type": "function",
466
573
  "name": "upgradeToAndCall",
@@ -650,6 +757,19 @@ export const googleOidcVerifierAbi = [
650
757
  ],
651
758
  "anonymous": false
652
759
  },
760
+ {
761
+ "type": "event",
762
+ "name": "ModulusUntrusted",
763
+ "inputs": [
764
+ {
765
+ "name": "modulusHash",
766
+ "type": "bytes32",
767
+ "indexed": true,
768
+ "internalType": "bytes32"
769
+ }
770
+ ],
771
+ "anonymous": false
772
+ },
653
773
  {
654
774
  "type": "event",
655
775
  "name": "OwnershipTransferStarted",
@@ -688,6 +808,56 @@ export const googleOidcVerifierAbi = [
688
808
  ],
689
809
  "anonymous": false
690
810
  },
811
+ {
812
+ "type": "event",
813
+ "name": "RootApplied",
814
+ "inputs": [
815
+ {
816
+ "name": "kidHash",
817
+ "type": "bytes32",
818
+ "indexed": true,
819
+ "internalType": "bytes32"
820
+ },
821
+ {
822
+ "name": "modulusHash",
823
+ "type": "bytes32",
824
+ "indexed": true,
825
+ "internalType": "bytes32"
826
+ },
827
+ {
828
+ "name": "observedAt",
829
+ "type": "uint256",
830
+ "indexed": false,
831
+ "internalType": "uint256"
832
+ },
833
+ {
834
+ "name": "expiresAt",
835
+ "type": "uint256",
836
+ "indexed": false,
837
+ "internalType": "uint256"
838
+ }
839
+ ],
840
+ "anonymous": false
841
+ },
842
+ {
843
+ "type": "event",
844
+ "name": "RootPruned",
845
+ "inputs": [
846
+ {
847
+ "name": "kidHash",
848
+ "type": "bytes32",
849
+ "indexed": true,
850
+ "internalType": "bytes32"
851
+ },
852
+ {
853
+ "name": "modulusHash",
854
+ "type": "bytes32",
855
+ "indexed": false,
856
+ "internalType": "bytes32"
857
+ }
858
+ ],
859
+ "anonymous": false
860
+ },
691
861
  {
692
862
  "type": "event",
693
863
  "name": "Upgraded",
@@ -835,6 +1005,11 @@ export const googleOidcVerifierAbi = [
835
1005
  "name": "StaleProof",
836
1006
  "inputs": []
837
1007
  },
1008
+ {
1009
+ "type": "error",
1010
+ "name": "TooManyKids",
1011
+ "inputs": []
1012
+ },
838
1013
  {
839
1014
  "type": "error",
840
1015
  "name": "UUPSUnauthorizedCallContext",