@drift-labs/sdk 2.91.0-beta.0 → 2.91.0-beta.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/VERSION +1 -1
- package/lib/constants/spotMarkets.js +20 -0
- package/package.json +1 -1
- package/src/constants/spotMarkets.ts +22 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.91.0-beta.
|
|
1
|
+
2.91.0-beta.1
|
|
@@ -311,6 +311,26 @@ exports.MainnetSpotMarkets = [
|
|
|
311
311
|
precisionExp: numericConstants_1.SIX,
|
|
312
312
|
pythFeedId: '0xc1da1b73d7f01e7ddd54b3766cf7fcd644395ad14f70aa706ec5384c59e76692',
|
|
313
313
|
},
|
|
314
|
+
{
|
|
315
|
+
symbol: 'USDe',
|
|
316
|
+
marketIndex: 23,
|
|
317
|
+
oracle: new web3_js_1.PublicKey('BXej5boX2nWudwAfZQedo212B9XJxhjTeeF3GbCwXmYa'),
|
|
318
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
319
|
+
mint: new web3_js_1.PublicKey('DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT'),
|
|
320
|
+
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
321
|
+
precisionExp: numericConstants_1.NINE,
|
|
322
|
+
pythFeedId: '0x6ec879b1e9963de5ee97e9c8710b742d6228252a5e2ca12d4ae81d7fe5ee8c5d',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
symbol: 'sUSDe',
|
|
326
|
+
marketIndex: 24,
|
|
327
|
+
oracle: new web3_js_1.PublicKey('BRuNuzLAPHHGSSVAJPKMcmJMdgDfrekvnSxkxPDGdeqp'),
|
|
328
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
329
|
+
mint: new web3_js_1.PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'),
|
|
330
|
+
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
331
|
+
precisionExp: numericConstants_1.NINE,
|
|
332
|
+
pythFeedId: '0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c',
|
|
333
|
+
},
|
|
314
334
|
];
|
|
315
335
|
exports.SpotMarkets = {
|
|
316
336
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -384,6 +384,28 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
384
384
|
pythFeedId:
|
|
385
385
|
'0xc1da1b73d7f01e7ddd54b3766cf7fcd644395ad14f70aa706ec5384c59e76692',
|
|
386
386
|
},
|
|
387
|
+
{
|
|
388
|
+
symbol: 'USDe',
|
|
389
|
+
marketIndex: 23,
|
|
390
|
+
oracle: new PublicKey('BXej5boX2nWudwAfZQedo212B9XJxhjTeeF3GbCwXmYa'),
|
|
391
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
392
|
+
mint: new PublicKey('DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT'),
|
|
393
|
+
precision: new BN(10).pow(NINE),
|
|
394
|
+
precisionExp: NINE,
|
|
395
|
+
pythFeedId:
|
|
396
|
+
'0x6ec879b1e9963de5ee97e9c8710b742d6228252a5e2ca12d4ae81d7fe5ee8c5d',
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
symbol: 'sUSDe',
|
|
400
|
+
marketIndex: 24,
|
|
401
|
+
oracle: new PublicKey('BRuNuzLAPHHGSSVAJPKMcmJMdgDfrekvnSxkxPDGdeqp'),
|
|
402
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
403
|
+
mint: new PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'),
|
|
404
|
+
precision: new BN(10).pow(NINE),
|
|
405
|
+
precisionExp: NINE,
|
|
406
|
+
pythFeedId:
|
|
407
|
+
'0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c',
|
|
408
|
+
},
|
|
387
409
|
];
|
|
388
410
|
|
|
389
411
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|