Glossary of types in ModuleKit.
AccountInstance
The core instance of an account used for testing in ModuleKit.
address
The address of the account.
AccountType
The type of the account.
address
The address of the account helper. This helper is used to format any calls for the right account type.
Auxiliary
Auxiliary data for the account.
IERC7579Validator
The default validator that is used when no validator is specified by the user.
The default session validator to use.
bytes32
The salt used to create the account.
bytes
The ERC-4337 initialization code for the account.
address
The address of the account factory.
AccountType
The type of account used in ModuleKit.
The ERC-7579 Reference Implementation.
The Safe using the Safe7579 adapter.
The Kernel account.
The Nexus account.
A custom account type that a developer can define.
ActionData
The action policies of a session.
bytes4
The selector of the action target.
address
The address of the action target.
PolicyData[]
The policies of the action.
Auxiliary
Auxiliary data for an account.
IEntryPoint
The ERC-4337 entryPoint used.
UserOpGasLog
A contract that is used to log the gas used in a UserOperation.
IERC7484
The registry used for the account.
MockFactory
A factory used to deploy mock periphery contracts like a Mock Swap Router.
ChainDigest
The chain digest data.
uint64
The chain id.
bytes32
The session digest.
EnableSession
The data required to enable a session.
uint8
The index of the chain digest in the array.
ChainDigest[]
An array of chain digests.
Session
The session to enable.
bytes
The signature to enable the session.
ERC7739Data
The data of the ERC-7739 policies.
ERC7739Context[]
An array of allowed ERC-7739 content.
PolicyData[]
An array of ERC-1271 policies.
ERC7739Context
The context of the ERC-7739 policies.
bytes32
The app domain separator.
string[]
The content names.
Execution
An execution of a UserOperation.
address
The address of the target contract.
uint256
The value to send with the call.
bytes
The data to send with the call.
InstalledModule
A module that is installed in an account.
uint256
The type of the module.
address
The address of the module.
PolicyData
The data of a policy.
address
The address of the policy contract.
bytes
The data to initialize the policy with.
Session
A session object for smart sessions.
ISessionValidator
The stateless validator to use for validating the session.
bytes
The data to send to the stateless validtor for verification (eg owners).
bytes32
The salt used to create the session to allow for multiple sessions with the same parameters.
PolicyData[]
An array of UserOp policies.
ERC7739Data
The ERC-7739 policies.
ActionData[]
The action policies of the session.
bool
Whether to permit the usage of an ERC-4337 paymaster.
UserOpData
The data of a UserOperation.
PackedUserOperation
The UserOperation.
bytes32
The hash of the UserOperation.
IEntryPoint
The entryPoint used for the UserOperation.