mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fixed not needed casting
This commit is contained in:
parent
83a499f299
commit
2028631ad7
|
@ -58,8 +58,6 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
uint256
|
uint256
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
IAaveIncentivesController incentivesController =
|
|
||||||
IAaveIncentivesController(incentivesControllerAddr);
|
|
||||||
ILendingPool lendingPool = ILendingPool(provider.getLendingPool());
|
ILendingPool lendingPool = ILendingPool(provider.getLendingPool());
|
||||||
IPriceOracleGetter oracle = IPriceOracleGetter(provider.getPriceOracle());
|
IPriceOracleGetter oracle = IPriceOracleGetter(provider.getPriceOracle());
|
||||||
address[] memory reserves = lendingPool.getReservesList();
|
address[] memory reserves = lendingPool.getReservesList();
|
||||||
|
@ -184,8 +182,6 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
|
||||||
IAaveIncentivesController incentivesControllerAddr,
|
IAaveIncentivesController incentivesControllerAddr,
|
||||||
address user
|
address user
|
||||||
) external view override returns (IncentivesDataUser memory) {
|
) external view override returns (IncentivesDataUser memory) {
|
||||||
IAaveIncentivesController incentivesController =
|
|
||||||
IAaveIncentivesController(incentivesControllerAddr);
|
|
||||||
ILendingPool lendingPool = ILendingPool(provider.getLendingPool());
|
ILendingPool lendingPool = ILendingPool(provider.getLendingPool());
|
||||||
IPriceOracleGetter oracle = IPriceOracleGetter(provider.getPriceOracle());
|
IPriceOracleGetter oracle = IPriceOracleGetter(provider.getPriceOracle());
|
||||||
address[] memory reserves = lendingPool.getReservesList();
|
address[] memory reserves = lendingPool.getReservesList();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user