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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { ContractOraclePrice } from "./types";
3
4
  export declare class OraclePrice {
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { LimitOrder, Order, TriggerOrder } from "./types";
@@ -1,3 +1,5 @@
1
+ /// <reference types="bn.js" />
2
+ /// <reference types="node" />
1
3
  import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
2
4
  import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
3
5
  import { PoolAccount } from "./PoolAccount";
@@ -42,6 +44,8 @@ export declare class PerpetualsClient {
42
44
  };
43
45
  addressLookupTables: AddressLookupTableAccount[];
44
46
  pusherAddressLookupTables: AddressLookupTableAccount;
47
+ private poolAddressLookupTables;
48
+ private poolPusherAddressLookupTables;
45
49
  eventAuthority: {
46
50
  publicKey: PublicKey;
47
51
  bump: number;
@@ -59,6 +63,9 @@ export declare class PerpetualsClient {
59
63
  constructor(provider: AnchorProvider, programId: PublicKey, composabilityProgramId: PublicKey, fbNftRewardProgramId: PublicKey, rewardDistributionProgramId: PublicKey, opts: PerpClientOptions, useExtOracleAccount?: boolean);
60
64
  setPrioritizationFee: (fee: number) => void;
61
65
  loadAddressLookupTable: (poolConfig: PoolConfig) => Promise<void>;
66
+ getOrLoadAddressLookupTable: (poolConfig: PoolConfig) => Promise<{
67
+ addressLookupTables: AddressLookupTableAccount[];
68
+ }>;
62
69
  findProgramAddress: (label: string, extraSeeds?: any) => {
63
70
  publicKey: PublicKey;
64
71
  bump: number;
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  });
21
21
  };
22
22
  var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
24
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
@@ -87,6 +87,8 @@ var PerpetualsClient = (function () {
87
87
  var _this = this;
88
88
  var _a;
89
89
  this.addressLookupTables = [];
90
+ this.poolAddressLookupTables = new Map();
91
+ this.poolPusherAddressLookupTables = new Map();
90
92
  this.setPrioritizationFee = function (fee) {
91
93
  _this.prioritizationFee = fee;
92
94
  };
@@ -127,6 +129,55 @@ var PerpetualsClient = (function () {
127
129
  }
128
130
  });
129
131
  }); };
132
+ this.getOrLoadAddressLookupTable = function (poolConfig) { return __awaiter(_this, void 0, void 0, function () {
133
+ var addresses, addressesToLoad, _i, _a, address, addressKey, cached, _b, addressesToLoad_1, address, addressLookupTable, accCreationLamports;
134
+ return __generator(this, function (_c) {
135
+ switch (_c.label) {
136
+ case 0:
137
+ addresses = [];
138
+ addressesToLoad = [];
139
+ for (_i = 0, _a = poolConfig.addressLookupTableAddresses; _i < _a.length; _i++) {
140
+ address = _a[_i];
141
+ addressKey = address.toBase58();
142
+ cached = this.poolAddressLookupTables.get(addressKey);
143
+ if (cached) {
144
+ addresses.push(cached);
145
+ }
146
+ else {
147
+ addressesToLoad.push(address);
148
+ }
149
+ }
150
+ _b = 0, addressesToLoad_1 = addressesToLoad;
151
+ _c.label = 1;
152
+ case 1:
153
+ if (!(_b < addressesToLoad_1.length)) return [3, 4];
154
+ address = addressesToLoad_1[_b];
155
+ return [4, this.provider.connection.getAddressLookupTable(address)];
156
+ case 2:
157
+ addressLookupTable = (_c.sent()).value;
158
+ if (addressLookupTable) {
159
+ addresses.push(addressLookupTable);
160
+ this.poolAddressLookupTables.set(address.toBase58(), addressLookupTable);
161
+ }
162
+ _c.label = 3;
163
+ case 3:
164
+ _b++;
165
+ return [3, 1];
166
+ case 4:
167
+ if (!!this.minimumBalanceForRentExemptAccountLamports) return [3, 6];
168
+ return [4, (0, spl_token_1.getMinimumBalanceForRentExemptAccount)(this.provider.connection)];
169
+ case 5:
170
+ accCreationLamports = (_c.sent());
171
+ if (accCreationLamports) {
172
+ this.minimumBalanceForRentExemptAccountLamports = accCreationLamports;
173
+ }
174
+ _c.label = 6;
175
+ case 6: return [2, {
176
+ addressLookupTables: addresses,
177
+ }];
178
+ }
179
+ });
180
+ }); };
130
181
  this.findProgramAddress = function (label, extraSeeds) {
131
182
  if (extraSeeds === void 0) { extraSeeds = null; }
132
183
  var seeds = [Buffer.from(anchor_1.utils.bytes.utf8.encode(label))];
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { Pool, TokenRatios, StakeStats, CompoundingStats, Permissions } from "./types";
3
4
  import { PublicKey } from "@solana/web3.js";
@@ -1988,7 +1988,7 @@
1988
1988
  "protocolTokenAccount": "9iQ9saFbTfYPHsJwnKY9BMc7xACxEL9mcHrP7qYWoTKG",
1989
1989
  "multisig": "3FqKnAQrvr6G6AqCAWKdqg9fVe6ceAk3A5Y1ibeQqV2V",
1990
1990
  "addressLookupTableAddresses": [
1991
- "9CPDEJSfHpqbTTNkbTmGJcbBgADAMWu56mXf1kzMybvY"
1991
+ "E7n29qz5bLuwTxxPJx5Ypr6sEDH122zqWWR9rJEA1Rb3"
1992
1992
  ],
1993
1993
  "pusherAddressLookupTableAddress": "2bSPovsf8bttn2D1pE18efpXk5HQGnRgeEGZuVFJf8Qm",
1994
1994
  "backupOracle": "AjAubETeBLhebBxLcErmzbavZfqF9bCxkpRAdyJtoi9G",
@@ -4226,7 +4226,168 @@
4226
4226
  "pythPriceId": "0x19e09bb805456ada3979a7d1cbb4b6d63babc3a0f8e8a9509f68afa5c4c11cd5"
4227
4227
  }
