flash-sdk 9.0.2-alpha.9 → 9.0.3-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { ContractOraclePrice } from "./types";
3
4
  export declare class OraclePrice {
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { LimitOrder, Order, TriggerOrder } from "./types";
@@ -1,3 +1,5 @@
1
+ /// <reference types="bn.js" />
2
+ /// <reference types="node" />
1
3
  import { Program, AnchorProvider, BN } from "@coral-xyz/anchor";
2
4
  import { PublicKey, TransactionInstruction, Commitment, Signer, AddressLookupTableAccount, VersionedTransaction } from "@solana/web3.js";
3
5
  import { PoolAccount } from "./PoolAccount";
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  });
21
21
  };
22
22
  var __generator = (this && this.__generator) || function (thisArg, body) {
23
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
24
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
25
  function verb(n) { return function (v) { return step([n, v]); }; }
26
26
  function step(op) {
27
27
  if (f) throw new TypeError("Generator is already executing.");
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { Pool, TokenRatios, StakeStats, CompoundingStats, Permissions } from "./types";
3
4
  import { PublicKey } from "@solana/web3.js";
@@ -122,6 +122,32 @@
122
122
  "pythTicker": "Crypto.JITOSOL/USD",
123
123
  "pythPriceId": "0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb",
124
124
  "isToken2022": false
125
+ },
126
+ {
127
+ "symbol": "ZEC",
128
+ "mintKey": "zecrXUjqA7bZdozZkqbh3wgrVGdwCd4jHRBg8Gd8Vrf",
129
+ "decimals": 8,
130
+ "usdPrecision": 4,
131
+ "tokenPrecision": 4,
132
+ "isStable": false,
133
+ "isVirtual": true,
134
+ "lazerId": 66,
135
+ "pythTicker": "Crypto.ZEC/USD",
136
+ "pythPriceId": "0xbe9b59d178f0d6a97ab4c343bff2aa69caa1eaae3e9048a65788c529b125bb24",
137
+ "isToken2022": false
138
+ },
139
+ {
140
+ "symbol": "BNB",
141
+ "mintKey": "bnbm27QuZCjY3pBqBoQF3x7cRGuvvMFQ54iaCbeT4pw",
142
+ "decimals": 6,
143
+ "usdPrecision": 4,
144
+ "tokenPrecision": 4,
145
+ "isStable": false,
146
+ "isVirtual": true,
147
+ "lazerId": 15,
148
+ "pythTicker": "Crypto.BNB/USD",
149
+ "pythPriceId": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f",
150
+ "isToken2022": false
125
151
  }
126
152
  ],
127
153
  "custodies": [
@@ -209,6 +235,40 @@
209
235
  "lazerId": 458,
210
236
  "pythTicker": "Crypto.JITOSOL/USD",
211
237
  "pythPriceId": "0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb"
238
+ },
239
+ {
240
+ "custodyId": 6,
241
+ "custodyAccount": "9UGk7k6x9qBiegCNKtCvvVnc3PcAv3VxnEnuFLHbXkzE",
242
+ "tokenAccount": "2Gfmf3YSGmhu34qmeaTTrULGN4UD9dbcubSyNw9ef56s",
243
+ "symbol": "ZEC",
244
+ "mintKey": "zecrXUjqA7bZdozZkqbh3wgrVGdwCd4jHRBg8Gd8Vrf",
245
+ "decimals": 8,
246
+ "usdPrecision": 4,
247
+ "tokenPrecision": 4,
248
+ "isStable": false,
249
+ "isVirtual": true,
250
+ "intOracleAddress": "78s4o5YXUA73gDG557MNNeJyoQoUxms8SdTBbVZ6j2Q2",
251
+ "extOracleAddress": "HzdKMXqocYWqy7mh8AKDoZFJinjeGMfBKmGAxGbasc28",
252
+ "lazerId": 66,
253
+ "pythTicker": "Crypto.ZEC/USD",
254
+ "pythPriceId": "0xbe9b59d178f0d6a97ab4c343bff2aa69caa1eaae3e9048a65788c529b125bb24"
255
+ },
256
+ {
257
+ "custodyId": 7,
258
+ "custodyAccount": "GZv7xHNPj6UpJyqEjAARbyTw7MVhX4NwUQqJJ4PZTPRb",
259
+ "tokenAccount": "4JRkS4rm9YAUicSq8mS8S31R868EATb4kru62jcnb5LR",
260
+ "symbol": "BNB",
261
+ "mintKey": "bnbm27QuZCjY3pBqBoQF3x7cRGuvvMFQ54iaCbeT4pw",
262
+ "decimals": 6,
263
+ "usdPrecision": 4,
264
+ "tokenPrecision": 4,
265
+ "isStable": false,
266
+ "isVirtual": true,
267
+ "intOracleAddress": "235sRJB182PH1hKUuArgv1u3UhX9eG6KbLTvJT6hPgZ6",
268
+ "extOracleAddress": "A3qp5QG9xGeJR1gexbW9b9eMMsMDLzx3rhud9SnNhwb4",
269
+ "lazerId": 15,
270
+ "pythTicker": "Crypto.BNB/USD",
271
+ "pythPriceId": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f"
212
272
  }
