kokio-sdk 1.1.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 +7 -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 +3 -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/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,635 +1,625 @@
|
|
|
1
1
|
declare const DeviceWalletFactory: readonly [{
|
|
2
|
-
readonly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "string";
|
|
8
|
+
readonly internalType: "string";
|
|
6
9
|
}];
|
|
7
|
-
readonly
|
|
8
|
-
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "acceptOwnership";
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly outputs: readonly [];
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
9
17
|
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly name: "addRegistryAddress";
|
|
10
20
|
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "_registryContractAddress";
|
|
22
|
+
readonly type: "address";
|
|
11
23
|
readonly internalType: "address";
|
|
12
|
-
|
|
24
|
+
}];
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly name: "";
|
|
13
27
|
readonly type: "address";
|
|
28
|
+
readonly internalType: "address";
|
|
14
29
|
}];
|
|
15
|
-
readonly
|
|
16
|
-
readonly type: "error";
|
|
30
|
+
readonly stateMutability: "nonpayable";
|
|
17
31
|
}, {
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly name: "beacon";
|
|
18
34
|
readonly inputs: readonly [];
|
|
19
|
-
readonly
|
|
20
|
-
|
|
35
|
+
readonly outputs: readonly [{
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
readonly internalType: "contract UpgradeableBeacon";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "view";
|
|
21
41
|
}, {
|
|
22
|
-
readonly
|
|
23
|
-
readonly name: "
|
|
24
|
-
readonly
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly name: "createAccount";
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly internalType: "string";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "_deviceWalletOwnerKey";
|
|
50
|
+
readonly type: "bytes32[2]";
|
|
51
|
+
readonly internalType: "bytes32[2]";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "_salt";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
readonly internalType: "uint256";
|
|
56
|
+
}];
|
|
57
|
+
readonly outputs: readonly [{
|
|
58
|
+
readonly name: "deviceWallet";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
readonly internalType: "contract DeviceWallet";
|
|
61
|
+
}];
|
|
62
|
+
readonly stateMutability: "payable";
|
|
25
63
|
}, {
|
|
26
|
-
readonly
|
|
27
|
-
readonly name: "
|
|
28
|
-
readonly
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "deployDeviceWalletForUsers";
|
|
66
|
+
readonly inputs: readonly [{
|
|
67
|
+
readonly name: "_deviceUniqueIdentifiers";
|
|
68
|
+
readonly type: "string[]";
|
|
69
|
+
readonly internalType: "string[]";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "_deviceWalletOwnersKey";
|
|
72
|
+
readonly type: "bytes32[2][]";
|
|
73
|
+
readonly internalType: "bytes32[2][]";
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "_salts";
|
|
76
|
+
readonly type: "uint256[]";
|
|
77
|
+
readonly internalType: "uint256[]";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "_depositAmounts";
|
|
80
|
+
readonly type: "uint256[]";
|
|
81
|
+
readonly internalType: "uint256[]";
|
|
82
|
+
}];
|
|
83
|
+
readonly outputs: readonly [{
|
|
84
|
+
readonly name: "";
|
|
85
|
+
readonly type: "tuple[]";
|
|
86
|
+
readonly internalType: "struct Wallets[]";
|
|
87
|
+
readonly components: readonly [{
|
|
88
|
+
readonly name: "deviceWallet";
|
|
89
|
+
readonly type: "address";
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "eSIMWallet";
|
|
93
|
+
readonly type: "address";
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
}];
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "payable";
|
|
29
98
|
}, {
|
|
30
|
-
readonly
|
|
31
|
-
readonly name: "
|
|
32
|
-
readonly
|
|
99
|
+
readonly type: "function";
|
|
100
|
+
readonly name: "deviceWalletInfoAdded";
|
|
101
|
+
readonly inputs: readonly [{
|
|
102
|
+
readonly name: "deviceWallet";
|
|
103
|
+
readonly type: "address";
|
|
104
|
+
readonly internalType: "address";
|
|
105
|
+
}];
|
|
106
|
+
readonly outputs: readonly [{
|
|
107
|
+
readonly name: "isAdded";
|
|
108
|
+
readonly type: "bool";
|
|
109
|
+
readonly internalType: "bool";
|
|
110
|
+
}];
|
|
111
|
+
readonly stateMutability: "view";
|
|
33
112
|
}, {
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
readonly name: "eSIMWalletAdmin";
|
|
34
115
|
readonly inputs: readonly [];
|
|
35
|
-
readonly
|
|
36
|
-
|
|
116
|
+
readonly outputs: readonly [{
|
|
117
|
+
readonly name: "";
|
|
118
|
+
readonly type: "address";
|
|
119
|
+
readonly internalType: "address";
|
|
120
|
+
}];
|
|
121
|
+
readonly stateMutability: "view";
|
|
37
122
|
}, {
|
|
123
|
+
readonly type: "function";
|
|
124
|
+
readonly name: "eSIMWalletFactory";
|
|
38
125
|
readonly inputs: readonly [];
|
|
39
|
-
readonly
|
|
40
|
-
|
|
126
|
+
readonly outputs: readonly [{
|
|
127
|
+
readonly name: "";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly internalType: "contract ESIMWalletFactory";
|
|
130
|
+
}];
|
|
131
|
+
readonly stateMutability: "view";
|
|
41
132
|
}, {
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
readonly name: "entryPoint";
|
|
42
135
|
readonly inputs: readonly [];
|
|
43
|
-
readonly
|
|
44
|
-
|
|
136
|
+
readonly outputs: readonly [{
|
|
137
|
+
readonly name: "";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly internalType: "contract IEntryPoint";
|
|
140
|
+
}];
|
|
141
|
+
readonly stateMutability: "view";
|
|
45
142
|
}, {
|
|
143
|
+
readonly type: "function";
|
|
144
|
+
readonly name: "getCounterFactualAddress";
|
|
46
145
|
readonly inputs: readonly [{
|
|
146
|
+
readonly name: "_deviceWalletOwnerKey";
|
|
147
|
+
readonly type: "bytes32[2]";
|
|
148
|
+
readonly internalType: "bytes32[2]";
|
|
149
|
+
}, {
|
|
150
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly internalType: "string";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "_salt";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
}];
|
|
158
|
+
readonly outputs: readonly [{
|
|
159
|
+
readonly name: "";
|
|
160
|
+
readonly type: "address";
|
|
47
161
|
readonly internalType: "address";
|
|
48
|
-
|
|
162
|
+
}];
|
|
163
|
+
readonly stateMutability: "view";
|
|
164
|
+
}, {
|
|
165
|
+
readonly type: "function";
|
|
166
|
+
readonly name: "getCurrentDeviceWalletImplementation";
|
|
167
|
+
readonly inputs: readonly [];
|
|
168
|
+
readonly outputs: readonly [{
|
|
169
|
+
readonly name: "";
|
|
49
170
|
readonly type: "address";
|
|
171
|
+
readonly internalType: "address";
|
|
50
172
|
}];
|
|
51
|
-
readonly
|
|
52
|
-
readonly type: "error";
|
|
173
|
+
readonly stateMutability: "view";
|
|
53
174
|
}, {
|
|
175
|
+
readonly type: "function";
|
|
176
|
+
readonly name: "initialize";
|
|
54
177
|
readonly inputs: readonly [{
|
|
178
|
+
readonly name: "_deviceWalletImplementation";
|
|
179
|
+
readonly type: "address";
|
|
55
180
|
readonly internalType: "address";
|
|
56
|
-
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "_upgradeManager";
|
|
57
183
|
readonly type: "address";
|
|
184
|
+
readonly internalType: "address";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "_eSIMWalletFactoryAddress";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "_entryPoint";
|
|
191
|
+
readonly type: "address";
|
|
192
|
+
readonly internalType: "contract IEntryPoint";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "_verifier";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
readonly internalType: "contract P256Verifier";
|
|
58
197
|
}];
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
198
|
+
readonly outputs: readonly [];
|
|
199
|
+
readonly stateMutability: "nonpayable";
|
|
61
200
|
}, {
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
readonly name: "owner";
|
|
62
203
|
readonly inputs: readonly [];
|
|
63
|
-
readonly
|
|
64
|
-
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly name: "";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "pendingOwner";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "address";
|
|
217
|
+
readonly internalType: "address";
|
|
218
|
+
}];
|
|
219
|
+
readonly stateMutability: "view";
|
|
65
220
|
}, {
|
|
221
|
+
readonly type: "function";
|
|
222
|
+
readonly name: "postCreateAccount";
|
|
66
223
|
readonly inputs: readonly [{
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
224
|
+
readonly name: "_deviceWallet";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
readonly internalType: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly internalType: "string";
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "_deviceWalletOwnerKey";
|
|
233
|
+
readonly type: "bytes32[2]";
|
|
234
|
+
readonly internalType: "bytes32[2]";
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "_salt";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
readonly internalType: "uint256";
|
|
70
239
|
}];
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
240
|
+
readonly outputs: readonly [];
|
|
241
|
+
readonly stateMutability: "nonpayable";
|
|
73
242
|
}, {
|
|
74
|
-
readonly
|
|
243
|
+
readonly type: "function";
|
|
244
|
+
readonly name: "preCreateAccountValidation";
|
|
75
245
|
readonly inputs: readonly [{
|
|
76
|
-
readonly
|
|
246
|
+
readonly name: "_deviceUniqueIdentifier";
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
readonly internalType: "string";
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "_deviceWalletOwnerKey";
|
|
251
|
+
readonly type: "bytes32[2]";
|
|
252
|
+
readonly internalType: "bytes32[2]";
|
|
253
|
+
}];
|
|
254
|
+
readonly outputs: readonly [{
|
|
255
|
+
readonly name: "wallet";
|
|
256
|
+
readonly type: "address";
|
|
77
257
|
readonly internalType: "address";
|
|
78
|
-
|
|
258
|
+
}];
|
|
259
|
+
readonly stateMutability: "view";
|
|
260
|
+
}, {
|
|
261
|
+
readonly type: "function";
|
|
262
|
+
readonly name: "proxiableUUID";
|
|
263
|
+
readonly inputs: readonly [];
|
|
264
|
+
readonly outputs: readonly [{
|
|
265
|
+
readonly name: "";
|
|
266
|
+
readonly type: "bytes32";
|
|
267
|
+
readonly internalType: "bytes32";
|
|
268
|
+
}];
|
|
269
|
+
readonly stateMutability: "view";
|
|
270
|
+
}, {
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
readonly name: "registry";
|
|
273
|
+
readonly inputs: readonly [];
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly name: "";
|
|
79
276
|
readonly type: "address";
|
|
277
|
+
readonly internalType: "contract Registry";
|
|
80
278
|
}];
|
|
81
|
-
readonly
|
|
82
|
-
readonly type: "event";
|
|
279
|
+
readonly stateMutability: "view";
|
|
83
280
|
}, {
|
|
84
|
-
readonly
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "renounceOwnership";
|
|
283
|
+
readonly inputs: readonly [];
|
|
284
|
+
readonly outputs: readonly [];
|
|
285
|
+
readonly stateMutability: "pure";
|
|
286
|
+
}, {
|
|
287
|
+
readonly type: "function";
|
|
288
|
+
readonly name: "transferOwnership";
|
|
85
289
|
readonly inputs: readonly [{
|
|
86
|
-
readonly
|
|
290
|
+
readonly name: "newOwner";
|
|
291
|
+
readonly type: "address";
|
|
87
292
|
readonly internalType: "address";
|
|
88
|
-
|
|
293
|
+
}];
|
|
294
|
+
readonly outputs: readonly [];
|
|
295
|
+
readonly stateMutability: "nonpayable";
|
|
296
|
+
}, {
|
|
297
|
+
readonly type: "function";
|
|
298
|
+
readonly name: "updateDeviceWalletImplementation";
|
|
299
|
+
readonly inputs: readonly [{
|
|
300
|
+
readonly name: "_newDeviceImpl";
|
|
89
301
|
readonly type: "address";
|
|
90
|
-
}, {
|
|
91
|
-
readonly indexed: true;
|
|
92
302
|
readonly internalType: "address";
|
|
93
|
-
|
|
303
|
+
}];
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly name: "";
|
|
94
306
|
readonly type: "address";
|
|
307
|
+
readonly internalType: "address";
|
|
95
308
|
}];
|
|
96
|
-
readonly
|
|
97
|
-
readonly type: "event";
|
|
309
|
+
readonly stateMutability: "nonpayable";
|
|
98
310
|
}, {
|
|
99
|
-
readonly
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "upgradeToAndCall";
|
|
100
313
|
readonly inputs: readonly [{
|
|
101
|
-
readonly
|
|
102
|
-
readonly internalType: "address";
|
|
103
|
-
readonly name: "_currentAdmin";
|
|
314
|
+
readonly name: "newImplementation";
|
|
104
315
|
readonly type: "address";
|
|
105
|
-
}, {
|
|
106
|
-
readonly indexed: true;
|
|
107
316
|
readonly internalType: "address";
|
|
108
|
-
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "data";
|
|
319
|
+
readonly type: "bytes";
|
|
320
|
+
readonly internalType: "bytes";
|
|
321
|
+
}];
|
|
322
|
+
readonly outputs: readonly [];
|
|
323
|
+
readonly stateMutability: "payable";
|
|
324
|
+
}, {
|
|
325
|
+
readonly type: "function";
|
|
326
|
+
readonly name: "verifier";
|
|
327
|
+
readonly inputs: readonly [];
|
|
328
|
+
readonly outputs: readonly [{
|
|
329
|
+
readonly name: "";
|
|
109
330
|
readonly type: "address";
|
|
331
|
+
readonly internalType: "contract P256Verifier";
|
|
110
332
|
}];
|
|
111
|
-
readonly
|
|
112
|
-
readonly type: "event";
|
|
333
|
+
readonly stateMutability: "view";
|
|
113
334
|
}, {
|
|
114
|
-
readonly
|
|
335
|
+
readonly type: "event";
|
|
336
|
+
readonly name: "AddedRegistry";
|
|
115
337
|
readonly inputs: readonly [{
|
|
338
|
+
readonly name: "registry";
|
|
339
|
+
readonly type: "address";
|
|
116
340
|
readonly indexed: true;
|
|
117
341
|
readonly internalType: "address";
|
|
118
|
-
readonly name: "_newAdmin";
|
|
119
|
-
readonly type: "address";
|
|
120
342
|
}];
|
|
121
|
-
readonly name: "AdminUpdated";
|
|
122
|
-
readonly type: "event";
|
|
123
|
-
}, {
|
|
124
343
|
readonly anonymous: false;
|
|
344
|
+
}, {
|
|
345
|
+
readonly type: "event";
|
|
346
|
+
readonly name: "DeviceWalletDeployed";
|
|
125
347
|
readonly inputs: readonly [{
|
|
126
|
-
readonly indexed: true;
|
|
127
|
-
readonly internalType: "address";
|
|
128
348
|
readonly name: "_deviceWalletAddress";
|
|
129
349
|
readonly type: "address";
|
|
130
|
-
}, {
|
|
131
350
|
readonly indexed: true;
|
|
132
351
|
readonly internalType: "address";
|
|
352
|
+
}, {
|
|
133
353
|
readonly name: "_eSIMWalletAddress";
|
|
134
354
|
readonly type: "address";
|
|
355
|
+
readonly indexed: true;
|
|
356
|
+
readonly internalType: "address";
|
|
135
357
|
}, {
|
|
136
|
-
readonly indexed: false;
|
|
137
|
-
readonly internalType: "bytes32[2]";
|
|
138
358
|
readonly name: "_deviceWalletOwnerKey";
|
|
139
359
|
readonly type: "bytes32[2]";
|
|
360
|
+
readonly indexed: false;
|
|
361
|
+
readonly internalType: "bytes32[2]";
|
|
140
362
|
}];
|
|
141
|
-
readonly name: "DeviceWalletDeployed";
|
|
142
|
-
readonly type: "event";
|
|
143
|
-
}, {
|
|
144
363
|
readonly anonymous: false;
|
|
364
|
+
}, {
|
|
365
|
+
readonly type: "event";
|
|
366
|
+
readonly name: "DeviceWalletFactoryDeployed";
|
|
145
367
|
readonly inputs: readonly [{
|
|
146
|
-
readonly indexed: false;
|
|
147
|
-
readonly internalType: "address";
|
|
148
|
-
readonly name: "_admin";
|
|
149
|
-
readonly type: "address";
|
|
150
|
-
}, {
|
|
151
|
-
readonly indexed: false;
|
|
152
|
-
readonly internalType: "address";
|
|
153
|
-
readonly name: "_vault";
|
|
154
|
-
readonly type: "address";
|
|
155
|
-
}, {
|
|
156
|
-
readonly indexed: true;
|
|
157
|
-
readonly internalType: "address";
|
|
158
368
|
readonly name: "_upgradeManager";
|
|
159
369
|
readonly type: "address";
|
|
160
|
-
}, {
|
|
161
370
|
readonly indexed: true;
|
|
162
371
|
readonly internalType: "address";
|
|
372
|
+
}, {
|
|
163
373
|
readonly name: "_deviceWalletImplementation";
|
|
164
374
|
readonly type: "address";
|
|
165
|
-
}, {
|
|
166
375
|
readonly indexed: true;
|
|
167
376
|
readonly internalType: "address";
|
|
377
|
+
}, {
|
|
168
378
|
readonly name: "_beacon";
|
|
169
379
|
readonly type: "address";
|
|
380
|
+
readonly indexed: true;
|
|
381
|
+
readonly internalType: "address";
|
|
170
382
|
}];
|
|
171
|
-
readonly name: "DeviceWalletFactoryDeployed";
|
|
172
|
-
readonly type: "event";
|
|
173
|
-
}, {
|
|
174
383
|
readonly anonymous: false;
|
|
384
|
+
}, {
|
|
385
|
+
readonly type: "event";
|
|
386
|
+
readonly name: "DeviceWalletImplementationUpdated";
|
|
175
387
|
readonly inputs: readonly [{
|
|
176
|
-
readonly indexed: true;
|
|
177
|
-
readonly internalType: "address";
|
|
178
388
|
readonly name: "_newDeviceImplementation";
|
|
179
389
|
readonly type: "address";
|
|
390
|
+
readonly indexed: true;
|
|
391
|
+
readonly internalType: "address";
|
|
180
392
|
}];
|
|
181
|
-
readonly name: "DeviceWalletImplementationUpdated";
|
|
182
|
-
readonly type: "event";
|
|
183
|
-
}, {
|
|
184
393
|
readonly anonymous: false;
|
|
394
|
+
}, {
|
|
395
|
+
readonly type: "event";
|
|
396
|
+
readonly name: "Initialized";
|
|
185
397
|
readonly inputs: readonly [{
|
|
186
|
-
readonly indexed: false;
|
|
187
|
-
readonly internalType: "uint64";
|
|
188
398
|
readonly name: "version";
|
|
189
399
|
readonly type: "uint64";
|
|
400
|
+
readonly indexed: false;
|
|
401
|
+
readonly internalType: "uint64";
|
|
190
402
|
}];
|
|
191
|
-
readonly name: "Initialized";
|
|
192
|
-
readonly type: "event";
|
|
193
|
-
}, {
|
|
194
403
|
readonly anonymous: false;
|
|
404
|
+
}, {
|
|
405
|
+
readonly type: "event";
|
|
406
|
+
readonly name: "OwnershipTransferStarted";
|
|
195
407
|
readonly inputs: readonly [{
|
|
196
|
-
readonly indexed: true;
|
|
197
|
-
readonly internalType: "address";
|
|
198
408
|
readonly name: "previousOwner";
|
|
199
409
|
readonly type: "address";
|
|
200
|
-
}, {
|
|
201
410
|
readonly indexed: true;
|
|
202
411
|
readonly internalType: "address";
|
|
412
|
+
}, {
|
|
203
413
|
readonly name: "newOwner";
|
|
204
414
|
readonly type: "address";
|
|
415
|
+
readonly indexed: true;
|
|
416
|
+
readonly internalType: "address";
|
|
205
417
|
}];
|
|
206
|
-
readonly name: "OwnershipTransferStarted";
|
|
207
|
-
readonly type: "event";
|
|
208
|
-
}, {
|
|
209
418
|
readonly anonymous: false;
|
|
419
|
+
}, {
|
|
420
|
+
readonly type: "event";
|
|
421
|
+
readonly name: "OwnershipTransferred";
|
|
210
422
|
readonly inputs: readonly [{
|
|
211
|
-
readonly indexed: true;
|
|
212
|
-
readonly internalType: "address";
|
|
213
423
|
readonly name: "previousOwner";
|
|
214
424
|
readonly type: "address";
|
|
215
|
-
}, {
|
|
216
425
|
readonly indexed: true;
|
|
217
426
|
readonly internalType: "address";
|
|
427
|
+
}, {
|
|
218
428
|
readonly name: "newOwner";
|
|
219
429
|
readonly type: "address";
|
|
220
|
-
}];
|
|
221
|
-
readonly name: "OwnershipTransferred";
|
|
222
|
-
readonly type: "event";
|
|
223
|
-
}, {
|
|
224
|
-
readonly anonymous: false;
|
|
225
|
-
readonly inputs: readonly [{
|
|
226
430
|
readonly indexed: true;
|
|
227
431
|
readonly internalType: "address";
|
|
228
|
-
readonly name: "implementation";
|
|
229
|
-
readonly type: "address";
|
|
230
432
|
}];
|
|
231
|
-
readonly name: "Upgraded";
|
|
232
|
-
readonly type: "event";
|
|
233
|
-
}, {
|
|
234
433
|
readonly anonymous: false;
|
|
235
|
-
readonly inputs: readonly [{
|
|
236
|
-
readonly indexed: true;
|
|
237
|
-
readonly internalType: "address";
|
|
238
|
-
readonly name: "_updatedVaultAddress";
|
|
239
|
-
readonly type: "address";
|
|
240
|
-
}];
|
|
241
|
-
readonly name: "VaultAddressUpdated";
|
|
242
|
-
readonly type: "event";
|
|
243
|
-
}, {
|
|
244
|
-
readonly inputs: readonly [];
|
|
245
|
-
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
246
|
-
readonly outputs: readonly [{
|
|
247
|
-
readonly internalType: "string";
|
|
248
|
-
readonly name: "";
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
}];
|
|
251
|
-
readonly stateMutability: "view";
|
|
252
|
-
readonly type: "function";
|
|
253
|
-
}, {
|
|
254
|
-
readonly inputs: readonly [];
|
|
255
|
-
readonly name: "acceptAdminUpdate";
|
|
256
|
-
readonly outputs: readonly [{
|
|
257
|
-
readonly internalType: "address";
|
|
258
|
-
readonly name: "";
|
|
259
|
-
readonly type: "address";
|
|
260
|
-
}];
|
|
261
|
-
readonly stateMutability: "nonpayable";
|
|
262
|
-
readonly type: "function";
|
|
263
|
-
}, {
|
|
264
|
-
readonly inputs: readonly [];
|
|
265
|
-
readonly name: "acceptOwnership";
|
|
266
|
-
readonly outputs: readonly [];
|
|
267
|
-
readonly stateMutability: "nonpayable";
|
|
268
|
-
readonly type: "function";
|
|
269
434
|
}, {
|
|
435
|
+
readonly type: "event";
|
|
436
|
+
readonly name: "Upgraded";
|
|
270
437
|
readonly inputs: readonly [{
|
|
271
|
-
readonly
|
|
272
|
-
readonly name: "_registryContractAddress";
|
|
438
|
+
readonly name: "implementation";
|
|
273
439
|
readonly type: "address";
|
|
274
|
-
|
|
275
|
-
readonly name: "addRegistryAddress";
|
|
276
|
-
readonly outputs: readonly [{
|
|
440
|
+
readonly indexed: true;
|
|
277
441
|
readonly internalType: "address";
|
|
278
|
-
readonly name: "";
|
|
279
|
-
readonly type: "address";
|
|
280
|
-
}];
|
|
281
|
-
readonly stateMutability: "nonpayable";
|
|
282
|
-
readonly type: "function";
|
|
283
|
-
}, {
|
|
284
|
-
readonly inputs: readonly [];
|
|
285
|
-
readonly name: "beacon";
|
|
286
|
-
readonly outputs: readonly [{
|
|
287
|
-
readonly internalType: "contract UpgradeableBeacon";
|
|
288
|
-
readonly name: "";
|
|
289
|
-
readonly type: "address";
|
|
290
|
-
}];
|
|
291
|
-
readonly stateMutability: "view";
|
|
292
|
-
readonly type: "function";
|
|
293
|
-
}, {
|
|
294
|
-
readonly inputs: readonly [{
|
|
295
|
-
readonly internalType: "string";
|
|
296
|
-
readonly name: "_deviceUniqueIdentifier";
|
|
297
|
-
readonly type: "string";
|
|
298
|
-
}, {
|
|
299
|
-
readonly internalType: "bytes32[2]";
|
|
300
|
-
readonly name: "_deviceWalletOwnerKey";
|
|
301
|
-
readonly type: "bytes32[2]";
|
|
302
|
-
}, {
|
|
303
|
-
readonly internalType: "uint256";
|
|
304
|
-
readonly name: "_salt";
|
|
305
|
-
readonly type: "uint256";
|
|
306
|
-
}];
|
|
307
|
-
readonly name: "createAccount";
|
|
308
|
-
readonly outputs: readonly [{
|
|
309
|
-
readonly internalType: "contract DeviceWallet";
|
|
310
|
-
readonly name: "deviceWallet";
|
|
311
|
-
readonly type: "address";
|
|
312
|
-
}];
|
|
313
|
-
readonly stateMutability: "payable";
|
|
314
|
-
readonly type: "function";
|
|
315
|
-
}, {
|
|
316
|
-
readonly inputs: readonly [{
|
|
317
|
-
readonly internalType: "string[]";
|
|
318
|
-
readonly name: "_deviceUniqueIdentifiers";
|
|
319
|
-
readonly type: "string[]";
|
|
320
|
-
}, {
|
|
321
|
-
readonly internalType: "bytes32[2][]";
|
|
322
|
-
readonly name: "_deviceWalletOwnersKey";
|
|
323
|
-
readonly type: "bytes32[2][]";
|
|
324
|
-
}, {
|
|
325
|
-
readonly internalType: "uint256[]";
|
|
326
|
-
readonly name: "_salts";
|
|
327
|
-
readonly type: "uint256[]";
|
|
328
|
-
}, {
|
|
329
|
-
readonly internalType: "uint256[]";
|
|
330
|
-
readonly name: "_depositAmounts";
|
|
331
|
-
readonly type: "uint256[]";
|
|
332
|
-
}];
|
|
333
|
-
readonly name: "deployDeviceWalletForUsers";
|
|
334
|
-
readonly outputs: readonly [{
|
|
335
|
-
readonly components: readonly [{
|
|
336
|
-
readonly internalType: "address";
|
|
337
|
-
readonly name: "deviceWallet";
|
|
338
|
-
readonly type: "address";
|
|
339
|
-
}, {
|
|
340
|
-
readonly internalType: "address";
|
|
341
|
-
readonly name: "eSIMWallet";
|
|
342
|
-
readonly type: "address";
|
|
343
|
-
}];
|
|
344
|
-
readonly internalType: "struct Wallets[]";
|
|
345
|
-
readonly name: "";
|
|
346
|
-
readonly type: "tuple[]";
|
|
347
442
|
}];
|
|
348
|
-
readonly
|
|
349
|
-
readonly type: "function";
|
|
443
|
+
readonly anonymous: false;
|
|
350
444
|
}, {
|
|
445
|
+
readonly type: "error";
|
|
446
|
+
readonly name: "AddressEmptyCode";
|
|
351
447
|
readonly inputs: readonly [{
|
|
352
|
-
readonly
|
|
353
|
-
readonly name: "deviceWallet";
|
|
448
|
+
readonly name: "target";
|
|
354
449
|
readonly type: "address";
|
|
355
|
-
}];
|
|
356
|
-
readonly name: "deviceWalletInfoAdded";
|
|
357
|
-
readonly outputs: readonly [{
|
|
358
|
-
readonly internalType: "bool";
|
|
359
|
-
readonly name: "isAdded";
|
|
360
|
-
readonly type: "bool";
|
|
361
|
-
}];
|
|
362
|
-
readonly stateMutability: "view";
|
|
363
|
-
readonly type: "function";
|
|
364
|
-
}, {
|
|
365
|
-
readonly inputs: readonly [];
|
|
366
|
-
readonly name: "eSIMWalletAdmin";
|
|
367
|
-
readonly outputs: readonly [{
|
|
368
450
|
readonly internalType: "address";
|
|
369
|
-
readonly name: "";
|
|
370
|
-
readonly type: "address";
|
|
371
|
-
}];
|
|
372
|
-
readonly stateMutability: "view";
|
|
373
|
-
readonly type: "function";
|
|
374
|
-
}, {
|
|
375
|
-
readonly inputs: readonly [];
|
|
376
|
-
readonly name: "eSIMWalletFactory";
|
|
377
|
-
readonly outputs: readonly [{
|
|
378
|
-
readonly internalType: "contract ESIMWalletFactory";
|
|
379
|
-
readonly name: "";
|
|
380
|
-
readonly type: "address";
|
|
381
|
-
}];
|
|
382
|
-
readonly stateMutability: "view";
|
|
383
|
-
readonly type: "function";
|
|
384
|
-
}, {
|
|
385
|
-
readonly inputs: readonly [];
|
|
386
|
-
readonly name: "entryPoint";
|
|
387
|
-
readonly outputs: readonly [{
|
|
388
|
-
readonly internalType: "contract IEntryPoint";
|
|
389
|
-
readonly name: "";
|
|
390
|
-
readonly type: "address";
|
|
391
451
|
}];
|
|
392
|
-
readonly stateMutability: "view";
|
|
393
|
-
readonly type: "function";
|
|
394
452
|
}, {
|
|
453
|
+
readonly type: "error";
|
|
454
|
+
readonly name: "ArrayLengthMismatch";
|
|
395
455
|
readonly inputs: readonly [{
|
|
396
|
-
readonly
|
|
397
|
-
readonly
|
|
398
|
-
readonly type: "bytes32[2]";
|
|
399
|
-
}, {
|
|
400
|
-
readonly internalType: "string";
|
|
401
|
-
readonly name: "_deviceUniqueIdentifier";
|
|
402
|
-
readonly type: "string";
|
|
403
|
-
}, {
|
|
456
|
+
readonly name: "expected";
|
|
457
|
+
readonly type: "uint256";
|
|
404
458
|
readonly internalType: "uint256";
|
|
405
|
-
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "actual";
|
|
406
461
|
readonly type: "uint256";
|
|
462
|
+
readonly internalType: "uint256";
|
|
407
463
|
}];
|
|
408
|
-
|
|
409
|
-
readonly
|
|
410
|
-
|
|
411
|
-
|
|
464
|
+
}, {
|
|
465
|
+
readonly type: "error";
|
|
466
|
+
readonly name: "DeviceWalletAlreadyExists";
|
|
467
|
+
readonly inputs: readonly [{
|
|
468
|
+
readonly name: "deviceIdentifier";
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
readonly internalType: "string";
|
|
471
|
+
}, {
|
|
472
|
+
readonly name: "deviceWallet";
|
|
412
473
|
readonly type: "address";
|
|
474
|
+
readonly internalType: "address";
|
|
413
475
|
}];
|
|
414
|
-
readonly stateMutability: "view";
|
|
415
|
-
readonly type: "function";
|
|
416
476
|
}, {
|
|
417
|
-
readonly
|
|
418
|
-
readonly name: "
|
|
419
|
-
readonly
|
|
420
|
-
readonly
|
|
421
|
-
readonly name: "";
|
|
477
|
+
readonly type: "error";
|
|
478
|
+
readonly name: "DeviceWalletInfoAlreadyAdded";
|
|
479
|
+
readonly inputs: readonly [{
|
|
480
|
+
readonly name: "deviceWallet";
|
|
422
481
|
readonly type: "address";
|
|
482
|
+
readonly internalType: "address";
|
|
423
483
|
}];
|
|
424
|
-
readonly stateMutability: "view";
|
|
425
|
-
readonly type: "function";
|
|
426
484
|
}, {
|
|
485
|
+
readonly type: "error";
|
|
486
|
+
readonly name: "DeviceWalletMismatch";
|
|
427
487
|
readonly inputs: readonly [{
|
|
428
|
-
readonly
|
|
429
|
-
readonly name: "_deviceWalletImplementation";
|
|
488
|
+
readonly name: "deviceWallet";
|
|
430
489
|
readonly type: "address";
|
|
431
|
-
}, {
|
|
432
490
|
readonly internalType: "address";
|
|
433
|
-
readonly name: "_eSIMWalletAdmin";
|
|
434
|
-
readonly type: "address";
|
|
435
491
|
}, {
|
|
436
|
-
readonly
|
|
437
|
-
readonly name: "_vault";
|
|
492
|
+
readonly name: "derived";
|
|
438
493
|
readonly type: "address";
|
|
439
|
-
}, {
|
|
440
494
|
readonly internalType: "address";
|
|
441
|
-
|
|
495
|
+
}];
|
|
496
|
+
}, {
|
|
497
|
+
readonly type: "error";
|
|
498
|
+
readonly name: "DeviceWalletNotDeployed";
|
|
499
|
+
readonly inputs: readonly [{
|
|
500
|
+
readonly name: "deviceWallet";
|
|
442
501
|
readonly type: "address";
|
|
443
|
-
}, {
|
|
444
502
|
readonly internalType: "address";
|
|
445
|
-
readonly name: "_eSIMWalletFactoryAddress";
|
|
446
|
-
readonly type: "address";
|
|
447
|
-
}, {
|
|
448
|
-
readonly internalType: "contract IEntryPoint";
|
|
449
|
-
readonly name: "_entryPoint";
|
|
450
|
-
readonly type: "address";
|
|
451
|
-
}, {
|
|
452
|
-
readonly internalType: "contract P256Verifier";
|
|
453
|
-
readonly name: "_verifier";
|
|
454
|
-
readonly type: "address";
|
|
455
503
|
}];
|
|
456
|
-
readonly name: "initialize";
|
|
457
|
-
readonly outputs: readonly [];
|
|
458
|
-
readonly stateMutability: "nonpayable";
|
|
459
|
-
readonly type: "function";
|
|
460
504
|
}, {
|
|
461
|
-
readonly
|
|
462
|
-
readonly name: "
|
|
463
|
-
readonly
|
|
464
|
-
readonly
|
|
465
|
-
readonly name: "";
|
|
505
|
+
readonly type: "error";
|
|
506
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
507
|
+
readonly inputs: readonly [{
|
|
508
|
+
readonly name: "implementation";
|
|
466
509
|
readonly type: "address";
|
|
510
|
+
readonly internalType: "address";
|
|
467
511
|
}];
|
|
468
|
-
readonly stateMutability: "view";
|
|
469
|
-
readonly type: "function";
|
|
470
512
|
}, {
|
|
513
|
+
readonly type: "error";
|
|
514
|
+
readonly name: "ERC1967NonPayable";
|
|
471
515
|
readonly inputs: readonly [];
|
|
472
|
-
readonly name: "owner";
|
|
473
|
-
readonly outputs: readonly [{
|
|
474
|
-
readonly internalType: "address";
|
|
475
|
-
readonly name: "";
|
|
476
|
-
readonly type: "address";
|
|
477
|
-
}];
|
|
478
|
-
readonly stateMutability: "view";
|
|
479
|
-
readonly type: "function";
|
|
480
516
|
}, {
|
|
517
|
+
readonly type: "error";
|
|
518
|
+
readonly name: "EmptyBatch";
|
|
519
|
+
readonly inputs: readonly [];
|
|
520
|
+
}, {
|
|
521
|
+
readonly type: "error";
|
|
522
|
+
readonly name: "EmptyDeviceIdentifier";
|
|
523
|
+
readonly inputs: readonly [];
|
|
524
|
+
}, {
|
|
525
|
+
readonly type: "error";
|
|
526
|
+
readonly name: "FailedCall";
|
|
527
|
+
readonly inputs: readonly [];
|
|
528
|
+
}, {
|
|
529
|
+
readonly type: "error";
|
|
530
|
+
readonly name: "FailedToTransfer";
|
|
481
531
|
readonly inputs: readonly [];
|
|
482
|
-
readonly name: "pendingOwner";
|
|
483
|
-
readonly outputs: readonly [{
|
|
484
|
-
readonly internalType: "address";
|
|
485
|
-
readonly name: "";
|
|
486
|
-
readonly type: "address";
|
|
487
|
-
}];
|
|
488
|
-
readonly stateMutability: "view";
|
|
489
|
-
readonly type: "function";
|
|
490
532
|
}, {
|
|
533
|
+
readonly type: "error";
|
|
534
|
+
readonly name: "ImplementationUnchanged";
|
|
491
535
|
readonly inputs: readonly [{
|
|
492
|
-
readonly
|
|
493
|
-
readonly name: "_deviceWallet";
|
|
536
|
+
readonly name: "implementation";
|
|
494
537
|
readonly type: "address";
|
|
495
|
-
|
|
496
|
-
readonly internalType: "string";
|
|
497
|
-
readonly name: "_deviceUniqueIdentifier";
|
|
498
|
-
readonly type: "string";
|
|
499
|
-
}, {
|
|
500
|
-
readonly internalType: "bytes32[2]";
|
|
501
|
-
readonly name: "_deviceWalletOwnerKey";
|
|
502
|
-
readonly type: "bytes32[2]";
|
|
538
|
+
readonly internalType: "address";
|
|
503
539
|
}];
|
|
504
|
-
readonly name: "postCreateAccount";
|
|
505
|
-
readonly outputs: readonly [];
|
|
506
|
-
readonly stateMutability: "nonpayable";
|
|
507
|
-
readonly type: "function";
|
|
508
540
|
}, {
|
|
541
|
+
readonly type: "error";
|
|
542
|
+
readonly name: "InsufficientBalance";
|
|
509
543
|
readonly inputs: readonly [{
|
|
510
|
-
readonly
|
|
511
|
-
readonly
|
|
512
|
-
readonly
|
|
544
|
+
readonly name: "balance";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
readonly internalType: "uint256";
|
|
513
547
|
}, {
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
readonly
|
|
517
|
-
}];
|
|
518
|
-
readonly name: "preCreateAccountValidation";
|
|
519
|
-
readonly outputs: readonly [{
|
|
520
|
-
readonly internalType: "address";
|
|
521
|
-
readonly name: "wallet";
|
|
522
|
-
readonly type: "address";
|
|
548
|
+
readonly name: "amount";
|
|
549
|
+
readonly type: "uint256";
|
|
550
|
+
readonly internalType: "uint256";
|
|
523
551
|
}];
|
|
524
|
-
readonly stateMutability: "view";
|
|
525
|
-
readonly type: "function";
|
|
526
552
|
}, {
|
|
553
|
+
readonly type: "error";
|
|
554
|
+
readonly name: "InvalidDeviceWalletOwnerKey";
|
|
527
555
|
readonly inputs: readonly [];
|
|
528
|
-
readonly name: "proxiableUUID";
|
|
529
|
-
readonly outputs: readonly [{
|
|
530
|
-
readonly internalType: "bytes32";
|
|
531
|
-
readonly name: "";
|
|
532
|
-
readonly type: "bytes32";
|
|
533
|
-
}];
|
|
534
|
-
readonly stateMutability: "view";
|
|
535
|
-
readonly type: "function";
|
|
536
556
|
}, {
|
|
557
|
+
readonly type: "error";
|
|
558
|
+
readonly name: "InvalidInitialization";
|
|
537
559
|
readonly inputs: readonly [];
|
|
538
|
-
readonly name: "registry";
|
|
539
|
-
readonly outputs: readonly [{
|
|
540
|
-
readonly internalType: "contract Registry";
|
|
541
|
-
readonly name: "";
|
|
542
|
-
readonly type: "address";
|
|
543
|
-
}];
|
|
544
|
-
readonly stateMutability: "view";
|
|
545
|
-
readonly type: "function";
|
|
546
560
|
}, {
|
|
561
|
+
readonly type: "error";
|
|
562
|
+
readonly name: "NotInitializing";
|
|
547
563
|
readonly inputs: readonly [];
|
|
548
|
-
readonly name: "renounceOwnership";
|
|
549
|
-
readonly outputs: readonly [];
|
|
550
|
-
readonly stateMutability: "nonpayable";
|
|
551
|
-
readonly type: "function";
|
|
552
564
|
}, {
|
|
553
|
-
readonly
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
readonly type: "address";
|
|
557
|
-
}];
|
|
558
|
-
readonly name: "requestAdminUpdate";
|
|
559
|
-
readonly outputs: readonly [];
|
|
560
|
-
readonly stateMutability: "nonpayable";
|
|
561
|
-
readonly type: "function";
|
|
565
|
+
readonly type: "error";
|
|
566
|
+
readonly name: "OnlyAdminOrRegistry";
|
|
567
|
+
readonly inputs: readonly [];
|
|
562
568
|
}, {
|
|
569
|
+
readonly type: "error";
|
|
570
|
+
readonly name: "OwnableInvalidOwner";
|
|
563
571
|
readonly inputs: readonly [{
|
|
564
|
-
readonly
|
|
565
|
-
readonly name: "newOwner";
|
|
572
|
+
readonly name: "owner";
|
|
566
573
|
readonly type: "address";
|
|
574
|
+
readonly internalType: "address";
|
|
567
575
|
}];
|
|
568
|
-
readonly name: "transferOwnership";
|
|
569
|
-
readonly outputs: readonly [];
|
|
570
|
-
readonly stateMutability: "nonpayable";
|
|
571
|
-
readonly type: "function";
|
|
572
576
|
}, {
|
|
577
|
+
readonly type: "error";
|
|
578
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
573
579
|
readonly inputs: readonly [{
|
|
574
|
-
readonly
|
|
575
|
-
readonly name: "_newDeviceImpl";
|
|
580
|
+
readonly name: "account";
|
|
576
581
|
readonly type: "address";
|
|
577
|
-
}];
|
|
578
|
-
readonly name: "updateDeviceWalletImplementation";
|
|
579
|
-
readonly outputs: readonly [{
|
|
580
582
|
readonly internalType: "address";
|
|
581
|
-
readonly name: "";
|
|
582
|
-
readonly type: "address";
|
|
583
583
|
}];
|
|
584
|
-
readonly stateMutability: "nonpayable";
|
|
585
|
-
readonly type: "function";
|
|
586
584
|
}, {
|
|
585
|
+
readonly type: "error";
|
|
586
|
+
readonly name: "OwnerKeyAlreadyRegistered";
|
|
587
587
|
readonly inputs: readonly [{
|
|
588
|
-
readonly
|
|
589
|
-
readonly
|
|
590
|
-
readonly
|
|
591
|
-
}];
|
|
592
|
-
readonly name: "updateVaultAddress";
|
|
593
|
-
readonly outputs: readonly [{
|
|
594
|
-
readonly internalType: "address";
|
|
595
|
-
readonly name: "";
|
|
596
|
-
readonly type: "address";
|
|
588
|
+
readonly name: "ownerKeyHash";
|
|
589
|
+
readonly type: "bytes32";
|
|
590
|
+
readonly internalType: "bytes32";
|
|
597
591
|
}];
|
|
598
|
-
readonly stateMutability: "nonpayable";
|
|
599
|
-
readonly type: "function";
|
|
600
592
|
}, {
|
|
593
|
+
readonly type: "error";
|
|
594
|
+
readonly name: "OwnershipCannotBeRenounced";
|
|
595
|
+
readonly inputs: readonly [];
|
|
596
|
+
}, {
|
|
597
|
+
readonly type: "error";
|
|
598
|
+
readonly name: "RegistryAlreadySet";
|
|
601
599
|
readonly inputs: readonly [{
|
|
602
|
-
readonly
|
|
603
|
-
readonly name: "newImplementation";
|
|
600
|
+
readonly name: "registry";
|
|
604
601
|
readonly type: "address";
|
|
605
|
-
|
|
606
|
-
readonly internalType: "bytes";
|
|
607
|
-
readonly name: "data";
|
|
608
|
-
readonly type: "bytes";
|
|
602
|
+
readonly internalType: "address";
|
|
609
603
|
}];
|
|
610
|
-
readonly name: "upgradeToAndCall";
|
|
611
|
-
readonly outputs: readonly [];
|
|
612
|
-
readonly stateMutability: "payable";
|
|
613
|
-
readonly type: "function";
|
|
614
604
|
}, {
|
|
605
|
+
readonly type: "error";
|
|
606
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
615
607
|
readonly inputs: readonly [];
|
|
616
|
-
|
|
617
|
-
readonly
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
readonly
|
|
608
|
+
}, {
|
|
609
|
+
readonly type: "error";
|
|
610
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
611
|
+
readonly inputs: readonly [{
|
|
612
|
+
readonly name: "slot";
|
|
613
|
+
readonly type: "bytes32";
|
|
614
|
+
readonly internalType: "bytes32";
|
|
621
615
|
}];
|
|
622
|
-
readonly stateMutability: "view";
|
|
623
|
-
readonly type: "function";
|
|
624
616
|
}, {
|
|
625
|
-
readonly
|
|
626
|
-
readonly name: "
|
|
627
|
-
readonly
|
|
628
|
-
readonly
|
|
629
|
-
readonly
|
|
630
|
-
readonly
|
|
617
|
+
readonly type: "error";
|
|
618
|
+
readonly name: "ZeroAddress";
|
|
619
|
+
readonly inputs: readonly [{
|
|
620
|
+
readonly name: "parameter";
|
|
621
|
+
readonly type: "string";
|
|
622
|
+
readonly internalType: "string";
|
|
631
623
|
}];
|
|
632
|
-
readonly stateMutability: "view";
|
|
633
|
-
readonly type: "function";
|
|
634
624
|
}];
|
|
635
625
|
export default DeviceWalletFactory;
|