@drift-labs/sdk-browser 2.107.0-beta.7 → 2.107.0-beta.8
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 +10 -0
- package/lib/browser/constants/spotMarkets.js +11 -0
- package/lib/node/constants/perpMarkets.js +10 -0
- package/lib/node/constants/spotMarkets.js +11 -0
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +10 -0
- package/src/constants/spotMarkets.ts +11 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.107.0-beta.
|
|
1
|
+
2.107.0-beta.8
|
|
@@ -1067,6 +1067,16 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
1077
|
+
launchTs: 1737219250000,
|
|
1078
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
1079
|
+
},
|
|
1070
1080
|
];
|
|
1071
1081
|
exports.PerpMarkets = {
|
|
1072
1082
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -544,6 +544,17 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
552
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
553
|
+
mint: new web3_js_1.PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
554
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
555
|
+
precisionExp: numericConstants_1.SIX,
|
|
556
|
+
launchTs: 1737219250000,
|
|
557
|
+
},
|
|
547
558
|
];
|
|
548
559
|
exports.SpotMarkets = {
|
|
549
560
|
devnet: exports.DevnetSpotMarkets,
|
|
@@ -1067,6 +1067,16 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
1077
|
+
launchTs: 1737219250000,
|
|
1078
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
1079
|
+
},
|
|
1070
1080
|
];
|
|
1071
1081
|
exports.PerpMarkets = {
|
|
1072
1082
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -544,6 +544,17 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
552
|
+
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
553
|
+
mint: new web3_js_1.PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
554
|
+
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
555
|
+
precisionExp: numericConstants_1.SIX,
|
|
556
|
+
launchTs: 1737219250000,
|
|
557
|
+
},
|
|
547
558
|
];
|
|
548
559
|
exports.SpotMarkets = {
|
|
549
560
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -1156,6 +1156,16 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
1166
|
+
launchTs: 1737219250000,
|
|
1167
|
+
oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
1168
|
+
},
|
|
1159
1169
|
];
|
|
1160
1170
|
|
|
1161
1171
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -647,6 +647,17 @@ 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('FgPVZKJQyoCyDgu1aFzgfbSFFySX8Y9hX1Gp6zJpUug3'),
|
|
655
|
+
oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
656
|
+
mint: new PublicKey('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN'),
|
|
657
|
+
precision: new BN(10).pow(SIX),
|
|
658
|
+
precisionExp: SIX,
|
|
659
|
+
launchTs: 1737219250000,
|
|
660
|
+
},
|
|
650
661
|
];
|
|
651
662
|
|
|
652
663
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|