flash-sdk 12.1.2-alpha.0 → 13.0.1
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/dist/PerpetualsClient.d.ts +30 -26
- package/dist/PerpetualsClient.js +979 -744
- package/dist/PoolConfig.json +6 -6
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.js +2 -1
- package/dist/idl/perpetuals.d.ts +234 -127
- package/dist/idl/perpetuals.json +234 -127
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/generated.d.ts +7 -10
- package/package.json +3 -4
package/dist/PoolConfig.json
CHANGED
|
@@ -3755,9 +3755,9 @@
|
|
|
3755
3755
|
"tokenPrecision": 4,
|
|
3756
3756
|
"isStable": false,
|
|
3757
3757
|
"isVirtual": false,
|
|
3758
|
-
"lazerId":
|
|
3759
|
-
"pythTicker": "Crypto.
|
|
3760
|
-
"pythPriceId": "
|
|
3758
|
+
"lazerId": 2382,
|
|
3759
|
+
"pythTicker": "Crypto.MET/USD",
|
|
3760
|
+
"pythPriceId": "0x0292e0f405bcd4a496d34e48307f6787349ad2bcd8505c3d3a9f77d81a67a682",
|
|
3761
3761
|
"isToken2022": false
|
|
3762
3762
|
}
|
|
3763
3763
|
],
|
|
@@ -3894,9 +3894,9 @@
|
|
|
3894
3894
|
"isVirtual": false,
|
|
3895
3895
|
"intOracleAddress": "792tp3W9dzvfofq65LgtoJdfCdb9cRoXm1pAT3nxNEbG",
|
|
3896
3896
|
"extOracleAddress": "BEMsCSQEGi2kwPA4mKnGjxnreijhMki7L4eeb96ypzF9",
|
|
3897
|
-
"lazerId":
|
|
3898
|
-
"pythTicker": "Crypto.
|
|
3899
|
-
"pythPriceId": "
|
|
3897
|
+
"lazerId": 2382,
|
|
3898
|
+
"pythTicker": "Crypto.MET/USD",
|
|
3899
|
+
"pythPriceId": "0x0292e0f405bcd4a496d34e48307f6787349ad2bcd8505c3d3a9f77d81a67a682"
|
|
3900
3900
|
}
|
|
3901
3901
|
],
|
|
3902
3902
|
"markets": [
|
package/dist/constants/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.METAPLEX_PROGRAM_ID = exports.DAY_SECONDS = exports.BN_ONE = exports.BN_ZERO = exports.ORACLE_EXPONENT = exports.RATE_POWER = exports.RATE_DECIMALS = exports.FAF_DECIMALS = exports.LP_DECIMALS = exports.BPS_POWER = exports.BPS_DECIMALS = exports.USD_DECIMALS = exports.PERCENTAGE_DECIMALS = void 0;
|
|
3
|
+
exports.PYTH_LAZER_PROGRAM_ID = exports.METAPLEX_PROGRAM_ID = exports.DAY_SECONDS = exports.BN_ONE = exports.BN_ZERO = exports.ORACLE_EXPONENT = exports.RATE_POWER = exports.RATE_DECIMALS = exports.FAF_DECIMALS = exports.LP_DECIMALS = exports.BPS_POWER = exports.BPS_DECIMALS = exports.USD_DECIMALS = exports.PERCENTAGE_DECIMALS = void 0;
|
|
4
4
|
var web3_js_1 = require("@solana/web3.js");
|
|
5
5
|
var bn_js_1 = require("bn.js");
|
|
6
6
|
exports.PERCENTAGE_DECIMALS = 4;
|
|
@@ -16,3 +16,4 @@ exports.BN_ZERO = new bn_js_1.BN(0);
|
|
|
16
16
|
exports.BN_ONE = new bn_js_1.BN(1);
|
|
17
17
|
exports.DAY_SECONDS = new bn_js_1.BN(3600);
|
|
18
18
|
exports.METAPLEX_PROGRAM_ID = new web3_js_1.PublicKey("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s");
|
|
19
|
+
exports.PYTH_LAZER_PROGRAM_ID = new web3_js_1.PublicKey("pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt");
|