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,356 +1,418 @@
|
|
|
1
1
|
declare const ESIMWalletFactory: readonly [{
|
|
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";
|
|
9
|
+
}];
|
|
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";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly name: "addRegistryAddress";
|
|
2
20
|
readonly inputs: readonly [{
|
|
21
|
+
readonly name: "_registryContractAddress";
|
|
22
|
+
readonly type: "address";
|
|
3
23
|
readonly internalType: "address";
|
|
4
|
-
|
|
24
|
+
}];
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly name: "";
|
|
5
27
|
readonly type: "address";
|
|
28
|
+
readonly internalType: "address";
|
|
6
29
|
}];
|
|
7
|
-
readonly
|
|
8
|
-
readonly type: "error";
|
|
30
|
+
readonly stateMutability: "nonpayable";
|
|
9
31
|
}, {
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly name: "beacon";
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly outputs: readonly [{
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
readonly internalType: "contract UpgradeableBeacon";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "view";
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly name: "deployESIMWallet";
|
|
10
44
|
readonly inputs: readonly [{
|
|
45
|
+
readonly name: "_deviceWalletAddress";
|
|
46
|
+
readonly type: "address";
|
|
11
47
|
readonly internalType: "address";
|
|
12
|
-
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "_salt";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
}];
|
|
53
|
+
readonly outputs: readonly [{
|
|
54
|
+
readonly name: "";
|
|
13
55
|
readonly type: "address";
|
|
56
|
+
readonly internalType: "address";
|
|
14
57
|
}];
|
|
15
|
-
readonly
|
|
16
|
-
readonly type: "error";
|
|
58
|
+
readonly stateMutability: "nonpayable";
|
|
17
59
|
}, {
|
|
60
|
+
readonly type: "function";
|
|
61
|
+
readonly name: "getCounterFactualAddress";
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly name: "_deviceWalletAddress";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
readonly internalType: "address";
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "_salt";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
}];
|
|
71
|
+
readonly outputs: readonly [{
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
readonly internalType: "address";
|
|
75
|
+
}];
|
|
76
|
+
readonly stateMutability: "view";
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "getCurrentESIMWalletImplementation";
|
|
18
80
|
readonly inputs: readonly [];
|
|
19
|
-
readonly
|
|
20
|
-
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
readonly internalType: "address";
|
|
85
|
+
}];
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "initialize";
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly name: "_eSIMWalletImplementation";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
readonly internalType: "address";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "_upgradeManager";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
}];
|
|
99
|
+
readonly outputs: readonly [];
|
|
100
|
+
readonly stateMutability: "nonpayable";
|
|
101
|
+
}, {
|
|
102
|
+
readonly type: "function";
|
|
103
|
+
readonly name: "isESIMWalletDeployed";
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly name: "eSIMWalletAddress";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
}];
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly name: "isDeployed";
|
|
111
|
+
readonly type: "bool";
|
|
112
|
+
readonly internalType: "bool";
|
|
113
|
+
}];
|
|
114
|
+
readonly stateMutability: "view";
|
|
21
115
|
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly name: "owner";
|
|
22
118
|
readonly inputs: readonly [];
|
|
23
|
-
readonly
|
|
24
|
-
|
|
119
|
+
readonly outputs: readonly [{
|
|
120
|
+
readonly name: "";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
}];
|
|
124
|
+
readonly stateMutability: "view";
|
|
25
125
|
}, {
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
readonly name: "pendingOwner";
|
|
26
128
|
readonly inputs: readonly [];
|
|
27
|
-
readonly
|
|
28
|
-
|
|
129
|
+
readonly outputs: readonly [{
|
|
130
|
+
readonly name: "";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
}];
|
|
134
|
+
readonly stateMutability: "view";
|
|
29
135
|
}, {
|
|
136
|
+
readonly type: "function";
|
|
137
|
+
readonly name: "proxiableUUID";
|
|
30
138
|
readonly inputs: readonly [];
|
|
31
|
-
readonly
|
|
32
|
-
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "bytes32";
|
|
142
|
+
readonly internalType: "bytes32";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
33
145
|
}, {
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "registry";
|
|
34
148
|
readonly inputs: readonly [];
|
|
35
|
-
readonly
|
|
36
|
-
|
|
149
|
+
readonly outputs: readonly [{
|
|
150
|
+
readonly name: "";
|
|
151
|
+
readonly type: "address";
|
|
152
|
+
readonly internalType: "contract Registry";
|
|
153
|
+
}];
|
|
154
|
+
readonly stateMutability: "view";
|
|
155
|
+
}, {
|
|
156
|
+
readonly type: "function";
|
|
157
|
+
readonly name: "renounceOwnership";
|
|
158
|
+
readonly inputs: readonly [];
|
|
159
|
+
readonly outputs: readonly [];
|
|
160
|
+
readonly stateMutability: "pure";
|
|
37
161
|
}, {
|
|
162
|
+
readonly type: "function";
|
|
163
|
+
readonly name: "transferOwnership";
|
|
38
164
|
readonly inputs: readonly [{
|
|
39
|
-
readonly
|
|
40
|
-
readonly name: "owner";
|
|
165
|
+
readonly name: "newOwner";
|
|
41
166
|
readonly type: "address";
|
|
167
|
+
readonly internalType: "address";
|
|
42
168
|
}];
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
169
|
+
readonly outputs: readonly [];
|
|
170
|
+
readonly stateMutability: "nonpayable";
|
|
45
171
|
}, {
|
|
172
|
+
readonly type: "function";
|
|
173
|
+
readonly name: "updateESIMWalletImplementation";
|
|
46
174
|
readonly inputs: readonly [{
|
|
175
|
+
readonly name: "_eSIMWalletImpl";
|
|
176
|
+
readonly type: "address";
|
|
47
177
|
readonly internalType: "address";
|
|
48
|
-
|
|
178
|
+
}];
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly name: "";
|
|
49
181
|
readonly type: "address";
|
|
182
|
+
readonly internalType: "address";
|
|
50
183
|
}];
|
|
51
|
-
readonly
|
|
52
|
-
readonly type: "error";
|
|
53
|
-
}, {
|
|
54
|
-
readonly inputs: readonly [];
|
|
55
|
-
readonly name: "UUPSUnauthorizedCallContext";
|
|
56
|
-
readonly type: "error";
|
|
184
|
+
readonly stateMutability: "nonpayable";
|
|
57
185
|
}, {
|
|
186
|
+
readonly type: "function";
|
|
187
|
+
readonly name: "upgradeToAndCall";
|
|
58
188
|
readonly inputs: readonly [{
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
189
|
+
readonly name: "newImplementation";
|
|
190
|
+
readonly type: "address";
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
}, {
|
|
193
|
+
readonly name: "data";
|
|
194
|
+
readonly type: "bytes";
|
|
195
|
+
readonly internalType: "bytes";
|
|
62
196
|
}];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
197
|
+
readonly outputs: readonly [];
|
|
198
|
+
readonly stateMutability: "payable";
|
|
65
199
|
}, {
|
|
66
|
-
readonly
|
|
200
|
+
readonly type: "event";
|
|
201
|
+
readonly name: "AddedRegistry";
|
|
67
202
|
readonly inputs: readonly [{
|
|
68
|
-
readonly indexed: true;
|
|
69
|
-
readonly internalType: "address";
|
|
70
203
|
readonly name: "registry";
|
|
71
204
|
readonly type: "address";
|
|
205
|
+
readonly indexed: true;
|
|
206
|
+
readonly internalType: "address";
|
|
72
207
|
}];
|
|
73
|
-
readonly name: "AddedRegistry";
|
|
74
|
-
readonly type: "event";
|
|
75
|
-
}, {
|
|
76
208
|
readonly anonymous: false;
|
|
209
|
+
}, {
|
|
210
|
+
readonly type: "event";
|
|
211
|
+
readonly name: "ESIMWalletDeployed";
|
|
77
212
|
readonly inputs: readonly [{
|
|
78
|
-
readonly indexed: true;
|
|
79
|
-
readonly internalType: "address";
|
|
80
213
|
readonly name: "_eSIMWalletAddress";
|
|
81
214
|
readonly type: "address";
|
|
82
|
-
}, {
|
|
83
215
|
readonly indexed: true;
|
|
84
216
|
readonly internalType: "address";
|
|
217
|
+
}, {
|
|
85
218
|
readonly name: "_deviceWalletAddress";
|
|
86
219
|
readonly type: "address";
|
|
87
|
-
}, {
|
|
88
220
|
readonly indexed: true;
|
|
89
221
|
readonly internalType: "address";
|
|
222
|
+
}, {
|
|
90
223
|
readonly name: "_caller";
|
|
91
224
|
readonly type: "address";
|
|
225
|
+
readonly indexed: true;
|
|
226
|
+
readonly internalType: "address";
|
|
92
227
|
}];
|
|
93
|
-
readonly name: "ESIMWalletDeployed";
|
|
94
|
-
readonly type: "event";
|
|
95
|
-
}, {
|
|
96
228
|
readonly anonymous: false;
|
|
229
|
+
}, {
|
|
230
|
+
readonly type: "event";
|
|
231
|
+
readonly name: "ESIMWalletFactorydeployed";
|
|
97
232
|
readonly inputs: readonly [{
|
|
98
|
-
readonly indexed: true;
|
|
99
|
-
readonly internalType: "address";
|
|
100
233
|
readonly name: "_upgradeManager";
|
|
101
234
|
readonly type: "address";
|
|
102
|
-
}, {
|
|
103
235
|
readonly indexed: true;
|
|
104
236
|
readonly internalType: "address";
|
|
237
|
+
}, {
|
|
105
238
|
readonly name: "_eSIMWalletImplementation";
|
|
106
239
|
readonly type: "address";
|
|
107
|
-
}, {
|
|
108
240
|
readonly indexed: true;
|
|
109
241
|
readonly internalType: "address";
|
|
242
|
+
}, {
|
|
110
243
|
readonly name: "beacon";
|
|
111
244
|
readonly type: "address";
|
|
245
|
+
readonly indexed: true;
|
|
246
|
+
readonly internalType: "address";
|
|
112
247
|
}];
|
|
113
|
-
readonly name: "ESIMWalletFactorydeployed";
|
|
114
|
-
readonly type: "event";
|
|
115
|
-
}, {
|
|
116
248
|
readonly anonymous: false;
|
|
249
|
+
}, {
|
|
250
|
+
readonly type: "event";
|
|
251
|
+
readonly name: "ESIMWalletImplementationUpdated";
|
|
117
252
|
readonly inputs: readonly [{
|
|
118
|
-
readonly indexed: true;
|
|
119
|
-
readonly internalType: "address";
|
|
120
253
|
readonly name: "_newImplementation";
|
|
121
254
|
readonly type: "address";
|
|
255
|
+
readonly indexed: true;
|
|
256
|
+
readonly internalType: "address";
|
|
122
257
|
}];
|
|
123
|
-
readonly name: "ESIMWalletImplementationUpdated";
|
|
124
|
-
readonly type: "event";
|
|
125
|
-
}, {
|
|
126
258
|
readonly anonymous: false;
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "event";
|
|
261
|
+
readonly name: "Initialized";
|
|
127
262
|
readonly inputs: readonly [{
|
|
128
|
-
readonly indexed: false;
|
|
129
|
-
readonly internalType: "uint64";
|
|
130
263
|
readonly name: "version";
|
|
131
264
|
readonly type: "uint64";
|
|
265
|
+
readonly indexed: false;
|
|
266
|
+
readonly internalType: "uint64";
|
|
132
267
|
}];
|
|
133
|
-
readonly name: "Initialized";
|
|
134
|
-
readonly type: "event";
|
|
135
|
-
}, {
|
|
136
268
|
readonly anonymous: false;
|
|
269
|
+
}, {
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
readonly name: "OwnershipTransferStarted";
|
|
137
272
|
readonly inputs: readonly [{
|
|
138
|
-
readonly indexed: true;
|
|
139
|
-
readonly internalType: "address";
|
|
140
273
|
readonly name: "previousOwner";
|
|
141
274
|
readonly type: "address";
|
|
142
|
-
}, {
|
|
143
275
|
readonly indexed: true;
|
|
144
276
|
readonly internalType: "address";
|
|
277
|
+
}, {
|
|
145
278
|
readonly name: "newOwner";
|
|
146
279
|
readonly type: "address";
|
|
280
|
+
readonly indexed: true;
|
|
281
|
+
readonly internalType: "address";
|
|
147
282
|
}];
|
|
148
|
-
readonly name: "OwnershipTransferStarted";
|
|
149
|
-
readonly type: "event";
|
|
150
|
-
}, {
|
|
151
283
|
readonly anonymous: false;
|
|
284
|
+
}, {
|
|
285
|
+
readonly type: "event";
|
|
286
|
+
readonly name: "OwnershipTransferred";
|
|
152
287
|
readonly inputs: readonly [{
|
|
153
|
-
readonly indexed: true;
|
|
154
|
-
readonly internalType: "address";
|
|
155
288
|
readonly name: "previousOwner";
|
|
156
289
|
readonly type: "address";
|
|
157
|
-
}, {
|
|
158
290
|
readonly indexed: true;
|
|
159
291
|
readonly internalType: "address";
|
|
292
|
+
}, {
|
|
160
293
|
readonly name: "newOwner";
|
|
161
294
|
readonly type: "address";
|
|
162
|
-
}];
|
|
163
|
-
readonly name: "OwnershipTransferred";
|
|
164
|
-
readonly type: "event";
|
|
165
|
-
}, {
|
|
166
|
-
readonly anonymous: false;
|
|
167
|
-
readonly inputs: readonly [{
|
|
168
295
|
readonly indexed: true;
|
|
169
296
|
readonly internalType: "address";
|
|
170
|
-
readonly name: "implementation";
|
|
171
|
-
readonly type: "address";
|
|
172
|
-
}];
|
|
173
|
-
readonly name: "Upgraded";
|
|
174
|
-
readonly type: "event";
|
|
175
|
-
}, {
|
|
176
|
-
readonly inputs: readonly [];
|
|
177
|
-
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
178
|
-
readonly outputs: readonly [{
|
|
179
|
-
readonly internalType: "string";
|
|
180
|
-
readonly name: "";
|
|
181
|
-
readonly type: "string";
|
|
182
297
|
}];
|
|
183
|
-
readonly
|
|
184
|
-
readonly type: "function";
|
|
185
|
-
}, {
|
|
186
|
-
readonly inputs: readonly [];
|
|
187
|
-
readonly name: "acceptOwnership";
|
|
188
|
-
readonly outputs: readonly [];
|
|
189
|
-
readonly stateMutability: "nonpayable";
|
|
190
|
-
readonly type: "function";
|
|
298
|
+
readonly anonymous: false;
|
|
191
299
|
}, {
|
|
300
|
+
readonly type: "event";
|
|
301
|
+
readonly name: "Upgraded";
|
|
192
302
|
readonly inputs: readonly [{
|
|
193
|
-
readonly
|
|
194
|
-
readonly name: "_registryContractAddress";
|
|
303
|
+
readonly name: "implementation";
|
|
195
304
|
readonly type: "address";
|
|
196
|
-
|
|
197
|
-
readonly name: "addRegistryAddress";
|
|
198
|
-
readonly outputs: readonly [{
|
|
305
|
+
readonly indexed: true;
|
|
199
306
|
readonly internalType: "address";
|
|
200
|
-
readonly name: "";
|
|
201
|
-
readonly type: "address";
|
|
202
307
|
}];
|
|
203
|
-
readonly
|
|
204
|
-
readonly type: "function";
|
|
308
|
+
readonly anonymous: false;
|
|
205
309
|
}, {
|
|
206
|
-
readonly
|
|
207
|
-
readonly name: "
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
readonly name: "";
|
|
310
|
+
readonly type: "error";
|
|
311
|
+
readonly name: "AddressEmptyCode";
|
|
312
|
+
readonly inputs: readonly [{
|
|
313
|
+
readonly name: "target";
|
|
211
314
|
readonly type: "address";
|
|
315
|
+
readonly internalType: "address";
|
|
212
316
|
}];
|
|
213
|
-
readonly stateMutability: "view";
|
|
214
|
-
readonly type: "function";
|
|
215
317
|
}, {
|
|
318
|
+
readonly type: "error";
|
|
319
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
216
320
|
readonly inputs: readonly [{
|
|
217
|
-
readonly
|
|
218
|
-
readonly name: "_deviceWalletAddress";
|
|
321
|
+
readonly name: "implementation";
|
|
219
322
|
readonly type: "address";
|
|
220
|
-
}, {
|
|
221
|
-
readonly internalType: "uint256";
|
|
222
|
-
readonly name: "_salt";
|
|
223
|
-
readonly type: "uint256";
|
|
224
|
-
}];
|
|
225
|
-
readonly name: "deployESIMWallet";
|
|
226
|
-
readonly outputs: readonly [{
|
|
227
323
|
readonly internalType: "address";
|
|
228
|
-
readonly name: "";
|
|
229
|
-
readonly type: "address";
|
|
230
324
|
}];
|
|
231
|
-
readonly stateMutability: "nonpayable";
|
|
232
|
-
readonly type: "function";
|
|
233
325
|
}, {
|
|
326
|
+
readonly type: "error";
|
|
327
|
+
readonly name: "ERC1967NonPayable";
|
|
328
|
+
readonly inputs: readonly [];
|
|
329
|
+
}, {
|
|
330
|
+
readonly type: "error";
|
|
331
|
+
readonly name: "FailedCall";
|
|
234
332
|
readonly inputs: readonly [];
|
|
235
|
-
readonly name: "getCurrentESIMWalletImplementation";
|
|
236
|
-
readonly outputs: readonly [{
|
|
237
|
-
readonly internalType: "address";
|
|
238
|
-
readonly name: "";
|
|
239
|
-
readonly type: "address";
|
|
240
|
-
}];
|
|
241
|
-
readonly stateMutability: "view";
|
|
242
|
-
readonly type: "function";
|
|
243
333
|
}, {
|
|
334
|
+
readonly type: "error";
|
|
335
|
+
readonly name: "ImplementationUnchanged";
|
|
244
336
|
readonly inputs: readonly [{
|
|
245
|
-
readonly
|
|
246
|
-
readonly name: "_eSIMWalletImplementation";
|
|
337
|
+
readonly name: "implementation";
|
|
247
338
|
readonly type: "address";
|
|
248
|
-
}, {
|
|
249
339
|
readonly internalType: "address";
|
|
250
|
-
readonly name: "_upgradeManager";
|
|
251
|
-
readonly type: "address";
|
|
252
340
|
}];
|
|
253
|
-
readonly name: "initialize";
|
|
254
|
-
readonly outputs: readonly [];
|
|
255
|
-
readonly stateMutability: "nonpayable";
|
|
256
|
-
readonly type: "function";
|
|
257
341
|
}, {
|
|
258
|
-
readonly
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
readonly type: "address";
|
|
262
|
-
}];
|
|
263
|
-
readonly name: "isESIMWalletDeployed";
|
|
264
|
-
readonly outputs: readonly [{
|
|
265
|
-
readonly internalType: "bool";
|
|
266
|
-
readonly name: "isDeployed";
|
|
267
|
-
readonly type: "bool";
|
|
268
|
-
}];
|
|
269
|
-
readonly stateMutability: "view";
|
|
270
|
-
readonly type: "function";
|
|
342
|
+
readonly type: "error";
|
|
343
|
+
readonly name: "InvalidInitialization";
|
|
344
|
+
readonly inputs: readonly [];
|
|
271
345
|
}, {
|
|
346
|
+
readonly type: "error";
|
|
347
|
+
readonly name: "NotInitializing";
|
|
272
348
|
readonly inputs: readonly [];
|
|
273
|
-
readonly name: "owner";
|
|
274
|
-
readonly outputs: readonly [{
|
|
275
|
-
readonly internalType: "address";
|
|
276
|
-
readonly name: "";
|
|
277
|
-
readonly type: "address";
|
|
278
|
-
}];
|
|
279
|
-
readonly stateMutability: "view";
|
|
280
|
-
readonly type: "function";
|
|
281
349
|
}, {
|
|
350
|
+
readonly type: "error";
|
|
351
|
+
readonly name: "OnlyDeployForSelf";
|
|
282
352
|
readonly inputs: readonly [];
|
|
283
|
-
readonly name: "pendingOwner";
|
|
284
|
-
readonly outputs: readonly [{
|
|
285
|
-
readonly internalType: "address";
|
|
286
|
-
readonly name: "";
|
|
287
|
-
readonly type: "address";
|
|
288
|
-
}];
|
|
289
|
-
readonly stateMutability: "view";
|
|
290
|
-
readonly type: "function";
|
|
291
353
|
}, {
|
|
354
|
+
readonly type: "error";
|
|
355
|
+
readonly name: "OnlyRegistryOrDeviceWalletFactoryOrDeviceWallet";
|
|
292
356
|
readonly inputs: readonly [];
|
|
293
|
-
|
|
294
|
-
readonly
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
readonly
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "error";
|
|
359
|
+
readonly name: "OwnableInvalidOwner";
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly name: "owner";
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
readonly internalType: "address";
|
|
298
364
|
}];
|
|
299
|
-
readonly stateMutability: "view";
|
|
300
|
-
readonly type: "function";
|
|
301
365
|
}, {
|
|
302
|
-
readonly
|
|
303
|
-
readonly name: "
|
|
304
|
-
readonly
|
|
305
|
-
readonly
|
|
306
|
-
readonly name: "";
|
|
366
|
+
readonly type: "error";
|
|
367
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
368
|
+
readonly inputs: readonly [{
|
|
369
|
+
readonly name: "account";
|
|
307
370
|
readonly type: "address";
|
|
371
|
+
readonly internalType: "address";
|
|
308
372
|
}];
|
|
309
|
-
readonly stateMutability: "view";
|
|
310
|
-
readonly type: "function";
|
|
311
373
|
}, {
|
|
374
|
+
readonly type: "error";
|
|
375
|
+
readonly name: "OwnershipCannotBeRenounced";
|
|
312
376
|
readonly inputs: readonly [];
|
|
313
|
-
readonly name: "renounceOwnership";
|
|
314
|
-
readonly outputs: readonly [];
|
|
315
|
-
readonly stateMutability: "nonpayable";
|
|
316
|
-
readonly type: "function";
|
|
317
377
|
}, {
|
|
378
|
+
readonly type: "error";
|
|
379
|
+
readonly name: "RegistryAlreadySet";
|
|
318
380
|
readonly inputs: readonly [{
|
|
319
|
-
readonly
|
|
320
|
-
readonly name: "newOwner";
|
|
381
|
+
readonly name: "registry";
|
|
321
382
|
readonly type: "address";
|
|
383
|
+
readonly internalType: "address";
|
|
322
384
|
}];
|
|
323
|
-
readonly name: "transferOwnership";
|
|
324
|
-
readonly outputs: readonly [];
|
|
325
|
-
readonly stateMutability: "nonpayable";
|
|
326
|
-
readonly type: "function";
|
|
327
385
|
}, {
|
|
386
|
+
readonly type: "error";
|
|
387
|
+
readonly name: "SaltAlreadyUsed";
|
|
328
388
|
readonly inputs: readonly [{
|
|
329
|
-
readonly
|
|
330
|
-
readonly name: "_eSIMWalletImpl";
|
|
389
|
+
readonly name: "deviceWallet";
|
|
331
390
|
readonly type: "address";
|
|
332
|
-
}];
|
|
333
|
-
readonly name: "updateESIMWalletImplementation";
|
|
334
|
-
readonly outputs: readonly [{
|
|
335
391
|
readonly internalType: "address";
|
|
336
|
-
|
|
337
|
-
readonly
|
|
392
|
+
}, {
|
|
393
|
+
readonly name: "salt";
|
|
394
|
+
readonly type: "uint256";
|
|
395
|
+
readonly internalType: "uint256";
|
|
338
396
|
}];
|
|
339
|
-
readonly stateMutability: "nonpayable";
|
|
340
|
-
readonly type: "function";
|
|
341
397
|
}, {
|
|
398
|
+
readonly type: "error";
|
|
399
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
400
|
+
readonly inputs: readonly [];
|
|
401
|
+
}, {
|
|
402
|
+
readonly type: "error";
|
|
403
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
342
404
|
readonly inputs: readonly [{
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
405
|
+
readonly name: "slot";
|
|
406
|
+
readonly type: "bytes32";
|
|
407
|
+
readonly internalType: "bytes32";
|
|
408
|
+
}];
|
|
409
|
+
}, {
|
|
410
|
+
readonly type: "error";
|
|
411
|
+
readonly name: "ZeroAddress";
|
|
412
|
+
readonly inputs: readonly [{
|
|
413
|
+
readonly name: "parameter";
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
readonly internalType: "string";
|
|
350
416
|
}];
|
|
351
|
-
readonly name: "upgradeToAndCall";
|
|
352
|
-
readonly outputs: readonly [];
|
|
353
|
-
readonly stateMutability: "payable";
|
|
354
|
-
readonly type: "function";
|
|
355
417
|
}];
|
|
356
418
|
export default ESIMWalletFactory;
|