Skip to content

Commit

Permalink
fix: update ICreditFacadeV2.sol addCollateral
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmikko authored Oct 6, 2023
1 parent be51fd7 commit e890150
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions contracts/interfaces/ICreditFacadeV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,9 @@ interface ICreditFacadeV2Extended {
function disableToken(address token) external;

/// @dev Adds collateral to borrower's credit account
/// @param onBehalfOf Address of the borrower whose account is funded
/// @param token Address of a collateral token
/// @param amount Amount to add
function addCollateral(
address onBehalfOf,
address token,
uint256 amount
) external payable;
function addCollateral(address token, uint256 amount) external payable;

/// @dev Increases debt for msg.sender's Credit Account
/// - Borrows the requested amount from the pool
Expand Down

0 comments on commit e890150

Please sign in to comment.