@startale-scs/aa-sdk 1.0.2 → 1.0.4

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 (120) hide show
  1. package/dist/_cjs/account/toStartaleSmartAccount.js +84 -24
  2. package/dist/_cjs/account/toStartaleSmartAccount.js.map +1 -1
  3. package/dist/_cjs/account/utils/addressToEmptyAccount.js +24 -0
  4. package/dist/_cjs/account/utils/addressToEmptyAccount.js.map +1 -0
  5. package/dist/_cjs/account/utils/eip7702Utils.js +21 -0
  6. package/dist/_cjs/account/utils/eip7702Utils.js.map +1 -0
  7. package/dist/_cjs/account/utils/index.js +1 -0
  8. package/dist/_cjs/account/utils/index.js.map +1 -1
  9. package/dist/_cjs/account/utils/tenderlySimulation.js.map +1 -1
  10. package/dist/_cjs/clients/createHttpClient.js +8 -4
  11. package/dist/_cjs/clients/createHttpClient.js.map +1 -1
  12. package/dist/_cjs/clients/createSCSBundlerClient.js +44 -3
  13. package/dist/_cjs/clients/createSCSBundlerClient.js.map +1 -1
  14. package/dist/_cjs/clients/createSCSPaymasterClient.js +14 -1
  15. package/dist/_cjs/clients/createSCSPaymasterClient.js.map +1 -1
  16. package/dist/_cjs/clients/decorators/bundler/getGasFeeValues.js +4 -2
  17. package/dist/_cjs/clients/decorators/bundler/getGasFeeValues.js.map +1 -1
  18. package/dist/_cjs/clients/decorators/bundler/index.js.map +1 -1
  19. package/dist/_cjs/clients/decorators/erc7579/installModule.js.map +1 -1
  20. package/dist/_cjs/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js.map +1 -1
  21. package/dist/_cjs/clients/decorators/tokenPaymaster/getSupportedTokens.js +1 -1
  22. package/dist/_cjs/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js +62 -2
  23. package/dist/_cjs/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js.map +1 -1
  24. package/dist/_cjs/constants/abi/AccountFactory.js +202 -202
  25. package/dist/_cjs/constants/abi/AccountFactory.js.map +1 -1
  26. package/dist/_cjs/constants/abi/AccountImplementationAbi.js +695 -695
  27. package/dist/_cjs/constants/abi/AccountImplementationAbi.js.map +1 -1
  28. package/dist/_cjs/constants/abi/BootstrapAbi.js +423 -423
  29. package/dist/_cjs/constants/abi/BootstrapAbi.js.map +1 -1
  30. package/dist/_cjs/constants/index.js +3 -2
  31. package/dist/_cjs/constants/index.js.map +1 -1
  32. package/dist/_cjs/modules/index.js.map +1 -1
  33. package/dist/_cjs/modules/validators/ownable/decorators/addOwner.js +5 -1
  34. package/dist/_cjs/modules/validators/ownable/decorators/addOwner.js.map +1 -1
  35. package/dist/_cjs/modules/validators/ownable/decorators/getRemoveOwnerTx.js +5 -1
  36. package/dist/_cjs/modules/validators/ownable/decorators/getRemoveOwnerTx.js.map +1 -1
  37. package/dist/_cjs/modules/validators/ownable/decorators/prepareForMultiSign.js.map +1 -1
  38. package/dist/_cjs/modules/validators/ownable/decorators/removeOwner.js +4 -1
  39. package/dist/_cjs/modules/validators/ownable/decorators/removeOwner.js.map +1 -1
  40. package/dist/_cjs/modules/validators/smartSessionsValidator/Helpers.js +4 -2
  41. package/dist/_cjs/modules/validators/smartSessionsValidator/Helpers.js.map +1 -1
  42. package/dist/_esm/account/toStartaleSmartAccount.js +107 -31
  43. package/dist/_esm/account/toStartaleSmartAccount.js.map +1 -1
  44. package/dist/_esm/account/utils/Utils.js +1 -1
  45. package/dist/_esm/account/utils/Utils.js.map +1 -1
  46. package/dist/_esm/account/utils/addressToEmptyAccount.js +21 -0
  47. package/dist/_esm/account/utils/addressToEmptyAccount.js.map +1 -0
  48. package/dist/_esm/account/utils/eip7702Utils.js +16 -0
  49. package/dist/_esm/account/utils/eip7702Utils.js.map +1 -0
  50. package/dist/_esm/account/utils/index.js +1 -0
  51. package/dist/_esm/account/utils/index.js.map +1 -1
  52. package/dist/_esm/account/utils/tenderlySimulation.js.map +1 -1
  53. package/dist/_esm/clients/createHttpClient.js +8 -4
  54. package/dist/_esm/clients/createHttpClient.js.map +1 -1
  55. package/dist/_esm/clients/createSCSBundlerClient.js +45 -4
  56. package/dist/_esm/clients/createSCSBundlerClient.js.map +1 -1
  57. package/dist/_esm/clients/createSCSPaymasterClient.js +17 -2
  58. package/dist/_esm/clients/createSCSPaymasterClient.js.map +1 -1
  59. package/dist/_esm/clients/decorators/bundler/getGasFeeValues.js +5 -3
  60. package/dist/_esm/clients/decorators/bundler/getGasFeeValues.js.map +1 -1
  61. package/dist/_esm/clients/decorators/bundler/index.js.map +1 -1
  62. package/dist/_esm/clients/decorators/erc7579/index.js +1 -1
  63. package/dist/_esm/clients/decorators/erc7579/index.js.map +1 -1
  64. package/dist/_esm/clients/decorators/erc7579/installModule.js +1 -1
  65. package/dist/_esm/clients/decorators/erc7579/installModule.js.map +1 -1
  66. package/dist/_esm/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.js.map +1 -1
  67. package/dist/_esm/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js +0 -1
  68. package/dist/_esm/clients/decorators/smartAccount/sendTokenPaymasterUserOp.js.map +1 -1
  69. package/dist/_esm/clients/decorators/tokenPaymaster/getSupportedTokens.js +1 -1
  70. package/dist/_esm/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js +80 -3
  71. package/dist/_esm/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.js.map +1 -1
  72. package/dist/_esm/constants/abi/AccountFactory.js +202 -202
  73. package/dist/_esm/constants/abi/AccountFactory.js.map +1 -1
  74. package/dist/_esm/constants/abi/AccountImplementationAbi.js +695 -695
  75. package/dist/_esm/constants/abi/AccountImplementationAbi.js.map +1 -1
  76. package/dist/_esm/constants/abi/BootstrapAbi.js +423 -423
  77. package/dist/_esm/constants/abi/BootstrapAbi.js.map +1 -1
  78. package/dist/_esm/constants/index.js +2 -1
  79. package/dist/_esm/constants/index.js.map +1 -1
  80. package/dist/_esm/modules/index.js.map +1 -1
  81. package/dist/_esm/modules/validators/ownable/decorators/addOwner.js +5 -1
  82. package/dist/_esm/modules/validators/ownable/decorators/addOwner.js.map +1 -1
  83. package/dist/_esm/modules/validators/ownable/decorators/getRemoveOwnerTx.js +5 -1
  84. package/dist/_esm/modules/validators/ownable/decorators/getRemoveOwnerTx.js.map +1 -1
  85. package/dist/_esm/modules/validators/ownable/decorators/prepareForMultiSign.js.map +1 -1
  86. package/dist/_esm/modules/validators/ownable/decorators/removeOwner.js +4 -1
  87. package/dist/_esm/modules/validators/ownable/decorators/removeOwner.js.map +1 -1
  88. package/dist/_esm/modules/validators/smartSessionsValidator/Helpers.js +4 -2
  89. package/dist/_esm/modules/validators/smartSessionsValidator/Helpers.js.map +1 -1
  90. package/dist/_types/account/toStartaleSmartAccount.d.ts +15 -5
  91. package/dist/_types/account/toStartaleSmartAccount.d.ts.map +1 -1
  92. package/dist/_types/account/utils/addressToEmptyAccount.d.ts +4 -0
  93. package/dist/_types/account/utils/addressToEmptyAccount.d.ts.map +1 -0
  94. package/dist/_types/account/utils/eip7702Utils.d.ts +4 -0
  95. package/dist/_types/account/utils/eip7702Utils.d.ts.map +1 -0
  96. package/dist/_types/account/utils/index.d.ts +1 -0
  97. package/dist/_types/account/utils/index.d.ts.map +1 -1
  98. package/dist/_types/account/utils/tenderlySimulation.d.ts.map +1 -1
  99. package/dist/_types/clients/createHttpClient.d.ts.map +1 -1
  100. package/dist/_types/clients/createSCSBundlerClient.d.ts.map +1 -1
  101. package/dist/_types/clients/createSCSPaymasterClient.d.ts.map +1 -1
  102. package/dist/_types/clients/decorators/bundler/getGasFeeValues.d.ts.map +1 -1
  103. package/dist/_types/clients/decorators/bundler/index.d.ts +1 -1
  104. package/dist/_types/clients/decorators/bundler/index.d.ts.map +1 -1
  105. package/dist/_types/clients/decorators/erc7579/installModule.d.ts.map +1 -1
  106. package/dist/_types/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.d.ts +2 -1
  107. package/dist/_types/clients/decorators/smartAccount/prepareTokenPaymasterUserOp.d.ts.map +1 -1
  108. package/dist/_types/clients/decorators/smartAccount/sendTokenPaymasterUserOp.d.ts +1 -1
  109. package/dist/_types/clients/decorators/smartAccount/sendTokenPaymasterUserOp.d.ts.map +1 -1
  110. package/dist/_types/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.d.ts +6 -1
  111. package/dist/_types/clients/decorators/tokenPaymaster/getTokenPaymasterQuotes.d.ts.map +1 -1
  112. package/dist/_types/constants/index.d.ts +1 -0
  113. package/dist/_types/constants/index.d.ts.map +1 -1
  114. package/dist/_types/modules/index.d.ts.map +1 -1
  115. package/dist/_types/modules/validators/ownable/decorators/addOwner.d.ts.map +1 -1
  116. package/dist/_types/modules/validators/ownable/decorators/getRemoveOwnerTx.d.ts.map +1 -1
  117. package/dist/_types/modules/validators/ownable/decorators/prepareForMultiSign.d.ts.map +1 -1
  118. package/dist/_types/modules/validators/ownable/decorators/removeOwner.d.ts.map +1 -1
  119. package/dist/_types/modules/validators/smartSessionsValidator/Helpers.d.ts.map +1 -1
  120. package/package.json +1 -1
