flash-sdk 1.0.129 → 1.0.131

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ exports.PoolConfig = void 0;
18
18
  var web3_js_1 = require("@solana/web3.js");
19
19
  var PoolConfig_json_1 = __importDefault(require("./PoolConfig.json"));
20
20
  var PoolConfig = (function () {
21
- function PoolConfig(programId, cluster, poolName, poolAddress, lpTokenMint, lpDecimals, perpetuals, transferAuthority, multisig, addressLookupTableAddresses, backupOracle, tokens, custodies) {
21
+ function PoolConfig(programId, cluster, poolName, poolAddress, lpTokenMint, lpDecimals, lpTokenSymbol, perpetuals, transferAuthority, multisig, addressLookupTableAddresses, backupOracle, tokens, custodies) {
22
22
  var _this = this;
23
23
  this.programId = programId;
24
24
  this.cluster = cluster;
@@ -26,6 +26,7 @@ var PoolConfig = (function () {
26
26
  this.poolAddress = poolAddress;
27
27
  this.lpTokenMint = lpTokenMint;
28
28
  this.lpDecimals = lpDecimals;
29
+ this.lpTokenSymbol = lpTokenSymbol;
29
30
  this.perpetuals = perpetuals;
30
31
  this.transferAuthority = transferAuthority;
31
32
  this.multisig = multisig;
@@ -91,7 +92,7 @@ var PoolConfig = (function () {
91
92
  var addressLookupTableAddresses = poolConfig['addressLookupTableAddresses'].map(function (i) {
92
93
  return new web3_js_1.PublicKey(i);
93
94
  });
94
- return new PoolConfig(new web3_js_1.PublicKey(poolConfig.programId), poolConfig.cluster, poolConfig.poolName, new web3_js_1.PublicKey(poolConfig.poolAddress), new web3_js_1.PublicKey(poolConfig.lpTokenMint), poolConfig.lpDecimals, new web3_js_1.PublicKey(poolConfig.perpetuals), new web3_js_1.PublicKey(poolConfig.transferAuthority), new web3_js_1.PublicKey(poolConfig.multisig), addressLookupTableAddresses, new web3_js_1.PublicKey(poolConfig.backupOracle), tokens, custodies);
95
+ return new PoolConfig(new web3_js_1.PublicKey(poolConfig.programId), poolConfig.cluster, poolConfig.poolName, new web3_js_1.PublicKey(poolConfig.poolAddress), new web3_js_1.PublicKey(poolConfig.lpTokenMint), poolConfig.lpDecimals, poolConfig.lpTokenSymbol, new web3_js_1.PublicKey(poolConfig.perpetuals), new web3_js_1.PublicKey(poolConfig.transferAuthority), new web3_js_1.PublicKey(poolConfig.multisig), addressLookupTableAddresses, new web3_js_1.PublicKey(poolConfig.backupOracle), tokens, custodies);
95
96
  };
96
97
  PoolConfig.fromIdsByPk = function (poolPk, cluster) {
97
98
  var poolConfig = PoolConfig_json_1.default.pools.find(function (pool) { return pool['poolAddress'] === poolPk.toString() && cluster === pool['cluster']; });
@@ -106,7 +107,7 @@ var PoolConfig = (function () {
106
107
  var addressLookupTableAddresses = poolConfig['addressLookupTableAddresses'].map(function (i) {
107
108
  return new web3_js_1.PublicKey(i);
108
109
  });
109
- return new PoolConfig(new web3_js_1.PublicKey(poolConfig.programId), poolConfig.cluster, poolConfig.poolName, new web3_js_1.PublicKey(poolConfig.poolAddress), new web3_js_1.PublicKey(poolConfig.lpTokenMint), poolConfig.lpDecimals, new web3_js_1.PublicKey(poolConfig.perpetuals), new web3_js_1.PublicKey(poolConfig.transferAuthority), new web3_js_1.PublicKey(poolConfig.multisig), addressLookupTableAddresses, new web3_js_1.PublicKey(poolConfig.backupOracle), tokens, custodies);
110
+ return new PoolConfig(new web3_js_1.PublicKey(poolConfig.programId), poolConfig.cluster, poolConfig.poolName, new web3_js_1.PublicKey(poolConfig.poolAddress), new web3_js_1.PublicKey(poolConfig.lpTokenMint), poolConfig.lpDecimals, poolConfig.lpTokenSymbol, new web3_js_1.PublicKey(poolConfig.perpetuals), new web3_js_1.PublicKey(poolConfig.transferAuthority), new web3_js_1.PublicKey(poolConfig.multisig), addressLookupTableAddresses, new web3_js_1.PublicKey(poolConfig.backupOracle), tokens, custodies);
110
111
  };
111
112
  return PoolConfig;
112
113
  }());
@@ -6,6 +6,210 @@
6
6
  "testnet": "http://api.testnet.rpcpool.com"
7
7
  },
8
8
  "pools": [
9
+ {
10
+ "programId": "FT69jb9K5b6uUbvk2BczUoG5bUS9gDPNMRbSk4GRyqw9",
11
+ "cluster": "devnet",
12
+ "poolName": "devnet.6",
13
+ "poolAddress": "G1kqHDqxMfUDAjLbN43FC5ZM6XDcvWuazdKpDX6BVVxS",
14
+ "lpTokenMint": "9tbZ44Jgr4e6vMAVZL347iUxVubXsq9gZfbb4zM8nVZ9",
15
+ "lpDecimals": 6,
16
+ "lpTokenSymbol": "FLP.6",
17
+ "perpetuals": "ArVyuoPszQtUJ55dLUbfSzgFEd51sGv6e9pa7mY28YSS",
18
+ "transferAuthority": "3SRkyahDfpKu7Z5pBpqqCh3BmNypdqTQTkPihwqJVHch",
19
+ "multisig": "H4qXpG1vtRC6k2FKQ1tCs2Ybu1JrFAAQhR3HpR17pNGk",
20
+ "addressLookupTableAddresses": ["AxeLTBekT2jYrzwh69NZiUJFF9ZY6ukEWpWSmpDUAjRW"],
21
+ "backupOracle": "AHaKsRB4tsGSzFfFqAxUpfRRmsUj5EhwHSxSXK2UGRp5",
22
+ "tokens": [
23
+ {
24
+ "symbol": "USDC",
25
+ "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
26
+ "decimals": 6,
27
+ "isStable": true,
28
+ "isVirtual": false,
29
+ "pythTicker": "Crypto.USDC/USD"
30
+ },
31
+ {
32
+ "symbol": "XAU",
33
+ "mintKey": "xaucSYSxjZF4EbsLqAGRvPcuD1uXAj9awmsxYkUAavx",
34
+ "decimals": 6,
35
+ "isStable": false,
36
+ "isVirtual": true,
37
+ "pythTicker": "Metal.XAU/USD"
38
+ },
39
+ {
40
+ "symbol": "COIN",
41
+ "mintKey": "coin5CDSu7E6t89hYjt22jinQTue2sXQUw4c54XKpxq",
42
+ "decimals": 6,
43
+ "isStable": false,
44
+ "isVirtual": true,
45
+ "pythTicker": "Equity.US.COIN/USD"
46
+ },
47
+ {
48
+ "symbol": "EUR",
49
+ "mintKey": "eurExbEMAz5jq8r31EGc3gg9ddu7ftBJWg8A6hYsvng",
50
+ "decimals": 6,
51
+ "isStable": false,
52
+ "isVirtual": true,
53
+ "pythTicker": "FX.EUR/USD"
54
+ }
55
+ ],
56
+ "custodies": [
57
+ {
58
+ "custodyId": 0,
59
+ "custodyAccount": "2NtToAmany39eyukB2uy88u8sgHC59964tR4Fpsp4NMv",
60
+ "tokenAccount": "4rvXQgs5n5kaEK9no9N5WV7NU7fMrAkyqGUvbN6v3VYB",
61
+ "symbol": "USDC",
62
+ "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
63
+ "decimals": 6,
64
+ "isStable": true,
65
+ "isVirtual": false,
66
+ "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7",
67
+ "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
68
+ },
69
+ {
70
+ "custodyId": 1,
71
+ "custodyAccount": "gMEhcsS6vjEd8dR9gQ18QPCZbtvF4K4tmDFDmwzHX3g",
72
+ "tokenAccount": "HqatH1tTT49AmfK1BwrJJohXeFVefcTSCP7jV2UF9H68",
73
+ "symbol": "XAU",
74
+ "mintKey": "xaucSYSxjZF4EbsLqAGRvPcuD1uXAj9awmsxYkUAavx",
75
+ "decimals": 6,
76
+ "isStable": false,
77
+ "isVirtual": true,
78
+ "oracleAddress": "4GqTjGm686yihQ1m1YdTsSvfm4mNfadv6xskzgCYWNC5",
79
+ "pythPriceId": "0x765d2ba906dbc32ca17cc11f5310a89e9ee1f6420508c63861f2f8ba4ee34bb2"
80
+ },
81
+ {
82
+ "custodyId": 2,
83
+ "custodyAccount": "6xKwkSLL6yfCSK247gKGZTEci1ibjA3FW47XWnqrkSDN",
84
+ "tokenAccount": "Ek8XvjnpA2c2wvdTxQzB1fSpDXgZab9v2CyGnMuE9qSD",
85
+ "symbol": "COIN",
86
+ "mintKey": "coin5CDSu7E6t89hYjt22jinQTue2sXQUw4c54XKpxq",
87
+ "decimals": 6,
88
+ "isStable": false,
89
+ "isVirtual": true,
90
+ "oracleAddress": "BwkRMkWjfMvWeFLqfQzwhumQan4CxNtyQRbKxtkV4yzi",
91
+ "pythPriceId": "0xfee33f2a978bf32dd6b662b65ba8083c6773b494f8401194ec1870c640860245"
92
+ },
93
+ {
94
+ "custodyId": 3,
95
+ "custodyAccount": "Cd2w3Eino1XqNpEBw4bzsm57BXwMpxgTiVdXVYA7ymZE",
96
+ "tokenAccount": "HRhHeY8zzEN4wD2ykwvfXtvY5rV1zQeLSbBj56UZyWrh",
97
+ "symbol": "EUR",
98
+ "mintKey": "eurExbEMAz5jq8r31EGc3gg9ddu7ftBJWg8A6hYsvng",
99
+ "decimals": 6,
100
+ "isStable": false,
101
+ "isVirtual": true,
102
+ "oracleAddress": "E36MyBbavhYKHVLWR79GiReNNnBDiHj6nWA7htbkNZbh",
103
+ "pythPriceId": "0xa995d00bb36a63cef7fd2c287dc105fc8f3d93779f062f09551b0af3e81ec30b"
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "programId": "FT69jb9K5b6uUbvk2BczUoG5bUS9gDPNMRbSk4GRyqw9",
109
+ "cluster": "devnet",
110
+ "poolName": "devnet.5",
111
+ "poolAddress": "G4Pzz6ComzRJ7Tc2JvYWUzECedC8dmz9n2fZpj8hFWmK",
112
+ "lpTokenMint": "GmURGADRvNzCrV8BDVuG2qVn5JAUgiUuo8NqP7FPj2Yc",
113
+ "lpDecimals": 6,
114
+ "lpTokenSymbol": "FLP.5",
115
+ "perpetuals": "ArVyuoPszQtUJ55dLUbfSzgFEd51sGv6e9pa7mY28YSS",
116
+ "transferAuthority": "3SRkyahDfpKu7Z5pBpqqCh3BmNypdqTQTkPihwqJVHch",
117
+ "multisig": "H4qXpG1vtRC6k2FKQ1tCs2Ybu1JrFAAQhR3HpR17pNGk",
118
+ "addressLookupTableAddresses": ["AxeLTBekT2jYrzwh69NZiUJFF9ZY6ukEWpWSmpDUAjRW"],
119
+ "backupOracle": "AHaKsRB4tsGSzFfFqAxUpfRRmsUj5EhwHSxSXK2UGRp5",
120
+ "tokens": [
121
+ {
122
+ "symbol": "USDC",
123
+ "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
124
+ "decimals": 6,
125
+ "isStable": true,
126
+ "isVirtual": false,
127
+ "pythTicker": "Crypto.USDC/USD"
128
+ },
129
+ {
130
+ "symbol": "SOL",
131
+ "mintKey": "So11111111111111111111111111111111111111112",
132
+ "decimals": 9,
133
+ "isStable": false,
134
+ "isVirtual": false,
135
+ "pythTicker": "Crypto.SOL/USD"
136
+ },
137
+ {
138
+ "symbol": "WSOL",
139
+ "mintKey": "So11111111111111111111111111111111111111112",
140
+ "decimals": 9,
141
+ "isStable": false,
142
+ "isVirtual": false,
143
+ "pythTicker": "Crypto.SOL/USD"
144
+ },
145
+ {
146
+ "symbol": "BTC",
147
+ "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
148
+ "decimals": 6,
149
+ "isStable": false,
150
+ "isVirtual": false,
151
+ "pythTicker": "Crypto.BTC/USD"
152
+ },
153
+ {
154
+ "symbol": "ETH",
155
+ "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
156
+ "decimals": 6,
157
+ "isStable": false,
158
+ "isVirtual": false,
159
+ "pythTicker": "Crypto.ETH/USD"
160
+ }
161
+ ],
162
+ "custodies": [
163
+ {
164
+ "custodyId": 0,
165
+ "custodyAccount": "FxNrtHfQtEgLjEJETU82Wr4qNcE3SGo7fidujLvzdCE9",
166
+ "tokenAccount": "DBGzx3FM9NiMYDkZMB1nKGHEwJyV8EXbTatFF8EWtzSZ",
167
+ "symbol": "USDC",
168
+ "mintKey": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr",
169
+ "decimals": 6,
170
+ "isStable": true,
171
+ "isVirtual": false,
172
+ "oracleAddress": "5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7",
173
+ "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
174
+ },
175
+ {
176
+ "custodyId": 1,
177
+ "custodyAccount": "6exZmF1QpA7HgYLbBnf5u9kbwYYEr5y8fzhWBBpvzqM",
178
+ "tokenAccount": "BxknHpSoiHpavTmppybgpYFmmh2KJjGApBhrMBV69ZLL",
179
+ "symbol": "SOL",
180
+ "mintKey": "So11111111111111111111111111111111111111112",
181
+ "decimals": 9,
182
+ "isStable": false,
183
+ "isVirtual": false,
184
+ "oracleAddress": "J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix",
185
+ "pythPriceId": "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d"
186
+ },
187
+ {
188
+ "custodyId": 2,
189
+ "custodyAccount": "2qMFGfvKLgVNU9BBhjyKyacGdqkH9ynT9DqXyJpqwi6G",
190
+ "tokenAccount": "21rH6U43WH9BPsXTpmahYxBeE9ehdjz44gJYdyJZ9XcX",
191
+ "symbol": "BTC",
192
+ "mintKey": "B8DYqbh57aEPRbUq7reyueY6jaYoN75js5YsiM84tFfP",
193
+ "decimals": 6,
194
+ "isStable": false,
195
+ "isVirtual": false,
196
+ "oracleAddress": "HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J",
197
+ "pythPriceId": "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43"
198
+ },
199
+ {
200
+ "custodyId": 3,
201
+ "custodyAccount": "ExE7ZBKRNdztDeQgkuyW9QWzBARvYAvT2Q5aa8KAHiZB",
202
+ "tokenAccount": "BwsUPZBYNJVVHBq94dm1XJAPRgERrSc9tnN8e3zKSJYX",
203
+ "symbol": "ETH",
204
+ "mintKey": "BA17bkYW78GvnirtgRHcceQxZdwkhpzbvrwDU6voUXRz",
205
+ "decimals": 6,
206
+ "isStable": false,
207
+ "isVirtual": false,
208
+ "oracleAddress": "EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw",
209
+ "pythPriceId": "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace"
210
+ }
211
+ ]
212
+ },
9
213
  {
10
214
  "programId": "FT69jb9K5b6uUbvk2BczUoG5bUS9gDPNMRbSk4GRyqw9",
11
215
  "cluster": "devnet",
@@ -13,6 +217,7 @@
13
217
  "poolAddress": "6dohCdceggAgNCG3JGx4cqhyyhchRHpLoTD4RmsYBVar",
14
218
  "lpTokenMint": "RcsqWsonqwfbXqmQQ5SrvLA1LD63AHkm2cLFhHKc1xS",
15
219
  "lpDecimals": 6,
220
+ "lpTokenSymbol": "FLP.4",
16
221
  "perpetuals": "ArVyuoPszQtUJ55dLUbfSzgFEd51sGv6e9pa7mY28YSS",
17
222
  "transferAuthority": "3SRkyahDfpKu7Z5pBpqqCh3BmNypdqTQTkPihwqJVHch",
18
223
  "multisig": "H4qXpG1vtRC6k2FKQ1tCs2Ybu1JrFAAQhR3HpR17pNGk",
@@ -4071,6 +4071,11 @@ export type Perpetuals = {
4071
4071
  {
4072
4072
  "name": "AddCollateralLog";
4073
4073
  "fields": [
4074
+ {
4075
+ "name": "poolName";
4076
+ "type": "string";
4077
+ "index": false;
4078
+ },
4074
4079
  {
4075
4080
  "name": "owner";
4076
4081
  "type": "publicKey";
@@ -4103,6 +4108,11 @@ export type Perpetuals = {
4103
4108
  {
4104
4109
  "name": "AddLiquidityLog";
4105
4110
  "fields": [
4111
+ {
4112
+ "name": "poolName";
4113
+ "type": "string";
4114
+ "index": false;
4115
+ },
4106
4116
  {
4107
4117
  "name": "owner";
4108
4118
  "type": "publicKey";
@@ -4133,6 +4143,11 @@ export type Perpetuals = {
4133
4143
  {
4134
4144
  "name": "ClosePositionLog";
4135
4145
  "fields": [
4146
+ {
4147
+ "name": "poolName";
4148
+ "type": "string";
4149
+ "index": false;
4150
+ },
4136
4151
  {
4137
4152
  "name": "owner";
4138
4153
  "type": "publicKey";
@@ -4185,6 +4200,11 @@ export type Perpetuals = {
4185
4200
  {
4186
4201
  "name": "DecreaseSizeLog";
4187
4202
  "fields": [
4203
+ {
4204
+ "name": "poolName";
4205
+ "type": "string";
4206
+ "index": false;
4207
+ },
4188
4208
  {
4189
4209
  "name": "owner";
4190
4210
  "type": "publicKey";
@@ -4242,6 +4262,11 @@ export type Perpetuals = {
4242
4262
  {
4243
4263
  "name": "IncreaseSizeLog";
4244
4264
  "fields": [
4265
+ {
4266
+ "name": "poolName";
4267
+ "type": "string";
4268
+ "index": false;
4269
+ },
4245
4270
  {
4246
4271
  "name": "owner";
4247
4272
  "type": "publicKey";
@@ -4284,6 +4309,11 @@ export type Perpetuals = {
4284
4309
  {
4285
4310
  "name": "LiquidateLog";
4286
4311
  "fields": [
4312
+ {
4313
+ "name": "poolName";
4314
+ "type": "string";
4315
+ "index": false;
4316
+ },
4287
4317
  {
4288
4318
  "name": "owner";
4289
4319
  "type": "publicKey";
@@ -4331,6 +4361,11 @@ export type Perpetuals = {
4331
4361
  {
4332
4362
  "name": "OpenPositionLog";
4333
4363
  "fields": [
4364
+ {
4365
+ "name": "poolName";
4366
+ "type": "string";
4367
+ "index": false;
4368
+ },
4334
4369
  {
4335
4370
  "name": "owner";
4336
4371
  "type": "publicKey";
@@ -4383,6 +4418,11 @@ export type Perpetuals = {
4383
4418
  {
4384
4419
  "name": "RemoveCollateralLog";
4385
4420
  "fields": [
4421
+ {
4422
+ "name": "poolName";
4423
+ "type": "string";
4424
+ "index": false;
4425
+ },
4386
4426
  {
4387
4427
  "name": "owner";
4388
4428
  "type": "publicKey";
@@ -4420,6 +4460,11 @@ export type Perpetuals = {
4420
4460
  {
4421
4461
  "name": "RemoveLiquidityLog";
4422
4462
  "fields": [
4463
+ {
4464
+ "name": "poolName";
4465
+ "type": "string";
4466
+ "index": false;
4467
+ },
4423
4468
  {
4424
4469
  "name": "owner";
4425
4470
  "type": "publicKey";
@@ -4450,6 +4495,11 @@ export type Perpetuals = {
4450
4495
  {
4451
4496
  "name": "SwapLog";
4452
4497
  "fields": [
4498
+ {
4499
+ "name": "poolName";
4500
+ "type": "string";
4501
+ "index": false;
4502
+ },
4453
4503
  {
4454
4504
  "name": "owner";
4455
4505
  "type": "publicKey";
@@ -4074,6 +4074,11 @@ exports.IDL = {
4074
4074
  {
4075
4075
  "name": "AddCollateralLog",
4076
4076
  "fields": [
4077
+ {
4078
+ "name": "poolName",
4079
+ "type": "string",
4080
+ "index": false
4081
+ },
4077
4082
  {
4078
4083
  "name": "owner",
4079
4084
  "type": "publicKey",
@@ -4106,6 +4111,11 @@ exports.IDL = {
4106
4111
  {
4107
4112
  "name": "AddLiquidityLog",
4108
4113
  "fields": [
4114
+ {
4115
+ "name": "poolName",
4116
+ "type": "string",
4117
+ "index": false
4118
+ },
4109
4119
  {
4110
4120
  "name": "owner",
4111
4121
  "type": "publicKey",
@@ -4136,6 +4146,11 @@ exports.IDL = {
4136
4146
  {
4137
4147
  "name": "ClosePositionLog",
4138
4148
  "fields": [
4149
+ {
4150
+ "name": "poolName",
4151
+ "type": "string",
4152
+ "index": false
4153
+ },
4139
4154
  {
4140
4155
  "name": "owner",
4141
4156
  "type": "publicKey",
@@ -4188,6 +4203,11 @@ exports.IDL = {
4188
4203
  {
4189
4204
  "name": "DecreaseSizeLog",
4190
4205
  "fields": [
4206
+ {
4207
+ "name": "poolName",
4208
+ "type": "string",
4209
+ "index": false
4210
+ },
4191
4211
  {
4192
4212
  "name": "owner",
4193
4213
  "type": "publicKey",
@@ -4245,6 +4265,11 @@ exports.IDL = {
4245
4265
  {
4246
4266
  "name": "IncreaseSizeLog",
4247
4267
  "fields": [
4268
+ {
4269
+ "name": "poolName",
4270
+ "type": "string",
4271
+ "index": false
4272
+ },
4248
4273
  {
4249
4274
  "name": "owner",
4250
4275
  "type": "publicKey",
@@ -4287,6 +4312,11 @@ exports.IDL = {
4287
4312
  {
4288
4313
  "name": "LiquidateLog",
4289
4314
  "fields": [
4315
+ {
4316
+ "name": "poolName",
4317
+ "type": "string",
4318
+ "index": false
4319
+ },
4290
4320
  {
4291
4321
  "name": "owner",
4292
4322
  "type": "publicKey",
@@ -4334,6 +4364,11 @@ exports.IDL = {
4334
4364
  {
4335
4365
  "name": "OpenPositionLog",
4336
4366
  "fields": [
4367
+ {
4368
+ "name": "poolName",
4369
+ "type": "string",
4370
+ "index": false
4371
+ },
4337
4372
  {
4338
4373
  "name": "owner",
4339
4374
  "type": "publicKey",
@@ -4386,6 +4421,11 @@ exports.IDL = {
4386
4421
  {
4387
4422
  "name": "RemoveCollateralLog",
4388
4423
  "fields": [
4424
+ {
4425
+ "name": "poolName",
4426
+ "type": "string",
4427
+ "index": false
4428
+ },
4389
4429
  {
4390
4430
  "name": "owner",
4391
4431
  "type": "publicKey",
@@ -4423,6 +4463,11 @@ exports.IDL = {
4423
4463
  {
4424
4464
  "name": "RemoveLiquidityLog",
4425
4465
  "fields": [
4466
+ {
4467
+ "name": "poolName",
4468
+ "type": "string",
4469
+ "index": false
4470
+ },
4426
4471
  {
4427
4472
  "name": "owner",
4428
4473
  "type": "publicKey",
@@ -4453,6 +4498,11 @@ exports.IDL = {
4453
4498
  {
4454
4499
  "name": "SwapLog",
4455
4500
  "fields": [
4501
+ {
4502
+ "name": "poolName",
4503
+ "type": "string",
4504
+ "index": false
4505
+ },
4456
4506
  {
4457
4507
  "name": "owner",
4458
4508
  "type": "publicKey",