You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two packaged provided by Aave here are @aave/math-utils and @aave/contract-helpers, of which the latter has an unpacked bundle size of +8MB. This is huge and especially if developers want to integrate only specific contracts in their frontends.
It would be very nice to have @aave/math-utils contain functions to parse the raw contract responses on for example getReservesData on the UiPoolDataProvider to the final usable version that comes out of formatReservesAndIncentives.
Currently, this raw parsing is done from within the UiPoolDataProvider class and this logic is all private. Therefore, if you want to user the formatReservesAndIncentives function, you are forced to use the @aave/contract-helpers package.
The text was updated successfully, but these errors were encountered:
The two packaged provided by Aave here are
@aave/math-utils
and@aave/contract-helpers
, of which the latter has an unpacked bundle size of +8MB. This is huge and especially if developers want to integrate only specific contracts in their frontends.It would be very nice to have
@aave/math-utils
contain functions to parse the raw contract responses on for examplegetReservesData
on theUiPoolDataProvider
to the final usable version that comes out offormatReservesAndIncentives
.Currently, this raw parsing is done from within the
UiPoolDataProvider
class and this logic is all private. Therefore, if you want to user theformatReservesAndIncentives
function, you are forced to use the@aave/contract-helpers
package.The text was updated successfully, but these errors were encountered: