@account-kit/wallet-client 4.52.0 → 4.52.1

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.
Files changed (60) hide show
  1. package/dist/esm/version.d.ts +1 -1
  2. package/dist/esm/version.js +1 -1
  3. package/dist/esm/version.js.map +1 -1
  4. package/dist/types/version.d.ts +1 -1
  5. package/package.json +6 -11
  6. package/src/version.ts +1 -1
  7. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.d.ts +0 -55
  8. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.js +0 -45
  9. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.js.map +0 -1
  10. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.d.ts +0 -55
  11. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.js +0 -45
  12. package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.js.map +0 -1
  13. package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.d.ts +0 -55
  14. package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.js +0 -45
  15. package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.js.map +0 -1
  16. package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.d.ts +0 -256
  17. package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.js +0 -202
  18. package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.js.map +0 -1
  19. package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.d.ts +0 -492
  20. package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.js +0 -399
  21. package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.js.map +0 -1
  22. package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts +0 -286
  23. package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.js +0 -225
  24. package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.js.map +0 -1
  25. package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts +0 -234
  26. package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.js +0 -179
  27. package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.js.map +0 -1
  28. package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts +0 -246
  29. package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.js +0 -182
  30. package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.js.map +0 -1
  31. package/dist/esm/abi/index.d.ts +0 -8
  32. package/dist/esm/abi/index.js +0 -9
  33. package/dist/esm/abi/index.js.map +0 -1
  34. package/dist/types/abi/LightAccountFactoryAbi_V1_0_1.d.ts +0 -56
  35. package/dist/types/abi/LightAccountFactoryAbi_V1_0_1.d.ts.map +0 -1
  36. package/dist/types/abi/LightAccountFactoryAbi_V1_0_2.d.ts +0 -56
  37. package/dist/types/abi/LightAccountFactoryAbi_V1_0_2.d.ts.map +0 -1
  38. package/dist/types/abi/LightAccountFactoryAbi_V1_1_0.d.ts +0 -56
  39. package/dist/types/abi/LightAccountFactoryAbi_V1_1_0.d.ts.map +0 -1
  40. package/dist/types/abi/LightAccountFactoryAbi_V2_0_0.d.ts +0 -257
  41. package/dist/types/abi/LightAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
  42. package/dist/types/abi/ModularAccountFactoryAbi_V2_0_0.d.ts +0 -493
  43. package/dist/types/abi/ModularAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
  44. package/dist/types/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts +0 -287
  45. package/dist/types/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
  46. package/dist/types/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts +0 -235
  47. package/dist/types/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts.map +0 -1
  48. package/dist/types/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts +0 -247
  49. package/dist/types/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts.map +0 -1
  50. package/dist/types/abi/index.d.ts +0 -9
  51. package/dist/types/abi/index.d.ts.map +0 -1
  52. package/src/abi/LightAccountFactoryAbi_V1_0_1.ts +0 -44
  53. package/src/abi/LightAccountFactoryAbi_V1_0_2.ts +0 -44
  54. package/src/abi/LightAccountFactoryAbi_V1_1_0.ts +0 -44
  55. package/src/abi/LightAccountFactoryAbi_V2_0_0.ts +0 -201
  56. package/src/abi/ModularAccountFactoryAbi_V2_0_0.ts +0 -398
  57. package/src/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.ts +0 -224
  58. package/src/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.ts +0 -178
  59. package/src/abi/MultisigModularAccountFactoryAbi_V1_0_0.ts +0 -181
  60. package/src/abi/index.ts +0 -8
