Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add hook utilities for permission handling and validation (#19)
* feat: add hook utilities for permission handling and validation Introduces `HookOptions` and `HookPermissions` enums to manage hooks and their permissions. Implements utility functions to check individual permissions such as `has_initialize_permissions`, `has_liquidity_permissions`, and more. Also updates the utils module to include the new hook utilities. * Optimize `HookPermissions` functions with `const` and tests Marked several functions as `const`, `#[inline]`, and `#[must_use]` to enhance performance and enforce usage. Added comprehensive unit tests to validate permission logic for hook configurations. * fmt
- Loading branch information