4228
4228
  ],
4229
- "markets": []
4229
+ "markets": [
4230
+ {
4231
+ "marketId": 0,
4232
+ "marketAccount": "H1E3Z2GoxPiyNVMyuqVP33aRGpBJFqBt3FD8p5yb5AD6",
4233
+ "marketCorrelation": true,
4234
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4235
+ "targetCustody": "4BtySgvArhrkCJntUSMmpjUK4ueNkocMkzJErmfL87At",
4236
+ "collateralCustody": "4BtySgvArhrkCJntUSMmpjUK4ueNkocMkzJErmfL87At",
4237
+ "side": "long",
4238
+ "maxLev": 10,
4239
+ "degenMinLev": 1,
4240
+ "degenMaxLev": 10,
4241
+ "targetCustodyId": 1,
4242
+ "collateralCustodyId": 1,
4243
+ "targetMint": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
4244
+ "collateralMint": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga"
4245
+ },
4246
+ {
4247
+ "marketId": 1,
4248
+ "marketAccount": "9Ar2Jro5AKiJaSxC4J97tzFLebA6CnikWHwQH66VThXU",
4249
+ "marketCorrelation": false,
4250
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4251
+ "targetCustody": "4BtySgvArhrkCJntUSMmpjUK4ueNkocMkzJErmfL87At",
4252
+ "collateralCustody": "A4RCSednDMqEpnV3BFdiDAJWyzT9QM2aNh9FCY8Pen94",
4253
+ "side": "short",
4254
+ "maxLev": 10,
4255
+ "degenMinLev": 1,
4256
+ "degenMaxLev": 10,
4257
+ "targetCustodyId": 1,
4258
+ "collateralCustodyId": 0,
4259
+ "targetMint": "ts1aDtA2pHaFrMRDcy5YsK6giEbrABDfv1PkQK21Kga",
4260
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
4261
+ },
4262
+ {
4263
+ "marketId": 2,
4264
+ "marketAccount": "36mipFDqLD8fUMN4JgJGQMmfFJFm7NGAgmUmm9AChVtR",
4265
+ "marketCorrelation": true,
4266
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4267
+ "targetCustody": "2A3harPJCzK7kbnNnz81Aywu4Z3L98m7Ew39PZQ6jfDu",
4268
+ "collateralCustody": "2A3harPJCzK7kbnNnz81Aywu4Z3L98m7Ew39PZQ6jfDu",
4269
+ "side": "long",
4270
+ "maxLev": 10,
4271
+ "degenMinLev": 1,
4272
+ "degenMaxLev": 10,
4273
+ "targetCustodyId": 2,
4274
+ "collateralCustodyId": 2,
4275
+ "targetMint": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
4276
+ "collateralMint": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY"
4277
+ },
4278
+ {
4279
+ "marketId": 3,
4280
+ "marketAccount": "DYKTbwZPfdGbBpY7NssN7Vfm3fp9RpXS3gPfsSj9FQGa",
4281
+ "marketCorrelation": false,
4282
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4283
+ "targetCustody": "2A3harPJCzK7kbnNnz81Aywu4Z3L98m7Ew39PZQ6jfDu",
4284
+ "collateralCustody": "A4RCSednDMqEpnV3BFdiDAJWyzT9QM2aNh9FCY8Pen94",
4285
+ "side": "short",
4286
+ "maxLev": 10,
4287
+ "degenMinLev": 1,
4288
+ "degenMaxLev": 10,
4289
+ "targetCustodyId": 2,
4290
+ "collateralCustodyId": 0,
4291
+ "targetMint": "nvdtJJCvPEuULW33UkodP1WPyZBr3wZt4FTTEf8F5AY",
4292
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
4293
+ },
4294
+ {
4295
+ "marketId": 4,
4296
+ "marketAccount": "HMYRoC4qU3fsF4S6KqRGN5J6Zc6Y5r6i27X658znVtMZ",
4297
+ "marketCorrelation": true,
4298
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4299
+ "targetCustody": "98jBsDwsc48Rz7kyzT3TKAsSAp52MbyU3YVhNHWDPrWB",
4300
+ "collateralCustody": "98jBsDwsc48Rz7kyzT3TKAsSAp52MbyU3YVhNHWDPrWB",
4301
+ "side": "long",
4302
+ "maxLev": 10,
4303
+ "degenMinLev": 1,
4304
+ "degenMaxLev": 10,
4305
+ "targetCustodyId": 3,
4306
+ "collateralCustodyId": 3,
4307
+ "targetMint": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
4308
+ "collateralMint": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM"
4309
+ },
4310
+ {
4311
+ "marketId": 5,
4312
+ "marketAccount": "35ZTrsgaGbhzyPpq1a7q3u1p3z6cpyZyrFjBdmr4dL6Z",
4313
+ "marketCorrelation": false,
4314
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4315
+ "targetCustody": "98jBsDwsc48Rz7kyzT3TKAsSAp52MbyU3YVhNHWDPrWB",
4316
+ "collateralCustody": "A4RCSednDMqEpnV3BFdiDAJWyzT9QM2aNh9FCY8Pen94",
4317
+ "side": "short",
4318
+ "maxLev": 10,
4319
+ "degenMinLev": 1,
4320
+ "degenMaxLev": 10,
4321
+ "targetCustodyId": 3,
4322
+ "collateralCustodyId": 0,
4323
+ "targetMint": "crcSSShvEkSjtKsThPxW9rbdHD8aiTiM9w5zEZSzisM",
4324
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
4325
+ },
4326
+ {
4327
+ "marketId": 6,
4328
+ "marketAccount": "CGtBLT58U4zb6pZ96fEJr8PfvBpsjgtbP35sEVWwSyaP",
4329
+ "marketCorrelation": true,
4330
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4331
+ "targetCustody": "AGb19zsHtpJaHzLbBHThykVqdU2EjjYrqNxiTmRgAnNC",
4332
+ "collateralCustody": "AGb19zsHtpJaHzLbBHThykVqdU2EjjYrqNxiTmRgAnNC",
4333
+ "side": "long",
4334
+ "maxLev": 10,
4335
+ "degenMinLev": 1,
4336
+ "degenMaxLev": 10,
4337
+ "targetCustodyId": 4,
4338
+ "collateralCustodyId": 4,
4339
+ "targetMint": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
4340
+ "collateralMint": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY"
4341
+ },
4342
+ {
4343
+ "marketId": 7,
4344
+ "marketAccount": "7QRNTbxuCVLxjMkbHf6wbHnwUAYdi41cWjX34cmMap8d",
4345
+ "marketCorrelation": false,
4346
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4347
+ "targetCustody": "AGb19zsHtpJaHzLbBHThykVqdU2EjjYrqNxiTmRgAnNC",
4348
+ "collateralCustody": "A4RCSednDMqEpnV3BFdiDAJWyzT9QM2aNh9FCY8Pen94",
4349
+ "side": "short",
4350
+ "maxLev": 10,
4351
+ "degenMinLev": 1,
4352
+ "degenMaxLev": 10,
4353
+ "targetCustodyId": 4,
4354
+ "collateralCustodyId": 0,
4355
+ "targetMint": "mstrRvtbGpUwSTVaNePMRDtepsNidLPtJ35WnNFubBY",
4356
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
4357
+ },
4358
+ {
4359
+ "marketId": 8,
4360
+ "marketAccount": "4QQ42SdZ7ng8iiKJND4gZiDRUkrL9MJ3pRzQQ8ATPyzj",
4361
+ "marketCorrelation": true,
4362
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4363
+ "targetCustody": "5hteknd3WimjZFiFmgg6GsApKcGcviFuFwFMWJJMtQmv",
4364
+ "collateralCustody": "5hteknd3WimjZFiFmgg6GsApKcGcviFuFwFMWJJMtQmv",
4365
+ "side": "long",
4366
+ "maxLev": 10,
4367
+ "degenMinLev": 1,
4368
+ "degenMaxLev": 10,
4369
+ "targetCustodyId": 5,
4370
+ "collateralCustodyId": 5,
4371
+ "targetMint": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
4372
+ "collateralMint": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r"
4373
+ },
4374
+ {
4375
+ "marketId": 9,
4376
+ "marketAccount": "5Y99bpvkNX1cgpJa38VqMdHD6BKwFptzQjagzjEDwmWi",
4377
+ "marketCorrelation": false,
4378
+ "pool": "C8oensjR4xowfZAxAVviWDp8JGHzHAqKg14fg7vX44VH",
4379
+ "targetCustody": "5hteknd3WimjZFiFmgg6GsApKcGcviFuFwFMWJJMtQmv",
4380
+ "collateralCustody": "A4RCSednDMqEpnV3BFdiDAJWyzT9QM2aNh9FCY8Pen94",
4381
+ "side": "short",
4382
+ "maxLev": 10,
4383
+ "degenMinLev": 1,
4384
+ "degenMaxLev": 10,
4385
+ "targetCustodyId": 5,
4386
+ "collateralCustodyId": 0,
4387
+ "targetMint": "spyK8TuzAF1iwcJtzysb7J5u8e4yymtpUMhVLZrKz2r",
4388
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
4389
+ }
4390
+ ]
4230
4391
  },
