kokio-sdk 0.0.3 → 0.0.5

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