@pimlico/alto 0.0.0-main.20250109T180504 → 0.0.0-main.20250109T182146
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/options.js +1 -1
- package/esm/cli/config/options.js.map +1 -1
- package/esm/cli/deploySimulationsContract.js +6 -9
- package/esm/cli/deploySimulationsContract.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +2 -2
- package/esm/rpc/estimation/gasEstimationsV07.js +42 -41
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/esm/rpc/rpcHandler.d.ts +1 -1
- package/esm/rpc/rpcHandler.js +3 -3
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/types/contracts/EntryPointSimulationsV7.d.ts +154 -1
- package/esm/types/contracts/EntryPointSimulationsV7.js +1619 -1914
- package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -2
- package/esm/types/contracts/PimlicoEntryPointSimulations.js +1 -2
- package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/esm/utils/validation.js +1 -4
- package/esm/utils/validation.js.map +1 -1
- package/lib/cli/config/options.js +1 -1
- package/lib/cli/config/options.js.map +1 -1
- package/lib/cli/deploySimulationsContract.js +4 -7
- package/lib/cli/deploySimulationsContract.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +2 -2
- package/lib/rpc/estimation/gasEstimationsV07.js +42 -41
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/lib/rpc/rpcHandler.d.ts +1 -1
- package/lib/rpc/rpcHandler.js +3 -3
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/types/contracts/EntryPointSimulationsV7.d.ts +154 -1
- package/lib/types/contracts/EntryPointSimulationsV7.js +1620 -1915
- package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -2
- package/lib/types/contracts/PimlicoEntryPointSimulations.js +2 -3
- package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/lib/utils/validation.js +1 -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 [];
|
|
@@ -418,7 +419,7 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
418
419
|
readonly stateMutability: "view";
|
|
419
420
|
}, {
|
|
420
421
|
readonly type: "function";
|
|
421
|
-
readonly name: "
|
|
422
|
+
readonly name: "binarySearchGasLimit";
|
|
422
423
|
readonly inputs: readonly [{
|
|
423
424
|
readonly name: "queuedUserOps";
|
|
424
425
|
readonly type: "tuple[]";
|
|
@@ -543,6 +544,10 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
543
544
|
readonly name: "gasAllowance";
|
|
544
545
|
readonly type: "uint256";
|
|
545
546
|
readonly internalType: "uint256";
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "payload";
|
|
549
|
+
readonly type: "bytes";
|
|
550
|
+
readonly internalType: "bytes";
|
|
546
551
|
}];
|
|
547
552
|
readonly outputs: readonly [{
|
|
548
553
|
readonly name: "";
|
|
@@ -1165,6 +1170,153 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
1165
1170
|
}];
|
|
1166
1171
|
readonly outputs: readonly [];
|
|
1167
1172
|
readonly stateMutability: "nonpayable";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly type: "function";
|
|
1175
|
+
readonly name: "simulateCallData";
|
|
1176
|
+
readonly inputs: readonly [{
|
|
1177
|
+
readonly name: "queuedUserOps";
|
|
1178
|
+
readonly type: "tuple[]";
|
|
1179
|
+
readonly internalType: "struct SimulationArgs[]";
|
|
1180
|
+
readonly components: readonly [{
|
|
1181
|
+
readonly name: "op";
|
|
1182
|
+
readonly type: "tuple";
|
|
1183
|
+
readonly internalType: "struct PackedUserOperation";
|
|
1184
|
+
readonly components: readonly [{
|
|
1185
|
+
readonly name: "sender";
|
|
1186
|
+
readonly type: "address";
|
|
1187
|
+
readonly internalType: "address";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly name: "nonce";
|
|
1190
|
+
readonly type: "uint256";
|
|
1191
|
+
readonly internalType: "uint256";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly name: "initCode";
|
|
1194
|
+
readonly type: "bytes";
|
|
1195
|
+
readonly internalType: "bytes";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly name: "callData";
|
|
1198
|
+
readonly type: "bytes";
|
|
1199
|
+
readonly internalType: "bytes";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly name: "accountGasLimits";
|
|
1202
|
+
readonly type: "bytes32";
|
|
1203
|
+
readonly internalType: "bytes32";
|
|
1204
|
+
}, {
|
|
1205
|
+
readonly name: "preVerificationGas";
|
|
1206
|
+
readonly type: "uint256";
|
|
1207
|
+
readonly internalType: "uint256";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly name: "gasFees";
|
|
1210
|
+
readonly type: "bytes32";
|
|
1211
|
+
readonly internalType: "bytes32";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly name: "paymasterAndData";
|
|
1214
|
+
readonly type: "bytes";
|
|
1215
|
+
readonly internalType: "bytes";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly name: "signature";
|
|
1218
|
+
readonly type: "bytes";
|
|
1219
|
+
readonly internalType: "bytes";
|
|
1220
|
+
}];
|
|
1221
|
+
}, {
|
|
1222
|
+
readonly name: "target";
|
|
1223
|
+
readonly type: "address";
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly name: "targetCallData";
|
|
1227
|
+
readonly type: "bytes";
|
|
1228
|
+
readonly internalType: "bytes";
|
|
1229
|
+
}];
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly name: "targetUserOp";
|
|
1232
|
+
readonly type: "tuple";
|
|
1233
|
+
readonly internalType: "struct SimulationArgs";
|
|
1234
|
+
readonly components: readonly [{
|
|
1235
|
+
readonly name: "op";
|
|
1236
|
+
readonly type: "tuple";
|
|
1237
|
+
readonly internalType: "struct PackedUserOperation";
|
|
1238
|
+
readonly components: readonly [{
|
|
1239
|
+
readonly name: "sender";
|
|
1240
|
+
readonly type: "address";
|
|
1241
|
+
readonly internalType: "address";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly name: "nonce";
|
|
1244
|
+
readonly type: "uint256";
|
|
1245
|
+
readonly internalType: "uint256";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly name: "initCode";
|
|
1248
|
+
readonly type: "bytes";
|
|
1249
|
+
readonly internalType: "bytes";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly name: "callData";
|
|
1252
|
+
readonly type: "bytes";
|
|
1253
|
+
readonly internalType: "bytes";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly name: "accountGasLimits";
|
|
1256
|
+
readonly type: "bytes32";
|
|
1257
|
+
readonly internalType: "bytes32";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly name: "preVerificationGas";
|
|
1260
|
+
readonly type: "uint256";
|
|
1261
|
+
readonly internalType: "uint256";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly name: "gasFees";
|
|
1264
|
+
readonly type: "bytes32";
|
|
1265
|
+
readonly internalType: "bytes32";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly name: "paymasterAndData";
|
|
1268
|
+
readonly type: "bytes";
|
|
1269
|
+
readonly internalType: "bytes";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly name: "signature";
|
|
1272
|
+
readonly type: "bytes";
|
|
1273
|
+
readonly internalType: "bytes";
|
|
1274
|
+
}];
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly name: "target";
|
|
1277
|
+
readonly type: "address";
|
|
1278
|
+
readonly internalType: "address";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly name: "targetCallData";
|
|
1281
|
+
readonly type: "bytes";
|
|
1282
|
+
readonly internalType: "bytes";
|
|
1283
|
+
}];
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly name: "entryPoint";
|
|
1286
|
+
readonly type: "address";
|
|
1287
|
+
readonly internalType: "address";
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly name: "initialMinGas";
|
|
1290
|
+
readonly type: "uint256";
|
|
1291
|
+
readonly internalType: "uint256";
|
|
1292
|
+
}, {
|
|
1293
|
+
readonly name: "toleranceDelta";
|
|
1294
|
+
readonly type: "uint256";
|
|
1295
|
+
readonly internalType: "uint256";
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly name: "gasAllowance";
|
|
1298
|
+
readonly type: "uint256";
|
|
1299
|
+
readonly internalType: "uint256";
|
|
1300
|
+
}];
|
|
1301
|
+
readonly outputs: readonly [{
|
|
1302
|
+
readonly name: "";
|
|
1303
|
+
readonly type: "tuple";
|
|
1304
|
+
readonly internalType: "struct IEntryPointSimulations.TargetCallResult";
|
|
1305
|
+
readonly components: readonly [{
|
|
1306
|
+
readonly name: "gasUsed";
|
|
1307
|
+
readonly type: "uint256";
|
|
1308
|
+
readonly internalType: "uint256";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly name: "success";
|
|
1311
|
+
readonly type: "bool";
|
|
1312
|
+
readonly internalType: "bool";
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly name: "returnData";
|
|
1315
|
+
readonly type: "bytes";
|
|
1316
|
+
readonly internalType: "bytes";
|
|
1317
|
+
}];
|
|
1318
|
+
}];
|
|
1319
|
+
readonly stateMutability: "nonpayable";
|
|
1168
1320
|
}, {
|
|
1169
1321
|
readonly type: "function";
|
|
1170
1322
|
readonly name: "simulateHandleOp";
|
|
@@ -2182,4 +2334,5 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
|
|
|
2182
2334
|
readonly internalType: "uint256";
|
|
2183
2335
|
}];
|
|
2184
2336
|
}];
|
|
2337
|
+
export declare const ENTRY_POINT_SIMULATIONS_CREATECALL: Hex;
|
|
2185
2338
|
//# sourceMappingURL=EntryPointSimulationsV7.d.ts.map
|