Skip to content

Commit

Permalink
fix: fixes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lekhovitsky committed Aug 29, 2024
1 parent a20e599 commit 157c54d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion contracts/credit/CreditFacadeV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ contract CreditFacadeV3 is ICreditFacadeV3, ACLNonReentrantTrait {
/// @param calls Array of `(target, callData)` tuples representing a sequence of calls to perform
/// - if `target` is this contract's address, `callData` must be an ABI-encoded calldata of a method
/// from `ICreditFacadeV3Multicall`, which is dispatched and handled appropriately
/// - otherwise, `target` must be an allowed adapter, which is called with `callData`
/// - otherwise, `target` must be an allowed adapter, which is called with `callData`, and returns a flag
/// that indicates whether safety measures should apply (which include safe pricing in collateral check
/// and a check that there are no enabled forbidden tokens by the end of the multicall)
/// @param enabledTokensMask Bitmask of account's enabled collateral tokens before the multicall
/// @param flags Flags that dictate multicall behaviour, including what methods are allowed to be called and
/// whether to execute collateral check after calls
Expand Down
2 changes: 1 addition & 1 deletion contracts/credit/CreditManagerV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ contract CreditManagerV3 is ICreditManagerV3, SanityCheckTrait, ReentrancyGuardT
return amount;
}

/// @dev Internal wrapper for `creditAccount.safeTransfer` call to redice contract size
/// @dev Internal wrapper for `creditAccount.safeTransfer` call to reduce contract size
function _safeTransfer(address creditAccount, address token, address to, uint256 amount) internal {
ICreditAccountV3(creditAccount).safeTransfer(token, to, amount);
}
Expand Down

0 comments on commit 157c54d

Please sign in to comment.