@drift-labs/sdk 2.86.0-beta.11 → 2.86.0-beta.13
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/perpMarkets.js +16 -14
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +18 -14
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.86.0-beta.
|
|
1
|
+
2.86.0-beta.13
|
|
@@ -331,9 +331,9 @@ exports.MainnetPerpMarkets = [
|
|
|
331
331
|
symbol: 'APT-PERP',
|
|
332
332
|
baseAssetSymbol: 'APT',
|
|
333
333
|
marketIndex: 3,
|
|
334
|
-
oracle: new web3_js_1.PublicKey('
|
|
334
|
+
oracle: new web3_js_1.PublicKey('79EWaCYU9jiQN8SbvVzGFAhAncUZYp3PjNg7KxmN5cLE'),
|
|
335
335
|
launchTs: 1675802661000,
|
|
336
|
-
oracleSource: __1.OracleSource.
|
|
336
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
337
337
|
pythFeedId: '0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
|
|
338
338
|
},
|
|
339
339
|
{
|
|
@@ -419,9 +419,9 @@ exports.MainnetPerpMarkets = [
|
|
|
419
419
|
symbol: 'OP-PERP',
|
|
420
420
|
baseAssetSymbol: 'OP',
|
|
421
421
|
marketIndex: 11,
|
|
422
|
-
oracle: new web3_js_1.PublicKey('
|
|
422
|
+
oracle: new web3_js_1.PublicKey('C9Zi2Y3Mt6Zt6pcFvobN3N29HcrzKujPAPBDDTDRcUa2'),
|
|
423
423
|
launchTs: 1686091480000,
|
|
424
|
-
oracleSource: __1.OracleSource.
|
|
424
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
425
425
|
pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
|
|
426
426
|
},
|
|
427
427
|
{
|
|
@@ -441,9 +441,9 @@ exports.MainnetPerpMarkets = [
|
|
|
441
441
|
symbol: 'XRP-PERP',
|
|
442
442
|
baseAssetSymbol: 'XRP',
|
|
443
443
|
marketIndex: 13,
|
|
444
|
-
oracle: new web3_js_1.PublicKey('
|
|
444
|
+
oracle: new web3_js_1.PublicKey('9757epAjXWCWQH98kyK9vzgehd1XDVEf7joNHUaKk3iV'),
|
|
445
445
|
launchTs: 1689270550000,
|
|
446
|
-
oracleSource: __1.OracleSource.
|
|
446
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
447
447
|
pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
448
448
|
},
|
|
449
449
|
{
|
|
@@ -573,9 +573,9 @@ exports.MainnetPerpMarkets = [
|
|
|
573
573
|
symbol: 'DYM-PERP',
|
|
574
574
|
baseAssetSymbol: 'DYM',
|
|
575
575
|
marketIndex: 25,
|
|
576
|
-
oracle: new web3_js_1.PublicKey('
|
|
576
|
+
oracle: new web3_js_1.PublicKey('hnefGsC8hJi8MBajpRSkUY97wJmLoBQYXaHkz3nmw1z'),
|
|
577
577
|
launchTs: 1708448765000,
|
|
578
|
-
oracleSource: __1.OracleSource.
|
|
578
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
579
579
|
pythFeedId: '0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
|
|
580
580
|
},
|
|
581
581
|
{
|
|
@@ -584,9 +584,9 @@ exports.MainnetPerpMarkets = [
|
|
|
584
584
|
symbol: 'TAO-PERP',
|
|
585
585
|
baseAssetSymbol: 'TAO',
|
|
586
586
|
marketIndex: 26,
|
|
587
|
-
oracle: new web3_js_1.PublicKey('
|
|
587
|
+
oracle: new web3_js_1.PublicKey('5ZPtwR9QpBLcZQVMnVURuYBmZMu1qQrBcA9Gutc5eKN3'),
|
|
588
588
|
launchTs: 1709136669000,
|
|
589
|
-
oracleSource: __1.OracleSource.
|
|
589
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
590
590
|
pythFeedId: '0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af',
|
|
591
591
|
},
|
|
592
592
|
{
|
|
@@ -606,9 +606,9 @@ exports.MainnetPerpMarkets = [
|
|
|
606
606
|
symbol: 'KMNO-PERP',
|
|
607
607
|
baseAssetSymbol: 'KMNO',
|
|
608
608
|
marketIndex: 28,
|
|
609
|
-
oracle: new web3_js_1.PublicKey('
|
|
609
|
+
oracle: new web3_js_1.PublicKey('7aqj2wH1BH8XT3QQ3MWtvt3My7RAGf5Stm3vx5fiysJz'),
|
|
610
610
|
launchTs: 1712240681000,
|
|
611
|
-
oracleSource: __1.OracleSource.
|
|
611
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
612
612
|
pythFeedId: '0xb17e5bc5de742a8a378b54c9c75442b7d51e30ada63f28d9bd28d3c0e26511a0',
|
|
613
613
|
},
|
|
614
614
|
{
|
|
@@ -649,9 +649,9 @@ exports.MainnetPerpMarkets = [
|
|
|
649
649
|
symbol: 'IO-PERP',
|
|
650
650
|
baseAssetSymbol: 'IO',
|
|
651
651
|
marketIndex: 32,
|
|
652
|
-
oracle: new web3_js_1.PublicKey('
|
|
652
|
+
oracle: new web3_js_1.PublicKey('HxM66CFwGwrvfTFFkvvA8N3CnKX6m2obzameYWDaSSdA'),
|
|
653
653
|
launchTs: 1718021389000,
|
|
654
|
-
oracleSource: __1.OracleSource.
|
|
654
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
655
655
|
pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
656
656
|
},
|
|
657
657
|
{
|
|
@@ -663,6 +663,7 @@ exports.MainnetPerpMarkets = [
|
|
|
663
663
|
oracle: new web3_js_1.PublicKey('4gdbqxkMrF1bYVeEJKRmTqCCvJjRCZrRhxvriGY6SwLj'),
|
|
664
664
|
launchTs: 1719415157000,
|
|
665
665
|
oracleSource: __1.OracleSource.SWITCHBOARD,
|
|
666
|
+
pythFeedId: '0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
|
|
666
667
|
},
|
|
667
668
|
{
|
|
668
669
|
fullName: 'POPCAT',
|
|
@@ -673,6 +674,7 @@ exports.MainnetPerpMarkets = [
|
|
|
673
674
|
oracle: new web3_js_1.PublicKey('3GjpjC8TWsPqjyFSiR7saGxgzD8zqYJNsBnWpenZPEBy'),
|
|
674
675
|
launchTs: 1720013054000,
|
|
675
676
|
oracleSource: __1.OracleSource.SWITCHBOARD,
|
|
677
|
+
pythFeedId: '0xb9312a7ee50e189ef045aa3c7842e099b061bd9bdc99ac645956c3b660dc8cce',
|
|
676
678
|
},
|
|
677
679
|
{
|
|
678
680
|
fullName: 'Wen',
|
package/package.json
CHANGED
|
@@ -372,9 +372,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
372
372
|
symbol: 'APT-PERP',
|
|
373
373
|
baseAssetSymbol: 'APT',
|
|
374
374
|
marketIndex: 3,
|
|
375
|
-
oracle: new PublicKey('
|
|
375
|
+
oracle: new PublicKey('79EWaCYU9jiQN8SbvVzGFAhAncUZYp3PjNg7KxmN5cLE'),
|
|
376
376
|
launchTs: 1675802661000,
|
|
377
|
-
oracleSource: OracleSource.
|
|
377
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
378
378
|
pythFeedId:
|
|
379
379
|
'0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
|
|
380
380
|
},
|
|
@@ -468,9 +468,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
468
468
|
symbol: 'OP-PERP',
|
|
469
469
|
baseAssetSymbol: 'OP',
|
|
470
470
|
marketIndex: 11,
|
|
471
|
-
oracle: new PublicKey('
|
|
471
|
+
oracle: new PublicKey('C9Zi2Y3Mt6Zt6pcFvobN3N29HcrzKujPAPBDDTDRcUa2'),
|
|
472
472
|
launchTs: 1686091480000,
|
|
473
|
-
oracleSource: OracleSource.
|
|
473
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
474
474
|
pythFeedId:
|
|
475
475
|
'0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
|
|
476
476
|
},
|
|
@@ -492,9 +492,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
492
492
|
symbol: 'XRP-PERP',
|
|
493
493
|
baseAssetSymbol: 'XRP',
|
|
494
494
|
marketIndex: 13,
|
|
495
|
-
oracle: new PublicKey('
|
|
495
|
+
oracle: new PublicKey('9757epAjXWCWQH98kyK9vzgehd1XDVEf7joNHUaKk3iV'),
|
|
496
496
|
launchTs: 1689270550000,
|
|
497
|
-
oracleSource: OracleSource.
|
|
497
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
498
498
|
pythFeedId:
|
|
499
499
|
'0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
500
500
|
},
|
|
@@ -636,9 +636,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
636
636
|
symbol: 'DYM-PERP',
|
|
637
637
|
baseAssetSymbol: 'DYM',
|
|
638
638
|
marketIndex: 25,
|
|
639
|
-
oracle: new PublicKey('
|
|
639
|
+
oracle: new PublicKey('hnefGsC8hJi8MBajpRSkUY97wJmLoBQYXaHkz3nmw1z'),
|
|
640
640
|
launchTs: 1708448765000,
|
|
641
|
-
oracleSource: OracleSource.
|
|
641
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
642
642
|
pythFeedId:
|
|
643
643
|
'0xa9f3b2a89c6f85a6c20a9518abde39b944e839ca49a0c92307c65974d3f14a57',
|
|
644
644
|
},
|
|
@@ -648,9 +648,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
648
648
|
symbol: 'TAO-PERP',
|
|
649
649
|
baseAssetSymbol: 'TAO',
|
|
650
650
|
marketIndex: 26,
|
|
651
|
-
oracle: new PublicKey('
|
|
651
|
+
oracle: new PublicKey('5ZPtwR9QpBLcZQVMnVURuYBmZMu1qQrBcA9Gutc5eKN3'),
|
|
652
652
|
launchTs: 1709136669000,
|
|
653
|
-
oracleSource: OracleSource.
|
|
653
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
654
654
|
pythFeedId:
|
|
655
655
|
'0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af',
|
|
656
656
|
},
|
|
@@ -672,9 +672,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
672
672
|
symbol: 'KMNO-PERP',
|
|
673
673
|
baseAssetSymbol: 'KMNO',
|
|
674
674
|
marketIndex: 28,
|
|
675
|
-
oracle: new PublicKey('
|
|
675
|
+
oracle: new PublicKey('7aqj2wH1BH8XT3QQ3MWtvt3My7RAGf5Stm3vx5fiysJz'),
|
|
676
676
|
launchTs: 1712240681000,
|
|
677
|
-
oracleSource: OracleSource.
|
|
677
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
678
678
|
pythFeedId:
|
|
679
679
|
'0xb17e5bc5de742a8a378b54c9c75442b7d51e30ada63f28d9bd28d3c0e26511a0',
|
|
680
680
|
},
|
|
@@ -718,9 +718,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
718
718
|
symbol: 'IO-PERP',
|
|
719
719
|
baseAssetSymbol: 'IO',
|
|
720
720
|
marketIndex: 32,
|
|
721
|
-
oracle: new PublicKey('
|
|
721
|
+
oracle: new PublicKey('HxM66CFwGwrvfTFFkvvA8N3CnKX6m2obzameYWDaSSdA'),
|
|
722
722
|
launchTs: 1718021389000,
|
|
723
|
-
oracleSource: OracleSource.
|
|
723
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
724
724
|
pythFeedId:
|
|
725
725
|
'0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
726
726
|
},
|
|
@@ -733,6 +733,8 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
733
733
|
oracle: new PublicKey('4gdbqxkMrF1bYVeEJKRmTqCCvJjRCZrRhxvriGY6SwLj'),
|
|
734
734
|
launchTs: 1719415157000,
|
|
735
735
|
oracleSource: OracleSource.SWITCHBOARD,
|
|
736
|
+
pythFeedId:
|
|
737
|
+
'0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
|
|
736
738
|
},
|
|
737
739
|
{
|
|
738
740
|
fullName: 'POPCAT',
|
|
@@ -743,6 +745,8 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
743
745
|
oracle: new PublicKey('3GjpjC8TWsPqjyFSiR7saGxgzD8zqYJNsBnWpenZPEBy'),
|
|
744
746
|
launchTs: 1720013054000,
|
|
745
747
|
oracleSource: OracleSource.SWITCHBOARD,
|
|
748
|
+
pythFeedId:
|
|
749
|
+
'0xb9312a7ee50e189ef045aa3c7842e099b061bd9bdc99ac645956c3b660dc8cce',
|
|
746
750
|
},
|
|
747
751
|
{
|
|
748
752
|
fullName: 'Wen',
|