kokio-sdk 1.0.0 → 2.0.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/README.md +68 -19
- package/dist/esm/abis/BeaconProxy.js +30 -46
- package/dist/esm/abis/DeviceWallet.js +546 -535
- package/dist/esm/abis/DeviceWalletFactory.js +537 -544
- package/dist/esm/abis/ESIMWallet.js +440 -299
- package/dist/esm/abis/ESIMWalletFactory.js +372 -289
- package/dist/esm/abis/LazyWalletRegistry.js +941 -421
- package/dist/esm/abis/P256Verifier.js +29 -29
- package/dist/esm/abis/ProtocolAdmin.js +1228 -0
- package/dist/esm/abis/Registry.js +1207 -466
- package/dist/esm/abis/RegistryHelper.js +414 -20
- package/dist/esm/abis/index.js +2 -1
- package/dist/esm/admin/config-admin.js +24 -0
- package/dist/esm/admin/interface/deviceWalletClass.js +27 -6
- package/dist/esm/admin/interface/deviceWalletFactoryClass.js +41 -19
- package/dist/esm/admin/interface/eSIMWalletClass.js +10 -1
- package/dist/esm/admin/interface/eSIMWalletFactoryClass.js +24 -2
- package/dist/esm/admin/interface/lazyWalletRegistryClass.js +83 -4
- package/dist/esm/admin/interface/protocolAdminClass.js +195 -0
- package/dist/esm/admin/interface/registryClass.js +93 -2
- package/dist/esm/config.js +42 -7
- package/dist/esm/interface/deviceWalletClass.js +45 -5
- package/dist/esm/interface/deviceWalletFactoryClass.js +20 -1
- package/dist/esm/interface/eSIMWalletClass.js +12 -3
- package/dist/esm/interface/registryClass.js +47 -0
- package/dist/esm/interface/smartAccountClass.js +2 -4
- package/dist/esm/logic/account-kit/createSmartAccount.js +156 -102
- package/dist/esm/logic/admin/deviceWallet.eoa.js +23 -12
- package/dist/esm/logic/admin/deviceWalletFactory.eoa.js +63 -42
- package/dist/esm/logic/admin/eSIMWallet.eoa.js +3 -5
- package/dist/esm/logic/admin/eSIMWalletFactory.eoa.js +76 -8
- package/dist/esm/logic/admin/lazyWalletRegistry.eoa.js +330 -19
- package/dist/esm/logic/admin/protocolAdmin.eoa.js +524 -0
- package/dist/esm/logic/admin/reads/deviceWallet.reads.js +82 -7
- package/dist/esm/logic/admin/reads/deviceWalletFactory.reads.js +82 -23
- package/dist/esm/logic/admin/reads/eSIMWallet.reads.js +50 -6
- package/dist/esm/logic/admin/reads/eSIMWalletFactory.reads.js +63 -5
- package/dist/esm/logic/admin/reads/lazyWalletRegistry.reads.js +171 -10
- package/dist/esm/logic/admin/reads/protocolAdmin.reads.js +154 -0
- package/dist/esm/logic/admin/reads/registry.reads.js +289 -9
- package/dist/esm/logic/admin/registry.eoa.js +274 -4
- package/dist/esm/logic/constants.js +53 -26
- package/dist/esm/logic/deviceWallet.js +224 -31
- package/dist/esm/logic/deviceWalletFactory.js +89 -0
- package/dist/esm/logic/eSIMWallet.js +113 -43
- package/dist/esm/logic/eSIMWalletFactory.js +8 -8
- package/dist/esm/logic/errors.js +64 -0
- package/dist/esm/logic/registry.js +236 -0
- package/dist/esm/logic/utils.js +2 -1
- package/dist/types/abis/BeaconProxy.d.ts +21 -33
- package/dist/types/abis/DeviceWallet.d.ts +372 -365
- package/dist/types/abis/DeviceWalletFactory.d.ts +438 -448
- package/dist/types/abis/ESIMWallet.d.ts +352 -245
- package/dist/types/abis/ESIMWalletFactory.d.ts +278 -216
- package/dist/types/abis/LazyWalletRegistry.d.ts +710 -317
- package/dist/types/abis/P256Verifier.d.ts +16 -16
- package/dist/types/abis/ProtocolAdmin.d.ts +947 -0
- package/dist/types/abis/Registry.d.ts +960 -393
- package/dist/types/abis/RegistryHelper.d.ts +317 -16
- package/dist/types/abis/index.d.ts +2 -1
- package/dist/types/admin/config-admin.d.ts +16 -0
- package/dist/types/admin/interface/deviceWalletClass.d.ts +10 -3
- package/dist/types/admin/interface/deviceWalletFactoryClass.d.ts +14 -7
- package/dist/types/admin/interface/eSIMWalletClass.d.ts +3 -0
- package/dist/types/admin/interface/eSIMWalletFactoryClass.d.ts +8 -1
- package/dist/types/admin/interface/lazyWalletRegistryClass.d.ts +38 -2
- package/dist/types/admin/interface/protocolAdminClass.d.ts +95 -0
- package/dist/types/admin/interface/registryClass.d.ts +30 -0
- package/dist/types/config.d.ts +26 -5
- package/dist/types/interface/P256VerifierClass.d.ts +3 -4
- package/dist/types/interface/constantsClass.d.ts +2 -2
- package/dist/types/interface/deviceWalletClass.d.ts +22 -2569
- package/dist/types/interface/deviceWalletFactoryClass.d.ts +10 -2564
- package/dist/types/interface/eSIMWalletClass.d.ts +11 -8
- package/dist/types/interface/eSIMWalletFactoryClass.d.ts +5 -2565
- package/dist/types/interface/registryClass.d.ts +19 -0
- package/dist/types/interface/smartAccountClass.d.ts +6 -2568
- package/dist/types/logic/P256Verifier.d.ts +2 -2
- package/dist/types/logic/account-kit/createSmartAccount.d.ts +43 -19
- package/dist/types/logic/admin/deviceWallet.eoa.d.ts +15 -9
- package/dist/types/logic/admin/deviceWalletFactory.eoa.d.ts +34 -23
- package/dist/types/logic/admin/eSIMWallet.eoa.d.ts +0 -5
- package/dist/types/logic/admin/eSIMWalletFactory.eoa.d.ts +27 -9
- package/dist/types/logic/admin/lazyWalletRegistry.eoa.d.ts +102 -10
- package/dist/types/logic/admin/protocolAdmin.eoa.d.ts +163 -0
- package/dist/types/logic/admin/reads/deviceWallet.reads.d.ts +28 -8
- package/dist/types/logic/admin/reads/deviceWalletFactory.reads.d.ts +45 -14
- package/dist/types/logic/admin/reads/eSIMWallet.reads.d.ts +25 -6
- package/dist/types/logic/admin/reads/eSIMWalletFactory.reads.d.ts +21 -6
- package/dist/types/logic/admin/reads/lazyWalletRegistry.reads.d.ts +44 -11
- package/dist/types/logic/admin/reads/protocolAdmin.reads.d.ts +53 -0
- package/dist/types/logic/admin/reads/registry.reads.d.ts +105 -9
- package/dist/types/logic/admin/registry.eoa.d.ts +102 -5
- package/dist/types/logic/constants.d.ts +2 -0
- package/dist/types/logic/deviceWallet.d.ts +78 -6
- package/dist/types/logic/deviceWalletFactory.d.ts +32 -3
- package/dist/types/logic/eSIMWallet.d.ts +48 -7
- package/dist/types/logic/eSIMWalletFactory.d.ts +3 -3
- package/dist/types/logic/errors.d.ts +45 -0
- package/dist/types/logic/registry.d.ts +78 -0
- package/dist/types/types-export.d.ts +1 -1
- package/dist/types/types.d.ts +111 -1
- package/package.json +11 -13
- package/dist/esm/interface/lazyWalletRegistryClass.js +0 -10
- package/dist/esm/logic/lazyWalletRegistry.js +0 -19
- package/dist/types/interface/lazyWalletRegistryClass.d.ts +0 -6
- package/dist/types/logic/lazyWalletRegistry.d.ts +0 -2
|
@@ -1,566 +1,959 @@
|
|
|
1
1
|
declare const LazyWalletRegistry: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "MAX_ESIM_WALLETS_PER_CALL";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "uint256";
|
|
8
|
+
readonly internalType: "uint256";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "MAX_HISTORY_ENTRIES_PER_CALL";
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly name: "";
|
|
17
|
+
readonly type: "uint256";
|
|
18
|
+
readonly internalType: "uint256";
|
|
19
|
+
}];
|
|
20
|
+
readonly stateMutability: "view";
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly name: "";
|
|
27
|
+
readonly type: "string";
|
|
28
|
+
readonly internalType: "string";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly name: "acceptOwnership";
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly outputs: readonly [];
|
|
36
|
+
readonly stateMutability: "nonpayable";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "batchPopulateHistory";
|
|
40
|
+
readonly inputs: readonly [{
|
|
41
|
+
readonly name: "_deviceUniqueIdentifiers";
|
|
42
|
+
readonly type: "string[]";
|
|
43
|
+
readonly internalType: "string[]";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "_eSIMUniqueIdentifiers";
|
|
46
|
+
readonly type: "string[][]";
|
|
47
|
+
readonly internalType: "string[][]";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "_dataBundleDetails";
|
|
50
|
+
readonly type: "tuple[][]";
|
|
51
|
+
readonly internalType: "struct DataBundleDetails[][]";
|
|
52
|
+
readonly components: readonly [{
|
|
53
|
+
readonly name: "dataBundleID";
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly internalType: "string";
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "dataBundlePrice";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
}];
|
|
61
|
+
}];
|
|
62
|
+
readonly outputs: readonly [];
|
|
63
|
+
readonly stateMutability: "nonpayable";
|
|
64
|
+
}, {
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
readonly name: "deployLazyWalletAndSetESIMIdentifier";
|
|
2
67
|
readonly inputs: readonly [{
|
|
68
|
+
readonly name: "_deviceOwnerPublicKey";
|
|
69
|
+
readonly type: "bytes32[2]";
|
|
70
|
+
readonly internalType: "bytes32[2]";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
73
|
+
readonly type: "string";
|
|
74
|
+
readonly internalType: "string";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "_salt";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "_depositAmount";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "_maxWallets";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
readonly internalType: "uint256";
|
|
87
|
+
}];
|
|
88
|
+
readonly outputs: readonly [{
|
|
89
|
+
readonly name: "deviceWallet";
|
|
90
|
+
readonly type: "address";
|
|
3
91
|
readonly internalType: "address";
|
|
4
|
-
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "eSIMWallets";
|
|
94
|
+
readonly type: "address[]";
|
|
95
|
+
readonly internalType: "address[]";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "remaining";
|
|
98
|
+
readonly type: "uint256";
|
|
99
|
+
readonly internalType: "uint256";
|
|
100
|
+
}];
|
|
101
|
+
readonly stateMutability: "payable";
|
|
102
|
+
}, {
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
readonly name: "deployMoreESIMWalletsForLazyDevice";
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly internalType: "string";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "_maxWallets";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
readonly internalType: "uint256";
|
|
113
|
+
}];
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly name: "eSIMWallets";
|
|
116
|
+
readonly type: "address[]";
|
|
117
|
+
readonly internalType: "address[]";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "remaining";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
readonly internalType: "uint256";
|
|
122
|
+
}];
|
|
123
|
+
readonly stateMutability: "nonpayable";
|
|
124
|
+
}, {
|
|
125
|
+
readonly type: "function";
|
|
126
|
+
readonly name: "deviceIdentifierToESIMDetails";
|
|
127
|
+
readonly inputs: readonly [{
|
|
128
|
+
readonly name: "deviceIdentifier";
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
readonly internalType: "string";
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "eSIMIdentifier";
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly internalType: "string";
|
|
135
|
+
}, {
|
|
136
|
+
readonly name: "";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
readonly internalType: "uint256";
|
|
139
|
+
}];
|
|
140
|
+
readonly outputs: readonly [{
|
|
141
|
+
readonly name: "dataBundleID";
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly internalType: "string";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "dataBundlePrice";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
readonly internalType: "uint256";
|
|
148
|
+
}];
|
|
149
|
+
readonly stateMutability: "view";
|
|
150
|
+
}, {
|
|
151
|
+
readonly type: "function";
|
|
152
|
+
readonly name: "eSIMIdentifierToDeviceIdentifier";
|
|
153
|
+
readonly inputs: readonly [{
|
|
154
|
+
readonly name: "eSIMIdentifier";
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly internalType: "string";
|
|
157
|
+
}];
|
|
158
|
+
readonly outputs: readonly [{
|
|
159
|
+
readonly name: "deviceIdentifier";
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
readonly internalType: "string";
|
|
162
|
+
}];
|
|
163
|
+
readonly stateMutability: "view";
|
|
164
|
+
}, {
|
|
165
|
+
readonly type: "function";
|
|
166
|
+
readonly name: "eSIMIdentifiersAssociatedWithDeviceIdentifier";
|
|
167
|
+
readonly inputs: readonly [{
|
|
168
|
+
readonly name: "deviceIdentifier";
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly internalType: "string";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
readonly internalType: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly name: "associatedESIMIdentifiers";
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
readonly internalType: "string";
|
|
180
|
+
}];
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "eSIMWalletsDeployed";
|
|
185
|
+
readonly inputs: readonly [{
|
|
186
|
+
readonly name: "deviceIdentifier";
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly internalType: "string";
|
|
189
|
+
}];
|
|
190
|
+
readonly outputs: readonly [{
|
|
191
|
+
readonly name: "deployed";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
readonly internalType: "uint256";
|
|
194
|
+
}];
|
|
195
|
+
readonly stateMutability: "view";
|
|
196
|
+
}, {
|
|
197
|
+
readonly type: "function";
|
|
198
|
+
readonly name: "historyEntriesCopied";
|
|
199
|
+
readonly inputs: readonly [{
|
|
200
|
+
readonly name: "eSIMIdentifier";
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly internalType: "string";
|
|
203
|
+
}];
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly name: "copied";
|
|
206
|
+
readonly type: "uint256";
|
|
207
|
+
readonly internalType: "uint256";
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "initialize";
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly name: "_registry";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
readonly internalType: "address";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "_upgradeManager";
|
|
5
219
|
readonly type: "address";
|
|
220
|
+
readonly internalType: "address";
|
|
6
221
|
}];
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
222
|
+
readonly outputs: readonly [];
|
|
223
|
+
readonly stateMutability: "nonpayable";
|
|
9
224
|
}, {
|
|
225
|
+
readonly type: "function";
|
|
226
|
+
readonly name: "isDeviceIdentifierReserved";
|
|
10
227
|
readonly inputs: readonly [{
|
|
228
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly internalType: "string";
|
|
231
|
+
}];
|
|
232
|
+
readonly outputs: readonly [{
|
|
233
|
+
readonly name: "";
|
|
234
|
+
readonly type: "bool";
|
|
235
|
+
readonly internalType: "bool";
|
|
236
|
+
}];
|
|
237
|
+
readonly stateMutability: "view";
|
|
238
|
+
}, {
|
|
239
|
+
readonly type: "function";
|
|
240
|
+
readonly name: "isESIMIdentifierReserved";
|
|
241
|
+
readonly inputs: readonly [{
|
|
242
|
+
readonly name: "_eSIMUniqueIdentifier";
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
readonly internalType: "string";
|
|
245
|
+
}];
|
|
246
|
+
readonly outputs: readonly [{
|
|
247
|
+
readonly name: "";
|
|
248
|
+
readonly type: "bool";
|
|
249
|
+
readonly internalType: "bool";
|
|
250
|
+
}];
|
|
251
|
+
readonly stateMutability: "view";
|
|
252
|
+
}, {
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
readonly name: "lazyDeployedESIMWallet";
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly name: "eSIMIdentifier";
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
readonly internalType: "string";
|
|
259
|
+
}];
|
|
260
|
+
readonly outputs: readonly [{
|
|
261
|
+
readonly name: "eSIMWallet";
|
|
262
|
+
readonly type: "address";
|
|
11
263
|
readonly internalType: "address";
|
|
12
|
-
|
|
264
|
+
}];
|
|
265
|
+
readonly stateMutability: "view";
|
|
266
|
+
}, {
|
|
267
|
+
readonly type: "function";
|
|
268
|
+
readonly name: "lazyDeploymentSalt";
|
|
269
|
+
readonly inputs: readonly [{
|
|
270
|
+
readonly name: "deviceIdentifier";
|
|
271
|
+
readonly type: "string";
|
|
272
|
+
readonly internalType: "string";
|
|
273
|
+
}];
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly name: "baseSalt";
|
|
276
|
+
readonly type: "uint256";
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "owner";
|
|
283
|
+
readonly inputs: readonly [];
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly name: "";
|
|
13
286
|
readonly type: "address";
|
|
287
|
+
readonly internalType: "address";
|
|
14
288
|
}];
|
|
15
|
-
readonly
|
|
16
|
-
readonly type: "error";
|
|
289
|
+
readonly stateMutability: "view";
|
|
17
290
|
}, {
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
readonly name: "pendingOwner";
|
|
18
293
|
readonly inputs: readonly [];
|
|
19
|
-
readonly
|
|
20
|
-
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly name: "";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
21
300
|
}, {
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
readonly name: "proxiableUUID";
|
|
22
303
|
readonly inputs: readonly [];
|
|
23
|
-
readonly
|
|
24
|
-
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly name: "";
|
|
306
|
+
readonly type: "bytes32";
|
|
307
|
+
readonly internalType: "bytes32";
|
|
308
|
+
}];
|
|
309
|
+
readonly stateMutability: "view";
|
|
25
310
|
}, {
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "registry";
|
|
26
313
|
readonly inputs: readonly [];
|
|
27
|
-
readonly
|
|
28
|
-
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly name: "";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
readonly internalType: "contract Registry";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
29
320
|
}, {
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "renounceOwnership";
|
|
30
323
|
readonly inputs: readonly [];
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
324
|
+
readonly outputs: readonly [];
|
|
325
|
+
readonly stateMutability: "pure";
|
|
33
326
|
}, {
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
readonly name: "setHistoryForLazyWallet";
|
|
34
329
|
readonly inputs: readonly [{
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
330
|
+
readonly name: "_eSIMIdentifier";
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
readonly internalType: "string";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "_maxEntries";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
readonly internalType: "uint256";
|
|
38
337
|
}];
|
|
39
|
-
readonly
|
|
40
|
-
|
|
338
|
+
readonly outputs: readonly [{
|
|
339
|
+
readonly name: "copied";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "remaining";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
}];
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
41
348
|
}, {
|
|
349
|
+
readonly type: "function";
|
|
350
|
+
readonly name: "switchESIMIdentifierToNewDeviceIdentifier";
|
|
42
351
|
readonly inputs: readonly [{
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
352
|
+
readonly name: "_eSIMIdentifier";
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
readonly internalType: "string";
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "_oldDeviceIdentifier";
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly internalType: "string";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "_newDeviceIdentifier";
|
|
361
|
+
readonly type: "string";
|
|
362
|
+
readonly internalType: "string";
|
|
363
|
+
}];
|
|
364
|
+
readonly outputs: readonly [{
|
|
365
|
+
readonly name: "";
|
|
366
|
+
readonly type: "bool";
|
|
367
|
+
readonly internalType: "bool";
|
|
368
|
+
}];
|
|
369
|
+
readonly stateMutability: "nonpayable";
|
|
370
|
+
}, {
|
|
371
|
+
readonly type: "function";
|
|
372
|
+
readonly name: "transferOwnership";
|
|
373
|
+
readonly inputs: readonly [{
|
|
374
|
+
readonly name: "newOwner";
|
|
45
375
|
readonly type: "address";
|
|
376
|
+
readonly internalType: "address";
|
|
46
377
|
}];
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
378
|
+
readonly outputs: readonly [];
|
|
379
|
+
readonly stateMutability: "nonpayable";
|
|
49
380
|
}, {
|
|
381
|
+
readonly type: "function";
|
|
382
|
+
readonly name: "upgradeManager";
|
|
50
383
|
readonly inputs: readonly [];
|
|
51
|
-
readonly
|
|
52
|
-
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly name: "";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
readonly internalType: "address";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
53
390
|
}, {
|
|
391
|
+
readonly type: "function";
|
|
392
|
+
readonly name: "upgradeToAndCall";
|
|
54
393
|
readonly inputs: readonly [{
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
394
|
+
readonly name: "newImplementation";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
readonly internalType: "address";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "data";
|
|
399
|
+
readonly type: "bytes";
|
|
400
|
+
readonly internalType: "bytes";
|
|
58
401
|
}];
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
402
|
+
readonly outputs: readonly [];
|
|
403
|
+
readonly stateMutability: "payable";
|
|
61
404
|
}, {
|
|
62
|
-
readonly
|
|
405
|
+
readonly type: "event";
|
|
406
|
+
readonly name: "DataBundleDetailsDeletedFromOldDeviceIdentifier";
|
|
63
407
|
readonly inputs: readonly [{
|
|
64
|
-
readonly indexed: false;
|
|
65
|
-
readonly internalType: "string";
|
|
66
408
|
readonly name: "_oldDeviceIdentifier";
|
|
67
409
|
readonly type: "string";
|
|
68
|
-
}, {
|
|
69
410
|
readonly indexed: false;
|
|
70
411
|
readonly internalType: "string";
|
|
412
|
+
}, {
|
|
71
413
|
readonly name: "_eSIMIdentifier";
|
|
72
414
|
readonly type: "string";
|
|
415
|
+
readonly indexed: false;
|
|
416
|
+
readonly internalType: "string";
|
|
73
417
|
}];
|
|
74
|
-
readonly name: "DataBundleDetailsDeletedFromOldDeviceIdentifier";
|
|
75
|
-
readonly type: "event";
|
|
76
|
-
}, {
|
|
77
418
|
readonly anonymous: false;
|
|
419
|
+
}, {
|
|
420
|
+
readonly type: "event";
|
|
421
|
+
readonly name: "DataBundleDetailsTransferredToNewDeviceIdentifier";
|
|
78
422
|
readonly inputs: readonly [{
|
|
79
|
-
readonly indexed: false;
|
|
80
|
-
readonly internalType: "string";
|
|
81
423
|
readonly name: "_newDeviceIdentifier";
|
|
82
424
|
readonly type: "string";
|
|
425
|
+
readonly indexed: false;
|
|
426
|
+
readonly internalType: "string";
|
|
83
427
|
}, {
|
|
428
|
+
readonly name: "_newDataBundleDetails";
|
|
429
|
+
readonly type: "tuple[]";
|
|
430
|
+
readonly indexed: false;
|
|
431
|
+
readonly internalType: "struct DataBundleDetails[]";
|
|
84
432
|
readonly components: readonly [{
|
|
85
|
-
readonly internalType: "string";
|
|
86
433
|
readonly name: "dataBundleID";
|
|
87
434
|
readonly type: "string";
|
|
435
|
+
readonly internalType: "string";
|
|
88
436
|
}, {
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
437
|
readonly name: "dataBundlePrice";
|
|
91
438
|
readonly type: "uint256";
|
|
439
|
+
readonly internalType: "uint256";
|
|
92
440
|
}];
|
|
93
|
-
readonly indexed: false;
|
|
94
|
-
readonly internalType: "struct DataBundleDetails[]";
|
|
95
|
-
readonly name: "_newDataBundleDetails";
|
|
96
|
-
readonly type: "tuple[]";
|
|
97
441
|
}];
|
|
98
|
-
readonly name: "DataBundleDetailsTransferredToNewDeviceIdentifier";
|
|
99
|
-
readonly type: "event";
|
|
100
|
-
}, {
|
|
101
442
|
readonly anonymous: false;
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "event";
|
|
445
|
+
readonly name: "DataUpdatedForDevice";
|
|
102
446
|
readonly inputs: readonly [{
|
|
103
|
-
readonly indexed: false;
|
|
104
|
-
readonly internalType: "string";
|
|
105
447
|
readonly name: "_deviceUniqueIdentifier";
|
|
106
448
|
readonly type: "string";
|
|
107
|
-
}, {
|
|
108
449
|
readonly indexed: false;
|
|
109
|
-
readonly internalType: "string
|
|
450
|
+
readonly internalType: "string";
|
|
451
|
+
}, {
|
|
110
452
|
readonly name: "_eSIMUniqueIdentifiers";
|
|
111
453
|
readonly type: "string[]";
|
|
454
|
+
readonly indexed: false;
|
|
455
|
+
readonly internalType: "string[]";
|
|
112
456
|
}, {
|
|
457
|
+
readonly name: "_dataBundleDetails";
|
|
458
|
+
readonly type: "tuple[]";
|
|
459
|
+
readonly indexed: false;
|
|
460
|
+
readonly internalType: "struct DataBundleDetails[]";
|
|
113
461
|
readonly components: readonly [{
|
|
114
|
-
readonly internalType: "string";
|
|
115
462
|
readonly name: "dataBundleID";
|
|
116
463
|
readonly type: "string";
|
|
464
|
+
readonly internalType: "string";
|
|
117
465
|
}, {
|
|
118
|
-
readonly internalType: "uint256";
|
|
119
466
|
readonly name: "dataBundlePrice";
|
|
120
467
|
readonly type: "uint256";
|
|
468
|
+
readonly internalType: "uint256";
|
|
121
469
|
}];
|
|
122
|
-
readonly indexed: false;
|
|
123
|
-
readonly internalType: "struct DataBundleDetails[]";
|
|
124
|
-
readonly name: "_dataBundleDetails";
|
|
125
|
-
readonly type: "tuple[]";
|
|
126
470
|
}];
|
|
127
|
-
readonly name: "DataUpdatedForDevice";
|
|
128
|
-
readonly type: "event";
|
|
129
|
-
}, {
|
|
130
471
|
readonly anonymous: false;
|
|
472
|
+
}, {
|
|
473
|
+
readonly type: "event";
|
|
474
|
+
readonly name: "ESIMBindedWithDevice";
|
|
131
475
|
readonly inputs: readonly [{
|
|
132
|
-
readonly indexed: false;
|
|
133
|
-
readonly internalType: "string";
|
|
134
476
|
readonly name: "_eSIMUniqueIdentifier";
|
|
135
477
|
readonly type: "string";
|
|
136
|
-
}, {
|
|
137
478
|
readonly indexed: false;
|
|
138
479
|
readonly internalType: "string";
|
|
480
|
+
}, {
|
|
139
481
|
readonly name: "_deviceUniqueIdentifier";
|
|
140
482
|
readonly type: "string";
|
|
483
|
+
readonly indexed: false;
|
|
484
|
+
readonly internalType: "string";
|
|
141
485
|
}];
|
|
142
|
-
readonly name: "ESIMBindedWithDevice";
|
|
143
|
-
readonly type: "event";
|
|
144
|
-
}, {
|
|
145
486
|
readonly anonymous: false;
|
|
487
|
+
}, {
|
|
488
|
+
readonly type: "event";
|
|
489
|
+
readonly name: "ESIMIdentifierAddedToNewDeviceIdentifier";
|
|
146
490
|
readonly inputs: readonly [{
|
|
147
|
-
readonly indexed: false;
|
|
148
|
-
readonly internalType: "string";
|
|
149
491
|
readonly name: "_newDeviceIdentifier";
|
|
150
492
|
readonly type: "string";
|
|
151
|
-
}, {
|
|
152
493
|
readonly indexed: false;
|
|
153
494
|
readonly internalType: "string";
|
|
495
|
+
}, {
|
|
154
496
|
readonly name: "_eSIMIdentifier";
|
|
155
497
|
readonly type: "string";
|
|
156
|
-
}, {
|
|
157
498
|
readonly indexed: false;
|
|
158
|
-
readonly internalType: "string
|
|
499
|
+
readonly internalType: "string";
|
|
500
|
+
}, {
|
|
159
501
|
readonly name: "_eSIMIdentifierOfNewDevice";
|
|
160
502
|
readonly type: "string[]";
|
|
503
|
+
readonly indexed: false;
|
|
504
|
+
readonly internalType: "string[]";
|
|
161
505
|
}];
|
|
162
|
-
readonly name: "ESIMIdentifierAddedToNewDeviceIdentifier";
|
|
163
|
-
readonly type: "event";
|
|
164
|
-
}, {
|
|
165
506
|
readonly anonymous: false;
|
|
507
|
+
}, {
|
|
508
|
+
readonly type: "event";
|
|
509
|
+
readonly name: "ESIMIdentifierRemovedFromOldDeviceIdentifier";
|
|
166
510
|
readonly inputs: readonly [{
|
|
167
|
-
readonly indexed: false;
|
|
168
|
-
readonly internalType: "string";
|
|
169
511
|
readonly name: "_oldDeviceIdentifier";
|
|
170
512
|
readonly type: "string";
|
|
171
|
-
}, {
|
|
172
513
|
readonly indexed: false;
|
|
173
514
|
readonly internalType: "string";
|
|
515
|
+
}, {
|
|
174
516
|
readonly name: "_eSIMIdentifier";
|
|
175
517
|
readonly type: "string";
|
|
176
|
-
}, {
|
|
177
518
|
readonly indexed: false;
|
|
178
|
-
readonly internalType: "string
|
|
519
|
+
readonly internalType: "string";
|
|
520
|
+
}, {
|
|
179
521
|
readonly name: "_eSIMIdentifierOfOldDevice";
|
|
180
522
|
readonly type: "string[]";
|
|
523
|
+
readonly indexed: false;
|
|
524
|
+
readonly internalType: "string[]";
|
|
181
525
|
}];
|
|
182
|
-
readonly name: "ESIMIdentifierRemovedFromOldDeviceIdentifier";
|
|
183
|
-
readonly type: "event";
|
|
184
|
-
}, {
|
|
185
526
|
readonly anonymous: false;
|
|
527
|
+
}, {
|
|
528
|
+
readonly type: "event";
|
|
529
|
+
readonly name: "ESIMIdentifierSwitchedToNewDeviceIdentifier";
|
|
186
530
|
readonly inputs: readonly [{
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly internalType: "string";
|
|
189
531
|
readonly name: "_eSIMIdentifier";
|
|
190
532
|
readonly type: "string";
|
|
191
|
-
}, {
|
|
192
533
|
readonly indexed: false;
|
|
193
534
|
readonly internalType: "string";
|
|
535
|
+
}, {
|
|
194
536
|
readonly name: "_oldDeviceIdentifier";
|
|
195
537
|
readonly type: "string";
|
|
196
|
-
}, {
|
|
197
538
|
readonly indexed: false;
|
|
198
539
|
readonly internalType: "string";
|
|
540
|
+
}, {
|
|
199
541
|
readonly name: "currentDeviceIdentifier";
|
|
200
542
|
readonly type: "string";
|
|
543
|
+
readonly indexed: false;
|
|
544
|
+
readonly internalType: "string";
|
|
201
545
|
}];
|
|
202
|
-
readonly name: "ESIMIdentifierSwitchedToNewDeviceIdentifier";
|
|
203
|
-
readonly type: "event";
|
|
204
|
-
}, {
|
|
205
546
|
readonly anonymous: false;
|
|
547
|
+
}, {
|
|
548
|
+
readonly type: "event";
|
|
549
|
+
readonly name: "Initialized";
|
|
206
550
|
readonly inputs: readonly [{
|
|
207
|
-
readonly indexed: false;
|
|
208
|
-
readonly internalType: "uint64";
|
|
209
551
|
readonly name: "version";
|
|
210
552
|
readonly type: "uint64";
|
|
553
|
+
readonly indexed: false;
|
|
554
|
+
readonly internalType: "uint64";
|
|
211
555
|
}];
|
|
212
|
-
readonly
|
|
213
|
-
readonly type: "event";
|
|
556
|
+
readonly anonymous: false;
|
|
214
557
|
}, {
|
|
558
|
+
readonly type: "event";
|
|
559
|
+
readonly name: "LazyESIMWalletsDeployed";
|
|
560
|
+
readonly inputs: readonly [{
|
|
561
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
562
|
+
readonly type: "string";
|
|
563
|
+
readonly indexed: false;
|
|
564
|
+
readonly internalType: "string";
|
|
565
|
+
}, {
|
|
566
|
+
readonly name: "_deviceWallet";
|
|
567
|
+
readonly type: "address";
|
|
568
|
+
readonly indexed: true;
|
|
569
|
+
readonly internalType: "address";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "_eSIMWallets";
|
|
572
|
+
readonly type: "address[]";
|
|
573
|
+
readonly indexed: false;
|
|
574
|
+
readonly internalType: "address[]";
|
|
575
|
+
}, {
|
|
576
|
+
readonly name: "_eSIMUniqueIdentifiers";
|
|
577
|
+
readonly type: "string[]";
|
|
578
|
+
readonly indexed: false;
|
|
579
|
+
readonly internalType: "string[]";
|
|
580
|
+
}, {
|
|
581
|
+
readonly name: "_remaining";
|
|
582
|
+
readonly type: "uint256";
|
|
583
|
+
readonly indexed: false;
|
|
584
|
+
readonly internalType: "uint256";
|
|
585
|
+
}];
|
|
215
586
|
readonly anonymous: false;
|
|
587
|
+
}, {
|
|
588
|
+
readonly type: "event";
|
|
589
|
+
readonly name: "LazyHistoryCopied";
|
|
216
590
|
readonly inputs: readonly [{
|
|
591
|
+
readonly name: "_eSIMIdentifier";
|
|
592
|
+
readonly type: "string";
|
|
217
593
|
readonly indexed: false;
|
|
218
|
-
readonly internalType: "
|
|
594
|
+
readonly internalType: "string";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "_eSIMWallet";
|
|
597
|
+
readonly type: "address";
|
|
598
|
+
readonly indexed: true;
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
}, {
|
|
601
|
+
readonly name: "_copied";
|
|
602
|
+
readonly type: "uint256";
|
|
603
|
+
readonly indexed: false;
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
}, {
|
|
606
|
+
readonly name: "_remaining";
|
|
607
|
+
readonly type: "uint256";
|
|
608
|
+
readonly indexed: false;
|
|
609
|
+
readonly internalType: "uint256";
|
|
610
|
+
}];
|
|
611
|
+
readonly anonymous: false;
|
|
612
|
+
}, {
|
|
613
|
+
readonly type: "event";
|
|
614
|
+
readonly name: "LazyWalletDeployed";
|
|
615
|
+
readonly inputs: readonly [{
|
|
219
616
|
readonly name: "_deviceOwnerPublicKey";
|
|
220
617
|
readonly type: "bytes32[2]";
|
|
221
|
-
}, {
|
|
222
618
|
readonly indexed: false;
|
|
223
|
-
readonly internalType: "
|
|
619
|
+
readonly internalType: "bytes32[2]";
|
|
620
|
+
}, {
|
|
224
621
|
readonly name: "deviceWallet";
|
|
225
622
|
readonly type: "address";
|
|
623
|
+
readonly indexed: true;
|
|
624
|
+
readonly internalType: "address";
|
|
226
625
|
}, {
|
|
227
|
-
readonly indexed: false;
|
|
228
|
-
readonly internalType: "string";
|
|
229
626
|
readonly name: "_deviceUniqueIdentifier";
|
|
230
627
|
readonly type: "string";
|
|
231
|
-
}, {
|
|
232
628
|
readonly indexed: false;
|
|
233
|
-
readonly internalType: "
|
|
629
|
+
readonly internalType: "string";
|
|
630
|
+
}, {
|
|
234
631
|
readonly name: "eSIMWallets";
|
|
235
632
|
readonly type: "address[]";
|
|
236
|
-
}, {
|
|
237
633
|
readonly indexed: false;
|
|
238
|
-
readonly internalType: "
|
|
634
|
+
readonly internalType: "address[]";
|
|
635
|
+
}, {
|
|
239
636
|
readonly name: "_eSIMUniqueIdentifiers";
|
|
240
637
|
readonly type: "string[]";
|
|
638
|
+
readonly indexed: false;
|
|
639
|
+
readonly internalType: "string[]";
|
|
241
640
|
}];
|
|
242
|
-
readonly name: "LazyWalletDeployed";
|
|
243
|
-
readonly type: "event";
|
|
244
|
-
}, {
|
|
245
641
|
readonly anonymous: false;
|
|
642
|
+
}, {
|
|
643
|
+
readonly type: "event";
|
|
644
|
+
readonly name: "NewDeviceIdentifierAssociatedWithESIMIdentifier";
|
|
246
645
|
readonly inputs: readonly [{
|
|
247
|
-
readonly indexed: false;
|
|
248
|
-
readonly internalType: "string";
|
|
249
646
|
readonly name: "_eSIMIdentifier";
|
|
250
647
|
readonly type: "string";
|
|
251
|
-
}, {
|
|
252
648
|
readonly indexed: false;
|
|
253
649
|
readonly internalType: "string";
|
|
650
|
+
}, {
|
|
254
651
|
readonly name: "_oldDeviceIdentifier";
|
|
255
652
|
readonly type: "string";
|
|
256
|
-
}, {
|
|
257
653
|
readonly indexed: false;
|
|
258
654
|
readonly internalType: "string";
|
|
655
|
+
}, {
|
|
259
656
|
readonly name: "_newDeviceIdentifier";
|
|
260
657
|
readonly type: "string";
|
|
658
|
+
readonly indexed: false;
|
|
659
|
+
readonly internalType: "string";
|
|
261
660
|
}];
|
|
262
|
-
readonly name: "NewDeviceIdentifierAssociatedWithESIMIdentifier";
|
|
263
|
-
readonly type: "event";
|
|
264
|
-
}, {
|
|
265
661
|
readonly anonymous: false;
|
|
662
|
+
}, {
|
|
663
|
+
readonly type: "event";
|
|
664
|
+
readonly name: "OwnershipTransferStarted";
|
|
266
665
|
readonly inputs: readonly [{
|
|
267
|
-
readonly indexed: true;
|
|
268
|
-
readonly internalType: "address";
|
|
269
666
|
readonly name: "previousOwner";
|
|
270
667
|
readonly type: "address";
|
|
271
|
-
}, {
|
|
272
668
|
readonly indexed: true;
|
|
273
669
|
readonly internalType: "address";
|
|
670
|
+
}, {
|
|
274
671
|
readonly name: "newOwner";
|
|
275
672
|
readonly type: "address";
|
|
673
|
+
readonly indexed: true;
|
|
674
|
+
readonly internalType: "address";
|
|
276
675
|
}];
|
|
277
|
-
readonly name: "OwnershipTransferStarted";
|
|
278
|
-
readonly type: "event";
|
|
279
|
-
}, {
|
|
280
676
|
readonly anonymous: false;
|
|
677
|
+
}, {
|
|
678
|
+
readonly type: "event";
|
|
679
|
+
readonly name: "OwnershipTransferred";
|
|
281
680
|
readonly inputs: readonly [{
|
|
282
|
-
readonly indexed: true;
|
|
283
|
-
readonly internalType: "address";
|
|
284
681
|
readonly name: "previousOwner";
|
|
285
682
|
readonly type: "address";
|
|
286
|
-
}, {
|
|
287
683
|
readonly indexed: true;
|
|
288
684
|
readonly internalType: "address";
|
|
685
|
+
}, {
|
|
289
686
|
readonly name: "newOwner";
|
|
290
687
|
readonly type: "address";
|
|
688
|
+
readonly indexed: true;
|
|
689
|
+
readonly internalType: "address";
|
|
291
690
|
}];
|
|
292
|
-
readonly name: "OwnershipTransferred";
|
|
293
|
-
readonly type: "event";
|
|
294
|
-
}, {
|
|
295
691
|
readonly anonymous: false;
|
|
692
|
+
}, {
|
|
693
|
+
readonly type: "event";
|
|
694
|
+
readonly name: "Upgraded";
|
|
296
695
|
readonly inputs: readonly [{
|
|
696
|
+
readonly name: "implementation";
|
|
697
|
+
readonly type: "address";
|
|
297
698
|
readonly indexed: true;
|
|
298
699
|
readonly internalType: "address";
|
|
299
|
-
|
|
700
|
+
}];
|
|
701
|
+
readonly anonymous: false;
|
|
702
|
+
}, {
|
|
703
|
+
readonly type: "error";
|
|
704
|
+
readonly name: "AddressEmptyCode";
|
|
705
|
+
readonly inputs: readonly [{
|
|
706
|
+
readonly name: "target";
|
|
300
707
|
readonly type: "address";
|
|
708
|
+
readonly internalType: "address";
|
|
301
709
|
}];
|
|
302
|
-
readonly name: "Upgraded";
|
|
303
|
-
readonly type: "event";
|
|
304
710
|
}, {
|
|
305
|
-
readonly
|
|
306
|
-
readonly name: "
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly name: "";
|
|
711
|
+
readonly type: "error";
|
|
712
|
+
readonly name: "AllESIMWalletsDeployed";
|
|
713
|
+
readonly inputs: readonly [{
|
|
714
|
+
readonly name: "deviceIdentifier";
|
|
310
715
|
readonly type: "string";
|
|
716
|
+
readonly internalType: "string";
|
|
311
717
|
}];
|
|
312
|
-
readonly stateMutability: "view";
|
|
313
|
-
readonly type: "function";
|
|
314
|
-
}, {
|
|
315
|
-
readonly inputs: readonly [];
|
|
316
|
-
readonly name: "acceptOwnership";
|
|
317
|
-
readonly outputs: readonly [];
|
|
318
|
-
readonly stateMutability: "nonpayable";
|
|
319
|
-
readonly type: "function";
|
|
320
718
|
}, {
|
|
719
|
+
readonly type: "error";
|
|
720
|
+
readonly name: "ArrayLengthMismatch";
|
|
321
721
|
readonly inputs: readonly [{
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
722
|
+
readonly name: "expected";
|
|
723
|
+
readonly type: "uint256";
|
|
724
|
+
readonly internalType: "uint256";
|
|
325
725
|
}, {
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
726
|
+
readonly name: "actual";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
readonly internalType: "uint256";
|
|
729
|
+
}];
|
|
730
|
+
}, {
|
|
731
|
+
readonly type: "error";
|
|
732
|
+
readonly name: "CannotSwitchToTheSameDevice";
|
|
733
|
+
readonly inputs: readonly [{
|
|
734
|
+
readonly name: "deviceIdentifier";
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
readonly internalType: "string";
|
|
737
|
+
}];
|
|
738
|
+
}, {
|
|
739
|
+
readonly type: "error";
|
|
740
|
+
readonly name: "DepositDoesNotMatchValue";
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly name: "depositAmount";
|
|
743
|
+
readonly type: "uint256";
|
|
744
|
+
readonly internalType: "uint256";
|
|
329
745
|
}, {
|
|
330
|
-
readonly
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
}, {
|
|
335
|
-
readonly internalType: "uint256";
|
|
336
|
-
readonly name: "dataBundlePrice";
|
|
337
|
-
readonly type: "uint256";
|
|
338
|
-
}];
|
|
339
|
-
readonly internalType: "struct DataBundleDetails[][]";
|
|
340
|
-
readonly name: "_dataBundleDetails";
|
|
341
|
-
readonly type: "tuple[][]";
|
|
746
|
+
readonly name: "value";
|
|
747
|
+
readonly type: "uint256";
|
|
748
|
+
readonly internalType: "uint256";
|
|
342
749
|
}];
|
|
343
|
-
readonly name: "batchPopulateHistory";
|
|
344
|
-
readonly outputs: readonly [];
|
|
345
|
-
readonly stateMutability: "nonpayable";
|
|
346
|
-
readonly type: "function";
|
|
347
750
|
}, {
|
|
751
|
+
readonly type: "error";
|
|
752
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
753
|
+
readonly inputs: readonly [{
|
|
754
|
+
readonly name: "implementation";
|
|
755
|
+
readonly type: "address";
|
|
756
|
+
readonly internalType: "address";
|
|
757
|
+
}];
|
|
758
|
+
}, {
|
|
759
|
+
readonly type: "error";
|
|
760
|
+
readonly name: "ERC1967NonPayable";
|
|
761
|
+
readonly inputs: readonly [];
|
|
762
|
+
}, {
|
|
763
|
+
readonly type: "error";
|
|
764
|
+
readonly name: "ESIMBoundToADifferentDevice";
|
|
348
765
|
readonly inputs: readonly [{
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
766
|
+
readonly name: "eSIMIdentifier";
|
|
767
|
+
readonly type: "string";
|
|
768
|
+
readonly internalType: "string";
|
|
352
769
|
}, {
|
|
770
|
+
readonly name: "boundDeviceIdentifier";
|
|
771
|
+
readonly type: "string";
|
|
353
772
|
readonly internalType: "string";
|
|
354
|
-
|
|
773
|
+
}];
|
|
774
|
+
}, {
|
|
775
|
+
readonly type: "error";
|
|
776
|
+
readonly name: "ESIMIdentifierAlreadyClaimed";
|
|
777
|
+
readonly inputs: readonly [{
|
|
778
|
+
readonly name: "eSIMIdentifier";
|
|
355
779
|
readonly type: "string";
|
|
780
|
+
readonly internalType: "string";
|
|
356
781
|
}, {
|
|
357
|
-
readonly
|
|
358
|
-
readonly name: "_salt";
|
|
359
|
-
readonly type: "uint256";
|
|
360
|
-
}, {
|
|
361
|
-
readonly internalType: "uint256";
|
|
362
|
-
readonly name: "_depositAmount";
|
|
363
|
-
readonly type: "uint256";
|
|
364
|
-
}];
|
|
365
|
-
readonly name: "deployLazyWalletAndSetESIMIdentifier";
|
|
366
|
-
readonly outputs: readonly [{
|
|
367
|
-
readonly internalType: "address";
|
|
368
|
-
readonly name: "";
|
|
782
|
+
readonly name: "eSIMWallet";
|
|
369
783
|
readonly type: "address";
|
|
370
|
-
|
|
371
|
-
readonly internalType: "address[]";
|
|
372
|
-
readonly name: "";
|
|
373
|
-
readonly type: "address[]";
|
|
784
|
+
readonly internalType: "address";
|
|
374
785
|
}];
|
|
375
|
-
readonly stateMutability: "payable";
|
|
376
|
-
readonly type: "function";
|
|
377
786
|
}, {
|
|
787
|
+
readonly type: "error";
|
|
788
|
+
readonly name: "ESIMIdentifierNotFound";
|
|
378
789
|
readonly inputs: readonly [{
|
|
790
|
+
readonly name: "eSIMIdentifier";
|
|
791
|
+
readonly type: "string";
|
|
379
792
|
readonly internalType: "string";
|
|
793
|
+
}, {
|
|
380
794
|
readonly name: "deviceIdentifier";
|
|
381
795
|
readonly type: "string";
|
|
382
|
-
}, {
|
|
383
796
|
readonly internalType: "string";
|
|
797
|
+
}];
|
|
798
|
+
}, {
|
|
799
|
+
readonly type: "error";
|
|
800
|
+
readonly name: "ESIMWalletNotLazyDeployed";
|
|
801
|
+
readonly inputs: readonly [{
|
|
384
802
|
readonly name: "eSIMIdentifier";
|
|
385
803
|
readonly type: "string";
|
|
386
|
-
}, {
|
|
387
|
-
readonly internalType: "uint256";
|
|
388
|
-
readonly name: "";
|
|
389
|
-
readonly type: "uint256";
|
|
390
|
-
}];
|
|
391
|
-
readonly name: "deviceIdentifierToESIMDetails";
|
|
392
|
-
readonly outputs: readonly [{
|
|
393
804
|
readonly internalType: "string";
|
|
394
|
-
readonly name: "dataBundleID";
|
|
395
|
-
readonly type: "string";
|
|
396
|
-
}, {
|
|
397
|
-
readonly internalType: "uint256";
|
|
398
|
-
readonly name: "dataBundlePrice";
|
|
399
|
-
readonly type: "uint256";
|
|
400
805
|
}];
|
|
401
|
-
readonly stateMutability: "view";
|
|
402
|
-
readonly type: "function";
|
|
403
806
|
}, {
|
|
807
|
+
readonly type: "error";
|
|
808
|
+
readonly name: "EmptyDeviceIdentifier";
|
|
809
|
+
readonly inputs: readonly [];
|
|
810
|
+
}, {
|
|
811
|
+
readonly type: "error";
|
|
812
|
+
readonly name: "EmptyESIMIdentifier";
|
|
813
|
+
readonly inputs: readonly [];
|
|
814
|
+
}, {
|
|
815
|
+
readonly type: "error";
|
|
816
|
+
readonly name: "FailedCall";
|
|
817
|
+
readonly inputs: readonly [];
|
|
818
|
+
}, {
|
|
819
|
+
readonly type: "error";
|
|
820
|
+
readonly name: "HistoryAlreadyCopied";
|
|
404
821
|
readonly inputs: readonly [{
|
|
405
|
-
readonly internalType: "string";
|
|
406
822
|
readonly name: "eSIMIdentifier";
|
|
407
823
|
readonly type: "string";
|
|
408
|
-
}];
|
|
409
|
-
readonly name: "eSIMIdentifierToDeviceIdentifier";
|
|
410
|
-
readonly outputs: readonly [{
|
|
411
824
|
readonly internalType: "string";
|
|
412
|
-
readonly name: "deviceIdentifier";
|
|
413
|
-
readonly type: "string";
|
|
414
825
|
}];
|
|
415
|
-
readonly stateMutability: "view";
|
|
416
|
-
readonly type: "function";
|
|
417
826
|
}, {
|
|
827
|
+
readonly type: "error";
|
|
828
|
+
readonly name: "IdentifierTooLong";
|
|
418
829
|
readonly inputs: readonly [{
|
|
419
|
-
readonly
|
|
420
|
-
readonly name: "deviceIdentifier";
|
|
830
|
+
readonly name: "identifier";
|
|
421
831
|
readonly type: "string";
|
|
832
|
+
readonly internalType: "string";
|
|
422
833
|
}, {
|
|
423
|
-
readonly
|
|
424
|
-
readonly name: "";
|
|
834
|
+
readonly name: "maxLength";
|
|
425
835
|
readonly type: "uint256";
|
|
836
|
+
readonly internalType: "uint256";
|
|
426
837
|
}];
|
|
427
|
-
|
|
428
|
-
readonly
|
|
429
|
-
|
|
430
|
-
|
|
838
|
+
}, {
|
|
839
|
+
readonly type: "error";
|
|
840
|
+
readonly name: "InvalidInitialization";
|
|
841
|
+
readonly inputs: readonly [];
|
|
842
|
+
}, {
|
|
843
|
+
readonly type: "error";
|
|
844
|
+
readonly name: "LazyWalletAlreadyDeployed";
|
|
845
|
+
readonly inputs: readonly [{
|
|
846
|
+
readonly name: "deviceIdentifier";
|
|
431
847
|
readonly type: "string";
|
|
848
|
+
readonly internalType: "string";
|
|
432
849
|
}];
|
|
433
|
-
readonly stateMutability: "view";
|
|
434
|
-
readonly type: "function";
|
|
435
850
|
}, {
|
|
851
|
+
readonly type: "error";
|
|
852
|
+
readonly name: "LazyWalletNotDeployed";
|
|
436
853
|
readonly inputs: readonly [{
|
|
437
|
-
readonly
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
}, {
|
|
441
|
-
readonly internalType: "address";
|
|
442
|
-
readonly name: "_upgradeManager";
|
|
443
|
-
readonly type: "address";
|
|
854
|
+
readonly name: "deviceIdentifier";
|
|
855
|
+
readonly type: "string";
|
|
856
|
+
readonly internalType: "string";
|
|
444
857
|
}];
|
|
445
|
-
readonly name: "initialize";
|
|
446
|
-
readonly outputs: readonly [];
|
|
447
|
-
readonly stateMutability: "nonpayable";
|
|
448
|
-
readonly type: "function";
|
|
449
858
|
}, {
|
|
859
|
+
readonly type: "error";
|
|
860
|
+
readonly name: "NoESIMIdentifiersForDevice";
|
|
450
861
|
readonly inputs: readonly [{
|
|
451
|
-
readonly
|
|
452
|
-
readonly name: "_deviceUniqueIdentifier";
|
|
862
|
+
readonly name: "deviceIdentifier";
|
|
453
863
|
readonly type: "string";
|
|
864
|
+
readonly internalType: "string";
|
|
454
865
|
}];
|
|
455
|
-
readonly name: "isLazyWalletDeployed";
|
|
456
|
-
readonly outputs: readonly [{
|
|
457
|
-
readonly internalType: "bool";
|
|
458
|
-
readonly name: "";
|
|
459
|
-
readonly type: "bool";
|
|
460
|
-
}];
|
|
461
|
-
readonly stateMutability: "view";
|
|
462
|
-
readonly type: "function";
|
|
463
866
|
}, {
|
|
867
|
+
readonly type: "error";
|
|
868
|
+
readonly name: "NotInitializing";
|
|
464
869
|
readonly inputs: readonly [];
|
|
465
|
-
readonly name: "owner";
|
|
466
|
-
readonly outputs: readonly [{
|
|
467
|
-
readonly internalType: "address";
|
|
468
|
-
readonly name: "";
|
|
469
|
-
readonly type: "address";
|
|
470
|
-
}];
|
|
471
|
-
readonly stateMutability: "view";
|
|
472
|
-
readonly type: "function";
|
|
473
870
|
}, {
|
|
871
|
+
readonly type: "error";
|
|
872
|
+
readonly name: "OnlyESIMWalletAdmin";
|
|
474
873
|
readonly inputs: readonly [];
|
|
475
|
-
readonly name: "pendingOwner";
|
|
476
|
-
readonly outputs: readonly [{
|
|
477
|
-
readonly internalType: "address";
|
|
478
|
-
readonly name: "";
|
|
479
|
-
readonly type: "address";
|
|
480
|
-
}];
|
|
481
|
-
readonly stateMutability: "view";
|
|
482
|
-
readonly type: "function";
|
|
483
874
|
}, {
|
|
484
|
-
readonly
|
|
485
|
-
readonly name: "
|
|
486
|
-
readonly
|
|
487
|
-
readonly
|
|
488
|
-
readonly
|
|
489
|
-
readonly
|
|
875
|
+
readonly type: "error";
|
|
876
|
+
readonly name: "OwnableInvalidOwner";
|
|
877
|
+
readonly inputs: readonly [{
|
|
878
|
+
readonly name: "owner";
|
|
879
|
+
readonly type: "address";
|
|
880
|
+
readonly internalType: "address";
|
|
490
881
|
}];
|
|
491
|
-
readonly stateMutability: "view";
|
|
492
|
-
readonly type: "function";
|
|
493
882
|
}, {
|
|
494
|
-
readonly
|
|
495
|
-
readonly name: "
|
|
496
|
-
readonly
|
|
497
|
-
readonly
|
|
498
|
-
readonly name: "";
|
|
883
|
+
readonly type: "error";
|
|
884
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
885
|
+
readonly inputs: readonly [{
|
|
886
|
+
readonly name: "account";
|
|
499
887
|
readonly type: "address";
|
|
888
|
+
readonly internalType: "address";
|
|
500
889
|
}];
|
|
501
|
-
readonly stateMutability: "view";
|
|
502
|
-
readonly type: "function";
|
|
503
890
|
}, {
|
|
891
|
+
readonly type: "error";
|
|
892
|
+
readonly name: "OwnershipCannotBeRenounced";
|
|
504
893
|
readonly inputs: readonly [];
|
|
505
|
-
readonly name: "renounceOwnership";
|
|
506
|
-
readonly outputs: readonly [];
|
|
507
|
-
readonly stateMutability: "nonpayable";
|
|
508
|
-
readonly type: "function";
|
|
509
894
|
}, {
|
|
895
|
+
readonly type: "error";
|
|
896
|
+
readonly name: "SaltTooHigh";
|
|
510
897
|
readonly inputs: readonly [{
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
513
|
-
readonly
|
|
514
|
-
}, {
|
|
515
|
-
readonly internalType: "string";
|
|
516
|
-
readonly name: "_oldDeviceIdentifier";
|
|
517
|
-
readonly type: "string";
|
|
898
|
+
readonly name: "salt";
|
|
899
|
+
readonly type: "uint256";
|
|
900
|
+
readonly internalType: "uint256";
|
|
518
901
|
}, {
|
|
519
|
-
readonly
|
|
520
|
-
readonly
|
|
521
|
-
readonly
|
|
902
|
+
readonly name: "count";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
readonly internalType: "uint256";
|
|
522
905
|
}];
|
|
523
|
-
|
|
524
|
-
readonly
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
readonly
|
|
906
|
+
}, {
|
|
907
|
+
readonly type: "error";
|
|
908
|
+
readonly name: "TooManyESIMWallets";
|
|
909
|
+
readonly inputs: readonly [{
|
|
910
|
+
readonly name: "requested";
|
|
911
|
+
readonly type: "uint256";
|
|
912
|
+
readonly internalType: "uint256";
|
|
913
|
+
}, {
|
|
914
|
+
readonly name: "maxPerCall";
|
|
915
|
+
readonly type: "uint256";
|
|
916
|
+
readonly internalType: "uint256";
|
|
528
917
|
}];
|
|
529
|
-
readonly stateMutability: "nonpayable";
|
|
530
|
-
readonly type: "function";
|
|
531
918
|
}, {
|
|
919
|
+
readonly type: "error";
|
|
920
|
+
readonly name: "TooManyHistoryEntries";
|
|
532
921
|
readonly inputs: readonly [{
|
|
533
|
-
readonly
|
|
534
|
-
readonly
|
|
535
|
-
readonly
|
|
922
|
+
readonly name: "requested";
|
|
923
|
+
readonly type: "uint256";
|
|
924
|
+
readonly internalType: "uint256";
|
|
925
|
+
}, {
|
|
926
|
+
readonly name: "maxPerCall";
|
|
927
|
+
readonly type: "uint256";
|
|
928
|
+
readonly internalType: "uint256";
|
|
536
929
|
}];
|
|
537
|
-
readonly name: "transferOwnership";
|
|
538
|
-
readonly outputs: readonly [];
|
|
539
|
-
readonly stateMutability: "nonpayable";
|
|
540
|
-
readonly type: "function";
|
|
541
930
|
}, {
|
|
931
|
+
readonly type: "error";
|
|
932
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
542
933
|
readonly inputs: readonly [];
|
|
543
|
-
|
|
544
|
-
readonly
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
readonly
|
|
934
|
+
}, {
|
|
935
|
+
readonly type: "error";
|
|
936
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
937
|
+
readonly inputs: readonly [{
|
|
938
|
+
readonly name: "slot";
|
|
939
|
+
readonly type: "bytes32";
|
|
940
|
+
readonly internalType: "bytes32";
|
|
548
941
|
}];
|
|
549
|
-
readonly stateMutability: "view";
|
|
550
|
-
readonly type: "function";
|
|
551
942
|
}, {
|
|
943
|
+
readonly type: "error";
|
|
944
|
+
readonly name: "UnknownESIMIdentifier";
|
|
552
945
|
readonly inputs: readonly [{
|
|
553
|
-
readonly
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
946
|
+
readonly name: "eSIMIdentifier";
|
|
947
|
+
readonly type: "string";
|
|
948
|
+
readonly internalType: "string";
|
|
949
|
+
}];
|
|
950
|
+
}, {
|
|
951
|
+
readonly type: "error";
|
|
952
|
+
readonly name: "ZeroAddress";
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly name: "parameter";
|
|
955
|
+
readonly type: "string";
|
|
956
|
+
readonly internalType: "string";
|
|
560
957
|
}];
|
|
561
|
-
readonly name: "upgradeToAndCall";
|
|
562
|
-
readonly outputs: readonly [];
|
|
563
|
-
readonly stateMutability: "payable";
|
|
564
|
-
readonly type: "function";
|
|
565
958
|
}];
|
|
566
959
|
export default LazyWalletRegistry;
|