flash-sdk 1.0.38 → 1.0.40

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.
@@ -9,6 +9,7 @@ export declare class CustodyAccount implements Custody {
9
9
  tokenAccount: PublicKey;
10
10
  decimals: number;
11
11
  isStable: boolean;
12
+ isVirtual: boolean;
12
13
  oracle: OracleParams;
13
14
  pricing: PricingParams;
14
15
  permissions: Permissions;
@@ -3,17 +3,20 @@ import { BN } from "@coral-xyz/anchor";
3
3
  export declare class OraclePrice {
4
4
  price: BN;
5
5
  exponent: BN;
6
+ confidence: BN;
6
7
  constructor(parseData: {
7
8
  price: BN;
8
9
  exponent: BN;
10
+ confidence?: BN;
9
11
  });
10
12
  static from(parseData: {
11
13
  price: BN;
12
14
  exponent: BN;
15
+ confidence: BN;
13
16
  }): OraclePrice;
14
17
  cmp(other: OraclePrice): -1 | 0 | 1;
15
18
  scale_to_exponent(target_exponent: BN): OraclePrice;
16
19
  getTokenAmount(asset_amount_usd: BN, token_decimals: number): BN;
17
20
  getAssetAmountUsd(token_amount: BN, token_decimals: number): BN;
18
- toUiPrice(precision: number): number;
21
+ toUiPrice(precision: number): string;
19
22
  }
@@ -61,8 +61,7 @@ var OraclePrice = (function () {
61
61
  return (0, utils_1.checkedDecimalMul)(token_amount, new anchor_1.BN(-1 * token_decimals), this.price, this.exponent, new anchor_1.BN(-1 * constants_1.USD_DECIMALS));
62
62
  };
63
63
  OraclePrice.prototype.toUiPrice = function (precision) {
64
- var x = this.price.div(new anchor_1.BN(10).pow(new anchor_1.BN((this.exponent.toNumber() * -1) - precision)));
65
- return x.toNumber() / Math.pow(10, precision);
64
+ return (0, utils_1.toUiDecimals)(this.price, this.exponent.toNumber() * -1, precision);
66
65
  };
67
66
  return OraclePrice;
68
67
  }());
@@ -2342,7 +2342,11 @@ export declare class PerpetualsClient {
2342
2342
  getExitPriceAndFee: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide) => Promise<any>;
2343
2343
  getLiquidationPriceView: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide, addCollateral?: BN, removeCollateral?: BN) => Promise<any>;
2344
2344
  getLiquidationPriceTrx: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide, addCollateral?: BN, removeCollateral?: BN) => Promise<string>;
2345
- getLiquidationPrice: (postionKey: PublicKey, postionData: Position, tokenPrice: OraclePrice, tokenEmaPrice: OraclePrice, custodyAccount: CustodyAccount, poolAccount: PoolAccount, currentTime: BN, addCollateral?: BN, removeCollateral?: BN) => OraclePrice;
2345
+ getLiquidationPrice: (postionKey: PublicKey | null, postionData: Position | {
2346
+ side: Side;
2347
+ collateralAmount: BN;
2348
+ sizeAmount: BN;
2349
+ }, tokenPrice: OraclePrice, tokenEmaPrice: OraclePrice, custodyAccount: CustodyAccount, collateralPrice: OraclePrice, collateralEmaPrice: OraclePrice, collateralCustodyAccount: CustodyAccount, addCollateral?: BN, removeCollateral?: BN) => OraclePrice;
2346
2350
  getLiquidationState: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide) => Promise<any>;
2347
2351
  getPnlView: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide) => Promise<any>;
2348
2352
  getPnlTrx: (wallet: PublicKey, poolName: string, tokenMint: PublicKey, side: PositionSide) => Promise<string>;
@@ -840,7 +840,7 @@ var PerpetualsClient = (function () {
840
840
  });
841
841
  });
842
842
  };
843
- this.getLiquidationPrice = function (postionKey, postionData, tokenPrice, tokenEmaPrice, custodyAccount, poolAccount, currentTime, addCollateral, removeCollateral) {
843
+ this.getLiquidationPrice = function (postionKey, postionData, tokenPrice, tokenEmaPrice, custodyAccount, collateralPrice, collateralEmaPrice, collateralCustodyAccount, addCollateral, removeCollateral) {
844
844
  if (addCollateral === void 0) { addCollateral = new anchor_1.BN(0); }
845
845
  if (removeCollateral === void 0) { removeCollateral = new anchor_1.BN(0); }
846
846
  var x;
@@ -8,6 +8,7 @@ export interface CustodyConfig {
8
8
  mintKey: PublicKey;
9
9
  decimals: number;
10
10
  isStable: boolean;
11
+ isVirtual: boolean;
11
12
  oracleAddress: PublicKey;
12
13
  }
13
14
  type Token = {
@@ -15,6 +16,7 @@ type Token = {
15
16
  mintKey: PublicKey;
16
17
  decimals: number;
17
18
  isStable: boolean;
19
+ isVirtual: boolean;
18
20
  pythTicker: string;
19
21
  };
20
22
  export declare class PoolConfig {
@@ -23,6 +23,7 @@
23
23
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
24
24
  "decimals": 6,
25
25
  "isStable": true,
26
+ "isVirtual": false,
26
27
  "pythTicker": "Crypto.USDC/USD"
27
28
  },
28
29
  {
@@ -30,6 +31,7 @@
30
31
  "mintKey": "So11111111111111111111111111111111111111112",
31
32
  "decimals": 9,
32
33
  "isStable": false,
34
+ "isVirtual": false,
33
35
  "pythTicker": "Crypto.SOL/USD"
34
36
  },
35
37
  {
@@ -37,6 +39,7 @@
37
39
  "mintKey": "So11111111111111111111111111111111111111112",
38
40
  "decimals": 9,
39
41
  "isStable": false,
42
+ "isVirtual": false,
40
43
  "pythTicker": "Crypto.SOL/USD"
41
44
  },
42
45
  {
@@ -44,6 +47,7 @@
44
47
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
45
48
  "decimals": 6,
46
49
  "isStable": false,
50
+ "isVirtual": false,
47
51
  "pythTicker": "Crypto.BTC/USD"
48
52
  },
49
53
  {
@@ -51,6 +55,7 @@
51
55
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
52
56
  "decimals": 6,
53
57
  "isStable": false,
58
+ "isVirtual": false,
54
59
  "pythTicker": "Crypto.ETH/USD"
55
60
  }
56
61
  ],
@@ -63,6 +68,7 @@
63
68
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
64
69
  "decimals": 6,
65
70
  "isStable": true,
71
+ "isVirtual": false,
66
72
  "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"
67
73
  },
68
74
  {
@@ -73,6 +79,7 @@
73
79
  "mintKey": "So11111111111111111111111111111111111111112",
74
80
  "decimals": 9,
75
81
  "isStable": false,
82
+ "isVirtual": false,
76
83
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
77
84
  },
78
85
  {
@@ -83,6 +90,7 @@
83
90
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
84
91
  "decimals": 6,
85
92
  "isStable": false,
93
+ "isVirtual": false,
86
94
  "oracleAddress": "HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J"
87
95
  },
88
96
  {
@@ -93,6 +101,7 @@
93
101
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
94
102
  "decimals": 6,
95
103
  "isStable": false,
104
+ "isVirtual": false,
96
105
  "oracleAddress": "EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw"
97
106
  }
98
107
  ]
@@ -114,6 +123,7 @@
114
123
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
115
124
  "decimals": 6,
116
125
  "isStable": true,
126
+ "isVirtual": false,
117
127
  "pythTicker": "Crypto.USDC/USD"
118
128
  },
119
129
  {
@@ -121,6 +131,7 @@
121
131
  "mintKey": "So11111111111111111111111111111111111111112",
122
132
  "decimals": 9,
123
133
  "isStable": false,
134
+ "isVirtual": false,
124
135
  "pythTicker": "Crypto.SOL/USD"
125
136
  },
126
137
  {
@@ -128,6 +139,7 @@
128
139
  "mintKey": "So11111111111111111111111111111111111111112",
129
140
  "decimals": 9,
130
141
  "isStable": false,
142
+ "isVirtual": false,
131
143
  "pythTicker": "Crypto.SOL/USD"
132
144
  },
133
145
  {
@@ -135,6 +147,7 @@
135
147
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
136
148
  "decimals": 6,
137
149
  "isStable": false,
150
+ "isVirtual": false,
138
151
  "pythTicker": "Crypto.BTC/USD"
139
152
  },
140
153
  {
@@ -142,6 +155,7 @@
142
155
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
143
156
  "decimals": 6,
144
157
  "isStable": false,
158
+ "isVirtual": false,
145
159
  "pythTicker": "Crypto.ETH/USD"
146
160
  }
147
161
  ],
@@ -154,6 +168,7 @@
154
168
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
155
169
  "decimals": 6,
156
170
  "isStable": true,
171
+ "isVirtual": false,
157
172
  "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"
158
173
  },
159
174
  {
@@ -164,6 +179,7 @@
164
179
  "mintKey": "So11111111111111111111111111111111111111112",
165
180
  "decimals": 9,
166
181
  "isStable": false,
182
+ "isVirtual": false,
167
183
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
168
184
  },
169
185
  {
@@ -174,6 +190,7 @@
174
190
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
175
191
  "decimals": 6,
176
192
  "isStable": false,
193
+ "isVirtual": false,
177
194
  "oracleAddress": "HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J"
178
195
  },
179
196
  {
@@ -184,6 +201,7 @@
184
201
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
185
202
  "decimals": 6,
186
203
  "isStable": false,
204
+ "isVirtual": false,
187
205
  "oracleAddress": "EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw"
188
206
  }
189
207
  ]
@@ -205,6 +223,7 @@
205
223
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
206
224
  "decimals": 6,
207
225
  "isStable": true,
226
+ "isVirtual": false,
208
227
  "pythTicker": "Crypto.USDC/USD"
209
228
  },
210
229
  {
@@ -212,6 +231,7 @@
212
231
  "mintKey": "So11111111111111111111111111111111111111112",
213
232
  "decimals": 9,
214
233
  "isStable": false,
234
+ "isVirtual": false,
215
235
  "pythTicker": "Crypto.SOL/USD"
216
236
  },
217
237
  {
@@ -219,6 +239,7 @@
219
239
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
220
240
  "decimals": 6,
221
241
  "isStable": false,
242
+ "isVirtual": false,
222
243
  "pythTicker": "Crypto.BTC/USD"
223
244
  },
224
245
  {
@@ -226,6 +247,7 @@
226
247
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
227
248
  "decimals": 6,
228
249
  "isStable": false,
250
+ "isVirtual": false,
229
251
  "pythTicker": "Crypto.ETH/USD"
230
252
  }
231
253
  ],
@@ -237,6 +259,7 @@
237
259
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
238
260
  "decimals": 6,
239
261
  "isStable": true,
262
+ "isVirtual": false,
240
263
  "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"
241
264
  },
242
265
  {
@@ -246,6 +269,7 @@
246
269
  "mintKey": "So11111111111111111111111111111111111111112",
247
270
  "decimals": 9,
248
271
  "isStable": false,
272
+ "isVirtual": false,
249
273
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
250
274
  },
251
275
  {
@@ -255,6 +279,7 @@
255
279
  "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
256
280
  "decimals": 6,
257
281
  "isStable": false,
282
+ "isVirtual": false,
258
283
  "oracleAddress": "HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J"
259
284
  },
260
285
  {
@@ -264,6 +289,7 @@
264
289
  "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
265
290
  "decimals": 6,
266
291
  "isStable": false,
292
+ "isVirtual": false,
267
293
  "oracleAddress": "EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw"
268
294
  }
269
295
  ]
@@ -285,6 +311,7 @@
285
311
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
286
312
  "decimals": 6,
287
313
  "isStable": true,
314
+ "isVirtual": false,
288
315
  "pythTicker": "Crypto.USDC/USD"
289
316
  },
290
317
  {
@@ -292,6 +319,7 @@
292
319
  "mintKey": "So11111111111111111111111111111111111111112",
293
320
  "decimals": 9,
294
321
  "isStable": false,
322
+ "isVirtual": false,
295
323
  "pythTicker": "Crypto.SOL/USD"
296
324
  }
297
325
  ],
@@ -303,6 +331,7 @@
303
331
  "mintKey": "So11111111111111111111111111111111111111112",
304
332
  "decimals": 9,
305
333
  "isStable": false,
334
+ "isVirtual": false,
306
335
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
307
336
  },
308
337
  {
@@ -312,6 +341,7 @@
312
341
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
313
342
  "decimals": 6,
314
343
  "isStable": true,
344
+ "isVirtual": false,
315
345
  "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"
316
346
  }
317
347
  ]
@@ -333,6 +363,7 @@
333
363
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
334
364
  "decimals": 6,
335
365
  "isStable": true,
366
+ "isVirtual": false,
336
367
  "pythTicker": "Crypto.USDC/USD"
337
368
  },
338
369
  {
@@ -340,6 +371,7 @@
340
371
  "mintKey": "So11111111111111111111111111111111111111112",
341
372
  "decimals": 9,
342
373
  "isStable": false,
374
+ "isVirtual": false,
343
375
  "pythTicker": "Crypto.SOL/USD"
344
376
  }
345
377
  ],
@@ -351,6 +383,7 @@
351
383
  "mintKey": "So11111111111111111111111111111111111111112",
352
384
  "decimals": 9,
353
385
  "isStable": false,
386
+ "isVirtual": false,
354
387
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
355
388
  },
356
389
  {
@@ -360,6 +393,7 @@
360
393
  "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
361
394
  "decimals": 6,
362
395
  "isStable": true,
396
+ "isVirtual": false,
363
397
  "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"
364
398
  }
365
399
  ]
