Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
ERC4337 Base Account
copy icon
Infinitism
• version 1.0.0
eip-4337
ERC4337
Account
Deployable

ERC4337 Base Account

Provides the basic logic for implementing the IAccount interface -validateUserOp. A specific account implementation should inherit it and provide the account-specific logic.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Infinitism

Last Publish

3/15/2023
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
nonce() :
This function validates a user operation, checks the signature, updates nonce, and pays for missing account funds. (autogenerated documentation)
entryPoint() :
This function validates a user operation, checks the signature, updates nonce, and pays for missing account funds. It requires an entry point. (autogenerated documentation)
validateUserOp(bytes32,uint256) :
This function validates a user operation, updates nonce, and pays for missing account funds. It uses a signature for validation. (autogenerated documentation)
_requireFromEntryPoint() :
This function checks if the caller is the entry point contract and throws an error if not. (autogenerated documentation)
_validateSignature(bytes32) :
This function validates a user operation's signature and updates nonce. It also pays for any missing account funds. (autogenerated documentation)
_validateAndUpdateNonce() :
This function pays missing account funds to the user's address using a payable call. (autogenerated documentation)
_payPrefund(uint256) :
This function sends missing funds to the caller's account using a payable function call. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i ERC4337-Base-Account
copy icon

Bytecode

Download

Verification

Download

Last Publish

3/15/2023

Solidity Compiler

v0.8.12+commit.f00d7308

Version

1.0.0

Creator

Infinitism

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.