@pimlico/alto 0.0.0-main.20241218T163308 → 0.0.0-main.20241220T183546
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/cli/config/bundler.d.ts +32 -20
- package/esm/cli/config/bundler.js +3 -1
- package/esm/cli/config/bundler.js.map +1 -1
- package/esm/cli/config/options.js +13 -2
- package/esm/cli/config/options.js.map +1 -1
- package/esm/cli/deploySimulationsContract.js +45 -19
- package/esm/cli/deploySimulationsContract.js.map +1 -1
- package/esm/cli/handler.js +2 -1
- package/esm/cli/handler.js.map +1 -1
- package/esm/cli/parseArgs.js +1 -1
- package/esm/cli/parseArgs.js.map +1 -1
- package/esm/executor/executor.js +45 -20
- package/esm/executor/executor.js.map +1 -1
- package/esm/executor/executorManager.d.ts +1 -1
- package/esm/executor/types.d.ts +25 -0
- package/esm/executor/types.js +2 -0
- package/esm/executor/types.js.map +1 -0
- package/esm/executor/utils.d.ts +4 -2
- package/esm/executor/utils.js +20 -6
- package/esm/executor/utils.js.map +1 -1
- package/esm/mempool/mempool.js +7 -1
- package/esm/mempool/mempool.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationHandler.d.ts +3 -1
- package/esm/rpc/estimation/gasEstimationHandler.js +3 -1
- package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV06.d.ts +3 -1
- package/esm/rpc/estimation/gasEstimationsV06.js +9 -1
- package/esm/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +21 -11
- package/esm/rpc/estimation/gasEstimationsV07.js +216 -48
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/esm/rpc/estimation/types.d.ts +9 -2
- package/esm/rpc/estimation/types.js.map +1 -1
- package/esm/rpc/rpcHandler.d.ts +53 -1
- package/esm/rpc/rpcHandler.js +221 -146
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/rpc/validation/SafeValidator.d.ts +18 -3
- package/esm/rpc/validation/SafeValidator.js +15 -6
- package/esm/rpc/validation/SafeValidator.js.map +1 -1
- package/esm/rpc/validation/UnsafeValidator.d.ts +41 -6
- package/esm/rpc/validation/UnsafeValidator.js +27 -10
- package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
- package/esm/types/contracts/EntryPointSimulationsV7.d.ts +983 -15
- package/esm/types/contracts/EntryPointSimulationsV7.js +1178 -425
- package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js +2 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/esm/types/interfaces.d.ts +41 -6
- package/esm/types/mempool.d.ts +3 -2
- package/esm/types/mempool.js +10 -3
- package/esm/types/mempool.js.map +1 -1
- package/esm/types/schemas.d.ts +896 -40
- package/esm/types/schemas.js +61 -2
- package/esm/types/schemas.js.map +1 -1
- package/esm/types/validation.d.ts +210 -210
- package/esm/types/validation.js +1 -1
- package/esm/types/validation.js.map +1 -1
- package/esm/utils/helpers.d.ts +14 -1
- package/esm/utils/helpers.js +14 -0
- package/esm/utils/helpers.js.map +1 -1
- package/esm/utils/metrics.d.ts +3 -3
- package/esm/utils/userop.d.ts +1 -1
- package/esm/utils/validation.d.ts +5 -2
- package/esm/utils/validation.js +9 -4
- package/esm/utils/validation.js.map +1 -1
- package/lib/cli/config/bundler.d.ts +32 -20
- package/lib/cli/config/bundler.js +3 -1
- package/lib/cli/config/bundler.js.map +1 -1
- package/lib/cli/config/options.js +13 -2
- package/lib/cli/config/options.js.map +1 -1
- package/lib/cli/deploySimulationsContract.js +43 -17
- package/lib/cli/deploySimulationsContract.js.map +1 -1
- package/lib/cli/handler.js +2 -1
- package/lib/cli/handler.js.map +1 -1
- package/lib/cli/parseArgs.js +1 -1
- package/lib/cli/parseArgs.js.map +1 -1
- package/lib/executor/executor.js +44 -19
- package/lib/executor/executor.js.map +1 -1
- package/lib/executor/executorManager.d.ts +1 -1
- package/lib/executor/types.d.ts +25 -0
- package/lib/executor/types.js +3 -0
- package/lib/executor/types.js.map +1 -0
- package/lib/executor/utils.d.ts +4 -2
- package/lib/executor/utils.js +21 -6
- package/lib/executor/utils.js.map +1 -1
- package/lib/mempool/mempool.js +7 -1
- package/lib/mempool/mempool.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationHandler.d.ts +3 -1
- package/lib/rpc/estimation/gasEstimationHandler.js +3 -1
- package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV06.d.ts +3 -1
- package/lib/rpc/estimation/gasEstimationsV06.js +9 -1
- package/lib/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +21 -11
- package/lib/rpc/estimation/gasEstimationsV07.js +213 -45
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/lib/rpc/estimation/types.d.ts +9 -2
- package/lib/rpc/estimation/types.js.map +1 -1
- package/lib/rpc/rpcHandler.d.ts +53 -1
- package/lib/rpc/rpcHandler.js +220 -145
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/rpc/validation/SafeValidator.d.ts +18 -3
- package/lib/rpc/validation/SafeValidator.js +15 -6
- package/lib/rpc/validation/SafeValidator.js.map +1 -1
- package/lib/rpc/validation/UnsafeValidator.d.ts +41 -6
- package/lib/rpc/validation/UnsafeValidator.js +27 -10
- package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
- package/lib/types/contracts/EntryPointSimulationsV7.d.ts +983 -15
- package/lib/types/contracts/EntryPointSimulationsV7.js +1179 -426
- package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.js +3 -2
- package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/lib/types/interfaces.d.ts +41 -6
- package/lib/types/mempool.d.ts +3 -2
- package/lib/types/mempool.js +12 -4
- package/lib/types/mempool.js.map +1 -1
- package/lib/types/schemas.d.ts +896 -40
- package/lib/types/schemas.js +61 -2
- package/lib/types/schemas.js.map +1 -1
- package/lib/types/validation.d.ts +210 -210
- package/lib/types/validation.js +2 -2
- package/lib/types/validation.js.map +1 -1
- package/lib/utils/helpers.d.ts +14 -1
- package/lib/utils/helpers.js +16 -1
- package/lib/utils/helpers.js.map +1 -1
- package/lib/utils/metrics.d.ts +3 -3
- package/lib/utils/userop.d.ts +1 -1
- package/lib/utils/validation.d.ts +5 -2
- package/lib/utils/validation.js +9 -4
- package/lib/utils/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Hex } from "viem";
|
|
1
2
|
export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
2
3
|
readonly type: "constructor";
|
|
3
4
|
readonly inputs: readonly [];
|
|
@@ -5,30 +6,862 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
5
6
|
}, {
|
|
6
7
|
readonly type: "receive";
|
|
7
8
|
readonly stateMutability: "payable";
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
readonly name: "_accountValidation";
|
|
12
|
+
readonly inputs: readonly [{
|
|
13
|
+
readonly name: "opIndex";
|
|
14
|
+
readonly type: "uint256";
|
|
15
|
+
readonly internalType: "uint256";
|
|
16
|
+
}, {
|
|
17
|
+
readonly name: "userOp";
|
|
18
|
+
readonly type: "tuple";
|
|
19
|
+
readonly internalType: "struct PackedUserOperation";
|
|
20
|
+
readonly components: readonly [{
|
|
21
|
+
readonly name: "sender";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "nonce";
|
|
26
|
+
readonly type: "uint256";
|
|
27
|
+
readonly internalType: "uint256";
|
|
28
|
+
}, {
|
|
29
|
+
readonly name: "initCode";
|
|
30
|
+
readonly type: "bytes";
|
|
31
|
+
readonly internalType: "bytes";
|
|
32
|
+
}, {
|
|
33
|
+
readonly name: "callData";
|
|
34
|
+
readonly type: "bytes";
|
|
35
|
+
readonly internalType: "bytes";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "accountGasLimits";
|
|
38
|
+
readonly type: "bytes32";
|
|
39
|
+
readonly internalType: "bytes32";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "preVerificationGas";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
readonly internalType: "uint256";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "gasFees";
|
|
46
|
+
readonly type: "bytes32";
|
|
47
|
+
readonly internalType: "bytes32";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "paymasterAndData";
|
|
50
|
+
readonly type: "bytes";
|
|
51
|
+
readonly internalType: "bytes";
|
|
52
|
+
}, {
|
|
53
|
+
readonly name: "signature";
|
|
54
|
+
readonly type: "bytes";
|
|
55
|
+
readonly internalType: "bytes";
|
|
56
|
+
}];
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "outOpInfo";
|
|
59
|
+
readonly type: "tuple";
|
|
60
|
+
readonly internalType: "struct EntryPoint.UserOpInfo";
|
|
61
|
+
readonly components: readonly [{
|
|
62
|
+
readonly name: "mUserOp";
|
|
63
|
+
readonly type: "tuple";
|
|
64
|
+
readonly internalType: "struct EntryPoint.MemoryUserOp";
|
|
65
|
+
readonly components: readonly [{
|
|
66
|
+
readonly name: "sender";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "nonce";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "verificationGasLimit";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "callGasLimit";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
readonly internalType: "uint256";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
83
|
+
readonly type: "uint256";
|
|
84
|
+
readonly internalType: "uint256";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "paymasterPostOpGasLimit";
|
|
87
|
+
readonly type: "uint256";
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
}, {
|
|
90
|
+
readonly name: "preVerificationGas";
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
readonly internalType: "uint256";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "paymaster";
|
|
95
|
+
readonly type: "address";
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: "maxFeePerGas";
|
|
99
|
+
readonly type: "uint256";
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "maxPriorityFeePerGas";
|
|
103
|
+
readonly type: "uint256";
|
|
104
|
+
readonly internalType: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "userOpHash";
|
|
108
|
+
readonly type: "bytes32";
|
|
109
|
+
readonly internalType: "bytes32";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "prefund";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
readonly internalType: "uint256";
|
|
114
|
+
}, {
|
|
115
|
+
readonly name: "contextOffset";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "preOpGas";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
readonly internalType: "uint256";
|
|
122
|
+
}];
|
|
123
|
+
}];
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly name: "validationData";
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
readonly internalType: "uint256";
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "paymasterValidationData";
|
|
130
|
+
readonly type: "uint256";
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
134
|
+
readonly type: "uint256";
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
}];
|
|
137
|
+
readonly stateMutability: "nonpayable";
|
|
138
|
+
}, {
|
|
139
|
+
readonly type: "function";
|
|
140
|
+
readonly name: "_paymasterValidation";
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly name: "opIndex";
|
|
143
|
+
readonly type: "uint256";
|
|
144
|
+
readonly internalType: "uint256";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "userOp";
|
|
147
|
+
readonly type: "tuple";
|
|
148
|
+
readonly internalType: "struct PackedUserOperation";
|
|
149
|
+
readonly components: readonly [{
|
|
150
|
+
readonly name: "sender";
|
|
151
|
+
readonly type: "address";
|
|
152
|
+
readonly internalType: "address";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "nonce";
|
|
155
|
+
readonly type: "uint256";
|
|
156
|
+
readonly internalType: "uint256";
|
|
157
|
+
}, {
|
|
158
|
+
readonly name: "initCode";
|
|
159
|
+
readonly type: "bytes";
|
|
160
|
+
readonly internalType: "bytes";
|
|
161
|
+
}, {
|
|
162
|
+
readonly name: "callData";
|
|
163
|
+
readonly type: "bytes";
|
|
164
|
+
readonly internalType: "bytes";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "accountGasLimits";
|
|
167
|
+
readonly type: "bytes32";
|
|
168
|
+
readonly internalType: "bytes32";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "preVerificationGas";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "gasFees";
|
|
175
|
+
readonly type: "bytes32";
|
|
176
|
+
readonly internalType: "bytes32";
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "paymasterAndData";
|
|
179
|
+
readonly type: "bytes";
|
|
180
|
+
readonly internalType: "bytes";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "signature";
|
|
183
|
+
readonly type: "bytes";
|
|
184
|
+
readonly internalType: "bytes";
|
|
185
|
+
}];
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "outOpInfo";
|
|
188
|
+
readonly type: "tuple";
|
|
189
|
+
readonly internalType: "struct EntryPoint.UserOpInfo";
|
|
190
|
+
readonly components: readonly [{
|
|
191
|
+
readonly name: "mUserOp";
|
|
192
|
+
readonly type: "tuple";
|
|
193
|
+
readonly internalType: "struct EntryPoint.MemoryUserOp";
|
|
194
|
+
readonly components: readonly [{
|
|
195
|
+
readonly name: "sender";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly name: "nonce";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "verificationGasLimit";
|
|
204
|
+
readonly type: "uint256";
|
|
205
|
+
readonly internalType: "uint256";
|
|
206
|
+
}, {
|
|
207
|
+
readonly name: "callGasLimit";
|
|
208
|
+
readonly type: "uint256";
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
212
|
+
readonly type: "uint256";
|
|
213
|
+
readonly internalType: "uint256";
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "paymasterPostOpGasLimit";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}, {
|
|
219
|
+
readonly name: "preVerificationGas";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "paymaster";
|
|
224
|
+
readonly type: "address";
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
}, {
|
|
227
|
+
readonly name: "maxFeePerGas";
|
|
228
|
+
readonly type: "uint256";
|
|
229
|
+
readonly internalType: "uint256";
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "maxPriorityFeePerGas";
|
|
232
|
+
readonly type: "uint256";
|
|
233
|
+
readonly internalType: "uint256";
|
|
234
|
+
}];
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "userOpHash";
|
|
237
|
+
readonly type: "bytes32";
|
|
238
|
+
readonly internalType: "bytes32";
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "prefund";
|
|
241
|
+
readonly type: "uint256";
|
|
242
|
+
readonly internalType: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "contextOffset";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
readonly internalType: "uint256";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "preOpGas";
|
|
249
|
+
readonly type: "uint256";
|
|
250
|
+
readonly internalType: "uint256";
|
|
251
|
+
}];
|
|
252
|
+
}];
|
|
253
|
+
readonly outputs: readonly [{
|
|
254
|
+
readonly name: "validationData";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
readonly internalType: "uint256";
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: "paymasterValidationData";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
263
|
+
readonly type: "uint256";
|
|
264
|
+
readonly internalType: "uint256";
|
|
265
|
+
}];
|
|
266
|
+
readonly stateMutability: "nonpayable";
|
|
267
|
+
}, {
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
readonly name: "_validatePrepayment";
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly name: "opIndex";
|
|
272
|
+
readonly type: "uint256";
|
|
273
|
+
readonly internalType: "uint256";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "userOp";
|
|
276
|
+
readonly type: "tuple";
|
|
277
|
+
readonly internalType: "struct PackedUserOperation";
|
|
278
|
+
readonly components: readonly [{
|
|
279
|
+
readonly name: "sender";
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "nonce";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "initCode";
|
|
288
|
+
readonly type: "bytes";
|
|
289
|
+
readonly internalType: "bytes";
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "callData";
|
|
292
|
+
readonly type: "bytes";
|
|
293
|
+
readonly internalType: "bytes";
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "accountGasLimits";
|
|
296
|
+
readonly type: "bytes32";
|
|
297
|
+
readonly internalType: "bytes32";
|
|
298
|
+
}, {
|
|
299
|
+
readonly name: "preVerificationGas";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
readonly internalType: "uint256";
|
|
302
|
+
}, {
|
|
303
|
+
readonly name: "gasFees";
|
|
304
|
+
readonly type: "bytes32";
|
|
305
|
+
readonly internalType: "bytes32";
|
|
306
|
+
}, {
|
|
307
|
+
readonly name: "paymasterAndData";
|
|
308
|
+
readonly type: "bytes";
|
|
309
|
+
readonly internalType: "bytes";
|
|
310
|
+
}, {
|
|
311
|
+
readonly name: "signature";
|
|
312
|
+
readonly type: "bytes";
|
|
313
|
+
readonly internalType: "bytes";
|
|
314
|
+
}];
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "outOpInfo";
|
|
317
|
+
readonly type: "tuple";
|
|
318
|
+
readonly internalType: "struct EntryPoint.UserOpInfo";
|
|
319
|
+
readonly components: readonly [{
|
|
320
|
+
readonly name: "mUserOp";
|
|
321
|
+
readonly type: "tuple";
|
|
322
|
+
readonly internalType: "struct EntryPoint.MemoryUserOp";
|
|
323
|
+
readonly components: readonly [{
|
|
324
|
+
readonly name: "sender";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "nonce";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "verificationGasLimit";
|
|
333
|
+
readonly type: "uint256";
|
|
334
|
+
readonly internalType: "uint256";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "callGasLimit";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
341
|
+
readonly type: "uint256";
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
}, {
|
|
344
|
+
readonly name: "paymasterPostOpGasLimit";
|
|
345
|
+
readonly type: "uint256";
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "preVerificationGas";
|
|
349
|
+
readonly type: "uint256";
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "paymaster";
|
|
353
|
+
readonly type: "address";
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "maxFeePerGas";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "maxPriorityFeePerGas";
|
|
361
|
+
readonly type: "uint256";
|
|
362
|
+
readonly internalType: "uint256";
|
|
363
|
+
}];
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "userOpHash";
|
|
366
|
+
readonly type: "bytes32";
|
|
367
|
+
readonly internalType: "bytes32";
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "prefund";
|
|
370
|
+
readonly type: "uint256";
|
|
371
|
+
readonly internalType: "uint256";
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "contextOffset";
|
|
374
|
+
readonly type: "uint256";
|
|
375
|
+
readonly internalType: "uint256";
|
|
376
|
+
}, {
|
|
377
|
+
readonly name: "preOpGas";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
readonly internalType: "uint256";
|
|
380
|
+
}];
|
|
381
|
+
}];
|
|
382
|
+
readonly outputs: readonly [{
|
|
383
|
+
readonly name: "validationData";
|
|
384
|
+
readonly type: "uint256";
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "paymasterValidationData";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
readonly internalType: "uint256";
|
|
390
|
+
}, {
|
|
391
|
+
readonly name: "paymasterVerificationGasLimit";
|
|
392
|
+
readonly type: "uint256";
|
|
393
|
+
readonly internalType: "uint256";
|
|
394
|
+
}];
|
|
395
|
+
readonly stateMutability: "nonpayable";
|
|
8
396
|
}, {
|
|
9
397
|
readonly type: "function";
|
|
10
398
|
readonly name: "addStake";
|
|
11
399
|
readonly inputs: readonly [{
|
|
12
|
-
readonly name: "unstakeDelaySec";
|
|
13
|
-
readonly type: "uint32";
|
|
14
|
-
readonly internalType: "uint32";
|
|
400
|
+
readonly name: "unstakeDelaySec";
|
|
401
|
+
readonly type: "uint32";
|
|
402
|
+
readonly internalType: "uint32";
|
|
403
|
+
}];
|
|
404
|
+
readonly outputs: readonly [];
|
|
405
|
+
readonly stateMutability: "payable";
|
|
406
|
+
}, {
|
|
407
|
+
readonly type: "function";
|
|
408
|
+
readonly name: "balanceOf";
|
|
409
|
+
readonly inputs: readonly [{
|
|
410
|
+
readonly name: "account";
|
|
411
|
+
readonly type: "address";
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
}];
|
|
414
|
+
readonly outputs: readonly [{
|
|
415
|
+
readonly name: "";
|
|
416
|
+
readonly type: "uint256";
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
}];
|
|
419
|
+
readonly stateMutability: "view";
|
|
420
|
+
}, {
|
|
421
|
+
readonly type: "function";
|
|
422
|
+
readonly name: "binarySearchGasLimit";
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly name: "queuedUserOps";
|
|
425
|
+
readonly type: "tuple[]";
|
|
426
|
+
readonly internalType: "struct SimulationArgs[]";
|
|
427
|
+
readonly components: readonly [{
|
|
428
|
+
readonly name: "op";
|
|
429
|
+
readonly type: "tuple";
|
|
430
|
+
readonly internalType: "struct PackedUserOperation";
|
|
431
|
+
readonly components: readonly [{
|
|
432
|
+
readonly name: "sender";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
readonly internalType: "address";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "nonce";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
readonly internalType: "uint256";
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "initCode";
|
|
441
|
+
readonly type: "bytes";
|
|
442
|
+
readonly internalType: "bytes";
|
|
443
|
+
}, {
|
|
444
|
+
readonly name: "callData";
|
|
445
|
+
readonly type: "bytes";
|
|
446
|
+
readonly internalType: "bytes";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "accountGasLimits";
|
|
449
|
+
readonly type: "bytes32";
|
|
450
|
+
readonly internalType: "bytes32";
|
|
451
|
+
}, {
|
|
452
|
+
readonly name: "preVerificationGas";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
readonly internalType: "uint256";
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "gasFees";
|
|
457
|
+
readonly type: "bytes32";
|
|
458
|
+
readonly internalType: "bytes32";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "paymasterAndData";
|
|
461
|
+
readonly type: "bytes";
|
|
462
|
+
readonly internalType: "bytes";
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "signature";
|
|
465
|
+
readonly type: "bytes";
|
|
466
|
+
readonly internalType: "bytes";
|
|
467
|
+
}];
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "target";
|
|
470
|
+
readonly type: "address";
|
|
471
|
+
readonly internalType: "address";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "targetCallData";
|
|
474
|
+
readonly type: "bytes";
|
|
475
|
+
readonly internalType: "bytes";
|
|
476
|
+
}];
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "targetUserOp";
|
|
479
|
+
readonly type: "tuple";
|
|
480
|
+
readonly internalType: "struct SimulationArgs";
|
|
481
|
+
readonly components: readonly [{
|
|
482
|
+
readonly name: "op";
|
|
483
|
+
readonly type: "tuple";
|
|
484
|
+
readonly internalType: "struct PackedUserOperation";
|
|
485
|
+
readonly components: readonly [{
|
|
486
|
+
readonly name: "sender";
|
|
487
|
+
readonly type: "address";
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "nonce";
|
|
491
|
+
readonly type: "uint256";
|
|
492
|
+
readonly internalType: "uint256";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "initCode";
|
|
495
|
+
readonly type: "bytes";
|
|
496
|
+
readonly internalType: "bytes";
|
|
497
|
+
}, {
|
|
498
|
+
readonly name: "callData";
|
|
499
|
+
readonly type: "bytes";
|
|
500
|
+
readonly internalType: "bytes";
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "accountGasLimits";
|
|
503
|
+
readonly type: "bytes32";
|
|
504
|
+
readonly internalType: "bytes32";
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "preVerificationGas";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
readonly internalType: "uint256";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "gasFees";
|
|
511
|
+
readonly type: "bytes32";
|
|
512
|
+
readonly internalType: "bytes32";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "paymasterAndData";
|
|
515
|
+
readonly type: "bytes";
|
|
516
|
+
readonly internalType: "bytes";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "signature";
|
|
519
|
+
readonly type: "bytes";
|
|
520
|
+
readonly internalType: "bytes";
|
|
521
|
+
}];
|
|
522
|
+
}, {
|
|
523
|
+
readonly name: "target";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
readonly internalType: "address";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "targetCallData";
|
|
528
|
+
readonly type: "bytes";
|
|
529
|
+
readonly internalType: "bytes";
|
|
530
|
+
}];
|
|
531
|
+
}, {
|
|
532
|
+
readonly name: "entryPoint";
|
|
533
|
+
readonly type: "address";
|
|
534
|
+
readonly internalType: "address";
|
|
535
|
+
}, {
|
|
536
|
+
readonly name: "initialMinGas";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
}, {
|
|
540
|
+
readonly name: "toleranceDelta";
|
|
541
|
+
readonly type: "uint256";
|
|
542
|
+
readonly internalType: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly name: "gasAllowance";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
readonly internalType: "uint256";
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "payload";
|
|
549
|
+
readonly type: "bytes";
|
|
550
|
+
readonly internalType: "bytes";
|
|
551
|
+
}];
|
|
552
|
+
readonly outputs: readonly [{
|
|
553
|
+
readonly name: "";
|
|
554
|
+
readonly type: "tuple";
|
|
555
|
+
readonly internalType: "struct IEntryPointSimulations.TargetCallResult";
|
|
556
|
+
readonly components: readonly [{
|
|
557
|
+
readonly name: "gasUsed";
|
|
558
|
+
readonly type: "uint256";
|
|
559
|
+
readonly internalType: "uint256";
|
|
560
|
+
}, {
|
|
561
|
+
readonly name: "success";
|
|
562
|
+
readonly type: "bool";
|
|
563
|
+
readonly internalType: "bool";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "returnData";
|
|
566
|
+
readonly type: "bytes";
|
|
567
|
+
readonly internalType: "bytes";
|
|
568
|
+
}];
|
|
569
|
+
}];
|
|
570
|
+
readonly stateMutability: "nonpayable";
|
|
571
|
+
}, {
|
|
572
|
+
readonly type: "function";
|
|
573
|
+
readonly name: "binarySearchPaymasterVerificationGasLimit";
|
|
574
|
+
readonly inputs: readonly [{
|
|
575
|
+
readonly name: "queuedUserOps";
|
|
576
|
+
readonly type: "tuple[]";
|
|
577
|
+
readonly internalType: "struct SimulationArgs[]";
|
|
578
|
+
readonly components: readonly [{
|
|
579
|
+
readonly name: "op";
|
|
580
|
+
readonly type: "tuple";
|
|
581
|
+
readonly internalType: "struct PackedUserOperation";
|
|
582
|
+
readonly components: readonly [{
|
|
583
|
+
readonly name: "sender";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
}, {
|
|
587
|
+
readonly name: "nonce";
|
|
588
|
+
readonly type: "uint256";
|
|
589
|
+
readonly internalType: "uint256";
|
|
590
|
+
}, {
|
|
591
|
+
readonly name: "initCode";
|
|
592
|
+
readonly type: "bytes";
|
|
593
|
+
readonly internalType: "bytes";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "callData";
|
|
596
|
+
readonly type: "bytes";
|
|
597
|
+
readonly internalType: "bytes";
|
|
598
|
+
}, {
|
|
599
|
+
readonly name: "accountGasLimits";
|
|
600
|
+
readonly type: "bytes32";
|
|
601
|
+
readonly internalType: "bytes32";
|
|
602
|
+
}, {
|
|
603
|
+
readonly name: "preVerificationGas";
|
|
604
|
+
readonly type: "uint256";
|
|
605
|
+
readonly internalType: "uint256";
|
|
606
|
+
}, {
|
|
607
|
+
readonly name: "gasFees";
|
|
608
|
+
readonly type: "bytes32";
|
|
609
|
+
readonly internalType: "bytes32";
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "paymasterAndData";
|
|
612
|
+
readonly type: "bytes";
|
|
613
|
+
readonly internalType: "bytes";
|
|
614
|
+
}, {
|
|
615
|
+
readonly name: "signature";
|
|
616
|
+
readonly type: "bytes";
|
|
617
|
+
readonly internalType: "bytes";
|
|
618
|
+
}];
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "target";
|
|
621
|
+
readonly type: "address";
|
|
622
|
+
readonly internalType: "address";
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "targetCallData";
|
|
625
|
+
readonly type: "bytes";
|
|
626
|
+
readonly internalType: "bytes";
|
|
627
|
+
}];
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "targetUserOp";
|
|
630
|
+
readonly type: "tuple";
|
|
631
|
+
readonly internalType: "struct SimulationArgs";
|
|
632
|
+
readonly components: readonly [{
|
|
633
|
+
readonly name: "op";
|
|
634
|
+
readonly type: "tuple";
|
|
635
|
+
readonly internalType: "struct PackedUserOperation";
|
|
636
|
+
readonly components: readonly [{
|
|
637
|
+
readonly name: "sender";
|
|
638
|
+
readonly type: "address";
|
|
639
|
+
readonly internalType: "address";
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "nonce";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
}, {
|
|
645
|
+
readonly name: "initCode";
|
|
646
|
+
readonly type: "bytes";
|
|
647
|
+
readonly internalType: "bytes";
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "callData";
|
|
650
|
+
readonly type: "bytes";
|
|
651
|
+
readonly internalType: "bytes";
|
|
652
|
+
}, {
|
|
653
|
+
readonly name: "accountGasLimits";
|
|
654
|
+
readonly type: "bytes32";
|
|
655
|
+
readonly internalType: "bytes32";
|
|
656
|
+
}, {
|
|
657
|
+
readonly name: "preVerificationGas";
|
|
658
|
+
readonly type: "uint256";
|
|
659
|
+
readonly internalType: "uint256";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "gasFees";
|
|
662
|
+
readonly type: "bytes32";
|
|
663
|
+
readonly internalType: "bytes32";
|
|
664
|
+
}, {
|
|
665
|
+
readonly name: "paymasterAndData";
|
|
666
|
+
readonly type: "bytes";
|
|
667
|
+
readonly internalType: "bytes";
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "signature";
|
|
670
|
+
readonly type: "bytes";
|
|
671
|
+
readonly internalType: "bytes";
|
|
672
|
+
}];
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "target";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
readonly internalType: "address";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "targetCallData";
|
|
679
|
+
readonly type: "bytes";
|
|
680
|
+
readonly internalType: "bytes";
|
|
681
|
+
}];
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "entryPoint";
|
|
684
|
+
readonly type: "address";
|
|
685
|
+
readonly internalType: "address";
|
|
686
|
+
}, {
|
|
687
|
+
readonly name: "initialMinGas";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "toleranceDelta";
|
|
692
|
+
readonly type: "uint256";
|
|
693
|
+
readonly internalType: "uint256";
|
|
694
|
+
}, {
|
|
695
|
+
readonly name: "gasAllowance";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
readonly internalType: "uint256";
|
|
15
698
|
}];
|
|
16
|
-
readonly outputs: readonly [
|
|
17
|
-
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly name: "";
|
|
701
|
+
readonly type: "tuple";
|
|
702
|
+
readonly internalType: "struct IEntryPointSimulations.TargetCallResult";
|
|
703
|
+
readonly components: readonly [{
|
|
704
|
+
readonly name: "gasUsed";
|
|
705
|
+
readonly type: "uint256";
|
|
706
|
+
readonly internalType: "uint256";
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "success";
|
|
709
|
+
readonly type: "bool";
|
|
710
|
+
readonly internalType: "bool";
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "returnData";
|
|
713
|
+
readonly type: "bytes";
|
|
714
|
+
readonly internalType: "bytes";
|
|
715
|
+
}];
|
|
716
|
+
}];
|
|
717
|
+
readonly stateMutability: "nonpayable";
|
|
18
718
|
}, {
|
|
19
719
|
readonly type: "function";
|
|
20
|
-
readonly name: "
|
|
720
|
+
readonly name: "binarySearchVerificationGasLimit";
|
|
21
721
|
readonly inputs: readonly [{
|
|
22
|
-
readonly name: "
|
|
722
|
+
readonly name: "queuedUserOps";
|
|
723
|
+
readonly type: "tuple[]";
|
|
724
|
+
readonly internalType: "struct SimulationArgs[]";
|
|
725
|
+
readonly components: readonly [{
|
|
726
|
+
readonly name: "op";
|
|
727
|
+
readonly type: "tuple";
|
|
728
|
+
readonly internalType: "struct PackedUserOperation";
|
|
729
|
+
readonly components: readonly [{
|
|
730
|
+
readonly name: "sender";
|
|
731
|
+
readonly type: "address";
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
}, {
|
|
734
|
+
readonly name: "nonce";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
readonly internalType: "uint256";
|
|
737
|
+
}, {
|
|
738
|
+
readonly name: "initCode";
|
|
739
|
+
readonly type: "bytes";
|
|
740
|
+
readonly internalType: "bytes";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "callData";
|
|
743
|
+
readonly type: "bytes";
|
|
744
|
+
readonly internalType: "bytes";
|
|
745
|
+
}, {
|
|
746
|
+
readonly name: "accountGasLimits";
|
|
747
|
+
readonly type: "bytes32";
|
|
748
|
+
readonly internalType: "bytes32";
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "preVerificationGas";
|
|
751
|
+
readonly type: "uint256";
|
|
752
|
+
readonly internalType: "uint256";
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "gasFees";
|
|
755
|
+
readonly type: "bytes32";
|
|
756
|
+
readonly internalType: "bytes32";
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "paymasterAndData";
|
|
759
|
+
readonly type: "bytes";
|
|
760
|
+
readonly internalType: "bytes";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "signature";
|
|
763
|
+
readonly type: "bytes";
|
|
764
|
+
readonly internalType: "bytes";
|
|
765
|
+
}];
|
|
766
|
+
}, {
|
|
767
|
+
readonly name: "target";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
readonly internalType: "address";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "targetCallData";
|
|
772
|
+
readonly type: "bytes";
|
|
773
|
+
readonly internalType: "bytes";
|
|
774
|
+
}];
|
|
775
|
+
}, {
|
|
776
|
+
readonly name: "targetUserOp";
|
|
777
|
+
readonly type: "tuple";
|
|
778
|
+
readonly internalType: "struct SimulationArgs";
|
|
779
|
+
readonly components: readonly [{
|
|
780
|
+
readonly name: "op";
|
|
781
|
+
readonly type: "tuple";
|
|
782
|
+
readonly internalType: "struct PackedUserOperation";
|
|
783
|
+
readonly components: readonly [{
|
|
784
|
+
readonly name: "sender";
|
|
785
|
+
readonly type: "address";
|
|
786
|
+
readonly internalType: "address";
|
|
787
|
+
}, {
|
|
788
|
+
readonly name: "nonce";
|
|
789
|
+
readonly type: "uint256";
|
|
790
|
+
readonly internalType: "uint256";
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "initCode";
|
|
793
|
+
readonly type: "bytes";
|
|
794
|
+
readonly internalType: "bytes";
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "callData";
|
|
797
|
+
readonly type: "bytes";
|
|
798
|
+
readonly internalType: "bytes";
|
|
799
|
+
}, {
|
|
800
|
+
readonly name: "accountGasLimits";
|
|
801
|
+
readonly type: "bytes32";
|
|
802
|
+
readonly internalType: "bytes32";
|
|
803
|
+
}, {
|
|
804
|
+
readonly name: "preVerificationGas";
|
|
805
|
+
readonly type: "uint256";
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "gasFees";
|
|
809
|
+
readonly type: "bytes32";
|
|
810
|
+
readonly internalType: "bytes32";
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "paymasterAndData";
|
|
813
|
+
readonly type: "bytes";
|
|
814
|
+
readonly internalType: "bytes";
|
|
815
|
+
}, {
|
|
816
|
+
readonly name: "signature";
|
|
817
|
+
readonly type: "bytes";
|
|
818
|
+
readonly internalType: "bytes";
|
|
819
|
+
}];
|
|
820
|
+
}, {
|
|
821
|
+
readonly name: "target";
|
|
822
|
+
readonly type: "address";
|
|
823
|
+
readonly internalType: "address";
|
|
824
|
+
}, {
|
|
825
|
+
readonly name: "targetCallData";
|
|
826
|
+
readonly type: "bytes";
|
|
827
|
+
readonly internalType: "bytes";
|
|
828
|
+
}];
|
|
829
|
+
}, {
|
|
830
|
+
readonly name: "entryPoint";
|
|
23
831
|
readonly type: "address";
|
|
24
832
|
readonly internalType: "address";
|
|
833
|
+
}, {
|
|
834
|
+
readonly name: "initialMinGas";
|
|
835
|
+
readonly type: "uint256";
|
|
836
|
+
readonly internalType: "uint256";
|
|
837
|
+
}, {
|
|
838
|
+
readonly name: "toleranceDelta";
|
|
839
|
+
readonly type: "uint256";
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
}, {
|
|
842
|
+
readonly name: "gasAllowance";
|
|
843
|
+
readonly type: "uint256";
|
|
844
|
+
readonly internalType: "uint256";
|
|
25
845
|
}];
|
|
26
846
|
readonly outputs: readonly [{
|
|
27
847
|
readonly name: "";
|
|
28
|
-
readonly type: "
|
|
29
|
-
readonly internalType: "
|
|
848
|
+
readonly type: "tuple";
|
|
849
|
+
readonly internalType: "struct IEntryPointSimulations.TargetCallResult";
|
|
850
|
+
readonly components: readonly [{
|
|
851
|
+
readonly name: "gasUsed";
|
|
852
|
+
readonly type: "uint256";
|
|
853
|
+
readonly internalType: "uint256";
|
|
854
|
+
}, {
|
|
855
|
+
readonly name: "success";
|
|
856
|
+
readonly type: "bool";
|
|
857
|
+
readonly internalType: "bool";
|
|
858
|
+
}, {
|
|
859
|
+
readonly name: "returnData";
|
|
860
|
+
readonly type: "bytes";
|
|
861
|
+
readonly internalType: "bytes";
|
|
862
|
+
}];
|
|
30
863
|
}];
|
|
31
|
-
readonly stateMutability: "
|
|
864
|
+
readonly stateMutability: "nonpayable";
|
|
32
865
|
}, {
|
|
33
866
|
readonly type: "function";
|
|
34
867
|
readonly name: "depositTo";
|
|
@@ -301,11 +1134,7 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
301
1134
|
readonly type: "address";
|
|
302
1135
|
readonly internalType: "address";
|
|
303
1136
|
}, {
|
|
304
|
-
readonly name: "
|
|
305
|
-
readonly type: "address";
|
|
306
|
-
readonly internalType: "address";
|
|
307
|
-
}, {
|
|
308
|
-
readonly name: "data";
|
|
1137
|
+
readonly name: "payload";
|
|
309
1138
|
readonly type: "bytes";
|
|
310
1139
|
readonly internalType: "bytes";
|
|
311
1140
|
}, {
|
|
@@ -878,6 +1707,144 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
878
1707
|
}];
|
|
879
1708
|
}];
|
|
880
1709
|
readonly stateMutability: "nonpayable";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly type: "function";
|
|
1712
|
+
readonly name: "simulateValidationBulk";
|
|
1713
|
+
readonly inputs: readonly [{
|
|
1714
|
+
readonly name: "userOps";
|
|
1715
|
+
readonly type: "tuple[]";
|
|
1716
|
+
readonly internalType: "struct PackedUserOperation[]";
|
|
1717
|
+
readonly components: readonly [{
|
|
1718
|
+
readonly name: "sender";
|
|
1719
|
+
readonly type: "address";
|
|
1720
|
+
readonly internalType: "address";
|
|
1721
|
+
}, {
|
|
1722
|
+
readonly name: "nonce";
|
|
1723
|
+
readonly type: "uint256";
|
|
1724
|
+
readonly internalType: "uint256";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly name: "initCode";
|
|
1727
|
+
readonly type: "bytes";
|
|
1728
|
+
readonly internalType: "bytes";
|
|
1729
|
+
}, {
|
|
1730
|
+
readonly name: "callData";
|
|
1731
|
+
readonly type: "bytes";
|
|
1732
|
+
readonly internalType: "bytes";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly name: "accountGasLimits";
|
|
1735
|
+
readonly type: "bytes32";
|
|
1736
|
+
readonly internalType: "bytes32";
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly name: "preVerificationGas";
|
|
1739
|
+
readonly type: "uint256";
|
|
1740
|
+
readonly internalType: "uint256";
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly name: "gasFees";
|
|
1743
|
+
readonly type: "bytes32";
|
|
1744
|
+
readonly internalType: "bytes32";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly name: "paymasterAndData";
|
|
1747
|
+
readonly type: "bytes";
|
|
1748
|
+
readonly internalType: "bytes";
|
|
1749
|
+
}, {
|
|
1750
|
+
readonly name: "signature";
|
|
1751
|
+
readonly type: "bytes";
|
|
1752
|
+
readonly internalType: "bytes";
|
|
1753
|
+
}];
|
|
1754
|
+
}];
|
|
1755
|
+
readonly outputs: readonly [{
|
|
1756
|
+
readonly name: "";
|
|
1757
|
+
readonly type: "tuple[]";
|
|
1758
|
+
readonly internalType: "struct IEntryPointSimulations.ValidationResult[]";
|
|
1759
|
+
readonly components: readonly [{
|
|
1760
|
+
readonly name: "returnInfo";
|
|
1761
|
+
readonly type: "tuple";
|
|
1762
|
+
readonly internalType: "struct IEntryPoint.ReturnInfo";
|
|
1763
|
+
readonly components: readonly [{
|
|
1764
|
+
readonly name: "preOpGas";
|
|
1765
|
+
readonly type: "uint256";
|
|
1766
|
+
readonly internalType: "uint256";
|
|
1767
|
+
}, {
|
|
1768
|
+
readonly name: "prefund";
|
|
1769
|
+
readonly type: "uint256";
|
|
1770
|
+
readonly internalType: "uint256";
|
|
1771
|
+
}, {
|
|
1772
|
+
readonly name: "accountValidationData";
|
|
1773
|
+
readonly type: "uint256";
|
|
1774
|
+
readonly internalType: "uint256";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly name: "paymasterValidationData";
|
|
1777
|
+
readonly type: "uint256";
|
|
1778
|
+
readonly internalType: "uint256";
|
|
1779
|
+
}, {
|
|
1780
|
+
readonly name: "paymasterContext";
|
|
1781
|
+
readonly type: "bytes";
|
|
1782
|
+
readonly internalType: "bytes";
|
|
1783
|
+
}];
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly name: "senderInfo";
|
|
1786
|
+
readonly type: "tuple";
|
|
1787
|
+
readonly internalType: "struct IStakeManager.StakeInfo";
|
|
1788
|
+
readonly components: readonly [{
|
|
1789
|
+
readonly name: "stake";
|
|
1790
|
+
readonly type: "uint256";
|
|
1791
|
+
readonly internalType: "uint256";
|
|
1792
|
+
}, {
|
|
1793
|
+
readonly name: "unstakeDelaySec";
|
|
1794
|
+
readonly type: "uint256";
|
|
1795
|
+
readonly internalType: "uint256";
|
|
1796
|
+
}];
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly name: "factoryInfo";
|
|
1799
|
+
readonly type: "tuple";
|
|
1800
|
+
readonly internalType: "struct IStakeManager.StakeInfo";
|
|
1801
|
+
readonly components: readonly [{
|
|
1802
|
+
readonly name: "stake";
|
|
1803
|
+
readonly type: "uint256";
|
|
1804
|
+
readonly internalType: "uint256";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly name: "unstakeDelaySec";
|
|
1807
|
+
readonly type: "uint256";
|
|
1808
|
+
readonly internalType: "uint256";
|
|
1809
|
+
}];
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "paymasterInfo";
|
|
1812
|
+
readonly type: "tuple";
|
|
1813
|
+
readonly internalType: "struct IStakeManager.StakeInfo";
|
|
1814
|
+
readonly components: readonly [{
|
|
1815
|
+
readonly name: "stake";
|
|
1816
|
+
readonly type: "uint256";
|
|
1817
|
+
readonly internalType: "uint256";
|
|
1818
|
+
}, {
|
|
1819
|
+
readonly name: "unstakeDelaySec";
|
|
1820
|
+
readonly type: "uint256";
|
|
1821
|
+
readonly internalType: "uint256";
|
|
1822
|
+
}];
|
|
1823
|
+
}, {
|
|
1824
|
+
readonly name: "aggregatorInfo";
|
|
1825
|
+
readonly type: "tuple";
|
|
1826
|
+
readonly internalType: "struct IEntryPoint.AggregatorStakeInfo";
|
|
1827
|
+
readonly components: readonly [{
|
|
1828
|
+
readonly name: "aggregator";
|
|
1829
|
+
readonly type: "address";
|
|
1830
|
+
readonly internalType: "address";
|
|
1831
|
+
}, {
|
|
1832
|
+
readonly name: "stakeInfo";
|
|
1833
|
+
readonly type: "tuple";
|
|
1834
|
+
readonly internalType: "struct IStakeManager.StakeInfo";
|
|
1835
|
+
readonly components: readonly [{
|
|
1836
|
+
readonly name: "stake";
|
|
1837
|
+
readonly type: "uint256";
|
|
1838
|
+
readonly internalType: "uint256";
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly name: "unstakeDelaySec";
|
|
1841
|
+
readonly type: "uint256";
|
|
1842
|
+
readonly internalType: "uint256";
|
|
1843
|
+
}];
|
|
1844
|
+
}];
|
|
1845
|
+
}];
|
|
1846
|
+
}];
|
|
1847
|
+
readonly stateMutability: "nonpayable";
|
|
881
1848
|
}, {
|
|
882
1849
|
readonly type: "function";
|
|
883
1850
|
readonly name: "simulateValidationLast";
|
|
@@ -1367,4 +2334,5 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
1367
2334
|
readonly internalType: "uint256";
|
|
1368
2335
|
}];
|
|
1369
2336
|
}];
|
|
2337
|
+
export declare const ENTRY_POINT_SIMULATIONS_CREATECALL: Hex;
|
|
1370
2338
|
//# sourceMappingURL=EntryPointSimulationsV7.d.ts.map
|