Skip to content

Commit

Permalink
fix: [spearbit-56] update comments for factory withdraw function
Browse files Browse the repository at this point in the history
  • Loading branch information
fangting-alchemy committed Jan 22, 2024
1 parent 5df8485 commit 409c4ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/factory/MultiOwnerMSCAFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ contract MultiOwnerMSCAFactory is Ownable2Step {
}

/// @notice Withdraw funds from this contract
/// @dev can withdraw stuck erc20s
/// @param to address to send native currency to
/// @dev can withdraw stuck erc20s or native currency
/// @param to address to send erc20s or native currency to
/// @param token address of the token to withdraw, 0 address for native currency
/// @param amount amount of the token to withdraw in case of rebasing tokens
function withdraw(address payable to, address token, uint256 amount) external onlyOwner {
Expand Down
4 changes: 2 additions & 2 deletions src/factory/MultiOwnerTokenReceiverMSCAFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ contract MultiOwnerTokenReceiverMSCAFactory is Ownable2Step {
}

/// @notice Withdraw funds from this contract
/// @dev can withdraw stuck erc20s
/// @param to address to send native currency to
/// @dev can withdraw stuck erc20s or native currency
/// @param to address to send erc20s or native currency to
/// @param token address of the token to withdraw, 0 address for native currency
/// @param amount amount of the token to withdraw in case of rebasing tokens
function withdraw(address payable to, address token, uint256 amount) external onlyOwner {
Expand Down

0 comments on commit 409c4ad

Please sign in to comment.