@account-kit/smart-contracts 4.7.0 → 4.8.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.
Files changed (151) hide show
  1. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.d.ts +492 -0
  2. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.js +639 -0
  3. package/dist/esm/src/ma-v2/abis/accountFactoryAbi.js.map +1 -0
  4. package/dist/esm/src/ma-v2/abis/modularAccountAbi.d.ts +954 -0
  5. package/dist/esm/src/ma-v2/abis/modularAccountAbi.js +1242 -0
  6. package/dist/esm/src/ma-v2/abis/modularAccountAbi.js.map +1 -0
  7. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts +991 -0
  8. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.js +1289 -0
  9. package/dist/esm/src/ma-v2/abis/semiModularAccountBytecodeAbi.js.map +1 -0
  10. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts +1001 -0
  11. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.js +1302 -0
  12. package/dist/esm/src/ma-v2/abis/semiModularAccountStorageAbi.js.map +1 -0
  13. package/dist/esm/src/ma-v2/account/nativeSMASigner.d.ts +238 -0
  14. package/dist/esm/src/ma-v2/account/nativeSMASigner.js +88 -0
  15. package/dist/esm/src/ma-v2/account/nativeSMASigner.js.map +1 -0
  16. package/dist/esm/src/ma-v2/account/semiModularAccountV2.d.ts +41 -0
  17. package/dist/esm/src/ma-v2/account/semiModularAccountV2.js +148 -0
  18. package/dist/esm/src/ma-v2/account/semiModularAccountV2.js.map +1 -0
  19. package/dist/esm/src/ma-v2/actions/common/types.d.ts +31 -0
  20. package/dist/esm/src/ma-v2/actions/common/types.js +6 -0
  21. package/dist/esm/src/ma-v2/actions/common/types.js.map +1 -0
  22. package/dist/esm/src/ma-v2/actions/common/utils.d.ts +76 -0
  23. package/dist/esm/src/ma-v2/actions/common/utils.js +100 -0
  24. package/dist/esm/src/ma-v2/actions/common/utils.js.map +1 -0
  25. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.d.ts +71 -0
  26. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.js +109 -0
  27. package/dist/esm/src/ma-v2/actions/install-validation/installValidation.js.map +1 -0
  28. package/dist/esm/src/ma-v2/client/client.d.ts +6 -0
  29. package/dist/esm/src/ma-v2/client/client.js +40 -0
  30. package/dist/esm/src/ma-v2/client/client.js.map +1 -0
  31. package/dist/esm/src/ma-v2/index.d.ts +26 -0
  32. package/dist/esm/src/ma-v2/index.js +24 -0
  33. package/dist/esm/src/ma-v2/index.js.map +1 -0
  34. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts +556 -0
  35. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.js +716 -0
  36. package/dist/esm/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.js.map +1 -0
  37. package/dist/esm/src/ma-v2/modules/allowlist-module/module.d.ts +579 -0
  38. package/dist/esm/src/ma-v2/modules/allowlist-module/module.js +56 -0
  39. package/dist/esm/src/ma-v2/modules/allowlist-module/module.js.map +1 -0
  40. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts +312 -0
  41. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.js +404 -0
  42. package/dist/esm/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.js.map +1 -0
  43. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.d.ts +322 -0
  44. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.js +14 -0
  45. package/dist/esm/src/ma-v2/modules/native-token-limit-module/module.js.map +1 -0
  46. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts +186 -0
  47. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.js +242 -0
  48. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.js.map +1 -0
  49. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.d.ts +196 -0
  50. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.js +25 -0
  51. package/dist/esm/src/ma-v2/modules/paymaster-guard-module/module.js.map +1 -0
  52. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts +45 -0
  53. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.js +331 -0
  54. package/dist/esm/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.js.map +1 -0
  55. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.d.ts +10 -0
  56. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.js +16 -0
  57. package/dist/esm/src/ma-v2/modules/single-signer-validation/module.js.map +1 -0
  58. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.d.ts +239 -0
  59. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.js +93 -0
  60. package/dist/esm/src/ma-v2/modules/single-signer-validation/signer.js.map +1 -0
  61. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts +229 -0
  62. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.js +296 -0
  63. package/dist/esm/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.js.map +1 -0
  64. package/dist/esm/src/ma-v2/modules/time-range-module/module.d.ts +245 -0
  65. package/dist/esm/src/ma-v2/modules/time-range-module/module.js +42 -0
  66. package/dist/esm/src/ma-v2/modules/time-range-module/module.js.map +1 -0
  67. package/dist/esm/src/ma-v2/modules/utils.d.ts +91 -0
  68. package/dist/esm/src/ma-v2/modules/utils.js +188 -0
  69. package/dist/esm/src/ma-v2/modules/utils.js.map +1 -0
  70. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +287 -0
  71. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js +374 -0
  72. package/dist/esm/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js.map +1 -0
  73. package/dist/esm/src/ma-v2/utils.d.ts +16 -0
  74. package/dist/esm/src/ma-v2/utils.js +105 -0
  75. package/dist/esm/src/ma-v2/utils.js.map +1 -0
  76. package/dist/types/src/ma-v2/abis/accountFactoryAbi.d.ts +493 -0
  77. package/dist/types/src/ma-v2/abis/accountFactoryAbi.d.ts.map +1 -0
  78. package/dist/types/src/ma-v2/abis/modularAccountAbi.d.ts +955 -0
  79. package/dist/types/src/ma-v2/abis/modularAccountAbi.d.ts.map +1 -0
  80. package/dist/types/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts +992 -0
  81. package/dist/types/src/ma-v2/abis/semiModularAccountBytecodeAbi.d.ts.map +1 -0
  82. package/dist/types/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts +1002 -0
  83. package/dist/types/src/ma-v2/abis/semiModularAccountStorageAbi.d.ts.map +1 -0
  84. package/dist/types/src/ma-v2/account/nativeSMASigner.d.ts +239 -0
  85. package/dist/types/src/ma-v2/account/nativeSMASigner.d.ts.map +1 -0
  86. package/dist/types/src/ma-v2/account/semiModularAccountV2.d.ts +42 -0
  87. package/dist/types/src/ma-v2/account/semiModularAccountV2.d.ts.map +1 -0
  88. package/dist/types/src/ma-v2/actions/common/types.d.ts +32 -0
  89. package/dist/types/src/ma-v2/actions/common/types.d.ts.map +1 -0
  90. package/dist/types/src/ma-v2/actions/common/utils.d.ts +77 -0
  91. package/dist/types/src/ma-v2/actions/common/utils.d.ts.map +1 -0
  92. package/dist/types/src/ma-v2/actions/install-validation/installValidation.d.ts +72 -0
  93. package/dist/types/src/ma-v2/actions/install-validation/installValidation.d.ts.map +1 -0
  94. package/dist/types/src/ma-v2/client/client.d.ts +7 -0
  95. package/dist/types/src/ma-v2/client/client.d.ts.map +1 -0
  96. package/dist/types/src/ma-v2/index.d.ts +27 -0
  97. package/dist/types/src/ma-v2/index.d.ts.map +1 -0
  98. package/dist/types/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts +557 -0
  99. package/dist/types/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.d.ts.map +1 -0
  100. package/dist/types/src/ma-v2/modules/allowlist-module/module.d.ts +580 -0
  101. package/dist/types/src/ma-v2/modules/allowlist-module/module.d.ts.map +1 -0
  102. package/dist/types/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts +313 -0
  103. package/dist/types/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.d.ts.map +1 -0
  104. package/dist/types/src/ma-v2/modules/native-token-limit-module/module.d.ts +323 -0
  105. package/dist/types/src/ma-v2/modules/native-token-limit-module/module.d.ts.map +1 -0
  106. package/dist/types/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts +187 -0
  107. package/dist/types/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.d.ts.map +1 -0
  108. package/dist/types/src/ma-v2/modules/paymaster-guard-module/module.d.ts +197 -0
  109. package/dist/types/src/ma-v2/modules/paymaster-guard-module/module.d.ts.map +1 -0
  110. package/dist/types/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts +46 -0
  111. package/dist/types/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.d.ts.map +1 -0
  112. package/dist/types/src/ma-v2/modules/single-signer-validation/module.d.ts +11 -0
  113. package/dist/types/src/ma-v2/modules/single-signer-validation/module.d.ts.map +1 -0
  114. package/dist/types/src/ma-v2/modules/single-signer-validation/signer.d.ts +240 -0
  115. package/dist/types/src/ma-v2/modules/single-signer-validation/signer.d.ts.map +1 -0
  116. package/dist/types/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts +230 -0
  117. package/dist/types/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.d.ts.map +1 -0
  118. package/dist/types/src/ma-v2/modules/time-range-module/module.d.ts +246 -0
  119. package/dist/types/src/ma-v2/modules/time-range-module/module.d.ts.map +1 -0
  120. package/dist/types/src/ma-v2/modules/utils.d.ts +92 -0
  121. package/dist/types/src/ma-v2/modules/utils.d.ts.map +1 -0
  122. package/dist/types/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +288 -0
  123. package/dist/types/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts.map +1 -0
  124. package/dist/types/src/ma-v2/utils.d.ts +17 -0
  125. package/dist/types/src/ma-v2/utils.d.ts.map +1 -0
  126. package/package.json +10 -5
  127. package/src/ma-v2/abis/accountFactoryAbi.ts +638 -0
  128. package/src/ma-v2/abis/modularAccountAbi.ts +1241 -0
  129. package/src/ma-v2/abis/semiModularAccountBytecodeAbi.ts +1288 -0
  130. package/src/ma-v2/abis/semiModularAccountStorageAbi.ts +1301 -0
  131. package/src/ma-v2/account/nativeSMASigner.ts +121 -0
  132. package/src/ma-v2/account/semiModularAccountV2.ts +289 -0
  133. package/src/ma-v2/actions/common/types.ts +37 -0
  134. package/src/ma-v2/actions/common/utils.ts +103 -0
  135. package/src/ma-v2/actions/install-validation/installValidation.ts +213 -0
  136. package/src/ma-v2/client/client.ts +74 -0
  137. package/src/ma-v2/index.ts +47 -0
  138. package/src/ma-v2/modules/allowlist-module/abis/allowlistModuleAbi.ts +715 -0
  139. package/src/ma-v2/modules/allowlist-module/module.ts +87 -0
  140. package/src/ma-v2/modules/native-token-limit-module/abis/nativeTokenLimitModuleAbi.ts +403 -0
  141. package/src/ma-v2/modules/native-token-limit-module/module.ts +21 -0
  142. package/src/ma-v2/modules/paymaster-guard-module/abis/paymasterGuardModuleAbi.ts +241 -0
  143. package/src/ma-v2/modules/paymaster-guard-module/module.ts +35 -0
  144. package/src/ma-v2/modules/single-signer-validation/abis/singleSignerValidationModuleAbi.ts +330 -0
  145. package/src/ma-v2/modules/single-signer-validation/module.ts +24 -0
  146. package/src/ma-v2/modules/single-signer-validation/signer.ts +127 -0
  147. package/src/ma-v2/modules/time-range-module/abis/timeRangeModuleAbi.ts +295 -0
  148. package/src/ma-v2/modules/time-range-module/module.ts +63 -0
  149. package/src/ma-v2/modules/utils.ts +213 -0
  150. package/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.ts +373 -0
  151. package/src/ma-v2/utils.ts +138 -0
