@drift-labs/sdk 2.131.0-beta.4 → 2.131.0-beta.5

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.131.0-beta.4
1
+ 2.131.0-beta.5
@@ -0,0 +1,5 @@
1
+ /// <reference types="bn.js" />
2
+ /**
3
+ * Max APR for DRIFT IF vault.
4
+ */
5
+ export declare const MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV: import("bn.js");
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV = void 0;
4
+ const numericConstants_1 = require("./numericConstants");
5
+ // follows program constant MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV in math/constants.rs
6
+ /**
7
+ * Max APR for DRIFT IF vault.
8
+ */
9
+ exports.MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV = numericConstants_1.PERCENTAGE_PRECISION.divn(22);
@@ -0,0 +1,6 @@
1
+ /// <reference types="bn.js" />
2
+ /**
3
+ * Max APR for DRIFT IF vault.
4
+ */
5
+ export declare const MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV: import("bn.js");
6
+ //# sourceMappingURL=insuranceFund.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insuranceFund.d.ts","sourceRoot":"","sources":["../../../src/constants/insuranceFund.ts"],"names":[],"mappings":";AAGA;;GAEG;AACH,eAAO,MAAM,sDAAsD,iBACrC,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV = void 0;
4
+ const numericConstants_1 = require("./numericConstants");
5
+ // follows program constant MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV in math/constants.rs
6
+ /**
7
+ * Max APR for DRIFT IF vault.
8
+ */
9
+ exports.MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV = numericConstants_1.PERCENTAGE_PRECISION.divn(22);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.131.0-beta.4",
3
+ "version": "2.131.0-beta.5",
4
4
  "main": "lib/node/index.js",
5
5
  "types": "lib/node/index.d.ts",
6
6
  "browser": "./lib/browser/index.js",
@@ -0,0 +1,8 @@
1
+ import { PERCENTAGE_PRECISION } from './numericConstants';
2
+
3
+ // follows program constant MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV in math/constants.rs
4
+ /**
5
+ * Max APR for DRIFT IF vault.
6
+ */
7
+ export const MAX_APR_PER_REVENUE_SETTLE_TO_INSURANCE_FUND_VAULT_GOV =
8
+ PERCENTAGE_PRECISION.divn(22);