@drift-labs/sdk 2.60.0-beta.2 → 2.60.0-beta.4
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/perpMarkets.js +10 -0
- package/lib/constants/spotMarkets.js +10 -0
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +10 -0
- package/src/constants/spotMarkets.ts +12 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.60.0-beta.
|
|
1
|
+
2.60.0-beta.4
|
|
@@ -486,6 +486,16 @@ exports.MainnetPerpMarkets = [
|
|
|
486
486
|
launchTs: 1706219971000,
|
|
487
487
|
oracleSource: __1.OracleSource.PYTH,
|
|
488
488
|
},
|
|
489
|
+
{
|
|
490
|
+
fullName: 'JUP',
|
|
491
|
+
category: ['Exchange', 'Infra'],
|
|
492
|
+
symbol: 'JUP-PERP',
|
|
493
|
+
baseAssetSymbol: 'JUP',
|
|
494
|
+
marketIndex: 24,
|
|
495
|
+
oracle: new web3_js_1.PublicKey('g6eRCbboSwK4tSWngn773RCMexr1APQr4uA9bGZBYfo'),
|
|
496
|
+
launchTs: 1706713201000,
|
|
497
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
498
|
+
},
|
|
489
499
|
];
|
|
490
500
|
exports.PerpMarkets = {
|
|
491
501
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -150,6 +150,16 @@ exports.MainnetSpotMarkets = [
|
|
|
150
150
|
precisionExp: numericConstants_1.SIX,
|
|
151
151
|
serumMarket: new web3_js_1.PublicKey('2BtDHBTCTUxvdur498ZEcMgimasaFrY5GzLv8wS8XgCb'),
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
symbol: 'JUP',
|
|
155
|
+
marketIndex: 11,
|
|
156
|
+
oracle: new web3_js_1.PublicKey('g6eRCbboSwK4tSWngn773RCMexr1APQr4uA9bGZBYfo'),
|
|
157
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
158
|
+
mint: new web3_js_1.PublicKey('JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN'),
|
|
159
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
160
|
+
precisionExp: numericConstants_1.SIX,
|
|
161
|
+
phoenixMarket: new web3_js_1.PublicKey('2pspvjWWaf3dNgt3jsgSzFCNvMGPb7t8FrEYvLGjvcCe'),
|
|
162
|
+
},
|
|
153
163
|
];
|
|
154
164
|
exports.SpotMarkets = {
|
|
155
165
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -497,6 +497,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
497
497
|
launchTs: 1706219971000,
|
|
498
498
|
oracleSource: OracleSource.PYTH,
|
|
499
499
|
},
|
|
500
|
+
{
|
|
501
|
+
fullName: 'JUP',
|
|
502
|
+
category: ['Exchange', 'Infra'],
|
|
503
|
+
symbol: 'JUP-PERP',
|
|
504
|
+
baseAssetSymbol: 'JUP',
|
|
505
|
+
marketIndex: 24,
|
|
506
|
+
oracle: new PublicKey('g6eRCbboSwK4tSWngn773RCMexr1APQr4uA9bGZBYfo'),
|
|
507
|
+
launchTs: 1706713201000,
|
|
508
|
+
oracleSource: OracleSource.PYTH,
|
|
509
|
+
},
|
|
500
510
|
];
|
|
501
511
|
|
|
502
512
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -180,6 +180,18 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
180
180
|
precisionExp: SIX,
|
|
181
181
|
serumMarket: new PublicKey('2BtDHBTCTUxvdur498ZEcMgimasaFrY5GzLv8wS8XgCb'),
|
|
182
182
|
},
|
|
183
|
+
{
|
|
184
|
+
symbol: 'JUP',
|
|
185
|
+
marketIndex: 11,
|
|
186
|
+
oracle: new PublicKey('g6eRCbboSwK4tSWngn773RCMexr1APQr4uA9bGZBYfo'),
|
|
187
|
+
oracleSource: OracleSource.PYTH,
|
|
188
|
+
mint: new PublicKey('JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN'),
|
|
189
|
+
precision: new BN(10).pow(SIX),
|
|
190
|
+
precisionExp: SIX,
|
|
191
|
+
phoenixMarket: new PublicKey(
|
|
192
|
+
'2pspvjWWaf3dNgt3jsgSzFCNvMGPb7t8FrEYvLGjvcCe'
|
|
193
|
+
),
|
|
194
|
+
},
|
|
183
195
|
];
|
|
184
196
|
|
|
185
197
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|