Skip to content

Commit

Permalink
tidyup
Browse files Browse the repository at this point in the history
  • Loading branch information
FeurJak committed Jul 22, 2024
1 parent c3f8356 commit 38f2a1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/ASP.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ contract ASP is RecordCategoryRegistry {
constructor() RecordCategoryRegistry(msg.sender) {}

/*//////////////////////////////////////////////////////////////////////////
***PUBLIC FUNCTIONS***
PUBLIC FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/
/**
* @notice Applies a predicate to filter elements based on their properties
Expand Down Expand Up @@ -61,7 +61,7 @@ contract ASP is RecordCategoryRegistry {
}

/*//////////////////////////////////////////////////////////////////////////
INTERNAL FUNCTIONS
INTERNAL FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/
/**
* @notice Checks if an element satisfies a predicate based on its properties
Expand Down
10 changes: 5 additions & 5 deletions src/RecordCategoryRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ contract RecordCategoryRegistry is AccessControlDefaultAdminRules {
private _scopeRecordMerkleTrees;

/*//////////////////////////////////////////////////////////////////////////
***MODIFIERS***
MODIFIERS
//////////////////////////////////////////////////////////////////////////*/
/// @dev modifier to check that the caller has the admin role
modifier AdminOnly() {
Expand All @@ -103,7 +103,7 @@ contract RecordCategoryRegistry is AccessControlDefaultAdminRules {
}

/*//////////////////////////////////////////////////////////////////////////
***CONTRACT CONSTRUCTOR***
CONTRACT CONSTRUCTOR
//////////////////////////////////////////////////////////////////////////*/
constructor(
address _registryAdmin
Expand All @@ -116,7 +116,7 @@ contract RecordCategoryRegistry is AccessControlDefaultAdminRules {
}

/*//////////////////////////////////////////////////////////////////////////
***ADMIN FUNCTIONS***
ADMIN FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/
/// @dev GrantRegistryAdminRole grants the REGISTRY_ADMIN_ROLE to an address
/// @param account the address to grant the role to
Expand All @@ -125,7 +125,7 @@ contract RecordCategoryRegistry is AccessControlDefaultAdminRules {
}

/*//////////////////////////////////////////////////////////////////////////
***REGISTRY_ADMIN_ROLE FUNCTIONS***
REGISTRY_ADMIN_ROLE FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/
/**
* @notice Sets or updates the category for a record within a specific protocol scope
Expand Down Expand Up @@ -160,7 +160,7 @@ contract RecordCategoryRegistry is AccessControlDefaultAdminRules {
}

/*//////////////////////////////////////////////////////////////////////////
***GENERAL PUBLIC FUNCTIONS***
GENERAL PUBLIC FUNCTIONS
//////////////////////////////////////////////////////////////////////////*/
function getCategoryBitmap(
uint256 scope,
Expand Down

0 comments on commit 38f2a1c

Please sign in to comment.