@drift-labs/sdk 2.86.0-beta.5 → 2.86.0-beta.7
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 +1 -1
- package/lib/constants/spotMarkets.js +2 -2
- package/lib/types.d.ts +4 -0
- package/package.json +1 -1
- package/src/constants/spotMarkets.ts +2 -2
- package/src/types.ts +4 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.86.0-beta.
|
|
1
|
+
2.86.0-beta.7
|
|
@@ -271,13 +271,13 @@ exports.MainnetSpotMarkets = [
|
|
|
271
271
|
{
|
|
272
272
|
symbol: 'POPCAT',
|
|
273
273
|
marketIndex: 20,
|
|
274
|
-
oracle: new web3_js_1.PublicKey('
|
|
274
|
+
oracle: new web3_js_1.PublicKey('3GjpjC8TWsPqjyFSiR7saGxgzD8zqYJNsBnWpenZPEBy'),
|
|
275
275
|
oracleSource: __1.OracleSource.SWITCHBOARD,
|
|
276
276
|
mint: new web3_js_1.PublicKey('7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr'),
|
|
277
277
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
278
278
|
precisionExp: numericConstants_1.NINE,
|
|
279
279
|
launchTs: 1720013054000,
|
|
280
|
-
phoenixMarket: new web3_js_1.PublicKey('
|
|
280
|
+
phoenixMarket: new web3_js_1.PublicKey('31XgvAQ1HgFQEk31KdszbPkVXKaQqB1bgYZPoDrFpSR2'),
|
|
281
281
|
},
|
|
282
282
|
];
|
|
283
283
|
exports.SpotMarkets = {
|
package/lib/types.d.ts
CHANGED
|
@@ -732,6 +732,8 @@ export type PerpMarketAccount = {
|
|
|
732
732
|
feeAdjustment: number;
|
|
733
733
|
pausedOperations: number;
|
|
734
734
|
fuelBoostPosition: number;
|
|
735
|
+
fuelBoostMaker: number;
|
|
736
|
+
fuelBoostTaker: number;
|
|
735
737
|
};
|
|
736
738
|
export type HistoricalOracleData = {
|
|
737
739
|
lastOraclePrice: BN;
|
|
@@ -815,6 +817,8 @@ export type SpotMarketAccount = {
|
|
|
815
817
|
minBorrowRate: number;
|
|
816
818
|
fuelBoostDeposits: number;
|
|
817
819
|
fuelBoostBorrows: number;
|
|
820
|
+
fuelBoostMaker: number;
|
|
821
|
+
fuelBoostTaker: number;
|
|
818
822
|
};
|
|
819
823
|
export type PoolBalance = {
|
|
820
824
|
scaledBalance: BN;
|
package/package.json
CHANGED
|
@@ -337,14 +337,14 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
337
337
|
{
|
|
338
338
|
symbol: 'POPCAT',
|
|
339
339
|
marketIndex: 20,
|
|
340
|
-
oracle: new PublicKey('
|
|
340
|
+
oracle: new PublicKey('3GjpjC8TWsPqjyFSiR7saGxgzD8zqYJNsBnWpenZPEBy'),
|
|
341
341
|
oracleSource: OracleSource.SWITCHBOARD,
|
|
342
342
|
mint: new PublicKey('7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr'),
|
|
343
343
|
precision: new BN(10).pow(NINE),
|
|
344
344
|
precisionExp: NINE,
|
|
345
345
|
launchTs: 1720013054000,
|
|
346
346
|
phoenixMarket: new PublicKey(
|
|
347
|
-
'
|
|
347
|
+
'31XgvAQ1HgFQEk31KdszbPkVXKaQqB1bgYZPoDrFpSR2'
|
|
348
348
|
),
|
|
349
349
|
},
|
|
350
350
|
];
|
package/src/types.ts
CHANGED
|
@@ -638,6 +638,8 @@ export type PerpMarketAccount = {
|
|
|
638
638
|
pausedOperations: number;
|
|
639
639
|
|
|
640
640
|
fuelBoostPosition: number;
|
|
641
|
+
fuelBoostMaker: number;
|
|
642
|
+
fuelBoostTaker: number;
|
|
641
643
|
};
|
|
642
644
|
|
|
643
645
|
export type HistoricalOracleData = {
|
|
@@ -739,6 +741,8 @@ export type SpotMarketAccount = {
|
|
|
739
741
|
|
|
740
742
|
fuelBoostDeposits: number;
|
|
741
743
|
fuelBoostBorrows: number;
|
|
744
|
+
fuelBoostMaker: number;
|
|
745
|
+
fuelBoostTaker: number;
|
|
742
746
|
};
|
|
743
747
|
|
|
744
748
|
export type PoolBalance = {
|