Skip to content

Commit

Permalink
style: improve natspec comments
Browse files Browse the repository at this point in the history
  • Loading branch information
howydev committed Jan 17, 2024
1 parent cac319d commit 96d3429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/factory/MultiOwnerMSCAFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ contract MultiOwnerMSCAFactory is Ownable2Step {

/// @notice Getter for counterfactual address based on input params
/// @dev The owner array must be in strictly ascending order and not include the 0 address.
/// @param salt salt for additional entropy for create2
/// @param owners array of addresses of the owner
/// @return address of counterfactual account
function getAddress(uint256 salt, address[] calldata owners) external view returns (address) {
// array can't be empty
if (owners.length == 0) {
Expand Down
1 change: 1 addition & 0 deletions src/factory/MultiOwnerTokenReceiverMSCAFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ contract MultiOwnerTokenReceiverMSCAFactory is Ownable2Step {
/// @dev The owner array must be in strictly ascending order and not include the 0 address.
/// @param salt salt for additional entropy for create2
/// @param owners array of addresses of the owner
/// @return address of counterfactual account
function getAddress(uint256 salt, address[] calldata owners) external view returns (address) {
// array can't be empty
if (owners.length == 0) {
Expand Down

0 comments on commit 96d3429

Please sign in to comment.