AccountInstance
The core instance of an account used for testing in ModuleKit.
Definition
Properties
account
- Type:
address
accountType
- Type:
AccountType
accountHelper
- Type:
address
aux
- Type:
Auxiliary
defaultValidator
- Type:
IERC7579Validator
sessionValidator
The default session validator to use.salt
- Type:
bytes32
initCode
- Type:
bytes
accountFactory
- Type:
address
AccountType
The type of account used in ModuleKit.
Definition
Properties
DEFAULT
The ERC-7579 Reference Implementation.SAFE
The Safe using the Safe7579 adapter.KERNEL
The Kernel account.NEXUS
The Nexus account.CUSTOM
A custom account type that a developer can define.ActionData
The action policies of a session.
Definition
Properties
actionTargetSelector
- Type:
bytes4
actionTarget
- Type:
address
actionPolicies
- Type:
PolicyData[]
Auxiliary
Auxiliary data for an account.
Definition
Properties
entrypoint
- Type:
IEntryPoint
gasSimulation
- Type:
UserOpGasLog
registry
- Type:
IERC7484
mockFactory
- Type:
MockFactory
ChainDigest
The chain digest data.
Definition
Properties
chainId
- Type:
uint64
sessionDigest
- Type:
bytes32
EnableSession
The data required to enable a session.
Definition
Properties
chainDigestIndex
- Type:
uint8
hashesAndChainIds
- Type:
ChainDigest[]
sessionToEnable
- Type:
Session
permissionEnableSig
- Type:
bytes
ERC7739Data
The data of the ERC-7739 policies.
Definition
Properties
allowedERC7739Content
- Type:
ERC7739Context[]
erc1271Policies
- Type:
PolicyData[]
ERC7739Context
The context of the ERC-7739 policies.
Definition
Properties
appDomainSeparator
- Type:
bytes32
contentName
- Type:
string[]
Execution
An execution of a UserOperation.
Definition
Properties
target
- Type:
address
value
- Type:
uint256
callData
- Type:
bytes
InstalledModule
A module that is installed in an account.
Definition
Properties
moduleType
- Type:
uint256
moduleAddress
- Type:
address
PolicyData
The data of a policy.
Definition
Properties
policy
- Type:
address
initData
- Type:
bytes
Session
A session object for smart sessions.
Definition
Properties
sessionValidator
- Type:
ISessionValidator
sessionValidatorInitData
- Type:
bytes
salt
- Type:
bytes32
userOpPolicies
- Type:
PolicyData[]
erc7739Policies
- Type:
ERC7739Data
actions
- Type:
ActionData[]
permitERC4337Paymaster
- Type:
bool
UserOpData
The data of a UserOperation.
Definition
Properties
userOp
- Type:
PackedUserOperation
userOpHash
- Type:
bytes32
entrypoint
- Type:
IEntryPoint