@@ -381,6 +415,7 @@
381
415
  "mintKey": "6QGdQbaZEgpXqqbGwXJZXwbZ9xJnthfyYNZ92ARzTdAX",
382
416
  "decimals": 9,
383
417
  "isStable": true,
418
+ "isVirtual": false,
384
419
  "pythTicker": "Crypto.USDC/USD"
385
420
  },
386
421
  {
@@ -388,6 +423,7 @@
388
423
  "mintKey": "So11111111111111111111111111111111111111112",
389
424
  "decimals": 9,
390
425
  "isStable": false,
426
+ "isVirtual": false,
391
427
  "pythTicker": "Crypto.SOL/USD"
392
428
  }
393
429
  ],
@@ -399,6 +435,7 @@
399
435
  "mintKey": "So11111111111111111111111111111111111111112",
400
436
  "decimals": 9,
401
437
  "isStable": false,
438
+ "isVirtual": false,
402
439
  "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"
403
440
  },
404
441
  {
@@ -408,6 +445,7 @@
408
445
  "mintKey": "6QGdQbaZEgpXqqbGwXJZXwbZ9xJnthfyYNZ92ARzTdAX",
409
446
  "decimals": 9,
410
447
  "isStable": true,
448
+ "isVirtual": false,
411
449
  "oracleAddress": "HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J"
412
450
  }
413
451
  ]
@@ -2,8 +2,32 @@
2
2
  import { BN } from "@coral-xyz/anchor";
3
3
  import { Mint } from "@solana/spl-token";
4
4
  import { CustodyAccount } from "./CustodyAccount";
5
+ import { OraclePrice } from "./OraclePrice";
5
6
  import { PoolConfig } from "./PoolConfig";
6
7
  import { PoolAccount } from "./PoolAccount";
