Skip to content

Commit c583e0e

Browse files
Merge pull request #39 from allo-protocol/fix/wrong-comments
fix: wrong comments
2 parents d39e157 + 9f24fe6 commit c583e0e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

contracts/core/Allo.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ contract Allo is IAllo, Initializable, Ownable, AccessControlUpgradeable, Reentr
7272

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

7778
/// @custom:oz-upgrades-renamed-from cloneableStrategies

contracts/core/Anchor.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ contract Anchor is ERC721Holder, ERC1155Holder {
5353
/// ==========================
5454

5555
/// @notice Constructor
56-
/// @dev We create an instance of the 'Registry' contract using the 'msg.sender' and set the profileId.
56+
/// @dev We create an instance of the 'Registry' contract using the _registry and _profileId.
5757
/// @param _profileId The ID of the allowed profile to execute calls
5858
constructor(bytes32 _profileId, address _registry) {
5959
registry = Registry(_registry);

contracts/core/Registry.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ contract Registry is IRegistry, Initializable, AccessControlUpgradeable, Errors
300300
}
301301

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

380-
/// @notice Transfers any fund balance in Allo to the recipient
380+
/// @notice Transfers any fund balance in Registry to the recipient
381381
/// @dev 'msg.sender' must be the Allo owner
382382
/// @param _token The address of the token to transfer
383383
/// @param _recipient The address of the recipient

0 commit comments

Comments
 (0)