Skip to content

Commit

Permalink
feat: Hybrid Session Key Manager - Batched Execution
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurdubey521 committed Dec 19, 2023
1 parent a75fa43 commit 57ceed6
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,5 @@ import {IStatefulSessionKeyManagerBase} from "./IStatefulSessionKeyManagerBase.s
* @author Ankur Dubey - <[email protected]>
*/
interface ISessionKeyManagerModuleHybrid is IStatefulSessionKeyManagerBase {

Check failure on line 13 in contracts/smart-account/interfaces/modules/SessionKeyManagers/ISessionKeyManagerModuleHybrid.sol

View workflow job for this annotation

GitHub Actions / Lint sources (18.x)

Code contains empty blocks
/**
* @dev validates that Session Key + parameters are enabled
* by being included into the merkle tree
* @param userOpSender smartAccount for which session key is being validated
* @param validUntil timestamp when the session key expires
* @param validAfter timestamp when the session key becomes valid
* @param sessionKeyIndex index of the session key being used
* @param sessionValidationModule address of the Session Validation Module
* @param sessionKeyData session parameters (limitations/permissions)
* @param sessionEnableSignature eip1271 signature which enables the session key
* @dev if doesn't revert, session key is considered valid
*/
function validateSessionKeySessionEnableTransaction(
address userOpSender,
uint48 validUntil,
uint48 validAfter,
uint256 sessionKeyIndex,
address sessionValidationModule,
bytes calldata sessionKeyData,
bytes calldata sessionEnableData,
bytes calldata sessionEnableSignature
) external;

/**
* TODO
* @param smartAccount smartAccount for which session key is being validated
* @param sessionKeyDataDigest digest of the session key data
*/
function validateSessionKeyPreEnabled(
address smartAccount,
bytes32 sessionKeyDataDigest
) external;
}
Loading

0 comments on commit 57ceed6

Please sign in to comment.