@drift-labs/sdk 2.39.1-beta.1 → 2.40.0-beta.0
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 +10 -0
- package/package.json +1 -1
- package/src/constants/spotMarkets.ts +10 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.40.0-beta.0
|
|
@@ -98,6 +98,16 @@ exports.MainnetSpotMarkets = [
|
|
|
98
98
|
precisionExp: numericConstants_1.QUOTE_PRECISION_EXP,
|
|
99
99
|
serumMarket: new web3_js_1.PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
|
|
100
100
|
},
|
|
101
|
+
{
|
|
102
|
+
symbol: 'jitoSOL',
|
|
103
|
+
marketIndex: 6,
|
|
104
|
+
oracle: new web3_js_1.PublicKey('7yyaeuJ1GGtVBLT2z2xub5ZWYKaNhF28mj1RdV4VDFVk'),
|
|
105
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
106
|
+
mint: new web3_js_1.PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
107
|
+
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
108
|
+
precisionExp: numericConstants_1.NINE,
|
|
109
|
+
serumMarket: new web3_js_1.PublicKey('JAmhJbmBzLp2aTp9mNJodPsTcpCJsmq5jpr6CuCbWHvR'),
|
|
110
|
+
},
|
|
101
111
|
];
|
|
102
112
|
exports.SpotMarkets = {
|
|
103
113
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -124,6 +124,16 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
124
124
|
precisionExp: QUOTE_PRECISION_EXP,
|
|
125
125
|
serumMarket: new PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
|
|
126
126
|
},
|
|
127
|
+
{
|
|
128
|
+
symbol: 'jitoSOL',
|
|
129
|
+
marketIndex: 6,
|
|
130
|
+
oracle: new PublicKey('7yyaeuJ1GGtVBLT2z2xub5ZWYKaNhF28mj1RdV4VDFVk'),
|
|
131
|
+
oracleSource: OracleSource.PYTH,
|
|
132
|
+
mint: new PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
133
|
+
precision: new BN(10).pow(NINE),
|
|
134
|
+
precisionExp: NINE,
|
|
135
|
+
serumMarket: new PublicKey('JAmhJbmBzLp2aTp9mNJodPsTcpCJsmq5jpr6CuCbWHvR'),
|
|
136
|
+
},
|
|
127
137
|
];
|
|
128
138
|
|
|
129
139
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|