@pimlico/alto 0.0.6 → 0.0.8
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/alto.js +3 -1
- package/esm/cli/alto.js.map +1 -1
- package/esm/cli/config/bundler.d.ts +348 -306
- package/esm/cli/config/bundler.js +26 -7
- package/esm/cli/config/bundler.js.map +1 -1
- package/esm/cli/config/options.d.ts +2 -1
- package/esm/cli/config/options.js +46 -8
- package/esm/cli/config/options.js.map +1 -1
- package/esm/cli/customTransport.js +40 -7
- package/esm/cli/customTransport.js.map +1 -1
- package/esm/cli/deploySimulationsContract.d.ts +8 -0
- package/esm/cli/deploySimulationsContract.js +26 -0
- package/esm/cli/deploySimulationsContract.js.map +1 -0
- package/esm/cli/handler.d.ts +2 -2
- package/esm/cli/handler.js +67 -89
- package/esm/cli/handler.js.map +1 -1
- package/esm/cli/instrumentation.js +4 -2
- package/esm/cli/instrumentation.js.map +1 -1
- package/esm/cli/parseArgs.d.ts +8 -0
- package/esm/cli/parseArgs.js +21 -0
- package/esm/cli/parseArgs.js.map +1 -0
- package/esm/cli/setupServer.d.ts +4 -9
- package/esm/cli/setupServer.js +98 -82
- package/esm/cli/setupServer.js.map +1 -1
- package/esm/createConfig.d.ts +15 -0
- package/esm/createConfig.js +8 -0
- package/esm/createConfig.js.map +1 -0
- package/esm/executor/executor.d.ts +29 -13
- package/esm/executor/executor.js +110 -72
- package/esm/executor/executor.js.map +1 -1
- package/esm/executor/executorManager.d.ts +14 -10
- package/esm/executor/executorManager.js +42 -42
- package/esm/executor/executorManager.js.map +1 -1
- package/esm/executor/senderManager.d.ts +11 -6
- package/esm/executor/senderManager.js +25 -32
- package/esm/executor/senderManager.js.map +1 -1
- package/esm/executor/utilityWalletMonitor.d.ts +9 -5
- package/esm/executor/utilityWalletMonitor.js +8 -8
- package/esm/executor/utilityWalletMonitor.js.map +1 -1
- package/esm/executor/utils.d.ts +2 -1
- package/esm/executor/utils.js +7 -2
- package/esm/executor/utils.js.map +1 -1
- package/esm/handlers/arbitrumGasPriceManager.d.ts +11 -0
- package/esm/handlers/arbitrumGasPriceManager.js +29 -0
- package/esm/handlers/arbitrumGasPriceManager.js.map +1 -0
- package/esm/handlers/eventManager.d.ts +7 -3
- package/esm/handlers/eventManager.js +24 -16
- package/esm/handlers/eventManager.js.map +1 -1
- package/esm/handlers/gasPriceManager.d.ts +14 -27
- package/esm/handlers/gasPriceManager.js +81 -135
- package/esm/handlers/gasPriceManager.js.map +1 -1
- package/esm/handlers/mantleGasPriceManager.d.ts +20 -0
- package/esm/handlers/mantleGasPriceManager.js +28 -0
- package/esm/handlers/mantleGasPriceManager.js.map +1 -0
- package/esm/mempool/mempool.d.ts +13 -10
- package/esm/mempool/mempool.js +29 -26
- package/esm/mempool/mempool.js.map +1 -1
- package/esm/mempool/reputationManager.d.ts +4 -6
- package/esm/mempool/reputationManager.js +25 -29
- package/esm/mempool/reputationManager.js.map +1 -1
- package/esm/mempool/store.d.ts +1 -1
- package/esm/rpc/estimation/gasEstimationHandler.d.ts +24 -0
- package/esm/rpc/estimation/gasEstimationHandler.js +48 -0
- package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -0
- package/esm/rpc/estimation/gasEstimationsV06.d.ts +19 -0
- package/esm/rpc/estimation/gasEstimationsV06.js +146 -0
- package/esm/rpc/estimation/gasEstimationsV06.js.map +1 -0
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +88 -0
- package/esm/rpc/estimation/gasEstimationsV07.js +429 -0
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -0
- package/esm/rpc/estimation/types.d.ts +113 -0
- package/esm/rpc/estimation/types.js +122 -0
- package/esm/rpc/estimation/types.js.map +1 -0
- package/esm/rpc/nonceQueuer.d.ts +10 -6
- package/esm/rpc/nonceQueuer.js +10 -10
- package/esm/rpc/nonceQueuer.js.map +1 -1
- package/esm/rpc/rpcHandler.d.ts +19 -16
- package/esm/rpc/rpcHandler.js +83 -72
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/rpc/server.d.ts +9 -7
- package/esm/rpc/server.js +27 -26
- package/esm/rpc/server.js.map +1 -1
- package/esm/rpc/validation/SafeValidator.d.ts +11 -6
- package/esm/rpc/validation/SafeValidator.js +16 -14
- package/esm/rpc/validation/SafeValidator.js.map +1 -1
- package/esm/rpc/validation/TracerResultParserV06.d.ts +1 -1
- package/esm/rpc/validation/TracerResultParserV06.js.map +1 -1
- package/esm/rpc/validation/TracerResultParserV07.d.ts +1 -1
- package/esm/rpc/validation/TracerResultParserV07.js +1 -1
- package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
- package/esm/rpc/validation/UnsafeValidator.d.ts +14 -17
- package/esm/rpc/validation/UnsafeValidator.js +49 -42
- package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
- package/esm/types/contracts/ArbitrumL1FeeAbi.d.ts +32 -0
- package/esm/types/contracts/ArbitrumL1FeeAbi.js +42 -0
- package/esm/types/contracts/ArbitrumL1FeeAbi.js.map +1 -0
- package/esm/types/contracts/EntryPointSimulationsV6.d.ts +34 -0
- package/esm/types/contracts/EntryPointSimulationsV6.js +48 -0
- package/esm/types/contracts/EntryPointSimulationsV6.js.map +1 -0
- package/esm/types/contracts/EntryPointSimulationsV7.d.ts +1370 -0
- package/esm/types/contracts/{EntryPointSimulations.js → EntryPointSimulationsV7.js} +197 -385
- package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -0
- package/esm/types/contracts/IAccountExecute.d.ts +53 -0
- package/esm/types/contracts/IAccountExecute.js +68 -0
- package/esm/types/contracts/IAccountExecute.js.map +1 -0
- package/esm/types/contracts/MantleBvmGasPriceOracle.d.ts +219 -0
- package/esm/types/contracts/MantleBvmGasPriceOracle.js +177 -0
- package/esm/types/contracts/MantleBvmGasPriceOracle.js.map +1 -0
- package/esm/types/contracts/OpL1FeeAbi.d.ts +26 -0
- package/esm/types/contracts/OpL1FeeAbi.js +29 -0
- package/esm/types/contracts/OpL1FeeAbi.js.map +1 -0
- package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js +1 -1
- package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/esm/types/contracts/index.d.ts +5 -1
- package/esm/types/contracts/index.js +5 -1
- package/esm/types/contracts/index.js.map +1 -1
- package/esm/types/interfaces.d.ts +2 -2
- package/esm/types/schemas.d.ts +94 -94
- package/esm/types/schemas.js +3 -3
- package/esm/types/schemas.js.map +1 -1
- package/esm/types/utils.d.ts +1 -1
- package/esm/utils/bigInt.js +2 -2
- package/esm/utils/bigInt.js.map +1 -1
- package/esm/utils/helpers.js +1 -1
- package/esm/utils/helpers.js.map +1 -1
- package/esm/utils/rpc-reply.d.ts +1 -1
- package/esm/utils/timedQueue.d.ts +12 -0
- package/esm/utils/timedQueue.js +51 -0
- package/esm/utils/timedQueue.js.map +1 -0
- package/esm/utils/userop.d.ts +2 -2
- package/esm/utils/userop.js +2 -2
- package/esm/utils/userop.js.map +1 -1
- package/esm/utils/validation.d.ts +14 -6
- package/esm/utils/validation.js +115 -132
- package/esm/utils/validation.js.map +1 -1
- package/lib/cli/alto.js +2 -0
- package/lib/cli/alto.js.map +1 -1
- package/lib/cli/config/bundler.d.ts +348 -306
- package/lib/cli/config/bundler.js +26 -7
- package/lib/cli/config/bundler.js.map +1 -1
- package/lib/cli/config/options.d.ts +2 -1
- package/lib/cli/config/options.js +47 -9
- package/lib/cli/config/options.js.map +1 -1
- package/lib/cli/customTransport.js +38 -5
- package/lib/cli/customTransport.js.map +1 -1
- package/lib/cli/deploySimulationsContract.d.ts +8 -0
- package/lib/cli/deploySimulationsContract.js +30 -0
- package/lib/cli/deploySimulationsContract.js.map +1 -0
- package/lib/cli/handler.d.ts +2 -2
- package/lib/cli/handler.js +66 -88
- package/lib/cli/handler.js.map +1 -1
- package/lib/cli/instrumentation.js +4 -2
- package/lib/cli/instrumentation.js.map +1 -1
- package/lib/cli/parseArgs.d.ts +8 -0
- package/lib/cli/parseArgs.js +25 -0
- package/lib/cli/parseArgs.js.map +1 -0
- package/lib/cli/setupServer.d.ts +4 -9
- package/lib/cli/setupServer.js +98 -82
- package/lib/cli/setupServer.js.map +1 -1
- package/lib/createConfig.d.ts +15 -0
- package/lib/createConfig.js +12 -0
- package/lib/createConfig.js.map +1 -0
- package/lib/executor/executor.d.ts +29 -13
- package/lib/executor/executor.js +106 -68
- package/lib/executor/executor.js.map +1 -1
- package/lib/executor/executorManager.d.ts +14 -10
- package/lib/executor/executorManager.js +40 -40
- package/lib/executor/executorManager.js.map +1 -1
- package/lib/executor/senderManager.d.ts +11 -6
- package/lib/executor/senderManager.js +25 -32
- package/lib/executor/senderManager.js.map +1 -1
- package/lib/executor/utilityWalletMonitor.d.ts +9 -5
- package/lib/executor/utilityWalletMonitor.js +8 -8
- package/lib/executor/utilityWalletMonitor.js.map +1 -1
- package/lib/executor/utils.d.ts +2 -1
- package/lib/executor/utils.js +9 -3
- package/lib/executor/utils.js.map +1 -1
- package/lib/handlers/arbitrumGasPriceManager.d.ts +11 -0
- package/lib/handlers/arbitrumGasPriceManager.js +33 -0
- package/lib/handlers/arbitrumGasPriceManager.js.map +1 -0
- package/lib/handlers/eventManager.d.ts +7 -3
- package/lib/handlers/eventManager.js +24 -16
- package/lib/handlers/eventManager.js.map +1 -1
- package/lib/handlers/gasPriceManager.d.ts +14 -27
- package/lib/handlers/gasPriceManager.js +80 -134
- package/lib/handlers/gasPriceManager.js.map +1 -1
- package/lib/handlers/mantleGasPriceManager.d.ts +20 -0
- package/lib/handlers/mantleGasPriceManager.js +32 -0
- package/lib/handlers/mantleGasPriceManager.js.map +1 -0
- package/lib/mempool/mempool.d.ts +13 -10
- package/lib/mempool/mempool.js +28 -25
- package/lib/mempool/mempool.js.map +1 -1
- package/lib/mempool/reputationManager.d.ts +4 -6
- package/lib/mempool/reputationManager.js +25 -29
- package/lib/mempool/reputationManager.js.map +1 -1
- package/lib/mempool/store.d.ts +1 -1
- package/lib/rpc/estimation/gasEstimationHandler.d.ts +24 -0
- package/lib/rpc/estimation/gasEstimationHandler.js +52 -0
- package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -0
- package/lib/rpc/estimation/gasEstimationsV06.d.ts +19 -0
- package/lib/rpc/estimation/gasEstimationsV06.js +150 -0
- package/lib/rpc/estimation/gasEstimationsV06.js.map +1 -0
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +88 -0
- package/lib/rpc/estimation/gasEstimationsV07.js +435 -0
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -0
- package/lib/rpc/estimation/types.d.ts +113 -0
- package/lib/rpc/estimation/types.js +125 -0
- package/lib/rpc/estimation/types.js.map +1 -0
- package/lib/rpc/nonceQueuer.d.ts +10 -6
- package/lib/rpc/nonceQueuer.js +9 -9
- package/lib/rpc/nonceQueuer.js.map +1 -1
- package/lib/rpc/rpcHandler.d.ts +19 -16
- package/lib/rpc/rpcHandler.js +82 -71
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/rpc/server.d.ts +9 -7
- package/lib/rpc/server.js +26 -25
- package/lib/rpc/server.js.map +1 -1
- package/lib/rpc/validation/SafeValidator.d.ts +11 -6
- package/lib/rpc/validation/SafeValidator.js +16 -14
- package/lib/rpc/validation/SafeValidator.js.map +1 -1
- package/lib/rpc/validation/TracerResultParserV06.d.ts +1 -1
- package/lib/rpc/validation/TracerResultParserV07.d.ts +1 -1
- package/lib/rpc/validation/TracerResultParserV07.js +1 -1
- package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
- package/lib/rpc/validation/UnsafeValidator.d.ts +14 -17
- package/lib/rpc/validation/UnsafeValidator.js +49 -42
- package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
- package/lib/types/contracts/ArbitrumL1FeeAbi.d.ts +32 -0
- package/lib/types/contracts/ArbitrumL1FeeAbi.js +45 -0
- package/lib/types/contracts/ArbitrumL1FeeAbi.js.map +1 -0
- package/lib/types/contracts/EntryPointSimulationsV6.d.ts +34 -0
- package/lib/types/contracts/EntryPointSimulationsV6.js +51 -0
- package/lib/types/contracts/EntryPointSimulationsV6.js.map +1 -0
- package/lib/types/contracts/EntryPointSimulationsV7.d.ts +1370 -0
- package/lib/types/contracts/{EntryPointSimulations.js → EntryPointSimulationsV7.js} +198 -386
- package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -0
- package/lib/types/contracts/IAccountExecute.d.ts +53 -0
- package/lib/types/contracts/IAccountExecute.js +71 -0
- package/lib/types/contracts/IAccountExecute.js.map +1 -0
- package/lib/types/contracts/MantleBvmGasPriceOracle.d.ts +219 -0
- package/lib/types/contracts/MantleBvmGasPriceOracle.js +180 -0
- package/lib/types/contracts/MantleBvmGasPriceOracle.js.map +1 -0
- package/lib/types/contracts/OpL1FeeAbi.d.ts +26 -0
- package/lib/types/contracts/OpL1FeeAbi.js +32 -0
- package/lib/types/contracts/OpL1FeeAbi.js.map +1 -0
- package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.js +1 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
- package/lib/types/contracts/index.d.ts +5 -1
- package/lib/types/contracts/index.js +5 -1
- package/lib/types/contracts/index.js.map +1 -1
- package/lib/types/interfaces.d.ts +2 -2
- package/lib/types/schemas.d.ts +94 -94
- package/lib/types/schemas.js +3 -3
- package/lib/types/schemas.js.map +1 -1
- package/lib/types/utils.d.ts +1 -1
- package/lib/utils/bigInt.js +2 -2
- package/lib/utils/bigInt.js.map +1 -1
- package/lib/utils/rpc-reply.d.ts +1 -1
- package/lib/utils/timedQueue.d.ts +12 -0
- package/lib/utils/timedQueue.js +55 -0
- package/lib/utils/timedQueue.js.map +1 -0
- package/lib/utils/userop.d.ts +2 -2
- package/lib/utils/userop.js +1 -1
- package/lib/utils/userop.js.map +1 -1
- package/lib/utils/validation.d.ts +14 -6
- package/lib/utils/validation.js +118 -134
- package/lib/utils/validation.js.map +1 -1
- package/package.json +1 -1
- package/esm/rpc/EntryPointSimulationsV07.d.ts +0 -62
- package/esm/rpc/EntryPointSimulationsV07.js +0 -410
- package/esm/rpc/EntryPointSimulationsV07.js.map +0 -1
- package/esm/rpc/ExecuteSimulator.d.ts +0 -37
- package/esm/rpc/ExecuteSimulator.js +0 -48
- package/esm/rpc/ExecuteSimulator.js.map +0 -1
- package/esm/rpc/gasEstimation.d.ts +0 -17
- package/esm/rpc/gasEstimation.js +0 -419
- package/esm/rpc/gasEstimation.js.map +0 -1
- package/esm/types/contracts/EntryPointSimulations.d.ts +0 -152
- package/esm/types/contracts/EntryPointSimulations.js.map +0 -1
- package/lib/rpc/EntryPointSimulationsV07.d.ts +0 -62
- package/lib/rpc/EntryPointSimulationsV07.js +0 -417
- package/lib/rpc/EntryPointSimulationsV07.js.map +0 -1
- package/lib/rpc/ExecuteSimulator.d.ts +0 -37
- package/lib/rpc/ExecuteSimulator.js +0 -51
- package/lib/rpc/ExecuteSimulator.js.map +0 -1
- package/lib/rpc/gasEstimation.d.ts +0 -17
- package/lib/rpc/gasEstimation.js +0 -426
- package/lib/rpc/gasEstimation.js.map +0 -1
- package/lib/types/contracts/EntryPointSimulations.d.ts +0 -152
- package/lib/types/contracts/EntryPointSimulations.js.map +0 -1
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
export const EntryPointV06SimulationsAbi = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [
|
|
4
|
-
{
|
|
5
|
-
name: "reason",
|
|
6
|
-
type: "string"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
name: "Error",
|
|
10
|
-
type: "error"
|
|
11
|
-
}
|
|
12
|
-
];
|
|
13
1
|
export const EntryPointV07SimulationsAbi = [
|
|
14
2
|
{
|
|
15
3
|
type: "constructor",
|
|
@@ -397,59 +385,12 @@ export const EntryPointV07SimulationsAbi = [
|
|
|
397
385
|
},
|
|
398
386
|
{
|
|
399
387
|
type: "function",
|
|
400
|
-
name: "
|
|
388
|
+
name: "simulateCall",
|
|
401
389
|
inputs: [
|
|
402
390
|
{
|
|
403
|
-
name: "
|
|
404
|
-
type: "
|
|
405
|
-
internalType: "
|
|
406
|
-
components: [
|
|
407
|
-
{
|
|
408
|
-
name: "sender",
|
|
409
|
-
type: "address",
|
|
410
|
-
internalType: "address"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
name: "nonce",
|
|
414
|
-
type: "uint256",
|
|
415
|
-
internalType: "uint256"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
name: "initCode",
|
|
419
|
-
type: "bytes",
|
|
420
|
-
internalType: "bytes"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
name: "callData",
|
|
424
|
-
type: "bytes",
|
|
425
|
-
internalType: "bytes"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
name: "accountGasLimits",
|
|
429
|
-
type: "bytes32",
|
|
430
|
-
internalType: "bytes32"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
name: "preVerificationGas",
|
|
434
|
-
type: "uint256",
|
|
435
|
-
internalType: "uint256"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
name: "gasFees",
|
|
439
|
-
type: "bytes32",
|
|
440
|
-
internalType: "bytes32"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
name: "paymasterAndData",
|
|
444
|
-
type: "bytes",
|
|
445
|
-
internalType: "bytes"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
name: "signature",
|
|
449
|
-
type: "bytes",
|
|
450
|
-
internalType: "bytes"
|
|
451
|
-
}
|
|
452
|
-
]
|
|
391
|
+
name: "entryPoint",
|
|
392
|
+
type: "address",
|
|
393
|
+
internalType: "address"
|
|
453
394
|
},
|
|
454
395
|
{
|
|
455
396
|
name: "target",
|
|
@@ -457,195 +398,214 @@ export const EntryPointV07SimulationsAbi = [
|
|
|
457
398
|
internalType: "address"
|
|
458
399
|
},
|
|
459
400
|
{
|
|
460
|
-
name: "
|
|
401
|
+
name: "data",
|
|
461
402
|
type: "bytes",
|
|
462
403
|
internalType: "bytes"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: "gas",
|
|
407
|
+
type: "uint256",
|
|
408
|
+
internalType: "uint256"
|
|
463
409
|
}
|
|
464
410
|
],
|
|
465
411
|
outputs: [
|
|
466
412
|
{
|
|
467
|
-
name: "",
|
|
468
|
-
type: "
|
|
469
|
-
internalType: "
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
name: "success",
|
|
478
|
-
type: "bool",
|
|
479
|
-
internalType: "bool"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
name: "returnData",
|
|
483
|
-
type: "bytes",
|
|
484
|
-
internalType: "bytes"
|
|
485
|
-
}
|
|
486
|
-
]
|
|
413
|
+
name: "success",
|
|
414
|
+
type: "bool",
|
|
415
|
+
internalType: "bool"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: "result",
|
|
419
|
+
type: "bytes",
|
|
420
|
+
internalType: "bytes"
|
|
487
421
|
}
|
|
488
422
|
],
|
|
489
423
|
stateMutability: "nonpayable"
|
|
490
424
|
},
|
|
491
425
|
{
|
|
492
426
|
type: "function",
|
|
493
|
-
name: "
|
|
427
|
+
name: "simulateCallAndRevert",
|
|
494
428
|
inputs: [
|
|
495
429
|
{
|
|
496
|
-
name: "
|
|
497
|
-
type: "
|
|
498
|
-
internalType: "
|
|
499
|
-
components: [
|
|
500
|
-
{
|
|
501
|
-
name: "sender",
|
|
502
|
-
type: "address",
|
|
503
|
-
internalType: "address"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
name: "nonce",
|
|
507
|
-
type: "uint256",
|
|
508
|
-
internalType: "uint256"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
name: "initCode",
|
|
512
|
-
type: "bytes",
|
|
513
|
-
internalType: "bytes"
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
name: "callData",
|
|
517
|
-
type: "bytes",
|
|
518
|
-
internalType: "bytes"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
name: "accountGasLimits",
|
|
522
|
-
type: "bytes32",
|
|
523
|
-
internalType: "bytes32"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
name: "preVerificationGas",
|
|
527
|
-
type: "uint256",
|
|
528
|
-
internalType: "uint256"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
name: "gasFees",
|
|
532
|
-
type: "bytes32",
|
|
533
|
-
internalType: "bytes32"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
name: "paymasterAndData",
|
|
537
|
-
type: "bytes",
|
|
538
|
-
internalType: "bytes"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
name: "signature",
|
|
542
|
-
type: "bytes",
|
|
543
|
-
internalType: "bytes"
|
|
544
|
-
}
|
|
545
|
-
]
|
|
430
|
+
name: "target",
|
|
431
|
+
type: "address",
|
|
432
|
+
internalType: "address"
|
|
546
433
|
},
|
|
547
434
|
{
|
|
548
|
-
name: "
|
|
549
|
-
type: "
|
|
550
|
-
internalType: "
|
|
435
|
+
name: "data",
|
|
436
|
+
type: "bytes",
|
|
437
|
+
internalType: "bytes"
|
|
551
438
|
},
|
|
552
439
|
{
|
|
553
|
-
name: "
|
|
554
|
-
type: "
|
|
555
|
-
internalType: "
|
|
556
|
-
}
|
|
557
|
-
],
|
|
558
|
-
outputs: [
|
|
559
|
-
{
|
|
560
|
-
name: "",
|
|
561
|
-
type: "tuple[]",
|
|
562
|
-
internalType: "struct IEntryPointSimulations.TargetCallResult[]",
|
|
563
|
-
components: [
|
|
564
|
-
{
|
|
565
|
-
name: "gasUsed",
|
|
566
|
-
type: "uint256",
|
|
567
|
-
internalType: "uint256"
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
name: "success",
|
|
571
|
-
type: "bool",
|
|
572
|
-
internalType: "bool"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
name: "returnData",
|
|
576
|
-
type: "bytes",
|
|
577
|
-
internalType: "bytes"
|
|
578
|
-
}
|
|
579
|
-
]
|
|
440
|
+
name: "gas",
|
|
441
|
+
type: "uint256",
|
|
442
|
+
internalType: "uint256"
|
|
580
443
|
}
|
|
581
444
|
],
|
|
445
|
+
outputs: [],
|
|
582
446
|
stateMutability: "nonpayable"
|
|
583
447
|
},
|
|
584
448
|
{
|
|
585
449
|
type: "function",
|
|
586
|
-
name: "
|
|
450
|
+
name: "simulateCallData",
|
|
587
451
|
inputs: [
|
|
588
452
|
{
|
|
589
|
-
name: "
|
|
453
|
+
name: "queuedUserOps",
|
|
590
454
|
type: "tuple[]",
|
|
591
|
-
internalType: "struct
|
|
455
|
+
internalType: "struct SimulationArgs[]",
|
|
592
456
|
components: [
|
|
593
457
|
{
|
|
594
|
-
name: "
|
|
595
|
-
type: "
|
|
596
|
-
internalType: "
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
458
|
+
name: "op",
|
|
459
|
+
type: "tuple",
|
|
460
|
+
internalType: "struct PackedUserOperation",
|
|
461
|
+
components: [
|
|
462
|
+
{
|
|
463
|
+
name: "sender",
|
|
464
|
+
type: "address",
|
|
465
|
+
internalType: "address"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
name: "nonce",
|
|
469
|
+
type: "uint256",
|
|
470
|
+
internalType: "uint256"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
name: "initCode",
|
|
474
|
+
type: "bytes",
|
|
475
|
+
internalType: "bytes"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
name: "callData",
|
|
479
|
+
type: "bytes",
|
|
480
|
+
internalType: "bytes"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: "accountGasLimits",
|
|
484
|
+
type: "bytes32",
|
|
485
|
+
internalType: "bytes32"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
name: "preVerificationGas",
|
|
489
|
+
type: "uint256",
|
|
490
|
+
internalType: "uint256"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: "gasFees",
|
|
494
|
+
type: "bytes32",
|
|
495
|
+
internalType: "bytes32"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
name: "paymasterAndData",
|
|
499
|
+
type: "bytes",
|
|
500
|
+
internalType: "bytes"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: "signature",
|
|
504
|
+
type: "bytes",
|
|
505
|
+
internalType: "bytes"
|
|
506
|
+
}
|
|
507
|
+
]
|
|
602
508
|
},
|
|
603
509
|
{
|
|
604
|
-
name: "
|
|
605
|
-
type: "
|
|
606
|
-
internalType: "
|
|
510
|
+
name: "target",
|
|
511
|
+
type: "address",
|
|
512
|
+
internalType: "address"
|
|
607
513
|
},
|
|
608
514
|
{
|
|
609
|
-
name: "
|
|
515
|
+
name: "targetCallData",
|
|
610
516
|
type: "bytes",
|
|
611
517
|
internalType: "bytes"
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
type: "uint256",
|
|
621
|
-
internalType: "uint256"
|
|
622
|
-
},
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: "targetUserOp",
|
|
523
|
+
type: "tuple",
|
|
524
|
+
internalType: "struct SimulationArgs",
|
|
525
|
+
components: [
|
|
623
526
|
{
|
|
624
|
-
name: "
|
|
625
|
-
type: "
|
|
626
|
-
internalType: "
|
|
527
|
+
name: "op",
|
|
528
|
+
type: "tuple",
|
|
529
|
+
internalType: "struct PackedUserOperation",
|
|
530
|
+
components: [
|
|
531
|
+
{
|
|
532
|
+
name: "sender",
|
|
533
|
+
type: "address",
|
|
534
|
+
internalType: "address"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
name: "nonce",
|
|
538
|
+
type: "uint256",
|
|
539
|
+
internalType: "uint256"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
name: "initCode",
|
|
543
|
+
type: "bytes",
|
|
544
|
+
internalType: "bytes"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
name: "callData",
|
|
548
|
+
type: "bytes",
|
|
549
|
+
internalType: "bytes"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
name: "accountGasLimits",
|
|
553
|
+
type: "bytes32",
|
|
554
|
+
internalType: "bytes32"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: "preVerificationGas",
|
|
558
|
+
type: "uint256",
|
|
559
|
+
internalType: "uint256"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
name: "gasFees",
|
|
563
|
+
type: "bytes32",
|
|
564
|
+
internalType: "bytes32"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
name: "paymasterAndData",
|
|
568
|
+
type: "bytes",
|
|
569
|
+
internalType: "bytes"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: "signature",
|
|
573
|
+
type: "bytes",
|
|
574
|
+
internalType: "bytes"
|
|
575
|
+
}
|
|
576
|
+
]
|
|
627
577
|
},
|
|
628
578
|
{
|
|
629
|
-
name: "
|
|
630
|
-
type: "
|
|
631
|
-
internalType: "
|
|
579
|
+
name: "target",
|
|
580
|
+
type: "address",
|
|
581
|
+
internalType: "address"
|
|
632
582
|
},
|
|
633
583
|
{
|
|
634
|
-
name: "
|
|
584
|
+
name: "targetCallData",
|
|
635
585
|
type: "bytes",
|
|
636
586
|
internalType: "bytes"
|
|
637
587
|
}
|
|
638
588
|
]
|
|
639
589
|
},
|
|
640
590
|
{
|
|
641
|
-
name: "
|
|
642
|
-
type: "address
|
|
643
|
-
internalType: "address
|
|
591
|
+
name: "entryPoint",
|
|
592
|
+
type: "address",
|
|
593
|
+
internalType: "address"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
name: "initialMinGas",
|
|
597
|
+
type: "uint256",
|
|
598
|
+
internalType: "uint256"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: "toleranceDelta",
|
|
602
|
+
type: "uint256",
|
|
603
|
+
internalType: "uint256"
|
|
644
604
|
},
|
|
645
605
|
{
|
|
646
|
-
name: "
|
|
647
|
-
type: "
|
|
648
|
-
internalType: "
|
|
606
|
+
name: "gasAllowance",
|
|
607
|
+
type: "uint256",
|
|
608
|
+
internalType: "uint256"
|
|
649
609
|
}
|
|
650
610
|
],
|
|
651
611
|
outputs: [
|
|
@@ -1178,186 +1138,6 @@ export const EntryPointV07SimulationsAbi = [
|
|
|
1178
1138
|
],
|
|
1179
1139
|
stateMutability: "nonpayable"
|
|
1180
1140
|
},
|
|
1181
|
-
{
|
|
1182
|
-
type: "function",
|
|
1183
|
-
name: "simulateValidationBulk",
|
|
1184
|
-
inputs: [
|
|
1185
|
-
{
|
|
1186
|
-
name: "userOps",
|
|
1187
|
-
type: "tuple[]",
|
|
1188
|
-
internalType: "struct PackedUserOperation[]",
|
|
1189
|
-
components: [
|
|
1190
|
-
{
|
|
1191
|
-
name: "sender",
|
|
1192
|
-
type: "address",
|
|
1193
|
-
internalType: "address"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
name: "nonce",
|
|
1197
|
-
type: "uint256",
|
|
1198
|
-
internalType: "uint256"
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
name: "initCode",
|
|
1202
|
-
type: "bytes",
|
|
1203
|
-
internalType: "bytes"
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
name: "callData",
|
|
1207
|
-
type: "bytes",
|
|
1208
|
-
internalType: "bytes"
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
name: "accountGasLimits",
|
|
1212
|
-
type: "bytes32",
|
|
1213
|
-
internalType: "bytes32"
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
name: "preVerificationGas",
|
|
1217
|
-
type: "uint256",
|
|
1218
|
-
internalType: "uint256"
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
name: "gasFees",
|
|
1222
|
-
type: "bytes32",
|
|
1223
|
-
internalType: "bytes32"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
name: "paymasterAndData",
|
|
1227
|
-
type: "bytes",
|
|
1228
|
-
internalType: "bytes"
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
name: "signature",
|
|
1232
|
-
type: "bytes",
|
|
1233
|
-
internalType: "bytes"
|
|
1234
|
-
}
|
|
1235
|
-
]
|
|
1236
|
-
}
|
|
1237
|
-
],
|
|
1238
|
-
outputs: [
|
|
1239
|
-
{
|
|
1240
|
-
name: "",
|
|
1241
|
-
type: "tuple[]",
|
|
1242
|
-
internalType: "struct IEntryPointSimulations.ValidationResult[]",
|
|
1243
|
-
components: [
|
|
1244
|
-
{
|
|
1245
|
-
name: "returnInfo",
|
|
1246
|
-
type: "tuple",
|
|
1247
|
-
internalType: "struct IEntryPoint.ReturnInfo",
|
|
1248
|
-
components: [
|
|
1249
|
-
{
|
|
1250
|
-
name: "preOpGas",
|
|
1251
|
-
type: "uint256",
|
|
1252
|
-
internalType: "uint256"
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
name: "prefund",
|
|
1256
|
-
type: "uint256",
|
|
1257
|
-
internalType: "uint256"
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
name: "accountValidationData",
|
|
1261
|
-
type: "uint256",
|
|
1262
|
-
internalType: "uint256"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
name: "paymasterValidationData",
|
|
1266
|
-
type: "uint256",
|
|
1267
|
-
internalType: "uint256"
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
name: "paymasterContext",
|
|
1271
|
-
type: "bytes",
|
|
1272
|
-
internalType: "bytes"
|
|
1273
|
-
}
|
|
1274
|
-
]
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
name: "senderInfo",
|
|
1278
|
-
type: "tuple",
|
|
1279
|
-
internalType: "struct IStakeManager.StakeInfo",
|
|
1280
|
-
components: [
|
|
1281
|
-
{
|
|
1282
|
-
name: "stake",
|
|
1283
|
-
type: "uint256",
|
|
1284
|
-
internalType: "uint256"
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
name: "unstakeDelaySec",
|
|
1288
|
-
type: "uint256",
|
|
1289
|
-
internalType: "uint256"
|
|
1290
|
-
}
|
|
1291
|
-
]
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
name: "factoryInfo",
|
|
1295
|
-
type: "tuple",
|
|
1296
|
-
internalType: "struct IStakeManager.StakeInfo",
|
|
1297
|
-
components: [
|
|
1298
|
-
{
|
|
1299
|
-
name: "stake",
|
|
1300
|
-
type: "uint256",
|
|
1301
|
-
internalType: "uint256"
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
name: "unstakeDelaySec",
|
|
1305
|
-
type: "uint256",
|
|
1306
|
-
internalType: "uint256"
|
|
1307
|
-
}
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
name: "paymasterInfo",
|
|
1312
|
-
type: "tuple",
|
|
1313
|
-
internalType: "struct IStakeManager.StakeInfo",
|
|
1314
|
-
components: [
|
|
1315
|
-
{
|
|
1316
|
-
name: "stake",
|
|
1317
|
-
type: "uint256",
|
|
1318
|
-
internalType: "uint256"
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
name: "unstakeDelaySec",
|
|
1322
|
-
type: "uint256",
|
|
1323
|
-
internalType: "uint256"
|
|
1324
|
-
}
|
|
1325
|
-
]
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
name: "aggregatorInfo",
|
|
1329
|
-
type: "tuple",
|
|
1330
|
-
internalType: "struct IEntryPoint.AggregatorStakeInfo",
|
|
1331
|
-
components: [
|
|
1332
|
-
{
|
|
1333
|
-
name: "aggregator",
|
|
1334
|
-
type: "address",
|
|
1335
|
-
internalType: "address"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
name: "stakeInfo",
|
|
1339
|
-
type: "tuple",
|
|
1340
|
-
internalType: "struct IStakeManager.StakeInfo",
|
|
1341
|
-
components: [
|
|
1342
|
-
{
|
|
1343
|
-
name: "stake",
|
|
1344
|
-
type: "uint256",
|
|
1345
|
-
internalType: "uint256"
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
name: "unstakeDelaySec",
|
|
1349
|
-
type: "uint256",
|
|
1350
|
-
internalType: "uint256"
|
|
1351
|
-
}
|
|
1352
|
-
]
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
}
|
|
1356
|
-
]
|
|
1357
|
-
}
|
|
1358
|
-
],
|
|
1359
|
-
stateMutability: "nonpayable"
|
|
1360
|
-
},
|
|
1361
1141
|
{
|
|
1362
1142
|
type: "function",
|
|
1363
1143
|
name: "simulateValidationLast",
|
|
@@ -1949,6 +1729,38 @@ export const EntryPointV07SimulationsAbi = [
|
|
|
1949
1729
|
internalType: "address"
|
|
1950
1730
|
}
|
|
1951
1731
|
]
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
type: "error",
|
|
1735
|
+
name: "SimulationOutOfGas",
|
|
1736
|
+
inputs: [
|
|
1737
|
+
{
|
|
1738
|
+
name: "optimalGas",
|
|
1739
|
+
type: "uint256",
|
|
1740
|
+
internalType: "uint256"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
name: "minGas",
|
|
1744
|
+
type: "uint256",
|
|
1745
|
+
internalType: "uint256"
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
name: "maxGas",
|
|
1749
|
+
type: "uint256",
|
|
1750
|
+
internalType: "uint256"
|
|
1751
|
+
}
|
|
1752
|
+
]
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
type: "error",
|
|
1756
|
+
name: "innerCallResult",
|
|
1757
|
+
inputs: [
|
|
1758
|
+
{
|
|
1759
|
+
name: "remainingGas",
|
|
1760
|
+
type: "uint256",
|
|
1761
|
+
internalType: "uint256"
|
|
1762
|
+
}
|
|
1763
|
+
]
|
|
1952
1764
|
}
|
|
1953
1765
|
];
|
|
1954
|
-
//# sourceMappingURL=
|
|
1766
|
+
//# sourceMappingURL=EntryPointSimulationsV7.js.map
|