213
273
  ],
214
274
  "markets": [
@@ -323,6 +383,70 @@
323
383
  "collateralCustodyId": 4,
324
384
  "targetMint": "So11111111111111111111111111111111111111112",
325
385
  "collateralMint": "jtoSPya9XS5ESevDF1wTVsaJTGXG2Zi7PoNhZuNsaEg"
386
+ },
387
+ {
388
+ "marketId": 7,
389
+ "marketAccount": "5awifMKx3S2EHpPSA2yLiNE8VgR8kweNbNJsL43xE1Uy",
390
+ "marketCorrelation": false,
391
+ "pool": "9VN3TRG2GW1ugaPwkVzBC1tGQ1vatUvXTQ8dWrxNbCWA",
392
+ "targetCustody": "9UGk7k6x9qBiegCNKtCvvVnc3PcAv3VxnEnuFLHbXkzE",
393
+ "collateralCustody": "9BJ1J3GwvswPNMNsSoxkLrhePW4zUDaKRSuaoJGjRFe5",
394
+ "side": "long",
395
+ "maxLev": 50,
396
+ "degenMinLev": 50,
397
+ "degenMaxLev": 50,
398
+ "targetCustodyId": 6,
399
+ "collateralCustodyId": 0,
400
+ "targetMint": "zecrXUjqA7bZdozZkqbh3wgrVGdwCd4jHRBg8Gd8Vrf",
401
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
402
+ },
403
+ {
404
+ "marketId": 8,
405
+ "marketAccount": "4kceR5EhDVNJAdKMxdyCiPxeny7XRmVthMJzr3gQiizN",
406
+ "marketCorrelation": false,
407
+ "pool": "9VN3TRG2GW1ugaPwkVzBC1tGQ1vatUvXTQ8dWrxNbCWA",
408
+ "targetCustody": "9UGk7k6x9qBiegCNKtCvvVnc3PcAv3VxnEnuFLHbXkzE",
409
+ "collateralCustody": "9BJ1J3GwvswPNMNsSoxkLrhePW4zUDaKRSuaoJGjRFe5",
410
+ "side": "short",
411
+ "maxLev": 50,
412
+ "degenMinLev": 50,
413
+ "degenMaxLev": 50,
414
+ "targetCustodyId": 6,
415
+ "collateralCustodyId": 0,
416
+ "targetMint": "zecrXUjqA7bZdozZkqbh3wgrVGdwCd4jHRBg8Gd8Vrf",
417
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
418
+ },
419
+ {
420
+ "marketId": 9,
421
+ "marketAccount": "5awifMKx3S2EHpPSA2yLiNE8VgR8kweNbNJsL43xE1Uy",
422
+ "marketCorrelation": false,
423
+ "pool": "9VN3TRG2GW1ugaPwkVzBC1tGQ1vatUvXTQ8dWrxNbCWA",
424
+ "targetCustody": "GZv7xHNPj6UpJyqEjAARbyTw7MVhX4NwUQqJJ4PZTPRb",
425
+ "collateralCustody": "qzdThEq9JCXnt3trEn73k9yCzP8o8RfCx8iSMArwYeU",
426
+ "side": "long",
427
+ "maxLev": 50,
428
+ "degenMinLev": 50,
429
+ "degenMaxLev": 50,
430
+ "targetCustodyId": 7,
431
+ "collateralCustodyId": 2,
432
+ "targetMint": "bnbm27QuZCjY3pBqBoQF3x7cRGuvvMFQ54iaCbeT4pw",
433
+ "collateralMint": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP"
434
+ },
435
+ {
436
+ "marketId": 10,
437
+ "marketAccount": "4kceR5EhDVNJAdKMxdyCiPxeny7XRmVthMJzr3gQiizN",
438
+ "marketCorrelation": false,
439
+ "pool": "9VN3TRG2GW1ugaPwkVzBC1tGQ1vatUvXTQ8dWrxNbCWA",
440
+ "targetCustody": "GZv7xHNPj6UpJyqEjAARbyTw7MVhX4NwUQqJJ4PZTPRb",
441
+ "collateralCustody": "9BJ1J3GwvswPNMNsSoxkLrhePW4zUDaKRSuaoJGjRFe5",
442
+ "side": "short",
443
+ "maxLev": 50,
444
+ "degenMinLev": 50,
445
+ "degenMaxLev": 50,
446
+ "targetCustodyId": 7,
447
+ "collateralCustodyId": 0,
448
+ "targetMint": "bnbm27QuZCjY3pBqBoQF3x7cRGuvvMFQ54iaCbeT4pw",
449
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
326
450
  }