@@ -1,727 +1,727 @@
1
1
  export const BootstrapAbi = [
2
2
  {
3
- "inputs": [
3
+ inputs: [
4
4
  {
5
- "internalType": "address",
6
- "name": "defaultValidator",
7
- "type": "address"
5
+ internalType: "address",
6
+ name: "defaultValidator",
7
+ type: "address"
8
8
  },
9
9
  {
10
- "internalType": "bytes",
11
- "name": "initData",
12
- "type": "bytes"
10
+ internalType: "bytes",
11
+ name: "initData",
12
+ type: "bytes"
13
13
  }
14
14
  ],
15
- "stateMutability": "nonpayable",
16
- "type": "constructor"
15
+ stateMutability: "nonpayable",
16
+ type: "constructor"
17
17
  },
18
18
  {
19
- "inputs": [],
20
- "name": "CanNotRemoveLastValidator",
21
- "type": "error"
19
+ inputs: [],
20
+ name: "CanNotRemoveLastValidator",
21
+ type: "error"
22
22
  },
23
23
  {
24
- "inputs": [],
25
- "name": "DefaultValidatorAlreadyInstalled",
26
- "type": "error"
24
+ inputs: [],
25
+ name: "DefaultValidatorAlreadyInstalled",
26
+ type: "error"
27
27
  },
28
28
  {
29
- "inputs": [],
30
- "name": "EmergencyUninstallSigError",
31
- "type": "error"
29
+ inputs: [],
30
+ name: "EmergencyUninstallSigError",
31
+ type: "error"
32
32
  },
33
33
  {
34
- "inputs": [],
35
- "name": "EnableModeSigError",
36
- "type": "error"
34
+ inputs: [],
35
+ name: "EnableModeSigError",
36
+ type: "error"
37
37
  },
38
38
  {
39
- "inputs": [
39
+ inputs: [
40
40
  {
41
- "internalType": "bytes4",
42
- "name": "selector",
43
- "type": "bytes4"
41
+ internalType: "bytes4",
42
+ name: "selector",
43
+ type: "bytes4"
44
44
  }
45
45
  ],
46
- "name": "FallbackAlreadyInstalledForSelector",
47
- "type": "error"
46
+ name: "FallbackAlreadyInstalledForSelector",
47
+ type: "error"
48
48
  },
49
49
  {
50
- "inputs": [],
51
- "name": "FallbackCallTypeInvalid",
52
- "type": "error"
50
+ inputs: [],
51
+ name: "FallbackCallTypeInvalid",
52
+ type: "error"
53
53
  },
54
54
  {
55
- "inputs": [],
56
- "name": "FallbackHandlerUninstallFailed",
57
- "type": "error"
55
+ inputs: [],
56
+ name: "FallbackHandlerUninstallFailed",
57
+ type: "error"
58
58
  },
59
59
  {
60
- "inputs": [
60
+ inputs: [
61
61
  {
62
- "internalType": "bytes4",
63
- "name": "selector",
64
- "type": "bytes4"
62
+ internalType: "bytes4",
63
+ name: "selector",
64
+ type: "bytes4"
65
65
  }
66
66
  ],
67
- "name": "FallbackNotInstalledForSelector",
68
- "type": "error"
67
+ name: "FallbackNotInstalledForSelector",
68
+ type: "error"
69
69
  },
70
70
  {
71
- "inputs": [],
72
- "name": "FallbackSelectorForbidden",
73
- "type": "error"
71
+ inputs: [],
72
+ name: "FallbackSelectorForbidden",
73
+ type: "error"
74
74
  },
75
75
  {
76
- "inputs": [
76
+ inputs: [
77
77
  {
78
- "internalType": "address",
79
- "name": "currentHook",
80
- "type": "address"
78
+ internalType: "address",
79
+ name: "currentHook",
80
+ type: "address"
81
81
  }
82
82
  ],
83
- "name": "HookAlreadyInstalled",
84
- "type": "error"
83
+ name: "HookAlreadyInstalled",
84
+ type: "error"
85
85
  },
86
86
  {
87
- "inputs": [],
88
- "name": "HookPostCheckFailed",
89
- "type": "error"
87
+ inputs: [],
88
+ name: "HookPostCheckFailed",
89
+ type: "error"
90
90
  },
91
91
  {
92
- "inputs": [
92
+ inputs: [
93
93
  {
94
- "internalType": "uint256",
95
- "name": "hookType",
96
- "type": "uint256"
94
+ internalType: "uint256",
95
+ name: "hookType",
96
+ type: "uint256"
97
97
  }
98
98
  ],
99
- "name": "InvalidHookType",
100
- "type": "error"
99
+ name: "InvalidHookType",
100
+ type: "error"
101
101
  },
102
102
  {
103
- "inputs": [],
104
- "name": "InvalidInput",
105
- "type": "error"
103
+ inputs: [],
104
+ name: "InvalidInput",
105
+ type: "error"
106
106
  },
107
107
  {
108
- "inputs": [
108
+ inputs: [
109
109
  {
110
- "internalType": "address",
111
- "name": "module",
112
- "type": "address"
110
+ internalType: "address",
111
+ name: "module",
112
+ type: "address"
113
113
  }
114
114
  ],
115
- "name": "InvalidModule",
116
- "type": "error"
115
+ name: "InvalidModule",
116
+ type: "error"
117
117
  },
118
118
  {
119
- "inputs": [
119
+ inputs: [
120
120
  {
121
- "internalType": "uint256",
122
- "name": "moduleTypeId",
123
- "type": "uint256"
121
+ internalType: "uint256",
122
+ name: "moduleTypeId",
123
+ type: "uint256"
124
124
  }
125
125
  ],
126
- "name": "InvalidModuleTypeId",
127
- "type": "error"
126
+ name: "InvalidModuleTypeId",
127
+ type: "error"
128
128
  },
129
129
  {
130
- "inputs": [],
131
- "name": "InvalidNonce",
132
- "type": "error"
130
+ inputs: [],
131
+ name: "InvalidNonce",
132
+ type: "error"
133
133
  },
134
134
  {
135
- "inputs": [],
136
- "name": "LinkedList_AlreadyInitialized",
137
- "type": "error"
135
+ inputs: [],
136
+ name: "LinkedList_AlreadyInitialized",
137
+ type: "error"
138
138
  },
139
139
  {
140
- "inputs": [
140
+ inputs: [
141
141
  {
142
- "internalType": "address",
143
- "name": "entry",
144
- "type": "address"
142
+ internalType: "address",
143
+ name: "entry",
144
+ type: "address"
145
145
  }
146
146
  ],
147
- "name": "LinkedList_EntryAlreadyInList",
148
- "type": "error"
147
+ name: "LinkedList_EntryAlreadyInList",
148
+ type: "error"
149
149
  },
150
150
  {
151
- "inputs": [
151
+ inputs: [
152
152
  {
153
- "internalType": "address",
154
- "name": "entry",
155
- "type": "address"
153
+ internalType: "address",
154
+ name: "entry",
155
+ type: "address"
156
156
  }
157
157
  ],
158
- "name": "LinkedList_InvalidEntry",
159
- "type": "error"
158
+ name: "LinkedList_InvalidEntry",
159
+ type: "error"
160
160
  },
161
161
  {
162
- "inputs": [],
163
- "name": "LinkedList_InvalidPage",
164
- "type": "error"
162
+ inputs: [],
163
+ name: "LinkedList_InvalidPage",
164
+ type: "error"
165
165
  },
166
166
  {
167
- "inputs": [],
168
- "name": "MismatchModuleTypeId",
169
- "type": "error"
167
+ inputs: [],
168
+ name: "MismatchModuleTypeId",
169
+ type: "error"
170
170
  },
171
171
  {
172
- "inputs": [
172
+ inputs: [
173
173
  {
174
- "internalType": "bytes4",
175
- "name": "selector",
176
- "type": "bytes4"
174
+ internalType: "bytes4",
175
+ name: "selector",
176
+ type: "bytes4"
177
177
  }
178
178
  ],
179
- "name": "MissingFallbackHandler",
180
- "type": "error"
179
+ name: "MissingFallbackHandler",
180
+ type: "error"
181
181
  },
182
182
  {
183
- "inputs": [],
184
- "name": "ModuleAddressCanNotBeZero",
185
- "type": "error"
183
+ inputs: [],
184
+ name: "ModuleAddressCanNotBeZero",
185
+ type: "error"
186
186
  },
187
187
  {
188
- "inputs": [
188
+ inputs: [
189
189
  {
190
- "internalType": "uint256",
191
- "name": "moduleTypeId",
192
- "type": "uint256"
190
+ internalType: "uint256",
191
+ name: "moduleTypeId",
192
+ type: "uint256"
193
193
  },
194
194
  {
195
- "internalType": "address",
196
- "name": "module",
197
- "type": "address"
195
+ internalType: "address",
196
+ name: "module",
197
+ type: "address"
198
198
  }
199
199
  ],
200
- "name": "ModuleAlreadyInstalled",
201
- "type": "error"
200
+ name: "ModuleAlreadyInstalled",
201
+ type: "error"
202
202
  },
203
203
  {
204
- "inputs": [
204
+ inputs: [
205
205
  {
206
- "internalType": "uint256",
207
- "name": "moduleTypeId",
208
- "type": "uint256"
206
+ internalType: "uint256",
207
+ name: "moduleTypeId",
208
+ type: "uint256"
209
209
  },
210
210
  {
211
- "internalType": "address",
212
- "name": "module",
213
- "type": "address"
211
+ internalType: "address",
212
+ name: "module",
213
+ type: "address"
214
214
  }
215
215
  ],
216
- "name": "ModuleNotInstalled",
217
- "type": "error"
216
+ name: "ModuleNotInstalled",
217
+ type: "error"
218
218
  },
219
219
  {
220
- "inputs": [],
221
- "name": "NoValidatorInstalled",
222
- "type": "error"
220
+ inputs: [],
221
+ name: "NoValidatorInstalled",
222
+ type: "error"
223
223
  },
224
224
  {
225
- "inputs": [
225
+ inputs: [
226
226
  {
227
- "internalType": "address",
228
- "name": "currentPreValidationHook",
229
- "type": "address"
227
+ internalType: "address",
228
+ name: "currentPreValidationHook",
229
+ type: "address"
230
230
  }
231
231
  ],
232
- "name": "PrevalidationHookAlreadyInstalled",
233
- "type": "error"
232
+ name: "PrevalidationHookAlreadyInstalled",
233
+ type: "error"
234
234
  },
235
235
  {
236
- "inputs": [
236
+ inputs: [
237
237
  {
238
- "internalType": "address",
239
- "name": "operator",
240
- "type": "address"
238
+ internalType: "address",
239
+ name: "operator",
240
+ type: "address"
241
241
  }
242
242
  ],
243
- "name": "UnauthorizedOperation",
244
- "type": "error"
243
+ name: "UnauthorizedOperation",
244
+ type: "error"
245
245
  },
246
246
  {
247
- "inputs": [
247
+ inputs: [
248
248
  {
249
- "internalType": "CallType",
250
- "name": "callType",
251
- "type": "bytes1"
249
+ internalType: "CallType",
250
+ name: "callType",
251
+ type: "bytes1"
252
252
  }
253
253
  ],
254
- "name": "UnsupportedCallType",
255
- "type": "error"
254
+ name: "UnsupportedCallType",
255
+ type: "error"
256
256
  },
257
257
  {
258
- "inputs": [
258
+ inputs: [
259
259
  {
260
- "internalType": "address",
261
- "name": "module",
262
- "type": "address"
260
+ internalType: "address",
261
+ name: "module",
262
+ type: "address"
263
263
  }
264
264
  ],
265
- "name": "ValidatorNotInstalled",
266
- "type": "error"
265
+ name: "ValidatorNotInstalled",
266
+ type: "error"
267
267
  },
268
268
  {
269
- "anonymous": false,
270
- "inputs": [
269
+ anonymous: false,
270
+ inputs: [
271
271
  {
272
- "indexed": false,
273
- "internalType": "uint256",
274
- "name": "moduleTypeId",
275
- "type": "uint256"
272
+ indexed: false,
273
+ internalType: "uint256",
274
+ name: "moduleTypeId",
275
+ type: "uint256"
276
276
  },
277
277
  {
278
- "indexed": false,
279
- "internalType": "address",
280
- "name": "module",
281
- "type": "address"
278
+ indexed: false,
279
+ internalType: "address",
280
+ name: "module",
281
+ type: "address"
282
282
  }
283
283
  ],
284
- "name": "ModuleInstalled",
285
- "type": "event"
284
+ name: "ModuleInstalled",
285
+ type: "event"
286
286
  },
287
287
  {
288
- "anonymous": false,
289
- "inputs": [
288
+ anonymous: false,
289
+ inputs: [
290
290
  {
291
- "indexed": false,
292
- "internalType": "uint256",
293
- "name": "moduleTypeId",
294
- "type": "uint256"
291
+ indexed: false,
292
+ internalType: "uint256",
293
+ name: "moduleTypeId",
294
+ type: "uint256"
295
295
  },
296
296
  {
297
- "indexed": false,
298
- "internalType": "address",
299
- "name": "module",
300
- "type": "address"
297
+ indexed: false,
298
+ internalType: "address",
299
+ name: "module",
300
+ type: "address"
301
301
  }
302
302
  ],
303
- "name": "ModuleUninstalled",
304
- "type": "event"
303
+ name: "ModuleUninstalled",
304
+ type: "event"
305
305
  },
306
306
  {
307
- "stateMutability": "payable",
308
- "type": "fallback"
307
+ stateMutability: "payable",
308
+ type: "fallback"
309
309
  },
310
310
  {
311
- "inputs": [],
312
- "name": "eip712Domain",
313
- "outputs": [
311
+ inputs: [],
312
+ name: "eip712Domain",
313
+ outputs: [
314
314
  {
315
- "internalType": "bytes1",
316
- "name": "fields",
317
- "type": "bytes1"
315
+ internalType: "bytes1",
316
+ name: "fields",
317
+ type: "bytes1"
318
318
  },
319
319
  {
320
- "internalType": "string",
321
- "name": "name",
322
- "type": "string"
320
+ internalType: "string",
321
+ name: "name",
322
+ type: "string"
323
323
  },
324
324
  {
325
- "internalType": "string",
326
- "name": "version",
327
- "type": "string"
325
+ internalType: "string",
326
+ name: "version",
327
+ type: "string"
328
328
  },
329
329
  {
330
- "internalType": "uint256",
331
- "name": "chainId",
332
- "type": "uint256"
330
+ internalType: "uint256",
331
+ name: "chainId",
332
+ type: "uint256"
333
333
  },
334
334
  {
335
- "internalType": "address",
336
- "name": "verifyingContract",
337
- "type": "address"
335
+ internalType: "address",
336
+ name: "verifyingContract",
337
+ type: "address"
338
338
  },
339
339
  {
340
- "internalType": "bytes32",
341
- "name": "salt",
342
- "type": "bytes32"
340
+ internalType: "bytes32",
341
+ name: "salt",
342
+ type: "bytes32"
343
343
  },
344
344
  {
345
- "internalType": "uint256[]",
346
- "name": "extensions",
347
- "type": "uint256[]"
345
+ internalType: "uint256[]",
346
+ name: "extensions",
347
+ type: "uint256[]"
348
348
  }
349
349
  ],
350
- "stateMutability": "view",
351
- "type": "function"
350
+ stateMutability: "view",
351
+ type: "function"
352
352
  },
353
353
  {
354
- "inputs": [],
355
- "name": "getActiveHook",
356
- "outputs": [
354
+ inputs: [],
355
+ name: "getActiveHook",
356
+ outputs: [
357
357
  {
358
- "internalType": "address",
359
- "name": "hook",
360
- "type": "address"
358
+ internalType: "address",
359
+ name: "hook",
360
+ type: "address"
361
361
  }
362
362
  ],
363
- "stateMutability": "view",
364
- "type": "function"
363
+ stateMutability: "view",
364
+ type: "function"
365
365
  },
366
366
  {
367
- "inputs": [
367
+ inputs: [
368
368
  {
369
- "internalType": "address",
370
- "name": "cursor",
371
- "type": "address"
369
+ internalType: "address",
370
+ name: "cursor",
371
+ type: "address"
372
372
  },
373
373
  {
374
- "internalType": "uint256",
375
- "name": "size",
376
- "type": "uint256"
374
+ internalType: "uint256",
375
+ name: "size",
376
+ type: "uint256"
377
377
  }
378
378
  ],
379
- "name": "getExecutorsPaginated",
380
- "outputs": [
379
+ name: "getExecutorsPaginated",
380
+ outputs: [
381
381
  {
382
- "internalType": "address[]",
383
- "name": "array",
384
- "type": "address[]"
382
+ internalType: "address[]",
383
+ name: "array",
384
+ type: "address[]"
385
385
  },
386
386
  {
387
- "internalType": "address",
388
- "name": "next",
389
- "type": "address"
387
+ internalType: "address",
388
+ name: "next",
389
+ type: "address"
390
390
  }
391
391
  ],
392
- "stateMutability": "view",
393
- "type": "function"
392
+ stateMutability: "view",
393
+ type: "function"
394
394
  },
395
395
  {
396
- "inputs": [
396
+ inputs: [
397
397
  {
398
- "internalType": "bytes4",
399
- "name": "selector",
400
- "type": "bytes4"
398
+ internalType: "bytes4",
399
+ name: "selector",
400
+ type: "bytes4"
401
401
  }
402
402
  ],
403
- "name": "getFallbackHandlerBySelector",
404
- "outputs": [
403
+ name: "getFallbackHandlerBySelector",
404
+ outputs: [
405
405
  {
406
- "internalType": "CallType",
407
- "name": "",
408
- "type": "bytes1"
406
+ internalType: "CallType",
407
+ name: "",
408
+ type: "bytes1"
409
409
  },
410
410
  {
411
- "internalType": "address",
412
- "name": "",
413
- "type": "address"
411
+ internalType: "address",
412
+ name: "",
413
+ type: "address"
414
414
  }
415
415
  ],
416
- "stateMutability": "view",
417
- "type": "function"
416
+ stateMutability: "view",
417
+ type: "function"
418
418
  },
419
419
  {
420
- "inputs": [
420
+ inputs: [
421
421
  {
422
- "internalType": "address",
423
- "name": "cursor",
424
- "type": "address"
422
+ internalType: "address",
423
+ name: "cursor",
424
+ type: "address"
425
425
  },
426
426
  {
427
- "internalType": "uint256",
428
- "name": "size",
429
- "type": "uint256"
427
+ internalType: "uint256",
428
+ name: "size",
429
+ type: "uint256"
430
430
  }
431
431
  ],
432
- "name": "getValidatorsPaginated",
433
- "outputs": [
432
+ name: "getValidatorsPaginated",
433
+ outputs: [
434
434
  {
435
- "internalType": "address[]",
436
- "name": "array",
437
- "type": "address[]"
435
+ internalType: "address[]",
436
+ name: "array",
437
+ type: "address[]"
438
438
  },
439
439
  {
440
- "internalType": "address",
441
- "name": "next",
442
- "type": "address"
440
+ internalType: "address",
441
+ name: "next",
442
+ type: "address"
443
443
  }
444
444
  ],
445
- "stateMutability": "view",
446
- "type": "function"
445
+ stateMutability: "view",
446
+ type: "function"
447
447
  },
448
448
  {
449
- "inputs": [
449
+ inputs: [
450
450
  {
451
- "components": [
451
+ components: [
452
452
  {
453
- "internalType": "address",
454
- "name": "module",
455
- "type": "address"
453
+ internalType: "address",
454
+ name: "module",
455
+ type: "address"
456
456
  },
457
457
  {
458
- "internalType": "bytes",
459
- "name": "data",
460
- "type": "bytes"
458
+ internalType: "bytes",
459
+ name: "data",
460
+ type: "bytes"
461
461
  }
462
462
  ],
463
- "internalType": "struct BootstrapConfig[]",
464
- "name": "validators",
465
- "type": "tuple[]"
463
+ internalType: "struct BootstrapConfig[]",
464
+ name: "validators",
465
+ type: "tuple[]"
466
466
  },
467
467
  {
468
- "components": [
468
+ components: [
469
469
  {
470
- "internalType": "address",
471
- "name": "module",
472
- "type": "address"
470
+ internalType: "address",
471
+ name: "module",
472
+ type: "address"
473
473
  },
474
474
  {
475
- "internalType": "bytes",
476
- "name": "data",
477
- "type": "bytes"
475
+ internalType: "bytes",
476
+ name: "data",
477
+ type: "bytes"
478
478
  }
479
479
  ],
480
- "internalType": "struct BootstrapConfig[]",
481
- "name": "executors",
482
- "type": "tuple[]"
480
+ internalType: "struct BootstrapConfig[]",
481
+ name: "executors",
482
+ type: "tuple[]"
483
483
  },
484
484
  {
485
- "components": [
485
+ components: [
486
486
  {
487
- "internalType": "address",
488
- "name": "module",
489
- "type": "address"
487
+ internalType: "address",
488
+ name: "module",
489
+ type: "address"
490
490
  },
491
491
  {
492
- "internalType": "bytes",
493
- "name": "data",
494
- "type": "bytes"
492
+ internalType: "bytes",
493
+ name: "data",
494
+ type: "bytes"
495
495
  }
496
496
  ],
497
- "internalType": "struct BootstrapConfig",
498
- "name": "hook",
499
- "type": "tuple"
497
+ internalType: "struct BootstrapConfig",
498
+ name: "hook",
499
+ type: "tuple"
500
500
  },
501
501
  {
502
- "components": [
502
+ components: [
503
503
  {
504
- "internalType": "address",
505
- "name": "module",
506
- "type": "address"
504
+ internalType: "address",
505
+ name: "module",
506
+ type: "address"
507
507
  },
508
508
  {
509
- "internalType": "bytes",
510
- "name": "data",
511
- "type": "bytes"
509
+ internalType: "bytes",
510
+ name: "data",
511
+ type: "bytes"
512
512
  }
513
513
  ],
514
- "internalType": "struct BootstrapConfig[]",
515
- "name": "fallbacks",
516
- "type": "tuple[]"
514
+ internalType: "struct BootstrapConfig[]",
515
+ name: "fallbacks",
516
+ type: "tuple[]"
517
517
  },
518
518
  {
519
- "components": [
519
+ components: [
520
520
  {
521
- "internalType": "uint256",
522
- "name": "hookType",
523
- "type": "uint256"
521
+ internalType: "uint256",
522
+ name: "hookType",
523
+ type: "uint256"
524
524
  },
525
525
  {
526
- "internalType": "address",
527
- "name": "module",
528
- "type": "address"
526
+ internalType: "address",
527
+ name: "module",
528
+ type: "address"
529
529
  },
530
530
  {
531
- "internalType": "bytes",
532
- "name": "data",
533
- "type": "bytes"
531
+ internalType: "bytes",
532
+ name: "data",
533
+ type: "bytes"
534
534
  }
535
535
  ],
536
- "internalType": "struct BootstrapPreValidationHookConfig[]",
537
- "name": "preValidationHooks",
538
- "type": "tuple[]"
536
+ internalType: "struct BootstrapPreValidationHookConfig[]",
537
+ name: "preValidationHooks",
538
+ type: "tuple[]"
539
539
  }
540
540
  ],
541
- "name": "init",
542
- "outputs": [],
543
- "stateMutability": "payable",
544
- "type": "function"
541
+ name: "init",
542
+ outputs: [],
543
+ stateMutability: "payable",
544
+ type: "function"
545
545
  },
546
546
  {
547
- "inputs": [
547
+ inputs: [
548
548
  {
549
- "components": [
549
+ components: [
550
550
  {
551
- "internalType": "address",
552
- "name": "module",
553
- "type": "address"
551
+ internalType: "address",
552
+ name: "module",
553
+ type: "address"
554
554
  },
555
555
  {
556
- "internalType": "bytes",
557
- "name": "data",
558
- "type": "bytes"
556
+ internalType: "bytes",
557
+ name: "data",
558
+ type: "bytes"
559
559
  }
560
560
  ],
561
- "internalType": "struct BootstrapConfig[]",
562
- "name": "validators",
563
- "type": "tuple[]"
561
+ internalType: "struct BootstrapConfig[]",
562
+ name: "validators",
563
+ type: "tuple[]"
564
564
  },
565
565
  {
566
- "components": [
566
+ components: [
567
567
  {
568
- "internalType": "address",
569
- "name": "module",
570
- "type": "address"
568
+ internalType: "address",
569
+ name: "module",
570
+ type: "address"
571
571
  },
572
572
  {
573
- "internalType": "bytes",
574
- "name": "data",
575
- "type": "bytes"
573
+ internalType: "bytes",
574
+ name: "data",
575
+ type: "bytes"
576
576
  }
577
577
  ],
578
- "internalType": "struct BootstrapConfig",
579
- "name": "hook",
580
- "type": "tuple"
578
+ internalType: "struct BootstrapConfig",
579
+ name: "hook",
580
+ type: "tuple"
581
581
  }
582
582
  ],
583
- "name": "initScoped",
584
- "outputs": [],
585
- "stateMutability": "payable",
586
- "type": "function"
583
+ name: "initScoped",
584
+ outputs: [],
585
+ stateMutability: "payable",
586
+ type: "function"
587
587
  },
588
588
  {
589
- "inputs": [
589
+ inputs: [
590
590
  {
591
- "internalType": "bytes",
592
- "name": "data",
593
- "type": "bytes"
591
+ internalType: "bytes",
592
+ name: "data",
593
+ type: "bytes"
594
594
  }
595
595
  ],
596
- "name": "initWithDefaultValidator",
597
- "outputs": [],
598
- "stateMutability": "payable",
599
- "type": "function"
596
+ name: "initWithDefaultValidator",
597
+ outputs: [],
598
+ stateMutability: "payable",
599
+ type: "function"
600
600
  },
601
601
  {
602
- "inputs": [
602
+ inputs: [
603
603
  {
604
- "internalType": "bytes",
605
- "name": "defaultValidatorInitData",
606
- "type": "bytes"
604
+ internalType: "bytes",
605
+ name: "defaultValidatorInitData",
606
+ type: "bytes"
607
607
  },
608
608
  {
609
- "components": [
609
+ components: [
610
610
  {
611
- "internalType": "address",
612
- "name": "module",
613
- "type": "address"
611
+ internalType: "address",
612
+ name: "module",
613
+ type: "address"
614
614
  },
615
615
  {
616
- "internalType": "bytes",
617
- "name": "data",
618
- "type": "bytes"
616
+ internalType: "bytes",
617
+ name: "data",
618
+ type: "bytes"
619
619
  }
620
620
  ],
621
- "internalType": "struct BootstrapConfig[]",
622
- "name": "validators",
623
- "type": "tuple[]"
621
+ internalType: "struct BootstrapConfig[]",
622
+ name: "validators",
623
+ type: "tuple[]"
624
624
  },
625
625
  {
626
- "components": [
626
+ components: [
627
627
  {
628
- "internalType": "address",
629
- "name": "module",
630
- "type": "address"
628
+ internalType: "address",
629
+ name: "module",
630
+ type: "address"
631
631
  },
632
632
  {
633
- "internalType": "bytes",
634
- "name": "data",
635
- "type": "bytes"
633
+ internalType: "bytes",
634
+ name: "data",
635
+ type: "bytes"
636
636
  }
637
637
  ],
638
- "internalType": "struct BootstrapConfig[]",
639
- "name": "executors",
640
- "type": "tuple[]"
638
+ internalType: "struct BootstrapConfig[]",
639
+ name: "executors",
640
+ type: "tuple[]"
641
641
  },
642
642
  {
643
- "components": [
643
+ components: [
644
644
  {
645
- "internalType": "address",
646
- "name": "module",
647
- "type": "address"
645
+ internalType: "address",
646
+ name: "module",
647
+ type: "address"
648
648
  },
649
649
  {
650
- "internalType": "bytes",
651
- "name": "data",
652
- "type": "bytes"
650
+ internalType: "bytes",
651
+ name: "data",
652
+ type: "bytes"
653
653
  }
654
654
  ],
655
- "internalType": "struct BootstrapConfig",
656
- "name": "hook",
657
- "type": "tuple"
655
+ internalType: "struct BootstrapConfig",
656
+ name: "hook",
657
+ type: "tuple"
658
658
  },
659
659
  {
660
- "components": [
660
+ components: [
661
661
  {
662
- "internalType": "address",
663
- "name": "module",
664
- "type": "address"
662
+ internalType: "address",
663
+ name: "module",
664
+ type: "address"
665
665
  },
666
666
  {
667
- "internalType": "bytes",
668
- "name": "data",
669
- "type": "bytes"
667
+ internalType: "bytes",
668
+ name: "data",
669
+ type: "bytes"
670
670
  }
671
671
  ],
672
- "internalType": "struct BootstrapConfig[]",
673
- "name": "fallbacks",
674
- "type": "tuple[]"
672
+ internalType: "struct BootstrapConfig[]",
673
+ name: "fallbacks",
674
+ type: "tuple[]"
675
675
  },
676
676
  {
677
- "components": [
677
+ components: [
678
678
  {
679
- "internalType": "uint256",
680
- "name": "hookType",
681
- "type": "uint256"
679
+ internalType: "uint256",
680
+ name: "hookType",
681
+ type: "uint256"
682
682
  },
683
683
  {
684
- "internalType": "address",
685
- "name": "module",
686
- "type": "address"
684
+ internalType: "address",
685
+ name: "module",
686
+ type: "address"
687
687
  },
688
688
  {
689
- "internalType": "bytes",
690
- "name": "data",
691
- "type": "bytes"
689
+ internalType: "bytes",
690
+ name: "data",
691
+ type: "bytes"
692
692
  }
693
693
  ],
694
- "internalType": "struct BootstrapPreValidationHookConfig[]",
695
- "name": "preValidationHooks",
696
- "type": "tuple[]"
694
+ internalType: "struct BootstrapPreValidationHookConfig[]",
695
+ name: "preValidationHooks",
696
+ type: "tuple[]"
697
697
  }
698
698
  ],
699
- "name": "initWithDefaultValidatorAndOtherModules",
700
- "outputs": [],
701
- "stateMutability": "payable",
702
- "type": "function"
699
+ name: "initWithDefaultValidatorAndOtherModules",
700
+ outputs: [],
701
+ stateMutability: "payable",
702
+ type: "function"
703
703
  },
704
704
  {
705
- "inputs": [
705
+ inputs: [
706
706
  {
707
- "internalType": "address",
708
- "name": "validator",
709
- "type": "address"
707
+ internalType: "address",
708
+ name: "validator",
709
+ type: "address"
710
710
  },
711
711
  {
712
- "internalType": "bytes",
713
- "name": "data",
714
- "type": "bytes"
712
+ internalType: "bytes",
713
+ name: "data",
714
+ type: "bytes"
715
715
  }
716
716
  ],
717
- "name": "initWithSingleValidator",
718
- "outputs": [],
719
- "stateMutability": "payable",
720
- "type": "function"
717
+ name: "initWithSingleValidator",
718
+ outputs: [],
719
+ stateMutability: "payable",
720
+ type: "function"
721
721
  },
722
722
  {
723
- "stateMutability": "payable",
724
- "type": "receive"
723
+ stateMutability: "payable",
724
+ type: "receive"
725
725
  }
726
726
  ];
727
727
  //# sourceMappingURL=BootstrapAbi.js.map