Skip to content

Releases: curvefi/curve-lending-js

v2.0.4

30 May 11:56
d456dad
Compare
Choose a tag to compare

Bug Fixes

  • _maxBorrowable * BigInt(999) / BigInt(1000) (51b2c4b)
  • _maxBorrowable in leverageBorrowMoreMaxRecv (875823e)
  • mul maxBorrowable by 0.998 (973f722)

v2.0.3

25 May 11:21
4452da9
Compare
Choose a tag to compare

Bug Fixes

  • check hasLeverage (653015c)
  • eliminate sudden route/output change in 1inch (cd46065)
  • from, to in _setSwapDataToCache (afdcc43)
  • hasLeverage() (3ecc5c1)

Features

  • leverage createLoanPriceImpact, borrowMorePriceImpact, repayPriceImpact (77aba18)
  • market.leverage.hasLeverage() (6fe9ac2)

v2.0.2-alpha

07 May 13:32
f33df51
Compare
Choose a tag to compare

Bug Fixes

  • use from_ in 1inch proxy url (96df2bb)

v2.0.1-alpha

01 May 16:27
c611179
Compare
Choose a tag to compare

Bug Fixes

v2.0.0-alpha

26 Apr 09:08
6aa9c78
Compare
Choose a tag to compare

Bug Fixes

  • _leverageHealth (7c1ef9e)
  • _leverageTotalCollateral (c42d275)
  • borrowed only repay (22d7e1f)
  • leverage calculation (8133b6d)
  • leverageBorrowMoreMaxRecv (9ac2768)
  • leverageBorrowMoreMaxRecv (185a998)
  • leverageCreateLoanTotalCollateral debt arg (48769cf)
  • revert bandBalances fix (8557d1d)

Features

  • _getCalldata1inch and _getRoute1inch (69e21ce)
  • calculations for leverage with borrowed token (8d15563)
  • general methods for both leverageCreateLoan and leverageBorrowMore (89795e1)
  • leverage borrow more (c30ea29)
  • leverage createLoan, borrowMore and repay txs (babe1cf)
  • leverage repay (calc methods) (d6e2048)
  • leverageBorrowMoreRoute (eb2c28a)
  • leverageCreateLoanRoute (d8563be)
  • leverageRepayRoute (bea9921)
  • return avgPrice from leverage expected methods (4afbdb3)
  • userCollateral in leverageRepay (b783893)

v1.6.9

12 Apr 22:05
2998781
Compare
Choose a tag to compare

Bug Fixes

v1.6.8

11 Apr 17:40
c8c3b87
Compare
Choose a tag to compare

Bug Fixes

  • fetch factory-twocrypto prices (8202d92)

Features

v1.6.6

03 Apr 12:06
a51a98e
Compare
Choose a tag to compare

Bug Fixes

v1.6.5

02 Apr 17:59
9ba8dce
Compare
Choose a tag to compare

Bug Fixes

v1.6.4

27 Mar 19:25
e85f0e5
Compare
Choose a tag to compare

Bug Fixes