4231
4392
  {
4232
4393
  "programId": "FTPP4jEWW1n8s2FEccwVfS9KCPjpndaswg7Nkkuz4ER4",
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { Mint } from "@solana/spl-token";
3
4
  import { CustodyAccount } from "./CustodyAccount";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { ContractOraclePrice, Position } from "./types";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { TokenStake, WithdrawStakeLog } from "./types";
2
3
  import { BN } from "@coral-xyz/anchor";
3
4
  import { PublicKey } from "@solana/web3.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { TokenVault } from "./types";
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
@@ -40,8 +40,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
40
40
  };
41
41
  var _a;
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.getBackupOracleInstruction = exports.getPythnetOraclePrices = exports.pythPriceServiceConnection = void 0;
44
- exports.createBackupOracleInstruction = createBackupOracleInstruction;
43
+ exports.createBackupOracleInstruction = exports.getBackupOracleInstruction = exports.getPythnetOraclePrices = exports.pythPriceServiceConnection = void 0;
45
44
  var price_service_client_1 = require("@pythnetwork/price-service-client");
46
45
  var web3_js_1 = require("@solana/web3.js");
47
46
  var bn_js_1 = __importDefault(require("bn.js"));
@@ -157,3 +156,4 @@ function createBackupOracleInstruction(poolAddress_1) {
157
156
  });