327
451
  ]
328
452
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { Mint } from "@solana/spl-token";
3
4
  import { CustodyAccount } from "./CustodyAccount";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { ContractOraclePrice, Position } from "./types";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { TokenStake, WithdrawStakeLog } from "./types";
2
3
  import { BN } from "@coral-xyz/anchor";
3
4
  import { PublicKey } from "@solana/web3.js";
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { BN } from "@coral-xyz/anchor";
2
3
  import { PublicKey } from "@solana/web3.js";
3
4
  import { TokenVault } from "./types";
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
@@ -40,8 +40,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
40
40
  };
41
41
  var _a;
42
42
  Object.defineProperty(exports, "__esModule", { value: true });
43
- exports.getBackupOracleInstruction = exports.getPythnetOraclePrices = exports.pythPriceServiceConnection = void 0;
44
- exports.createBackupOracleInstruction = createBackupOracleInstruction;
43
+ exports.createBackupOracleInstruction = exports.getBackupOracleInstruction = exports.getPythnetOraclePrices = exports.pythPriceServiceConnection = void 0;
45
44
  var price_service_client_1 = require("@pythnetwork/price-service-client");
46
45
  var web3_js_1 = require("@solana/web3.js");
47
46
  var bn_js_1 = __importDefault(require("bn.js"));
@@ -157,3 +156,4 @@ function createBackupOracleInstruction(poolAddress_1) {
157
156
  });
158
157
  });
159
158
  }
159
+ exports.createBackupOracleInstruction = createBackupOracleInstruction;
@@ -1,3 +1,4 @@
1
+ /// <reference types="bn.js" />
1
2
  import { PublicKey } from '@solana/web3.js';
2
3
  export declare const PERCENTAGE_DECIMALS = 4;
3
4
  export declare const USD_DECIMALS = 6;
@@ -11279,7 +11279,7 @@ export type Perpetuals = {
11279
11279
  "index": false;
11280
11280
  },
11281
11281
  {
11282
- "name": "tradeTimestamp";
11282
+ "name": "tradeId";
11283
11283
  "type": "i64";
11284
11284
  "index": false;
11285
11285
  },
@@ -11759,7 +11759,7 @@ export type Perpetuals = {
11759
11759
  "index": false;
11760
11760
  },
11761
11761
  {
11762
- "name": "tradeTimestamp";
11762
+ "name": "tradeId";
11763
11763
  "type": "i64";
11764
11764
  "index": false;
11765
11765
  },
@@ -12104,7 +12104,7 @@ export type Perpetuals = {
12104
12104
  "index": false;
12105
12105
  },
12106
12106
  {
12107
- "name": "tradeTimestamp";
12107
+ "name": "tradeId";
12108
12108
  "type": "i64";
12109
12109
  "index": false;
12110
12110
  },
@@ -12654,7 +12654,7 @@ export type Perpetuals = {
12654
12654
  "index": false;
12655
12655
  },
12656
12656
  {
12657
- "name": "tradeTimestamp";
12657
+ "name": "tradeId";
12658
12658
  "type": "i64";
12659
12659
  "index": false;
12660
12660
  },
@@ -13324,7 +13324,7 @@ export type Perpetuals = {
13324
13324
  "index": false;
13325
13325
  },
