@drift-labs/sdk 2.147.0-beta.0 → 2.147.0-beta.1
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.147.0-beta.
|
|
1
|
+
2.147.0-beta.1
|
|
@@ -147,13 +147,14 @@ exports.MainnetSpotMarkets = [
|
|
|
147
147
|
symbol: 'mSOL',
|
|
148
148
|
marketIndex: 2,
|
|
149
149
|
poolId: 0,
|
|
150
|
-
oracle: new web3_js_1.PublicKey('
|
|
151
|
-
oracleSource: types_1.OracleSource.
|
|
150
|
+
oracle: new web3_js_1.PublicKey('FY2JMi1vYz1uayVT2GJ96ysZgpagjhdPRG2upNPtSZsC'),
|
|
151
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
152
152
|
mint: new web3_js_1.PublicKey('mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So'),
|
|
153
153
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
154
154
|
precisionExp: numericConstants_1.NINE,
|
|
155
155
|
serumMarket: new web3_js_1.PublicKey('9Lyhks5bQQxb9EyyX55NtgKQzpM4WK7JCmeaWuQ5MoXD'),
|
|
156
156
|
pythFeedId: '0xc2289a6a43d2ce91c6f55caec370f4acc38a2ed477f58813334c6d03749ff2a4',
|
|
157
|
+
pythLazerId: 503,
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
symbol: 'wBTC',
|
|
@@ -199,14 +200,15 @@ exports.MainnetSpotMarkets = [
|
|
|
199
200
|
symbol: 'jitoSOL',
|
|
200
201
|
marketIndex: 6,
|
|
201
202
|
poolId: 0,
|
|
202
|
-
oracle: new web3_js_1.PublicKey('
|
|
203
|
-
oracleSource: types_1.OracleSource.
|
|
203
|
+
oracle: new web3_js_1.PublicKey('2cHCtAkMnttMh3bNKSCgSKSP5D4yN3p8bfnMdS3VZsDf'),
|
|
204
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
204
205
|
mint: new web3_js_1.PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
205
206
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
206
207
|
precisionExp: numericConstants_1.NINE,
|
|
207
208
|
serumMarket: new web3_js_1.PublicKey('DkbVbMhFxswS32xnn1K2UY4aoBugXooBTxdzkWWDWRkH'),
|
|
208
209
|
phoenixMarket: new web3_js_1.PublicKey('5LQLfGtqcC5rm2WuGxJf4tjqYmDjsQAbKo2AMLQ8KB7p'),
|
|
209
210
|
pythFeedId: '0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb',
|
|
211
|
+
pythLazerId: 458,
|
|
210
212
|
},
|
|
211
213
|
{
|
|
212
214
|
symbol: 'PYTH',
|
|
@@ -438,23 +440,25 @@ exports.MainnetSpotMarkets = [
|
|
|
438
440
|
symbol: 'sUSDe',
|
|
439
441
|
marketIndex: 24,
|
|
440
442
|
poolId: 0,
|
|
441
|
-
oracle: new web3_js_1.PublicKey('
|
|
442
|
-
oracleSource: types_1.OracleSource.
|
|
443
|
+
oracle: new web3_js_1.PublicKey('CX7JCXtUTiC43ZA4uzoH7iQBD15jtVwdBNCnjKHt1BrQ'),
|
|
444
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
443
445
|
mint: new web3_js_1.PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'),
|
|
444
446
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
445
447
|
precisionExp: numericConstants_1.NINE,
|
|
446
448
|
pythFeedId: '0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c',
|
|
449
|
+
pythLazerId: 582,
|
|
447
450
|
},
|
|
448
451
|
{
|
|
449
452
|
symbol: 'BNSOL',
|
|
450
453
|
marketIndex: 25,
|
|
451
454
|
poolId: 0,
|
|
452
|
-
oracle: new web3_js_1.PublicKey('
|
|
453
|
-
oracleSource: types_1.OracleSource.
|
|
455
|
+
oracle: new web3_js_1.PublicKey('2LxMbHBHsw74aE3XgfthmUNkdDfUGcSEy3G3D3t642fd'),
|
|
456
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
454
457
|
mint: new web3_js_1.PublicKey('BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85'),
|
|
455
458
|
precision: numericConstants_1.LAMPORTS_PRECISION,
|
|
456
459
|
precisionExp: numericConstants_1.LAMPORTS_EXP,
|
|
457
460
|
pythFeedId: '0x55f8289be7450f1ae564dd9798e49e7d797d89adbc54fe4f8c906b1fcb94b0c3',
|
|
461
|
+
pythLazerId: 384,
|
|
458
462
|
},
|
|
459
463
|
{
|
|
460
464
|
symbol: 'MOTHER',
|
|
@@ -484,12 +488,13 @@ exports.MainnetSpotMarkets = [
|
|
|
484
488
|
symbol: 'USDS',
|
|
485
489
|
marketIndex: 28,
|
|
486
490
|
poolId: 0,
|
|
487
|
-
oracle: new web3_js_1.PublicKey('
|
|
488
|
-
oracleSource: types_1.OracleSource.
|
|
491
|
+
oracle: new web3_js_1.PublicKey('5Km85n3s9Zs5wEoXYWuHbpoDzst4EBkS5f1XuQJGG1DL'),
|
|
492
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
489
493
|
mint: new web3_js_1.PublicKey('USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA'),
|
|
490
494
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
491
495
|
precisionExp: numericConstants_1.SIX,
|
|
492
496
|
pythFeedId: '0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1',
|
|
497
|
+
pythLazerId: 611,
|
|
493
498
|
},
|
|
494
499
|
{
|
|
495
500
|
symbol: 'META',
|
|
@@ -607,13 +612,14 @@ exports.MainnetSpotMarkets = [
|
|
|
607
612
|
symbol: 'AUSD',
|
|
608
613
|
marketIndex: 38,
|
|
609
614
|
poolId: 0,
|
|
610
|
-
oracle: new web3_js_1.PublicKey('
|
|
611
|
-
oracleSource: types_1.OracleSource.
|
|
615
|
+
oracle: new web3_js_1.PublicKey('9JYpqJfLXgrW8Wqzfd93GvJF73m2jJFjNqpQv3wQtehZ'),
|
|
616
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
612
617
|
mint: new web3_js_1.PublicKey('AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9'),
|
|
613
618
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
614
619
|
precisionExp: numericConstants_1.SIX,
|
|
615
620
|
pythFeedId: '0xd9912df360b5b7f21a122f15bdd5e27f62ce5e72bd316c291f7c86620e07fb2a',
|
|
616
621
|
launchTs: 1738255943000,
|
|
622
|
+
pythLazerId: 367,
|
|
617
623
|
},
|
|
618
624
|
{
|
|
619
625
|
symbol: 'FARTCOIN',
|
|
@@ -684,13 +690,14 @@ exports.MainnetSpotMarkets = [
|
|
|
684
690
|
symbol: 'zBTC',
|
|
685
691
|
marketIndex: 45,
|
|
686
692
|
poolId: 0,
|
|
687
|
-
oracle: new web3_js_1.PublicKey('
|
|
688
|
-
oracleSource: types_1.OracleSource.
|
|
693
|
+
oracle: new web3_js_1.PublicKey('3xcpvBUVV8ALVV4Wod733Vyic3fe8iJAeXDpRdk19Z3p'),
|
|
694
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
689
695
|
mint: new web3_js_1.PublicKey('zBTCug3er3tLyffELcvDNrKkCymbPWysGcWihESYfLg'),
|
|
690
696
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
691
697
|
precisionExp: numericConstants_1.EIGHT,
|
|
692
698
|
pythFeedId: '0x3d824c7f7c26ed1c85421ecec8c754e6b52d66a4e45de20a9c9ea91de8b396f9',
|
|
693
699
|
launchTs: 1747155600000,
|
|
700
|
+
pythLazerId: 640,
|
|
694
701
|
},
|
|
695
702
|
{
|
|
696
703
|
symbol: 'ZEUS',
|
|
@@ -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,EAu0BhD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;KAAG,GAAG,IAAI,QAAQ,GAAG,gBAAgB,EAAE;CAGhE,CAAC"}
|
|
@@ -147,13 +147,14 @@ exports.MainnetSpotMarkets = [
|
|
|
147
147
|
symbol: 'mSOL',
|
|
148
148
|
marketIndex: 2,
|
|
149
149
|
poolId: 0,
|
|
150
|
-
oracle: new web3_js_1.PublicKey('
|
|
151
|
-
oracleSource: types_1.OracleSource.
|
|
150
|
+
oracle: new web3_js_1.PublicKey('FY2JMi1vYz1uayVT2GJ96ysZgpagjhdPRG2upNPtSZsC'),
|
|
151
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
152
152
|
mint: new web3_js_1.PublicKey('mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So'),
|
|
153
153
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
154
154
|
precisionExp: numericConstants_1.NINE,
|
|
155
155
|
serumMarket: new web3_js_1.PublicKey('9Lyhks5bQQxb9EyyX55NtgKQzpM4WK7JCmeaWuQ5MoXD'),
|
|
156
156
|
pythFeedId: '0xc2289a6a43d2ce91c6f55caec370f4acc38a2ed477f58813334c6d03749ff2a4',
|
|
157
|
+
pythLazerId: 503,
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
symbol: 'wBTC',
|
|
@@ -199,14 +200,15 @@ exports.MainnetSpotMarkets = [
|
|
|
199
200
|
symbol: 'jitoSOL',
|
|
200
201
|
marketIndex: 6,
|
|
201
202
|
poolId: 0,
|
|
202
|
-
oracle: new web3_js_1.PublicKey('
|
|
203
|
-
oracleSource: types_1.OracleSource.
|
|
203
|
+
oracle: new web3_js_1.PublicKey('2cHCtAkMnttMh3bNKSCgSKSP5D4yN3p8bfnMdS3VZsDf'),
|
|
204
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
204
205
|
mint: new web3_js_1.PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
205
206
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
206
207
|
precisionExp: numericConstants_1.NINE,
|
|
207
208
|
serumMarket: new web3_js_1.PublicKey('DkbVbMhFxswS32xnn1K2UY4aoBugXooBTxdzkWWDWRkH'),
|
|
208
209
|
phoenixMarket: new web3_js_1.PublicKey('5LQLfGtqcC5rm2WuGxJf4tjqYmDjsQAbKo2AMLQ8KB7p'),
|
|
209
210
|
pythFeedId: '0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb',
|
|
211
|
+
pythLazerId: 458,
|
|
210
212
|
},
|
|
211
213
|
{
|
|
212
214
|
symbol: 'PYTH',
|
|
@@ -438,23 +440,25 @@ exports.MainnetSpotMarkets = [
|
|
|
438
440
|
symbol: 'sUSDe',
|
|
439
441
|
marketIndex: 24,
|
|
440
442
|
poolId: 0,
|
|
441
|
-
oracle: new web3_js_1.PublicKey('
|
|
442
|
-
oracleSource: types_1.OracleSource.
|
|
443
|
+
oracle: new web3_js_1.PublicKey('CX7JCXtUTiC43ZA4uzoH7iQBD15jtVwdBNCnjKHt1BrQ'),
|
|
444
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
443
445
|
mint: new web3_js_1.PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'),
|
|
444
446
|
precision: new anchor_1.BN(10).pow(numericConstants_1.NINE),
|
|
445
447
|
precisionExp: numericConstants_1.NINE,
|
|
446
448
|
pythFeedId: '0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c',
|
|
449
|
+
pythLazerId: 582,
|
|
447
450
|
},
|
|
448
451
|
{
|
|
449
452
|
symbol: 'BNSOL',
|
|
450
453
|
marketIndex: 25,
|
|
451
454
|
poolId: 0,
|
|
452
|
-
oracle: new web3_js_1.PublicKey('
|
|
453
|
-
oracleSource: types_1.OracleSource.
|
|
455
|
+
oracle: new web3_js_1.PublicKey('2LxMbHBHsw74aE3XgfthmUNkdDfUGcSEy3G3D3t642fd'),
|
|
456
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
454
457
|
mint: new web3_js_1.PublicKey('BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85'),
|
|
455
458
|
precision: numericConstants_1.LAMPORTS_PRECISION,
|
|
456
459
|
precisionExp: numericConstants_1.LAMPORTS_EXP,
|
|
457
460
|
pythFeedId: '0x55f8289be7450f1ae564dd9798e49e7d797d89adbc54fe4f8c906b1fcb94b0c3',
|
|
461
|
+
pythLazerId: 384,
|
|
458
462
|
},
|
|
459
463
|
{
|
|
460
464
|
symbol: 'MOTHER',
|
|
@@ -484,12 +488,13 @@ exports.MainnetSpotMarkets = [
|
|
|
484
488
|
symbol: 'USDS',
|
|
485
489
|
marketIndex: 28,
|
|
486
490
|
poolId: 0,
|
|
487
|
-
oracle: new web3_js_1.PublicKey('
|
|
488
|
-
oracleSource: types_1.OracleSource.
|
|
491
|
+
oracle: new web3_js_1.PublicKey('5Km85n3s9Zs5wEoXYWuHbpoDzst4EBkS5f1XuQJGG1DL'),
|
|
492
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
489
493
|
mint: new web3_js_1.PublicKey('USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA'),
|
|
490
494
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
491
495
|
precisionExp: numericConstants_1.SIX,
|
|
492
496
|
pythFeedId: '0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1',
|
|
497
|
+
pythLazerId: 611,
|
|
493
498
|
},
|
|
494
499
|
{
|
|
495
500
|
symbol: 'META',
|
|
@@ -607,13 +612,14 @@ exports.MainnetSpotMarkets = [
|
|
|
607
612
|
symbol: 'AUSD',
|
|
608
613
|
marketIndex: 38,
|
|
609
614
|
poolId: 0,
|
|
610
|
-
oracle: new web3_js_1.PublicKey('
|
|
611
|
-
oracleSource: types_1.OracleSource.
|
|
615
|
+
oracle: new web3_js_1.PublicKey('9JYpqJfLXgrW8Wqzfd93GvJF73m2jJFjNqpQv3wQtehZ'),
|
|
616
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
612
617
|
mint: new web3_js_1.PublicKey('AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9'),
|
|
613
618
|
precision: new anchor_1.BN(10).pow(numericConstants_1.SIX),
|
|
614
619
|
precisionExp: numericConstants_1.SIX,
|
|
615
620
|
pythFeedId: '0xd9912df360b5b7f21a122f15bdd5e27f62ce5e72bd316c291f7c86620e07fb2a',
|
|
616
621
|
launchTs: 1738255943000,
|
|
622
|
+
pythLazerId: 367,
|
|
617
623
|
},
|
|
618
624
|
{
|
|
619
625
|
symbol: 'FARTCOIN',
|
|
@@ -684,13 +690,14 @@ exports.MainnetSpotMarkets = [
|
|
|
684
690
|
symbol: 'zBTC',
|
|
685
691
|
marketIndex: 45,
|
|
686
692
|
poolId: 0,
|
|
687
|
-
oracle: new web3_js_1.PublicKey('
|
|
688
|
-
oracleSource: types_1.OracleSource.
|
|
693
|
+
oracle: new web3_js_1.PublicKey('3xcpvBUVV8ALVV4Wod733Vyic3fe8iJAeXDpRdk19Z3p'),
|
|
694
|
+
oracleSource: types_1.OracleSource.PYTH_LAZER,
|
|
689
695
|
mint: new web3_js_1.PublicKey('zBTCug3er3tLyffELcvDNrKkCymbPWysGcWihESYfLg'),
|
|
690
696
|
precision: new anchor_1.BN(10).pow(numericConstants_1.EIGHT),
|
|
691
697
|
precisionExp: numericConstants_1.EIGHT,
|
|
692
698
|
pythFeedId: '0x3d824c7f7c26ed1c85421ecec8c754e6b52d66a4e45de20a9c9ea91de8b396f9',
|
|
693
699
|
launchTs: 1747155600000,
|
|
700
|
+
pythLazerId: 640,
|
|
694
701
|
},
|
|
695
702
|
{
|
|
696
703
|
symbol: 'ZEUS',
|
package/package.json
CHANGED
|
@@ -195,14 +195,15 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
195
195
|
symbol: 'mSOL',
|
|
196
196
|
marketIndex: 2,
|
|
197
197
|
poolId: 0,
|
|
198
|
-
oracle: new PublicKey('
|
|
199
|
-
oracleSource: OracleSource.
|
|
198
|
+
oracle: new PublicKey('FY2JMi1vYz1uayVT2GJ96ysZgpagjhdPRG2upNPtSZsC'),
|
|
199
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
200
200
|
mint: new PublicKey('mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So'),
|
|
201
201
|
precision: new BN(10).pow(NINE),
|
|
202
202
|
precisionExp: NINE,
|
|
203
203
|
serumMarket: new PublicKey('9Lyhks5bQQxb9EyyX55NtgKQzpM4WK7JCmeaWuQ5MoXD'),
|
|
204
204
|
pythFeedId:
|
|
205
205
|
'0xc2289a6a43d2ce91c6f55caec370f4acc38a2ed477f58813334c6d03749ff2a4',
|
|
206
|
+
pythLazerId: 503,
|
|
206
207
|
},
|
|
207
208
|
{
|
|
208
209
|
symbol: 'wBTC',
|
|
@@ -255,8 +256,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
255
256
|
symbol: 'jitoSOL',
|
|
256
257
|
marketIndex: 6,
|
|
257
258
|
poolId: 0,
|
|
258
|
-
oracle: new PublicKey('
|
|
259
|
-
oracleSource: OracleSource.
|
|
259
|
+
oracle: new PublicKey('2cHCtAkMnttMh3bNKSCgSKSP5D4yN3p8bfnMdS3VZsDf'),
|
|
260
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
260
261
|
mint: new PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
261
262
|
precision: new BN(10).pow(NINE),
|
|
262
263
|
precisionExp: NINE,
|
|
@@ -266,6 +267,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
266
267
|
),
|
|
267
268
|
pythFeedId:
|
|
268
269
|
'0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb',
|
|
270
|
+
pythLazerId: 458,
|
|
269
271
|
},
|
|
270
272
|
{
|
|
271
273
|
symbol: 'PYTH',
|
|
@@ -532,25 +534,27 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
532
534
|
symbol: 'sUSDe',
|
|
533
535
|
marketIndex: 24,
|
|
534
536
|
poolId: 0,
|
|
535
|
-
oracle: new PublicKey('
|
|
536
|
-
oracleSource: OracleSource.
|
|
537
|
+
oracle: new PublicKey('CX7JCXtUTiC43ZA4uzoH7iQBD15jtVwdBNCnjKHt1BrQ'),
|
|
538
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
537
539
|
mint: new PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'),
|
|
538
540
|
precision: new BN(10).pow(NINE),
|
|
539
541
|
precisionExp: NINE,
|
|
540
542
|
pythFeedId:
|
|
541
543
|
'0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c',
|
|
544
|
+
pythLazerId: 582,
|
|
542
545
|
},
|
|
543
546
|
{
|
|
544
547
|
symbol: 'BNSOL',
|
|
545
548
|
marketIndex: 25,
|
|
546
549
|
poolId: 0,
|
|
547
|
-
oracle: new PublicKey('
|
|
548
|
-
oracleSource: OracleSource.
|
|
550
|
+
oracle: new PublicKey('2LxMbHBHsw74aE3XgfthmUNkdDfUGcSEy3G3D3t642fd'),
|
|
551
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
549
552
|
mint: new PublicKey('BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85'),
|
|
550
553
|
precision: LAMPORTS_PRECISION,
|
|
551
554
|
precisionExp: LAMPORTS_EXP,
|
|
552
555
|
pythFeedId:
|
|
553
556
|
'0x55f8289be7450f1ae564dd9798e49e7d797d89adbc54fe4f8c906b1fcb94b0c3',
|
|
557
|
+
pythLazerId: 384,
|
|
554
558
|
},
|
|
555
559
|
{
|
|
556
560
|
symbol: 'MOTHER',
|
|
@@ -584,13 +588,14 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
584
588
|
symbol: 'USDS',
|
|
585
589
|
marketIndex: 28,
|
|
586
590
|
poolId: 0,
|
|
587
|
-
oracle: new PublicKey('
|
|
588
|
-
oracleSource: OracleSource.
|
|
591
|
+
oracle: new PublicKey('5Km85n3s9Zs5wEoXYWuHbpoDzst4EBkS5f1XuQJGG1DL'),
|
|
592
|
+
oracleSource: OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
589
593
|
mint: new PublicKey('USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA'),
|
|
590
594
|
precision: new BN(10).pow(SIX),
|
|
591
595
|
precisionExp: SIX,
|
|
592
596
|
pythFeedId:
|
|
593
597
|
'0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1',
|
|
598
|
+
pythLazerId: 611,
|
|
594
599
|
},
|
|
595
600
|
{
|
|
596
601
|
symbol: 'META',
|
|
@@ -718,14 +723,15 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
718
723
|
symbol: 'AUSD',
|
|
719
724
|
marketIndex: 38,
|
|
720
725
|
poolId: 0,
|
|
721
|
-
oracle: new PublicKey('
|
|
722
|
-
oracleSource: OracleSource.
|
|
726
|
+
oracle: new PublicKey('9JYpqJfLXgrW8Wqzfd93GvJF73m2jJFjNqpQv3wQtehZ'),
|
|
727
|
+
oracleSource: OracleSource.PYTH_LAZER_STABLE_COIN,
|
|
723
728
|
mint: new PublicKey('AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9'),
|
|
724
729
|
precision: new BN(10).pow(SIX),
|
|
725
730
|
precisionExp: SIX,
|
|
726
731
|
pythFeedId:
|
|
727
732
|
'0xd9912df360b5b7f21a122f15bdd5e27f62ce5e72bd316c291f7c86620e07fb2a',
|
|
728
733
|
launchTs: 1738255943000,
|
|
734
|
+
pythLazerId: 367,
|
|
729
735
|
},
|
|
730
736
|
{
|
|
731
737
|
symbol: 'FARTCOIN',
|
|
@@ -799,14 +805,15 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
799
805
|
symbol: 'zBTC',
|
|
800
806
|
marketIndex: 45,
|
|
801
807
|
poolId: 0,
|
|
802
|
-
oracle: new PublicKey('
|
|
803
|
-
oracleSource: OracleSource.
|
|
808
|
+
oracle: new PublicKey('3xcpvBUVV8ALVV4Wod733Vyic3fe8iJAeXDpRdk19Z3p'),
|
|
809
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
804
810
|
mint: new PublicKey('zBTCug3er3tLyffELcvDNrKkCymbPWysGcWihESYfLg'),
|
|
805
811
|
precision: new BN(10).pow(EIGHT),
|
|
806
812
|
precisionExp: EIGHT,
|
|
807
813
|
pythFeedId:
|
|
808
814
|
'0x3d824c7f7c26ed1c85421ecec8c754e6b52d66a4e45de20a9c9ea91de8b396f9',
|
|
809
815
|
launchTs: 1747155600000,
|
|
816
|
+
pythLazerId: 640,
|
|
810
817
|
},
|
|
811
818
|
{
|
|
812
819
|
symbol: 'ZEUS',
|