aave / protocol-v2

Aave Protocol V2
https://aave.com
Other
658 stars 744 forks source link

Made changes to the LendingPoolAddressProvider.sol file #299

Closed Nnamdichukwu closed 2 years ago

Nnamdichukwu commented 2 years ago
  1. Refactored the functions(Deposit, Withdraw, Repay, Borrow, ExecuteBorrow) LendingPool.sol to accept an additional pool param that is equal to the lending pool addresss.
  2. Refactored Reserves and UserConfig in LendingPoolStorage.sol
  3. Refactored LendingPoolAddressesProvider to set PoolAdmin, Pool Address dynamically.
  4. Added Lending_Pool to the constructor of LendingPoolAddressesProvider.sol
  5. Refactored setMarketId and getMarketId to accept bytes32 LendingPool