@drift-labs/sdk-browser 2.155.0-beta.5 → 2.155.0-beta.6
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.155.0-beta.
|
|
1
|
+
2.155.0-beta.6
|
|
@@ -173,8 +173,8 @@ exports.MainnetSpotMarkets = [
|
|
|
173
173
|
symbol: 'wETH',
|
|
174
174
|
marketIndex: 4,
|
|
175
175
|
poolId: 0,
|
|
176
|
-
oracle: new web3_js_1.PublicKey('
|
|
177
|
-
oracleSource: types_1.OracleSource.
|
|
176
|
+
oracle: new web3_js_1.PublicKey('93FG52TzNKCnMiasV14Ba34BYcHDb9p4zK4GjZnLwqWR'),
|
|
177
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
178
178
|
mint: new web3_js_1.PublicKey('7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs'),
|
|
179
179
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
180
180
|
precisionExp: numericConstants_1.EIGHT,
|
|
@@ -182,6 +182,7 @@ exports.MainnetSpotMarkets = [
|
|
|
182
182
|
phoenixMarket: new web3_js_1.PublicKey('Ew3vFDdtdGrknJAVVfraxCA37uNJtimXYPY4QjnfhFHH'),
|
|
183
183
|
openbookMarket: new web3_js_1.PublicKey('AT1R2jUNb9iTo4EaRfKSTPiNTX4Jb64KSwnVmig6Hu4t'),
|
|
184
184
|
pythFeedId: '0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
|
185
|
+
pythLazerId: 2,
|
|
185
186
|
},
|
|
186
187
|
{
|
|
187
188
|
symbol: 'USDT',
|
|
@@ -228,13 +229,14 @@ exports.MainnetSpotMarkets = [
|
|
|
228
229
|
symbol: 'bSOL',
|
|
229
230
|
marketIndex: 8,
|
|
230
231
|
poolId: 0,
|
|
231
|
-
oracle: new web3_js_1.PublicKey('
|
|
232
|
-
oracleSource: types_1.OracleSource.
|
|
232
|
+
oracle: new web3_js_1.PublicKey('6YEQjxkbhfrWV2VdR9zxBJxWYshcMYRs6bpuX1ng2CbP'),
|
|
233
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
233
234
|
mint: new web3_js_1.PublicKey('bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1'),
|
|
234
235
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
235
236
|
precisionExp: numericConstants_1.NINE,
|
|
236
237
|
serumMarket: new web3_js_1.PublicKey('ARjaHVxGCQfTvvKjLd7U7srvk6orthZSE6uqWchCczZc'),
|
|
237
238
|
pythFeedId: '0x89875379e70f8fbadc17aef315adf3a8d5d160b811435537e03c97e8aac97d9c',
|
|
239
|
+
pythLazerId: 389,
|
|
238
240
|
},
|
|
239
241
|
{
|
|
240
242
|
symbol: 'JTO',
|
|
@@ -339,25 +341,27 @@ exports.MainnetSpotMarkets = [
|
|
|
339
341
|
symbol: 'INF',
|
|
340
342
|
marketIndex: 16,
|
|
341
343
|
poolId: 0,
|
|
342
|
-
oracle: new web3_js_1.PublicKey('
|
|
343
|
-
oracleSource: types_1.OracleSource.
|
|
344
|
+
oracle: new web3_js_1.PublicKey('7SAxf2SCJe5c72rZNo4etpGjz5TaEAqi8QkbfpRbouuT'),
|
|
345
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
344
346
|
mint: new web3_js_1.PublicKey('5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm'),
|
|
345
347
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
346
348
|
precisionExp: numericConstants_1.NINE,
|
|
347
349
|
launchTs: 1716595200000,
|
|
348
350
|
pythFeedId: '0xf51570985c642c49c2d6e50156390fdba80bb6d5f7fa389d2f012ced4f7d208f',
|
|
351
|
+
pythLazerId: 455,
|
|
349
352
|
},
|
|
350
353
|
{
|
|
351
354
|
symbol: 'dSOL',
|
|
352
355
|
marketIndex: 17,
|
|
353
356
|
poolId: 0,
|
|
354
|
-
oracle: new web3_js_1.PublicKey('
|
|
355
|
-
oracleSource: types_1.OracleSource.
|
|
357
|
+
oracle: new web3_js_1.PublicKey('EopUQMXT56Lbyg1DKDbc7VAQFcx4QGBKBepZxeKe1sJf'),
|
|
358
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
356
359
|
mint: new web3_js_1.PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
357
360
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
358
361
|
precisionExp: numericConstants_1.NINE,
|
|
359
362
|
launchTs: 1716595200000,
|
|
360
363
|
pythFeedId: '0x41f858bae36e7ee3f4a3a6d4f176f0893d4a261460a52763350d00f8648195ee',
|
|
364
|
+
pythLazerId: 415,
|
|
361
365
|
},
|
|
362
366
|
{
|
|
363
367
|
symbol: 'USDY',
|
|
@@ -476,13 +480,14 @@ exports.MainnetSpotMarkets = [
|
|
|
476
480
|
symbol: 'cbBTC',
|
|
477
481
|
marketIndex: 27,
|
|
478
482
|
poolId: 0,
|
|
479
|
-
oracle: new web3_js_1.PublicKey('
|
|
480
|
-
oracleSource: types_1.OracleSource.
|
|
483
|
+
oracle: new web3_js_1.PublicKey('D1QgWnMoPzB4wJ79Egrc6MGYYM3HHVNhpff1QQHDSoCq'),
|
|
484
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
481
485
|
mint: new web3_js_1.PublicKey('cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij'),
|
|
482
486
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
483
487
|
precisionExp: numericConstants_1.EIGHT,
|
|
484
488
|
openbookMarket: new web3_js_1.PublicKey('2HXgKaXKsMUEzQaSBZiXSd54eMHaS3roiefyGWtkW97W'),
|
|
485
489
|
pythFeedId: '0x2817d7bfe5c64b8ea956e9a26f573ef64e72e4d7891f2d6af9bcc93f7aff9a97',
|
|
490
|
+
pythLazerId: 397,
|
|
486
491
|
},
|
|
487
492
|
{
|
|
488
493
|
symbol: 'USDS',
|
|
@@ -548,12 +553,13 @@ exports.MainnetSpotMarkets = [
|
|
|
548
553
|
symbol: 'JLP-1',
|
|
549
554
|
marketIndex: 33,
|
|
550
555
|
poolId: 1,
|
|
551
|
-
oracle: new web3_js_1.PublicKey('
|
|
552
|
-
oracleSource: types_1.OracleSource.
|
|
556
|
+
oracle: new web3_js_1.PublicKey('DtmeBbyWat6p2vSpRhuZ4MGRndXr2cdpd4GV8izCFvLb'),
|
|
557
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
553
558
|
mint: new web3_js_1.PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4'),
|
|
554
559
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
555
560
|
precisionExp: numericConstants_1.SIX,
|
|
556
561
|
pythFeedId: '0x6704952e00b6a088b6dcdb8170dcd591eaf64cff9e996ca75ae0ca55bfb96687',
|
|
562
|
+
pythLazerId: 694,
|
|
557
563
|
launchTs: 1735255852000,
|
|
558
564
|
},
|
|
559
565
|
{
|
|
@@ -835,13 +841,14 @@ exports.MainnetSpotMarkets = [
|
|
|
835
841
|
symbol: 'LBTC',
|
|
836
842
|
marketIndex: 58,
|
|
837
843
|
poolId: 0,
|
|
838
|
-
oracle: new web3_js_1.PublicKey('
|
|
839
|
-
oracleSource: types_1.OracleSource.
|
|
844
|
+
oracle: new web3_js_1.PublicKey('BmU3Hp9SZn77dUhWuED3ySuV3HenBgCoPZZP58M2ZMCr'),
|
|
845
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
840
846
|
mint: new web3_js_1.PublicKey('LBTCgU4b3wsFKsPwBn1rRZDx5DoFutM6RPiEt1TPDsY'),
|
|
841
847
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
842
848
|
precisionExp: numericConstants_1.EIGHT,
|
|
843
849
|
pythFeedId: '0x8f257aab6e7698bb92b15511915e593d6f8eae914452f781874754b03d0c612b',
|
|
844
850
|
launchTs: 1756392947000,
|
|
851
|
+
pythLazerId: 468,
|
|
845
852
|
},
|
|
846
853
|
{
|
|
847
854
|
symbol: '2Z',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/spotMarkets.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAW5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,EAAE,CAAC;IACd,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EAuH/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"spotMarkets.d.ts","sourceRoot":"","sources":["../../../src/constants/spotMarkets.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAW5C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,EAAE,CAAC;IACd,YAAY,EAAE,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,WAE5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,EAuH/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,gBAAgB,EAu2BhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
|
|
@@ -173,8 +173,8 @@ exports.MainnetSpotMarkets = [
|
|
|
173
173
|
symbol: 'wETH',
|
|
174
174
|
marketIndex: 4,
|
|
175
175
|
poolId: 0,
|
|
176
|
-
oracle: new web3_js_1.PublicKey('
|
|
177
|
-
oracleSource: types_1.OracleSource.
|
|
176
|
+
oracle: new web3_js_1.PublicKey('93FG52TzNKCnMiasV14Ba34BYcHDb9p4zK4GjZnLwqWR'),
|
|
177
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
178
178
|
mint: new web3_js_1.PublicKey('7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs'),
|
|
179
179
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
180
180
|
precisionExp: numericConstants_1.EIGHT,
|
|
@@ -182,6 +182,7 @@ exports.MainnetSpotMarkets = [
|
|
|
182
182
|
phoenixMarket: new web3_js_1.PublicKey('Ew3vFDdtdGrknJAVVfraxCA37uNJtimXYPY4QjnfhFHH'),
|
|
183
183
|
openbookMarket: new web3_js_1.PublicKey('AT1R2jUNb9iTo4EaRfKSTPiNTX4Jb64KSwnVmig6Hu4t'),
|
|
184
184
|
pythFeedId: '0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
|
185
|
+
pythLazerId: 2,
|
|
185
186
|
},
|
|
186
187
|
{
|
|
187
188
|
symbol: 'USDT',
|
|
@@ -228,13 +229,14 @@ exports.MainnetSpotMarkets = [
|
|
|
228
229
|
symbol: 'bSOL',
|
|
229
230
|
marketIndex: 8,
|
|
230
231
|
poolId: 0,
|
|
231
|
-
oracle: new web3_js_1.PublicKey('
|
|
232
|
-
oracleSource: types_1.OracleSource.
|
|
232
|
+
oracle: new web3_js_1.PublicKey('6YEQjxkbhfrWV2VdR9zxBJxWYshcMYRs6bpuX1ng2CbP'),
|
|
233
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
233
234
|
mint: new web3_js_1.PublicKey('bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1'),
|
|
234
235
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
235
236
|
precisionExp: numericConstants_1.NINE,
|
|
236
237
|
serumMarket: new web3_js_1.PublicKey('ARjaHVxGCQfTvvKjLd7U7srvk6orthZSE6uqWchCczZc'),
|
|
237
238
|
pythFeedId: '0x89875379e70f8fbadc17aef315adf3a8d5d160b811435537e03c97e8aac97d9c',
|
|
239
|
+
pythLazerId: 389,
|
|
238
240
|
},
|
|
239
241
|
{
|
|
240
242
|
symbol: 'JTO',
|
|
@@ -339,25 +341,27 @@ exports.MainnetSpotMarkets = [
|
|
|
339
341
|
symbol: 'INF',
|
|
340
342
|
marketIndex: 16,
|
|
341
343
|
poolId: 0,
|
|
342
|
-
oracle: new web3_js_1.PublicKey('
|
|
343
|
-
oracleSource: types_1.OracleSource.
|
|
344
|
+
oracle: new web3_js_1.PublicKey('7SAxf2SCJe5c72rZNo4etpGjz5TaEAqi8QkbfpRbouuT'),
|
|
345
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
344
346
|
mint: new web3_js_1.PublicKey('5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm'),
|
|
345
347
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
346
348
|
precisionExp: numericConstants_1.NINE,
|
|
347
349
|
launchTs: 1716595200000,
|
|
348
350
|
pythFeedId: '0xf51570985c642c49c2d6e50156390fdba80bb6d5f7fa389d2f012ced4f7d208f',
|
|
351
|
+
pythLazerId: 455,
|
|
349
352
|
},
|
|
350
353
|
{
|
|
351
354
|
symbol: 'dSOL',
|
|
352
355
|
marketIndex: 17,
|
|
353
356
|
poolId: 0,
|
|
354
|
-
oracle: new web3_js_1.PublicKey('
|
|
355
|
-
oracleSource: types_1.OracleSource.
|
|
357
|
+
oracle: new web3_js_1.PublicKey('EopUQMXT56Lbyg1DKDbc7VAQFcx4QGBKBepZxeKe1sJf'),
|
|
358
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
356
359
|
mint: new web3_js_1.PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
357
360
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
358
361
|
precisionExp: numericConstants_1.NINE,
|
|
359
362
|
launchTs: 1716595200000,
|
|
360
363
|
pythFeedId: '0x41f858bae36e7ee3f4a3a6d4f176f0893d4a261460a52763350d00f8648195ee',
|
|
364
|
+
pythLazerId: 415,
|
|
361
365
|
},
|
|
362
366
|
{
|
|
363
367
|
symbol: 'USDY',
|
|
@@ -476,13 +480,14 @@ exports.MainnetSpotMarkets = [
|
|
|
476
480
|
symbol: 'cbBTC',
|
|
477
481
|
marketIndex: 27,
|
|
478
482
|
poolId: 0,
|
|
479
|
-
oracle: new web3_js_1.PublicKey('
|
|
480
|
-
oracleSource: types_1.OracleSource.
|
|
483
|
+
oracle: new web3_js_1.PublicKey('D1QgWnMoPzB4wJ79Egrc6MGYYM3HHVNhpff1QQHDSoCq'),
|
|
484
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
481
485
|
mint: new web3_js_1.PublicKey('cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij'),
|
|
482
486
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
483
487
|
precisionExp: numericConstants_1.EIGHT,
|
|
484
488
|
openbookMarket: new web3_js_1.PublicKey('2HXgKaXKsMUEzQaSBZiXSd54eMHaS3roiefyGWtkW97W'),
|
|
485
489
|
pythFeedId: '0x2817d7bfe5c64b8ea956e9a26f573ef64e72e4d7891f2d6af9bcc93f7aff9a97',
|
|
490
|
+
pythLazerId: 397,
|
|
486
491
|
},
|
|
487
492
|
{
|
|
488
493
|
symbol: 'USDS',
|
|
@@ -548,12 +553,13 @@ exports.MainnetSpotMarkets = [
|
|
|
548
553
|
symbol: 'JLP-1',
|
|
549
554
|
marketIndex: 33,
|
|
550
555
|
poolId: 1,
|
|
551
|
-
oracle: new web3_js_1.PublicKey('
|
|
552
|
-
oracleSource: types_1.OracleSource.
|
|
556
|
+
oracle: new web3_js_1.PublicKey('DtmeBbyWat6p2vSpRhuZ4MGRndXr2cdpd4GV8izCFvLb'),
|
|
557
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
553
558
|
mint: new web3_js_1.PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4'),
|
|
554
559
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
555
560
|
precisionExp: numericConstants_1.SIX,
|
|
556
561
|
pythFeedId: '0x6704952e00b6a088b6dcdb8170dcd591eaf64cff9e996ca75ae0ca55bfb96687',
|
|
562
|
+
pythLazerId: 694,
|
|
557
563
|
launchTs: 1735255852000,
|
|
558
564
|
},
|
|
559
565
|
{
|
|
@@ -835,13 +841,14 @@ exports.MainnetSpotMarkets = [
|
|
|
835
841
|
symbol: 'LBTC',
|
|
836
842
|
marketIndex: 58,
|
|
837
843
|
poolId: 0,
|
|
838
|
-
oracle: new web3_js_1.PublicKey('
|
|
839
|
-
oracleSource: types_1.OracleSource.
|
|
844
|
+
oracle: new web3_js_1.PublicKey('BmU3Hp9SZn77dUhWuED3ySuV3HenBgCoPZZP58M2ZMCr'),
|
|
845
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
840
846
|
mint: new web3_js_1.PublicKey('LBTCgU4b3wsFKsPwBn1rRZDx5DoFutM6RPiEt1TPDsY'),
|
|
841
847
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
842
848
|
precisionExp: numericConstants_1.EIGHT,
|
|
843
849
|
pythFeedId: '0x8f257aab6e7698bb92b15511915e593d6f8eae914452f781874754b03d0c612b',
|
|
844
850
|
launchTs: 1756392947000,
|
|
851
|
+
pythLazerId: 468,
|
|
845
852
|
},
|
|
846
853
|
{
|
|
847
854
|
symbol: '2Z',
|
package/package.json
CHANGED
|
@@ -223,8 +223,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
223
223
|
symbol: 'wETH',
|
|
224
224
|
marketIndex: 4,
|
|
225
225
|
poolId: 0,
|
|
226
|
-
oracle: new PublicKey('
|
|
227
|
-
oracleSource: OracleSource.
|
|
226
|
+
oracle: new PublicKey('93FG52TzNKCnMiasV14Ba34BYcHDb9p4zK4GjZnLwqWR'),
|
|
227
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
228
228
|
mint: new PublicKey('7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs'),
|
|
229
229
|
precision: new BN(10).pow(EIGHT),
|
|
230
230
|
precisionExp: EIGHT,
|
|
@@ -237,6 +237,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
237
237
|
),
|
|
238
238
|
pythFeedId:
|
|
239
239
|
'0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
|
|
240
|
+
pythLazerId: 2,
|
|
240
241
|
},
|
|
241
242
|
{
|
|
242
243
|
symbol: 'USDT',
|
|
@@ -290,14 +291,15 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
290
291
|
symbol: 'bSOL',
|
|
291
292
|
marketIndex: 8,
|
|
292
293
|
poolId: 0,
|
|
293
|
-
oracle: new PublicKey('
|
|
294
|
-
oracleSource: OracleSource.
|
|
294
|
+
oracle: new PublicKey('6YEQjxkbhfrWV2VdR9zxBJxWYshcMYRs6bpuX1ng2CbP'),
|
|
295
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
295
296
|
mint: new PublicKey('bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1'),
|
|
296
297
|
precision: new BN(10).pow(NINE),
|
|
297
298
|
precisionExp: NINE,
|
|
298
299
|
serumMarket: new PublicKey('ARjaHVxGCQfTvvKjLd7U7srvk6orthZSE6uqWchCczZc'),
|
|
299
300
|
pythFeedId:
|
|
300
301
|
'0x89875379e70f8fbadc17aef315adf3a8d5d160b811435537e03c97e8aac97d9c',
|
|
302
|
+
pythLazerId: 389,
|
|
301
303
|
},
|
|
302
304
|
{
|
|
303
305
|
symbol: 'JTO',
|
|
@@ -423,27 +425,29 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
423
425
|
symbol: 'INF',
|
|
424
426
|
marketIndex: 16,
|
|
425
427
|
poolId: 0,
|
|
426
|
-
oracle: new PublicKey('
|
|
427
|
-
oracleSource: OracleSource.
|
|
428
|
+
oracle: new PublicKey('7SAxf2SCJe5c72rZNo4etpGjz5TaEAqi8QkbfpRbouuT'),
|
|
429
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
428
430
|
mint: new PublicKey('5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm'),
|
|
429
431
|
precision: new BN(10).pow(NINE),
|
|
430
432
|
precisionExp: NINE,
|
|
431
433
|
launchTs: 1716595200000,
|
|
432
434
|
pythFeedId:
|
|
433
435
|
'0xf51570985c642c49c2d6e50156390fdba80bb6d5f7fa389d2f012ced4f7d208f',
|
|
436
|
+
pythLazerId: 455,
|
|
434
437
|
},
|
|
435
438
|
{
|
|
436
439
|
symbol: 'dSOL',
|
|
437
440
|
marketIndex: 17,
|
|
438
441
|
poolId: 0,
|
|
439
|
-
oracle: new PublicKey('
|
|
440
|
-
oracleSource: OracleSource.
|
|
442
|
+
oracle: new PublicKey('EopUQMXT56Lbyg1DKDbc7VAQFcx4QGBKBepZxeKe1sJf'),
|
|
443
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
441
444
|
mint: new PublicKey('Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ'),
|
|
442
445
|
precision: new BN(10).pow(NINE),
|
|
443
446
|
precisionExp: NINE,
|
|
444
447
|
launchTs: 1716595200000,
|
|
445
448
|
pythFeedId:
|
|
446
449
|
'0x41f858bae36e7ee3f4a3a6d4f176f0893d4a261460a52763350d00f8648195ee',
|
|
450
|
+
pythLazerId: 415,
|
|
447
451
|
},
|
|
448
452
|
{
|
|
449
453
|
symbol: 'USDY',
|
|
@@ -573,8 +577,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
573
577
|
symbol: 'cbBTC',
|
|
574
578
|
marketIndex: 27,
|
|
575
579
|
poolId: 0,
|
|
576
|
-
oracle: new PublicKey('
|
|
577
|
-
oracleSource: OracleSource.
|
|
580
|
+
oracle: new PublicKey('D1QgWnMoPzB4wJ79Egrc6MGYYM3HHVNhpff1QQHDSoCq'),
|
|
581
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
578
582
|
mint: new PublicKey('cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij'),
|
|
579
583
|
precision: new BN(10).pow(EIGHT),
|
|
580
584
|
precisionExp: EIGHT,
|
|
@@ -583,6 +587,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
583
587
|
),
|
|
584
588
|
pythFeedId:
|
|
585
589
|
'0x2817d7bfe5c64b8ea956e9a26f573ef64e72e4d7891f2d6af9bcc93f7aff9a97',
|
|
590
|
+
pythLazerId: 397,
|
|
586
591
|
},
|
|
587
592
|
{
|
|
588
593
|
symbol: 'USDS',
|
|
@@ -654,13 +659,14 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
654
659
|
symbol: 'JLP-1',
|
|
655
660
|
marketIndex: 33,
|
|
656
661
|
poolId: 1,
|
|
657
|
-
oracle: new PublicKey('
|
|
658
|
-
oracleSource: OracleSource.
|
|
662
|
+
oracle: new PublicKey('DtmeBbyWat6p2vSpRhuZ4MGRndXr2cdpd4GV8izCFvLb'),
|
|
663
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
659
664
|
mint: new PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4'),
|
|
660
665
|
precision: new BN(10).pow(SIX),
|
|
661
666
|
precisionExp: SIX,
|
|
662
667
|
pythFeedId:
|
|
663
668
|
'0x6704952e00b6a088b6dcdb8170dcd591eaf64cff9e996ca75ae0ca55bfb96687',
|
|
669
|
+
pythLazerId: 694,
|
|
664
670
|
launchTs: 1735255852000,
|
|
665
671
|
},
|
|
666
672
|
{
|
|
@@ -956,14 +962,15 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
956
962
|
symbol: 'LBTC',
|
|
957
963
|
marketIndex: 58,
|
|
958
964
|
poolId: 0,
|
|
959
|
-
oracle: new PublicKey('
|
|
960
|
-
oracleSource: OracleSource.
|
|
965
|
+
oracle: new PublicKey('BmU3Hp9SZn77dUhWuED3ySuV3HenBgCoPZZP58M2ZMCr'),
|
|
966
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
961
967
|
mint: new PublicKey('LBTCgU4b3wsFKsPwBn1rRZDx5DoFutM6RPiEt1TPDsY'),
|
|
962
968
|
precision: new BN(10).pow(EIGHT),
|
|
963
969
|
precisionExp: EIGHT,
|
|
964
970
|
pythFeedId:
|
|
965
971
|
'0x8f257aab6e7698bb92b15511915e593d6f8eae914452f781874754b03d0c612b',
|
|
966
972
|
launchTs: 1756392947000,
|
|
973
|
+
pythLazerId: 468,
|
|
967
974
|
},
|
|
968
975
|
{
|
|
969
976
|
symbol: '2Z',
|