Skip to content

Commit 65b771b

Browse files
committed
refactor: update IVault interface with latest contract impl changes
1 parent a880bbf commit 65b771b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/IVault.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ interface IVault {
5151
* @param token The address of the token. Use address(0) for ETH.
5252
* @return The balance of the specified token for the user.
5353
*/
54-
function balanceOf(address user, address token) external view returns (uint256);
54+
function balanceOf(address token) external view returns (uint256);
5555

5656
/**
5757
* @dev Returns the balances of multiple tokens for a user.
5858
* @param user The address of the user.
5959
* @param tokens The addresses of the tokens. Use address(0) for ETH.
6060
* @return The balances of the specified tokens for the user.
6161
*/
62-
function balancesOfTokens(address user, address[] calldata tokens) external view returns (uint256[] memory);
62+
function balancesOfTokens(address[] calldata tokens) external view returns (uint256[] memory);
6363

6464
/**
6565
* @dev Deposits a specified amount of tokens or ETH into the vault.

0 commit comments

Comments
 (0)