Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/interfaces/IAccountKeychain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,13 @@ interface IAccountKeychain {
*/
function setAllowedCalls(address keyId, CallScope[] calldata scopes) external;

/**
* @notice Set or replace allowed calls from canonical RLP-encoded scopes
* @param keyId The key ID to configure
* @param scopes The RLP-encoded call scopes to set
*/
function setAllowedCalls(address keyId, bytes calldata scopes) external;

/**
* @notice Remove any configured call scope for a key+target pair
* @param keyId The key ID to update
Expand Down