@drift-labs/sdk 2.86.0-beta.9 → 2.87.0-beta.0

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.
Files changed (39) hide show
  1. package/VERSION +1 -1
  2. package/lib/addresses/pda.d.ts +1 -0
  3. package/lib/addresses/pda.js +8 -1
  4. package/lib/adminClient.d.ts +8 -4
  5. package/lib/adminClient.js +51 -8
  6. package/lib/bankrun/bankrunConnection.d.ts +1 -0
  7. package/lib/bankrun/bankrunConnection.js +6 -0
  8. package/lib/constants/numericConstants.d.ts +2 -0
  9. package/lib/constants/numericConstants.js +3 -1
  10. package/lib/constants/perpMarkets.js +135 -122
  11. package/lib/constants/spotMarkets.js +50 -38
  12. package/lib/driftClient.d.ts +12 -14
  13. package/lib/driftClient.js +147 -9
  14. package/lib/idl/drift.json +344 -10
  15. package/lib/idl/pyth_solana_receiver.json +628 -0
  16. package/lib/math/fuel.d.ts +1 -0
  17. package/lib/math/fuel.js +12 -2
  18. package/lib/types.d.ts +25 -6
  19. package/lib/types.js +3 -2
  20. package/lib/user.d.ts +6 -5
  21. package/lib/user.js +36 -18
  22. package/package.json +1 -1
  23. package/src/addresses/pda.ts +15 -0
  24. package/src/adminClient.ts +119 -7
  25. package/src/bankrun/bankrunConnection.ts +13 -0
  26. package/src/constants/numericConstants.ts +2 -0
  27. package/src/constants/perpMarkets.ts +138 -122
  28. package/src/constants/spotMarkets.ts +52 -38
  29. package/src/driftClient.ts +203 -16
  30. package/src/idl/drift.json +344 -10
  31. package/src/idl/openbook.json +3854 -0
  32. package/src/idl/pyth_solana_receiver.json +628 -0
  33. package/src/math/fuel.ts +15 -1
  34. package/src/types.ts +28 -7
  35. package/src/user.ts +119 -55
  36. package/tests/ci/verifyConstants.ts +214 -0
  37. package/tests/dlob/helpers.ts +30 -0
  38. package/tests/user/helpers.ts +1 -0
  39. package/tests/user/test.ts +2 -0
@@ -10,9 +10,9 @@ exports.DevnetPerpMarkets = [
10
10
  symbol: 'SOL-PERP',
11
11
  baseAssetSymbol: 'SOL',
12
12
  marketIndex: 0,
13
- oracle: new web3_js_1.PublicKey('J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix'),
13
+ oracle: new web3_js_1.PublicKey('BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF'),
14
14
  launchTs: 1655751353000,
15
- oracleSource: __1.OracleSource.PYTH,
15
+ oracleSource: __1.OracleSource.PYTH_PULL,
16
16
  pythFeedId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d',
17
17
  },
