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 Helper
copy icon
Infinitism
• version 1.0.0
ERC4337
EIP4337

ERC4337 Helper

Various helper functions for EIP-4337 contracts

*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
_parseValidationData() :
This function parses a uint into a struct containing an address and two uint48 values, using bit shifting and masking. (autogenerated documentation)
_intersectTimeRange(uint256,uint256) :
This function intersects two time ranges and returns the overlapping period. It compares the validation data of two parties and returns the aggregator and the overlapping time range. (autogenerated documentation)
_packValidationData() :
This function packs validation data into a single uint256 value using bitwise operations. (autogenerated documentation)
_packValidationData(bool,uint48,uint48) :
This function packs validation data into a single uint256 value using bitwise operations. It includes a boolean flag, validUntil, and validAfter. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i ERC4337-Helper
copy icon

Last Publish

3/15/2023

Version

1.0.0

Creator

Infinitism

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