kokio-sdk 0.0.4 → 0.0.6

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.
@@ -1,739 +1,823 @@
1
1
  [
2
2
  {
3
- "type": "constructor",
4
- "inputs": [],
5
- "stateMutability": "nonpayable"
6
- },
7
- {
8
- "type": "function",
9
- "name": "UPGRADE_INTERFACE_VERSION",
10
- "inputs": [],
11
- "outputs": [
3
+ "inputs": [
12
4
  {
13
- "name": "",
14
- "type": "string",
15
- "internalType": "string"
5
+ "internalType": "address",
6
+ "name": "target",
7
+ "type": "address"
16
8
  }
17
9
  ],
18
- "stateMutability": "view"
10
+ "name": "AddressEmptyCode",
11
+ "type": "error"
19
12
  },
20
13
  {
21
- "type": "function",
22
- "name": "acceptAdminUpdate",
23
- "inputs": [],
24
- "outputs": [
14
+ "inputs": [
25
15
  {
26
- "name": "",
27
- "type": "address",
28
- "internalType": "address"
16
+ "internalType": "address",
17
+ "name": "implementation",
18
+ "type": "address"
29
19
  }
30
20
  ],
31
- "stateMutability": "nonpayable"
21
+ "name": "ERC1967InvalidImplementation",
22
+ "type": "error"
32
23
  },
33
24
  {
34
- "type": "function",
35
- "name": "acceptOwnership",
36
25
  "inputs": [],
37
- "outputs": [],
38
- "stateMutability": "nonpayable"
26
+ "name": "ERC1967NonPayable",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "FailedInnerCall",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "InvalidInitialization",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "NotInitializing",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "OnlyAdmin",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "OnlyAdminOrRegistry",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "OnlyEntryPoint",
57
+ "type": "error"
39
58
  },
40
59
  {
41
- "type": "function",
42
- "name": "addRegistryAddress",
43
60
  "inputs": [
44
61
  {
45
- "name": "_registryContractAddress",
46
- "type": "address",
47
- "internalType": "address"
62
+ "internalType": "address",
63
+ "name": "owner",
64
+ "type": "address"
48
65
  }
49
66
  ],
50
- "outputs": [
67
+ "name": "OwnableInvalidOwner",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
51
72
  {
52
- "name": "",
53
- "type": "address",
54
- "internalType": "address"
73
+ "internalType": "address",
74
+ "name": "account",
75
+ "type": "address"
55
76
  }
56
77
  ],
57
- "stateMutability": "nonpayable"
78
+ "name": "OwnableUnauthorizedAccount",
79
+ "type": "error"
58
80
  },
59
81
  {
60
- "type": "function",
61
- "name": "beacon",
62
82
  "inputs": [],
63
- "outputs": [
64
- {
65
- "name": "",
66
- "type": "address",
67
- "internalType": "contract UpgradeableBeacon"
68
- }
69
- ],
70
- "stateMutability": "view"
83
+ "name": "UUPSUnauthorizedCallContext",
84
+ "type": "error"
71
85
  },
72
86
  {
73
- "type": "function",
74
- "name": "createAccount",
75
87
  "inputs": [
76
88
  {
77
- "name": "_deviceUniqueIdentifier",
78
- "type": "string",
79
- "internalType": "string"
80
- },
81
- {
82
- "name": "_deviceWalletOwnerKey",
83
- "type": "bytes32[2]",
84
- "internalType": "bytes32[2]"
85
- },
86
- {
87
- "name": "_salt",
88
- "type": "uint256",
89
- "internalType": "uint256"
90
- },
91
- {
92
- "name": "_depositAmount",
93
- "type": "uint256",
94
- "internalType": "uint256"
89
+ "internalType": "bytes32",
90
+ "name": "slot",
91
+ "type": "bytes32"
95
92
  }
96
93
  ],
97
- "outputs": [
94
+ "name": "UUPSUnsupportedProxiableUUID",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "anonymous": false,
99
+ "inputs": [
98
100
  {
99
- "name": "deviceWallet",
100
- "type": "address",
101
- "internalType": "contract DeviceWallet"
101
+ "indexed": true,
102
+ "internalType": "address",
103
+ "name": "registry",
104
+ "type": "address"
102
105
  }
103
106
  ],
104
- "stateMutability": "payable"
107
+ "name": "AddedRegistry",
108
+ "type": "event"
105
109
  },
106
110
  {
107
- "type": "function",
108
- "name": "deployDeviceWalletForUsers",
111
+ "anonymous": false,
109
112
  "inputs": [
110
113
  {
111
- "name": "_deviceUniqueIdentifiers",
112
- "type": "string[]",
113
- "internalType": "string[]"
114
- },
115
- {
116
- "name": "_deviceWalletOwnersKey",
117
- "type": "bytes32[2][]",
118
- "internalType": "bytes32[2][]"
119
- },
120
- {
121
- "name": "_salts",
122
- "type": "uint256[]",
123
- "internalType": "uint256[]"
114
+ "indexed": true,
115
+ "internalType": "address",
116
+ "name": "eSIMWalletAdmin",
117
+ "type": "address"
124
118
  },
125
119
  {
126
- "name": "_depositAmounts",
127
- "type": "uint256[]",
128
- "internalType": "uint256[]"
120
+ "indexed": true,
121
+ "internalType": "address",
122
+ "name": "_newAdmin",
123
+ "type": "address"
129
124
  }
130
125
  ],
131
- "outputs": [
126
+ "name": "AdminUpdateRequested",
127
+ "type": "event"
128
+ },
129
+ {
130
+ "anonymous": false,
131
+ "inputs": [
132
132
  {
133
- "name": "",
134
- "type": "tuple[]",
135
- "internalType": "struct Wallets[]",
136
- "components": [
137
- {
138
- "name": "deviceWallet",
139
- "type": "address",
140
- "internalType": "address"
141
- },
142
- {
143
- "name": "eSIMWallet",
144
- "type": "address",
145
- "internalType": "address"
146
- }
147
- ]
133
+ "indexed": true,
134
+ "internalType": "address",
135
+ "name": "_currentAdmin",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "indexed": true,
140
+ "internalType": "address",
141
+ "name": "_revokedAddress",
142
+ "type": "address"
148
143
  }
149
144
  ],
150
- "stateMutability": "payable"
145
+ "name": "AdminUpdateRevoked",
146
+ "type": "event"
151
147
  },
152
148
  {
153
- "type": "function",
154
- "name": "eSIMWalletAdmin",
155
- "inputs": [],
156
- "outputs": [
149
+ "anonymous": false,
150
+ "inputs": [
157
151
  {
158
- "name": "",
159
- "type": "address",
160
- "internalType": "address"
152
+ "indexed": true,
153
+ "internalType": "address",
154
+ "name": "_newAdmin",
155
+ "type": "address"
161
156
  }
162
157
  ],
163
- "stateMutability": "view"
158
+ "name": "AdminUpdated",
159
+ "type": "event"
164
160
  },
165
161
  {
166
- "type": "function",
167
- "name": "entryPoint",
168
- "inputs": [],
169
- "outputs": [
162
+ "anonymous": false,
163
+ "inputs": [
170
164
  {
171
- "name": "",
172
- "type": "address",
173
- "internalType": "contract IEntryPoint"
165
+ "indexed": true,
166
+ "internalType": "address",
167
+ "name": "_deviceWalletAddress",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "indexed": true,
172
+ "internalType": "address",
173
+ "name": "_eSIMWalletAddress",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "indexed": false,
178
+ "internalType": "bytes32[2]",
179
+ "name": "_deviceWalletOwnerKey",
180
+ "type": "bytes32[2]"
174
181
  }
175
182
  ],
176
- "stateMutability": "view"
183
+ "name": "DeviceWalletDeployed",
184
+ "type": "event"
177
185
  },
178
186
  {
179
- "type": "function",
180
- "name": "getAddress",
187
+ "anonymous": false,
181
188
  "inputs": [
182
189
  {
183
- "name": "_deviceWalletOwnerKey",
184
- "type": "bytes32[2]",
185
- "internalType": "bytes32[2]"
190
+ "indexed": false,
191
+ "internalType": "address",
192
+ "name": "_admin",
193
+ "type": "address"
186
194
  },
187
195
  {
188
- "name": "_deviceUniqueIdentifier",
189
- "type": "string",
190
- "internalType": "string"
196
+ "indexed": false,
197
+ "internalType": "address",
198
+ "name": "_vault",
199
+ "type": "address"
191
200
  },
192
201
  {
193
- "name": "_salt",
194
- "type": "uint256",
195
- "internalType": "uint256"
202
+ "indexed": true,
203
+ "internalType": "address",
204
+ "name": "_upgradeManager",
205
+ "type": "address"
206
+ },
207
+ {
208
+ "indexed": true,
209
+ "internalType": "address",
210
+ "name": "_deviceWalletImplementation",
211
+ "type": "address"
212
+ },
213
+ {
214
+ "indexed": true,
215
+ "internalType": "address",
216
+ "name": "_beacon",
217
+ "type": "address"
196
218
  }
197
219
  ],
198
- "outputs": [
220
+ "name": "DeviceWalletFactoryDeployed",
221
+ "type": "event"
222
+ },
223
+ {
224
+ "anonymous": false,
225
+ "inputs": [
199
226
  {
200
- "name": "",
201
- "type": "address",
202
- "internalType": "address"
227
+ "indexed": true,
228
+ "internalType": "address",
229
+ "name": "_newDeviceImplementation",
230
+ "type": "address"
203
231
  }
204
232
  ],
205
- "stateMutability": "view"
233
+ "name": "DeviceWalletImplementationUpdated",
234
+ "type": "event"
206
235
  },
207
236
  {
208
- "type": "function",
209
- "name": "getCurrentDeviceWalletImplementation",
210
- "inputs": [],
211
- "outputs": [
237
+ "anonymous": false,
238
+ "inputs": [
212
239
  {
213
- "name": "",
214
- "type": "address",
215
- "internalType": "address"
240
+ "indexed": false,
241
+ "internalType": "uint64",
242
+ "name": "version",
243
+ "type": "uint64"
216
244
  }
217
245
  ],
218
- "stateMutability": "view"
246
+ "name": "Initialized",
247
+ "type": "event"
219
248
  },
220
249
  {
221
- "type": "function",
222
- "name": "initialize",
250
+ "anonymous": false,
223
251
  "inputs": [
224
252
  {
225
- "name": "_deviceWalletImplementation",
226
- "type": "address",
227
- "internalType": "address"
228
- },
229
- {
230
- "name": "_eSIMWalletAdmin",
231
- "type": "address",
232
- "internalType": "address"
233
- },
234
- {
235
- "name": "_vault",
236
- "type": "address",
237
- "internalType": "address"
238
- },
239
- {
240
- "name": "_upgradeManager",
241
- "type": "address",
242
- "internalType": "address"
243
- },
244
- {
245
- "name": "_entryPoint",
246
- "type": "address",
247
- "internalType": "contract IEntryPoint"
253
+ "indexed": true,
254
+ "internalType": "address",
255
+ "name": "previousOwner",
256
+ "type": "address"
248
257
  },
249
258
  {
250
- "name": "_verifier",
251
- "type": "address",
252
- "internalType": "contract P256Verifier"
259
+ "indexed": true,
260
+ "internalType": "address",
261
+ "name": "newOwner",
262
+ "type": "address"
253
263
  }
254
264
  ],
255
- "outputs": [],
256
- "stateMutability": "nonpayable"
265
+ "name": "OwnershipTransferStarted",
266
+ "type": "event"
257
267
  },
258
268
  {
259
- "type": "function",
260
- "name": "newRequestedAdmin",
261
- "inputs": [],
262
- "outputs": [
269
+ "anonymous": false,
270
+ "inputs": [
263
271
  {
264
- "name": "",
265
- "type": "address",
266
- "internalType": "address"
272
+ "indexed": true,
273
+ "internalType": "address",
274
+ "name": "previousOwner",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "indexed": true,
279
+ "internalType": "address",
280
+ "name": "newOwner",
281
+ "type": "address"
267
282
  }
268
283
  ],
269
- "stateMutability": "view"
284
+ "name": "OwnershipTransferred",
285
+ "type": "event"
270
286
  },
271
287
  {
272
- "type": "function",
273
- "name": "owner",
274
- "inputs": [],
275
- "outputs": [
288
+ "anonymous": false,
289
+ "inputs": [
276
290
  {
277
- "name": "",
278
- "type": "address",
279
- "internalType": "address"
291
+ "indexed": true,
292
+ "internalType": "address",
293
+ "name": "implementation",
294
+ "type": "address"
280
295
  }
281
296
  ],
282
- "stateMutability": "view"
297
+ "name": "Upgraded",
298
+ "type": "event"
283
299
  },
284
300
  {
285
- "type": "function",
286
- "name": "pendingOwner",
287
- "inputs": [],
288
- "outputs": [
301
+ "anonymous": false,
302
+ "inputs": [
289
303
  {
290
- "name": "",
291
- "type": "address",
292
- "internalType": "address"
304
+ "indexed": true,
305
+ "internalType": "address",
306
+ "name": "_updatedVaultAddress",
307
+ "type": "address"
293
308
  }
294
309
  ],
295
- "stateMutability": "view"
310
+ "name": "VaultAddressUpdated",
311
+ "type": "event"
296
312
  },
297
313
  {
298
- "type": "function",
299
- "name": "proxiableUUID",
300
314
  "inputs": [],
315
+ "name": "UPGRADE_INTERFACE_VERSION",
301
316
  "outputs": [
302
317
  {
318
+ "internalType": "string",
303
319
  "name": "",
304
- "type": "bytes32",
305
- "internalType": "bytes32"
320
+ "type": "string"
306
321
  }
307
322
  ],
308
- "stateMutability": "view"
323
+ "stateMutability": "view",
324
+ "type": "function"
309
325
  },
310
326
  {
311
- "type": "function",
312
- "name": "registry",
313
327
  "inputs": [],
328
+ "name": "acceptAdminUpdate",
314
329
  "outputs": [
315
330
  {
331
+ "internalType": "address",
316
332
  "name": "",
317
- "type": "address",
318
- "internalType": "contract Registry"
333
+ "type": "address"
319
334
  }
320
335
  ],
321
- "stateMutability": "view"
336
+ "stateMutability": "nonpayable",
337
+ "type": "function"
322
338
  },
323
339
  {
324
- "type": "function",
325
- "name": "renounceOwnership",
326
340
  "inputs": [],
341
+ "name": "acceptOwnership",
327
342
  "outputs": [],
328
- "stateMutability": "nonpayable"
343
+ "stateMutability": "nonpayable",
344
+ "type": "function"
329
345
  },
330
346
  {
331
- "type": "function",
332
- "name": "requestAdminUpdate",
333
347
  "inputs": [
334
348
  {
335
- "name": "_newAdmin",
336
- "type": "address",
337
- "internalType": "address"
349
+ "internalType": "address",
350
+ "name": "_registryContractAddress",
351
+ "type": "address"
338
352
  }
339
353
  ],
340
- "outputs": [],
341
- "stateMutability": "nonpayable"
354
+ "name": "addRegistryAddress",
355
+ "outputs": [
356
+ {
357
+ "internalType": "address",
358
+ "name": "",
359
+ "type": "address"
360
+ }
361
+ ],
362
+ "stateMutability": "nonpayable",
363
+ "type": "function"
342
364
  },
343
365
  {
344
- "type": "function",
345
- "name": "transferOwnership",
346
- "inputs": [
366
+ "inputs": [],
367
+ "name": "beacon",
368
+ "outputs": [
347
369
  {
348
- "name": "newOwner",
349
- "type": "address",
350
- "internalType": "address"
370
+ "internalType": "contract UpgradeableBeacon",
371
+ "name": "",
372
+ "type": "address"
351
373
  }
352
374
  ],
353
- "outputs": [],
354
- "stateMutability": "nonpayable"
375
+ "stateMutability": "view",
376
+ "type": "function"
355
377
  },
356
378
  {
357
- "type": "function",
358
- "name": "updateDeviceWalletImplementation",
359
379
  "inputs": [
360
380
  {
361
- "name": "_newDeviceImpl",
362
- "type": "address",
363
- "internalType": "address"
381
+ "internalType": "string",
382
+ "name": "_deviceUniqueIdentifier",
383
+ "type": "string"
384
+ },
385
+ {
386
+ "internalType": "bytes32[2]",
387
+ "name": "_deviceWalletOwnerKey",
388
+ "type": "bytes32[2]"
389
+ },
390
+ {
391
+ "internalType": "uint256",
392
+ "name": "_salt",
393
+ "type": "uint256"
364
394
  }
365
395
  ],
396
+ "name": "createAccount",
366
397
  "outputs": [
367
398
  {
368
- "name": "",
369
- "type": "address",
370
- "internalType": "address"
399
+ "internalType": "contract DeviceWallet",
400
+ "name": "deviceWallet",
401
+ "type": "address"
371
402
  }
372
403
  ],
373
- "stateMutability": "nonpayable"
404
+ "stateMutability": "payable",
405
+ "type": "function"
374
406
  },
375
407
  {
376
- "type": "function",
377
- "name": "updateVaultAddress",
378
408
  "inputs": [
379
409
  {
380
- "name": "_newVaultAddress",
381
- "type": "address",
382
- "internalType": "address"
410
+ "internalType": "string[]",
411
+ "name": "_deviceUniqueIdentifiers",
412
+ "type": "string[]"
413
+ },
414
+ {
415
+ "internalType": "bytes32[2][]",
416
+ "name": "_deviceWalletOwnersKey",
417
+ "type": "bytes32[2][]"
418
+ },
419
+ {
420
+ "internalType": "uint256[]",
421
+ "name": "_salts",
422
+ "type": "uint256[]"
423
+ },
424
+ {
425
+ "internalType": "uint256[]",
426
+ "name": "_depositAmounts",
427
+ "type": "uint256[]"
383
428
  }
384
429
  ],
430
+ "name": "deployDeviceWalletForUsers",
385
431
  "outputs": [
386
432
  {
433
+ "components": [
434
+ {
435
+ "internalType": "address",
436
+ "name": "deviceWallet",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "internalType": "address",
441
+ "name": "eSIMWallet",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "internalType": "struct Wallets[]",
387
446
  "name": "",
388
- "type": "address",
389
- "internalType": "address"
447
+ "type": "tuple[]"
390
448
  }
391
449
  ],
392
- "stateMutability": "nonpayable"
450
+ "stateMutability": "payable",
451
+ "type": "function"
393
452
  },
394
453
  {
395
- "type": "function",
396
- "name": "upgradeToAndCall",
397
454
  "inputs": [
398
455
  {
399
- "name": "newImplementation",
400
- "type": "address",
401
- "internalType": "address"
402
- },
456
+ "internalType": "address",
457
+ "name": "deviceWallet",
458
+ "type": "address"
459
+ }
460
+ ],
461
+ "name": "deviceWalletInfoAdded",
462
+ "outputs": [
403
463
  {
404
- "name": "data",
405
- "type": "bytes",
406
- "internalType": "bytes"
464
+ "internalType": "bool",
465
+ "name": "isAdded",
466
+ "type": "bool"
407
467
  }
408
468
  ],
409
- "outputs": [],
410
- "stateMutability": "payable"
469
+ "stateMutability": "view",
470
+ "type": "function"
411
471
  },
412
472
  {
413
- "type": "function",
414
- "name": "vault",
415
473
  "inputs": [],
474
+ "name": "eSIMWalletAdmin",
416
475
  "outputs": [
417
476
  {
477
+ "internalType": "address",
418
478
  "name": "",
419
- "type": "address",
420
- "internalType": "address"
479
+ "type": "address"
421
480
  }
422
481
  ],
423
- "stateMutability": "view"
482
+ "stateMutability": "view",
483
+ "type": "function"
424
484
  },
425
485
  {
426
- "type": "function",
427
- "name": "verifier",
428
486
  "inputs": [],
487
+ "name": "eSIMWalletFactory",
429
488
  "outputs": [
430
489
  {
490
+ "internalType": "contract ESIMWalletFactory",
431
491
  "name": "",
432
- "type": "address",
433
- "internalType": "contract P256Verifier"
492
+ "type": "address"
434
493
  }
435
494
  ],
436
- "stateMutability": "view"
495
+ "stateMutability": "view",
496
+ "type": "function"
437
497
  },
438
498
  {
439
- "type": "event",
440
- "name": "AddedRegistry",
441
- "inputs": [
499
+ "inputs": [],
500
+ "name": "entryPoint",
501
+ "outputs": [
442
502
  {
443
- "name": "registry",
444
- "type": "address",
445
- "indexed": true,
446
- "internalType": "address"
503
+ "internalType": "contract IEntryPoint",
504
+ "name": "",
505
+ "type": "address"
447
506
  }
448
507
  ],
449
- "anonymous": false
508
+ "stateMutability": "view",
509
+ "type": "function"
450
510
  },
451
511
  {
452
- "type": "event",
453
- "name": "AdminUpdateRequested",
454
512
  "inputs": [
455
513
  {
456
- "name": "eSIMWalletAdmin",
457
- "type": "address",
458
- "indexed": true,
459
- "internalType": "address"
514
+ "internalType": "bytes32[2]",
515
+ "name": "_deviceWalletOwnerKey",
516
+ "type": "bytes32[2]"
460
517
  },
461
518
  {
462
- "name": "_newAdmin",
463
- "type": "address",
464
- "indexed": true,
465
- "internalType": "address"
466
- }
467
- ],
468
- "anonymous": false
469
- },
470
- {
471
- "type": "event",
472
- "name": "AdminUpdateRevoked",
473
- "inputs": [
474
- {
475
- "name": "_currentAdmin",
476
- "type": "address",
477
- "indexed": true,
478
- "internalType": "address"
519
+ "internalType": "string",
520
+ "name": "_deviceUniqueIdentifier",
521
+ "type": "string"
479
522
  },
480
523
  {
481
- "name": "_revokedAddress",
482
- "type": "address",
483
- "indexed": true,
484
- "internalType": "address"
524
+ "internalType": "uint256",
525
+ "name": "_salt",
526
+ "type": "uint256"
485
527
  }
486
528
  ],
487
- "anonymous": false
488
- },
489
- {
490
- "type": "event",
491
- "name": "AdminUpdated",
492
- "inputs": [
529
+ "name": "getCounterFactualAddress",
530
+ "outputs": [
493
531
  {
494
- "name": "_newAdmin",
495
- "type": "address",
496
- "indexed": true,
497
- "internalType": "address"
532
+ "internalType": "address",
533
+ "name": "",
534
+ "type": "address"
498
535
  }
499
536
  ],
500
- "anonymous": false
537
+ "stateMutability": "view",
538
+ "type": "function"
501
539
  },
502
540
  {
503
- "type": "event",
504
- "name": "DeviceWalletDeployed",
505
- "inputs": [
506
- {
507
- "name": "_deviceWalletAddress",
508
- "type": "address",
509
- "indexed": true,
510
- "internalType": "address"
511
- },
512
- {
513
- "name": "_eSIMWalletAddress",
514
- "type": "address",
515
- "indexed": true,
516
- "internalType": "address"
517
- },
541
+ "inputs": [],
542
+ "name": "getCurrentDeviceWalletImplementation",
543
+ "outputs": [
518
544
  {
519
- "name": "_deviceWalletOwnerKey",
520
- "type": "bytes32[2]",
521
- "indexed": false,
522
- "internalType": "bytes32[2]"
545
+ "internalType": "address",
546
+ "name": "",
547
+ "type": "address"
523
548
  }
524
549
  ],
525
- "anonymous": false
550
+ "stateMutability": "view",
551
+ "type": "function"
526
552
  },
527
553
  {
528
- "type": "event",
529
- "name": "DeviceWalletFactoryDeployed",
530
554
  "inputs": [
531
555
  {
532
- "name": "_admin",
533
- "type": "address",
534
- "indexed": false,
535
- "internalType": "address"
556
+ "internalType": "address",
557
+ "name": "_deviceWalletImplementation",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "address",
562
+ "name": "_eSIMWalletAdmin",
563
+ "type": "address"
536
564
  },
537
565
  {
566
+ "internalType": "address",
538
567
  "name": "_vault",
539
- "type": "address",
540
- "indexed": false,
541
- "internalType": "address"
568
+ "type": "address"
542
569
  },
543
570
  {
571
+ "internalType": "address",
544
572
  "name": "_upgradeManager",
545
- "type": "address",
546
- "indexed": true,
547
- "internalType": "address"
573
+ "type": "address"
548
574
  },
549
575
  {
550
- "name": "_deviceWalletImplementation",
551
- "type": "address",
552
- "indexed": true,
553
- "internalType": "address"
576
+ "internalType": "address",
577
+ "name": "_eSIMWalletFactoryAddress",
578
+ "type": "address"
554
579
  },
555
580
  {
556
- "name": "_beacon",
557
- "type": "address",
558
- "indexed": true,
559
- "internalType": "address"
581
+ "internalType": "contract IEntryPoint",
582
+ "name": "_entryPoint",
583
+ "type": "address"
584
+ },
585
+ {
586
+ "internalType": "contract P256Verifier",
587
+ "name": "_verifier",
588
+ "type": "address"
560
589
  }
561
590
  ],
562
- "anonymous": false
591
+ "name": "initialize",
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable",
594
+ "type": "function"
563
595
  },
564
596
  {
565
- "type": "event",
566
- "name": "DeviceWalletImplementationUpdated",
567
- "inputs": [
597
+ "inputs": [],
598
+ "name": "newRequestedAdmin",
599
+ "outputs": [
568
600
  {
569
- "name": "_newDeviceImplementation",
570
- "type": "address",
571
- "indexed": true,
572
- "internalType": "address"
601
+ "internalType": "address",
602
+ "name": "",
603
+ "type": "address"
573
604
  }
574
605
  ],
575
- "anonymous": false
606
+ "stateMutability": "view",
607
+ "type": "function"
576
608
  },
577
609
  {
578
- "type": "event",
579
- "name": "Initialized",
580
- "inputs": [
610
+ "inputs": [],
611
+ "name": "owner",
612
+ "outputs": [
581
613
  {
582
- "name": "version",
583
- "type": "uint64",
584
- "indexed": false,
585
- "internalType": "uint64"
614
+ "internalType": "address",
615
+ "name": "",
616
+ "type": "address"
586
617
  }
587
618
  ],
588
- "anonymous": false
619
+ "stateMutability": "view",
620
+ "type": "function"
589
621
  },
590
622
  {
591
- "type": "event",
592
- "name": "OwnershipTransferStarted",
593
- "inputs": [
594
- {
595
- "name": "previousOwner",
596
- "type": "address",
597
- "indexed": true,
598
- "internalType": "address"
599
- },
623
+ "inputs": [],
624
+ "name": "pendingOwner",
625
+ "outputs": [
600
626
  {
601
- "name": "newOwner",
602
- "type": "address",
603
- "indexed": true,
604
- "internalType": "address"
627
+ "internalType": "address",
628
+ "name": "",
629
+ "type": "address"
605
630
  }
606
631
  ],
607
- "anonymous": false
632
+ "stateMutability": "view",
633
+ "type": "function"
608
634
  },
609
635
  {
610
- "type": "event",
611
- "name": "OwnershipTransferred",
612
636
  "inputs": [
613
637
  {
614
- "name": "previousOwner",
615
- "type": "address",
616
- "indexed": true,
617
- "internalType": "address"
638
+ "internalType": "address",
639
+ "name": "_deviceWallet",
640
+ "type": "address"
618
641
  },
619
642
  {
620
- "name": "newOwner",
621
- "type": "address",
622
- "indexed": true,
623
- "internalType": "address"
643
+ "internalType": "string",
644
+ "name": "_deviceUniqueIdentifier",
645
+ "type": "string"
646
+ },
647
+ {
648
+ "internalType": "bytes32[2]",
649
+ "name": "_deviceWalletOwnerKey",
650
+ "type": "bytes32[2]"
624
651
  }
625
652
  ],
626
- "anonymous": false
653
+ "name": "postCreateAccount",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
627
657
  },
628
658
  {
629
- "type": "event",
630
- "name": "Upgraded",
631
659
  "inputs": [
632
660
  {
633
- "name": "implementation",
634
- "type": "address",
635
- "indexed": true,
636
- "internalType": "address"
661
+ "internalType": "string",
662
+ "name": "_deviceUniqueIdentifier",
663
+ "type": "string"
664
+ },
665
+ {
666
+ "internalType": "bytes32[2]",
667
+ "name": "_deviceWalletOwnerKey",
668
+ "type": "bytes32[2]"
637
669
  }
638
670
  ],
639
- "anonymous": false
640
- },
641
- {
642
- "type": "event",
643
- "name": "VaultAddressUpdated",
644
- "inputs": [
671
+ "name": "preCreateAccountValidation",
672
+ "outputs": [
645
673
  {
646
- "name": "_updatedVaultAddress",
647
- "type": "address",
648
- "indexed": true,
649
- "internalType": "address"
674
+ "internalType": "address",
675
+ "name": "wallet",
676
+ "type": "address"
650
677
  }
651
678
  ],
652
- "anonymous": false
679
+ "stateMutability": "view",
680
+ "type": "function"
653
681
  },
654
682
  {
655
- "type": "error",
656
- "name": "AddressEmptyCode",
657
- "inputs": [
683
+ "inputs": [],
684
+ "name": "proxiableUUID",
685
+ "outputs": [
658
686
  {
659
- "name": "target",
660
- "type": "address",
661
- "internalType": "address"
687
+ "internalType": "bytes32",
688
+ "name": "",
689
+ "type": "bytes32"
662
690
  }
663
- ]
691
+ ],
692
+ "stateMutability": "view",
693
+ "type": "function"
664
694
  },
665
695
  {
666
- "type": "error",
667
- "name": "ERC1967InvalidImplementation",
668
- "inputs": [
696
+ "inputs": [],
697
+ "name": "registry",
698
+ "outputs": [
669
699
  {
670
- "name": "implementation",
671
- "type": "address",
672
- "internalType": "address"
700
+ "internalType": "contract Registry",
701
+ "name": "",
702
+ "type": "address"
673
703
  }
674
- ]
675
- },
676
- {
677
- "type": "error",
678
- "name": "ERC1967NonPayable",
679
- "inputs": []
704
+ ],
705
+ "stateMutability": "view",
706
+ "type": "function"
680
707
  },
681
708
  {
682
- "type": "error",
683
- "name": "FailedInnerCall",
684
- "inputs": []
709
+ "inputs": [],
710
+ "name": "renounceOwnership",
711
+ "outputs": [],
712
+ "stateMutability": "nonpayable",
713
+ "type": "function"
685
714
  },
686
715
  {
687
- "type": "error",
688
- "name": "InvalidInitialization",
689
- "inputs": []
716
+ "inputs": [
717
+ {
718
+ "internalType": "address",
719
+ "name": "_newAdmin",
720
+ "type": "address"
721
+ }
722
+ ],
723
+ "name": "requestAdminUpdate",
724
+ "outputs": [],
725
+ "stateMutability": "nonpayable",
726
+ "type": "function"
690
727
  },
691
728
  {
692
- "type": "error",
693
- "name": "NotInitializing",
694
- "inputs": []
729
+ "inputs": [
730
+ {
731
+ "internalType": "address",
732
+ "name": "newOwner",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "name": "transferOwnership",
737
+ "outputs": [],
738
+ "stateMutability": "nonpayable",
739
+ "type": "function"
695
740
  },
696
741
  {
697
- "type": "error",
698
- "name": "OnlyAdmin",
699
- "inputs": []
742
+ "inputs": [
743
+ {
744
+ "internalType": "address",
745
+ "name": "_newDeviceImpl",
746
+ "type": "address"
747
+ }
748
+ ],
749
+ "name": "updateDeviceWalletImplementation",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
700
759
  },
701
760
  {
702
- "type": "error",
703
- "name": "OwnableInvalidOwner",
704
761
  "inputs": [
705
762
  {
706
- "name": "owner",
707
- "type": "address",
708
- "internalType": "address"
763
+ "internalType": "address",
764
+ "name": "_newVaultAddress",
765
+ "type": "address"
766
+ }
767
+ ],
768
+ "name": "updateVaultAddress",
769
+ "outputs": [
770
+ {
771
+ "internalType": "address",
772
+ "name": "",
773
+ "type": "address"
709
774
  }
710
- ]
775
+ ],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
711
778
  },
712
779
  {
713
- "type": "error",
714
- "name": "OwnableUnauthorizedAccount",
715
780
  "inputs": [
716
781
  {
717
- "name": "account",
718
- "type": "address",
719
- "internalType": "address"
782
+ "internalType": "address",
783
+ "name": "newImplementation",
784
+ "type": "address"
785
+ },
786
+ {
787
+ "internalType": "bytes",
788
+ "name": "data",
789
+ "type": "bytes"
720
790
  }
721
- ]
791
+ ],
792
+ "name": "upgradeToAndCall",
793
+ "outputs": [],
794
+ "stateMutability": "payable",
795
+ "type": "function"
722
796
  },
723
797
  {
724
- "type": "error",
725
- "name": "UUPSUnauthorizedCallContext",
726
- "inputs": []
798
+ "inputs": [],
799
+ "name": "vault",
800
+ "outputs": [
801
+ {
802
+ "internalType": "address",
803
+ "name": "",
804
+ "type": "address"
805
+ }
806
+ ],
807
+ "stateMutability": "view",
808
+ "type": "function"
727
809
  },
728
810
  {
729
- "type": "error",
730
- "name": "UUPSUnsupportedProxiableUUID",
731
- "inputs": [
811
+ "inputs": [],
812
+ "name": "verifier",
813
+ "outputs": [
732
814
  {
733
- "name": "slot",
734
- "type": "bytes32",
735
- "internalType": "bytes32"
815
+ "internalType": "contract P256Verifier",
816
+ "name": "",
817
+ "type": "address"
736
818
  }
737
- ]
819
+ ],
820
+ "stateMutability": "view",
821
+ "type": "function"
738
822
  }
739
- ]
823
+ ]