18
18
  {
@@ -21,9 +21,9 @@ exports.DevnetPerpMarkets = [
21
21
  symbol: 'BTC-PERP',
22
22
  baseAssetSymbol: 'BTC',
23
23
  marketIndex: 1,
24
- oracle: new web3_js_1.PublicKey('HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J'),
24
+ oracle: new web3_js_1.PublicKey('486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4'),
25
25
  launchTs: 1655751353000,
26
- oracleSource: __1.OracleSource.PYTH,
26
+ oracleSource: __1.OracleSource.PYTH_PULL,
27
27
  pythFeedId: '0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
28
28
  },
29
29
  {
@@ -32,9 +32,9 @@ exports.DevnetPerpMarkets = [
32
32
  symbol: 'ETH-PERP',
33
33
  baseAssetSymbol: 'ETH',
34
34
  marketIndex: 2,
35
- oracle: new web3_js_1.PublicKey('EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw'),
35
+ oracle: new web3_js_1.PublicKey('6bEp2MiyoiiiDxcVqE8rUHQWwHirXUXtKfAEATTVqNzT'),
36
36
  launchTs: 1637691133472,
37
- oracleSource: __1.OracleSource.PYTH,
37
+ oracleSource: __1.OracleSource.PYTH_PULL,
38
38
  pythFeedId: '0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
39
39
  },
40
40
  {
@@ -43,9 +43,9 @@ exports.DevnetPerpMarkets = [
43
43
  symbol: 'APT-PERP',
44
44
  baseAssetSymbol: 'APT',
45
45
  marketIndex: 3,
46
- oracle: new web3_js_1.PublicKey('5d2QJ6u2NveZufmJ4noHja5EHs3Bv1DUMPLG5xfasSVs'),
46
+ oracle: new web3_js_1.PublicKey('79EWaCYU9jiQN8SbvVzGFAhAncUZYp3PjNg7KxmN5cLE'),
47
47
  launchTs: 1675610186000,
48
- oracleSource: __1.OracleSource.PYTH,
48
+ oracleSource: __1.OracleSource.PYTH_PULL,
49
49
  pythFeedId: '0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
50
50
  },
51
51
  {
@@ -54,9 +54,9 @@ exports.DevnetPerpMarkets = [
54
54
  symbol: '1MBONK-PERP',
55
55
  baseAssetSymbol: '1MBONK',
56
56
  marketIndex: 4,
57
- oracle: new web3_js_1.PublicKey('6bquU99ktV1VRiHDr8gMhDFt3kMfhCQo5nfNrg2Urvsn'),
57
+ oracle: new web3_js_1.PublicKey('GojbSnJuPdKDT1ZuHuAM5t9oz6bxTo1xhUKpTua2F72p'),
58
58
  launchTs: 1677068931000,
59
- oracleSource: __1.OracleSource.PYTH_1M,
59
+ oracleSource: __1.OracleSource.PYTH_1M_PULL,
60
60
  pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
61
61
  },
62
62
  {
@@ -65,9 +65,9 @@ exports.DevnetPerpMarkets = [
65
65
  symbol: 'MATIC-PERP',
66
66
  baseAssetSymbol: 'MATIC',
67
67
  marketIndex: 5,
68
- oracle: new web3_js_1.PublicKey('FBirwuDFuRAu4iSGc7RGxN5koHB7EJM1wbCmyPuQoGur'),
68
+ oracle: new web3_js_1.PublicKey('5Wf1WrXLeNJghU8WRo5odvwAjpjSSF4THbjdxbKmwVsi'),
69
69
  launchTs: 1677690149000,
70
- oracleSource: __1.OracleSource.PYTH,
70
+ oracleSource: __1.OracleSource.PYTH_PULL,
71
71
  pythFeedId: '0x5de33a9112c2b700b8d30b8a3402c103578ccfa2765696471cc672bd5cf6ac52',
72
72
  },
73
73
  {
@@ -76,9 +76,9 @@ exports.DevnetPerpMarkets = [
76
76
  symbol: 'ARB-PERP',
77
77
  baseAssetSymbol: 'ARB',
78
78
  marketIndex: 6,
79
- oracle: new web3_js_1.PublicKey('4mRGHzjGerQNWKXyQAmr9kWqb9saPPHKqo1xziXGQ5Dh'),
79
+ oracle: new web3_js_1.PublicKey('8ocfAdqVRnzvfdubQaTxar4Kz5HJhNbPNmkLxswqiHUD'),
80
80
  launchTs: 1679501812000,
81
- oracleSource: __1.OracleSource.PYTH,
81
+ oracleSource: __1.OracleSource.PYTH_PULL,
82
82
  pythFeedId: '0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5',
83
83
  },
84
84
  {
@@ -87,9 +87,9 @@ exports.DevnetPerpMarkets = [
87
87
  symbol: 'DOGE-PERP',
88
88
  baseAssetSymbol: 'DOGE',
89
89
  marketIndex: 7,
90
- oracle: new web3_js_1.PublicKey('4L6YhY8VvUgmqG5MvJkUJATtzB2rFqdrJwQCmFLv4Jzy'),
90
+ oracle: new web3_js_1.PublicKey('23y63pHVwKfYSCDFdiGRaGbTYWoyr8UzhUE7zukyf6gK'),
91
91
  launchTs: 1680808053000,
92
- oracleSource: __1.OracleSource.PYTH,
92
+ oracleSource: __1.OracleSource.PYTH_PULL,
93
93
  pythFeedId: '0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c',
94
94
  },
95
95
  {
@@ -98,9 +98,9 @@ exports.DevnetPerpMarkets = [
98
98
  symbol: 'BNB-PERP',
99
99
  baseAssetSymbol: 'BNB',
100
100
  marketIndex: 8,
101
- oracle: new web3_js_1.PublicKey('GwzBgrXb4PG59zjce24SF2b9JXbLEjJJTBkmytuEZj1b'),
101
+ oracle: new web3_js_1.PublicKey('Dk8eWjuQHMbxJAwB9Sg7pXQPH4kgbg8qZGcUrWcD9gTm'),
102
102
  launchTs: 1680808053000,
103
- oracleSource: __1.OracleSource.PYTH,
103
+ oracleSource: __1.OracleSource.PYTH_PULL,
104
104
  pythFeedId: '0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f',
105
105
  },
106
106
  {
@@ -109,9 +109,9 @@ exports.DevnetPerpMarkets = [
109
109
  symbol: 'SUI-PERP',
110
110
  baseAssetSymbol: 'SUI',
111
111
  marketIndex: 9,
112
- oracle: new web3_js_1.PublicKey('6SK9vS8eMSSj3LUX2dPku93CrNv8xLCp9ng39F39h7A5'),
112
+ oracle: new web3_js_1.PublicKey('HBordkz5YxjzNURmKUY4vfEYFG9fZyZNeNF1VDLMoemT'),
113
113
  launchTs: 1683125906000,
114
- oracleSource: __1.OracleSource.PYTH,
114
+ oracleSource: __1.OracleSource.PYTH_PULL,
115
115
  pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
116
116
  },
117
117
  {
@@ -120,9 +120,9 @@ exports.DevnetPerpMarkets = [
120
120
  symbol: '1MPEPE-PERP',
121
121
  baseAssetSymbol: '1MPEPE',
122
122
  marketIndex: 10,
123
- oracle: new web3_js_1.PublicKey('Gz9RfgDeAFSsH7BHDGyNTgCik74rjNwsodJpsCizzmkj'),
123
+ oracle: new web3_js_1.PublicKey('CLxofhtzvLiErpn25wvUzpZXEqBhuZ6WMEckEraxyuGt'),
124
124
  launchTs: 1683781239000,
125
- oracleSource: __1.OracleSource.PYTH_1M,
125
+ oracleSource: __1.OracleSource.PYTH_1M_PULL,
126
126
  pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
127
127
  },
128
128
  {
@@ -131,9 +131,9 @@ exports.DevnetPerpMarkets = [
131
131
  symbol: 'OP-PERP',
132
132
  baseAssetSymbol: 'OP',
133
133
  marketIndex: 11,
134
- oracle: new web3_js_1.PublicKey('8ctSiDhA7eJoii4TkKV8Rx4KFdz3ycsA1FXy9wq56quG'),
134
+ oracle: new web3_js_1.PublicKey('C9Zi2Y3Mt6Zt6pcFvobN3N29HcrzKujPAPBDDTDRcUa2'),
135
135
  launchTs: 1686091480000,
136
- oracleSource: __1.OracleSource.PYTH,
136
+ oracleSource: __1.OracleSource.PYTH_PULL,
137
137
  pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
138
138
  },
139
139
  {
@@ -142,9 +142,9 @@ exports.DevnetPerpMarkets = [
142
142
  symbol: 'RNDR-PERP',
143
143
  baseAssetSymbol: 'RNDR',
144
144
  marketIndex: 12,
145
- oracle: new web3_js_1.PublicKey('C2QvUPBiU3fViSyqA4nZgGyYqLgYf9PRpd8B8oLoo48w'),
145
+ oracle: new web3_js_1.PublicKey('F3mPHRtJqqq57JPDBmUwUVhpyPLmjE5dAzDfpVgpFkug'),
146
146
  launchTs: 1687201081000,
147
- oracleSource: __1.OracleSource.PYTH,
147
+ oracleSource: __1.OracleSource.PYTH_PULL,
148
148
  pythFeedId: '0xab7347771135fc733f8f38db462ba085ed3309955f42554a14fa13e855ac0e2f',
149
149
  },
150
150
  {
@@ -153,9 +153,9 @@ exports.DevnetPerpMarkets = [
153
153
  symbol: 'XRP-PERP',
154
154
  baseAssetSymbol: 'XRP',
155
155
  marketIndex: 13,
156
- oracle: new web3_js_1.PublicKey('DuG45Td6dgJBe64Ebymb1WjBys16L1VTQdoAURdsviqN'),
156
+ oracle: new web3_js_1.PublicKey('9757epAjXWCWQH98kyK9vzgehd1XDVEf7joNHUaKk3iV'),
157
157
  launchTs: 1689270550000,
158
- oracleSource: __1.OracleSource.PYTH,
158
+ oracleSource: __1.OracleSource.PYTH_PULL,
159
159
  pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
160
160
  },
161
161
  {
@@ -164,9 +164,9 @@ exports.DevnetPerpMarkets = [
164
164
  symbol: 'HNT-PERP',
165
165
  baseAssetSymbol: 'HNT',
166
166
  marketIndex: 14,
167
- oracle: new web3_js_1.PublicKey('6Eg8YdfFJQF2HHonzPUBSCCmyUEhrStg9VBLK957sBe6'),
167
+ oracle: new web3_js_1.PublicKey('9b1rcK9RUPK2vAqwNYCYEG34gUVpS2WGs2YCZZy2X5Tb'),
168
168
  launchTs: 1692294955000,
169
- oracleSource: __1.OracleSource.PYTH,
169
+ oracleSource: __1.OracleSource.PYTH_PULL,
170
170
  pythFeedId: '0x649fdd7ec08e8e2a20f425729854e90293dcbe2376abc47197a14da6ff339756',
171
171
  },
172
172
  {
@@ -175,9 +175,9 @@ exports.DevnetPerpMarkets = [
175
175
  symbol: 'INJ-PERP',
176
176
  baseAssetSymbol: 'INJ',
177
177
  marketIndex: 15,
178
- oracle: new web3_js_1.PublicKey('44uRsNnT35kjkscSu59MxRr9CfkLZWf6gny8bWqUbVxE'),
178
+ oracle: new web3_js_1.PublicKey('BfXcyDWJmYADa5eZD7gySSDd6giqgjvm7xsAhQ239SUD'),
179
179
  launchTs: 1698074659000,
180
- oracleSource: __1.OracleSource.PYTH,
180
+ oracleSource: __1.OracleSource.PYTH_PULL,
181
181
  pythFeedId: '0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592',
182
182
  },
183
183
  {
@@ -186,9 +186,9 @@ exports.DevnetPerpMarkets = [
186
186
  symbol: 'LINK-PERP',
187
187
  baseAssetSymbol: 'LINK',
188
188
  marketIndex: 16,
189
- oracle: new web3_js_1.PublicKey('9sGidS4qUXS2WvHZFhzw4df1jNd5TvUGZXZVsSjXo7UF'),
189
+ oracle: new web3_js_1.PublicKey('Gwvob7yoLMgQRVWjScCRyQFMsgpRKrSAYisYEyjDJwEp'),
190
190
  launchTs: 1698074659000,
191
- oracleSource: __1.OracleSource.PYTH,
191
+ oracleSource: __1.OracleSource.PYTH_PULL,
192
192
  pythFeedId: '0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221',
193
193
  },
194
194
  {
@@ -197,9 +197,9 @@ exports.DevnetPerpMarkets = [
197
197
  symbol: 'RLB-PERP',
198
198
  baseAssetSymbol: 'RLB',
199
199
  marketIndex: 17,
200
- oracle: new web3_js_1.PublicKey('6BmJozusMugAySsfNfMFsU1YRWcGwyP3oycNX9Pv9oCz'),
200
+ oracle: new web3_js_1.PublicKey('4CyhPqyVK3UQHFWhEpk91Aw4WbBsN3JtyosXH6zjoRqG'),
201
201
  launchTs: 1699265968000,
202
- oracleSource: __1.OracleSource.PYTH,
202
+ oracleSource: __1.OracleSource.PYTH_PULL,
203
203
  pythFeedId: '0x2f2d17abbc1e781bd87b4a5d52c8b2856886f5c482fa3593cebf6795040ab0b6',
204
204
  },
205
205
  {
@@ -208,9 +208,9 @@ exports.DevnetPerpMarkets = [
208
208
  symbol: 'PYTH-PERP',
209
209
  baseAssetSymbol: 'PYTH',
210
210
  marketIndex: 18,
211
- oracle: new web3_js_1.PublicKey('ELF78ZhSr8u4SCixA7YSpjdZHZoSNrAhcyysbavpC2kA'),
211
+ oracle: new web3_js_1.PublicKey('GqkCu7CbsPVz1H6W6AAHuReqbJckYG59TXz7Y5HDV7hr'),
212
212
  launchTs: 1700542800000,
213
- oracleSource: __1.OracleSource.PYTH,
213
+ oracleSource: __1.OracleSource.PYTH_PULL,
214
214
  pythFeedId: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff',
215
215
  },
216
216
  {
@@ -219,9 +219,9 @@ exports.DevnetPerpMarkets = [
219
219
  symbol: 'TIA-PERP',
220
220
  baseAssetSymbol: 'TIA',
221
221
  marketIndex: 19,
222
- oracle: new web3_js_1.PublicKey('4GiL1Y6u6JkPb7ckakzJgc414h6P7qoYnEKFcd1YtSB9'),
222
+ oracle: new web3_js_1.PublicKey('C6LHPUrgjrgo5eNUitC8raNEdEttfoRhmqdJ3BHVBJhi'),
223
223
  launchTs: 1701880540000,
224
- oracleSource: __1.OracleSource.PYTH,
224
+ oracleSource: __1.OracleSource.PYTH_PULL,
225
225
  pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
226
226
  },
227
227
  {
@@ -230,9 +230,9 @@ exports.DevnetPerpMarkets = [
230
230
  symbol: 'JTO-PERP',
231
231
  baseAssetSymbol: 'JTO',
232
232
  marketIndex: 20,
233
- oracle: new web3_js_1.PublicKey('29xQnTzyyuRtgJ7RtSKEgBWwRzZqtrrKmyQQ5m3x629f'),
233
+ oracle: new web3_js_1.PublicKey('Ffq6ACJ17NAgaxC6ocfMzVXL3K61qxB2xHg6WUawWPfP'),
234
234
  launchTs: 1701967240000,
235
- oracleSource: __1.OracleSource.PYTH,
235
+ oracleSource: __1.OracleSource.PYTH_PULL,
236
236
  pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
237
237
  },
238
238
  {
@@ -241,9 +241,9 @@ exports.DevnetPerpMarkets = [
241
241
  symbol: 'SEI-PERP',
242
242
  baseAssetSymbol: 'SEI',
243
243
  marketIndex: 21,
244
- oracle: new web3_js_1.PublicKey('B6KVbgqTRY33yDgjAnc1mWw4ATS4W5544xghayQscdt7'),
244
+ oracle: new web3_js_1.PublicKey('EVyoxFo5jWpv1vV7p6KVjDWwVqtTqvrZ4JMFkieVkVsD'),
245
245
  launchTs: 1703173331000,
246
- oracleSource: __1.OracleSource.PYTH,
246
+ oracleSource: __1.OracleSource.PYTH_PULL,
247
247
  pythFeedId: '0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb',
248
248
  },
249
249
  {
@@ -252,9 +252,9 @@ exports.DevnetPerpMarkets = [
252
252
  symbol: 'AVAX-PERP',
253
253
  baseAssetSymbol: 'AVAX',
254
254
  marketIndex: 22,
255
- oracle: new web3_js_1.PublicKey('FVb5h1VmHPfVb1RfqZckchq18GxRv4iKt8T4eVTQAqdz'),
255
+ oracle: new web3_js_1.PublicKey('FgBGHNex4urrBmNbSj8ntNQDGqeHcWewKtkvL6JE6dEX'),
256
256
  launchTs: 1704209558000,
257
- oracleSource: __1.OracleSource.PYTH,
257
+ oracleSource: __1.OracleSource.PYTH_PULL,
258
258
  pythFeedId: '0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7',
259
259
  },
260
260
  {
@@ -263,9 +263,9 @@ exports.DevnetPerpMarkets = [
263
263
  symbol: 'W-PERP',
264
264
  baseAssetSymbol: 'W',
265
265
  marketIndex: 23,
266
- oracle: new web3_js_1.PublicKey('A9665pJk2GAm7m3gA4f5qu99cWX8kDisDZtoSA9J4a3F'),
266
+ oracle: new web3_js_1.PublicKey('4HbitGsdcFbtFotmYscikQFAAKJ3nYx4t7sV7fTvsk8U'),
267
267
  launchTs: 1709852537000,
268
- oracleSource: __1.OracleSource.PYTH,
268
+ oracleSource: __1.OracleSource.PYTH_PULL,
269
269
  pythFeedId: '0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389',
270
270
  },
271
271
  {
@@ -274,16 +274,16 @@ exports.DevnetPerpMarkets = [
274
274
  symbol: 'KMNO-PERP',
275
275
  baseAssetSymbol: 'KMNO',
276
276
  marketIndex: 24,
277
- oracle: new web3_js_1.PublicKey('FkAaa46aYdHn8QxxwmiUnJt3th8radB2GFXDMtyLALCY'),
277
+ oracle: new web3_js_1.PublicKey('7aqj2wH1BH8XT3QQ3MWtvt3My7RAGf5Stm3vx5fiysJz'),
278
278
  launchTs: 1711475936000,
279
- oracleSource: __1.OracleSource.Prelaunch,
279
+ oracleSource: __1.OracleSource.PYTH_PULL,
280
280
  pythFeedId: '0xb17e5bc5de742a8a378b54c9c75442b7d51e30ada63f28d9bd28d3c0e26511a0',
281
281
  },
282
282
  {
283
283
  fullName: 'Wen',
284
284
  category: ['Solana', 'Meme'],
285
- symbol: 'WEN-PERP',
286
- baseAssetSymbol: 'WEN',
285
+ symbol: '1KWEN-PERP',
286
+ baseAssetSymbol: '1KWEN',
287
287
  marketIndex: 25,
288
288
  oracle: new web3_js_1.PublicKey('F47c7aJgYkfKXQ9gzrJaEpsNwUKHprysregTWXrtYLFp'),
289
289
  launchTs: 1720572064000,
@@ -298,9 +298,9 @@ exports.MainnetPerpMarkets = [
298
298
  symbol: 'SOL-PERP',
299
299
  baseAssetSymbol: 'SOL',
300
300
  marketIndex: 0,
301
- oracle: new web3_js_1.PublicKey('H6ARHf6YXhGYeQfUzQNGk6rDNnLBQKrenN712K4AQJEG'),
301
+ oracle: new web3_js_1.PublicKey('BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF'),
302
302
  launchTs: 1667560505000,
303
- oracleSource: __1.OracleSource.PYTH,
303
+ oracleSource: __1.OracleSource.PYTH_PULL,
304
304
  pythFeedId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d',
305
305
  },
306
306
  {
@@ -309,9 +309,9 @@ exports.MainnetPerpMarkets = [
309
309
  symbol: 'BTC-PERP',
310
310
  baseAssetSymbol: 'BTC',
311
311
  marketIndex: 1,
312
- oracle: new web3_js_1.PublicKey('GVXRSBjFk6e6J3NbVPXohDJetcTjaeeuykUpbQF8UoMU'),
312
+ oracle: new web3_js_1.PublicKey('486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4'),
313
313
  launchTs: 1670347281000,
314
- oracleSource: __1.OracleSource.PYTH,
314
+ oracleSource: __1.OracleSource.PYTH_PULL,
315
315
  pythFeedId: '0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
316
316
  },
317
317
  {
@@ -320,9 +320,9 @@ exports.MainnetPerpMarkets = [
320
320
  symbol: 'ETH-PERP',
321
321
  baseAssetSymbol: 'ETH',
322
322
  marketIndex: 2,
323
- oracle: new web3_js_1.PublicKey('JBu1AL4obBcCMqKBBxhpWCNUt136ijcuMZLFvTP7iWdB'),
323
+ oracle: new web3_js_1.PublicKey('6bEp2MiyoiiiDxcVqE8rUHQWwHirXUXtKfAEATTVqNzT'),
324
324
  launchTs: 1670347281000,
325
- oracleSource: __1.OracleSource.PYTH,
325
+ oracleSource: __1.OracleSource.PYTH_PULL,
326
326
  pythFeedId: '0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
327
327
  },
328
328
  {
@@ -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('FNNvb1AFDnDVPkocEri8mWbJ1952HQZtFLuwPiUjSJQ'),
334
+ oracle: new web3_js_1.PublicKey('79EWaCYU9jiQN8SbvVzGFAhAncUZYp3PjNg7KxmN5cLE'),
335
335
  launchTs: 1675802661000,
336
- oracleSource: __1.OracleSource.PYTH,
336
+ oracleSource: __1.OracleSource.PYTH_PULL,
337
337
  pythFeedId: '0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5',
338
338
  },
339
339
  {
@@ -342,9 +342,9 @@ exports.MainnetPerpMarkets = [
342
342
  symbol: '1MBONK-PERP',
343
343
  baseAssetSymbol: '1MBONK',
344
344
  marketIndex: 4,
345
- oracle: new web3_js_1.PublicKey('8ihFLu5FimgTQ1Unh4dVyEHUGodJ5gJQCrQf4KUVB9bN'),
345
+ oracle: new web3_js_1.PublicKey('GojbSnJuPdKDT1ZuHuAM5t9oz6bxTo1xhUKpTua2F72p'),
346
346
  launchTs: 1677690149000,
347
- oracleSource: __1.OracleSource.PYTH_1M,
347
+ oracleSource: __1.OracleSource.PYTH_1M_PULL,
348
348
  pythFeedId: '0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419',
349
349
  },
350
350
  {
@@ -353,9 +353,9 @@ exports.MainnetPerpMarkets = [
353
353
  symbol: 'MATIC-PERP',
354
354
  baseAssetSymbol: 'MATIC',
355
355
  marketIndex: 5,
356
- oracle: new web3_js_1.PublicKey('7KVswB9vkCgeM3SHP7aGDijvdRAHK8P5wi9JXViCrtYh'),
356
+ oracle: new web3_js_1.PublicKey('5Wf1WrXLeNJghU8WRo5odvwAjpjSSF4THbjdxbKmwVsi'),
357
357
  launchTs: 1677690149000,
358
- oracleSource: __1.OracleSource.PYTH,
358
+ oracleSource: __1.OracleSource.PYTH_PULL,
359
359
  pythFeedId: '0x5de33a9112c2b700b8d30b8a3402c103578ccfa2765696471cc672bd5cf6ac52',
360
360
  },
361
361
  {
@@ -364,9 +364,9 @@ exports.MainnetPerpMarkets = [
364
364
  symbol: 'ARB-PERP',
365
365
  baseAssetSymbol: 'ARB',
366
366
  marketIndex: 6,
367
- oracle: new web3_js_1.PublicKey('5HRrdmghsnU3i2u5StaKaydS7eq3vnKVKwXMzCNKsc4C'),
367
+ oracle: new web3_js_1.PublicKey('8ocfAdqVRnzvfdubQaTxar4Kz5HJhNbPNmkLxswqiHUD'),
368
368
  launchTs: 1679501812000,
369
- oracleSource: __1.OracleSource.PYTH,
369
+ oracleSource: __1.OracleSource.PYTH_PULL,
370
370
  pythFeedId: '0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5',
371
371
  },
372
372
  {
@@ -375,9 +375,9 @@ exports.MainnetPerpMarkets = [
375
375
  symbol: 'DOGE-PERP',
376
376
  baseAssetSymbol: 'DOGE',
377
377
  marketIndex: 7,
378
- oracle: new web3_js_1.PublicKey('FsSM3s38PX9K7Dn6eGzuE29S2Dsk1Sss1baytTQdCaQj'),
378
+ oracle: new web3_js_1.PublicKey('23y63pHVwKfYSCDFdiGRaGbTYWoyr8UzhUE7zukyf6gK'),
379
379
  launchTs: 1680808053000,
380
- oracleSource: __1.OracleSource.PYTH,
380
+ oracleSource: __1.OracleSource.PYTH_PULL,
381
381
  pythFeedId: '0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c',
382
382
  },
383
383
  {
@@ -386,9 +386,9 @@ exports.MainnetPerpMarkets = [
386
386
  symbol: 'BNB-PERP',
387
387
  baseAssetSymbol: 'BNB',
388
388
  marketIndex: 8,
389
- oracle: new web3_js_1.PublicKey('4CkQJBxhU8EZ2UjhigbtdaPbpTe6mqf811fipYBFbSYN'),
389
+ oracle: new web3_js_1.PublicKey('Dk8eWjuQHMbxJAwB9Sg7pXQPH4kgbg8qZGcUrWcD9gTm'),
390
390
  launchTs: 1680808053000,
391
- oracleSource: __1.OracleSource.PYTH,
391
+ oracleSource: __1.OracleSource.PYTH_PULL,
392
392
  pythFeedId: '0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f',
393
393
  },
394
394
  {
@@ -397,9 +397,9 @@ exports.MainnetPerpMarkets = [
397
397
  symbol: 'SUI-PERP',
398
398
  baseAssetSymbol: 'SUI',
399
399
  marketIndex: 9,
400
- oracle: new web3_js_1.PublicKey('3Qub3HaAJaa2xNY7SUqPKd3vVwTqDfDDkEUMPjXD2c1q'),
400
+ oracle: new web3_js_1.PublicKey('HBordkz5YxjzNURmKUY4vfEYFG9fZyZNeNF1VDLMoemT'),
401
401
  launchTs: 1683125906000,
402
- oracleSource: __1.OracleSource.PYTH,
402
+ oracleSource: __1.OracleSource.PYTH_PULL,
403
403
  pythFeedId: '0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
404
404
  },
405
405
  {
@@ -408,9 +408,9 @@ exports.MainnetPerpMarkets = [
408
408
  symbol: '1MPEPE-PERP',
409
409
  baseAssetSymbol: '1MPEPE',
410
410
  marketIndex: 10,
411
- oracle: new web3_js_1.PublicKey('FSfxunDmjjbDV2QxpyxFCAPKmYJHSLnLuvQXDLkMzLBm'),
411
+ oracle: new web3_js_1.PublicKey('CLxofhtzvLiErpn25wvUzpZXEqBhuZ6WMEckEraxyuGt'),
412
412
  launchTs: 1683781239000,
413
- oracleSource: __1.OracleSource.PYTH_1M,
413
+ oracleSource: __1.OracleSource.PYTH_1M_PULL,
414
414
  pythFeedId: '0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4',
415
415
  },
416
416
  {
@@ -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('4o4CUwzFwLqCvmA5x1G4VzoZkAhAcbiuiYyjWX1CVbY2'),
422
+ oracle: new web3_js_1.PublicKey('C9Zi2Y3Mt6Zt6pcFvobN3N29HcrzKujPAPBDDTDRcUa2'),
423
423
  launchTs: 1686091480000,
424
- oracleSource: __1.OracleSource.PYTH,
424
+ oracleSource: __1.OracleSource.PYTH_PULL,
425
425
  pythFeedId: '0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf',
426
426
  },
427
427
  {
@@ -430,9 +430,9 @@ exports.MainnetPerpMarkets = [
430
430
  symbol: 'RNDR-PERP',
431
431
  baseAssetSymbol: 'RNDR',
432
432
  marketIndex: 12,
433
- oracle: new web3_js_1.PublicKey('CYGfrBJB9HgLf9iZyN4aH5HvUAi2htQ4MjPxeXMf4Egn'),
433
+ oracle: new web3_js_1.PublicKey('F3mPHRtJqqq57JPDBmUwUVhpyPLmjE5dAzDfpVgpFkug'),
434
434
  launchTs: 1687201081000,
435
- oracleSource: __1.OracleSource.PYTH,
435
+ oracleSource: __1.OracleSource.PYTH_PULL,
436
436
  pythFeedId: '0xab7347771135fc733f8f38db462ba085ed3309955f42554a14fa13e855ac0e2f',
437
437
  },
438
438
  {
@@ -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('Guffb8DAAxNH6kdoawYjPXTbwUhjmveh8R4LM6uEqRV1'),
444
+ oracle: new web3_js_1.PublicKey('9757epAjXWCWQH98kyK9vzgehd1XDVEf7joNHUaKk3iV'),
445
445
  launchTs: 1689270550000,
446
- oracleSource: __1.OracleSource.PYTH,
446
+ oracleSource: __1.OracleSource.PYTH_PULL,
447
447
  pythFeedId: '0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8',
448
448
  },
449
449
  {
@@ -452,9 +452,9 @@ exports.MainnetPerpMarkets = [
452
452
  symbol: 'HNT-PERP',
453
453
  baseAssetSymbol: 'HNT',
454
454
  marketIndex: 14,
455
- oracle: new web3_js_1.PublicKey('7moA1i5vQUpfDwSpK6Pw9s56ahB7WFGidtbL2ujWrVvm'),
455
+ oracle: new web3_js_1.PublicKey('9b1rcK9RUPK2vAqwNYCYEG34gUVpS2WGs2YCZZy2X5Tb'),
456
456
  launchTs: 1692294955000,
457
- oracleSource: __1.OracleSource.PYTH,
457
+ oracleSource: __1.OracleSource.PYTH_PULL,
458
458
  pythFeedId: '0x649fdd7ec08e8e2a20f425729854e90293dcbe2376abc47197a14da6ff339756',
459
459
  },
460
460
  {
@@ -463,9 +463,9 @@ exports.MainnetPerpMarkets = [
463
463
  symbol: 'INJ-PERP',
464
464
  baseAssetSymbol: 'INJ',
465
465
  marketIndex: 15,
466
- oracle: new web3_js_1.PublicKey('9EdtbaivHQYA4Nh3XzGR6DwRaoorqXYnmpfsnFhvwuVj'),
466
+ oracle: new web3_js_1.PublicKey('BfXcyDWJmYADa5eZD7gySSDd6giqgjvm7xsAhQ239SUD'),
467
467
  launchTs: 1698074659000,
468
- oracleSource: __1.OracleSource.PYTH,
468
+ oracleSource: __1.OracleSource.PYTH_PULL,
469
469
  pythFeedId: '0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592',
470
470
  },
471
471
  {
@@ -474,9 +474,9 @@ exports.MainnetPerpMarkets = [
474
474
  symbol: 'LINK-PERP',
475
475
  baseAssetSymbol: 'LINK',
476
476
  marketIndex: 16,
477
- oracle: new web3_js_1.PublicKey('ALdkqQDMfHNg77oCNskfX751kHys4KE7SFuZzuKaN536'),
477
+ oracle: new web3_js_1.PublicKey('Gwvob7yoLMgQRVWjScCRyQFMsgpRKrSAYisYEyjDJwEp'),
478
478
  launchTs: 1698074659000,
479
- oracleSource: __1.OracleSource.PYTH,
479
+ oracleSource: __1.OracleSource.PYTH_PULL,
480
480
  pythFeedId: '0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221',
481
481
  },
482
482
  {
@@ -485,9 +485,9 @@ exports.MainnetPerpMarkets = [
485
485
  symbol: 'RLB-PERP',
486
486
  baseAssetSymbol: 'RLB',
487
487
  marketIndex: 17,
488
- oracle: new web3_js_1.PublicKey('4BA3RcS4zE32WWgp49vvvre2t6nXY1W1kMyKZxeeuUey'),
488
+ oracle: new web3_js_1.PublicKey('4CyhPqyVK3UQHFWhEpk91Aw4WbBsN3JtyosXH6zjoRqG'),
489
489
  launchTs: 1699265968000,
490
- oracleSource: __1.OracleSource.PYTH,
490
+ oracleSource: __1.OracleSource.PYTH_PULL,
491
491
  pythFeedId: '0x2f2d17abbc1e781bd87b4a5d52c8b2856886f5c482fa3593cebf6795040ab0b6',
492
492
  },
493
493
  {
@@ -496,9 +496,9 @@ exports.MainnetPerpMarkets = [
496
496
  symbol: 'PYTH-PERP',
497
497
  baseAssetSymbol: 'PYTH',
498
498
  marketIndex: 18,
499
- oracle: new web3_js_1.PublicKey('nrYkQQQur7z8rYTST3G9GqATviK5SxTDkrqd21MW6Ue'),
499
+ oracle: new web3_js_1.PublicKey('GqkCu7CbsPVz1H6W6AAHuReqbJckYG59TXz7Y5HDV7hr'),
500
500
  launchTs: 1700542800000,
501
- oracleSource: __1.OracleSource.PYTH,
501
+ oracleSource: __1.OracleSource.PYTH_PULL,
502
502
  pythFeedId: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff',
503
503
  },
504
504
  {
@@ -507,9 +507,9 @@ exports.MainnetPerpMarkets = [
507
507
  symbol: 'TIA-PERP',
508
508
  baseAssetSymbol: 'TIA',
509
509
  marketIndex: 19,
510
- oracle: new web3_js_1.PublicKey('funeUsHgi2QKkLdUPASRLuYkaK8JaazCEz3HikbkhVt'),
510
+ oracle: new web3_js_1.PublicKey('C6LHPUrgjrgo5eNUitC8raNEdEttfoRhmqdJ3BHVBJhi'),
511
511
  launchTs: 1701880540000,
512
- oracleSource: __1.OracleSource.PYTH,
512
+ oracleSource: __1.OracleSource.PYTH_PULL,
513
513
  pythFeedId: '0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723',
514
514
  },
515
515
  {
@@ -518,9 +518,9 @@ exports.MainnetPerpMarkets = [
518
518
  symbol: 'JTO-PERP',
519
519
  baseAssetSymbol: 'JTO',
520
520
  marketIndex: 20,
521
- oracle: new web3_js_1.PublicKey('D8UUgr8a3aR3yUeHLu7v8FWK7E8Y5sSU7qrYBXUJXBQ5'),
521
+ oracle: new web3_js_1.PublicKey('Ffq6ACJ17NAgaxC6ocfMzVXL3K61qxB2xHg6WUawWPfP'),
522
522
  launchTs: 1701967240000,
523
- oracleSource: __1.OracleSource.PYTH,
523
+ oracleSource: __1.OracleSource.PYTH_PULL,
524
524
  pythFeedId: '0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2',
525
525
  },
526
526
  {
@@ -529,9 +529,9 @@ exports.MainnetPerpMarkets = [
529
529
  symbol: 'SEI-PERP',
530
530
  baseAssetSymbol: 'SEI',
531
531
  marketIndex: 21,
532
- oracle: new web3_js_1.PublicKey('6cUuAyAX3eXoiWkjFF77RQBEUF15AAMQ7d1hm4EPd3tv'),
532
+ oracle: new web3_js_1.PublicKey('EVyoxFo5jWpv1vV7p6KVjDWwVqtTqvrZ4JMFkieVkVsD'),
533
533
  launchTs: 1703173331000,
534
- oracleSource: __1.OracleSource.PYTH,
534
+ oracleSource: __1.OracleSource.PYTH_PULL,
535
535
  pythFeedId: '0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb',
536
536
  },
537
537
  {
@@ -540,9 +540,9 @@ exports.MainnetPerpMarkets = [
540
540
  symbol: 'AVAX-PERP',
541
541
  baseAssetSymbol: 'AVAX',
542
542
  marketIndex: 22,
543
- oracle: new web3_js_1.PublicKey('Ax9ujW5B9oqcv59N8m6f1BpTBq2rGeGaBcpKjC5UYsXU'),
543
+ oracle: new web3_js_1.PublicKey('FgBGHNex4urrBmNbSj8ntNQDGqeHcWewKtkvL6JE6dEX'),
544
544
  launchTs: 1704209558000,
545
- oracleSource: __1.OracleSource.PYTH,
545
+ oracleSource: __1.OracleSource.PYTH_PULL,
546
546
  pythFeedId: '0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7',
547
547
  },
548
548
  {
@@ -551,9 +551,9 @@ exports.MainnetPerpMarkets = [
551
551
  symbol: 'WIF-PERP',
552
552
  baseAssetSymbol: 'WIF',
553
553
  marketIndex: 23,
554
- oracle: new web3_js_1.PublicKey('6ABgrEZk8urs6kJ1JNdC1sspH5zKXRqxy8sg3ZG2cQps'),
554
+ oracle: new web3_js_1.PublicKey('6x6KfE7nY2xoLCRSMPT1u83wQ5fpGXoKNBqFjrCwzsCQ'),
555
555
  launchTs: 1706219971000,
556
- oracleSource: __1.OracleSource.PYTH,
556
+ oracleSource: __1.OracleSource.PYTH_PULL,
557
557
  pythFeedId: '0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc',
558
558
  },
559
559
  {
@@ -562,9 +562,9 @@ exports.MainnetPerpMarkets = [
562
562
  symbol: 'JUP-PERP',
563
563
  baseAssetSymbol: 'JUP',
564
564
  marketIndex: 24,
565
- oracle: new web3_js_1.PublicKey('g6eRCbboSwK4tSWngn773RCMexr1APQr4uA9bGZBYfo'),
565
+ oracle: new web3_js_1.PublicKey('AwqRpfJ36jnSZQykyL1jYY35mhMteeEAjh7o8LveRQin'),
566
566
  launchTs: 1706713201000,
567
- oracleSource: __1.OracleSource.PYTH,
567
+ oracleSource: __1.OracleSource.PYTH_PULL,
568
568
  pythFeedId: '0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996',
569
569
  },
570
570
  {
@@ -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('CSRRrhXa6DYu1W5jf89A7unCATdug2Z33tYyV2NXZZxa'),
576
+ oracle: new web3_js_1.PublicKey('hnefGsC8hJi8MBajpRSkUY97wJmLoBQYXaHkz3nmw1z'),
577
577
  launchTs: 1708448765000,
578
- oracleSource: __1.OracleSource.PYTH,
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('5NxzemFgGDhimYE3S5qmb5zkjZUmiHXb4up5WGXe7NLn'),
587
+ oracle: new web3_js_1.PublicKey('5ZPtwR9QpBLcZQVMnVURuYBmZMu1qQrBcA9Gutc5eKN3'),
588
588
  launchTs: 1709136669000,
589
- oracleSource: __1.OracleSource.PYTH,
589
+ oracleSource: __1.OracleSource.PYTH_PULL,
590
590
  pythFeedId: '0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af',
591
591
  },
592
592
  {
@@ -595,9 +595,9 @@ exports.MainnetPerpMarkets = [
595
595
  symbol: 'W-PERP',
596
596
  baseAssetSymbol: 'W',
597
597
  marketIndex: 27,
598
- oracle: new web3_js_1.PublicKey('H9j8CT1bFiWHaZUPMooEaxMRHdWdJ5T9CzFn41z96JHW'),
598
+ oracle: new web3_js_1.PublicKey('4HbitGsdcFbtFotmYscikQFAAKJ3nYx4t7sV7fTvsk8U'),
599
599
  launchTs: 1710418343000,
600
- oracleSource: __1.OracleSource.PYTH,
600
+ oracleSource: __1.OracleSource.PYTH_PULL,
601
601
  pythFeedId: '0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389',
602
602
  },
603
603
  {
@@ -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('6ynsvjkE2UoiRScbDx7ZxbBsyn7wyvg5P1vENvhtkG1C'),
609
+ oracle: new web3_js_1.PublicKey('7aqj2wH1BH8XT3QQ3MWtvt3My7RAGf5Stm3vx5fiysJz'),
610
610
  launchTs: 1712240681000,
611
- oracleSource: __1.OracleSource.SWITCHBOARD,
611
+ oracleSource: __1.OracleSource.PYTH_PULL,
612
612
  pythFeedId: '0xb17e5bc5de742a8a378b54c9c75442b7d51e30ada63f28d9bd28d3c0e26511a0',
613
613
  },
614
614
  {
@@ -617,9 +617,9 @@ exports.MainnetPerpMarkets = [
617
617
  symbol: 'TNSR-PERP',
618
618
  baseAssetSymbol: 'TNSR',
619
619
  marketIndex: 29,
620
- oracle: new web3_js_1.PublicKey('7Cfyymx49ipGsgEsCA2XygAB2DUsan4C6Cyb5c8oR5st'),
620
+ oracle: new web3_js_1.PublicKey('13jpjpVyU5hGpjsZ4HzCcmBo85wze4N8Au7U6cC3GMip'),
621
621
  launchTs: 1712593532000,
622
- oracleSource: __1.OracleSource.SWITCHBOARD,
622
+ oracleSource: __1.OracleSource.PYTH_PULL,
623
623
  pythFeedId: '0x05ecd4597cd48fe13d6cc3596c62af4f9675aee06e2e0b94c06d8bee2b659e05',
624
624
  },
625
625
  {
@@ -628,9 +628,9 @@ exports.MainnetPerpMarkets = [
628
628
  symbol: 'DRIFT-PERP',
629
629
  baseAssetSymbol: 'DRIFT',
630
630
  marketIndex: 30,
631
- oracle: new web3_js_1.PublicKey('PeNpQeGEm9UEFJ6MBCMauY4WW4h3YxoESPWbsqVKucE'),
631
+ oracle: new web3_js_1.PublicKey('23KmX7SNikmUr2axSCy6Zer7XPBnvmVcASALnDGqBVRR'),
632
632
  launchTs: 1716595200000,
633
- oracleSource: __1.OracleSource.SWITCHBOARD,
633
+ oracleSource: __1.OracleSource.PYTH_PULL,
634
634
  pythFeedId: '0x5c1690b27bb02446db17cdda13ccc2c1d609ad6d2ef5bf4983a85ea8b6f19d07',
635
635
  },
636
636
  {
@@ -639,9 +639,9 @@ exports.MainnetPerpMarkets = [
639
639
  symbol: 'CLOUD-PERP',
640
640
  baseAssetSymbol: 'CLOUD',
641
641
  marketIndex: 31,
642
- oracle: new web3_js_1.PublicKey('C7UxgCodaEy4yqwTe3a4QXfsG7LnpMGGQdEqaxDae4b8'),
642
+ oracle: new web3_js_1.PublicKey('4FG7UyPkszGvcSVCCKaLSZsArGjyxitwhJeQhYu2bFTS'),
643
643
  launchTs: 1717597648000,
644
- oracleSource: __1.OracleSource.Prelaunch,
644
+ oracleSource: __1.OracleSource.SWITCHBOARD,
645
645
  },
646
646
  {
647
647
  fullName: 'IO',
@@ -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('Gcm39uDrFyRCZko4hdrKMTBQsboPJHEd4RwnWhWFKr9a'),
652
+ oracle: new web3_js_1.PublicKey('HxM66CFwGwrvfTFFkvvA8N3CnKX6m2obzameYWDaSSdA'),
653
653
  launchTs: 1718021389000,
654
- oracleSource: __1.OracleSource.SWITCHBOARD,
654
+ oracleSource: __1.OracleSource.PYTH_PULL,
655
655
  pythFeedId: '0x82595d1509b770fa52681e260af4dda9752b87316d7c048535d8ead3fa856eb1',
656
656
  },
657
657
  {
@@ -660,9 +660,10 @@ exports.MainnetPerpMarkets = [
660
660
  symbol: 'ZEX-PERP',
661
661
  baseAssetSymbol: 'ZEX',
662
662
  marketIndex: 33,
663
- oracle: new web3_js_1.PublicKey('4gdbqxkMrF1bYVeEJKRmTqCCvJjRCZrRhxvriGY6SwLj'),
663
+ oracle: new web3_js_1.PublicKey('HVwBCaR4GEB1fHrp7xCTzbYoZXL3V8b1aek2swPrmGx3'),
664
664
  launchTs: 1719415157000,
665
- oracleSource: __1.OracleSource.SWITCHBOARD,
665
+ oracleSource: __1.OracleSource.PYTH_PULL,
666
+ pythFeedId: '0x3d63be09d1b88f6dffe6585d0170670592124fd9fa4e0fe8a09ff18464f05e3a',
666
667
  },
667
668
  {
668
669
  fullName: 'POPCAT',
@@ -670,9 +671,21 @@ exports.MainnetPerpMarkets = [
670
671
  symbol: 'POPCAT-PERP',
671
672
  baseAssetSymbol: 'POPCAT',
672
673
  marketIndex: 34,
673
- oracle: new web3_js_1.PublicKey('3GjpjC8TWsPqjyFSiR7saGxgzD8zqYJNsBnWpenZPEBy'),
674
+ oracle: new web3_js_1.PublicKey('H3pn43tkNvsG5z3qzmERguSvKoyHZvvY6VPmNrJqiW5X'),
674
675
  launchTs: 1720013054000,
675
- oracleSource: __1.OracleSource.SWITCHBOARD,
676
+ oracleSource: __1.OracleSource.PYTH_PULL,
677
+ pythFeedId: '0xb9312a7ee50e189ef045aa3c7842e099b061bd9bdc99ac645956c3b660dc8cce',
678
+ },
679
+ {
680
+ fullName: 'Wen',
681
+ category: ['Solana', 'Meme'],
682
+ symbol: '1KWEN-PERP',
683
+ baseAssetSymbol: '1KWEN',
684
+ marketIndex: 35,
685
+ oracle: new web3_js_1.PublicKey('F47c7aJgYkfKXQ9gzrJaEpsNwUKHprysregTWXrtYLFp'),
686
+ launchTs: 1720633344000,
687
+ oracleSource: __1.OracleSource.PYTH_1K_PULL,
688
+ pythFeedId: '0x5169491cd7e2a44c98353b779d5eb612e4ac32e073f5cc534303d86307c2f1bc',
676
689
  },
677
690
  ];
678
691
  exports.PerpMarkets = {