@@ -0,0 +1,1302 @@
1
+ export const semiModularAccountStorageAbi = [
2
+ {
3
+ type: "constructor",
4
+ inputs: [
5
+ {
6
+ name: "entryPoint",
7
+ type: "address",
8
+ internalType: "contract IEntryPoint",
9
+ },
10
+ {
11
+ name: "executionInstallDelegate",
12
+ type: "address",
13
+ internalType: "contract ExecutionInstallDelegate",
14
+ },
15
+ ],
16
+ stateMutability: "nonpayable",
17
+ },
18
+ {
19
+ type: "fallback",
20
+ stateMutability: "payable",
21
+ },
22
+ {
23
+ type: "receive",
24
+ stateMutability: "payable",
25
+ },
26
+ {
27
+ type: "function",
28
+ name: "accountId",
29
+ inputs: [],
30
+ outputs: [
31
+ {
32
+ name: "",
33
+ type: "string",
34
+ internalType: "string",
35
+ },
36
+ ],
37
+ stateMutability: "pure",
38
+ },
39
+ {
40
+ type: "function",
41
+ name: "entryPoint",
42
+ inputs: [],
43
+ outputs: [
44
+ {
45
+ name: "",
46
+ type: "address",
47
+ internalType: "contract IEntryPoint",
48
+ },
49
+ ],
50
+ stateMutability: "view",
51
+ },
52
+ {
53
+ type: "function",
54
+ name: "execute",
55
+ inputs: [
56
+ {
57
+ name: "target",
58
+ type: "address",
59
+ internalType: "address",
60
+ },
61
+ {
62
+ name: "value",
63
+ type: "uint256",
64
+ internalType: "uint256",
65
+ },
66
+ {
67
+ name: "data",
68
+ type: "bytes",
69
+ internalType: "bytes",
70
+ },
71
+ ],
72
+ outputs: [
73
+ {
74
+ name: "result",
75
+ type: "bytes",
76
+ internalType: "bytes",
77
+ },
78
+ ],
79
+ stateMutability: "payable",
80
+ },
81
+ {
82
+ type: "function",
83
+ name: "executeBatch",
84
+ inputs: [
85
+ {
86
+ name: "calls",
87
+ type: "tuple[]",
88
+ internalType: "struct Call[]",
89
+ components: [
90
+ {
91
+ name: "target",
92
+ type: "address",
93
+ internalType: "address",
94
+ },
95
+ {
96
+ name: "value",
97
+ type: "uint256",
98
+ internalType: "uint256",
99
+ },
100
+ {
101
+ name: "data",
102
+ type: "bytes",
103
+ internalType: "bytes",
104
+ },
105
+ ],
106
+ },
107
+ ],
108
+ outputs: [
109
+ {
110
+ name: "results",
111
+ type: "bytes[]",
112
+ internalType: "bytes[]",
113
+ },
114
+ ],
115
+ stateMutability: "payable",
116
+ },
117
+ {
118
+ type: "function",
119
+ name: "executeUserOp",
120
+ inputs: [
121
+ {
122
+ name: "userOp",
123
+ type: "tuple",
124
+ internalType: "struct PackedUserOperation",
125
+ components: [
126
+ {
127
+ name: "sender",
128
+ type: "address",
129
+ internalType: "address",
130
+ },
131
+ {
132
+ name: "nonce",
133
+ type: "uint256",
134
+ internalType: "uint256",
135
+ },
136
+ {
137
+ name: "initCode",
138
+ type: "bytes",
139
+ internalType: "bytes",
140
+ },
141
+ {
142
+ name: "callData",
143
+ type: "bytes",
144
+ internalType: "bytes",
145
+ },
146
+ {
147
+ name: "accountGasLimits",
148
+ type: "bytes32",
149
+ internalType: "bytes32",
150
+ },
151
+ {
152
+ name: "preVerificationGas",
153
+ type: "uint256",
154
+ internalType: "uint256",
155
+ },
156
+ {
157
+ name: "gasFees",
158
+ type: "bytes32",
159
+ internalType: "bytes32",
160
+ },
161
+ {
162
+ name: "paymasterAndData",
163
+ type: "bytes",
164
+ internalType: "bytes",
165
+ },
166
+ {
167
+ name: "signature",
168
+ type: "bytes",
169
+ internalType: "bytes",
170
+ },
171
+ ],
172
+ },
173
+ {
174
+ name: "",
175
+ type: "bytes32",
176
+ internalType: "bytes32",
177
+ },
178
+ ],
179
+ outputs: [],
180
+ stateMutability: "nonpayable",
181
+ },
182
+ {
183
+ type: "function",
184
+ name: "executeWithRuntimeValidation",
185
+ inputs: [
186
+ {
187
+ name: "data",
188
+ type: "bytes",
189
+ internalType: "bytes",
190
+ },
191
+ {
192
+ name: "authorization",
193
+ type: "bytes",
194
+ internalType: "bytes",
195
+ },
196
+ ],
197
+ outputs: [
198
+ {
199
+ name: "",
200
+ type: "bytes",
201
+ internalType: "bytes",
202
+ },
203
+ ],
204
+ stateMutability: "payable",
205
+ },
206
+ {
207
+ type: "function",
208
+ name: "getExecutionData",
209
+ inputs: [
210
+ {
211
+ name: "selector",
212
+ type: "bytes4",
213
+ internalType: "bytes4",
214
+ },
215
+ ],
216
+ outputs: [
217
+ {
218
+ name: "data",
219
+ type: "tuple",
220
+ internalType: "struct ExecutionDataView",
221
+ components: [
222
+ {
223
+ name: "module",
224
+ type: "address",
225
+ internalType: "address",
226
+ },
227
+ {
228
+ name: "skipRuntimeValidation",
229
+ type: "bool",
230
+ internalType: "bool",
231
+ },
232
+ {
233
+ name: "allowGlobalValidation",
234
+ type: "bool",
235
+ internalType: "bool",
236
+ },
237
+ {
238
+ name: "executionHooks",
239
+ type: "bytes25[]",
240
+ internalType: "HookConfig[]",
241
+ },
242
+ ],
243
+ },
244
+ ],
245
+ stateMutability: "view",
246
+ },
247
+ {
248
+ type: "function",
249
+ name: "getFallbackSignerData",
250
+ inputs: [],
251
+ outputs: [
252
+ {
253
+ name: "",
254
+ type: "address",
255
+ internalType: "address",
256
+ },
257
+ {
258
+ name: "",
259
+ type: "bool",
260
+ internalType: "bool",
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ },
265
+ {
266
+ type: "function",
267
+ name: "getValidationData",
268
+ inputs: [
269
+ {
270
+ name: "validationFunction",
271
+ type: "bytes24",
272
+ internalType: "ModuleEntity",
273
+ },
274
+ ],
275
+ outputs: [
276
+ {
277
+ name: "data",
278
+ type: "tuple",
279
+ internalType: "struct ValidationDataView",
280
+ components: [
281
+ {
282
+ name: "validationFlags",
283
+ type: "uint8",
284
+ internalType: "ValidationFlags",
285
+ },
286
+ {
287
+ name: "validationHooks",
288
+ type: "bytes25[]",
289
+ internalType: "HookConfig[]",
290
+ },
291
+ {
292
+ name: "executionHooks",
293
+ type: "bytes25[]",
294
+ internalType: "HookConfig[]",
295
+ },
296
+ {
297
+ name: "selectors",
298
+ type: "bytes4[]",
299
+ internalType: "bytes4[]",
300
+ },
301
+ ],
302
+ },
303
+ ],
304
+ stateMutability: "view",
305
+ },
306
+ {
307
+ type: "function",
308
+ name: "initialize",
309
+ inputs: [
310
+ {
311
+ name: "initialSigner",
312
+ type: "address",
313
+ internalType: "address",
314
+ },
315
+ ],
316
+ outputs: [],
317
+ stateMutability: "nonpayable",
318
+ },
319
+ {
320
+ type: "function",
321
+ name: "installExecution",
322
+ inputs: [
323
+ {
324
+ name: "module",
325
+ type: "address",
326
+ internalType: "address",
327
+ },
328
+ {
329
+ name: "manifest",
330
+ type: "tuple",
331
+ internalType: "struct ExecutionManifest",
332
+ components: [
333
+ {
334
+ name: "executionFunctions",
335
+ type: "tuple[]",
336
+ internalType: "struct ManifestExecutionFunction[]",
337
+ components: [
338
+ {
339
+ name: "executionSelector",
340
+ type: "bytes4",
341
+ internalType: "bytes4",
342
+ },
343
+ {
344
+ name: "skipRuntimeValidation",
345
+ type: "bool",
346
+ internalType: "bool",
347
+ },
348
+ {
349
+ name: "allowGlobalValidation",
350
+ type: "bool",
351
+ internalType: "bool",
352
+ },
353
+ ],
354
+ },
355
+ {
356
+ name: "executionHooks",
357
+ type: "tuple[]",
358
+ internalType: "struct ManifestExecutionHook[]",
359
+ components: [
360
+ {
361
+ name: "executionSelector",
362
+ type: "bytes4",
363
+ internalType: "bytes4",
364
+ },
365
+ {
366
+ name: "entityId",
367
+ type: "uint32",
368
+ internalType: "uint32",
369
+ },
370
+ {
371
+ name: "isPreHook",
372
+ type: "bool",
373
+ internalType: "bool",
374
+ },
375
+ {
376
+ name: "isPostHook",
377
+ type: "bool",
378
+ internalType: "bool",
379
+ },
380
+ ],
381
+ },
382
+ {
383
+ name: "interfaceIds",
384
+ type: "bytes4[]",
385
+ internalType: "bytes4[]",
386
+ },
387
+ ],
388
+ },
389
+ {
390
+ name: "moduleInstallData",
391
+ type: "bytes",
392
+ internalType: "bytes",
393
+ },
394
+ ],
395
+ outputs: [],
396
+ stateMutability: "nonpayable",
397
+ },
398
+ {
399
+ type: "function",
400
+ name: "installValidation",
401
+ inputs: [
402
+ {
403
+ name: "validationConfig",
404
+ type: "bytes25",
405
+ internalType: "ValidationConfig",
406
+ },
407
+ {
408
+ name: "selectors",
409
+ type: "bytes4[]",
410
+ internalType: "bytes4[]",
411
+ },
412
+ {
413
+ name: "installData",
414
+ type: "bytes",
415
+ internalType: "bytes",
416
+ },
417
+ {
418
+ name: "hooks",
419
+ type: "bytes[]",
420
+ internalType: "bytes[]",
421
+ },
422
+ ],
423
+ outputs: [],
424
+ stateMutability: "nonpayable",
425
+ },
426
+ {
427
+ type: "function",
428
+ name: "isValidSignature",
429
+ inputs: [
430
+ {
431
+ name: "hash",
432
+ type: "bytes32",
433
+ internalType: "bytes32",
434
+ },
435
+ {
436
+ name: "signature",
437
+ type: "bytes",
438
+ internalType: "bytes",
439
+ },
440
+ ],
441
+ outputs: [
442
+ {
443
+ name: "",
444
+ type: "bytes4",
445
+ internalType: "bytes4",
446
+ },
447
+ ],
448
+ stateMutability: "view",
449
+ },
450
+ {
451
+ type: "function",
452
+ name: "onERC1155BatchReceived",
453
+ inputs: [
454
+ {
455
+ name: "",
456
+ type: "address",
457
+ internalType: "address",
458
+ },
459
+ {
460
+ name: "",
461
+ type: "address",
462
+ internalType: "address",
463
+ },
464
+ {
465
+ name: "",
466
+ type: "uint256[]",
467
+ internalType: "uint256[]",
468
+ },
469
+ {
470
+ name: "",
471
+ type: "uint256[]",
472
+ internalType: "uint256[]",
473
+ },
474
+ {
475
+ name: "",
476
+ type: "bytes",
477
+ internalType: "bytes",
478
+ },
479
+ ],
480
+ outputs: [
481
+ {
482
+ name: "",
483
+ type: "bytes4",
484
+ internalType: "bytes4",
485
+ },
486
+ ],
487
+ stateMutability: "pure",
488
+ },
489
+ {
490
+ type: "function",
491
+ name: "onERC1155Received",
492
+ inputs: [
493
+ {
494
+ name: "",
495
+ type: "address",
496
+ internalType: "address",
497
+ },
498
+ {
499
+ name: "",
500
+ type: "address",
501
+ internalType: "address",
502
+ },
503
+ {
504
+ name: "",
505
+ type: "uint256",
506
+ internalType: "uint256",
507
+ },
508
+ {
509
+ name: "",
510
+ type: "uint256",
511
+ internalType: "uint256",
512
+ },
513
+ {
514
+ name: "",
515
+ type: "bytes",
516
+ internalType: "bytes",
517
+ },
518
+ ],
519
+ outputs: [
520
+ {
521
+ name: "",
522
+ type: "bytes4",
523
+ internalType: "bytes4",
524
+ },
525
+ ],
526
+ stateMutability: "pure",
527
+ },
528
+ {
529
+ type: "function",
530
+ name: "onERC721Received",
531
+ inputs: [
532
+ {
533
+ name: "",
534
+ type: "address",
535
+ internalType: "address",
536
+ },
537
+ {
538
+ name: "",
539
+ type: "address",
540
+ internalType: "address",
541
+ },
542
+ {
543
+ name: "",
544
+ type: "uint256",
545
+ internalType: "uint256",
546
+ },
547
+ {
548
+ name: "",
549
+ type: "bytes",
550
+ internalType: "bytes",
551
+ },
552
+ ],
553
+ outputs: [
554
+ {
555
+ name: "",
556
+ type: "bytes4",
557
+ internalType: "bytes4",
558
+ },
559
+ ],
560
+ stateMutability: "pure",
561
+ },
562
+ {
563
+ type: "function",
564
+ name: "performCreate",
565
+ inputs: [
566
+ {
567
+ name: "value",
568
+ type: "uint256",
569
+ internalType: "uint256",
570
+ },
571
+ {
572
+ name: "initCode",
573
+ type: "bytes",
574
+ internalType: "bytes",
575
+ },
576
+ {
577
+ name: "isCreate2",
578
+ type: "bool",
579
+ internalType: "bool",
580
+ },
581
+ {
582
+ name: "salt",
583
+ type: "bytes32",
584
+ internalType: "bytes32",
585
+ },
586
+ ],
587
+ outputs: [
588
+ {
589
+ name: "createdAddr",
590
+ type: "address",
591
+ internalType: "address",
592
+ },
593
+ ],
594
+ stateMutability: "payable",
595
+ },
596
+ {
597
+ type: "function",
598
+ name: "proxiableUUID",
599
+ inputs: [],
600
+ outputs: [
601
+ {
602
+ name: "",
603
+ type: "bytes32",
604
+ internalType: "bytes32",
605
+ },
606
+ ],
607
+ stateMutability: "view",
608
+ },
609
+ {
610
+ type: "function",
611
+ name: "supportsInterface",
612
+ inputs: [
613
+ {
614
+ name: "interfaceId",
615
+ type: "bytes4",
616
+ internalType: "bytes4",
617
+ },
618
+ ],
619
+ outputs: [
620
+ {
621
+ name: "",
622
+ type: "bool",
623
+ internalType: "bool",
624
+ },
625
+ ],
626
+ stateMutability: "view",
627
+ },
628
+ {
629
+ type: "function",
630
+ name: "uninstallExecution",
631
+ inputs: [
632
+ {
633
+ name: "module",
634
+ type: "address",
635
+ internalType: "address",
636
+ },
637
+ {
638
+ name: "manifest",
639
+ type: "tuple",
640
+ internalType: "struct ExecutionManifest",
641
+ components: [
642
+ {
643
+ name: "executionFunctions",
644
+ type: "tuple[]",
645
+ internalType: "struct ManifestExecutionFunction[]",
646
+ components: [
647
+ {
648
+ name: "executionSelector",
649
+ type: "bytes4",
650
+ internalType: "bytes4",
651
+ },
652
+ {
653
+ name: "skipRuntimeValidation",
654
+ type: "bool",
655
+ internalType: "bool",
656
+ },
657
+ {
658
+ name: "allowGlobalValidation",
659
+ type: "bool",
660
+ internalType: "bool",
661
+ },
662
+ ],
663
+ },
664
+ {
665
+ name: "executionHooks",
666
+ type: "tuple[]",
667
+ internalType: "struct ManifestExecutionHook[]",
668
+ components: [
669
+ {
670
+ name: "executionSelector",
671
+ type: "bytes4",
672
+ internalType: "bytes4",
673
+ },
674
+ {
675
+ name: "entityId",
676
+ type: "uint32",
677
+ internalType: "uint32",
678
+ },
679
+ {
680
+ name: "isPreHook",
681
+ type: "bool",
682
+ internalType: "bool",
683
+ },
684
+ {
685
+ name: "isPostHook",
686
+ type: "bool",
687
+ internalType: "bool",
688
+ },
689
+ ],
690
+ },
691
+ {
692
+ name: "interfaceIds",
693
+ type: "bytes4[]",
694
+ internalType: "bytes4[]",
695
+ },
696
+ ],
697
+ },
698
+ {
699
+ name: "moduleUninstallData",
700
+ type: "bytes",
701
+ internalType: "bytes",
702
+ },
703
+ ],
704
+ outputs: [],
705
+ stateMutability: "nonpayable",
706
+ },
707
+ {
708
+ type: "function",
709
+ name: "uninstallValidation",
710
+ inputs: [
711
+ {
712
+ name: "validationFunction",
713
+ type: "bytes24",
714
+ internalType: "ModuleEntity",
715
+ },
716
+ {
717
+ name: "uninstallData",
718
+ type: "bytes",
719
+ internalType: "bytes",
720
+ },
721
+ {
722
+ name: "hookUninstallData",
723
+ type: "bytes[]",
724
+ internalType: "bytes[]",
725
+ },
726
+ ],
727
+ outputs: [],
728
+ stateMutability: "nonpayable",
729
+ },
730
+ {
731
+ type: "function",
732
+ name: "updateFallbackSignerData",
733
+ inputs: [
734
+ {
735
+ name: "fallbackSigner",
736
+ type: "address",
737
+ internalType: "address",
738
+ },
739
+ {
740
+ name: "isDisabled",
741
+ type: "bool",
742
+ internalType: "bool",
743
+ },
744
+ ],
745
+ outputs: [],
746
+ stateMutability: "nonpayable",
747
+ },
748
+ {
749
+ type: "function",
750
+ name: "upgradeToAndCall",
751
+ inputs: [
752
+ {
753
+ name: "newImplementation",
754
+ type: "address",
755
+ internalType: "address",
756
+ },
757
+ {
758
+ name: "data",
759
+ type: "bytes",
760
+ internalType: "bytes",
761
+ },
762
+ ],
763
+ outputs: [],
764
+ stateMutability: "payable",
765
+ },
766
+ {
767
+ type: "function",
768
+ name: "validateUserOp",
769
+ inputs: [
770
+ {
771
+ name: "userOp",
772
+ type: "tuple",
773
+ internalType: "struct PackedUserOperation",
774
+ components: [
775
+ {
776
+ name: "sender",
777
+ type: "address",
778
+ internalType: "address",
779
+ },
780
+ {
781
+ name: "nonce",
782
+ type: "uint256",
783
+ internalType: "uint256",
784
+ },
785
+ {
786
+ name: "initCode",
787
+ type: "bytes",
788
+ internalType: "bytes",
789
+ },
790
+ {
791
+ name: "callData",
792
+ type: "bytes",
793
+ internalType: "bytes",
794
+ },
795
+ {
796
+ name: "accountGasLimits",
797
+ type: "bytes32",
798
+ internalType: "bytes32",
799
+ },
800
+ {
801
+ name: "preVerificationGas",
802
+ type: "uint256",
803
+ internalType: "uint256",
804
+ },
805
+ {
806
+ name: "gasFees",
807
+ type: "bytes32",
808
+ internalType: "bytes32",
809
+ },
810
+ {
811
+ name: "paymasterAndData",
812
+ type: "bytes",
813
+ internalType: "bytes",
814
+ },
815
+ {
816
+ name: "signature",
817
+ type: "bytes",
818
+ internalType: "bytes",
819
+ },
820
+ ],
821
+ },
822
+ {
823
+ name: "userOpHash",
824
+ type: "bytes32",
825
+ internalType: "bytes32",
826
+ },
827
+ {
828
+ name: "missingAccountFunds",
829
+ type: "uint256",
830
+ internalType: "uint256",
831
+ },
832
+ ],
833
+ outputs: [
834
+ {
835
+ name: "validationData",
836
+ type: "uint256",
837
+ internalType: "uint256",
838
+ },
839
+ ],
840
+ stateMutability: "nonpayable",
841
+ },
842
+ {
843
+ type: "event",
844
+ name: "ExecutionInstalled",
845
+ inputs: [
846
+ {
847
+ name: "module",
848
+ type: "address",
849
+ indexed: true,
850
+ internalType: "address",
851
+ },
852
+ {
853
+ name: "manifest",
854
+ type: "tuple",
855
+ indexed: false,
856
+ internalType: "struct ExecutionManifest",
857
+ components: [
858
+ {
859
+ name: "executionFunctions",
860
+ type: "tuple[]",
861
+ internalType: "struct ManifestExecutionFunction[]",
862
+ components: [
863
+ {
864
+ name: "executionSelector",
865
+ type: "bytes4",
866
+ internalType: "bytes4",
867
+ },
868
+ {
869
+ name: "skipRuntimeValidation",
870
+ type: "bool",
871
+ internalType: "bool",
872
+ },
873
+ {
874
+ name: "allowGlobalValidation",
875
+ type: "bool",
876
+ internalType: "bool",
877
+ },
878
+ ],
879
+ },
880
+ {
881
+ name: "executionHooks",
882
+ type: "tuple[]",
883
+ internalType: "struct ManifestExecutionHook[]",
884
+ components: [
885
+ {
886
+ name: "executionSelector",
887
+ type: "bytes4",
888
+ internalType: "bytes4",
889
+ },
890
+ {
891
+ name: "entityId",
892
+ type: "uint32",
893
+ internalType: "uint32",
894
+ },
895
+ {
896
+ name: "isPreHook",
897
+ type: "bool",
898
+ internalType: "bool",
899
+ },
900
+ {
901
+ name: "isPostHook",
902
+ type: "bool",
903
+ internalType: "bool",
904
+ },
905
+ ],
906
+ },
907
+ {
908
+ name: "interfaceIds",
909
+ type: "bytes4[]",
910
+ internalType: "bytes4[]",
911
+ },
912
+ ],
913
+ },
914
+ ],
915
+ anonymous: false,
916
+ },
917
+ {
918
+ type: "event",
919
+ name: "ExecutionUninstalled",
920
+ inputs: [
921
+ {
922
+ name: "module",
923
+ type: "address",
924
+ indexed: true,
925
+ internalType: "address",
926
+ },
927
+ {
928
+ name: "onUninstallSucceeded",
929
+ type: "bool",
930
+ indexed: false,
931
+ internalType: "bool",
932
+ },
933
+ {
934
+ name: "manifest",
935
+ type: "tuple",
936
+ indexed: false,
937
+ internalType: "struct ExecutionManifest",
938
+ components: [
939
+ {
940
+ name: "executionFunctions",
941
+ type: "tuple[]",
942
+ internalType: "struct ManifestExecutionFunction[]",
943
+ components: [
944
+ {
945
+ name: "executionSelector",
946
+ type: "bytes4",
947
+ internalType: "bytes4",
948
+ },
949
+ {
950
+ name: "skipRuntimeValidation",
951
+ type: "bool",
952
+ internalType: "bool",
953
+ },
954
+ {
955
+ name: "allowGlobalValidation",
956
+ type: "bool",
957
+ internalType: "bool",
958
+ },
959
+ ],
960
+ },
961
+ {
962
+ name: "executionHooks",
963
+ type: "tuple[]",
964
+ internalType: "struct ManifestExecutionHook[]",
965
+ components: [
966
+ {
967
+ name: "executionSelector",
968
+ type: "bytes4",
969
+ internalType: "bytes4",
970
+ },
971
+ {
972
+ name: "entityId",
973
+ type: "uint32",
974
+ internalType: "uint32",
975
+ },
976
+ {
977
+ name: "isPreHook",
978
+ type: "bool",
979
+ internalType: "bool",
980
+ },
981
+ {
982
+ name: "isPostHook",
983
+ type: "bool",
984
+ internalType: "bool",
985
+ },
986
+ ],
987
+ },
988
+ {
989
+ name: "interfaceIds",
990
+ type: "bytes4[]",
991
+ internalType: "bytes4[]",
992
+ },
993
+ ],
994
+ },
995
+ ],
996
+ anonymous: false,
997
+ },
998
+ {
999
+ type: "event",
1000
+ name: "FallbackSignerUpdated",
1001
+ inputs: [
1002
+ {
1003
+ name: "newFallbackSigner",
1004
+ type: "address",
1005
+ indexed: true,
1006
+ internalType: "address",
1007
+ },
1008
+ {
1009
+ name: "isDisabled",
1010
+ type: "bool",
1011
+ indexed: false,
1012
+ internalType: "bool",
1013
+ },
1014
+ ],
1015
+ anonymous: false,
1016
+ },
1017
+ {
1018
+ type: "event",
1019
+ name: "Initialized",
1020
+ inputs: [
1021
+ {
1022
+ name: "version",
1023
+ type: "uint64",
1024
+ indexed: false,
1025
+ internalType: "uint64",
1026
+ },
1027
+ ],
1028
+ anonymous: false,
1029
+ },
1030
+ {
1031
+ type: "event",
1032
+ name: "Upgraded",
1033
+ inputs: [
1034
+ {
1035
+ name: "implementation",
1036
+ type: "address",
1037
+ indexed: true,
1038
+ internalType: "address",
1039
+ },
1040
+ ],
1041
+ anonymous: false,
1042
+ },
1043
+ {
1044
+ type: "event",
1045
+ name: "ValidationInstalled",
1046
+ inputs: [
1047
+ {
1048
+ name: "module",
1049
+ type: "address",
1050
+ indexed: true,
1051
+ internalType: "address",
1052
+ },
1053
+ {
1054
+ name: "entityId",
1055
+ type: "uint32",
1056
+ indexed: true,
1057
+ internalType: "uint32",
1058
+ },
1059
+ ],
1060
+ anonymous: false,
1061
+ },
1062
+ {
1063
+ type: "event",
1064
+ name: "ValidationUninstalled",
1065
+ inputs: [
1066
+ {
1067
+ name: "module",
1068
+ type: "address",
1069
+ indexed: true,
1070
+ internalType: "address",
1071
+ },
1072
+ {
1073
+ name: "entityId",
1074
+ type: "uint32",
1075
+ indexed: true,
1076
+ internalType: "uint32",
1077
+ },
1078
+ {
1079
+ name: "onUninstallSucceeded",
1080
+ type: "bool",
1081
+ indexed: false,
1082
+ internalType: "bool",
1083
+ },
1084
+ ],
1085
+ anonymous: false,
1086
+ },
1087
+ {
1088
+ type: "error",
1089
+ name: "ArrayLengthMismatch",
1090
+ inputs: [],
1091
+ },
1092
+ {
1093
+ type: "error",
1094
+ name: "CreateFailed",
1095
+ inputs: [],
1096
+ },
1097
+ {
1098
+ type: "error",
1099
+ name: "DeferredActionSignatureInvalid",
1100
+ inputs: [],
1101
+ },
1102
+ {
1103
+ type: "error",
1104
+ name: "DeferredValidationHasValidationHooks",
1105
+ inputs: [],
1106
+ },
1107
+ {
1108
+ type: "error",
1109
+ name: "ExecutionHookAlreadySet",
1110
+ inputs: [
1111
+ {
1112
+ name: "hookConfig",
1113
+ type: "bytes25",
1114
+ internalType: "HookConfig",
1115
+ },
1116
+ ],
1117
+ },
1118
+ {
1119
+ type: "error",
1120
+ name: "FallbackSignerDisabled",
1121
+ inputs: [],
1122
+ },
1123
+ {
1124
+ type: "error",
1125
+ name: "FallbackSignerMismatch",
1126
+ inputs: [],
1127
+ },
1128
+ {
1129
+ type: "error",
1130
+ name: "FallbackValidationInstallationNotAllowed",
1131
+ inputs: [],
1132
+ },
1133
+ {
1134
+ type: "error",
1135
+ name: "InterfaceNotSupported",
1136
+ inputs: [
1137
+ {
1138
+ name: "module",
1139
+ type: "address",
1140
+ internalType: "address",
1141
+ },
1142
+ ],
1143
+ },
1144
+ {
1145
+ type: "error",
1146
+ name: "InvalidInitialization",
1147
+ inputs: [],
1148
+ },
1149
+ {
1150
+ type: "error",
1151
+ name: "InvalidSignatureType",
1152
+ inputs: [],
1153
+ },
1154
+ {
1155
+ type: "error",
1156
+ name: "ModuleInstallCallbackFailed",
1157
+ inputs: [
1158
+ {
1159
+ name: "module",
1160
+ type: "address",
1161
+ internalType: "address",
1162
+ },
1163
+ {
1164
+ name: "revertReason",
1165
+ type: "bytes",
1166
+ internalType: "bytes",
1167
+ },
1168
+ ],
1169
+ },
1170
+ {
1171
+ type: "error",
1172
+ name: "NonCanonicalEncoding",
1173
+ inputs: [],
1174
+ },
1175
+ {
1176
+ type: "error",
1177
+ name: "NotEntryPoint",
1178
+ inputs: [],
1179
+ },
1180
+ {
1181
+ type: "error",
1182
+ name: "PreValidationHookDuplicate",
1183
+ inputs: [],
1184
+ },
1185
+ {
1186
+ type: "error",
1187
+ name: "RequireUserOperationContext",
1188
+ inputs: [],
1189
+ },
1190
+ {
1191
+ type: "error",
1192
+ name: "SegmentOutOfOrder",
1193
+ inputs: [],
1194
+ },
1195
+ {
1196
+ type: "error",
1197
+ name: "SelfCallRecursionDepthExceeded",
1198
+ inputs: [],
1199
+ },
1200
+ {
1201
+ type: "error",
1202
+ name: "SignatureValidationInvalid",
1203
+ inputs: [
1204
+ {
1205
+ name: "validationFunction",
1206
+ type: "bytes24",
1207
+ internalType: "ModuleEntity",
1208
+ },
1209
+ ],
1210
+ },
1211
+ {
1212
+ type: "error",
1213
+ name: "UnauthorizedCallContext",
1214
+ inputs: [],
1215
+ },
1216
+ {
1217
+ type: "error",
1218
+ name: "UnexpectedAggregator",
1219
+ inputs: [
1220
+ {
1221
+ name: "validationFunction",
1222
+ type: "bytes24",
1223
+ internalType: "ModuleEntity",
1224
+ },
1225
+ {
1226
+ name: "aggregator",
1227
+ type: "address",
1228
+ internalType: "address",
1229
+ },
1230
+ ],
1231
+ },
1232
+ {
1233
+ type: "error",
1234
+ name: "UnrecognizedFunction",
1235
+ inputs: [
1236
+ {
1237
+ name: "selector",
1238
+ type: "bytes4",
1239
+ internalType: "bytes4",
1240
+ },
1241
+ ],
1242
+ },
1243
+ {
1244
+ type: "error",
1245
+ name: "UpgradeFailed",
1246
+ inputs: [],
1247
+ },
1248
+ {
1249
+ type: "error",
1250
+ name: "UserOpValidationInvalid",
1251
+ inputs: [
1252
+ {
1253
+ name: "validationFunction",
1254
+ type: "bytes24",
1255
+ internalType: "ModuleEntity",
1256
+ },
1257
+ ],
1258
+ },
1259
+ {
1260
+ type: "error",
1261
+ name: "ValidationAlreadySet",
1262
+ inputs: [
1263
+ {
1264
+ name: "selector",
1265
+ type: "bytes4",
1266
+ internalType: "bytes4",
1267
+ },
1268
+ {
1269
+ name: "validationFunction",
1270
+ type: "bytes24",
1271
+ internalType: "ModuleEntity",
1272
+ },
1273
+ ],
1274
+ },
1275
+ {
1276
+ type: "error",
1277
+ name: "ValidationAssocHookLimitExceeded",
1278
+ inputs: [],
1279
+ },
1280
+ {
1281
+ type: "error",
1282
+ name: "ValidationEntityIdInUse",
1283
+ inputs: [],
1284
+ },
1285
+ {
1286
+ type: "error",
1287
+ name: "ValidationFunctionMissing",
1288
+ inputs: [
1289
+ {
1290
+ name: "selector",
1291
+ type: "bytes4",
1292
+ internalType: "bytes4",
1293
+ },
1294
+ ],
1295
+ },
1296
+ {
1297
+ type: "error",
1298
+ name: "ValidationSignatureSegmentMissing",
1299
+ inputs: [],
1300
+ },
1301
+ ];
1302
+ //# sourceMappingURL=semiModularAccountStorageAbi.js.map