ERC-4337: Account Abstraction Architecture
Account Abstraction (AA) decouples the object that holds assets (the account) from the object that authorizes transactions (the signer).
The UserOperation (UserOp)
Instead of a standard transaction, users broadcast a UserOperation.
- Sender: The smart account address.
- CallData: The actual instruction to execute.
- Signature: A signature that the smart account knows how to validate (can be ECDSA, biometric, or multisig).
The EntryPoint Contract
A singleton contract that acts as the universal gateway for all UserOps. It handles:
- Validation Loop: Ensuring the account can pay for the operation.
- Execution Loop: Performing the actual call to the target contract.
🛠 Tactical Activity: Decoding a UserOp
Objective: Identify the components of a smart account interaction.
- Use a tool like Jiffyscan to find a transaction on a chain like Polygon or Base.
- Task: Locate the
UserOperationand identify thecallData. - Analysis: What contract is the EntryPoint on the chain you chose?