@drift-labs/sdk 2.20.0-beta.2 → 2.20.0-beta.3

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.
@@ -54,6 +54,16 @@ exports.DevnetPerpMarkets = [
54
54
  launchTs: 1677068931000,
55
55
  oracleSource: __1.OracleSource.PYTH_1M,
56
56
  },
57
+ {
58
+ fullName: 'Polygon',
59
+ category: ['L2', 'Infra'],
60
+ symbol: 'MATIC-PERP',
61
+ baseAssetSymbol: 'MATIC',
62
+ marketIndex: 5,
63
+ oracle: new web3_js_1.PublicKey('FBirwuDFuRAu4iSGc7RGxN5koHB7EJM1wbCmyPuQoGur'),
64
+ launchTs: 1677690149000,
65
+ oracleSource: __1.OracleSource.PYTH,
66
+ },
57
67
  ];
58
68
  exports.MainnetPerpMarkets = [
59
69
  {
@@ -106,6 +116,16 @@ exports.MainnetPerpMarkets = [
106
116
  launchTs: 1677690149000,
107
117
  oracleSource: __1.OracleSource.PYTH_1M,
108
118
  },
119
+ {
120
+ fullName: 'Polygon',
121
+ category: ['L2', 'Infra'],
122
+ symbol: 'MATIC-PERP',
123
+ baseAssetSymbol: 'MATIC',
124
+ marketIndex: 5,
125
+ oracle: new web3_js_1.PublicKey('7KVswB9vkCgeM3SHP7aGDijvdRAHK8P5wi9JXViCrtYh'),
126
+ launchTs: 1677690149000,
127
+ oracleSource: __1.OracleSource.PYTH,
128
+ },
109
129
  ];
110
130
  exports.PerpMarkets = {
111
131
  devnet: exports.DevnetPerpMarkets,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.20.0-beta.2",
2
+ "version": "2.20.0-beta.3",
3
3
  "name": "drift",
4
4
  "instructions": [
5
5
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.20.0-beta.2",
3
+ "version": "2.20.0-beta.3",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -64,6 +64,16 @@ export const DevnetPerpMarkets: PerpMarketConfig[] = [
64
64
  launchTs: 1677068931000,
65
65
  oracleSource: OracleSource.PYTH_1M,
66
66
  },
67
+ {
68
+ fullName: 'Polygon',
69
+ category: ['L2', 'Infra'],
70
+ symbol: 'MATIC-PERP',
71
+ baseAssetSymbol: 'MATIC',
72
+ marketIndex: 5,
73
+ oracle: new PublicKey('FBirwuDFuRAu4iSGc7RGxN5koHB7EJM1wbCmyPuQoGur'),
74
+ launchTs: 1677690149000, //todo
75
+ oracleSource: OracleSource.PYTH,
76
+ },
67
77
  ];
68
78
 
69
79
  export const MainnetPerpMarkets: PerpMarketConfig[] = [
@@ -117,6 +127,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
117
127
  launchTs: 1677690149000,
118
128
  oracleSource: OracleSource.PYTH_1M,
119
129
  },
130
+ {
131
+ fullName: 'Polygon',
132
+ category: ['L2', 'Infra'],
133
+ symbol: 'MATIC-PERP',
134
+ baseAssetSymbol: 'MATIC',
135
+ marketIndex: 5,
136
+ oracle: new PublicKey('7KVswB9vkCgeM3SHP7aGDijvdRAHK8P5wi9JXViCrtYh'),
137
+ launchTs: 1677690149000, //todo
138
+ oracleSource: OracleSource.PYTH,
139
+ },
120
140
  ];
121
141
 
122
142
  export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.20.0-beta.2",
2
+ "version": "2.20.0-beta.3",
3
3
  "name": "drift",
4
4
  "instructions": [
5
5
  {