158
157
  });
159
158
  }
159
+ exports.createBackupOracleInstruction = createBackupOracleInstruction;
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare const PERCENTAGE_DECIMALS = 4;
3
4
  export declare const USD_DECIMALS = 6;
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './TokenVaultAccount';
7
7
  export * from './TokenStakeAccount';
8
8
  export * from './OraclePrice';
9
9
  export * from './constants';
10
+ export * from './remoraTokensWithPriceIds';
10
11
  export * from './types';
11
12
  export * from './utils';
12
13
  export * from './PerpetualsClient';
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./TokenVaultAccount"), exports);
24
24
  __exportStar(require("./TokenStakeAccount"), exports);
25
25
  __exportStar(require("./OraclePrice"), exports);
26
26
  __exportStar(require("./constants"), exports);
27
+ __exportStar(require("./remoraTokensWithPriceIds"), exports);
27
28
  __exportStar(require("./types"), exports);
28
29
  __exportStar(require("./utils"), exports);
29
30
  __exportStar(require("./PerpetualsClient"), exports);
@@ -0,0 +1,13 @@
1
+ export declare const REMORA_TOKENS_WITH_PRICE_IDS: {
2
+ symbol: string;
3
+ mintKey: string;
4
+ decimals: number;
5
+ usdPrecision: number;
6
+ tokenPrecision: number;
7
+ isStable: boolean;
8
+ isVirtual: boolean;
9
+ lazerId: number;
10
+ pythTicker: string;
11
+ pythPriceId: string;
12
+ isToken2022: boolean;
13
+ }[];