Skip to content

Commit

Permalink
feat: add decodeAccessControlParameters to IAccessModule
Browse files Browse the repository at this point in the history
  • Loading branch information
xorsal committed Nov 15, 2024
1 parent 5880af4 commit 7afbde4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions solidity/interfaces/modules/access/IAccessModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@ interface IAccessModule is IModule {
* @return _hasAccess True if the caller has access to the user
*/
function hasAccess(bytes calldata _data) external returns (bool _hasAccess);

/**
* @notice Decodes the access control parameters
* @param _data The encoded access control parameters
* @return _params The decoded access control parameters
*/
function decodeAccessControlParameters(bytes calldata _data)
external
pure
returns (AccessControlParameters memory _params);
}

0 comments on commit 7afbde4

Please sign in to comment.