@drift-labs/sdk 2.107.0-beta.7 → 2.107.0-beta.9
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 +12 -0
- package/lib/node/constants/perpMarkets.js +11 -0
- package/lib/node/constants/spotMarkets.js +12 -0
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +12 -0
- package/src/constants/spotMarkets.ts +13 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.107.0-beta.
|
|
1
|
+
2.107.0-beta.9
|
|
@@ -1067,6 +1067,17 @@ exports.MainnetPerpMarkets = [
|
|
|
1067
1067
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1068
1068
|
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1069
1069
|
},
|
|
1070
|
+
{
|
|
1071
|
+
fullName: 'TRUMP',
|
|
1072
|
+
category: ['Meme'],
|
|
1073
|
+
symbol: 'TRUMP-PERP',
|
|
1074
|
+
baseAssetSymbol: 'TRUMP',
|
|
1075
|
+
marketIndex: 64,
|
|
1076
|
+
oracle: new web3_js_1.PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
1077
|
+
launchTs: 1737219250000,
|
|
1078
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1079
|
+
pythFeedId: '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
1080
|
+
},
|
|
1070
1081
|
];
|
|
1071
1082
|
exports.PerpMarkets = {
|
|
1072
1083
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -544,6 +544,18 @@ exports.MainnetSpotMarkets = [
|
|
|
544
544
|
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
545
545
|
launchTs: 1736384970000,
|
|
546
546
|
},
|
|
547
|
+
{
|
|
548
|
+
symbol: 'TRUMP',
|
|
549
|
+
marketIndex: 36,
|
|
550
|
+
poolId: 0,
|
|
551
|
+
oracle: new web3_js_1.PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
552
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
553
|
+
mint: new web3_js_1.PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
554
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
555
|
+
precisionExp: numericConstants_1.SIX,
|
|
556
|
+
pythFeedId: '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
557
|
+
launchTs: 1737219250000,
|
|
558
|
+
},
|
|
547
559
|
];
|
|
548
560
|
exports.SpotMarkets = {
|
|
549
561
|
devnet: exports.DevnetSpotMarkets,
|
|
@@ -1067,6 +1067,17 @@ exports.MainnetPerpMarkets = [
|
|
|
1067
1067
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1068
1068
|
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1069
1069
|
},
|
|
1070
|
+
{
|
|
1071
|
+
fullName: 'TRUMP',
|
|
1072
|
+
category: ['Meme'],
|
|
1073
|
+
symbol: 'TRUMP-PERP',
|
|
1074
|
+
baseAssetSymbol: 'TRUMP',
|
|
1075
|
+
marketIndex: 64,
|
|
1076
|
+
oracle: new web3_js_1.PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
1077
|
+
launchTs: 1737219250000,
|
|
1078
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1079
|
+
pythFeedId: '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
1080
|
+
},
|
|
1070
1081
|
];
|
|
1071
1082
|
exports.PerpMarkets = {
|
|
1072
1083
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -544,6 +544,18 @@ exports.MainnetSpotMarkets = [
|
|
|
544
544
|
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
545
545
|
launchTs: 1736384970000,
|
|
546
546
|
},
|
|
547
|
+
{
|
|
548
|
+
symbol: 'TRUMP',
|
|
549
|
+
marketIndex: 36,
|
|
550
|
+
poolId: 0,
|
|
551
|
+
oracle: new web3_js_1.PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
552
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
553
|
+
mint: new web3_js_1.PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
554
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
555
|
+
precisionExp: numericConstants_1.SIX,
|
|
556
|
+
pythFeedId: '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
557
|
+
launchTs: 1737219250000,
|
|
558
|
+
},
|
|
547
559
|
];
|
|
548
560
|
exports.SpotMarkets = {
|
|
549
561
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -1156,6 +1156,18 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
1156
1156
|
pythFeedId:
|
|
1157
1157
|
'0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1158
1158
|
},
|
|
1159
|
+
{
|
|
1160
|
+
fullName: 'TRUMP',
|
|
1161
|
+
category: ['Meme'],
|
|
1162
|
+
symbol: 'TRUMP-PERP',
|
|
1163
|
+
baseAssetSymbol: 'TRUMP',
|
|
1164
|
+
marketIndex: 64,
|
|
1165
|
+
oracle: new PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
1166
|
+
launchTs: 1737219250000,
|
|
1167
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
1168
|
+
pythFeedId:
|
|
1169
|
+
'0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
1170
|
+
},
|
|
1159
1171
|
];
|
|
1160
1172
|
|
|
1161
1173
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -647,6 +647,19 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
647
647
|
'0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
648
648
|
launchTs: 1736384970000,
|
|
649
649
|
},
|
|
650
|
+
{
|
|
651
|
+
symbol: 'TRUMP',
|
|
652
|
+
marketIndex: 36,
|
|
653
|
+
poolId: 0,
|
|
654
|
+
oracle: new PublicKey('AmSLxftd19EPDR9NnZDxvdStqtRW7k9zWto7FfGaz24K'),
|
|
655
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
656
|
+
mint: new PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
657
|
+
precision: new BN(10).pow(SIX),
|
|
658
|
+
precisionExp: SIX,
|
|
659
|
+
pythFeedId:
|
|
660
|
+
'0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a',
|
|
661
|
+
launchTs: 1737219250000,
|
|
662
|
+
},
|
|
650
663
|
];
|
|
651
664
|
|
|
652
665
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|