Skip to content

Commit

Permalink
Merge pull request #39 from allo-protocol/fix/wrong-comments
Browse files Browse the repository at this point in the history
fix: wrong comments
  • Loading branch information
thelostone-mc authored Oct 21, 2024
2 parents d39e157 + 9f24fe6 commit c583e0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions contracts/core/Allo.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ contract Allo is IAllo, Initializable, Ownable, AccessControlUpgradeable, Reentr

/// @notice Maps the pool ID to the pool details
/// @dev 'Pool.id' -> 'Pool'
/// @dev pool ID is incremental and starts from 1, there is no _pools[0]
mapping(uint256 => Pool) internal _pools;

/// @custom:oz-upgrades-renamed-from cloneableStrategies
Expand Down
2 changes: 1 addition & 1 deletion contracts/core/Anchor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ contract Anchor is ERC721Holder, ERC1155Holder {
/// ==========================

/// @notice Constructor
/// @dev We create an instance of the 'Registry' contract using the 'msg.sender' and set the profileId.
/// @dev We create an instance of the 'Registry' contract using the _registry and _profileId.
/// @param _profileId The ID of the allowed profile to execute calls
constructor(bytes32 _profileId, address _registry) {
registry = Registry(_registry);
Expand Down
4 changes: 2 additions & 2 deletions contracts/core/Registry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ contract Registry is IRegistry, Initializable, AccessControlUpgradeable, Errors
}

/// @notice Removes members from the profile
/// @dev 'msg.sender' must be the pending owner of the profile.
/// @dev 'msg.sender' must be the owner of the profile.
/// @param _profileId The ID of the profile
/// @param _members The members to remove
function removeMembers(bytes32 _profileId, address[] memory _members) external onlyProfileOwner(_profileId) {
Expand Down Expand Up @@ -377,7 +377,7 @@ contract Registry is IRegistry, Initializable, AccessControlUpgradeable, Errors
return hasRole(_profileId, _member);
}

/// @notice Transfers any fund balance in Allo to the recipient
/// @notice Transfers any fund balance in Registry to the recipient
/// @dev 'msg.sender' must be the Allo owner
/// @param _token The address of the token to transfer
/// @param _recipient The address of the recipient
Expand Down

0 comments on commit c583e0e

Please sign in to comment.