aave / aave-utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ray and halfray methods

sakulstra opened this issue · comments

commented

Feature Request

In aave-js we got raymath methods based on BigNumbers
https://github.com/aave/aave-js/blob/master/src/helpers/ray-math.ts
We might consider re-implementing them based on ethers BigNumber, which is what most dapps use by default.
This will result in reduced bundle size for people relying on that library & usually better performance as bignumber.js is quite expensive.

commented

discussed and decided to go with bignumber.js for now as it's a lot easier to work with