impermax-sdk 2.1.541 → 2.1.542

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,8 +35,9 @@ class BorrowableEntity {
35
35
  return this.totalBorrows / this.totalSupply;
36
36
  }
37
37
  // TODO implement debt ceiling
38
+ // TODO implement flash allocate
38
39
  getInitialAvailableToBorrow() {
39
- return this.initialTotalSupply - this.initialTotalBorrows;
40
+ return this.initialTotalSupply - this.initialTotalBorrows + 1e9;
40
41
  }
41
42
  getAvailableToBorrow() {
42
43
  return this.totalSupply - this.totalBorrows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.541",
3
+ "version": "2.1.542",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",