flash-sdk 11.0.3 → 11.0.4-alpha.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.
- package/dist/OraclePrice.d.ts +1 -0
- package/dist/OrderAccount.d.ts +1 -0
- package/dist/PerpetualsClient.d.ts +7 -0
- package/dist/PerpetualsClient.js +53 -2
- package/dist/PoolAccount.d.ts +1 -0
- package/dist/PoolConfig.json +163 -2
- package/dist/PoolDataClient.d.ts +1 -0
- package/dist/PositionAccount.d.ts +1 -0
- package/dist/TokenStakeAccount.d.ts +1 -0
- package/dist/TokenVaultAccount.d.ts +1 -0
- package/dist/ViewHelper.js +2 -2
- package/dist/backupOracle.js +4 -4
- package/dist/constants/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/remoraTokensWithPriceIds.d.ts +13 -0
- package/dist/remoraTokensWithPriceIds.js +265 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +3 -3
- package/dist/utils/IdlCoder.js +7 -17
- package/dist/utils/alt.js +6 -5
- package/dist/utils/anchorCpiEvents.d.ts +1 -0
- package/dist/utils/anchorCpiEvents.js +4 -4
- package/dist/utils/index.js +6 -6
- package/dist/utils/rpc.js +9 -9
- package/package.json +2 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.REMORA_TOKENS_WITH_PRICE_IDS = void 0;
|
|
4
|
+
exports.REMORA_TOKENS_WITH_PRICE_IDS = [
|
|
5
|
+
{
|
|
6
|
+
"symbol": "TSLAr",
|
|
7
|
+
"mintKey": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
|
|
8
|
+
"decimals": 9,
|
|
9
|
+
"usdPrecision": 2,
|
|
10
|
+
"tokenPrecision": 4,
|
|
11
|
+
"isStable": false,
|
|
12
|
+
"isVirtual": false,
|
|
13
|
+
"lazerId": 7,
|
|
14
|
+
"pythTicker": "Equity.US.TSLA/USD",
|
|
15
|
+
"pythPriceId": "0x16dad506d7db8da01c87581c87ca897a012a153557d4d578c3b9c9e1bc0632f1",
|
|
16
|
+
"isToken2022": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"symbol": "TSLAr",
|
|
20
|
+
"mintKey": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
|
|
21
|
+
"decimals": 9,
|
|
22
|
+
"usdPrecision": 2,
|
|
23
|
+
"tokenPrecision": 4,
|
|
24
|
+
"isStable": false,
|
|
25
|
+
"isVirtual": false,
|
|
26
|
+
"lazerId": -1,
|
|
27
|
+
"pythTicker": "Equity.US.TSLA/USD.ON",
|
|
28
|
+
"pythPriceId": "0x713631e41c06db404e6a5d029f3eebfd5b885c59dce4a19f337c024e26584e26",
|
|
29
|
+
"isToken2022": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"symbol": "TSLAr",
|
|
33
|
+
"mintKey": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
|
|
34
|
+
"decimals": 9,
|
|
35
|
+
"usdPrecision": 2,
|
|
36
|
+
"tokenPrecision": 4,
|
|
37
|
+
"isStable": false,
|
|
38
|
+
"isVirtual": false,
|
|
39
|
+
"lazerId": -1,
|
|
40
|
+
"pythTicker": "Equity.US.TSLA/USD.PRE",
|
|
41
|
+
"pythPriceId": "0x42676a595d0099c381687124805c8bb22c75424dffcaa55e3dc6549854ebe20a",
|
|
42
|
+
"isToken2022": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"symbol": "TSLAr",
|
|
46
|
+
"mintKey": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
|
|
47
|
+
"decimals": 9,
|
|
48
|
+
"usdPrecision": 2,
|
|
49
|
+
"tokenPrecision": 4,
|
|
50
|
+
"isStable": false,
|
|
51
|
+
"isVirtual": false,
|
|
52
|
+
"lazerId": -1,
|
|
53
|
+
"pythTicker": "Equity.US.TSLA/USD.POST",
|
|
54
|
+
"pythPriceId": "0x2a797e196973b72447e0ab8e841d9f5706c37dc581fe66a0bd21bcd256cdb9b9",
|
|
55
|
+
"isToken2022": true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"symbol": "NVDAr",
|
|
59
|
+
"mintKey": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
|
|
60
|
+
"decimals": 9,
|
|
61
|
+
"usdPrecision": 4,
|
|
62
|
+
"tokenPrecision": 4,
|
|
63
|
+
"isStable": false,
|
|
64
|
+
"isVirtual": false,
|
|
65
|
+
"lazerId": 182,
|
|
66
|
+
"pythTicker": "Equity.US.NVDA/USD",
|
|
67
|
+
"pythPriceId": "0xb1073854ed24cbc755dc527418f52b7d271f6cc967bbf8d8129112b18860a593",
|
|
68
|
+
"isToken2022": true
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"symbol": "NVDAr",
|
|
72
|
+
"mintKey": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
|
|
73
|
+
"decimals": 9,
|
|
74
|
+
"usdPrecision": 4,
|
|
75
|
+
"tokenPrecision": 4,
|
|
76
|
+
"isStable": false,
|
|
77
|
+
"isVirtual": false,
|
|
78
|
+
"lazerId": -1,
|
|
79
|
+
"pythTicker": "Equity.US.NVDA/USD.ON",
|
|
80
|
+
"pythPriceId": "0xc949a96fd1626e82abc5e1496e6e8d44683ac8ac288015ee90bf37257e3e6bf6",
|
|
81
|
+
"isToken2022": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"symbol": "NVDAr",
|
|
85
|
+
"mintKey": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
|
|
86
|
+
"decimals": 9,
|
|
87
|
+
"usdPrecision": 4,
|
|
88
|
+
"tokenPrecision": 4,
|
|
89
|
+
"isStable": false,
|
|
90
|
+
"isVirtual": false,
|
|
91
|
+
"lazerId": -1,
|
|
92
|
+
"pythTicker": "Equity.US.NVDA/USD.PRE",
|
|
93
|
+
"pythPriceId": "0x61c4ca5b9731a79e285a01e24432d57d89f0ecdd4cd7828196ca8992d5eafef6",
|
|
94
|
+
"isToken2022": true
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"symbol": "NVDAr",
|
|
98
|
+
"mintKey": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
|
|
99
|
+
"decimals": 9,
|
|
100
|
+
"usdPrecision": 4,
|
|
101
|
+
"tokenPrecision": 4,
|
|
102
|
+
"isStable": false,
|
|
103
|
+
"isVirtual": false,
|
|
104
|
+
"lazerId": -1,
|
|
105
|
+
"pythTicker": "Equity.US.NVDA/USD.POST",
|
|
106
|
+
"pythPriceId": "0x25719379353a508b1531945f3c466759d6efd866f52fbaeb3631decb70ba381f",
|
|
107
|
+
"isToken2022": true
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"symbol": "CRCLr",
|
|
111
|
+
"mintKey": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
|
|
112
|
+
"decimals": 9,
|
|
113
|
+
"usdPrecision": 4,
|
|
114
|
+
"tokenPrecision": 4,
|
|
115
|
+
"isStable": false,
|
|
116
|
+
"isVirtual": false,
|
|
117
|
+
"lazerId": 182,
|
|
118
|
+
"pythTicker": "Equity.US.CRCL/USD",
|
|
119
|
+
"pythPriceId": "0x92b8527aabe59ea2b12230f7b532769b133ffb118dfbd48ff676f14b273f1365",
|
|
120
|
+
"isToken2022": true
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"symbol": "CRCLr",
|
|
124
|
+
"mintKey": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
|
|
125
|
+
"decimals": 9,
|
|
126
|
+
"usdPrecision": 4,
|
|
127
|
+
"tokenPrecision": 4,
|
|
128
|
+
"isStable": false,
|
|
129
|
+
"isVirtual": false,
|
|
130
|
+
"lazerId": -1,
|
|
131
|
+
"pythTicker": "Equity.US.CRCL/USD.ON",
|
|
132
|
+
"pythPriceId": "0x63cc3973d36735f8b1725f1069a7ddee200db1570573674da916282fde15dd0e",
|
|
133
|
+
"isToken2022": true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"symbol": "CRCLr",
|
|
137
|
+
"mintKey": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
|
|
138
|
+
"decimals": 9,
|
|
139
|
+
"usdPrecision": 4,
|
|
140
|
+
"tokenPrecision": 4,
|
|
141
|
+
"isStable": false,
|
|
142
|
+
"isVirtual": false,
|
|
143
|
+
"lazerId": -1,
|
|
144
|
+
"pythTicker": "Equity.US.CRCL/USD.PRE",
|
|
145
|
+
"pythPriceId": "0xb6ce1644a22bb348f89a81696141c1caaca5e7ea83de289a44fba1a9897ca2d6",
|
|
146
|
+
"isToken2022": true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"symbol": "CRCLr",
|
|
150
|
+
"mintKey": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
|
|
151
|
+
"decimals": 9,
|
|
152
|
+
"usdPrecision": 4,
|
|
153
|
+
"tokenPrecision": 4,
|
|
154
|
+
"isStable": false,
|
|
155
|
+
"isVirtual": false,
|
|
156
|
+
"lazerId": -1,
|
|
157
|
+
"pythTicker": "Equity.US.CRCL/USD.POST",
|
|
158
|
+
"pythPriceId": "0x9bdba52fbb3d588d573928b1e781c6441e446a83c011fed92d8362c5b309ce02",
|
|
159
|
+
"isToken2022": true
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"symbol": "MSTRr",
|
|
163
|
+
"mintKey": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
|
|
164
|
+
"decimals": 9,
|
|
165
|
+
"usdPrecision": 4,
|
|
166
|
+
"tokenPrecision": 4,
|
|
167
|
+
"isStable": false,
|
|
168
|
+
"isVirtual": false,
|
|
169
|
+
"lazerId": 182,
|
|
170
|
+
"pythTicker": "Equity.US.MSTR/USD",
|
|
171
|
+
"pythPriceId": "0xe1e80251e5f5184f2195008382538e847fafc36f751896889dd3d1b1f6111f09",
|
|
172
|
+
"isToken2022": true
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"symbol": "MSTRr",
|
|
176
|
+
"mintKey": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
|
|
177
|
+
"decimals": 9,
|
|
178
|
+
"usdPrecision": 4,
|
|
179
|
+
"tokenPrecision": 4,
|
|
180
|
+
"isStable": false,
|
|
181
|
+
"isVirtual": false,
|
|
182
|
+
"lazerId": -1,
|
|
183
|
+
"pythTicker": "Equity.US.MSTR/USD.ON",
|
|
184
|
+
"pythPriceId": "0xc3055f49e1dc863a7f24d9b83e86fe10d7d16fb583bc6445505b01d230e0d647",
|
|
185
|
+
"isToken2022": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"symbol": "MSTRr",
|
|
189
|
+
"mintKey": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
|
|
190
|
+
"decimals": 9,
|
|
191
|
+
"usdPrecision": 4,
|
|
192
|
+
"tokenPrecision": 4,
|
|
193
|
+
"isStable": false,
|
|
194
|
+
"isVirtual": false,
|
|
195
|
+
"lazerId": -1,
|
|
196
|
+
"pythTicker": "Equity.US.MSTR/USD.PRE",
|
|
197
|
+
"pythPriceId": "0x1a11eb21c271f3127e4c9ec8a0e9b1042dc088ccba7a94a1a7d1aa37599a00f6",
|
|
198
|
+
"isToken2022": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"symbol": "MSTRr",
|
|
202
|
+
"mintKey": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
|
|
203
|
+
"decimals": 9,
|
|
204
|
+
"usdPrecision": 4,
|
|
205
|
+
"tokenPrecision": 4,
|
|
206
|
+
"isStable": false,
|
|
207
|
+
"isVirtual": false,
|
|
208
|
+
"lazerId": -1,
|
|
209
|
+
"pythTicker": "Equity.US.MSTR/USD.POST",
|
|
210
|
+
"pythPriceId": "0xd8b856d7e17c467877d2d947f27b832db0d65b362ddb6f728797d46b0a8b54c0",
|
|
211
|
+
"isToken2022": true
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"symbol": "SPYr",
|
|
215
|
+
"mintKey": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
|
|
216
|
+
"decimals": 9,
|
|
217
|
+
"usdPrecision": 4,
|
|
218
|
+
"tokenPrecision": 4,
|
|
219
|
+
"isStable": false,
|
|
220
|
+
"isVirtual": false,
|
|
221
|
+
"lazerId": 182,
|
|
222
|
+
"pythTicker": "Equity.US.SPY/USD",
|
|
223
|
+
"pythPriceId": "0x19e09bb805456ada3979a7d1cbb4b6d63babc3a0f8e8a9509f68afa5c4c11cd5",
|
|
224
|
+
"isToken2022": true
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"symbol": "SPYr",
|
|
228
|
+
"mintKey": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
|
|
229
|
+
"decimals": 9,
|
|
230
|
+
"usdPrecision": 4,
|
|
231
|
+
"tokenPrecision": 4,
|
|
232
|
+
"isStable": false,
|
|
233
|
+
"isVirtual": false,
|
|
234
|
+
"lazerId": -1,
|
|
235
|
+
"pythTicker": "Equity.US.SPY/USD.ON",
|
|
236
|
+
"pythPriceId": "0x05d590e94e9f51abe18ed0421bc302995673156750e914ac1600583fe2e03f99",
|
|
237
|
+
"isToken2022": true
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"symbol": "SPYr",
|
|
241
|
+
"mintKey": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
|
|
242
|
+
"decimals": 9,
|
|
243
|
+
"usdPrecision": 4,
|
|
244
|
+
"tokenPrecision": 4,
|
|
245
|
+
"isStable": false,
|
|
246
|
+
"isVirtual": false,
|
|
247
|
+
"lazerId": -1,
|
|
248
|
+
"pythTicker": "Equity.US.SPY/USD.PRE",
|
|
249
|
+
"pythPriceId": "0x34f6ef70940cb9b6a37e030689612bf454f59f4a2fc5d3e03bdf2b330a088107",
|
|
250
|
+
"isToken2022": true
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"symbol": "SPYr",
|
|
254
|
+
"mintKey": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
|
|
255
|
+
"decimals": 9,
|
|
256
|
+
"usdPrecision": 4,
|
|
257
|
+
"tokenPrecision": 4,
|
|
258
|
+
"isStable": false,
|
|
259
|
+
"isVirtual": false,
|
|
260
|
+
"lazerId": -1,
|
|
261
|
+
"pythTicker": "Equity.US.SPY/USD.POST",
|
|
262
|
+
"pythPriceId": "0x5374a7d76a45ae2443cef351d10482b7bcc6ef5a928e75030d63b5fb3abe7cb5",
|
|
263
|
+
"isToken2022": true
|
|
264
|
+
},
|
|
265
|
+
];
|