Simplify parameters
defispartan opened this issue · comments
Currently the data functions require an excessive number of inputs, this should be re-designed to be easier to integrate.
Suggestion:
An aaveDataProvider object that can be initialized with a network and provider, and supports the following functions
userSummary(userAddress, marketAddress?, assetAddress?)
reserveSummary(marketAddress?, assetAddress?)
where marketAddress = lendingPoolAddressProvider for the market, assetAddress = underlyingAssetAddress, and market/asset default to all if not specified.