@drift-labs/sdk 2.26.0 → 2.27.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/lib/constants/perpMarkets.js +20 -0
- package/lib/idl/drift.json +1 -1
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +20 -0
- package/src/idl/drift.json +1 -1
|
@@ -94,6 +94,16 @@ exports.DevnetPerpMarkets = [
|
|
|
94
94
|
launchTs: 1680808053000,
|
|
95
95
|
oracleSource: __1.OracleSource.PYTH,
|
|
96
96
|
},
|
|
97
|
+
{
|
|
98
|
+
fullName: 'Sui',
|
|
99
|
+
category: ['L1'],
|
|
100
|
+
symbol: 'SUI-PERP',
|
|
101
|
+
baseAssetSymbol: 'SUI',
|
|
102
|
+
marketIndex: 9,
|
|
103
|
+
oracle: new web3_js_1.PublicKey('6SK9vS8eMSSj3LUX2dPku93CrNv8xLCp9ng39F39h7A5'),
|
|
104
|
+
launchTs: 1683125906000,
|
|
105
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
106
|
+
},
|
|
97
107
|
];
|
|
98
108
|
exports.MainnetPerpMarkets = [
|
|
99
109
|
{
|
|
@@ -186,6 +196,16 @@ exports.MainnetPerpMarkets = [
|
|
|
186
196
|
launchTs: 1680808053000,
|
|
187
197
|
oracleSource: __1.OracleSource.PYTH,
|
|
188
198
|
},
|
|
199
|
+
{
|
|
200
|
+
fullName: 'Sui',
|
|
201
|
+
category: ['L1'],
|
|
202
|
+
symbol: 'SUI-PERP',
|
|
203
|
+
baseAssetSymbol: 'SUI',
|
|
204
|
+
marketIndex: 9,
|
|
205
|
+
oracle: new web3_js_1.PublicKey('3Qub3HaAJaa2xNY7SUqPKd3vVwTqDfDDkEUMPjXD2c1q'),
|
|
206
|
+
launchTs: 1683125906000,
|
|
207
|
+
oracleSource: __1.OracleSource.PYTH,
|
|
208
|
+
},
|
|
189
209
|
];
|
|
190
210
|
exports.PerpMarkets = {
|
|
191
211
|
devnet: exports.DevnetPerpMarkets,
|
package/lib/idl/drift.json
CHANGED
package/package.json
CHANGED
|
@@ -104,6 +104,16 @@ export const DevnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
104
104
|
launchTs: 1680808053000,
|
|
105
105
|
oracleSource: OracleSource.PYTH,
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
fullName: 'Sui',
|
|
109
|
+
category: ['L1'],
|
|
110
|
+
symbol: 'SUI-PERP',
|
|
111
|
+
baseAssetSymbol: 'SUI',
|
|
112
|
+
marketIndex: 9,
|
|
113
|
+
oracle: new PublicKey('6SK9vS8eMSSj3LUX2dPku93CrNv8xLCp9ng39F39h7A5'),
|
|
114
|
+
launchTs: 1683125906000,
|
|
115
|
+
oracleSource: OracleSource.PYTH,
|
|
116
|
+
},
|
|
107
117
|
];
|
|
108
118
|
|
|
109
119
|
export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
@@ -197,6 +207,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
197
207
|
launchTs: 1680808053000,
|
|
198
208
|
oracleSource: OracleSource.PYTH,
|
|
199
209
|
},
|
|
210
|
+
{
|
|
211
|
+
fullName: 'Sui',
|
|
212
|
+
category: ['L1'],
|
|
213
|
+
symbol: 'SUI-PERP',
|
|
214
|
+
baseAssetSymbol: 'SUI',
|
|
215
|
+
marketIndex: 9,
|
|
216
|
+
oracle: new PublicKey('3Qub3HaAJaa2xNY7SUqPKd3vVwTqDfDDkEUMPjXD2c1q'),
|
|
217
|
+
launchTs: 1683125906000,
|
|
218
|
+
oracleSource: OracleSource.PYTH,
|
|
219
|
+
},
|
|
200
220
|
];
|
|
201
221
|
|
|
202
222
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
package/src/idl/drift.json
CHANGED