13326
13326
  {
13327
- "name": "tradeTimestamp";
13327
+ "name": "tradeId";
13328
13328
  "type": "i64";
13329
13329
  "index": false;
13330
13330
  },
@@ -13689,7 +13689,7 @@ export type Perpetuals = {
13689
13689
  "index": false;
13690
13690
  },
13691
13691
  {
13692
- "name": "tradeTimestamp";
13692
+ "name": "tradeId";
13693
13693
  "type": "i64";
13694
13694
  "index": false;
13695
13695
  },
@@ -13939,7 +13939,7 @@ export type Perpetuals = {
13939
13939
  "index": false;
13940
13940
  },
13941
13941
  {
13942
- "name": "tradeTimestamp";
13942
+ "name": "tradeId";
13943
13943
  "type": "i64";
13944
13944
  "index": false;
13945
13945
  },
@@ -14239,7 +14239,7 @@ export type Perpetuals = {
14239
14239
  "index": false;
14240
14240
  },
14241
14241
  {
14242
- "name": "tradeTimestamp";
14242
+ "name": "tradeId";
14243
14243
  "type": "i64";
14244
14244
  "index": false;
14245
14245
  },
@@ -14669,7 +14669,7 @@ export type Perpetuals = {
14669
14669
  "index": false;
14670
14670
  },
14671
14671
  {
14672
- "name": "tradeTimestamp";
14672
+ "name": "tradeId";
14673
14673
  "type": "i64";
14674
14674
  "index": false;
14675
14675
  },
@@ -14974,7 +14974,7 @@ export type Perpetuals = {
14974
14974
  "index": false;
14975
14975
  },
14976
14976
  {
14977
- "name": "tradeTimestamp";
14977
+ "name": "tradeId";
14978
14978
  "type": "i64";
14979
14979
  "index": false;
14980
14980
  },
@@ -15489,7 +15489,7 @@ export type Perpetuals = {
15489
15489
  "index": false;
15490
15490
  },
15491
15491
  {
15492
- "name": "tradeTimestamp";
15492
+ "name": "tradeId";
15493
15493
  "type": "i64";
15494
15494
  "index": false;
15495
15495
  },
@@ -15504,7 +15504,7 @@ export type Perpetuals = {
15504
15504
  "index": false;
15505
15505
  },
15506
15506
  {
15507
- "name": "collateralAmount";
15507
+ "name": "inputAmount";
15508
15508
  "type": "u64";
15509
15509
  "index": false;
15510
15510
  },
@@ -15879,7 +15879,7 @@ export type Perpetuals = {
15879
15879
  "index": false;
15880
15880
  },
15881
15881
  {
15882
- "name": "tradeTimestamp";
15882
+ "name": "tradeId";
15883
15883
  "type": "i64";
15884
15884
  "index": false;
15885
15885
  },
@@ -16094,7 +16094,7 @@ export type Perpetuals = {
16094
16094
  "index": false;
16095
16095
  },
16096
16096
  {
16097
- "name": "tradeTimestamp";
16097
+ "name": "tradeId";
16098
16098
  "type": "i64";
16099
16099
  "index": false;
16100
16100
  },
@@ -16464,7 +16464,7 @@ export type Perpetuals = {
16464
16464
  "index": false;
16465
16465
  },
16466
16466
  {
16467
- "name": "tradeTimestamp";
16467
+ "name": "tradeId";
16468
16468
  "type": "i64";
16469
16469
  "index": false;
16470
16470
  },
@@ -16894,7 +16894,7 @@ export type Perpetuals = {
16894
16894
  "index": false;
16895
16895
  },
16896
16896
  {
16897
- "name": "tradeTimestamp";
16897
+ "name": "tradeId";
16898
16898
  "type": "i64";
16899
16899
  "index": false;
16900
16900
  },
@@ -11282,7 +11282,7 @@ exports.IDL = {
11282
11282
  "index": false
11283
11283
  },
11284
11284
  {
11285
- "name": "tradeTimestamp",
11285
+ "name": "tradeId",
11286
11286
  "type": "i64",
11287
11287
  "index": false
11288
11288
  },
@@ -11762,7 +11762,7 @@ exports.IDL = {
11762
11762
  "index": false
11763
11763
  },
11764
11764
  {
11765
- "name": "tradeTimestamp",
11765
+ "name": "tradeId",
11766
11766
  "type": "i64",
11767
11767
  "index": false
11768
11768
  },
