EntryPoint
EntryPoint is a branded Address type representing the ERC-4337 entry point contract. The entry point is the central coordinator for account abstraction, validating and executing user operations submitted by bundlers.Overview
The EntryPoint contract is the singleton that handles all user operations. It validates signatures, executes operations, and manages gas accounting and paymaster interactions. Voltaire provides constants for both v0.6 and v0.7 entry point addresses.Type Definition
API Reference
Constructors
from
Create EntryPoint from address input.- From hex string
- From constant
Converters
toHex
Convert EntryPoint to hex string.Comparisons
equals
Check if two EntryPoint addresses are equal.Constants
ENTRYPOINT_V06
Entry point v0.6.0 address:0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
Original ERC-4337 entry point. Supports separate gas limit fields.
ENTRYPOINT_V07
Entry point v0.7.0 address:0x0000000071727De22E5E9d8BAf0edAc6f37da032
Latest ERC-4337 entry point. Uses packed gas limits for reduced calldata size.
Entry Point Responsibilities
The EntryPoint contract handles:- Validation: Verifies user operation signatures and nonces
- Gas accounting: Tracks pre-verification, verification, and execution gas
- Paymaster interaction: Validates paymaster approval and handles gas sponsorship
- Execution: Calls the account contract with the operation calldata
- Event emission: Logs successful operations for indexing
Version Differences
v0.6.0
- Separate
callGasLimitandverificationGasLimitfields - Separate
maxFeePerGasandmaxPriorityFeePerGasfields - Standard UserOperation struct
v0.7.0
- Packed gas limits:
accountGasLimits(bytes32) - Packed fees:
gasFees(bytes32) - PackedUserOperation struct
- Reduced calldata size (lower bundler costs)
Usage Patterns
Submitting User Operations
Multi-Chain Support
Related Types
- UserOperation - User operation structure (v0.6)
- PackedUserOperation - Packed user operation (v0.7)
- Paymaster - Gas sponsorship address
- Bundler - Operation bundler address
- Address - Base address type

