BigNumber of features
Pre-release
Pre-release
New features
LoanManager
class #53
augmint.loanManager.getAllProducts()
andgetActiveProducts()
LoanProduct
class #55
calculateLoanFromCollateral(_collateralAmount: BN, ethFiatRate: BN): ILoanValues
calculateLoanFromDisbursedAmount(_disbursedAmount: BN, ethFiatRate: BN): ILoanValues
- unit classes:
Tokens
,Wei
,Ratio
#59 - Exchange improvements (#56 , #67)
Breaking changes
- unit classes:
Tokens
,Wei
,Ratio
#59 and use ofBN
frombn.js
in the background see #44 & #46
This is a breaking change in almost all interfaces. E.g.:Rates.getEthFiatRate
: renamed and returnsTokens
instead ofBigNumber
Rates.getAugmintRate
: returnsRate
for.rate
instead ofBigNumber
Exchange.getOrderBook
: returns a different objectExchange.matchMultipleOrders
: accepts Orders in new format fromgetOrderBook
Internal improvements
- readme updates #54
- legacy contract connections and tests #51
- use
@augmint/contracts
version to determine docker image name #58 - ignore node types in greenkeeper #63
- fix module declarations (#61)
- fix some linter warnings (#64)
- handle web3 connect with http , trustwallet and coinbase wallet providers #68
- fix type declaration path (#70)
Component upgrades
- upgrade to @Augmint/contracts v1.0.12 #57
- upgrade to rollup 1.12.1 #62
- upgrade rollup-plugin-typescript2 to 0.21.1 #66
- upgrade rollup to 1.12.3 #71