@drift-labs/sdk 2.107.0-beta.1 → 2.107.0-beta.2
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 +11 -0
- package/lib/browser/constants/spotMarkets.js +12 -0
- package/lib/node/constants/perpMarkets.js +11 -0
- package/lib/node/constants/spotMarkets.js +12 -0
- package/package.json +1 -1
- package/src/constants/perpMarkets.ts +12 -0
- package/src/constants/spotMarkets.ts +13 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.107.0-beta.
|
|
1
|
+
2.107.0-beta.2
|
|
@@ -1004,6 +1004,17 @@ exports.MainnetPerpMarkets = [
|
|
|
1004
1004
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1005
1005
|
pythFeedId: '0xbed3097008b9b5e3c93bec20be79cb43986b85a996475589351a21e67bae9b61',
|
|
1006
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
fullName: 'AI16Z',
|
|
1009
|
+
category: ['AI'],
|
|
1010
|
+
symbol: 'AI16Z-PERP',
|
|
1011
|
+
baseAssetSymbol: 'AI16Z',
|
|
1012
|
+
marketIndex: 63,
|
|
1013
|
+
oracle: new web3_js_1.PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
1014
|
+
launchTs: 1736384970000,
|
|
1015
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1016
|
+
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1017
|
+
},
|
|
1007
1018
|
];
|
|
1008
1019
|
exports.PerpMarkets = {
|
|
1009
1020
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -513,6 +513,18 @@ exports.MainnetSpotMarkets = [
|
|
|
513
513
|
pythFeedId: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
514
514
|
launchTs: 1735255852000,
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
symbol: 'AI16Z',
|
|
518
|
+
marketIndex: 35,
|
|
519
|
+
poolId: 0,
|
|
520
|
+
oracle: new web3_js_1.PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
521
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
522
|
+
mint: new web3_js_1.PublicKey('HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC'),
|
|
523
|
+
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
524
|
+
precisionExp: numericConstants_1.NINE,
|
|
525
|
+
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
526
|
+
launchTs: 1736384970000,
|
|
527
|
+
},
|
|
516
528
|
];
|
|
517
529
|
exports.SpotMarkets = {
|
|
518
530
|
devnet: exports.DevnetSpotMarkets,
|
|
@@ -1004,6 +1004,17 @@ exports.MainnetPerpMarkets = [
|
|
|
1004
1004
|
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1005
1005
|
pythFeedId: '0xbed3097008b9b5e3c93bec20be79cb43986b85a996475589351a21e67bae9b61',
|
|
1006
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
fullName: 'AI16Z',
|
|
1009
|
+
category: ['AI'],
|
|
1010
|
+
symbol: 'AI16Z-PERP',
|
|
1011
|
+
baseAssetSymbol: 'AI16Z',
|
|
1012
|
+
marketIndex: 63,
|
|
1013
|
+
oracle: new web3_js_1.PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
1014
|
+
launchTs: 1736384970000,
|
|
1015
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
1016
|
+
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1017
|
+
},
|
|
1007
1018
|
];
|
|
1008
1019
|
exports.PerpMarkets = {
|
|
1009
1020
|
devnet: exports.DevnetPerpMarkets,
|
|
@@ -513,6 +513,18 @@ exports.MainnetSpotMarkets = [
|
|
|
513
513
|
pythFeedId: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
514
514
|
launchTs: 1735255852000,
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
symbol: 'AI16Z',
|
|
518
|
+
marketIndex: 35,
|
|
519
|
+
poolId: 0,
|
|
520
|
+
oracle: new web3_js_1.PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
521
|
+
oracleSource: __1.OracleSource.PYTH_PULL,
|
|
522
|
+
mint: new web3_js_1.PublicKey('HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC'),
|
|
523
|
+
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
524
|
+
precisionExp: numericConstants_1.NINE,
|
|
525
|
+
pythFeedId: '0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
526
|
+
launchTs: 1736384970000,
|
|
527
|
+
},
|
|
516
528
|
];
|
|
517
529
|
exports.SpotMarkets = {
|
|
518
530
|
devnet: exports.DevnetSpotMarkets,
|
package/package.json
CHANGED
|
@@ -1092,6 +1092,18 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
|
|
|
1092
1092
|
pythFeedId:
|
|
1093
1093
|
'0xbed3097008b9b5e3c93bec20be79cb43986b85a996475589351a21e67bae9b61',
|
|
1094
1094
|
},
|
|
1095
|
+
{
|
|
1096
|
+
fullName: 'AI16Z',
|
|
1097
|
+
category: ['AI'],
|
|
1098
|
+
symbol: 'AI16Z-PERP',
|
|
1099
|
+
baseAssetSymbol: 'AI16Z',
|
|
1100
|
+
marketIndex: 63,
|
|
1101
|
+
oracle: new PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
1102
|
+
launchTs: 1736384970000,
|
|
1103
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
1104
|
+
pythFeedId:
|
|
1105
|
+
'0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
1106
|
+
},
|
|
1095
1107
|
];
|
|
1096
1108
|
|
|
1097
1109
|
export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
|
|
@@ -615,6 +615,19 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
615
615
|
'0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
|
|
616
616
|
launchTs: 1735255852000,
|
|
617
617
|
},
|
|
618
|
+
{
|
|
619
|
+
symbol: 'AI16Z',
|
|
620
|
+
marketIndex: 35,
|
|
621
|
+
poolId: 0,
|
|
622
|
+
oracle: new PublicKey('3gdGkrmBdYR7B1MRRdRVysqhZCvYvLGHonr9b7o9WVki'),
|
|
623
|
+
oracleSource: OracleSource.PYTH_PULL,
|
|
624
|
+
mint: new PublicKey('HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC'),
|
|
625
|
+
precision: new BN(10).pow(NINE),
|
|
626
|
+
precisionExp: NINE,
|
|
627
|
+
pythFeedId:
|
|
628
|
+
'0x2551eca7784671173def2c41e6f3e51e11cd87494863f1d208fdd8c64a1f85ae',
|
|
629
|
+
launchTs: 1736384970000,
|
|
630
|
+
},
|
|
618
631
|
];
|
|
619
632
|
|
|
620
633
|
export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
|