@drift-labs/sdk 2.110.0-beta.11 → 2.110.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/browser/constants/perpMarkets.js +40 -20
- package/lib/browser/constants/spotMarkets.js +6 -6
- package/lib/node/constants/perpMarkets.js +40 -20
- package/lib/node/constants/spotMarkets.js +6 -6
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +40 -20
- package/src/constants/spotMarkets.ts +6 -6
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.110.0-beta.
|
|
1
|
+
2.110.0-beta.13
|
|
@@ -458,9 +458,9 @@ exports.MainnetPerpMarkets = [
|
|
|
458
458
|
symbol: 'SUI-PERP',
|
|
459
459
|
baseAssetSymbol: 'SUI',
|
|
460
460
|
marketIndex: 9,
|
|
461
|
-
oracle: new web3_js_1.PublicKey('
|
|
461
|
+
oracle: new web3_js_1.PublicKey('HmeJeBKgceqvSBd5XBXZUYECLabnbS1SefLkeJKH8ERK'),
|
|
462
462
|
launchTs: 1683125906000,
|
|
463
|
-
oracleSource: __1.OracleSource.
|
|
463
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
464
464
|
pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
|
|
465
465
|
pythLazerId: 11,
|
|
466
466
|
},
|
|
@@ -470,9 +470,9 @@ exports.MainnetPerpMarkets = [
|
|
|
470
470
|
symbol: '1MPEPE-PERP',
|
|
471
471
|
baseAssetSymbol: '1MPEPE',
|
|
472
472
|
marketIndex: 10,
|
|
473
|
-
oracle: new web3_js_1.PublicKey('
|
|
473
|
+
oracle: new web3_js_1.PublicKey('Eo8x9Y1289GvsuYVwRS2R8HfiWRXxYofL1KYvHK2ZM2o'),
|
|
474
474
|
launchTs: 1683781239000,
|
|
475
|
-
oracleSource: __1.OracleSource.
|
|
475
|
+
oracleSource: __1.OracleSource.PYTH_LAZER_1M,
|
|
476
476
|
pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
|
|
477
477
|
pythLazerId: 4,
|
|
478
478
|
},
|
|
@@ -506,9 +506,9 @@ exports.MainnetPerpMarkets = [
|
|
|
506
506
|
symbol: 'XRP-PERP',
|
|
507
507
|
baseAssetSymbol: 'XRP',
|
|
508
508
|
marketIndex: 13,
|
|
509
|
-
oracle: new web3_js_1.PublicKey('
|
|
509
|
+
oracle: new web3_js_1.PublicKey('92VexDMsSzYvVq7eiEoodEzZxCLqYnfGKpVTqpkX12FY'),
|
|
510
510
|
launchTs: 1689270550000,
|
|
511
|
-
oracleSource: __1.OracleSource.
|
|
511
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
512
512
|
pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
513
513
|
pythLazerId: 14,
|
|
514
514
|
},
|
|
@@ -576,9 +576,9 @@ exports.MainnetPerpMarkets = [
|
|
|
576
576
|
symbol: 'TIA-PERP',
|
|
577
577
|
baseAssetSymbol: 'TIA',
|
|
578
578
|
marketIndex: 19,
|
|
579
|
-
oracle: new web3_js_1.PublicKey('
|
|
579
|
+
oracle: new web3_js_1.PublicKey('2rDfWydvqvMQjDuf7vQsgfpa6dLMZehrWrpoXitn6gPx'),
|
|
580
580
|
launchTs: 1701880540000,
|
|
581
|
-
oracleSource: __1.OracleSource.
|
|
581
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
582
582
|
pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
|
583
583
|
pythLazerId: 48,
|
|
584
584
|
},
|
|
@@ -588,9 +588,9 @@ exports.MainnetPerpMarkets = [
|
|
|
588
588
|
symbol: 'JTO-PERP',
|
|
589
589
|
baseAssetSymbol: 'JTO',
|
|
590
590
|
marketIndex: 20,
|
|
591
|
-
oracle: new web3_js_1.PublicKey('
|
|
591
|
+
oracle: new web3_js_1.PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
592
592
|
launchTs: 1701967240000,
|
|
593
|
-
oracleSource: __1.OracleSource.
|
|
593
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
594
594
|
pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
595
595
|
pythLazerId: 91,
|
|
596
596
|
},
|
|
@@ -624,9 +624,9 @@ exports.MainnetPerpMarkets = [
|
|
|
624
624
|
symbol: 'WIF-PERP',
|
|
625
625
|
baseAssetSymbol: 'WIF',
|
|
626
626
|
marketIndex: 23,
|
|
627
|
-
oracle: new web3_js_1.PublicKey('
|
|
627
|
+
oracle: new web3_js_1.PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
628
628
|
launchTs: 1706219971000,
|
|
629
|
-
oracleSource: __1.OracleSource.
|
|
629
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
630
630
|
pythFeedId: '0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
|
|
631
631
|
pythLazerId: 10,
|
|
632
632
|
},
|
|
@@ -695,9 +695,9 @@ exports.MainnetPerpMarkets = [
|
|
|
695
695
|
symbol: 'TNSR-PERP',
|
|
696
696
|
baseAssetSymbol: 'TNSR',
|
|
697
697
|
marketIndex: 29,
|
|
698
|
-
oracle: new web3_js_1.PublicKey('
|
|
698
|
+
oracle: new web3_js_1.PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
699
699
|
launchTs: 1712593532000,
|
|
700
|
-
oracleSource: __1.OracleSource.
|
|
700
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
701
701
|
pythFeedId: '0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
|
|
702
702
|
pythLazerId: 99,
|
|
703
703
|
},
|
|
@@ -728,9 +728,9 @@ exports.MainnetPerpMarkets = [
|
|
|
728
728
|
symbol: 'IO-PERP',
|
|
729
729
|
baseAssetSymbol: 'IO',
|
|
730
730
|
marketIndex: 32,
|
|
731
|
-
oracle: new web3_js_1.PublicKey('
|
|
731
|
+
oracle: new web3_js_1.PublicKey('8x84eFZVGD9C8vmQqnB9P8UDPMdDWduFaULspKUYGthP'),
|
|
732
732
|
launchTs: 1718021389000,
|
|
733
|
-
oracleSource: __1.OracleSource.
|
|
733
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
734
734
|
pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
735
735
|
pythLazerId: 90,
|
|
736
736
|
},
|
|
@@ -972,9 +972,9 @@ exports.MainnetPerpMarkets = [
|
|
|
972
972
|
symbol: 'PNUT-PERP',
|
|
973
973
|
baseAssetSymbol: 'PNUT',
|
|
974
974
|
marketIndex: 55,
|
|
975
|
-
oracle: new web3_js_1.PublicKey('
|
|
975
|
+
oracle: new web3_js_1.PublicKey('Fbd2hz8Uz26gLm2Jrj7WSrhxusrh9VuSEWVpLBPJgMYX'),
|
|
976
976
|
launchTs: 1731443152000,
|
|
977
|
-
oracleSource: __1.OracleSource.
|
|
977
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
978
978
|
pythFeedId: '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
|
|
979
979
|
pythLazerId: 77,
|
|
980
980
|
},
|
|
@@ -984,9 +984,9 @@ exports.MainnetPerpMarkets = [
|
|
|
984
984
|
symbol: 'RAY-PERP',
|
|
985
985
|
baseAssetSymbol: 'RAY',
|
|
986
986
|
marketIndex: 56,
|
|
987
|
-
oracle: new web3_js_1.PublicKey('
|
|
987
|
+
oracle: new web3_js_1.PublicKey('6VXU2P9BJkuPkfA7FJVonBtAo1c2pGnHoV9rxsdZKZyb'),
|
|
988
988
|
launchTs: 1732721897000,
|
|
989
|
-
oracleSource: __1.OracleSource.
|
|
989
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
990
990
|
pythFeedId: '0x91568baa8beb53db23eb3fb7f22c6e8bd303d103919e19733f2bb642d3e7987a',
|
|
991
991
|
pythLazerId: 54,
|
|
992
992
|
},
|
|
@@ -1100,6 +1100,26 @@ exports.MainnetPerpMarkets = [
|
|
|
1100
1100
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1101
1101
|
pythFeedId: '0x962088abcfdbdb6e30db2e340c8cf887d9efb311b1f2f17b155a63dbb6d40265',
|
|
1102
1102
|
},
|
|
1103
|
+
{
|
|
1104
|
+
fullName: 'NBAFINALS25-OKC',
|
|
1105
|
+
category: ['Prediction', 'Sport'],
|
|
1106
|
+
symbol: 'NBAFINALS25-OKC-BET',
|
|
1107
|
+
baseAssetSymbol: 'NBAFINALS25-OKC',
|
|
1108
|
+
marketIndex: 67,
|
|
1109
|
+
oracle: new web3_js_1.PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
|
|
1110
|
+
launchTs: 1739463226000,
|
|
1111
|
+
oracleSource: __1.OracleSource.Prelaunch,
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
fullName: 'NBAFINALS25-BOS',
|
|
1115
|
+
category: ['Prediction', 'Sport'],
|
|
1116
|
+
symbol: 'NBAFINALS25-BOS-BET',
|
|
1117
|
+
baseAssetSymbol: 'NBAFINALS25-BOS',
|
|
1118
|
+
marketIndex: 68,
|
|
1119
|
+
oracle: new web3_js_1.PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
|
|
1120
|
+
launchTs: 1739463226000,
|
|
1121
|
+
oracleSource: __1.OracleSource.Prelaunch,
|
|
1122
|
+
},
|
|
1103
1123
|
];
|
|
1104
1124
|
exports.PerpMarkets = {
|
|
1105
1125
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -215,8 +215,8 @@ exports.MainnetSpotMarkets = [
|
|
|
215
215
|
symbol: 'JTO',
|
|
216
216
|
marketIndex: 9,
|
|
217
217
|
poolId: 0,
|
|
218
|
-
oracle: new web3_js_1.PublicKey('
|
|
219
|
-
oracleSource: __1.OracleSource.
|
|
218
|
+
oracle: new web3_js_1.PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
219
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
220
220
|
mint: new web3_js_1.PublicKey('jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL'),
|
|
221
221
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
222
222
|
precisionExp: numericConstants_1.NINE,
|
|
@@ -229,8 +229,8 @@ exports.MainnetSpotMarkets = [
|
|
|
229
229
|
symbol: 'WIF',
|
|
230
230
|
marketIndex: 10,
|
|
231
231
|
poolId: 0,
|
|
232
|
-
oracle: new web3_js_1.PublicKey('
|
|
233
|
-
oracleSource: __1.OracleSource.
|
|
232
|
+
oracle: new web3_js_1.PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
233
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
234
234
|
mint: new web3_js_1.PublicKey('EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm'),
|
|
235
235
|
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
236
236
|
precisionExp: numericConstants_1.SIX,
|
|
@@ -286,8 +286,8 @@ exports.MainnetSpotMarkets = [
|
|
|
286
286
|
symbol: 'TNSR',
|
|
287
287
|
marketIndex: 14,
|
|
288
288
|
poolId: 0,
|
|
289
|
-
oracle: new web3_js_1.PublicKey('
|
|
290
|
-
oracleSource: __1.OracleSource.
|
|
289
|
+
oracle: new web3_js_1.PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
290
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
291
291
|
mint: new web3_js_1.PublicKey('TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6'),
|
|
292
292
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
293
293
|
precisionExp: numericConstants_1.NINE,
|
|
@@ -458,9 +458,9 @@ exports.MainnetPerpMarkets = [
|
|
|
458
458
|
symbol: 'SUI-PERP',
|
|
459
459
|
baseAssetSymbol: 'SUI',
|
|
460
460
|
marketIndex: 9,
|
|
461
|
-
oracle: new web3_js_1.PublicKey('
|
|
461
|
+
oracle: new web3_js_1.PublicKey('HmeJeBKgceqvSBd5XBXZUYECLabnbS1SefLkeJKH8ERK'),
|
|
462
462
|
launchTs: 1683125906000,
|
|
463
|
-
oracleSource: __1.OracleSource.
|
|
463
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
464
464
|
pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
|
|
465
465
|
pythLazerId: 11,
|
|
466
466
|
},
|
|
@@ -470,9 +470,9 @@ exports.MainnetPerpMarkets = [
|
|
|
470
470
|
symbol: '1MPEPE-PERP',
|
|
471
471
|
baseAssetSymbol: '1MPEPE',
|
|
472
472
|
marketIndex: 10,
|
|
473
|
-
oracle: new web3_js_1.PublicKey('
|
|
473
|
+
oracle: new web3_js_1.PublicKey('Eo8x9Y1289GvsuYVwRS2R8HfiWRXxYofL1KYvHK2ZM2o'),
|
|
474
474
|
launchTs: 1683781239000,
|
|
475
|
-
oracleSource: __1.OracleSource.
|
|
475
|
+
oracleSource: __1.OracleSource.PYTH_LAZER_1M,
|
|
476
476
|
pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
|
|
477
477
|
pythLazerId: 4,
|
|
478
478
|
},
|
|
@@ -506,9 +506,9 @@ exports.MainnetPerpMarkets = [
|
|
|
506
506
|
symbol: 'XRP-PERP',
|
|
507
507
|
baseAssetSymbol: 'XRP',
|
|
508
508
|
marketIndex: 13,
|
|
509
|
-
oracle: new web3_js_1.PublicKey('
|
|
509
|
+
oracle: new web3_js_1.PublicKey('92VexDMsSzYvVq7eiEoodEzZxCLqYnfGKpVTqpkX12FY'),
|
|
510
510
|
launchTs: 1689270550000,
|
|
511
|
-
oracleSource: __1.OracleSource.
|
|
511
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
512
512
|
pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
513
513
|
pythLazerId: 14,
|
|
514
514
|
},
|
|
@@ -576,9 +576,9 @@ exports.MainnetPerpMarkets = [
|
|
|
576
576
|
symbol: 'TIA-PERP',
|
|
577
577
|
baseAssetSymbol: 'TIA',
|
|
578
578
|
marketIndex: 19,
|
|
579
|
-
oracle: new web3_js_1.PublicKey('
|
|
579
|
+
oracle: new web3_js_1.PublicKey('2rDfWydvqvMQjDuf7vQsgfpa6dLMZehrWrpoXitn6gPx'),
|
|
580
580
|
launchTs: 1701880540000,
|
|
581
|
-
oracleSource: __1.OracleSource.
|
|
581
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
582
582
|
pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
|
583
583
|
pythLazerId: 48,
|
|
584
584
|
},
|
|
@@ -588,9 +588,9 @@ exports.MainnetPerpMarkets = [
|
|
|
588
588
|
symbol: 'JTO-PERP',
|
|
589
589
|
baseAssetSymbol: 'JTO',
|
|
590
590
|
marketIndex: 20,
|
|
591
|
-
oracle: new web3_js_1.PublicKey('
|
|
591
|
+
oracle: new web3_js_1.PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
592
592
|
launchTs: 1701967240000,
|
|
593
|
-
oracleSource: __1.OracleSource.
|
|
593
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
594
594
|
pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
595
595
|
pythLazerId: 91,
|
|
596
596
|
},
|
|
@@ -624,9 +624,9 @@ exports.MainnetPerpMarkets = [
|
|
|
624
624
|
symbol: 'WIF-PERP',
|
|
625
625
|
baseAssetSymbol: 'WIF',
|
|
626
626
|
marketIndex: 23,
|
|
627
|
-
oracle: new web3_js_1.PublicKey('
|
|
627
|
+
oracle: new web3_js_1.PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
628
628
|
launchTs: 1706219971000,
|
|
629
|
-
oracleSource: __1.OracleSource.
|
|
629
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
630
630
|
pythFeedId: '0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
|
|
631
631
|
pythLazerId: 10,
|
|
632
632
|
},
|
|
@@ -695,9 +695,9 @@ exports.MainnetPerpMarkets = [
|
|
|
695
695
|
symbol: 'TNSR-PERP',
|
|
696
696
|
baseAssetSymbol: 'TNSR',
|
|
697
697
|
marketIndex: 29,
|
|
698
|
-
oracle: new web3_js_1.PublicKey('
|
|
698
|
+
oracle: new web3_js_1.PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
699
699
|
launchTs: 1712593532000,
|
|
700
|
-
oracleSource: __1.OracleSource.
|
|
700
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
701
701
|
pythFeedId: '0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
|
|
702
702
|
pythLazerId: 99,
|
|
703
703
|
},
|
|
@@ -728,9 +728,9 @@ exports.MainnetPerpMarkets = [
|
|
|
728
728
|
symbol: 'IO-PERP',
|
|
729
729
|
baseAssetSymbol: 'IO',
|
|
730
730
|
marketIndex: 32,
|
|
731
|
-
oracle: new web3_js_1.PublicKey('
|
|
731
|
+
oracle: new web3_js_1.PublicKey('8x84eFZVGD9C8vmQqnB9P8UDPMdDWduFaULspKUYGthP'),
|
|
732
732
|
launchTs: 1718021389000,
|
|
733
|
-
oracleSource: __1.OracleSource.
|
|
733
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
734
734
|
pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
735
735
|
pythLazerId: 90,
|
|
736
736
|
},
|
|
@@ -972,9 +972,9 @@ exports.MainnetPerpMarkets = [
|
|
|
972
972
|
symbol: 'PNUT-PERP',
|
|
973
973
|
baseAssetSymbol: 'PNUT',
|
|
974
974
|
marketIndex: 55,
|
|
975
|
-
oracle: new web3_js_1.PublicKey('
|
|
975
|
+
oracle: new web3_js_1.PublicKey('Fbd2hz8Uz26gLm2Jrj7WSrhxusrh9VuSEWVpLBPJgMYX'),
|
|
976
976
|
launchTs: 1731443152000,
|
|
977
|
-
oracleSource: __1.OracleSource.
|
|
977
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
978
978
|
pythFeedId: '0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
|
|
979
979
|
pythLazerId: 77,
|
|
980
980
|
},
|
|
@@ -984,9 +984,9 @@ exports.MainnetPerpMarkets = [
|
|
|
984
984
|
symbol: 'RAY-PERP',
|
|
985
985
|
baseAssetSymbol: 'RAY',
|
|
986
986
|
marketIndex: 56,
|
|
987
|
-
oracle: new web3_js_1.PublicKey('
|
|
987
|
+
oracle: new web3_js_1.PublicKey('6VXU2P9BJkuPkfA7FJVonBtAo1c2pGnHoV9rxsdZKZyb'),
|
|
988
988
|
launchTs: 1732721897000,
|
|
989
|
-
oracleSource: __1.OracleSource.
|
|
989
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
990
990
|
pythFeedId: '0x91568baa8beb53db23eb3fb7f22c6e8bd303d103919e19733f2bb642d3e7987a',
|
|
991
991
|
pythLazerId: 54,
|
|
992
992
|
},
|
|
@@ -1100,6 +1100,26 @@ exports.MainnetPerpMarkets = [
|
|
|
1100
1100
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1101
1101
|
pythFeedId: '0x962088abcfdbdb6e30db2e340c8cf887d9efb311b1f2f17b155a63dbb6d40265',
|
|
1102
1102
|
},
|
|
1103
|
+
{
|
|
1104
|
+
fullName: 'NBAFINALS25-OKC',
|
|
1105
|
+
category: ['Prediction', 'Sport'],
|
|
1106
|
+
symbol: 'NBAFINALS25-OKC-BET',
|
|
1107
|
+
baseAssetSymbol: 'NBAFINALS25-OKC',
|
|
1108
|
+
marketIndex: 67,
|
|
1109
|
+
oracle: new web3_js_1.PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
|
|
1110
|
+
launchTs: 1739463226000,
|
|
1111
|
+
oracleSource: __1.OracleSource.Prelaunch,
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
fullName: 'NBAFINALS25-BOS',
|
|
1115
|
+
category: ['Prediction', 'Sport'],
|
|
1116
|
+
symbol: 'NBAFINALS25-BOS-BET',
|
|
1117
|
+
baseAssetSymbol: 'NBAFINALS25-BOS',
|
|
1118
|
+
marketIndex: 68,
|
|
1119
|
+
oracle: new web3_js_1.PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
|
|
1120
|
+
launchTs: 1739463226000,
|
|
1121
|
+
oracleSource: __1.OracleSource.Prelaunch,
|
|
1122
|
+
},
|
|
1103
1123
|
];
|
|
1104
1124
|
exports.PerpMarkets = {
|
|
1105
1125
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -215,8 +215,8 @@ exports.MainnetSpotMarkets = [
|
|
|
215
215
|
symbol: 'JTO',
|
|
216
216
|
marketIndex: 9,
|
|
217
217
|
poolId: 0,
|
|
218
|
-
oracle: new web3_js_1.PublicKey('
|
|
219
|
-
oracleSource: __1.OracleSource.
|
|
218
|
+
oracle: new web3_js_1.PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
219
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
220
220
|
mint: new web3_js_1.PublicKey('jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL'),
|
|
221
221
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
222
222
|
precisionExp: numericConstants_1.NINE,
|
|
@@ -229,8 +229,8 @@ exports.MainnetSpotMarkets = [
|
|
|
229
229
|
symbol: 'WIF',
|
|
230
230
|
marketIndex: 10,
|
|
231
231
|
poolId: 0,
|
|
232
|
-
oracle: new web3_js_1.PublicKey('
|
|
233
|
-
oracleSource: __1.OracleSource.
|
|
232
|
+
oracle: new web3_js_1.PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
233
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
234
234
|
mint: new web3_js_1.PublicKey('EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm'),
|
|
235
235
|
precision: new __1.BN(10).pow(numericConstants_1.SIX),
|
|
236
236
|
precisionExp: numericConstants_1.SIX,
|
|
@@ -286,8 +286,8 @@ exports.MainnetSpotMarkets = [
|
|
|
286
286
|
symbol: 'TNSR',
|
|
287
287
|
marketIndex: 14,
|
|
288
288
|
poolId: 0,
|
|
289
|
-
oracle: new web3_js_1.PublicKey('
|
|
290
|
-
oracleSource: __1.OracleSource.
|
|
289
|
+
oracle: new web3_js_1.PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
290
|
+
oracleSource: __1.OracleSource.PYTH_LAZER,
|
|
291
291
|
mint: new web3_js_1.PublicKey('TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6'),
|
|
292
292
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
293
293
|
precisionExp: numericConstants_1.NINE,
|
package/package.json
CHANGED
|
@@ -506,9 +506,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
506
506
|
symbol: 'SUI-PERP',
|
|
507
507
|
baseAssetSymbol: 'SUI',
|
|
508
508
|
marketIndex: 9,
|
|
509
|
-
oracle: new PublicKey('
|
|
509
|
+
oracle: new PublicKey('HmeJeBKgceqvSBd5XBXZUYECLabnbS1SefLkeJKH8ERK'),
|
|
510
510
|
launchTs: 1683125906000,
|
|
511
|
-
oracleSource: OracleSource.
|
|
511
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
512
512
|
pythFeedId:
|
|
513
513
|
'0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
|
|
514
514
|
pythLazerId: 11,
|
|
@@ -519,9 +519,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
519
519
|
symbol: '1MPEPE-PERP',
|
|
520
520
|
baseAssetSymbol: '1MPEPE',
|
|
521
521
|
marketIndex: 10,
|
|
522
|
-
oracle: new PublicKey('
|
|
522
|
+
oracle: new PublicKey('Eo8x9Y1289GvsuYVwRS2R8HfiWRXxYofL1KYvHK2ZM2o'),
|
|
523
523
|
launchTs: 1683781239000,
|
|
524
|
-
oracleSource: OracleSource.
|
|
524
|
+
oracleSource: OracleSource.PYTH_LAZER_1M,
|
|
525
525
|
pythFeedId:
|
|
526
526
|
'0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
|
|
527
527
|
pythLazerId: 4,
|
|
@@ -558,9 +558,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
558
558
|
symbol: 'XRP-PERP',
|
|
559
559
|
baseAssetSymbol: 'XRP',
|
|
560
560
|
marketIndex: 13,
|
|
561
|
-
oracle: new PublicKey('
|
|
561
|
+
oracle: new PublicKey('92VexDMsSzYvVq7eiEoodEzZxCLqYnfGKpVTqpkX12FY'),
|
|
562
562
|
launchTs: 1689270550000,
|
|
563
|
-
oracleSource: OracleSource.
|
|
563
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
564
564
|
pythFeedId:
|
|
565
565
|
'0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
|
|
566
566
|
pythLazerId: 14,
|
|
@@ -634,9 +634,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
634
634
|
symbol: 'TIA-PERP',
|
|
635
635
|
baseAssetSymbol: 'TIA',
|
|
636
636
|
marketIndex: 19,
|
|
637
|
-
oracle: new PublicKey('
|
|
637
|
+
oracle: new PublicKey('2rDfWydvqvMQjDuf7vQsgfpa6dLMZehrWrpoXitn6gPx'),
|
|
638
638
|
launchTs: 1701880540000,
|
|
639
|
-
oracleSource: OracleSource.
|
|
639
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
640
640
|
pythFeedId:
|
|
641
641
|
'0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
|
|
642
642
|
pythLazerId: 48,
|
|
@@ -647,9 +647,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
647
647
|
symbol: 'JTO-PERP',
|
|
648
648
|
baseAssetSymbol: 'JTO',
|
|
649
649
|
marketIndex: 20,
|
|
650
|
-
oracle: new PublicKey('
|
|
650
|
+
oracle: new PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
651
651
|
launchTs: 1701967240000,
|
|
652
|
-
oracleSource: OracleSource.
|
|
652
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
653
653
|
pythFeedId:
|
|
654
654
|
'0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
|
|
655
655
|
pythLazerId: 91,
|
|
@@ -686,9 +686,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
686
686
|
symbol: 'WIF-PERP',
|
|
687
687
|
baseAssetSymbol: 'WIF',
|
|
688
688
|
marketIndex: 23,
|
|
689
|
-
oracle: new PublicKey('
|
|
689
|
+
oracle: new PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
690
690
|
launchTs: 1706219971000,
|
|
691
|
-
oracleSource: OracleSource.
|
|
691
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
692
692
|
pythFeedId:
|
|
693
693
|
'0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
|
|
694
694
|
pythLazerId: 10,
|
|
@@ -763,9 +763,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
763
763
|
symbol: 'TNSR-PERP',
|
|
764
764
|
baseAssetSymbol: 'TNSR',
|
|
765
765
|
marketIndex: 29,
|
|
766
|
-
oracle: new PublicKey('
|
|
766
|
+
oracle: new PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
767
767
|
launchTs: 1712593532000,
|
|
768
|
-
oracleSource: OracleSource.
|
|
768
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
769
769
|
pythFeedId:
|
|
770
770
|
'0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
|
|
771
771
|
pythLazerId: 99,
|
|
@@ -798,9 +798,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
798
798
|
symbol: 'IO-PERP',
|
|
799
799
|
baseAssetSymbol: 'IO',
|
|
800
800
|
marketIndex: 32,
|
|
801
|
-
oracle: new PublicKey('
|
|
801
|
+
oracle: new PublicKey('8x84eFZVGD9C8vmQqnB9P8UDPMdDWduFaULspKUYGthP'),
|
|
802
802
|
launchTs: 1718021389000,
|
|
803
|
-
oracleSource: OracleSource.
|
|
803
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
804
804
|
pythFeedId:
|
|
805
805
|
'0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
|
|
806
806
|
pythLazerId: 90,
|
|
@@ -1054,9 +1054,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
1054
1054
|
symbol: 'PNUT-PERP',
|
|
1055
1055
|
baseAssetSymbol: 'PNUT',
|
|
1056
1056
|
marketIndex: 55,
|
|
1057
|
-
oracle: new PublicKey('
|
|
1057
|
+
oracle: new PublicKey('Fbd2hz8Uz26gLm2Jrj7WSrhxusrh9VuSEWVpLBPJgMYX'),
|
|
1058
1058
|
launchTs: 1731443152000,
|
|
1059
|
-
oracleSource: OracleSource.
|
|
1059
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
1060
1060
|
pythFeedId:
|
|
1061
1061
|
'0x116da895807f81f6b5c5f01b109376e7f6834dc8b51365ab7cdfa66634340e54',
|
|
1062
1062
|
pythLazerId: 77,
|
|
@@ -1067,9 +1067,9 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
1067
1067
|
symbol: 'RAY-PERP',
|
|
1068
1068
|
baseAssetSymbol: 'RAY',
|
|
1069
1069
|
marketIndex: 56,
|
|
1070
|
-
oracle: new PublicKey('
|
|
1070
|
+
oracle: new PublicKey('6VXU2P9BJkuPkfA7FJVonBtAo1c2pGnHoV9rxsdZKZyb'),
|
|
1071
1071
|
launchTs: 1732721897000,
|
|
1072
|
-
oracleSource: OracleSource.
|
|
1072
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
1073
1073
|
pythFeedId:
|
|
1074
1074
|
'0x91568baa8beb53db23eb3fb7f22c6e8bd303d103919e19733f2bb642d3e7987a',
|
|
1075
1075
|
pythLazerId: 54,
|
|
@@ -1192,6 +1192,26 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
1192
1192
|
pythFeedId:
|
|
1193
1193
|
'0x962088abcfdbdb6e30db2e340c8cf887d9efb311b1f2f17b155a63dbb6d40265',
|
|
1194
1194
|
},
|
|
1195
|
+
{
|
|
1196
|
+
fullName: 'NBAFINALS25-OKC',
|
|
1197
|
+
category: ['Prediction', 'Sport'],
|
|
1198
|
+
symbol: 'NBAFINALS25-OKC-BET',
|
|
1199
|
+
baseAssetSymbol: 'NBAFINALS25-OKC',
|
|
1200
|
+
marketIndex: 67,
|
|
1201
|
+
oracle: new PublicKey('HieNNSAy9tjtU2mLEcGtgCMViCeZ1881fX7tfezL7wdV'),
|
|
1202
|
+
launchTs: 1739463226000,
|
|
1203
|
+
oracleSource: OracleSource.Prelaunch,
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
fullName: 'NBAFINALS25-BOS',
|
|
1207
|
+
category: ['Prediction', 'Sport'],
|
|
1208
|
+
symbol: 'NBAFINALS25-BOS-BET',
|
|
1209
|
+
baseAssetSymbol: 'NBAFINALS25-BOS',
|
|
1210
|
+
marketIndex: 68,
|
|
1211
|
+
oracle: new PublicKey('HorrnsG8RBMv7dhzbgPX4wqcWbUTV5NwV8r59UwTu4CJ'),
|
|
1212
|
+
launchTs: 1739463226000,
|
|
1213
|
+
oracleSource: OracleSource.Prelaunch,
|
|
1214
|
+
},
|
|
1195
1215
|
];
|
|
1196
1216
|
|
|
1197
1217
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -273,8 +273,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
273
273
|
symbol: 'JTO',
|
|
274
274
|
marketIndex: 9,
|
|
275
275
|
poolId: 0,
|
|
276
|
-
oracle: new PublicKey('
|
|
277
|
-
oracleSource: OracleSource.
|
|
276
|
+
oracle: new PublicKey('CGCz4mB8NsDddCq6BZToRUDUuktzsAfpKYh6ATgyyCGF'),
|
|
277
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
278
278
|
mint: new PublicKey('jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL'),
|
|
279
279
|
precision: new BN(10).pow(NINE),
|
|
280
280
|
precisionExp: NINE,
|
|
@@ -290,8 +290,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
290
290
|
symbol: 'WIF',
|
|
291
291
|
marketIndex: 10,
|
|
292
292
|
poolId: 0,
|
|
293
|
-
oracle: new PublicKey('
|
|
294
|
-
oracleSource: OracleSource.
|
|
293
|
+
oracle: new PublicKey('4QXWStoyEErTZFVsvKrvxuNa6QT8zpeA8jddZunSGvYE'),
|
|
294
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
295
295
|
mint: new PublicKey('EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm'),
|
|
296
296
|
precision: new BN(10).pow(SIX),
|
|
297
297
|
precisionExp: SIX,
|
|
@@ -359,8 +359,8 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
359
359
|
symbol: 'TNSR',
|
|
360
360
|
marketIndex: 14,
|
|
361
361
|
poolId: 0,
|
|
362
|
-
oracle: new PublicKey('
|
|
363
|
-
oracleSource: OracleSource.
|
|
362
|
+
oracle: new PublicKey('EX6r1GdfsgcUsY6cQ6YsToV4RGsb4HKpjrkokK2DrmsS'),
|
|
363
|
+
oracleSource: OracleSource.PYTH_LAZER,
|
|
364
364
|
mint: new PublicKey('TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6'),
|
|
365
365
|
precision: new BN(10).pow(NINE),
|
|
366
366
|
precisionExp: NINE,
|