@drift-labs/sdk 2.98.0-beta.0 → 2.98.0-beta.2
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/browser/constants/perpMarkets.js +11 -0
- package/lib/browser/constants/spotMarkets.js +2 -2
- package/lib/node/constants/perpMarkets.js +11 -0
- package/lib/node/constants/spotMarkets.js +2 -2
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +12 -0
- package/src/constants/spotMarkets.ts +2 -2
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.98.0-beta.
|
|
1
|
+
2.98.0-beta.2
|
|
@@ -861,6 +861,17 @@ exports.MainnetPerpMarkets = [
|
|
|
861
861
|
launchTs: 1729209600000,
|
|
862
862
|
oracleSource: __1.OracleSource.Prelaunch,
|
|
863
863
|
},
|
|
864
|
+
{
|
|
865
|
+
fullName: '1KMEW',
|
|
866
|
+
category: ['Meme'],
|
|
867
|
+
symbol: '1KMEW-PERP',
|
|
868
|
+
baseAssetSymbol: '1KMEW',
|
|
869
|
+
marketIndex: 51,
|
|
870
|
+
oracle: new web3_js_1.PublicKey('DKGwCUcwngwmgifGxnme7zVR695LCBGk2pnuksRnbhfD'),
|
|
871
|
+
launchTs: 1729702915000,
|
|
872
|
+
oracleSource: __1.OracleSource.PYTH_1K_PULL,
|
|
873
|
+
pythFeedId: '0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
|
|
874
|
+
},
|
|
864
875
|
];
|
|
865
876
|
exports.PerpMarkets = {
|
|
866
877
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -253,8 +253,8 @@ exports.MainnetSpotMarkets = [
|
|
|
253
253
|
{
|
|
254
254
|
symbol: 'dSOL',
|
|
255
255
|
marketIndex: 17,
|
|
256
|
-
oracle: new web3_js_1.PublicKey('
|
|
257
|
-
oracleSource: __1.OracleSource.
|
|
256
|
+
oracle: new web3_js_1.PublicKey('7QJ6e57t3yM8HYVg6bAnJiCiZ3wQQ5CSVsa6GA16nJuK'),
|
|
257
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
258
258
|
mint: new web3_js_1.PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
259
259
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
260
260
|
precisionExp: numericConstants_1.NINE,
|
|
@@ -861,6 +861,17 @@ exports.MainnetPerpMarkets = [
|
|
|
861
861
|
launchTs: 1729209600000,
|
|
862
862
|
oracleSource: __1.OracleSource.Prelaunch,
|
|
863
863
|
},
|
|
864
|
+
{
|
|
865
|
+
fullName: '1KMEW',
|
|
866
|
+
category: ['Meme'],
|
|
867
|
+
symbol: '1KMEW-PERP',
|
|
868
|
+
baseAssetSymbol: '1KMEW',
|
|
869
|
+
marketIndex: 51,
|
|
870
|
+
oracle: new web3_js_1.PublicKey('DKGwCUcwngwmgifGxnme7zVR695LCBGk2pnuksRnbhfD'),
|
|
871
|
+
launchTs: 1729702915000,
|
|
872
|
+
oracleSource: __1.OracleSource.PYTH_1K_PULL,
|
|
873
|
+
pythFeedId: '0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
|
|
874
|
+
},
|
|
864
875
|
];
|
|
865
876
|
exports.PerpMarkets = {
|
|
866
877
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -253,8 +253,8 @@ exports.MainnetSpotMarkets = [
|
|
|
253
253
|
{
|
|
254
254
|
symbol: 'dSOL',
|
|
255
255
|
marketIndex: 17,
|
|
256
|
-
oracle: new web3_js_1.PublicKey('
|
|
257
|
-
oracleSource: __1.OracleSource.
|
|
256
|
+
oracle: new web3_js_1.PublicKey('7QJ6e57t3yM8HYVg6bAnJiCiZ3wQQ5CSVsa6GA16nJuK'),
|
|
257
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
258
258
|
mint: new web3_js_1.PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
259
259
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
260
260
|
precisionExp: numericConstants_1.NINE,
|
package/package.json
CHANGED
|
@@ -938,6 +938,18 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
938
938
|
launchTs: 1729209600000,
|
|
939
939
|
oracleSource: OracleSource.Prelaunch,
|
|
940
940
|
},
|
|
941
|
+
{
|
|
942
|
+
fullName: '1KMEW',
|
|
943
|
+
category: ['Meme'],
|
|
944
|
+
symbol: '1KMEW-PERP',
|
|
945
|
+
baseAssetSymbol: '1KMEW',
|
|
946
|
+
marketIndex: 51,
|
|
947
|
+
oracle: new PublicKey('DKGwCUcwngwmgifGxnme7zVR695LCBGk2pnuksRnbhfD'),
|
|
948
|
+
launchTs: 1729702915000,
|
|
949
|
+
oracleSource: OracleSource.PYTH_1K_PULL,
|
|
950
|
+
pythFeedId:
|
|
951
|
+
'0x514aed52ca5294177f20187ae883cec4a018619772ddce41efcc36a6448f5d5d',
|
|
952
|
+
},
|
|
941
953
|
];
|
|
942
954
|
|
|
943
955
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -325,8 +325,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
325
325
|
{
|
|
326
326
|
symbol: 'dSOL',
|
|
327
327
|
marketIndex: 17,
|
|
328
|
-
oracle: new PublicKey('
|
|
329
|
-
oracleSource: OracleSource.
|
|
328
|
+
oracle: new PublicKey('7QJ6e57t3yM8HYVg6bAnJiCiZ3wQQ5CSVsa6GA16nJuK'),
|
|
329
|
+
oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
330
330
|
mint: new PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
331
331
|
precision: new BN(10).pow(NINE),
|
|
332
332
|
precisionExp: NINE,
|