@@ -1,398 +0,0 @@
1
- export const ModularAccountFactoryAbi_V2_0_0 = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "contract IEntryPoint",
6
- name: "_entryPoint",
7
- type: "address",
8
- },
9
- {
10
- internalType: "contract ModularAccount",
11
- name: "_accountImpl",
12
- type: "address",
13
- },
14
- {
15
- internalType: "contract SemiModularAccountBytecode",
16
- name: "_semiModularImpl",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "_singleSignerValidationModule",
22
- type: "address",
23
- },
24
- {
25
- internalType: "address",
26
- name: "_webAuthnValidationModule",
27
- type: "address",
28
- },
29
- { internalType: "address", name: "owner", type: "address" },
30
- ],
31
- stateMutability: "nonpayable",
32
- type: "constructor",
33
- },
34
- {
35
- inputs: [{ internalType: "address", name: "target", type: "address" }],
36
- name: "AddressEmptyCode",
37
- type: "error",
38
- },
39
- {
40
- inputs: [{ internalType: "address", name: "account", type: "address" }],
41
- name: "AddressInsufficientBalance",
42
- type: "error",
43
- },
44
- { inputs: [], name: "FailedInnerCall", type: "error" },
45
- { inputs: [], name: "InvalidAction", type: "error" },
46
- {
47
- inputs: [{ internalType: "address", name: "owner", type: "address" }],
48
- name: "OwnableInvalidOwner",
49
- type: "error",
50
- },
51
- {
52
- inputs: [{ internalType: "address", name: "account", type: "address" }],
53
- name: "OwnableUnauthorizedAccount",
54
- type: "error",
55
- },
56
- {
57
- inputs: [{ internalType: "address", name: "token", type: "address" }],
58
- name: "SafeERC20FailedOperation",
59
- type: "error",
60
- },
61
- { inputs: [], name: "TransferFailed", type: "error" },
62
- {
63
- anonymous: false,
64
- inputs: [
65
- {
66
- indexed: true,
67
- internalType: "address",
68
- name: "account",
69
- type: "address",
70
- },
71
- {
72
- indexed: true,
73
- internalType: "address",
74
- name: "owner",
75
- type: "address",
76
- },
77
- {
78
- indexed: false,
79
- internalType: "uint256",
80
- name: "salt",
81
- type: "uint256",
82
- },
83
- ],
84
- name: "ModularAccountDeployed",
85
- type: "event",
86
- },
87
- {
88
- anonymous: false,
89
- inputs: [
90
- {
91
- indexed: true,
92
- internalType: "address",
93
- name: "previousOwner",
94
- type: "address",
95
- },
96
- {
97
- indexed: true,
98
- internalType: "address",
99
- name: "newOwner",
100
- type: "address",
101
- },
102
- ],
103
- name: "OwnershipTransferStarted",
104
- type: "event",
105
- },
106
- {
107
- anonymous: false,
108
- inputs: [
109
- {
110
- indexed: true,
111
- internalType: "address",
112
- name: "previousOwner",
113
- type: "address",
114
- },
115
- {
116
- indexed: true,
117
- internalType: "address",
118
- name: "newOwner",
119
- type: "address",
120
- },
121
- ],
122
- name: "OwnershipTransferred",
123
- type: "event",
124
- },
125
- {
126
- anonymous: false,
127
- inputs: [
128
- {
129
- indexed: true,
130
- internalType: "address",
131
- name: "account",
132
- type: "address",
133
- },
134
- {
135
- indexed: true,
136
- internalType: "address",
137
- name: "owner",
138
- type: "address",
139
- },
140
- {
141
- indexed: false,
142
- internalType: "uint256",
143
- name: "salt",
144
- type: "uint256",
145
- },
146
- ],
147
- name: "SemiModularAccountDeployed",
148
- type: "event",
149
- },
150
- {
151
- anonymous: false,
152
- inputs: [
153
- {
154
- indexed: true,
155
- internalType: "address",
156
- name: "account",
157
- type: "address",
158
- },
159
- {
160
- indexed: true,
161
- internalType: "uint256",
162
- name: "ownerX",
163
- type: "uint256",
164
- },
165
- {
166
- indexed: true,
167
- internalType: "uint256",
168
- name: "ownerY",
169
- type: "uint256",
170
- },
171
- {
172
- indexed: false,
173
- internalType: "uint256",
174
- name: "salt",
175
- type: "uint256",
176
- },
177
- ],
178
- name: "WebAuthnModularAccountDeployed",
179
- type: "event",
180
- },
181
- {
182
- inputs: [],
183
- name: "ACCOUNT_IMPL",
184
- outputs: [
185
- { internalType: "contract ModularAccount", name: "", type: "address" },
186
- ],
187
- stateMutability: "view",
188
- type: "function",
189
- },
190
- {
191
- inputs: [],
192
- name: "ENTRY_POINT",
193
- outputs: [
194
- { internalType: "contract IEntryPoint", name: "", type: "address" },
195
- ],
196
- stateMutability: "view",
197
- type: "function",
198
- },
199
- {
200
- inputs: [],
201
- name: "SEMI_MODULAR_ACCOUNT_IMPL",
202
- outputs: [
203
- {
204
- internalType: "contract SemiModularAccountBytecode",
205
- name: "",
206
- type: "address",
207
- },
208
- ],
209
- stateMutability: "view",
210
- type: "function",
211
- },
212
- {
213
- inputs: [],
214
- name: "SINGLE_SIGNER_VALIDATION_MODULE",
215
- outputs: [{ internalType: "address", name: "", type: "address" }],
216
- stateMutability: "view",
217
- type: "function",
218
- },
219
- {
220
- inputs: [],
221
- name: "WEBAUTHN_VALIDATION_MODULE",
222
- outputs: [{ internalType: "address", name: "", type: "address" }],
223
- stateMutability: "view",
224
- type: "function",
225
- },
226
- {
227
- inputs: [],
228
- name: "acceptOwnership",
229
- outputs: [],
230
- stateMutability: "nonpayable",
231
- type: "function",
232
- },
233
- {
234
- inputs: [{ internalType: "uint32", name: "unstakeDelay", type: "uint32" }],
235
- name: "addStake",
236
- outputs: [],
237
- stateMutability: "payable",
238
- type: "function",
239
- },
240
- {
241
- inputs: [
242
- { internalType: "address", name: "owner", type: "address" },
243
- { internalType: "uint256", name: "salt", type: "uint256" },
244
- { internalType: "uint32", name: "entityId", type: "uint32" },
245
- ],
246
- name: "createAccount",
247
- outputs: [
248
- { internalType: "contract ModularAccount", name: "", type: "address" },
249
- ],
250
- stateMutability: "nonpayable",
251
- type: "function",
252
- },
253
- {
254
- inputs: [
255
- { internalType: "address", name: "owner", type: "address" },
256
- { internalType: "uint256", name: "salt", type: "uint256" },
257
- ],
258
- name: "createSemiModularAccount",
259
- outputs: [
260
- {
261
- internalType: "contract SemiModularAccountBytecode",
262
- name: "",
263
- type: "address",
264
- },
265
- ],
266
- stateMutability: "nonpayable",
267
- type: "function",
268
- },
269
- {
270
- inputs: [
271
- { internalType: "uint256", name: "ownerX", type: "uint256" },
272
- { internalType: "uint256", name: "ownerY", type: "uint256" },
273
- { internalType: "uint256", name: "salt", type: "uint256" },
274
- { internalType: "uint32", name: "entityId", type: "uint32" },
275
- ],
276
- name: "createWebAuthnAccount",
277
- outputs: [
278
- { internalType: "contract ModularAccount", name: "", type: "address" },
279
- ],
280
- stateMutability: "nonpayable",
281
- type: "function",
282
- },
283
- {
284
- inputs: [
285
- { internalType: "address", name: "owner", type: "address" },
286
- { internalType: "uint256", name: "salt", type: "uint256" },
287
- { internalType: "uint32", name: "entityId", type: "uint32" },
288
- ],
289
- name: "getAddress",
290
- outputs: [{ internalType: "address", name: "", type: "address" }],
291
- stateMutability: "view",
292
- type: "function",
293
- },
294
- {
295
- inputs: [
296
- { internalType: "address", name: "owner", type: "address" },
297
- { internalType: "uint256", name: "salt", type: "uint256" },
298
- ],
299
- name: "getAddressSemiModular",
300
- outputs: [{ internalType: "address", name: "", type: "address" }],
301
- stateMutability: "view",
302
- type: "function",
303
- },
304
- {
305
- inputs: [
306
- { internalType: "uint256", name: "ownerX", type: "uint256" },
307
- { internalType: "uint256", name: "ownerY", type: "uint256" },
308
- { internalType: "uint256", name: "salt", type: "uint256" },
309
- { internalType: "uint32", name: "entityId", type: "uint32" },
310
- ],
311
- name: "getAddressWebAuthn",
312
- outputs: [{ internalType: "address", name: "", type: "address" }],
313
- stateMutability: "view",
314
- type: "function",
315
- },
316
- {
317
- inputs: [
318
- { internalType: "address", name: "owner", type: "address" },
319
- { internalType: "uint256", name: "salt", type: "uint256" },
320
- { internalType: "uint32", name: "entityId", type: "uint32" },
321
- ],
322
- name: "getSalt",
323
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
324
- stateMutability: "pure",
325
- type: "function",
326
- },
327
- {
328
- inputs: [
329
- { internalType: "uint256", name: "ownerX", type: "uint256" },
330
- { internalType: "uint256", name: "ownerY", type: "uint256" },
331
- { internalType: "uint256", name: "salt", type: "uint256" },
332
- { internalType: "uint32", name: "entityId", type: "uint32" },
333
- ],
334
- name: "getSaltWebAuthn",
335
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
336
- stateMutability: "pure",
337
- type: "function",
338
- },
339
- {
340
- inputs: [],
341
- name: "owner",
342
- outputs: [{ internalType: "address", name: "", type: "address" }],
343
- stateMutability: "view",
344
- type: "function",
345
- },
346
- {
347
- inputs: [],
348
- name: "pendingOwner",
349
- outputs: [{ internalType: "address", name: "", type: "address" }],
350
- stateMutability: "view",
351
- type: "function",
352
- },
353
- {
354
- inputs: [],
355
- name: "renounceOwnership",
356
- outputs: [],
357
- stateMutability: "view",
358
- type: "function",
359
- },
360
- {
361
- inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
362
- name: "transferOwnership",
363
- outputs: [],
364
- stateMutability: "nonpayable",
365
- type: "function",
366
- },
367
- {
368
- inputs: [],
369
- name: "unlockStake",
370
- outputs: [],
371
- stateMutability: "nonpayable",
372
- type: "function",
373
- },
374
- {
375
- inputs: [
376
- { internalType: "address payable", name: "to", type: "address" },
377
- { internalType: "address", name: "token", type: "address" },
378
- { internalType: "uint256", name: "amount", type: "uint256" },
379
- ],
380
- name: "withdraw",
381
- outputs: [],
382
- stateMutability: "nonpayable",
383
- type: "function",
384
- },
385
- {
386
- inputs: [
387
- {
388
- internalType: "address payable",
389
- name: "withdrawAddress",
390
- type: "address",
391
- },
392
- ],
393
- name: "withdrawStake",
394
- outputs: [],
395
- stateMutability: "nonpayable",
396
- type: "function",
397
- },
398
- ] as const;
@@ -1,224 +0,0 @@
1
- export const MultiOwnerLightAccountFactoryAbi_V2_0_0 = [
2
- {
3
- inputs: [
4
- { internalType: "address", name: "owner", type: "address" },
5
- {
6
- internalType: "contract IEntryPoint",
7
- name: "entryPoint",
8
- type: "address",
9
- },
10
- ],
11
- stateMutability: "nonpayable",
12
- type: "constructor",
13
- },
14
- {
15
- inputs: [{ internalType: "address", name: "target", type: "address" }],
16
- name: "AddressEmptyCode",
17
- type: "error",
18
- },
19
- {
20
- inputs: [{ internalType: "address", name: "account", type: "address" }],
21
- name: "AddressInsufficientBalance",
22
- type: "error",
23
- },
24
- { inputs: [], name: "FailedInnerCall", type: "error" },
25
- { inputs: [], name: "InvalidAction", type: "error" },
26
- {
27
- inputs: [{ internalType: "address", name: "entryPoint", type: "address" }],
28
- name: "InvalidEntryPoint",
29
- type: "error",
30
- },
31
- { inputs: [], name: "InvalidOwners", type: "error" },
32
- {
33
- inputs: [{ internalType: "address", name: "owner", type: "address" }],
34
- name: "OwnableInvalidOwner",
35
- type: "error",
36
- },
37
- {
38
- inputs: [{ internalType: "address", name: "account", type: "address" }],
39
- name: "OwnableUnauthorizedAccount",
40
- type: "error",
41
- },
42
- { inputs: [], name: "OwnersArrayEmpty", type: "error" },
43
- { inputs: [], name: "OwnersLimitExceeded", type: "error" },
44
- {
45
- inputs: [{ internalType: "address", name: "token", type: "address" }],
46
- name: "SafeERC20FailedOperation",
47
- type: "error",
48
- },
49
- { inputs: [], name: "TransferFailed", type: "error" },
50
- { inputs: [], name: "ZeroAddressNotAllowed", type: "error" },
51
- {
52
- anonymous: false,
53
- inputs: [
54
- {
55
- indexed: true,
56
- internalType: "address",
57
- name: "previousOwner",
58
- type: "address",
59
- },
60
- {
61
- indexed: true,
62
- internalType: "address",
63
- name: "newOwner",
64
- type: "address",
65
- },
66
- ],
67
- name: "OwnershipTransferStarted",
68
- type: "event",
69
- },
70
- {
71
- anonymous: false,
72
- inputs: [
73
- {
74
- indexed: true,
75
- internalType: "address",
76
- name: "previousOwner",
77
- type: "address",
78
- },
79
- {
80
- indexed: true,
81
- internalType: "address",
82
- name: "newOwner",
83
- type: "address",
84
- },
85
- ],
86
- name: "OwnershipTransferred",
87
- type: "event",
88
- },
89
- {
90
- inputs: [],
91
- name: "ACCOUNT_IMPLEMENTATION",
92
- outputs: [
93
- {
94
- internalType: "contract MultiOwnerLightAccount",
95
- name: "",
96
- type: "address",
97
- },
98
- ],
99
- stateMutability: "view",
100
- type: "function",
101
- },
102
- {
103
- inputs: [],
104
- name: "ENTRY_POINT",
105
- outputs: [
106
- { internalType: "contract IEntryPoint", name: "", type: "address" },
107
- ],
108
- stateMutability: "view",
109
- type: "function",
110
- },
111
- {
112
- inputs: [],
113
- name: "acceptOwnership",
114
- outputs: [],
115
- stateMutability: "nonpayable",
116
- type: "function",
117
- },
118
- {
119
- inputs: [
120
- { internalType: "uint32", name: "unstakeDelay", type: "uint32" },
121
- { internalType: "uint256", name: "amount", type: "uint256" },
122
- ],
123
- name: "addStake",
124
- outputs: [],
125
- stateMutability: "payable",
126
- type: "function",
127
- },
128
- {
129
- inputs: [
130
- { internalType: "address[]", name: "owners", type: "address[]" },
131
- { internalType: "uint256", name: "salt", type: "uint256" },
132
- ],
133
- name: "createAccount",
134
- outputs: [
135
- {
136
- internalType: "contract MultiOwnerLightAccount",
137
- name: "account",
138
- type: "address",
139
- },
140
- ],
141
- stateMutability: "nonpayable",
142
- type: "function",
143
- },
144
- {
145
- inputs: [
146
- { internalType: "address", name: "owner", type: "address" },
147
- { internalType: "uint256", name: "salt", type: "uint256" },
148
- ],
149
- name: "createAccountSingle",
150
- outputs: [
151
- {
152
- internalType: "contract MultiOwnerLightAccount",
153
- name: "account",
154
- type: "address",
155
- },
156
- ],
157
- stateMutability: "nonpayable",
158
- type: "function",
159
- },
160
- {
161
- inputs: [
162
- { internalType: "address[]", name: "owners", type: "address[]" },
163
- { internalType: "uint256", name: "salt", type: "uint256" },
164
- ],
165
- name: "getAddress",
166
- outputs: [{ internalType: "address", name: "", type: "address" }],
167
- stateMutability: "view",
168
- type: "function",
169
- },
170
- {
171
- inputs: [],
172
- name: "owner",
173
- outputs: [{ internalType: "address", name: "", type: "address" }],
174
- stateMutability: "view",
175
- type: "function",
176
- },
177
- {
178
- inputs: [],
179
- name: "pendingOwner",
180
- outputs: [{ internalType: "address", name: "", type: "address" }],
181
- stateMutability: "view",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "renounceOwnership",
187
- outputs: [],
188
- stateMutability: "view",
189
- type: "function",
190
- },
191
- {
192
- inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
193
- name: "transferOwnership",
194
- outputs: [],
195
- stateMutability: "nonpayable",
196
- type: "function",
197
- },
198
- {
199
- inputs: [],
200
- name: "unlockStake",
201
- outputs: [],
202
- stateMutability: "nonpayable",
203
- type: "function",
204
- },
205
- {
206
- inputs: [
207
- { internalType: "address payable", name: "to", type: "address" },
208
- { internalType: "address", name: "token", type: "address" },
209
- { internalType: "uint256", name: "amount", type: "uint256" },
210
- ],
211
- name: "withdraw",
212
- outputs: [],
213
- stateMutability: "nonpayable",
214
- type: "function",
215
- },
216
- {
217
- inputs: [{ internalType: "address payable", name: "to", type: "address" }],
218
- name: "withdrawStake",
219
- outputs: [],
220
- stateMutability: "nonpayable",
221
- type: "function",
222
- },
223
- { stateMutability: "payable", type: "receive" },
224
- ] as const;