@@ -12107,7 +12107,7 @@ exports.IDL = {
12107
12107
  "index": false
12108
12108
  },
12109
12109
  {
12110
- "name": "tradeTimestamp",
12110
+ "name": "tradeId",
12111
12111
  "type": "i64",
12112
12112
  "index": false
12113
12113
  },
@@ -12657,7 +12657,7 @@ exports.IDL = {
12657
12657
  "index": false
12658
12658
  },
12659
12659
  {
12660
- "name": "tradeTimestamp",
12660
+ "name": "tradeId",
12661
12661
  "type": "i64",
12662
12662
  "index": false
12663
12663
  },
@@ -13327,7 +13327,7 @@ exports.IDL = {
13327
13327
  "index": false
13328
13328
  },
13329
13329
  {
13330
- "name": "tradeTimestamp",
13330
+ "name": "tradeId",
13331
13331
  "type": "i64",
13332
13332
  "index": false
13333
13333
  },
@@ -13692,7 +13692,7 @@ exports.IDL = {
13692
13692
  "index": false
13693
13693
  },
13694
13694
  {
13695
- "name": "tradeTimestamp",
13695
+ "name": "tradeId",
13696
13696
  "type": "i64",
13697
13697
  "index": false
13698
13698
  },
@@ -13942,7 +13942,7 @@ exports.IDL = {
13942
13942
  "index": false
13943
13943
  },
13944
13944
  {
13945
- "name": "tradeTimestamp",
13945
+ "name": "tradeId",
13946
13946
  "type": "i64",
13947
13947
  "index": false
13948
13948
  },
@@ -14242,7 +14242,7 @@ exports.IDL = {
14242
14242
  "index": false
14243
14243
  },
14244
14244
  {
14245
- "name": "tradeTimestamp",
14245
+ "name": "tradeId",
14246
14246
  "type": "i64",
14247
14247
  "index": false
14248
14248
  },
@@ -14672,7 +14672,7 @@ exports.IDL = {
14672
14672
  "index": false
14673
14673
  },
14674
14674
  {
14675
- "name": "tradeTimestamp",
14675
+ "name": "tradeId",
14676
14676
  "type": "i64",
14677
14677
  "index": false
14678
14678
  },
@@ -14977,7 +14977,7 @@ exports.IDL = {
14977
14977
  "index": false
14978
14978
  },
14979
14979
  {
14980
- "name": "tradeTimestamp",
14980
+ "name": "tradeId",
14981
14981
  "type": "i64",
14982
14982
  "index": false
14983
14983
  },
@@ -15492,7 +15492,7 @@ exports.IDL = {
15492
15492
  "index": false
15493
15493
  },
15494
15494
  {
15495
- "name": "tradeTimestamp",
15495
+ "name": "tradeId",
15496
15496
  "type": "i64",
15497
15497
  "index": false
15498
15498
  },
@@ -15507,7 +15507,7 @@ exports.IDL = {
15507
15507
  "index": false
15508
15508
  },
15509
15509
  {
15510
- "name": "collateralAmount",
15510
+ "name": "inputAmount",
15511
15511
  "type": "u64",
15512
15512
  "index": false
15513
15513
  },
@@ -15882,7 +15882,7 @@ exports.IDL = {
15882
15882
  "index": false
15883
15883
  },
15884
15884
  {
15885
- "name": "tradeTimestamp",
15885
+ "name": "tradeId",
15886
15886
  "type": "i64",
15887
15887
  "index": false
15888
15888
  },
@@ -16097,7 +16097,7 @@ exports.IDL = {
16097
16097
  "index": false
16098
16098
  },
16099
16099
  {
16100
- "name": "tradeTimestamp",
16100
+ "name": "tradeId",
16101
16101
  "type": "i64",
16102
16102
  "index": false
16103
16103
  },
@@ -16467,7 +16467,7 @@ exports.IDL = {
16467
16467
  "index": false
16468
16468
  },
16469
16469
  {
16470
- "name": "tradeTimestamp",
16470
+ "name": "tradeId",
16471
16471
  "type": "i64",
16472
16472
  "index": false
16473
16473
  },
@@ -16897,7 +16897,7 @@ exports.IDL = {
16897
16897
  "index": false
16898
16898
  },
16899
16899
  {
16900
- "name": "tradeTimestamp",
16900
+ "name": "tradeId",
16901
16901
  "type": "i64",
16902
16902
  "index": false
16903
16903
  },