This PR updates the Francium SDK's getLendingPoolInfo method to fix the utilization calculation and return other helpful information. A detailed changelog is below:
Update package to include bignumber.js as dependency
Updates package-lock.json to v2 lockfile
Fix utilization calculation in lending pool info
BN.js does not support floating point numbers, so utilization always returned 0
Add borrowingInterestApr and apy to Lending Pool Info
This PR updates the Francium SDK's
getLendingPoolInfo
method to fix the utilization calculation and return other helpful information. A detailed changelog is below:bignumber.js
as dependency Updatespackage-lock.json
to v2 lockfileborrowingInterestApr
andapy
to Lending Pool Info