@drift-labs/sdk 2.56.0-beta.1 → 2.57.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/perpMarkets.js +20 -0
- package/lib/constants/spotMarkets.js +10 -0
- package/lib/idl/drift.json +1 -1
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +20 -0
- package/src/constants/spotMarkets.ts +10 -0
- package/src/idl/drift.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.57.0-beta.1
|
|
@@ -234,6 +234,16 @@ exports.DevnetPerpMarkets = [
|
|
|
234
234
|
launchTs: 1704209558000,
|
|
235
235
|
oracleSource: __1.OracleSource.PYTH,
|
|
236
236
|
},
|
|
237
|
+
// {
|
|
238
|
+
// fullName: 'WIF',
|
|
239
|
+
// category: ['Meme', 'Dog'],
|
|
240
|
+
// symbol: 'WIF-PERP',
|
|
241
|
+
// baseAssetSymbol: 'WIF',
|
|
242
|
+
// marketIndex: 23,
|
|
243
|
+
// oracle: new PublicKey('5i1sz2QQjCQt9PnhuPvqbiYUAYCgjdRnza1JbiH2qRCo'),
|
|
244
|
+
// launchTs: 1706219971000,
|
|
245
|
+
// oracleSource: OracleSource.PYTH,
|
|
246
|
+
// },
|
|
237
247
|
];
|
|
238
248
|
exports.MainnetPerpMarkets = [
|
|
239
249
|
{
|
|
@@ -466,6 +476,16 @@ exports.MainnetPerpMarkets = [
|
|
|
466
476
|
launchTs: 1704209558000,
|
|
467
477
|
oracleSource: __1.OracleSource.PYTH,
|
|
468
478
|
},
|
|
479
|
+
{
|
|
480
|
+
fullName: 'WIF',
|
|
481
|
+
category: ['Meme', 'Dog'],
|
|
482
|
+
symbol: 'WIF-PERP',
|
|
483
|
+
baseAssetSymbol: 'WIF',
|
|
484
|
+
marketIndex: 23,
|
|
485
|
+
oracle: new web3_js_1.PublicKey('6ABgrEZk8urs6kJ1JNdC1sspH5zKXRqxy8sg3ZG2cQps'),
|
|
486
|
+
launchTs: 1706219971000,
|
|
487
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
488
|
+
},
|
|
469
489
|
];
|
|
470
490
|
exports.PerpMarkets = {
|
|
471
491
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -140,6 +140,16 @@ exports.MainnetSpotMarkets = [
|
|
|
140
140
|
precisionExp: numericConstants_1.NINE,
|
|
141
141
|
serumMarket: new web3_js_1.PublicKey('H87FfmHABiZLRGrDsXRZtqq25YpARzaokCzL1vMYGiep'),
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
symbol: 'WIF',
|
|
145
|
+
marketIndex: 10,
|
|
146
|
+
oracle: new web3_js_1.PublicKey('6ABgrEZk8urs6kJ1JNdC1sspH5zKXRqxy8sg3ZG2cQps'),
|
|
147
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
148
|
+
mint: new web3_js_1.PublicKey('EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm'),
|
|
149
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
150
|
+
precisionExp: numericConstants_1.SIX,
|
|
151
|
+
serumMarket: new web3_js_1.PublicKey('2BtDHBTCTUxvdur498ZEcMgimasaFrY5GzLv8wS8XgCb'),
|
|
152
|
+
},
|
|
143
153
|
];
|
|
144
154
|
exports.SpotMarkets = {
|
|
145
155
|
devnet: exports.DevnetSpotMarkets,
|
package/lib/idl/drift.json
CHANGED
package/package.json
CHANGED
|
@@ -244,6 +244,16 @@ export const DevnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
244
244
|
launchTs: 1704209558000,
|
|
245
245
|
oracleSource: OracleSource.PYTH,
|
|
246
246
|
},
|
|
247
|
+
// {
|
|
248
|
+
// fullName: 'WIF',
|
|
249
|
+
// category: ['Meme', 'Dog'],
|
|
250
|
+
// symbol: 'WIF-PERP',
|
|
251
|
+
// baseAssetSymbol: 'WIF',
|
|
252
|
+
// marketIndex: 23,
|
|
253
|
+
// oracle: new PublicKey('5i1sz2QQjCQt9PnhuPvqbiYUAYCgjdRnza1JbiH2qRCo'),
|
|
254
|
+
// launchTs: 1706219971000,
|
|
255
|
+
// oracleSource: OracleSource.PYTH,
|
|
256
|
+
// },
|
|
247
257
|
];
|
|
248
258
|
|
|
249
259
|
export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
@@ -477,6 +487,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
477
487
|
launchTs: 1704209558000,
|
|
478
488
|
oracleSource: OracleSource.PYTH,
|
|
479
489
|
},
|
|
490
|
+
{
|
|
491
|
+
fullName: 'WIF',
|
|
492
|
+
category: ['Meme', 'Dog'],
|
|
493
|
+
symbol: 'WIF-PERP',
|
|
494
|
+
baseAssetSymbol: 'WIF',
|
|
495
|
+
marketIndex: 23,
|
|
496
|
+
oracle: new PublicKey('6ABgrEZk8urs6kJ1JNdC1sspH5zKXRqxy8sg3ZG2cQps'),
|
|
497
|
+
launchTs: 1706219971000,
|
|
498
|
+
oracleSource: OracleSource.PYTH,
|
|
499
|
+
},
|
|
480
500
|
];
|
|
481
501
|
|
|
482
502
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -170,6 +170,16 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
170
170
|
precisionExp: NINE,
|
|
171
171
|
serumMarket: new PublicKey('H87FfmHABiZLRGrDsXRZtqq25YpARzaokCzL1vMYGiep'),
|
|
172
172
|
},
|
|
173
|
+
{
|
|
174
|
+
symbol: 'WIF',
|
|
175
|
+
marketIndex: 10,
|
|
176
|
+
oracle: new PublicKey('6ABgrEZk8urs6kJ1JNdC1sspH5zKXRqxy8sg3ZG2cQps'),
|
|
177
|
+
oracleSource: OracleSource.PYTH,
|
|
178
|
+
mint: new PublicKey('EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm'),
|
|
179
|
+
precision: new BN(10).pow(SIX),
|
|
180
|
+
precisionExp: SIX,
|
|
181
|
+
serumMarket: new PublicKey('2BtDHBTCTUxvdur498ZEcMgimasaFrY5GzLv8wS8XgCb'),
|
|
182
|
+
},
|
|
173
183
|
];
|
|
174
184
|
|
|
175
185
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|
package/src/idl/drift.json
CHANGED