Private
constructorThe configuration for the module
An instance of SessionKeyManagerModule
Readonly
mockMethod to create session data for any module. The session data is used to create a leaf in the merkle tree
The data of one or more leaves to be used to create session data
The session data
Optional
params: ModuleInfoDummy signature
This is the dummy signature for the module, used in buildUserOp for bundler estimation
Private
getThis is the version of the module contract
Revokes specified sessions by generating a new Merkle root and updating the session statuses to "REVOKED".
This method performs the following steps:
revokeSessions
on the session storage client to get new leaf nodes for the sessions to be revoked.keccak256
and adds them to the Merkle tree.An array of session IDs to be revoked.
A promise that resolves to the new Merkle root as a hexadecimal string.
This method is used to sign the user operation using the session signer
Optional
params: ModuleInfoThe signature of the user operation
Static
createAsynchronously creates and initializes an instance of SessionKeyManagerModule
The configuration for the module
A Promise that resolves to an instance of SessionKeyManagerModule
This constructor is private. Use the static create method to instantiate SessionKeyManagerModule