Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
halaprix committed Oct 17, 2024
1 parent f068e47 commit 70f35ce
Showing 1 changed file with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,23 @@ contract AaveRewardsProxyActions {
address _dataProvider,
address _user,
address _token
) external view returns (address[] memory rewardsList, uint256[] memory unclaimedAmounts, address[] memory assets) {
)
external
view
returns (
address[] memory rewardsList,
uint256[] memory unclaimedAmounts,
address[] memory assets
)
{
IDataProvider dataProvider = IDataProvider(_dataProvider);
(address aToken, , address variableDebtToken) = dataProvider.getReserveTokensAddresses(_token);
assets = new address[](2);
assets[0] = aToken;
assets[1] = variableDebtToken;
(rewardsList, unclaimedAmounts) = IRewardsController(_rewardsController).getAllUserRewards(assets, _user);
(rewardsList, unclaimedAmounts) = IRewardsController(_rewardsController).getAllUserRewards(
assets,
_user
);
}
}

0 comments on commit 70f35ce

Please sign in to comment.