8
+ export interface LpStats {
9
+ lpTokenSupply: BN;
10
+ decimals: number;
11
+ totalPoolValueUsd: BN;
12
+ price: BN;
13
+ stableCoinPercentage: BN;
14
+ marketCap: BN;
15
+ }
16
+ export interface CustodyStats {
17
+ symbol: string;
18
+ priceUi: string;
19
+ targetWeight: BN;
20
+ currentWeight: BN;
21
+ utilization: string;
22
+ assetsAmountUi: string;
23
+ totalUsdAmountUi: string;
24
+ }
25
+ export interface PoolStats {
26
+ totalFees: BN;
27
+ totalVolume: BN;
28
+ currentLongPositionsUsd: BN;
29
+ currentShortPositionsUsd: BN;
30
+ }
7
31
  export declare class PoolDataClient {
8
32
  poolConfig: PoolConfig;
9
33
  pool: PoolAccount;
@@ -14,21 +38,15 @@ export declare class PoolDataClient {
14
38
  loadCustodies(custodies: CustodyAccount[]): void;
15
39
  loadPoolData(pool: PoolAccount): void;
16
40
  loadLpData(lpTokenInfo: Mint): void;
17
- getLpStats(prices: any): {
18
- lpTokenSupply: BN;
19
- decimals: number;
20
- totalPoolValue: BN;
21
- price: BN;
22
- stableCoinPercentage: BN;
23
- marketCap: BN;
24
- };
25
41
  getOiLongUI(): BN;
26
42
  getOiShortUI(): BN;
27
- getCustodyDetails(prices: any): any[];
28
- getPoolStats(): {
29
- totalFees: BN;
30
- totalVolume: BN;
31
- currentLongPositionsUsd: BN;
32
- currentShortPositionsUsd: BN;
33
- };
43
+ getLpStats(pricesMap: Map<string, {
44
+ price: OraclePrice;
45
+ emaPrice: OraclePrice;
46
+ }>): LpStats;
47
+ getCustodyStats(pricesMap: Map<string, {
48
+ price: OraclePrice;
49
+ emaPrice: OraclePrice;
50
+ }>): CustodyStats[];
51
+ getPoolStats(): PoolStats;
34
52
  }
@@ -21,7 +21,21 @@ var PoolDataClient = (function () {
21
21
  PoolDataClient.prototype.loadLpData = function (lpTokenInfo) {
22
22
  this.lpTokenInfo = lpTokenInfo;
23
23
  };
24
- PoolDataClient.prototype.getLpStats = function (prices) {
24
+ PoolDataClient.prototype.getOiLongUI = function () {
25
+ var totalAmount = new anchor_1.BN('0');
26
+ this.custodies.forEach(function (i) {
27
+ totalAmount = totalAmount.add(i.tradeStats.oiLong);
28
+ });
29
+ return totalAmount;
30
+ };
31
+ PoolDataClient.prototype.getOiShortUI = function () {
32
+ var totalAmount = new anchor_1.BN('0');
33
+ this.custodies.forEach(function (i) {
34
+ totalAmount = totalAmount.add(i.tradeStats.oiShort);
35
+ });
36
+ return totalAmount;
37
+ };
38
+ PoolDataClient.prototype.getLpStats = function (pricesMap) {
25
39
  var stableCoinAmount = new anchor_1.BN(0);
26
40
  var totalPoolValueUsd = new anchor_1.BN(0);
27
41
  var _loop_1 = function (custody) {
@@ -30,7 +44,7 @@ var PoolDataClient = (function () {
30
44
  if (custodyData.isStable) {
31
45
  stableCoinAmount = stableCoinAmount.add(custodyData.assets.owned);
32
46
  }
33
- var priceBN = new anchor_1.BN(prices.get(custody.symbol) * Math.pow(10, constants_1.PRICE_DECIMALS));
47
+ var priceBN = pricesMap.get(custody.symbol).price.price;
34
48
  var custodyValue = priceBN.mul(custodyData.assets.owned).div(new anchor_1.BN(Math.pow(10, custody.decimals)));
35
49
  totalPoolValueUsd = totalPoolValueUsd.add(custodyValue);
36
50
  }
@@ -45,27 +59,13 @@ var PoolDataClient = (function () {
45
59
  return {
46
60
  lpTokenSupply: new anchor_1.BN(this.lpTokenInfo.supply.toString()),
47
61
  decimals: this.poolConfig.lpDecimals,
48
- totalPoolValue: totalPoolValueUsd,
62
+ totalPoolValueUsd: totalPoolValueUsd,
49
63
  price: lpPrice,
50
64
  stableCoinPercentage: totalPoolValueUsd.toNumber() != 0 ? stableCoinAmount.mul(new anchor_1.BN(constants_1.PERCENTAGE_DECIMALS)).div(totalPoolValueUsd) : new anchor_1.BN(1),
51
65
  marketCap: lpPrice.mul(new anchor_1.BN(this.lpTokenInfo.supply.toString())),
52
66
  };
53
67
  };
54
- PoolDataClient.prototype.getOiLongUI = function () {
55
- var totalAmount = new anchor_1.BN('0');
56
- this.custodies.forEach(function (i) {
57
- totalAmount = totalAmount.add(i.tradeStats.oiLong);
58
- });
59
- return totalAmount;
60
- };
61
- PoolDataClient.prototype.getOiShortUI = function () {
62
- var totalAmount = new anchor_1.BN('0');
63
- this.custodies.forEach(function (i) {
64
- totalAmount = totalAmount.add(i.tradeStats.oiShort);
65
- });
66
- return totalAmount;
67
- };
68
- PoolDataClient.prototype.getCustodyDetails = function (prices) {
68
+ PoolDataClient.prototype.getCustodyStats = function (pricesMap) {
69
69
  var custodyDetails = [];
70
70
  var _loop_2 = function (i) {
71
71
  var custody = this_2.poolConfig.custodies[i];
@@ -73,22 +73,21 @@ var PoolDataClient = (function () {
73
73
  return "continue";
74
74
  var tokenRatio = this_2.pool.ratios[i];
75
75
  var custodyData = this_2.custodies.find(function (t) { return t.mint.toBase58() === custody.mintKey.toBase58(); });
76
- var priceBN = new anchor_1.BN(prices.get(custody.symbol) * Math.pow(10, 6));
76
+ var priceBN = pricesMap.get(custody.symbol).price.price;
77
77
  if (this_2.totalPoolValueUsd.toString() == "-1") {
78
- console.error("call getLpStats first");
79
- throw "call getLpStats first";
78
+ console.error("FlashSDK error: call getLpStats first");
79
+ throw "FlashSDK error: call getLpStats first";
80
80
  }
81
81
  if (custodyData && tokenRatio) {
82
82
  custodyDetails.push({
83
83
  symbol: custody.symbol,
84
- price: new anchor_1.BN(prices.get(custody.symbol)),
84
+ priceUi: pricesMap.get(custody.symbol).price.toUiPrice(2),
85
85
  targetWeight: tokenRatio.target,
86
86
  currentWeight: this_2.totalPoolValueUsd.toNumber() ?
87
87
  (custodyData.assets.owned.mul(priceBN)).mul(new anchor_1.BN(Math.pow(10, constants_1.PERCENTAGE_DECIMALS))).div(this_2.totalPoolValueUsd).div(new anchor_1.BN(Math.pow(10, custody.decimals)))
88
88
  : new anchor_1.BN(0),
89
- utilization: custodyData.assets.owned.toNumber() ?
90
- (0, utils_1.toUiDecimals)(custodyData.assets.locked.mul(new anchor_1.BN(Math.pow(10, constants_1.PERCENTAGE_DECIMALS))).div(custodyData.assets.owned), constants_1.PERCENTAGE_DECIMALS, 2)
91
- : '0',
89
+ utilization: custodyData.assets.locked.isZero() || custodyData.assets.owned.isZero() ? '0' :
90
+ (0, utils_1.toUiDecimals)(custodyData.assets.locked.mul(new anchor_1.BN(Math.pow(10, constants_1.PERCENTAGE_DECIMALS))).div(custodyData.assets.owned), 2, 2),
92
91
  assetsAmountUi: (0, utils_1.toUiDecimals)(custodyData.assets.owned.toString(), custody.decimals, 4, true),
93
92
  totalUsdAmountUi: (0, utils_1.toUiDecimals)((custodyData.assets.owned.mul(priceBN).toString()), custody.decimals + constants_1.PRICE_DECIMALS, 2, true),
94
93
  });
@@ -5,13 +5,16 @@ import { Position, Side } from "./types";
5
5
  export declare class PositionAccount implements Position {
6
6
  publicKey: PublicKey;
7
7
  owner: PublicKey;
8
+ payer: PublicKey;
8
9
  pool: PublicKey;
9
10
  custody: PublicKey;
11
+ collateralCustody: PublicKey;
10
12
  openTime: BN;
11
13
  updateTime: BN;
12
14
  side: Side;
13
15
  price: BN;
14
16
  sizeUsd: BN;
17
+ borrowSizeUsd: BN;
15
18
  collateralUsd: BN;
16
19
  unrealizedProfitUsd: BN;
17
20
  unrealizedLossUsd: BN;
package/dist/test.d.ts ADDED
File without changes
package/dist/test.js ADDED
File without changes
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/buffer/index.d.ts","../node_modules/formdata-polyfill/esm.min.d.ts","../node_modules/fetch-blob/file.d.ts","../node_modules/fetch-blob/index.d.ts","../node_modules/fetch-blob/from.d.ts","../node_modules/node-fetch/@types/index.d.ts","../node_modules/@solana/web3.js/lib/index.d.ts","../node_modules/eventemitter3/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts","../node_modules/@types/bn.js/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts","../src/constants/index.ts","../src/utils/index.ts","../src/OraclePrice.ts","../src/types/index.ts","../src/PositionAccount.ts","../src/CustodyAccount.ts","../node_modules/@solana/spl-token/lib/types/actions/amountToUiAmount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/approve.d.ts","../node_modules/@solana/spl-token/lib/types/actions/approveChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/burn.d.ts","../node_modules/@solana/spl-token/lib/types/actions/burnChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/closeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAssociatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAssociatedTokenAccountIdempotent.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createMint.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createMultisig.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createNativeMint.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createWrappedNativeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/freezeAccount.d.ts","../node_modules/@solana/buffer-layout/lib/Layout.d.ts","../node_modules/@solana/spl-token/lib/types/state/mint.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/extensionType.d.ts","../node_modules/@solana/spl-token/lib/types/state/account.d.ts","../node_modules/@solana/spl-token/lib/types/actions/getOrCreateAssociatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/mintTo.d.ts","../node_modules/@solana/spl-token/lib/types/actions/mintToChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/revoke.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/types.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/setAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/actions/setAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/actions/syncNative.d.ts","../node_modules/@solana/spl-token/lib/types/actions/thawAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/transfer.d.ts","../node_modules/@solana/spl-token/lib/types/actions/transferChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/uiAmountToAmount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/index.d.ts","../node_modules/@solana/spl-token/lib/types/constants.d.ts","../node_modules/@solana/spl-token/lib/types/errors.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/accountType.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/immutableOwner.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/mintCloseAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/nonTransferable.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/permanentDelegate.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/index.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/associatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/amountToUiAmount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/approve.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/approveChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/burn.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/burnChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/closeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/freezeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount3.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMint2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMultisig.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/mintTo.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/mintToChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/revoke.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/syncNative.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/thawAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/transfer.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/transferChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/uiAmountToAmount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/decode.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMultisig2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeImmutableOwner.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMintCloseAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/reallocate.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/createNativeMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeNonTransferableMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializePermanentDelegate.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/index.d.ts","../node_modules/@solana/spl-token/lib/types/state/multisig.d.ts","../node_modules/@solana/spl-token/lib/types/state/index.d.ts","../node_modules/@solana/spl-token/lib/types/index.d.ts","../node_modules/js-sha256/index.d.ts","../node_modules/base-x/src/index.d.ts","../node_modules/bs58/index.d.ts","../src/PoolAccount.ts","../src/idl/perpetuals.ts","../src/utils/rpc.ts","../src/PoolConfig.json","../src/PoolConfig.ts","../src/PerpetualsClient.ts","../src/PoolDataClient.ts","../src/Token.ts","../src/utils/anchorCpiEvents.ts","../src/utils/alt.ts","../src/index.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/ws/index.d.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b4473933ebd454f0b38bf002e92738f978f5197ad47627e6b2a6647046997256","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true},"84168c1e1f6e21906eea5167154748c1e9fea5ef6f2e1b2b2d2cb19e89fbd81a",{"version":"8155b7b79b6e7d7c13d3203f40cd8c201bdf2c0c25af536992d8962a28cac561","affectsGlobalScope":true},"5ca34a9a8b59bcc0e58730e702aa0823557122c86d6a6e1b6eeae85babb48513","c1d93a28c5312d757e449ad068c3a43ad0d961ab06e6a3b7aaa7d48c204a1deb",{"version":"77b2a2f1719b4c19b79bf2bf4833f67770e30767e49102a6b75ab3b3cf8b5db7","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","57e75559358fd6f9593b44506d75871004c124a70b6be3e0ce18597b71a08fc2","160f307d5ccc1f934de7fbed97f1d2016402f90f204c484e20bd5c2a19a4172a","9c1363edb96f09d8d2140284a39015dba08d5b01a98334ba9ad8784ab160c835","2a56407acc5881608ef5fa4c0688d446df6adfd010578ce83dd1b747d895b17f","ffa8324a4c0611f9a50262fb36f097eeabe0fa0d71755aa67156da13cde1b932","ad5c7ca4a4dc8e39e0aa221b981f6306ca1c037c99bd4902bf02831ba5d7fae9",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"5362b44ccdfba77ac392febf7f8d755af484222cfdc7a9aa1dee67bf51a352f9","affectsGlobalScope":true},"4866843595b27b290ce6cc8092818ede98631734525453dec48d32d7f6726f18","d036da8d9e6391ad06ff5a71b8018838f0990667a178390eb48462059dba92de","63728b518fee91037e3d44081b0c7f3cc6fafb79a997dca5300a899277384867","8c4a16f8523cd932b16f3b6feb983037d2ca5699946d1f32b3787055fccbfff3","b76baf9af98ef1da1c3a681e66034c9ce21862fa4177235153d9719df72c2b1d","89d639ae440d34751d94c0333d83bc4dcfadc45cd15849f74cc1d9c0f0ce0413",{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true},"92cfb0fd9ea018f140b7a9af0868daa80646e4f2fcbde2d60fb60c0319862ec8","7faa534c9c865c9338a8b46fe3fc3822f6ad58747240b103d0606e63990a4935","0ae6b96cc95c41d86deb7c208256f126bc58bbb6829e1e29b063aa9eed9ea3f7",{"version":"c6e4a85271072ff15b04d09075b357407d4cdead8ca536ec613a2bb02a03285e","affectsGlobalScope":true},{"version":"5761c90b0cabdd6bd1f5fb1c3bf942088fdd39e18ed35dbe39b0c34bc733bf13","affectsGlobalScope":true},"e9f997f4724f4a19ddb396660061b55ae90dd0e4bb7a34788f7c9d1ceaf7dade","f6c9e1baa89f163bc1b29001ed43d3a24734e53a756e0ed89a92e40be17af5e3","4103297e96869b5226a7570a295fbf5f845e9dc4a3b3f8f242993c7f8aad1d42","2b847f2aba41dcd69677684d5d300c08aea4e306c305fd39bf548cef19f03cfe","f3b323d28220d61475dc0229fad6d0bff24381766b40a30fe67743da772c82ad","b966a6e620b297ecd31d0359894a4018255d85da5a277b21867296e97e21fefd","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","cd2b61246eeb62ebc6842fe28f7b3389c081d3b6355091cffe3d12c083bd5705","48e2eb12763f6f72f9daf15967499f69bc4dcda00e1c93696ba25d14af513660",{"version":"57141225815ac2d5caf7e781c6442861854149675096afd9ed5b699aff80a5e7","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","1edbd43bfc703943f0eabfef8aac222fb3e509d9b13c60295cb206b9b75bb6be","12fd795309573a15193cf71d22f7e5debbec599b77ffeb3bb5c0fd1bd15cbe6d","4082bc53696f77cae7f84dd002d4766f3a814b9b2b0d9be4e399ee3f9afc501d",{"version":"e32d7b239d2649efbb57eca949ffc764fb76fd8cce9f57632c0217407a79fa1a","affectsGlobalScope":true},{"version":"5bf73febf7c8cc741ba62e94758eed3208f62473c50702d209bcfece18e12421","affectsGlobalScope":true},"3758d3cb9971c113455a802ad7fa16fa216639add0f2c90767cf177f8d85106d","048a373805662e209f7af8717b45ae77a8052ff2272234d6f8cb84d87831f516","f71e0cc279b5086fa3f46f0bb467d376a18776ec7c99c45b3bd7c670097e1308",{"version":"09e6c9b5d3f323c84bc103e387d1b41e03f5155909615ad877d862ff82758d00","affectsGlobalScope":true},"5af698993d8ba0b74e6d34902091b9cadab8e30d3b009746331721651b5890a4",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"27fea46e25bceaf52375ad48afdf5b9f78af76d551e30cc86077541d1c405e8e","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","d782e571cb7d6ec0f0645957ed843d00e3f8577e08cc2940f400c931bc47a8df","9167246623f181441e6116605221268d94e33a1ebd88075e2dc80133c928ae7e","dc1a838d8a514b6de9fbce3bd5e6feb9ccfe56311e9338bb908eb4d0d966ecaf","186f09ed4b1bc1d5a5af5b1d9f42e2d798f776418e82599b3de16423a349d184","d692ae73951775d2448df535ce8bc8abf162dc343911fedda2c37b8de3b20d8e","867d62c61432e319e2cbdef2980ae7e1fc034f72fd265c91f92eec3d07e4d9d6","b80c780c52524beb13488942543972c8b0e54400e8b59cee0169f38d0fabb968","b61b573ff4ba88d0ca9f59655f66ddd34db4696d2b51c6ef7a959f2b70cb4109","8174e9c229331b9202cf34327e89794a98bb1a442aeee03c46c4b50034b72142","f40fd5b46add805ff018d3490352931e069eb524e3068b86d46d048534d1b824","2c31f69dc0e07f3c396462dae566bf822b1fbc9b56ae1f64ac73a652cf7e4a35","6888c13dda417d9057790a8c403e77e0fa1d7a083d947fdd9310961548a0a08e","a0ff940b1a0e503c45976623abdb39bcfecee97e9f40c3c59f16c659a4da3239","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","e2befcff13777268fe913fdae10fdca86632e142d0a56bafa88c2a15ee220701","5a739f3dbc49e8769afe70233c31489ed34ba9efe7f1150635658497cb1cbc71","3035306296b362047b08a2a4040a3bf33f0625287b3891e69b864b5d78b8286b","b11e5173a66497863b6d525009624f56ec5124cd6c30e56e8a3e9b41dd303962","178e4bbf4575f0f3d8027d67870aa11bf30ea98663a9f205ca03adc05fa135d7","d57e501aa9e3208fa52cdf03c414173e40523b20a89b5f70c5bffb53ead42c07","a011ef547fb4aca43d5b37d44419f9fc16ba089edf1eb96d20d9c9ee6beefc77","0eb499336fda2cdb3acbfb5c160153028f647904326921b84103e2c83f6892fb","29d441a45ca67aa4b9dc48eb80f26dce82602a066e51af92978a1b4bcb78c507","c5dbca090d5b388006482f4c159f9560ac5a44a7a6d77bb4a64c8749cf8ddb4b","cf18efc36568036078617bb6bd66186f3f68ba789baa67147a0e3128c9398bd0","dc4b884038ecf1dc687a89944e04cf6b1e83391f2d541212dccbb0de67c97f1d","8835ccff7f7bf75094749fd5da9604becacc31016f683907642f92cfefa9346d","8ac4904be5b82699041086aa0dd33327d2afa3bcb107fa887c308bbdde1ea7ce","257e143511763fc89bde384f58bf0a02e1708330705370c0a4483e9f1500ceaa","18584847cdf14e522faa67916d50b8ba7479c8f12262c99d90078dffcae12a8e","44e590a660a2ed3c71e92c85a4af2507b43359825ab4805ec2dcef54e9d564ee","30a39429dd194c9bd3bbb32a32e247d9b547524308d61acc1ba8f16e72e61ee9","f0b04452cd330d29522cbe34176e683f21429e690c2aaec5ecee88303537fda4","f499b42bfdba1be1e0a9cf2ea797ad00694bc7908fdbb8f1f50e4a8034387f67","57794fc7348347817d469e09db6a3faf7aec386f92cb0dad0acbe1336a3f68d7","b82e3f89b8b5d563df90b8e5da3dc2b39443a4db8a3c0310919d55a242da56dc","847ccc20490110124a2252c5a705dfe1355921470d2bd6da9af1d4943e54346b","4cc6d8bdf1e7d492569cf7437ca3f01bf9cc767c3295953b415a6c8d5badf1ab","3b0309147d62225ffd116d3440f480e8df63a47e71e47fb6b432858db931b9e0","139db12276e11f90df65778f7513bc3f85957d74fd0d1bbeb19e4a1dace4f662","2884fcc91f5d42a3288a75a558b036923e3d926354fa0c3fa0251c2c3d4b54e8","013446b40d561ed0b2c2822d01954d4612d5e67222369073345aeebeb03fd406","4cb9df3ea8035d85480096a5ff94dbbcf941efb38c5c1ea77f1dc164d4342728","b35517e270f8735aa771989daa684625bc6285c91e8e4377f13f70a6ff415fc9","291b47b629e4c15e96bacb8d1f707573e72fedbb0fcab43f729e5f9d73560c3c","ae147af43f062662157775c85e3801ea3b70dc7b8f39c7aa260ad215e1942cb3","2a1d0598c9acba389f6a3369d52822a34045bd2ce75d012613bd0b802663c73b","78e817751f43865838b80e44aec551f4d2eb50c7a8ef528a628da9cf8c427b66","878d8319802cbd907be389848225859546d87c66c5b8cf7b864fab14d3dda283","897537e8a5aa22a4ec865ade55b791c0010c863ac5f34e57e7e1c156d9862546","f253b0f34ac2757af5c73868b3235104f5e311c03859987b2402afd1382db058","88f98a99221fa413325886b54d3f2eec69c6092190c2693c2a460240c7bb2f28",{"version":"ef4df50bd03e191ac0f703d7a1be4e74c97d9e15394bda1902e82dd2610049a9","signature":"48ba10d1f6ea9356a7395eb4adebae61972eb6c62b2af44b5e23a54a27aaa2ec"},{"version":"e3f1a00076b258e02479b1473628319ee745d35dee4d33c9ca8e3ed9a87d7ca9","signature":"639ac0f2b28cf6132237a0c94cc14dc6d7bb7a3204a1726c47369bb0b764e87b"},{"version":"cff26419f4c54dc6881862cd4814b03bd8f5a055bdffb5c58d524b1913721be5","signature":"be40e4226d054d2516605630a13e092d317cd44e1c7e3505a8f7296622f886c8"},{"version":"6090f44144fbb3f1dc6f4d6ecab97f7a6623eb389e65c7c88dc595bf3ce00487","signature":"9bab96bc6407296705ad9fe2cdca7c29ef0438de3e5137ff0faf17603ba8e0d0"},{"version":"b231d8571a0383a4a5d7f65999a1b7986e3f574829aefb66a4cfbd023c612fca","signature":"55f595bd0484b08c964623f461093e9514f88429851ba6af7491a9d95e994054"},{"version":"841a9133f030d3a923c80042625fea1d699a570f22721063e4a21b1cd1c81cf6","signature":"ee236ddc5430e6b1f6a6e48bb12a00f99b34317dd0caf631ab51a719e8ec2374"},"f2e5fa7d4aefe542762909ac966abdeaaaa76befbf561924edabb02b9b57542d","28e9fcac58f5957d1b82ab2b856799c24f7530e1d048198c1d0b9923762265ed","072a49808080400016c2557d47648297d854da5d75c2005083432f5bbbc19949","f25d3ac13258725686f0fbad31b82418ce00799f5d145570d6ee398a39651043","bbfcec9ed673c3dcb2668c3b216c7be9102a9e900e3d73801611da7f21746fdc","da3e4adedc5b5fd041f31a11d6bd98dde20febb2f2705988396d5a07f6f17543","9e6a844fae8202f8aa8bc6c7d076980221a15106c2a6a6f1e38fe1f2b8d07d62","99b07e053c9eae92b706ce3914d4b14bde4d896afc5a351c4660918ac64c6584","9fd36cbc7e5eaa50308919a4496ac677490c20a36a26208ef288f3033ad4c855","739adbaa02fd46f768fb88c72bc3359966241d36bc844a54f158fc68539f951b","8909288948f7bf5a408b6521a659a78765939ee319cd68ad5df4fb76fe1a755d","ff90f20e235b71cea80a352916e7f2a4737302e4f5b539d00e75204c82014b70","10ed1e58a17e61a6eb4f1bca430999ac214629058239489d498b88dc891f2327","1d1c0c879e2139313479670b032fc056ac93136a8199ed3e30fd118004077627","92ad95e6220ab829c8f5cfca9be43e26e041a2922cde6e998782030d41c49963","12c924e7f2e516943ce436ad51965a38cbbd9dee5fe670ae6349bd8c1bf76f52","75f4d060766b9c61825a122b94d61c45bbb6cafaa9f077c59987dc6c00467c76","42b7e0b9bed165997eb168904dfcd11254ff978ceeacda906e77d8f44c89f31f","b16879b91b181532922b7f279d8cba9c877c1436d3b0c55285ab8c6f43fd5dce","278055752eff1ed4b30b663d6b812923f041fbfd6cb6563d1b9350b53850059e","4ba1b1b1750a88a8fcc7d521d3ec3ba6235c28c73993e38adcaaec51afd57d5b","4991ee4482820b62aa2e6cd775d9984e0a45a7f6ba64d8a2737cbbb8af7c53f9","450257cba6657271a6646f9561b43062a5d2b39dba8b2e7b4d7c7fda73c6fe57","9a909c6bcc1cd061f649dc3b4dc9922fda9858166617bbc7263dd4c8bee7546f","c47421f20cec5286ce39834a3327579f36cad21f053ef8c09076c1894cd66d93","4c9975f07791ea91c74c2b8140ab48eb5ac2cc81417a108e6612c889a8bd23b3","b7b49dc760f6440dc8677ef49f0ca75c7f0f2f97f461a07bf2aa03723ac61d3d","79d938cb2e44b94e4f1497a9ccc2ff5da2fb7360d4eb7485da114055bc712379","566fd6af165b3acfa13b916594e422994e5d14f4138609fd252504800c9b96b7","ba9605656fa2ff88d69fd3676770ff1440fd70b4cbdce4ca85ac4ce27e659c7a","fedb9303cc3d1af9e5698092e3fd3622c2eb05805582107ac36c8cf0a160d16e","65d51b460383b6f7546f22c888c8b41e0de7385f20ec971acbb56da83bcbe611","b64e1ff30069e6fcfbd6b01df71b89e9f7d34581d1eba2e1fe3f3b1eaf70f28e","b725c869a5ff20458780f26afbe392017e690ee03decdb7d1202ac3539a8e235","4aaaa437c7b26c9b2668da29c1674d5be3b8f8fa150f3d7dac75d67314be9f37","f945eeb4aa141ce1af78affc6547c979f97b1cbb7d8995d4762d006e3e35c667","13bce356dc26c750244fe75f160388f59a1725d33e401ae26dc084277dd9491e","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","8a561d8bcaf60594a95c3390a489824c6688e81802701260444fb47881950257","cbc6cad822896d9d97bda9a0cea0834be8999dbe2040758cd6da3948c24415b3","e6ee1dcd00ca1c765c95b0abb2114c2ead786ae7610c823df4cd8fffbcbede10","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","8b25e65927ea90be5da89799997c6f7e7dbcd826a954bd1a466a931d380a3511","af7d2a7f8f8a0d9bcce2a017b1a9f6ec85f57e9484a65f46b6cafe8fb079e9a3","9cb1f37abda1396ced2508edf3d111c99a94421553138edc06353c1c824b8cc8","68a8ceeea894c6d5989c89207e3ac1b33c2c2026ad4a9e8c3cff1d87ea67ec77","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","989b5f3bf15619484ef2327c0a108ad33191bfc2e3deb6347bf175e79fd02e51","2b51763cbd722ee2747bc9e860dd0cc0200cdfdf6735c5c2fd4f5e3e02f1ec86","b650f3fdfd9e86f82d906dfbd81b87ef7c7d7434ee1de923d7d6cf5647434a02","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","3e2b6603bed1f4a82bdad05b68a66cc5943f8e12c647bf2f45a06c9d72cc0e00","eabca6c007c20da02a0cbbf23f6de3c39e662a9adc1a92736968179d7c4cc569","625ea89b6b179966c652b7bb93b57e7c1c2343eb9aba6cfb3ddf801359cde65c","1a69659e9cd6e3785e995d1e748809aa708a76fda03988b7ead402534311c106","27e553ea7ffbcaef2be2af5a79fdbf83cfcda0f95bf17e3c378b33402a28c1d6","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","068a6c2f0554b945cbfb006187f4c9c27386684810189dfe026a9b30470d3984","dd22a6e590d7fbabb29b903a809141cb1426846d23c21164ff4223a7f9dcff1d","93cd3ba5193ea2029b2eb0b20b94ca9c4e6b9c2a696d7d1a05211a2916ca0d77","748553e51bfbef2b4c8e646275f687e60ea77665c514ee1f880bf5a3cd509f37","a4d09f9410ec90d4b07cd054e8e2f234feb27b66b106202b386ab0b157663358","3749f5690d24338ff4b878db8d0f1b47d04fe891634c88ca56f7166f944fb96b","939f5a5215d6be2165c6a4116f5abb433b84df00f3ac4e458f3cd732786e8431","5f92a8bc72a87fca63d413ed8f303a2df36fb8143f0e974d0844c7422318909c","2a0e1e0a89c6a3991cc04812d4c6fcf92fe7511de87a684bc60357438dddf399","4ddb790ba5f1fd3689213c0501dbf21a7285f2edf562a8f7d86654877a868fc9","b0b840a3379f3539d037cb5b602541d2ab6984462761e505a23793866dc7a0d7","7aed6616e78d880577a37fa5edd42b690354874f1001acdbf21ead2f803a36a0","73a7dc6d00925ef047bc915a54cab15bb242d549b9334d9b5151cc0f35cfaf77","0a1c74bccc0c5a1f22012144a3d9afc19951348540c7ff5e5feaf4eef6259b80","3a1d5de5adaede0fb1ca2045f8b10a0e86f480a1082a11829a0b48da8ad6157f","0a1057aef93b764fb9665d101f2a050f6e060c37ec5b88f2d27bb83412a3487e","6164b754612e5776cc934dc0d6494fe2ee084d39d1cbc6fe4a23a45326730ccc","47679a6b6411019e8f7a443ec3addbec38a79a7e4679c00bc73d3ccdb81d64ce","cac86b9dbfd00f0ac7731f4074d2c69260c88ea28de96a71b0cb4efb5779b869","65bd0d34233fcaab54f5463703a0f022b2db197ef24c4a1d3adda1a9d3d6d502","f5cd1b398a44c53407e4aa1e8b503d0664299f002313d31bbce221644aadc6cb","c2f032cbe6aa8d59f021ccd865990d4d55c11fd3a1b96b81c56903cf05e36f1f","aa20bc1ba435f2a49bd640992da9517e31896e8f6d1a4817800ac96d6f10d6ea","5621180d5cf6e50f53fd6c73e0a60cd4115353f919bdd193580746896167da63","9cc5c390465b87096b69b2b0612a341d974b658cd28447696583f2762226f8c3","08371984685828cedaa25037b76def8f8f7f8304910dc66627bb58a2f53ecea4","7dd1c6c1b927f9edb94773f9333666f52f7b0bdf49a9a7f63129e9e66d1222cf","174f99dc1948a64c4211702a0fcc45d684d05fdfba3100ba4485fe45adb4d7f3","19405c79422e9c2d9ae1affae558857d3cbd138b17db596c642d008cd6c485cb","6c2ba8fe0797b626104a2fd4e8de0dad6edc4b932e4a50a7b72afa09fdcddbe9","dabc6bfb18fc1f988d37c8b659eb07fd35e8269bfa099b6dc02c14093c2b8b1a","ec9dd267b792e7c5c3733a45a3d2e43b93f02b98d86d8be50e11f9c15940c02b","a8f278a697ab8646f88cb2ba9783814e5438637cdfc3c5278e8aca82b4a1fc44","239d9e77e0026e7375dc9b6122f1b62d2c39fc2e5c10f50787cd321880146b95","0f3ca52b0d50160be177f8c79efbbcd666726c2de9256d6335e0d0bcb2e40d6f","1d8820a067af2309ef4f7739d2ada59882eebb3b2b595ff78496760c6f51ba60","0afbe91142eb631d6f31be624cf8a550b03736bfd22b0f309405a6fe4d4c9517","a3c89483a38d76c77a13b69b268a9e5d13abcdf0957ca3f28c9702c47ce8050f","40ec7e761ea0ddfc0add7aedb95dacfc579b25010ed0e2190abc1d34bb67f81e",{"version":"8025c9a7f2b5dc888ec2b84e02f45dac405d071edf6506657caeea4bbebaa448","signature":"25d3593479d43d4b89648665fb0a876aaa648154a12886a6c9da1c3cf6bcee6b"},{"version":"b4dfee61d5b3b1fa83faf4c668e8ec25c754e3f73cc9088af8e220699837e788","signature":"6794b2f8af1a86a12d873edfe17826757b0f51df33e07e8bbeac9259462f4645"},{"version":"7267b7b75ba5ec5131804becf902b090c59aac4f8a8448c7c419b761b6c91625","signature":"a50c30a3b6e56b48ab06620b914fae4586647703e2998ca7886faf1b51abb512"},"1366411fa89bff262ed4af300cfbd6e19888ca6c109232f5d14b95e2973b6999",{"version":"13ebd2c679f3fbb5f895643fcf3d69c826269b9deb6f75d9b11d673e7c07a47d","signature":"811fb60e5fab811e2bf5c234ebf09f619933d434d7cfa0240fff450e4bc41cb4"},{"version":"d8eb3b2b30ac04b4b1f19fa1ea3bc475e44d3c30c6d2c2d02dc0d07677ed5288","signature":"6d95cbb60db69dc9ea0163e745e8f8666327f42e695ca9b35dace8e45685bd2f"},{"version":"af995905ee97159f406a4a94a6cff94c2c2fcd462491cf090937a7924a56fe70","signature":"465524d0ebf697f1346f9a2d615bf9de656df27c08ea3cb7cae4bdef6c2e1cdb"},{"version":"cbe55fad4dd27bd9d3c0ad6deb96a70dbaf32b2a4388e706d11ee508e654c4c0","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},{"version":"69ea20104923b196ebbf0ae37374ae1a572fdad17480e30403b107b765c67095","signature":"78fa342775f68d2c9160b5728b6642e66479372e62f5c5d08c399a4a95786243"},{"version":"c98b2f3a14dad97d0ff29c37cbf369c51a0198d64d944693e2c9c6248297e2e7","signature":"f6f5d902e2ef2f3904fac06f2223e72cb4f37786320a1ec087b06c934de48d7c"},{"version":"f0a930ce3e51cca077b139e56aeffad6b55a46ac3e0b1c27e5fb03997bc2f93f","signature":"123b52edb06a3999ebd740030b8943d808b60e3928eeb61f53fb54b34f02c92f"},"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31"],"options":{"declaration":true,"esModuleInterop":true,"module":1,"outDir":"./","removeComments":true,"skipLibCheck":true,"target":1},"fileIdsList":[[50,92,99,108,135],[50,92,99,108,125,135],[92,108,126,127,128,135,136],[50,92,99,106,108,135],[92,99,108,125,129,134],[92,99,108,135],[92,108,125,135],[92,108,130,131,132,133,135],[92,106],[50,92,99,106],[92,106,108,112,113,114,115,117,135,136,147,149,151],[92,150,152],[92,112,134,149],[92,106,112],[92,106,108,112,116,123,124],[92,106,107,108,109],[92,106,108,110],[92,106,108,112,124,135],[92,106,108,109,110,112,117,125,135,148],[92,99,106,107,108,110,112,124,135],[92,106,108,112,116,117,118,119,120,121,122,123,124,135],[92,99,106,108,109,124],[92,106,108,109,110,112,116,117,118,119,120,121,122,124],[92,106,108,112,119,124],[92,106,108,112,119,124,125,135],[92,106,108,118,124],[92,99,106,108,109,114,123,152],[92,106,108,121,124],[92,106,111],[50,92,99],[92,99],[92,139,140,141,142],[92],[92,111,137,138,143,144,145,146],[50,92,99,106,110],[92,99,106,114],[50,92,99,106,110,112],[50,92],[92,106,176],[92,159,160,161,162,163,164,165,166,167,168,169,170,171,172,177,178,179,180,183,184,185,186,187,188],[92,106,182],[92,193,194,195],[92,106,173,181],[92,173,176],[92,197,198,199],[92,106,173,176,181],[92,173,174,176],[92,99,174],[92,175,192,196,200,201,205,209,210,211,215,216],[92,202,203,204],[92,106,173,174],[92,206,207,208],[92,173,174],[92,212,213,214],[92,106,173,174,176],[92,189,190,191,217,248,250],[92,106,182,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239],[92,181,182,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247],[92,106,175,181],[92,106,181],[92,99,106,173,175],[92,174,176,249],[92,99,106,173],[50,65,67,92,99,105],[65,92,99],[46,92],[49,92],[50,55,83,92],[51,62,63,70,80,91,92],[51,52,62,70,92],[53,92],[54,55,63,71,92],[55,80,88,92],[56,58,62,70,92],[57,92],[58,59,92],[62,92],[60,62,92],[62,63,64,80,91,92],[62,63,64,77,80,83,92],[92,96],[58,65,70,80,91,92],[62,63,65,66,70,80,88,91,92],[65,67,80,88,91,92],[46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],[62,68,92],[69,91,92],[58,62,70,80,92],[71,92],[72,92],[49,73,92],[74,90,92,96],[75,92],[76,92],[62,77,78,92],[77,79,92,94],[50,62,80,81,82,83,92],[50,80,82,92],[80,81,92],[83,92],[84,92],[62,86,87,92],[86,87,92],[55,70,80,88,92],[89,92],[70,90,92],[50,65,76,91,92],[55,92],[80,92,93],[92,94],[92,95],[50,55,62,64,73,80,91,92,94,96],[80,92,97],[62,65,67,70,80,88,91,92,97,99],[92,253],[92,102,103],[65,92,99,101,104],[92,106,114,153,154,156,157],[92,106,152,153,154,156],[92,106,152,154,155,156,157,158,251,252,254,255,256,257,259],[92,106,152,153,154,155,156,157,158,251],[92,106,152,258],[92,106,152,153,154,155,156,157,158,251,255,259],[92,106,152,156],[92,106,114],[92,153,154,155,156,157,158,255,256,257,259,260,261,263,264],[92,106,152,153,155],[92,143,152,256],[92,106,114,153],[92,106,113,152],[106,114,156,157],[152],[106,152,155,156,158,255,256,257,259],[106,152,155,156,157,158],[106,152],[152,158,251,255,259],[106,152,156],[106,114],[153,154,155,156,157,158,255,256,257,259,260,261,263,264],[106,152,155],[106]],"referencedMap":[[126,1],[127,2],[129,3],[136,4],[128,1],[135,5],[131,6],[132,7],[134,8],[130,6],[133,6],[115,9],[108,10],[152,11],[151,12],[150,13],[113,14],[117,15],[110,16],[109,17],[125,18],[149,19],[116,20],[148,21],[118,22],[123,23],[120,24],[121,25],[119,26],[124,27],[122,28],[112,29],[142,30],[141,31],[139,30],[143,32],[140,33],[145,33],[147,34],[138,35],[146,36],[111,37],[137,33],[144,9],[173,38],[159,9],[160,9],[161,9],[162,9],[163,9],[164,9],[165,9],[166,9],[167,9],[168,9],[169,9],[170,9],[171,9],[172,9],[177,39],[189,40],[178,9],[179,9],[180,9],[183,41],[184,9],[185,9],[186,9],[187,9],[188,9],[190,9],[191,33],[192,33],[193,9],[196,42],[194,43],[195,44],[197,39],[200,45],[198,46],[199,47],[175,48],[201,44],[217,49],[202,9],[205,50],[203,43],[204,51],[206,9],[209,52],[207,43],[208,44],[210,51],[211,53],[216,51],[212,9],[215,54],[213,43],[214,55],[251,56],[219,43],[220,43],[221,43],[218,9],[222,43],[223,43],[224,43],[245,43],[240,57],[225,43],[248,58],[226,43],[227,43],[228,43],[242,43],[229,43],[230,43],[243,43],[231,43],[241,33],[246,43],[247,43],[232,43],[233,43],[244,59],[234,43],[182,43],[235,43],[236,43],[237,43],[238,43],[181,33],[239,60],[176,61],[250,62],[174,61],[249,63],[106,64],[114,31],[266,65],[46,66],[47,66],[49,67],[50,68],[51,69],[52,70],[53,71],[54,72],[55,73],[56,74],[57,75],[58,76],[59,76],[61,77],[60,78],[62,77],[63,79],[64,80],[48,81],[98,33],[65,82],[66,83],[67,84],[99,85],[68,86],[69,87],[70,88],[71,89],[72,90],[73,91],[74,92],[75,93],[76,94],[77,95],[78,95],[79,96],[80,97],[82,98],[81,99],[83,100],[84,101],[85,33],[86,102],[87,103],[88,104],[89,105],[90,106],[91,107],[92,108],[93,109],[94,110],[95,111],[96,112],[97,113],[267,114],[253,33],[254,115],[100,33],[107,33],[102,33],[104,116],[103,33],[101,33],[252,33],[105,117],[1,33],[9,33],[13,33],[12,33],[3,33],[14,33],[15,33],[16,33],[17,33],[18,33],[19,33],[20,33],[21,33],[4,33],[5,33],[25,33],[22,33],[23,33],[24,33],[26,33],[27,33],[28,33],[6,33],[29,33],[30,33],[31,33],[32,33],[7,33],[36,33],[33,33],[34,33],[35,33],[37,33],[8,33],[38,33],[43,33],[44,33],[39,33],[40,33],[41,33],[42,33],[2,33],[45,33],[11,33],[10,33],[158,118],[155,119],[260,120],[255,121],[258,33],[259,122],[261,123],[157,124],[262,33],[153,125],[256,33],[265,126],[156,127],[264,9],[263,128],[154,129],[257,130]],"exportedModulesMap":[[126,1],[127,2],[129,3],[136,4],[128,1],[135,5],[131,6],[132,7],[134,8],[130,6],[133,6],[115,9],[108,10],[152,11],[151,12],[150,13],[113,14],[117,15],[110,16],[109,17],[125,18],[149,19],[116,20],[148,21],[118,22],[123,23],[120,24],[121,25],[119,26],[124,27],[122,28],[112,29],[142,30],[141,31],[139,30],[143,32],[140,33],[145,33],[147,34],[138,35],[146,36],[111,37],[137,33],[144,9],[173,38],[159,9],[160,9],[161,9],[162,9],[163,9],[164,9],[165,9],[166,9],[167,9],[168,9],[169,9],[170,9],[171,9],[172,9],[177,39],[189,40],[178,9],[179,9],[180,9],[183,41],[184,9],[185,9],[186,9],[187,9],[188,9],[190,9],[191,33],[192,33],[193,9],[196,42],[194,43],[195,44],[197,39],[200,45],[198,46],[199,47],[175,48],[201,44],[217,49],[202,9],[205,50],[203,43],[204,51],[206,9],[209,52],[207,43],[208,44],[210,51],[211,53],[216,51],[212,9],[215,54],[213,43],[214,55],[251,56],[219,43],[220,43],[221,43],[218,9],[222,43],[223,43],[224,43],[245,43],[240,57],[225,43],[248,58],[226,43],[227,43],[228,43],[242,43],[229,43],[230,43],[243,43],[231,43],[241,33],[246,43],[247,43],[232,43],[233,43],[244,59],[234,43],[182,43],[235,43],[236,43],[237,43],[238,43],[181,33],[239,60],[176,61],[250,62],[174,61],[249,63],[106,64],[114,31],[266,65],[46,66],[47,66],[49,67],[50,68],[51,69],[52,70],[53,71],[54,72],[55,73],[56,74],[57,75],[58,76],[59,76],[61,77],[60,78],[62,77],[63,79],[64,80],[48,81],[98,33],[65,82],[66,83],[67,84],[99,85],[68,86],[69,87],[70,88],[71,89],[72,90],[73,91],[74,92],[75,93],[76,94],[77,95],[78,95],[79,96],[80,97],[82,98],[81,99],[83,100],[84,101],[85,33],[86,102],[87,103],[88,104],[89,105],[90,106],[91,107],[92,108],[93,109],[94,110],[95,111],[96,112],[97,113],[267,114],[253,33],[254,115],[100,33],[107,33],[102,33],[104,116],[103,33],[101,33],[252,33],[105,117],[1,33],[9,33],[13,33],[12,33],[3,33],[14,33],[15,33],[16,33],[17,33],[18,33],[19,33],[20,33],[21,33],[4,33],[5,33],[25,33],[22,33],[23,33],[24,33],[26,33],[27,33],[28,33],[6,33],[29,33],[30,33],[31,33],[32,33],[7,33],[36,33],[33,33],[34,33],[35,33],[37,33],[8,33],[38,33],[43,33],[44,33],[39,33],[40,33],[41,33],[42,33],[2,33],[45,33],[11,33],[10,33],[158,131],[155,132],[260,133],[255,134],[258,33],[259,135],[261,136],[157,137],[153,138],[265,139],[156,140],[264,141],[263,132],[154,138],[257,135]],"semanticDiagnosticsPerFile":[126,127,129,136,128,135,131,132,134,130,133,115,108,152,151,150,113,117,110,109,125,149,116,148,118,123,120,121,119,124,122,112,142,141,139,143,140,145,147,138,146,111,137,144,173,159,160,161,162,163,164,165,166,167,168,169,170,171,172,177,189,178,179,180,183,184,185,186,187,188,190,191,192,193,196,194,195,197,200,198,199,175,201,217,202,205,203,204,206,209,207,208,210,211,216,212,215,213,214,251,219,220,221,218,222,223,224,245,240,225,248,226,227,228,242,229,230,243,231,241,246,247,232,233,244,234,182,235,236,237,238,181,239,176,250,174,249,106,114,266,46,47,49,50,51,52,53,54,55,56,57,58,59,61,60,62,63,64,48,98,65,66,67,99,68,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,267,253,254,100,107,102,104,103,101,252,105,1,9,13,12,3,14,15,16,17,18,19,20,21,4,5,25,22,23,24,26,27,28,6,29,30,31,32,7,36,33,34,35,37,8,38,43,44,39,40,41,42,2,45,11,10,158,155,260,255,258,259,261,157,262,153,256,265,156,264,263,154,257]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/buffer/index.d.ts","../node_modules/formdata-polyfill/esm.min.d.ts","../node_modules/fetch-blob/file.d.ts","../node_modules/fetch-blob/index.d.ts","../node_modules/fetch-blob/from.d.ts","../node_modules/node-fetch/@types/index.d.ts","../node_modules/@solana/web3.js/lib/index.d.ts","../node_modules/eventemitter3/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts","../node_modules/@types/bn.js/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts","../node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts","../src/constants/index.ts","../node_modules/bignumber.js/bignumber.d.ts","../src/utils/index.ts","../src/OraclePrice.ts","../src/types/index.ts","../src/PositionAccount.ts","../src/CustodyAccount.ts","../node_modules/@solana/spl-token/lib/types/actions/amountToUiAmount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/approve.d.ts","../node_modules/@solana/spl-token/lib/types/actions/approveChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/burn.d.ts","../node_modules/@solana/spl-token/lib/types/actions/burnChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/closeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAssociatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createAssociatedTokenAccountIdempotent.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createMint.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createMultisig.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createNativeMint.d.ts","../node_modules/@solana/spl-token/lib/types/actions/createWrappedNativeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/freezeAccount.d.ts","../node_modules/@solana/buffer-layout/lib/Layout.d.ts","../node_modules/@solana/spl-token/lib/types/state/mint.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/extensionType.d.ts","../node_modules/@solana/spl-token/lib/types/state/account.d.ts","../node_modules/@solana/spl-token/lib/types/actions/getOrCreateAssociatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/mintTo.d.ts","../node_modules/@solana/spl-token/lib/types/actions/mintToChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/revoke.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/types.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/setAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/actions/setAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/actions/syncNative.d.ts","../node_modules/@solana/spl-token/lib/types/actions/thawAccount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/transfer.d.ts","../node_modules/@solana/spl-token/lib/types/actions/transferChecked.d.ts","../node_modules/@solana/spl-token/lib/types/actions/uiAmountToAmount.d.ts","../node_modules/@solana/spl-token/lib/types/actions/index.d.ts","../node_modules/@solana/spl-token/lib/types/constants.d.ts","../node_modules/@solana/spl-token/lib/types/errors.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/accountType.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/cpiGuard/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/defaultAccountState/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/immutableOwner.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/interestBearingMint/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/memoTransfer/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/mintCloseAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/nonTransferable.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/actions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/instructions.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/state.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/transferFee/index.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/permanentDelegate.d.ts","../node_modules/@solana/spl-token/lib/types/extensions/index.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/associatedTokenAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/amountToUiAmount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/approve.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/approveChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/burn.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/burnChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/closeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/freezeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeAccount3.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMint2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMultisig.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/mintTo.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/mintToChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/revoke.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/syncNative.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/thawAccount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/transfer.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/transferChecked.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/uiAmountToAmount.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/decode.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMultisig2.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeImmutableOwner.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeMintCloseAuthority.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/reallocate.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/createNativeMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializeNonTransferableMint.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/initializePermanentDelegate.d.ts","../node_modules/@solana/spl-token/lib/types/instructions/index.d.ts","../node_modules/@solana/spl-token/lib/types/state/multisig.d.ts","../node_modules/@solana/spl-token/lib/types/state/index.d.ts","../node_modules/@solana/spl-token/lib/types/index.d.ts","../node_modules/js-sha256/index.d.ts","../node_modules/base-x/src/index.d.ts","../node_modules/bs58/index.d.ts","../src/PoolAccount.ts","../src/idl/perpetuals.ts","../src/utils/rpc.ts","../src/PoolConfig.json","../src/PoolConfig.ts","../src/PerpetualsClient.ts","../src/PoolDataClient.ts","../src/Token.ts","../src/utils/anchorCpiEvents.ts","../src/utils/alt.ts","../src/index.ts","../src/test.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/ws/index.d.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b4473933ebd454f0b38bf002e92738f978f5197ad47627e6b2a6647046997256","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true},"84168c1e1f6e21906eea5167154748c1e9fea5ef6f2e1b2b2d2cb19e89fbd81a",{"version":"8155b7b79b6e7d7c13d3203f40cd8c201bdf2c0c25af536992d8962a28cac561","affectsGlobalScope":true},"5ca34a9a8b59bcc0e58730e702aa0823557122c86d6a6e1b6eeae85babb48513","c1d93a28c5312d757e449ad068c3a43ad0d961ab06e6a3b7aaa7d48c204a1deb",{"version":"77b2a2f1719b4c19b79bf2bf4833f67770e30767e49102a6b75ab3b3cf8b5db7","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","57e75559358fd6f9593b44506d75871004c124a70b6be3e0ce18597b71a08fc2","160f307d5ccc1f934de7fbed97f1d2016402f90f204c484e20bd5c2a19a4172a","9c1363edb96f09d8d2140284a39015dba08d5b01a98334ba9ad8784ab160c835","2a56407acc5881608ef5fa4c0688d446df6adfd010578ce83dd1b747d895b17f","ffa8324a4c0611f9a50262fb36f097eeabe0fa0d71755aa67156da13cde1b932","ad5c7ca4a4dc8e39e0aa221b981f6306ca1c037c99bd4902bf02831ba5d7fae9",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"5362b44ccdfba77ac392febf7f8d755af484222cfdc7a9aa1dee67bf51a352f9","affectsGlobalScope":true},"4866843595b27b290ce6cc8092818ede98631734525453dec48d32d7f6726f18","d036da8d9e6391ad06ff5a71b8018838f0990667a178390eb48462059dba92de","63728b518fee91037e3d44081b0c7f3cc6fafb79a997dca5300a899277384867","8c4a16f8523cd932b16f3b6feb983037d2ca5699946d1f32b3787055fccbfff3","b76baf9af98ef1da1c3a681e66034c9ce21862fa4177235153d9719df72c2b1d","89d639ae440d34751d94c0333d83bc4dcfadc45cd15849f74cc1d9c0f0ce0413",{"version":"125af9d85cb9d5e508353f10a8d52f01652d2d48b2cea54789a33e5b4d289c1c","affectsGlobalScope":true},"92cfb0fd9ea018f140b7a9af0868daa80646e4f2fcbde2d60fb60c0319862ec8","7faa534c9c865c9338a8b46fe3fc3822f6ad58747240b103d0606e63990a4935","0ae6b96cc95c41d86deb7c208256f126bc58bbb6829e1e29b063aa9eed9ea3f7",{"version":"c6e4a85271072ff15b04d09075b357407d4cdead8ca536ec613a2bb02a03285e","affectsGlobalScope":true},{"version":"5761c90b0cabdd6bd1f5fb1c3bf942088fdd39e18ed35dbe39b0c34bc733bf13","affectsGlobalScope":true},"e9f997f4724f4a19ddb396660061b55ae90dd0e4bb7a34788f7c9d1ceaf7dade","f6c9e1baa89f163bc1b29001ed43d3a24734e53a756e0ed89a92e40be17af5e3","4103297e96869b5226a7570a295fbf5f845e9dc4a3b3f8f242993c7f8aad1d42","2b847f2aba41dcd69677684d5d300c08aea4e306c305fd39bf548cef19f03cfe","f3b323d28220d61475dc0229fad6d0bff24381766b40a30fe67743da772c82ad","b966a6e620b297ecd31d0359894a4018255d85da5a277b21867296e97e21fefd","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","cd2b61246eeb62ebc6842fe28f7b3389c081d3b6355091cffe3d12c083bd5705","48e2eb12763f6f72f9daf15967499f69bc4dcda00e1c93696ba25d14af513660",{"version":"57141225815ac2d5caf7e781c6442861854149675096afd9ed5b699aff80a5e7","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","1edbd43bfc703943f0eabfef8aac222fb3e509d9b13c60295cb206b9b75bb6be","12fd795309573a15193cf71d22f7e5debbec599b77ffeb3bb5c0fd1bd15cbe6d","4082bc53696f77cae7f84dd002d4766f3a814b9b2b0d9be4e399ee3f9afc501d",{"version":"e32d7b239d2649efbb57eca949ffc764fb76fd8cce9f57632c0217407a79fa1a","affectsGlobalScope":true},{"version":"5bf73febf7c8cc741ba62e94758eed3208f62473c50702d209bcfece18e12421","affectsGlobalScope":true},"3758d3cb9971c113455a802ad7fa16fa216639add0f2c90767cf177f8d85106d","048a373805662e209f7af8717b45ae77a8052ff2272234d6f8cb84d87831f516","f71e0cc279b5086fa3f46f0bb467d376a18776ec7c99c45b3bd7c670097e1308",{"version":"09e6c9b5d3f323c84bc103e387d1b41e03f5155909615ad877d862ff82758d00","affectsGlobalScope":true},"5af698993d8ba0b74e6d34902091b9cadab8e30d3b009746331721651b5890a4",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"27fea46e25bceaf52375ad48afdf5b9f78af76d551e30cc86077541d1c405e8e","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","d782e571cb7d6ec0f0645957ed843d00e3f8577e08cc2940f400c931bc47a8df","9167246623f181441e6116605221268d94e33a1ebd88075e2dc80133c928ae7e","dc1a838d8a514b6de9fbce3bd5e6feb9ccfe56311e9338bb908eb4d0d966ecaf","186f09ed4b1bc1d5a5af5b1d9f42e2d798f776418e82599b3de16423a349d184","d692ae73951775d2448df535ce8bc8abf162dc343911fedda2c37b8de3b20d8e","867d62c61432e319e2cbdef2980ae7e1fc034f72fd265c91f92eec3d07e4d9d6","b80c780c52524beb13488942543972c8b0e54400e8b59cee0169f38d0fabb968","b61b573ff4ba88d0ca9f59655f66ddd34db4696d2b51c6ef7a959f2b70cb4109","8174e9c229331b9202cf34327e89794a98bb1a442aeee03c46c4b50034b72142","f40fd5b46add805ff018d3490352931e069eb524e3068b86d46d048534d1b824","2c31f69dc0e07f3c396462dae566bf822b1fbc9b56ae1f64ac73a652cf7e4a35","6888c13dda417d9057790a8c403e77e0fa1d7a083d947fdd9310961548a0a08e","a0ff940b1a0e503c45976623abdb39bcfecee97e9f40c3c59f16c659a4da3239","01f7828047b5c6703d3c601473618b448f5506a88fcac852638b0715c3abf4eb","e2befcff13777268fe913fdae10fdca86632e142d0a56bafa88c2a15ee220701","5a739f3dbc49e8769afe70233c31489ed34ba9efe7f1150635658497cb1cbc71","3035306296b362047b08a2a4040a3bf33f0625287b3891e69b864b5d78b8286b","b11e5173a66497863b6d525009624f56ec5124cd6c30e56e8a3e9b41dd303962","178e4bbf4575f0f3d8027d67870aa11bf30ea98663a9f205ca03adc05fa135d7","d57e501aa9e3208fa52cdf03c414173e40523b20a89b5f70c5bffb53ead42c07","a011ef547fb4aca43d5b37d44419f9fc16ba089edf1eb96d20d9c9ee6beefc77","0eb499336fda2cdb3acbfb5c160153028f647904326921b84103e2c83f6892fb","29d441a45ca67aa4b9dc48eb80f26dce82602a066e51af92978a1b4bcb78c507","c5dbca090d5b388006482f4c159f9560ac5a44a7a6d77bb4a64c8749cf8ddb4b","cf18efc36568036078617bb6bd66186f3f68ba789baa67147a0e3128c9398bd0","dc4b884038ecf1dc687a89944e04cf6b1e83391f2d541212dccbb0de67c97f1d","8835ccff7f7bf75094749fd5da9604becacc31016f683907642f92cfefa9346d","8ac4904be5b82699041086aa0dd33327d2afa3bcb107fa887c308bbdde1ea7ce","257e143511763fc89bde384f58bf0a02e1708330705370c0a4483e9f1500ceaa","18584847cdf14e522faa67916d50b8ba7479c8f12262c99d90078dffcae12a8e","44e590a660a2ed3c71e92c85a4af2507b43359825ab4805ec2dcef54e9d564ee","30a39429dd194c9bd3bbb32a32e247d9b547524308d61acc1ba8f16e72e61ee9","f0b04452cd330d29522cbe34176e683f21429e690c2aaec5ecee88303537fda4","f499b42bfdba1be1e0a9cf2ea797ad00694bc7908fdbb8f1f50e4a8034387f67","57794fc7348347817d469e09db6a3faf7aec386f92cb0dad0acbe1336a3f68d7","b82e3f89b8b5d563df90b8e5da3dc2b39443a4db8a3c0310919d55a242da56dc","847ccc20490110124a2252c5a705dfe1355921470d2bd6da9af1d4943e54346b","4cc6d8bdf1e7d492569cf7437ca3f01bf9cc767c3295953b415a6c8d5badf1ab","3b0309147d62225ffd116d3440f480e8df63a47e71e47fb6b432858db931b9e0","139db12276e11f90df65778f7513bc3f85957d74fd0d1bbeb19e4a1dace4f662","2884fcc91f5d42a3288a75a558b036923e3d926354fa0c3fa0251c2c3d4b54e8","013446b40d561ed0b2c2822d01954d4612d5e67222369073345aeebeb03fd406","4cb9df3ea8035d85480096a5ff94dbbcf941efb38c5c1ea77f1dc164d4342728","b35517e270f8735aa771989daa684625bc6285c91e8e4377f13f70a6ff415fc9","291b47b629e4c15e96bacb8d1f707573e72fedbb0fcab43f729e5f9d73560c3c","ae147af43f062662157775c85e3801ea3b70dc7b8f39c7aa260ad215e1942cb3","2a1d0598c9acba389f6a3369d52822a34045bd2ce75d012613bd0b802663c73b","78e817751f43865838b80e44aec551f4d2eb50c7a8ef528a628da9cf8c427b66","878d8319802cbd907be389848225859546d87c66c5b8cf7b864fab14d3dda283","897537e8a5aa22a4ec865ade55b791c0010c863ac5f34e57e7e1c156d9862546","f253b0f34ac2757af5c73868b3235104f5e311c03859987b2402afd1382db058","88f98a99221fa413325886b54d3f2eec69c6092190c2693c2a460240c7bb2f28",{"version":"ef4df50bd03e191ac0f703d7a1be4e74c97d9e15394bda1902e82dd2610049a9","signature":"48ba10d1f6ea9356a7395eb4adebae61972eb6c62b2af44b5e23a54a27aaa2ec"},"e9b48596baefe465d46567a4beccd564035024a154d99f54c7fed02380707333",{"version":"e3ed0980cca0a99f5dc2329bb4fbb4c0cad36fd04cac345ea57bb2ef35c6a820","signature":"0e023e1e209d643ea1298bb128e723210dc007423274dfb497d0f1adca710ff1"},{"version":"3539ec4beb2c5a1769e4b2396bbb8d91abc6d11c33dfe9f9e6a54afefa17dada","signature":"6827d2fdc4ceed8106e2ba7d75f1d9e17f752e04de69521ca09591beda8946a4"},{"version":"6090f44144fbb3f1dc6f4d6ecab97f7a6623eb389e65c7c88dc595bf3ce00487","signature":"9bab96bc6407296705ad9fe2cdca7c29ef0438de3e5137ff0faf17603ba8e0d0"},{"version":"b91c78ef70cf847b6dfa2a5afb6956c47029c4f821e4c739f0516bf35ce1ee2d","signature":"c5d20dec11339622b9aec2e9406cb5e2a90d4d9081f0585674ceb085af4bf1cb"},{"version":"7cff552f119a056b5cc1cb4d6ba66946b88654aa39b6f6bc88d0616b2b3c986b","signature":"c6fa1667649ec7d17f474b558ba0e3e4c485aae474c7514cafd274401d9c6146"},"f2e5fa7d4aefe542762909ac966abdeaaaa76befbf561924edabb02b9b57542d","28e9fcac58f5957d1b82ab2b856799c24f7530e1d048198c1d0b9923762265ed","072a49808080400016c2557d47648297d854da5d75c2005083432f5bbbc19949","f25d3ac13258725686f0fbad31b82418ce00799f5d145570d6ee398a39651043","bbfcec9ed673c3dcb2668c3b216c7be9102a9e900e3d73801611da7f21746fdc","da3e4adedc5b5fd041f31a11d6bd98dde20febb2f2705988396d5a07f6f17543","9e6a844fae8202f8aa8bc6c7d076980221a15106c2a6a6f1e38fe1f2b8d07d62","99b07e053c9eae92b706ce3914d4b14bde4d896afc5a351c4660918ac64c6584","9fd36cbc7e5eaa50308919a4496ac677490c20a36a26208ef288f3033ad4c855","739adbaa02fd46f768fb88c72bc3359966241d36bc844a54f158fc68539f951b","8909288948f7bf5a408b6521a659a78765939ee319cd68ad5df4fb76fe1a755d","ff90f20e235b71cea80a352916e7f2a4737302e4f5b539d00e75204c82014b70","10ed1e58a17e61a6eb4f1bca430999ac214629058239489d498b88dc891f2327","1d1c0c879e2139313479670b032fc056ac93136a8199ed3e30fd118004077627","92ad95e6220ab829c8f5cfca9be43e26e041a2922cde6e998782030d41c49963","12c924e7f2e516943ce436ad51965a38cbbd9dee5fe670ae6349bd8c1bf76f52","75f4d060766b9c61825a122b94d61c45bbb6cafaa9f077c59987dc6c00467c76","42b7e0b9bed165997eb168904dfcd11254ff978ceeacda906e77d8f44c89f31f","b16879b91b181532922b7f279d8cba9c877c1436d3b0c55285ab8c6f43fd5dce","278055752eff1ed4b30b663d6b812923f041fbfd6cb6563d1b9350b53850059e","4ba1b1b1750a88a8fcc7d521d3ec3ba6235c28c73993e38adcaaec51afd57d5b","4991ee4482820b62aa2e6cd775d9984e0a45a7f6ba64d8a2737cbbb8af7c53f9","450257cba6657271a6646f9561b43062a5d2b39dba8b2e7b4d7c7fda73c6fe57","9a909c6bcc1cd061f649dc3b4dc9922fda9858166617bbc7263dd4c8bee7546f","c47421f20cec5286ce39834a3327579f36cad21f053ef8c09076c1894cd66d93","4c9975f07791ea91c74c2b8140ab48eb5ac2cc81417a108e6612c889a8bd23b3","b7b49dc760f6440dc8677ef49f0ca75c7f0f2f97f461a07bf2aa03723ac61d3d","79d938cb2e44b94e4f1497a9ccc2ff5da2fb7360d4eb7485da114055bc712379","566fd6af165b3acfa13b916594e422994e5d14f4138609fd252504800c9b96b7","ba9605656fa2ff88d69fd3676770ff1440fd70b4cbdce4ca85ac4ce27e659c7a","fedb9303cc3d1af9e5698092e3fd3622c2eb05805582107ac36c8cf0a160d16e","65d51b460383b6f7546f22c888c8b41e0de7385f20ec971acbb56da83bcbe611","b64e1ff30069e6fcfbd6b01df71b89e9f7d34581d1eba2e1fe3f3b1eaf70f28e","b725c869a5ff20458780f26afbe392017e690ee03decdb7d1202ac3539a8e235","4aaaa437c7b26c9b2668da29c1674d5be3b8f8fa150f3d7dac75d67314be9f37","f945eeb4aa141ce1af78affc6547c979f97b1cbb7d8995d4762d006e3e35c667","13bce356dc26c750244fe75f160388f59a1725d33e401ae26dc084277dd9491e","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","8a561d8bcaf60594a95c3390a489824c6688e81802701260444fb47881950257","cbc6cad822896d9d97bda9a0cea0834be8999dbe2040758cd6da3948c24415b3","e6ee1dcd00ca1c765c95b0abb2114c2ead786ae7610c823df4cd8fffbcbede10","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","8b25e65927ea90be5da89799997c6f7e7dbcd826a954bd1a466a931d380a3511","af7d2a7f8f8a0d9bcce2a017b1a9f6ec85f57e9484a65f46b6cafe8fb079e9a3","9cb1f37abda1396ced2508edf3d111c99a94421553138edc06353c1c824b8cc8","68a8ceeea894c6d5989c89207e3ac1b33c2c2026ad4a9e8c3cff1d87ea67ec77","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","989b5f3bf15619484ef2327c0a108ad33191bfc2e3deb6347bf175e79fd02e51","2b51763cbd722ee2747bc9e860dd0cc0200cdfdf6735c5c2fd4f5e3e02f1ec86","b650f3fdfd9e86f82d906dfbd81b87ef7c7d7434ee1de923d7d6cf5647434a02","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","3e2b6603bed1f4a82bdad05b68a66cc5943f8e12c647bf2f45a06c9d72cc0e00","eabca6c007c20da02a0cbbf23f6de3c39e662a9adc1a92736968179d7c4cc569","625ea89b6b179966c652b7bb93b57e7c1c2343eb9aba6cfb3ddf801359cde65c","1a69659e9cd6e3785e995d1e748809aa708a76fda03988b7ead402534311c106","27e553ea7ffbcaef2be2af5a79fdbf83cfcda0f95bf17e3c378b33402a28c1d6","1c91d24b8452adecfa340f4eefa3752b546eb68441b01a6ec43aa39f182f2181","068a6c2f0554b945cbfb006187f4c9c27386684810189dfe026a9b30470d3984","dd22a6e590d7fbabb29b903a809141cb1426846d23c21164ff4223a7f9dcff1d","93cd3ba5193ea2029b2eb0b20b94ca9c4e6b9c2a696d7d1a05211a2916ca0d77","748553e51bfbef2b4c8e646275f687e60ea77665c514ee1f880bf5a3cd509f37","a4d09f9410ec90d4b07cd054e8e2f234feb27b66b106202b386ab0b157663358","3749f5690d24338ff4b878db8d0f1b47d04fe891634c88ca56f7166f944fb96b","939f5a5215d6be2165c6a4116f5abb433b84df00f3ac4e458f3cd732786e8431","5f92a8bc72a87fca63d413ed8f303a2df36fb8143f0e974d0844c7422318909c","2a0e1e0a89c6a3991cc04812d4c6fcf92fe7511de87a684bc60357438dddf399","4ddb790ba5f1fd3689213c0501dbf21a7285f2edf562a8f7d86654877a868fc9","b0b840a3379f3539d037cb5b602541d2ab6984462761e505a23793866dc7a0d7","7aed6616e78d880577a37fa5edd42b690354874f1001acdbf21ead2f803a36a0","73a7dc6d00925ef047bc915a54cab15bb242d549b9334d9b5151cc0f35cfaf77","0a1c74bccc0c5a1f22012144a3d9afc19951348540c7ff5e5feaf4eef6259b80","3a1d5de5adaede0fb1ca2045f8b10a0e86f480a1082a11829a0b48da8ad6157f","0a1057aef93b764fb9665d101f2a050f6e060c37ec5b88f2d27bb83412a3487e","6164b754612e5776cc934dc0d6494fe2ee084d39d1cbc6fe4a23a45326730ccc","47679a6b6411019e8f7a443ec3addbec38a79a7e4679c00bc73d3ccdb81d64ce","cac86b9dbfd00f0ac7731f4074d2c69260c88ea28de96a71b0cb4efb5779b869","65bd0d34233fcaab54f5463703a0f022b2db197ef24c4a1d3adda1a9d3d6d502","f5cd1b398a44c53407e4aa1e8b503d0664299f002313d31bbce221644aadc6cb","c2f032cbe6aa8d59f021ccd865990d4d55c11fd3a1b96b81c56903cf05e36f1f","aa20bc1ba435f2a49bd640992da9517e31896e8f6d1a4817800ac96d6f10d6ea","5621180d5cf6e50f53fd6c73e0a60cd4115353f919bdd193580746896167da63","9cc5c390465b87096b69b2b0612a341d974b658cd28447696583f2762226f8c3","08371984685828cedaa25037b76def8f8f7f8304910dc66627bb58a2f53ecea4","7dd1c6c1b927f9edb94773f9333666f52f7b0bdf49a9a7f63129e9e66d1222cf","174f99dc1948a64c4211702a0fcc45d684d05fdfba3100ba4485fe45adb4d7f3","19405c79422e9c2d9ae1affae558857d3cbd138b17db596c642d008cd6c485cb","6c2ba8fe0797b626104a2fd4e8de0dad6edc4b932e4a50a7b72afa09fdcddbe9","dabc6bfb18fc1f988d37c8b659eb07fd35e8269bfa099b6dc02c14093c2b8b1a","ec9dd267b792e7c5c3733a45a3d2e43b93f02b98d86d8be50e11f9c15940c02b","a8f278a697ab8646f88cb2ba9783814e5438637cdfc3c5278e8aca82b4a1fc44","239d9e77e0026e7375dc9b6122f1b62d2c39fc2e5c10f50787cd321880146b95","0f3ca52b0d50160be177f8c79efbbcd666726c2de9256d6335e0d0bcb2e40d6f","1d8820a067af2309ef4f7739d2ada59882eebb3b2b595ff78496760c6f51ba60","0afbe91142eb631d6f31be624cf8a550b03736bfd22b0f309405a6fe4d4c9517","a3c89483a38d76c77a13b69b268a9e5d13abcdf0957ca3f28c9702c47ce8050f","40ec7e761ea0ddfc0add7aedb95dacfc579b25010ed0e2190abc1d34bb67f81e",{"version":"8025c9a7f2b5dc888ec2b84e02f45dac405d071edf6506657caeea4bbebaa448","signature":"25d3593479d43d4b89648665fb0a876aaa648154a12886a6c9da1c3cf6bcee6b"},{"version":"b4dfee61d5b3b1fa83faf4c668e8ec25c754e3f73cc9088af8e220699837e788","signature":"6794b2f8af1a86a12d873edfe17826757b0f51df33e07e8bbeac9259462f4645"},{"version":"7267b7b75ba5ec5131804becf902b090c59aac4f8a8448c7c419b761b6c91625","signature":"a50c30a3b6e56b48ab06620b914fae4586647703e2998ca7886faf1b51abb512"},"28a098c8012a9efead318a8104cbdfa42b287f04f335c55aa68188de4e4d16c9",{"version":"0b0095b7a2d52ce774cbf478df47eac1b3d64b5a58ff11119bbcb10acec3f78f","signature":"68682268b77eaf4f85bbce0e795b2564aff36e57cf961dc101a0e0b57eda2918"},{"version":"5b577e94b0ce48960ed816209862d8a45b662e78250bf1dde594277790dfe8c4","signature":"a36f339951f6f7123ebcd4eec3355ae3b85da61b8a59bd2b9b8aa278fd6be835"},{"version":"bf09e7e123acc473024ce3a8dcd732108fcae59f25ecf3573d3f115ab9073d86","signature":"203e7ce63dace40b8e86f1e0c5d2ba5a99ffbb5e2996fb58d5188f64b58dc582"},{"version":"cbe55fad4dd27bd9d3c0ad6deb96a70dbaf32b2a4388e706d11ee508e654c4c0","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},{"version":"69ea20104923b196ebbf0ae37374ae1a572fdad17480e30403b107b765c67095","signature":"78fa342775f68d2c9160b5728b6642e66479372e62f5c5d08c399a4a95786243"},{"version":"c98b2f3a14dad97d0ff29c37cbf369c51a0198d64d944693e2c9c6248297e2e7","signature":"f6f5d902e2ef2f3904fac06f2223e72cb4f37786320a1ec087b06c934de48d7c"},{"version":"f0a930ce3e51cca077b139e56aeffad6b55a46ac3e0b1c27e5fb03997bc2f93f","signature":"123b52edb06a3999ebd740030b8943d808b60e3928eeb61f53fb54b34f02c92f"},{"version":"502f87a4b7aae4ccf565cdb590d3e3b65b2ff1bec58456aa3d695522c2a04f95","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","bc81aff061c53a7140270555f4b22da4ecfe8601e8027cf5aa175fbdc7927c31"],"options":{"declaration":true,"esModuleInterop":true,"module":1,"outDir":"./","removeComments":true,"skipLibCheck":true,"target":1},"fileIdsList":[[50,92,99,108,135],[50,92,99,108,125,135],[92,108,126,127,128,135,136],[50,92,99,106,108,135],[92,99,108,125,129,134],[92,99,108,135],[92,108,125,135],[92,108,130,131,132,133,135],[92,106],[50,92,99,106],[92,106,108,112,113,114,115,117,135,136,147,149,151],[92,150,152],[92,112,134,149],[92,106,112],[92,106,108,112,116,123,124],[92,106,107,108,109],[92,106,108,110],[92,106,108,112,124,135],[92,106,108,109,110,112,117,125,135,148],[92,99,106,107,108,110,112,124,135],[92,106,108,112,116,117,118,119,120,121,122,123,124,135],[92,99,106,108,109,124],[92,106,108,109,110,112,116,117,118,119,120,121,122,124],[92,106,108,112,119,124],[92,106,108,112,119,124,125,135],[92,106,108,118,124],[92,99,106,108,109,114,123,152],[92,106,108,121,124],[92,106,111],[50,92,99],[92,99],[92,139,140,141,142],[92],[92,111,137,138,143,144,145,146],[50,92,99,106,110],[92,99,106,114],[50,92,99,106,110,112],[50,92],[92,106,177],[92,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,180,181,184,185,186,187,188,189],[92,106,183],[92,194,195,196],[92,106,174,182],[92,174,177],[92,198,199,200],[92,106,174,177,182],[92,174,175,177],[92,99,175],[92,176,193,197,201,202,206,210,211,212,216,217],[92,203,204,205],[92,106,174,175],[92,207,208,209],[92,174,175],[92,213,214,215],[92,106,174,175,177],[92,190,191,192,218,249,251],[92,106,183,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240],[92,182,183,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248],[92,106,176,182],[92,106,182],[92,99,106,174,176],[92,175,177,250],[92,99,106,174],[50,65,67,92,99,105],[65,92,99],[46,92],[49,92],[50,55,83,92],[51,62,63,70,80,91,92],[51,52,62,70,92],[53,92],[54,55,63,71,92],[55,80,88,92],[56,58,62,70,92],[57,92],[58,59,92],[62,92],[60,62,92],[62,63,64,80,91,92],[62,63,64,77,80,83,92],[92,96],[58,65,70,80,91,92],[62,63,65,66,70,80,88,91,92],[65,67,80,88,91,92],[46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],[62,68,92],[69,91,92],[58,62,70,80,92],[71,92],[72,92],[49,73,92],[74,90,92,96],[75,92],[76,92],[62,77,78,92],[77,79,92,94],[50,62,80,81,82,83,92],[50,80,82,92],[80,81,92],[83,92],[84,92],[62,86,87,92],[86,87,92],[55,70,80,88,92],[89,92],[70,90,92],[50,65,76,91,92],[55,92],[80,92,93],[92,94],[92,95],[50,55,62,64,73,80,91,92,94,96],[80,92,97],[62,65,67,70,80,88,91,92,97,99],[92,254],[92,102,103],[65,92,99,101,104],[92,106,114,153,155,157,158],[92,106,152,153,155,157],[92,106,152,155,156,157,158,159,252,253,255,256,257,258,260],[92,106,152,153,155,156,157,158,159,252],[92,106,152,259],[92,106,152,153,155,156,157,158,159,252,256,260],[92,106,152,157],[92,106,114],[92,153,155,156,157,158,159,256,257,258,260,261,262,264,265],[92,106,152,153,156],[92,143,152,257],[92,106,114,153,154],[92,106,113,152],[106,114,157,158],[152],[106,152,156,157,159,256,257,258,260],[106,152,156,157,158,159],[106,152],[152,156,159,252,256,260],[106,152,157],[106,114],[153,155,156,157,158,159,256,257,258,260,261,262,264,265],[106,152,156],[106],[106,114,154]],"referencedMap":[[126,1],[127,2],[129,3],[136,4],[128,1],[135,5],[131,6],[132,7],[134,8],[130,6],[133,6],[115,9],[108,10],[152,11],[151,12],[150,13],[113,14],[117,15],[110,16],[109,17],[125,18],[149,19],[116,20],[148,21],[118,22],[123,23],[120,24],[121,25],[119,26],[124,27],[122,28],[112,29],[142,30],[141,31],[139,30],[143,32],[140,33],[145,33],[147,34],[138,35],[146,36],[111,37],[137,33],[144,9],[174,38],[160,9],[161,9],[162,9],[163,9],[164,9],[165,9],[166,9],[167,9],[168,9],[169,9],[170,9],[171,9],[172,9],[173,9],[178,39],[190,40],[179,9],[180,9],[181,9],[184,41],[185,9],[186,9],[187,9],[188,9],[189,9],[191,9],[192,33],[193,33],[194,9],[197,42],[195,43],[196,44],[198,39],[201,45],[199,46],[200,47],[176,48],[202,44],[218,49],[203,9],[206,50],[204,43],[205,51],[207,9],[210,52],[208,43],[209,44],[211,51],[212,53],[217,51],[213,9],[216,54],[214,43],[215,55],[252,56],[220,43],[221,43],[222,43],[219,9],[223,43],[224,43],[225,43],[246,43],[241,57],[226,43],[249,58],[227,43],[228,43],[229,43],[243,43],[230,43],[231,43],[244,43],[232,43],[242,33],[247,43],[248,43],[233,43],[234,43],[245,59],[235,43],[183,43],[236,43],[237,43],[238,43],[239,43],[182,33],[240,60],[177,61],[251,62],[175,61],[250,63],[106,64],[114,31],[268,65],[46,66],[47,66],[49,67],[50,68],[51,69],[52,70],[53,71],[54,72],[55,73],[56,74],[57,75],[58,76],[59,76],[61,77],[60,78],[62,77],[63,79],[64,80],[48,81],[98,33],[65,82],[66,83],[67,84],[99,85],[68,86],[69,87],[70,88],[71,89],[72,90],[73,91],[74,92],[75,93],[76,94],[77,95],[78,95],[79,96],[80,97],[82,98],[81,99],[83,100],[84,101],[85,33],[86,102],[87,103],[88,104],[89,105],[90,106],[91,107],[92,108],[93,109],[94,110],[95,111],[96,112],[97,113],[269,114],[254,33],[154,33],[255,115],[100,33],[107,33],[102,33],[104,116],[103,33],[101,33],[253,33],[105,117],[1,33],[9,33],[13,33],[12,33],[3,33],[14,33],[15,33],[16,33],[17,33],[18,33],[19,33],[20,33],[21,33],[4,33],[5,33],[25,33],[22,33],[23,33],[24,33],[26,33],[27,33],[28,33],[6,33],[29,33],[30,33],[31,33],[32,33],[7,33],[36,33],[33,33],[34,33],[35,33],[37,33],[8,33],[38,33],[43,33],[44,33],[39,33],[40,33],[41,33],[42,33],[2,33],[45,33],[11,33],[10,33],[159,118],[156,119],[261,120],[256,121],[259,33],[260,122],[262,123],[158,124],[263,33],[153,125],[257,33],[266,126],[267,33],[157,127],[265,9],[264,128],[155,129],[258,130]],"exportedModulesMap":[[126,1],[127,2],[129,3],[136,4],[128,1],[135,5],[131,6],[132,7],[134,8],[130,6],[133,6],[115,9],[108,10],[152,11],[151,12],[150,13],[113,14],[117,15],[110,16],[109,17],[125,18],[149,19],[116,20],[148,21],[118,22],[123,23],[120,24],[121,25],[119,26],[124,27],[122,28],[112,29],[142,30],[141,31],[139,30],[143,32],[140,33],[145,33],[147,34],[138,35],[146,36],[111,37],[137,33],[144,9],[174,38],[160,9],[161,9],[162,9],[163,9],[164,9],[165,9],[166,9],[167,9],[168,9],[169,9],[170,9],[171,9],[172,9],[173,9],[178,39],[190,40],[179,9],[180,9],[181,9],[184,41],[185,9],[186,9],[187,9],[188,9],[189,9],[191,9],[192,33],[193,33],[194,9],[197,42],[195,43],[196,44],[198,39],[201,45],[199,46],[200,47],[176,48],[202,44],[218,49],[203,9],[206,50],[204,43],[205,51],[207,9],[210,52],[208,43],[209,44],[211,51],[212,53],[217,51],[213,9],[216,54],[214,43],[215,55],[252,56],[220,43],[221,43],[222,43],[219,9],[223,43],[224,43],[225,43],[246,43],[241,57],[226,43],[249,58],[227,43],[228,43],[229,43],[243,43],[230,43],[231,43],[244,43],[232,43],[242,33],[247,43],[248,43],[233,43],[234,43],[245,59],[235,43],[183,43],[236,43],[237,43],[238,43],[239,43],[182,33],[240,60],[177,61],[251,62],[175,61],[250,63],[106,64],[114,31],[268,65],[46,66],[47,66],[49,67],[50,68],[51,69],[52,70],[53,71],[54,72],[55,73],[56,74],[57,75],[58,76],[59,76],[61,77],[60,78],[62,77],[63,79],[64,80],[48,81],[98,33],[65,82],[66,83],[67,84],[99,85],[68,86],[69,87],[70,88],[71,89],[72,90],[73,91],[74,92],[75,93],[76,94],[77,95],[78,95],[79,96],[80,97],[82,98],[81,99],[83,100],[84,101],[85,33],[86,102],[87,103],[88,104],[89,105],[90,106],[91,107],[92,108],[93,109],[94,110],[95,111],[96,112],[97,113],[269,114],[254,33],[154,33],[255,115],[100,33],[107,33],[102,33],[104,116],[103,33],[101,33],[253,33],[105,117],[1,33],[9,33],[13,33],[12,33],[3,33],[14,33],[15,33],[16,33],[17,33],[18,33],[19,33],[20,33],[21,33],[4,33],[5,33],[25,33],[22,33],[23,33],[24,33],[26,33],[27,33],[28,33],[6,33],[29,33],[30,33],[31,33],[32,33],[7,33],[36,33],[33,33],[34,33],[35,33],[37,33],[8,33],[38,33],[43,33],[44,33],[39,33],[40,33],[41,33],[42,33],[2,33],[45,33],[11,33],[10,33],[159,131],[156,132],[261,133],[256,134],[259,33],[260,135],[262,136],[158,137],[153,138],[266,139],[157,140],[265,141],[264,132],[155,142],[258,135]],"semanticDiagnosticsPerFile":[126,127,129,136,128,135,131,132,134,130,133,115,108,152,151,150,113,117,110,109,125,149,116,148,118,123,120,121,119,124,122,112,142,141,139,143,140,145,147,138,146,111,137,144,174,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,190,179,180,181,184,185,186,187,188,189,191,192,193,194,197,195,196,198,201,199,200,176,202,218,203,206,204,205,207,210,208,209,211,212,217,213,216,214,215,252,220,221,222,219,223,224,225,246,241,226,249,227,228,229,243,230,231,244,232,242,247,248,233,234,245,235,183,236,237,238,239,182,240,177,251,175,250,106,114,268,46,47,49,50,51,52,53,54,55,56,57,58,59,61,60,62,63,64,48,98,65,66,67,99,68,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,269,254,154,255,100,107,102,104,103,101,253,105,1,9,13,12,3,14,15,16,17,18,19,20,21,4,5,25,22,23,24,26,27,28,6,29,30,31,32,7,36,33,34,35,37,8,38,43,44,39,40,41,42,2,45,11,10,159,156,261,256,259,260,262,158,263,153,257,266,267,157,265,264,155,258]},"version":"4.9.5"}
@@ -1,7 +1,9 @@
1
1
  import BN from "bn.js";
2
2
  import { Connection, PublicKey } from "@solana/web3.js";
3
+ import BigNumber from 'bignumber.js';
3
4
  export declare const getUnixTs: () => number;
4
- export declare function toUiDecimals(nativeAmount: BN | number | string, decimals: number, precision?: number, commaSeperated?: boolean): string;
5
+ export declare function toUiDecimalsOldSDK(nativeAmount: BN | number | string, decimals: number, precision?: number, commaSeperated?: boolean): string;
6
+ export declare function toUiDecimals(nativeAmount: BN | number | string | BigNumber, decimals: number, precision?: number, commaSeperated?: boolean): string;
5
7
  export declare function checkIfAccountExists(account: PublicKey, connection: Connection): Promise<boolean>;
6
8
  export declare const scaleToExponent: (arg: BN, exponent: BN, target_exponent: BN) => BN;
7
9
  export declare const checkedCeilDiv: (arg1: BN, arg2: BN) => BN;
@@ -39,41 +39,45 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
39
39
  return (mod && mod.__esModule) ? mod : { "default": mod };
40
40
  };
41
41
  Object.defineProperty(exports, "__esModule", { value: true });
42
- exports.checkedDecimalDiv = exports.checkedDecimalMul = exports.checkedDecimalCeilMul = exports.checkedCeilDiv = exports.scaleToExponent = exports.checkIfAccountExists = exports.toUiDecimals = exports.getUnixTs = void 0;
42
+ exports.checkedDecimalDiv = exports.checkedDecimalMul = exports.checkedDecimalCeilMul = exports.checkedCeilDiv = exports.scaleToExponent = exports.checkIfAccountExists = exports.toUiDecimals = exports.toUiDecimalsOldSDK = exports.getUnixTs = void 0;
43
43
  var bn_js_1 = __importDefault(require("bn.js"));
44
44
  var constants_1 = require("../constants");
45
+ var bignumber_js_1 = __importDefault(require("bignumber.js"));
45
46
  var getUnixTs = function () {
46
47
  return new Date().getTime() / 1000;
47
48
  };
48
49
  exports.getUnixTs = getUnixTs;
49
- function toUiDecimals(nativeAmount, decimals, precision, commaSeperated) {
50
+ function toUiDecimalsOldSDK(nativeAmount, decimals, precision, commaSeperated) {
50
51
  if (precision === void 0) { precision = 3; }
51
52
  if (commaSeperated === void 0) { commaSeperated = false; }
52
53
  if (precision > decimals) {
53
- throw "not allowed precision> decimals";
54
+ throw 'not allowed precision> decimals';
54
55
  }
55
56
  var r = '';
56
57
  if (nativeAmount instanceof bn_js_1.default) {
57
58
  var nativeAmountString = nativeAmount.toString();
58
- var d = nativeAmountString.slice((decimals) * -1);
59
+ var d = nativeAmountString.slice(decimals * -1);
59
60
  var p = d.slice(0, precision);
60
61
  var nativeAmountWithoutDecimalsStr = nativeAmount.div(new bn_js_1.default(Math.pow(10, decimals))).toString();
61
- r = nativeAmountWithoutDecimalsStr + "." + p;
62
+ r = nativeAmountWithoutDecimalsStr + '.' + p;
62
63
  }
63
- else if (typeof nativeAmount === "string") {
64
+ else if (typeof nativeAmount === 'string') {
64
65
  if (isNaN(Number(nativeAmount))) {
65
- throw "String No valid ";
66
+ throw 'String No valid ';
67
+ }
68
+ if (nativeAmount.length < decimals) {
69
+ nativeAmount = nativeAmount.padStart(decimals, '0');
66
70
  }
67
- var d = nativeAmount.slice((decimals) * -1);
71
+ var d = nativeAmount.slice(decimals * -1);
68
72
  var p = d.slice(0, precision);
69
- var nativeAmountWithoutDecimalsStr = (new bn_js_1.default(nativeAmount)).div(new bn_js_1.default(Math.pow(10, decimals))).toString();
70
- r = nativeAmountWithoutDecimalsStr + "." + p;
73
+ var nativeAmountWithoutDecimalsStr = new bn_js_1.default(nativeAmount).div(new bn_js_1.default(Math.pow(10, decimals))).toString();
74
+ r = nativeAmountWithoutDecimalsStr + '.' + p;
71
75
  }
72
- else if (typeof nativeAmount === "number") {
73
- var d = nativeAmount.toString().slice((decimals) * -1);
76
+ else if (typeof nativeAmount === 'number') {
77
+ var d = nativeAmount.toString().slice(decimals * -1);
74
78
  var p = d.slice(0, precision);
75
- var nativeAmountWithoutDecimalsStr = (new bn_js_1.default(nativeAmount)).div(new bn_js_1.default(Math.pow(10, decimals))).toString();
76
- r = nativeAmountWithoutDecimalsStr + "." + p;
79
+ var nativeAmountWithoutDecimalsStr = new bn_js_1.default(nativeAmount).div(new bn_js_1.default(Math.pow(10, decimals))).toString();
80
+ r = nativeAmountWithoutDecimalsStr + '.' + p;
77
81
  }
78
82
  else {
79
83
  return 'type unknown';
@@ -85,6 +89,33 @@ function toUiDecimals(nativeAmount, decimals, precision, commaSeperated) {
85
89
  return r;
86
90
  }
87
91
  }
92
+ exports.toUiDecimalsOldSDK = toUiDecimalsOldSDK;
93
+ function toUiDecimals(nativeAmount, decimals, precision, commaSeperated) {
94
+ if (precision === void 0) { precision = 3; }
95
+ if (commaSeperated === void 0) { commaSeperated = false; }
96
+ if (nativeAmount instanceof bignumber_js_1.default) {
97
+ }
98
+ else if (nativeAmount instanceof bn_js_1.default) {
99
+ console.log("BN type");
100
+ }
101
+ else if (typeof nativeAmount === 'string') {
102
+ if (isNaN(Number(nativeAmount))) {
103
+ throw 'toUiDecimals error: String Not valid ';
104
+ }
105
+ }
106
+ else if (typeof nativeAmount === 'number') {
107
+ }
108
+ else {
109
+ }
110
+ var denominator = (new bignumber_js_1.default(10)).pow(decimals);
111
+ var r = (new bignumber_js_1.default(nativeAmount.toString())).div(denominator).toFixed(precision, bignumber_js_1.default.ROUND_DOWN);
112
+ if (commaSeperated) {
113
+ return Number(r).toLocaleString();
114
+ }
115
+ else {
116
+ return r;
117
+ }
118
+ }
88
119
  exports.toUiDecimals = toUiDecimals;
89
120
  function checkIfAccountExists(account, connection) {
90
121
  return __awaiter(this, void 0, void 0, function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flash-sdk",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -24,6 +24,7 @@
24
24
  "@solana/spl-token": "^0.3.6",
25
25
  "@solana/web3.js": "^1.70.1",
26
26
  "@types/node": "^20.0.0",
27
+ "bignumber.js": "^9.1.2",
27
28
  "bs58": "^5.0.0",
28
29
  "fs": "^0.0.1-security",
29
30
  "js-sha256": "^0.9.0",