@drift-labs/sdk 2.107.0-beta.5 → 2.107.0-beta.7
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/addresses/pda.d.ts +1 -1
- package/lib/browser/addresses/pda.js +2 -2
- package/lib/browser/adminClient.d.ts +4 -2
- package/lib/browser/adminClient.js +21 -4
- package/lib/browser/constants/perpMarkets.js +52 -0
- package/lib/browser/constants/spotMarkets.js +19 -0
- package/lib/browser/driftClient.d.ts +6 -6
- package/lib/browser/driftClient.js +15 -22
- package/lib/browser/idl/drift.json +41 -16
- package/lib/browser/swift/swiftOrderSubscriber.d.ts +2 -2
- package/lib/node/addresses/pda.d.ts +1 -1
- package/lib/node/addresses/pda.js +2 -2
- package/lib/node/adminClient.d.ts +4 -2
- package/lib/node/adminClient.js +21 -4
- package/lib/node/constants/perpMarkets.js +52 -0
- package/lib/node/constants/spotMarkets.js +19 -0
- package/lib/node/driftClient.d.ts +6 -6
- package/lib/node/driftClient.js +15 -22
- package/lib/node/idl/drift.json +41 -16
- package/lib/node/swift/swiftOrderSubscriber.d.ts +2 -2
- package/package.json +1 -1
- package/src/addresses/pda.ts +2 -2
- package/src/adminClient.ts +57 -17
- package/src/constants/perpMarkets.ts +52 -0
- package/src/constants/spotMarkets.ts +19 -0
- package/src/driftClient.ts +14 -30
- package/src/idl/drift.json +41 -16
- package/src/swift/swiftOrderSubscriber.ts +2 -2
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.107.0-beta.
|
|
1
|
+
2.107.0-beta.7
|
|
@@ -9,7 +9,7 @@ export declare function getUserAccountPublicKey(programId: PublicKey, authority:
|
|
|
9
9
|
export declare function getUserAccountPublicKeySync(programId: PublicKey, authority: PublicKey, subAccountId?: number): PublicKey;
|
|
10
10
|
export declare function getUserStatsAccountPublicKey(programId: PublicKey, authority: PublicKey): PublicKey;
|
|
11
11
|
export declare function getRFQUserAccountPublicKey(programId: PublicKey, userAccountPublicKey: PublicKey): PublicKey;
|
|
12
|
-
export declare function getSwiftUserAccountPublicKey(programId: PublicKey,
|
|
12
|
+
export declare function getSwiftUserAccountPublicKey(programId: PublicKey, authority: PublicKey): PublicKey;
|
|
13
13
|
export declare function getPerpMarketPublicKey(programId: PublicKey, marketIndex: number): Promise<PublicKey>;
|
|
14
14
|
export declare function getPerpMarketPublicKeySync(programId: PublicKey, marketIndex: number): PublicKey;
|
|
15
15
|
export declare function getSpotMarketPublicKey(programId: PublicKey, marketIndex: number): Promise<PublicKey>;
|
|
@@ -69,10 +69,10 @@ function getRFQUserAccountPublicKey(programId, userAccountPublicKey) {
|
|
|
69
69
|
], programId)[0];
|
|
70
70
|
}
|
|
71
71
|
exports.getRFQUserAccountPublicKey = getRFQUserAccountPublicKey;
|
|
72
|
-
function getSwiftUserAccountPublicKey(programId,
|
|
72
|
+
function getSwiftUserAccountPublicKey(programId, authority) {
|
|
73
73
|
return web3_js_1.PublicKey.findProgramAddressSync([
|
|
74
74
|
Buffer.from(anchor.utils.bytes.utf8.encode('SWIFT')),
|
|
75
|
-
|
|
75
|
+
authority.toBuffer(),
|
|
76
76
|
], programId)[0];
|
|
77
77
|
}
|
|
78
78
|
exports.getSwiftUserAccountPublicKey = getSwiftUserAccountPublicKey;
|
|
@@ -197,8 +197,10 @@ export declare class AdminClient extends DriftClient {
|
|
|
197
197
|
getInitUserFuelIx(user: PublicKey, authority: PublicKey, fuelBonusDeposits?: number, fuelBonusBorrows?: number, fuelBonusTaker?: number, fuelBonusMaker?: number, fuelBonusInsurance?: number): Promise<TransactionInstruction>;
|
|
198
198
|
initializePythPullOracle(feedId: string): Promise<TransactionSignature>;
|
|
199
199
|
getInitializePythPullOracleIx(feedId: string): Promise<TransactionInstruction>;
|
|
200
|
-
initializePythLazerOracle(feedId: number): Promise<TransactionSignature>;
|
|
201
|
-
getInitializePythLazerOracleIx(feedId: number): Promise<TransactionInstruction>;
|
|
200
|
+
initializePythLazerOracle(feedId: number, exponent: number): Promise<TransactionSignature>;
|
|
201
|
+
getInitializePythLazerOracleIx(feedId: number, exponent: number): Promise<TransactionInstruction>;
|
|
202
|
+
updatePythLazerOracleExponent(feedId: number, exponent: number): Promise<TransactionSignature>;
|
|
203
|
+
getUpdatePythLazerOracleExponentIx(feedId: number, exponent: number): Promise<TransactionInstruction>;
|
|
202
204
|
initializeHighLeverageModeConfig(maxUsers: number): Promise<TransactionSignature>;
|
|
203
205
|
getInitializeHighLeverageModeConfigIx(maxUsers: number): Promise<TransactionInstruction>;
|
|
204
206
|
updateUpdateHighLeverageModeConfig(maxUsers: number, reduceOnly: boolean): Promise<TransactionSignature>;
|
|
@@ -1809,14 +1809,14 @@ class AdminClient extends driftClient_1.DriftClient {
|
|
|
1809
1809
|
},
|
|
1810
1810
|
});
|
|
1811
1811
|
}
|
|
1812
|
-
async initializePythLazerOracle(feedId) {
|
|
1813
|
-
const initializePythPullOracleIx = await this.getInitializePythLazerOracleIx(feedId);
|
|
1812
|
+
async initializePythLazerOracle(feedId, exponent) {
|
|
1813
|
+
const initializePythPullOracleIx = await this.getInitializePythLazerOracleIx(feedId, exponent);
|
|
1814
1814
|
const tx = await this.buildTransaction(initializePythPullOracleIx);
|
|
1815
1815
|
const { txSig } = await this.sendTransaction(tx, [], this.opts);
|
|
1816
1816
|
return txSig;
|
|
1817
1817
|
}
|
|
1818
|
-
async getInitializePythLazerOracleIx(feedId) {
|
|
1819
|
-
return await this.program.instruction.initializePythLazerOracle(feedId, {
|
|
1818
|
+
async getInitializePythLazerOracleIx(feedId, exponent) {
|
|
1819
|
+
return await this.program.instruction.initializePythLazerOracle(feedId, exponent, {
|
|
1820
1820
|
accounts: {
|
|
1821
1821
|
admin: this.useHotWalletAdmin
|
|
1822
1822
|
? this.wallet.publicKey
|
|
@@ -1828,6 +1828,23 @@ class AdminClient extends driftClient_1.DriftClient {
|
|
|
1828
1828
|
},
|
|
1829
1829
|
});
|
|
1830
1830
|
}
|
|
1831
|
+
async updatePythLazerOracleExponent(feedId, exponent) {
|
|
1832
|
+
const initializePythPullOracleIx = await this.getUpdatePythLazerOracleExponentIx(feedId, exponent);
|
|
1833
|
+
const tx = await this.buildTransaction(initializePythPullOracleIx);
|
|
1834
|
+
const { txSig } = await this.sendTransaction(tx, [], this.opts);
|
|
1835
|
+
return txSig;
|
|
1836
|
+
}
|
|
1837
|
+
async getUpdatePythLazerOracleExponentIx(feedId, exponent) {
|
|
1838
|
+
return await this.program.instruction.updatePythLazerOracleExponent(feedId, exponent, {
|
|
1839
|
+
accounts: {
|
|
1840
|
+
admin: this.useHotWalletAdmin
|
|
1841
|
+
? this.wallet.publicKey
|
|
1842
|
+
: this.getStateAccount().admin,
|
|
1843
|
+
state: await this.getStatePublicKey(),
|
|
1844
|
+
lazerOracle: (0, pda_1.getPythLazerOraclePublicKey)(this.program.programId, feedId),
|
|
1845
|
+
},
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1831
1848
|
async initializeHighLeverageModeConfig(maxUsers) {
|
|
1832
1849
|
const initializeHighLeverageModeConfigIx = await this.getInitializeHighLeverageModeConfigIx(maxUsers);
|
|
1833
1850
|
const tx = await this.buildTransaction(initializeHighLeverageModeConfigIx);
|
|
@@ -50,6 +50,7 @@ exports.DevnetPerpMarkets = [
|
|
|
50
50
|
launchTs: 1675610186000,
|
|
51
51
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
52
52
|
pythFeedId: '0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
|
|
53
|
+
pythLazerId: 28,
|
|
53
54
|
},
|
|
54
55
|
{
|
|
55
56
|
fullName: 'Bonk',
|
|
@@ -61,6 +62,7 @@ exports.DevnetPerpMarkets = [
|
|
|
61
62
|
launchTs: 1677068931000,
|
|
62
63
|
oracleSource: __1.OracleSource.PYTH_1M_PULL,
|
|
63
64
|
pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
|
|
65
|
+
pythLazerId: 9,
|
|
64
66
|
},
|
|
65
67
|
{
|
|
66
68
|
fullName: 'Polygon',
|
|
@@ -72,6 +74,7 @@ exports.DevnetPerpMarkets = [
|
|
|
72
74
|
launchTs: 1677690149000,
|
|
73
75
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
74
76
|
pythFeedId: '0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472',
|
|
77
|
+
pythLazerId: 32,
|
|
75
78
|
},
|
|
76
79
|
{
|
|
77
80
|
fullName: 'Arbitrum',
|
|
@@ -83,6 +86,7 @@ exports.DevnetPerpMarkets = [
|
|
|
83
86
|
launchTs: 1679501812000,
|
|
84
87
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
85
88
|
pythFeedId: '0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5',
|
|
89
|
+
pythLazerId: 37,
|
|
86
90
|
},
|
|
87
91
|
{
|
|
88
92
|
fullName: 'Doge',
|
|
@@ -94,6 +98,7 @@ exports.DevnetPerpMarkets = [
|
|
|
94
98
|
launchTs: 1680808053000,
|
|
95
99
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
96
100
|
pythFeedId: '0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c',
|
|
101
|
+
pythLazerId: 13,
|
|
97
102
|
},
|
|
98
103
|
{
|
|
99
104
|
fullName: 'Binance Coin',
|
|
@@ -105,6 +110,7 @@ exports.DevnetPerpMarkets = [
|
|
|
105
110
|
launchTs: 1680808053000,
|
|
106
111
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
107
112
|
pythFeedId: '0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f',
|
|
113
|
+
pythLazerId: 15,
|
|
108
114
|
},
|
|
109
115
|
{
|
|
110
116
|
fullName: 'Sui',
|
|
@@ -116,6 +122,7 @@ exports.DevnetPerpMarkets = [
|
|
|
116
122
|
launchTs: 1683125906000,
|
|
117
123
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
118
124
|
pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
|
|
125
|
+
pythLazerId: 11,
|
|
119
126
|
},
|
|
120
127
|
{
|
|
121
128
|
fullName: 'Pepe',
|
|
@@ -127,6 +134,7 @@ exports.DevnetPerpMarkets = [
|
|
|
127
134
|
launchTs: 1683781239000,
|
|
128
135
|
oracleSource: __1.OracleSource.PYTH_1M_PULL,
|
|
129
136
|
pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
|
|
137
|
+
pythLazerId: 4,
|
|
130
138
|
},
|
|
131
139
|
{
|
|
132
140
|
fullName: 'OP',
|
|
@@ -138,6 +146,7 @@ exports.DevnetPerpMarkets = [
|
|
|
138
146
|
launchTs: 1686091480000,
|
|
139
147
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
140
148
|
pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
|
|
149
|
+
pythLazerId: 41,
|
|
141
150
|
},
|
|
142
151
|
{
|
|
143
152
|
fullName: 'RENDER',
|
|
@@ -149,6 +158,7 @@ exports.DevnetPerpMarkets = [
|
|
|
149
158
|
launchTs: 1687201081000,
|
|
150
159
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
151
160
|
pythFeedId: '0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d',
|
|
161
|
+
pythLazerId: 34,
|
|
152
162
|
},
|
|
153
163
|
{
|
|
154
164
|
fullName: 'XRP',
|
|
@@ -160,6 +170,7 @@ exports.DevnetPerpMarkets = [
|
|
|
160
170
|
launchTs: 1689270550000,
|
|
161
171
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
162
172
|
pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
173
|
+
pythLazerId: 14,
|
|
163
174
|
},
|
|
164
175
|
{
|
|
165
176
|
fullName: 'HNT',
|
|
@@ -182,6 +193,7 @@ exports.DevnetPerpMarkets = [
|
|
|
182
193
|
launchTs: 1698074659000,
|
|
183
194
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
184
195
|
pythFeedId: '0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592',
|
|
196
|
+
pythLazerId: 46,
|
|
185
197
|
},
|
|
186
198
|
{
|
|
187
199
|
fullName: 'LINK',
|
|
@@ -193,6 +205,7 @@ exports.DevnetPerpMarkets = [
|
|
|
193
205
|
launchTs: 1698074659000,
|
|
194
206
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
195
207
|
pythFeedId: '0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221',
|
|
208
|
+
pythLazerId: 19,
|
|
196
209
|
},
|
|
197
210
|
{
|
|
198
211
|
fullName: 'Rollbit',
|
|
@@ -215,6 +228,7 @@ exports.DevnetPerpMarkets = [
|
|
|
215
228
|
launchTs: 1700542800000,
|
|
216
229
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
217
230
|
pythFeedId: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff',
|
|
231
|
+
pythLazerId: 3,
|
|
218
232
|
},
|
|
219
233
|
{
|
|
220
234
|
fullName: 'Celestia',
|
|
@@ -226,6 +240,7 @@ exports.DevnetPerpMarkets = [
|
|
|
226
240
|
launchTs: 1701880540000,
|
|
227
241
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
228
242
|
pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
|
243
|
+
pythLazerId: 48,
|
|
229
244
|
},
|
|
230
245
|
{
|
|
231
246
|
fullName: 'Jito',
|
|
@@ -237,6 +252,7 @@ exports.DevnetPerpMarkets = [
|
|
|
237
252
|
launchTs: 1701967240000,
|
|
238
253
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
239
254
|
pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
255
|
+
pythLazerId: 91,
|
|
240
256
|
},
|
|
241
257
|
{
|
|
242
258
|
fullName: 'SEI',
|
|
@@ -248,6 +264,7 @@ exports.DevnetPerpMarkets = [
|
|
|
248
264
|
launchTs: 1703173331000,
|
|
249
265
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
250
266
|
pythFeedId: '0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb',
|
|
267
|
+
pythLazerId: 51,
|
|
251
268
|
},
|
|
252
269
|
{
|
|
253
270
|
fullName: 'AVAX',
|
|
@@ -259,6 +276,7 @@ exports.DevnetPerpMarkets = [
|
|
|
259
276
|
launchTs: 1704209558000,
|
|
260
277
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
261
278
|
pythFeedId: '0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7',
|
|
279
|
+
pythLazerId: 18,
|
|
262
280
|
},
|
|
263
281
|
{
|
|
264
282
|
fullName: 'Wormhole',
|
|
@@ -270,6 +288,7 @@ exports.DevnetPerpMarkets = [
|
|
|
270
288
|
launchTs: 1709852537000,
|
|
271
289
|
oracleSource: __1.OracleSource.SWITCHBOARD_ON_DEMAND,
|
|
272
290
|
pythFeedId: '0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389',
|
|
291
|
+
pythLazerId: 102,
|
|
273
292
|
},
|
|
274
293
|
{
|
|
275
294
|
fullName: 'Kamino',
|
|
@@ -335,6 +354,7 @@ exports.MainnetPerpMarkets = [
|
|
|
335
354
|
launchTs: 1667560505000,
|
|
336
355
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
337
356
|
pythFeedId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d',
|
|
357
|
+
pythLazerId: 6,
|
|
338
358
|
},
|
|
339
359
|
{
|
|
340
360
|
fullName: 'Bitcoin',
|
|
@@ -346,6 +366,7 @@ exports.MainnetPerpMarkets = [
|
|
|
346
366
|
launchTs: 1670347281000,
|
|
347
367
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
348
368
|
pythFeedId: '0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
|
|
369
|
+
pythLazerId: 1,
|
|
349
370
|
},
|
|
350
371
|
{
|
|
351
372
|
fullName: 'Ethereum',
|
|
@@ -357,6 +378,7 @@ exports.MainnetPerpMarkets = [
|
|
|
357
378
|
launchTs: 1670347281000,
|
|
358
379
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
359
380
|
pythFeedId: '0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
|
381
|
+
pythLazerId: 2,
|
|
360
382
|
},
|
|
361
383
|
{
|
|
362
384
|
fullName: 'Aptos',
|
|
@@ -368,6 +390,7 @@ exports.MainnetPerpMarkets = [
|
|
|
368
390
|
launchTs: 1675802661000,
|
|
369
391
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
370
392
|
pythFeedId: '0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
|
|
393
|
+
pythLazerId: 28,
|
|
371
394
|
},
|
|
372
395
|
{
|
|
373
396
|
fullName: 'Bonk',
|
|
@@ -379,6 +402,7 @@ exports.MainnetPerpMarkets = [
|
|
|
379
402
|
launchTs: 1677690149000,
|
|
380
403
|
oracleSource: __1.OracleSource.PYTH_1M_PULL,
|
|
381
404
|
pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
|
|
405
|
+
pythLazerId: 9,
|
|
382
406
|
},
|
|
383
407
|
{
|
|
384
408
|
fullName: 'Polygon',
|
|
@@ -390,6 +414,7 @@ exports.MainnetPerpMarkets = [
|
|
|
390
414
|
launchTs: 1677690149000,
|
|
391
415
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
392
416
|
pythFeedId: '0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472',
|
|
417
|
+
pythLazerId: 32,
|
|
393
418
|
},
|
|
394
419
|
{
|
|
395
420
|
fullName: 'Arbitrum',
|
|
@@ -401,6 +426,7 @@ exports.MainnetPerpMarkets = [
|
|
|
401
426
|
launchTs: 1679501812000,
|
|
402
427
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
403
428
|
pythFeedId: '0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5',
|
|
429
|
+
pythLazerId: 37,
|
|
404
430
|
},
|
|
405
431
|
{
|
|
406
432
|
fullName: 'Doge',
|
|
@@ -412,6 +438,7 @@ exports.MainnetPerpMarkets = [
|
|
|
412
438
|
launchTs: 1680808053000,
|
|
413
439
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
414
440
|
pythFeedId: '0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c',
|
|
441
|
+
pythLazerId: 13,
|
|
415
442
|
},
|
|
416
443
|
{
|
|
417
444
|
fullName: 'Binance Coin',
|
|
@@ -423,6 +450,7 @@ exports.MainnetPerpMarkets = [
|
|
|
423
450
|
launchTs: 1680808053000,
|
|
424
451
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
425
452
|
pythFeedId: '0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f',
|
|
453
|
+
pythLazerId: 15,
|
|
426
454
|
},
|
|
427
455
|
{
|
|
428
456
|
fullName: 'Sui',
|
|
@@ -434,6 +462,7 @@ exports.MainnetPerpMarkets = [
|
|
|
434
462
|
launchTs: 1683125906000,
|
|
435
463
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
436
464
|
pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
|
|
465
|
+
pythLazerId: 11,
|
|
437
466
|
},
|
|
438
467
|
{
|
|
439
468
|
fullName: 'Pepe',
|
|
@@ -445,6 +474,7 @@ exports.MainnetPerpMarkets = [
|
|
|
445
474
|
launchTs: 1683781239000,
|
|
446
475
|
oracleSource: __1.OracleSource.PYTH_1M_PULL,
|
|
447
476
|
pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
|
|
477
|
+
pythLazerId: 4,
|
|
448
478
|
},
|
|
449
479
|
{
|
|
450
480
|
fullName: 'OP',
|
|
@@ -456,6 +486,7 @@ exports.MainnetPerpMarkets = [
|
|
|
456
486
|
launchTs: 1686091480000,
|
|
457
487
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
458
488
|
pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
|
|
489
|
+
pythLazerId: 41,
|
|
459
490
|
},
|
|
460
491
|
{
|
|
461
492
|
fullName: 'RENDER',
|
|
@@ -467,6 +498,7 @@ exports.MainnetPerpMarkets = [
|
|
|
467
498
|
launchTs: 1687201081000,
|
|
468
499
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
469
500
|
pythFeedId: '0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d',
|
|
501
|
+
pythLazerId: 34,
|
|
470
502
|
},
|
|
471
503
|
{
|
|
472
504
|
fullName: 'XRP',
|
|
@@ -478,6 +510,7 @@ exports.MainnetPerpMarkets = [
|
|
|
478
510
|
launchTs: 1689270550000,
|
|
479
511
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
480
512
|
pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
513
|
+
pythLazerId: 14,
|
|
481
514
|
},
|
|
482
515
|
{
|
|
483
516
|
fullName: 'HNT',
|
|
@@ -500,6 +533,7 @@ exports.MainnetPerpMarkets = [
|
|
|
500
533
|
launchTs: 1698074659000,
|
|
501
534
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
502
535
|
pythFeedId: '0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592',
|
|
536
|
+
pythLazerId: 46,
|
|
503
537
|
},
|
|
504
538
|
{
|
|
505
539
|
fullName: 'LINK',
|
|
@@ -511,6 +545,7 @@ exports.MainnetPerpMarkets = [
|
|
|
511
545
|
launchTs: 1698074659000,
|
|
512
546
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
513
547
|
pythFeedId: '0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221',
|
|
548
|
+
pythLazerId: 19,
|
|
514
549
|
},
|
|
515
550
|
{
|
|
516
551
|
fullName: 'Rollbit',
|
|
@@ -533,6 +568,7 @@ exports.MainnetPerpMarkets = [
|
|
|
533
568
|
launchTs: 1700542800000,
|
|
534
569
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
535
570
|
pythFeedId: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff',
|
|
571
|
+
pythLazerId: 3,
|
|
536
572
|
},
|
|
537
573
|
{
|
|
538
574
|
fullName: 'Celestia',
|
|
@@ -544,6 +580,7 @@ exports.MainnetPerpMarkets = [
|
|
|
544
580
|
launchTs: 1701880540000,
|
|
545
581
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
546
582
|
pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
|
583
|
+
pythLazerId: 48,
|
|
547
584
|
},
|
|
548
585
|
{
|
|
549
586
|
fullName: 'Jito',
|
|
@@ -555,6 +592,7 @@ exports.MainnetPerpMarkets = [
|
|
|
555
592
|
launchTs: 1701967240000,
|
|
556
593
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
557
594
|
pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
595
|
+
pythLazerId: 91,
|
|
558
596
|
},
|
|
559
597
|
{
|
|
560
598
|
fullName: 'SEI',
|
|
@@ -566,6 +604,7 @@ exports.MainnetPerpMarkets = [
|
|
|
566
604
|
launchTs: 1703173331000,
|
|
567
605
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
568
606
|
pythFeedId: '0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb',
|
|
607
|
+
pythLazerId: 51,
|
|
569
608
|
},
|
|
570
609
|
{
|
|
571
610
|
fullName: 'AVAX',
|
|
@@ -577,6 +616,7 @@ exports.MainnetPerpMarkets = [
|
|
|
577
616
|
launchTs: 1704209558000,
|
|
578
617
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
579
618
|
pythFeedId: '0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7',
|
|
619
|
+
pythLazerId: 18,
|
|
580
620
|
},
|
|
581
621
|
{
|
|
582
622
|
fullName: 'WIF',
|
|
@@ -588,6 +628,7 @@ exports.MainnetPerpMarkets = [
|
|
|
588
628
|
launchTs: 1706219971000,
|
|
589
629
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
590
630
|
pythFeedId: '0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
|
|
631
|
+
pythLazerId: 10,
|
|
591
632
|
},
|
|
592
633
|
{
|
|
593
634
|
fullName: 'JUP',
|
|
@@ -599,6 +640,7 @@ exports.MainnetPerpMarkets = [
|
|
|
599
640
|
launchTs: 1706713201000,
|
|
600
641
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
601
642
|
pythFeedId: '0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996',
|
|
643
|
+
pythLazerId: 92,
|
|
602
644
|
},
|
|
603
645
|
{
|
|
604
646
|
fullName: 'Dymension',
|
|
@@ -610,6 +652,7 @@ exports.MainnetPerpMarkets = [
|
|
|
610
652
|
launchTs: 1708448765000,
|
|
611
653
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
612
654
|
pythFeedId: '0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
|
|
655
|
+
pythLazerId: 83,
|
|
613
656
|
},
|
|
614
657
|
{
|
|
615
658
|
fullName: 'BITTENSOR',
|
|
@@ -621,6 +664,7 @@ exports.MainnetPerpMarkets = [
|
|
|
621
664
|
launchTs: 1709136669000,
|
|
622
665
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
623
666
|
pythFeedId: '0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af',
|
|
667
|
+
pythLazerId: 36,
|
|
624
668
|
},
|
|
625
669
|
{
|
|
626
670
|
fullName: 'Wormhole',
|
|
@@ -632,6 +676,7 @@ exports.MainnetPerpMarkets = [
|
|
|
632
676
|
launchTs: 1710418343000,
|
|
633
677
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
634
678
|
pythFeedId: '0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389',
|
|
679
|
+
pythLazerId: 102,
|
|
635
680
|
},
|
|
636
681
|
{
|
|
637
682
|
fullName: 'Kamino',
|
|
@@ -654,6 +699,7 @@ exports.MainnetPerpMarkets = [
|
|
|
654
699
|
launchTs: 1712593532000,
|
|
655
700
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
656
701
|
pythFeedId: '0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
|
|
702
|
+
pythLazerId: 99,
|
|
657
703
|
},
|
|
658
704
|
{
|
|
659
705
|
fullName: 'Drift',
|
|
@@ -686,6 +732,7 @@ exports.MainnetPerpMarkets = [
|
|
|
686
732
|
launchTs: 1718021389000,
|
|
687
733
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
688
734
|
pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
735
|
+
pythLazerId: 90,
|
|
689
736
|
},
|
|
690
737
|
{
|
|
691
738
|
fullName: 'ZEX',
|
|
@@ -790,6 +837,7 @@ exports.MainnetPerpMarkets = [
|
|
|
790
837
|
launchTs: 1725551484000,
|
|
791
838
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
792
839
|
pythFeedId: '0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026',
|
|
840
|
+
pythLazerId: 12,
|
|
793
841
|
},
|
|
794
842
|
{
|
|
795
843
|
fullName: 'LANDO-F1-SGP-WIN-BET',
|
|
@@ -928,6 +976,7 @@ exports.MainnetPerpMarkets = [
|
|
|
928
976
|
launchTs: 1731443152000,
|
|
929
977
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
930
978
|
pythFeedId: '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
|
|
979
|
+
pythLazerId: 77,
|
|
931
980
|
},
|
|
932
981
|
{
|
|
933
982
|
fullName: 'RAY',
|
|
@@ -939,6 +988,7 @@ exports.MainnetPerpMarkets = [
|
|
|
939
988
|
launchTs: 1732721897000,
|
|
940
989
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
941
990
|
pythFeedId: '0x91568baa8beb53db23eb3fb7f22c6e8bd303d103919e19733f2bb642d3e7987a',
|
|
991
|
+
pythLazerId: 54,
|
|
942
992
|
},
|
|
943
993
|
{
|
|
944
994
|
fullName: 'SUPERBOWL-LIX-LIONS',
|
|
@@ -992,6 +1042,7 @@ exports.MainnetPerpMarkets = [
|
|
|
992
1042
|
launchTs: 1733839936000,
|
|
993
1043
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
994
1044
|
pythFeedId: '0x91519e3e48571e1232a85a938e714da19fe5ce05107f3eebb8a870b2e8020169',
|
|
1045
|
+
pythLazerId: 93,
|
|
995
1046
|
},
|
|
996
1047
|
{
|
|
997
1048
|
fullName: 'PENGU',
|
|
@@ -1003,6 +1054,7 @@ exports.MainnetPerpMarkets = [
|
|
|
1003
1054
|
launchTs: 1734444000000,
|
|
1004
1055
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1005
1056
|
pythFeedId: '0xbed3097008b9b5e3c93bec20be79cb43986b85a996475589351a21e67bae9b61',
|
|
1057
|
+
pythLazerId: 97,
|
|
1006
1058
|
},
|
|
1007
1059
|
{
|
|
1008
1060
|
fullName: 'AI16Z',
|
|
@@ -30,6 +30,7 @@ exports.DevnetSpotMarkets = [
|
|
|
30
30
|
serumMarket: new web3_js_1.PublicKey('8N37SsnTu8RYxtjrV9SStjkkwVhmU8aCWhLvwduAPEKW'),
|
|
31
31
|
phoenixMarket: new web3_js_1.PublicKey('78ehDnHgbkFxqXZwdFxa8HK7saX58GymeX2wNGdkqYLp'),
|
|
32
32
|
pythFeedId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d',
|
|
33
|
+
pythLazerId: 6,
|
|
33
34
|
},
|
|
34
35
|
{
|
|
35
36
|
symbol: 'BTC',
|
|
@@ -42,6 +43,7 @@ exports.DevnetSpotMarkets = [
|
|
|
42
43
|
precisionExp: numericConstants_1.SIX,
|
|
43
44
|
serumMarket: new web3_js_1.PublicKey('AGsmbVu3MS9u68GEYABWosQQCZwmLcBHu4pWEuBYH7Za'),
|
|
44
45
|
pythFeedId: '0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
|
|
46
|
+
pythLazerId: 1,
|
|
45
47
|
},
|
|
46
48
|
{
|
|
47
49
|
symbol: 'PYUSD',
|
|
@@ -64,6 +66,7 @@ exports.DevnetSpotMarkets = [
|
|
|
64
66
|
precision: new __1.BN(10).pow(numericConstants_1.FIVE),
|
|
65
67
|
precisionExp: numericConstants_1.FIVE,
|
|
66
68
|
pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
|
|
69
|
+
pythLazerId: 9,
|
|
67
70
|
},
|
|
68
71
|
{
|
|
69
72
|
symbol: 'JLP',
|
|
@@ -86,6 +89,7 @@ exports.DevnetSpotMarkets = [
|
|
|
86
89
|
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
87
90
|
precisionExp: numericConstants_1.SIX,
|
|
88
91
|
pythFeedId: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
92
|
+
pythLazerId: 7,
|
|
89
93
|
},
|
|
90
94
|
];
|
|
91
95
|
exports.MainnetSpotMarkets = [
|
|
@@ -99,6 +103,7 @@ exports.MainnetSpotMarkets = [
|
|
|
99
103
|
precision: numericConstants_1.QUOTE_PRECISION,
|
|
100
104
|
precisionExp: numericConstants_1.QUOTE_PRECISION_EXP,
|
|
101
105
|
pythFeedId: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
106
|
+
pythLazerId: 7,
|
|
102
107
|
},
|
|
103
108
|
{
|
|
104
109
|
symbol: 'SOL',
|
|
@@ -113,6 +118,7 @@ exports.MainnetSpotMarkets = [
|
|
|
113
118
|
phoenixMarket: new web3_js_1.PublicKey('4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg'),
|
|
114
119
|
openbookMarket: new web3_js_1.PublicKey('AFgkED1FUVfBe2trPUDqSqK9QKd4stJrfzq5q1RwAFTa'),
|
|
115
120
|
pythFeedId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d',
|
|
121
|
+
pythLazerId: 6,
|
|
116
122
|
},
|
|
117
123
|
{
|
|
118
124
|
symbol: 'mSOL',
|
|
@@ -137,6 +143,7 @@ exports.MainnetSpotMarkets = [
|
|
|
137
143
|
precisionExp: numericConstants_1.EIGHT,
|
|
138
144
|
serumMarket: new web3_js_1.PublicKey('3BAKsQd3RuhZKES2DGysMhjBdwjZYKYmxRqnSMtZ4KSN'),
|
|
139
145
|
pythFeedId: '0xc9d8b075a5c69303365ae23633d4e085199bf5c520a3b90fed1322a0342ffc33',
|
|
146
|
+
pythLazerId: 103,
|
|
140
147
|
},
|
|
141
148
|
{
|
|
142
149
|
symbol: 'wETH',
|
|
@@ -163,6 +170,7 @@ exports.MainnetSpotMarkets = [
|
|
|
163
170
|
precisionExp: numericConstants_1.QUOTE_PRECISION_EXP,
|
|
164
171
|
serumMarket: new web3_js_1.PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
|
|
165
172
|
pythFeedId: '0x2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b',
|
|
173
|
+
pythLazerId: 8,
|
|
166
174
|
},
|
|
167
175
|
{
|
|
168
176
|
symbol: 'jitoSOL',
|
|
@@ -189,6 +197,7 @@ exports.MainnetSpotMarkets = [
|
|
|
189
197
|
serumMarket: new web3_js_1.PublicKey('4E17F3BxtNVqzVsirxguuqkpYLtFgCR6NfTpccPh82WE'),
|
|
190
198
|
phoenixMarket: new web3_js_1.PublicKey('2sTMN9A1D1qeZLF95XQgJCUPiKe5DiV52jLfZGqMP46m'),
|
|
191
199
|
pythFeedId: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff',
|
|
200
|
+
pythLazerId: 3,
|
|
192
201
|
},
|
|
193
202
|
{
|
|
194
203
|
symbol: 'bSOL',
|
|
@@ -214,6 +223,7 @@ exports.MainnetSpotMarkets = [
|
|
|
214
223
|
serumMarket: new web3_js_1.PublicKey('H87FfmHABiZLRGrDsXRZtqq25YpARzaokCzL1vMYGiep'),
|
|
215
224
|
phoenixMarket: new web3_js_1.PublicKey('BRLLmdtPGuuFn3BU6orYw4KHaohAEptBToi3dwRUnHQZ'),
|
|
216
225
|
pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
226
|
+
pythLazerId: 91,
|
|
217
227
|
},
|
|
218
228
|
{
|
|
219
229
|
symbol: 'WIF',
|
|
@@ -228,6 +238,7 @@ exports.MainnetSpotMarkets = [
|
|
|
228
238
|
phoenixMarket: new web3_js_1.PublicKey('6ojSigXF7nDPyhFRgmn3V9ywhYseKF9J32ZrranMGVSX'),
|
|
229
239
|
openbookMarket: new web3_js_1.PublicKey('CwGmEwYFo7u5D7vghGwtcCbRToWosytaZa3Ys3JAto6J'),
|
|
230
240
|
pythFeedId: '0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
|
|
241
|
+
pythLazerId: 10,
|
|
231
242
|
},
|
|
232
243
|
{
|
|
233
244
|
symbol: 'JUP',
|
|
@@ -241,6 +252,7 @@ exports.MainnetSpotMarkets = [
|
|
|
241
252
|
phoenixMarket: new web3_js_1.PublicKey('2pspvjWWaf3dNgt3jsgSzFCNvMGPb7t8FrEYvLGjvcCe'),
|
|
242
253
|
launchTs: 1706731200000,
|
|
243
254
|
pythFeedId: '0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996',
|
|
255
|
+
pythLazerId: 92,
|
|
244
256
|
},
|
|
245
257
|
{
|
|
246
258
|
symbol: 'RENDER',
|
|
@@ -254,6 +266,7 @@ exports.MainnetSpotMarkets = [
|
|
|
254
266
|
serumMarket: new web3_js_1.PublicKey('2m7ZLEKtxWF29727DSb5D91erpXPUY1bqhRWRC3wQX7u'),
|
|
255
267
|
launchTs: 1708964021000,
|
|
256
268
|
pythFeedId: '0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d',
|
|
269
|
+
pythLazerId: 34,
|
|
257
270
|
},
|
|
258
271
|
{
|
|
259
272
|
symbol: 'W',
|
|
@@ -267,6 +280,7 @@ exports.MainnetSpotMarkets = [
|
|
|
267
280
|
phoenixMarket: new web3_js_1.PublicKey('8dFTCTAbtGuHsdDL8WEPrTU6pXFDrU1QSjBTutw8fwZk'),
|
|
268
281
|
launchTs: 1712149014000,
|
|
269
282
|
pythFeedId: '0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389',
|
|
283
|
+
pythLazerId: 102,
|
|
270
284
|
},
|
|
271
285
|
{
|
|
272
286
|
symbol: 'TNSR',
|
|
@@ -280,6 +294,7 @@ exports.MainnetSpotMarkets = [
|
|
|
280
294
|
phoenixMarket: new web3_js_1.PublicKey('AbJCZ9TAJiby5AY3cHcXS2gUdENC6mtsm6m7XpC2ZMvE'),
|
|
281
295
|
launchTs: 1712593532000,
|
|
282
296
|
pythFeedId: '0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
|
|
297
|
+
pythLazerId: 99,
|
|
283
298
|
},
|
|
284
299
|
{
|
|
285
300
|
symbol: 'DRIFT',
|
|
@@ -464,6 +479,7 @@ exports.MainnetSpotMarkets = [
|
|
|
464
479
|
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
465
480
|
precisionExp: numericConstants_1.SIX,
|
|
466
481
|
pythFeedId: '0x91519e3e48571e1232a85a938e714da19fe5ce05107f3eebb8a870b2e8020169',
|
|
482
|
+
pythLazerId: 93,
|
|
467
483
|
},
|
|
468
484
|
{
|
|
469
485
|
symbol: 'PENGU',
|
|
@@ -475,6 +491,7 @@ exports.MainnetSpotMarkets = [
|
|
|
475
491
|
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
476
492
|
precisionExp: numericConstants_1.SIX,
|
|
477
493
|
pythFeedId: '0xbed3097008b9b5e3c93bec20be79cb43986b85a996475589351a21e67bae9b61',
|
|
494
|
+
pythLazerId: 97,
|
|
478
495
|
},
|
|
479
496
|
{
|
|
480
497
|
symbol: 'BONK',
|
|
@@ -488,6 +505,7 @@ exports.MainnetSpotMarkets = [
|
|
|
488
505
|
pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
|
|
489
506
|
openbookMarket: new web3_js_1.PublicKey('D3gZwng2MgZGjktYcKpbR8Bz8653i4qCgzHCf5E4TcZb'),
|
|
490
507
|
launchTs: 1734717937000,
|
|
508
|
+
pythLazerId: 9,
|
|
491
509
|
},
|
|
492
510
|
{
|
|
493
511
|
symbol: 'JLP',
|
|
@@ -512,6 +530,7 @@ exports.MainnetSpotMarkets = [
|
|
|
512
530
|
precisionExp: numericConstants_1.SIX,
|
|
513
531
|
pythFeedId: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
514
532
|
launchTs: 1735255852000,
|
|
533
|
+
pythLazerId: 7,
|
|
515
534
|
},
|
|
516
535
|
{
|
|
517
536
|
symbol: 'AI16Z',
|
|
@@ -144,10 +144,10 @@ export declare class DriftClient {
|
|
|
144
144
|
getInitializeUserStatsIx(): Promise<TransactionInstruction>;
|
|
145
145
|
initializeRFQUser(userAccountPublicKey: PublicKey, txParams?: TxParams): Promise<[TransactionSignature, PublicKey]>;
|
|
146
146
|
getInitializeRFQUserInstruction(userAccountPublicKey: PublicKey): Promise<[PublicKey, TransactionInstruction]>;
|
|
147
|
-
initializeSwiftUserOrders(
|
|
148
|
-
getInitializeSwiftUserOrdersAccountIx(
|
|
149
|
-
resizeSwiftUserOrders(
|
|
150
|
-
getResizeSwiftUserOrdersInstruction(
|
|
147
|
+
initializeSwiftUserOrders(authority: PublicKey, numOrders: number, txParams?: TxParams): Promise<[TransactionSignature, PublicKey]>;
|
|
148
|
+
getInitializeSwiftUserOrdersAccountIx(authority: PublicKey, numOrders: number): Promise<[PublicKey, TransactionInstruction]>;
|
|
149
|
+
resizeSwiftUserOrders(authority: PublicKey, numOrders: number, txParams?: TxParams): Promise<TransactionSignature>;
|
|
150
|
+
getResizeSwiftUserOrdersInstruction(authority: PublicKey, numOrders: number): Promise<TransactionInstruction>;
|
|
151
151
|
getInitializeUserInstructions(subAccountId?: number, name?: string, referrerInfo?: ReferrerInfo): Promise<[PublicKey, TransactionInstruction]>;
|
|
152
152
|
getNextSubAccountId(): Promise<number>;
|
|
153
153
|
initializeReferrerName(name: string): Promise<TransactionSignature>;
|
|
@@ -188,8 +188,8 @@ export declare class DriftClient {
|
|
|
188
188
|
getUserDeletionIx(userAccountPublicKey: PublicKey): Promise<anchor.web3.TransactionInstruction>;
|
|
189
189
|
forceDeleteUser(userAccountPublicKey: PublicKey, userAccount: UserAccount, txParams?: TxParams): Promise<TransactionSignature>;
|
|
190
190
|
getForceDeleteUserIx(userAccountPublicKey: PublicKey, userAccount: UserAccount): Promise<anchor.web3.TransactionInstruction>;
|
|
191
|
-
deleteSwiftUserOrders(
|
|
192
|
-
getSwiftUserOrdersDeletionIx(
|
|
191
|
+
deleteSwiftUserOrders(txParams?: TxParams): Promise<TransactionSignature>;
|
|
192
|
+
getSwiftUserOrdersDeletionIx(authority: PublicKey): Promise<anchor.web3.TransactionInstruction>;
|
|
193
193
|
reclaimRent(subAccountId?: number, txParams?: TxParams): Promise<TransactionSignature>;
|
|
194
194
|
getReclaimRentIx(userAccountPublicKey: PublicKey): Promise<anchor.web3.TransactionInstruction>;
|
|
195
195
|
getUser(subAccountId?: number, authority?: PublicKey): User;
|