@pimlico/alto 0.0.0-main.20250109T120921 → 0.0.0-main.20250109T180504

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 (37) hide show
  1. package/esm/cli/config/options.js +1 -1
  2. package/esm/cli/config/options.js.map +1 -1
  3. package/esm/cli/deploySimulationsContract.js +9 -6
  4. package/esm/cli/deploySimulationsContract.js.map +1 -1
  5. package/esm/rpc/estimation/gasEstimationsV07.d.ts +2 -2
  6. package/esm/rpc/estimation/gasEstimationsV07.js +41 -42
  7. package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
  8. package/esm/rpc/rpcHandler.d.ts +1 -1
  9. package/esm/rpc/rpcHandler.js +3 -3
  10. package/esm/rpc/rpcHandler.js.map +1 -1
  11. package/esm/types/contracts/EntryPointSimulationsV7.d.ts +1 -154
  12. package/esm/types/contracts/EntryPointSimulationsV7.js +1914 -1619
  13. package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -1
  14. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  15. package/esm/types/contracts/PimlicoEntryPointSimulations.js +2 -1
  16. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  17. package/esm/utils/validation.js +4 -1
  18. package/esm/utils/validation.js.map +1 -1
  19. package/lib/cli/config/options.js +1 -1
  20. package/lib/cli/config/options.js.map +1 -1
  21. package/lib/cli/deploySimulationsContract.js +7 -4
  22. package/lib/cli/deploySimulationsContract.js.map +1 -1
  23. package/lib/rpc/estimation/gasEstimationsV07.d.ts +2 -2
  24. package/lib/rpc/estimation/gasEstimationsV07.js +41 -42
  25. package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
  26. package/lib/rpc/rpcHandler.d.ts +1 -1
  27. package/lib/rpc/rpcHandler.js +3 -3
  28. package/lib/rpc/rpcHandler.js.map +1 -1
  29. package/lib/types/contracts/EntryPointSimulationsV7.d.ts +1 -154
  30. package/lib/types/contracts/EntryPointSimulationsV7.js +1915 -1620
  31. package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -1
  32. package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  33. package/lib/types/contracts/PimlicoEntryPointSimulations.js +3 -2
  34. package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  35. package/lib/utils/validation.js +4 -1
  36. package/lib/utils/validation.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- import type { Hex } from "viem";
2
1
  export declare const EntryPointV07SimulationsAbi: readonly [{
3
2
  readonly type: "constructor";
4
3
  readonly inputs: readonly [];
@@ -419,7 +418,7 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
419
418
  readonly stateMutability: "view";
420
419
  }, {
421
420
  readonly type: "function";
422
- readonly name: "binarySearchGasLimit";
421
+ readonly name: "binarySearchCallGasLimit";
423
422
  readonly inputs: readonly [{
424
423
  readonly name: "queuedUserOps";
425
424
  readonly type: "tuple[]";
@@ -544,10 +543,6 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
544
543
  readonly name: "gasAllowance";
545
544
  readonly type: "uint256";
546
545
  readonly internalType: "uint256";
547
- }, {
548
- readonly name: "payload";
549
- readonly type: "bytes";
550
- readonly internalType: "bytes";
551
546
  }];
552
547
  readonly outputs: readonly [{
553
548
  readonly name: "";
@@ -1170,153 +1165,6 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
1170
1165
  }];
1171
1166
  readonly outputs: readonly [];
1172
1167
  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";
1320
1168
  }, {
1321
1169
  readonly type: "function";
1322
1170
  readonly name: "simulateHandleOp";
@@ -2334,5 +2182,4 @@ export declare const EntryPointV07SimulationsAbi: readonly [{
2334
2182
  readonly internalType: "uint256";
2335
2183
  }];
2336
2184
  }];
2337
- export declare const ENTRY_POINT_SIMULATIONS_CREATECALL: Hex;
2338
2185
  //# sourceMappingURL=EntryPointSimulationsV7.d.ts.map