@katanaperps/katana-perps-sdk 1.0.0-alpha.2 → 1.0.0-alpha.21

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.
Files changed (66) hide show
  1. package/dist/abis/ExchangeLayerZeroAdapter_v1.json +60 -25
  2. package/dist/abis/ExchangeLocalDepositAdapter_v1.json +318 -0
  3. package/dist/abis/FixedIncomeVaultProviderStateAggregator_v1.json +229 -0
  4. package/dist/abis/FixedIncomeVaultProvider_v1.json +2640 -0
  5. package/dist/abis/IVaultComposerSync.json +537 -0
  6. package/dist/abis/KatanaPerpsStargateForwarder_v1.json +108 -14
  7. package/dist/bridge/config.d.ts +29 -25
  8. package/dist/bridge/config.d.ts.map +1 -1
  9. package/dist/bridge/config.js +24 -21
  10. package/dist/bridge/deposit.d.ts +30 -3
  11. package/dist/bridge/deposit.d.ts.map +1 -1
  12. package/dist/bridge/deposit.js +156 -28
  13. package/dist/bridge/utils.d.ts +17 -15
  14. package/dist/bridge/utils.d.ts.map +1 -1
  15. package/dist/bridge/utils.js +17 -6
  16. package/dist/bridge/withdraw.d.ts.map +1 -1
  17. package/dist/bridge/withdraw.js +1 -2
  18. package/dist/client/rest/authenticated.d.ts +17 -2
  19. package/dist/client/rest/authenticated.d.ts.map +1 -1
  20. package/dist/client/rest/authenticated.js +37 -14
  21. package/dist/typechain-types/ExchangeLayerZeroAdapter_v1.d.ts +23 -28
  22. package/dist/typechain-types/ExchangeLayerZeroAdapter_v1.d.ts.map +1 -1
  23. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.d.ts +210 -0
  24. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.d.ts.map +1 -0
  25. package/dist/typechain-types/ExchangeLocalDepositAdapter_v1.js +2 -0
  26. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts +13 -13
  27. package/dist/typechain-types/FixedIncomeVaultProviderStateAggregator_v1.d.ts.map +1 -1
  28. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts +50 -78
  29. package/dist/typechain-types/FixedIncomeVaultProvider_v1.d.ts.map +1 -1
  30. package/dist/typechain-types/IVaultComposerSync.d.ts +247 -0
  31. package/dist/typechain-types/IVaultComposerSync.d.ts.map +1 -0
  32. package/dist/typechain-types/IVaultComposerSync.js +2 -0
  33. package/dist/typechain-types/KatanaPerpsStargateForwarder_v1.d.ts +29 -5
  34. package/dist/typechain-types/KatanaPerpsStargateForwarder_v1.d.ts.map +1 -1
  35. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.d.ts +46 -20
  36. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.d.ts.map +1 -1
  37. package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.js +60 -25
  38. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.d.ts +255 -0
  39. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.d.ts.map +1 -0
  40. package/dist/typechain-types/factories/ExchangeLocalDepositAdapter_v1__factory.js +335 -0
  41. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.d.ts +15 -15
  42. package/dist/typechain-types/factories/FixedIncomeVaultProviderStateAggregator_v1__factory.js +20 -20
  43. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts +61 -96
  44. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.d.ts.map +1 -1
  45. package/dist/typechain-types/factories/FixedIncomeVaultProvider_v1__factory.js +72 -117
  46. package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts +422 -0
  47. package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts.map +1 -0
  48. package/dist/typechain-types/factories/IVaultComposerSync__factory.js +554 -0
  49. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.d.ts +86 -14
  50. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.d.ts.map +1 -1
  51. package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.js +108 -14
  52. package/dist/typechain-types/factories/index.d.ts +4 -0
  53. package/dist/typechain-types/factories/index.d.ts.map +1 -1
  54. package/dist/typechain-types/factories/index.js +9 -1
  55. package/dist/typechain-types/index.d.ts +8 -0
  56. package/dist/typechain-types/index.d.ts.map +1 -1
  57. package/dist/typechain-types/index.js +9 -1
  58. package/dist/types/enums/request.d.ts +2 -2
  59. package/dist/types/enums/request.js +1 -1
  60. package/dist/types/rest/endpoints/GetExchange.d.ts +54 -0
  61. package/dist/types/rest/endpoints/GetExchange.d.ts.map +1 -1
  62. package/dist/types/rest/endpoints/GetGasFees.d.ts +2 -0
  63. package/dist/types/rest/endpoints/GetGasFees.d.ts.map +1 -1
  64. package/dist/types/rest/endpoints/internal.d.ts +8 -0
  65. package/dist/types/rest/endpoints/internal.d.ts.map +1 -1
  66. package/package.json +1 -1
@@ -3,40 +3,60 @@ import type { KatanaPerpsStargateForwarder_v1, KatanaPerpsStargateForwarder_v1In
3
3
  export declare class KatanaPerpsStargateForwarder_v1__factory {
4
4
  static readonly abi: readonly [{
5
5
  readonly inputs: readonly [{
6
+ readonly internalType: "uint32";
7
+ readonly name: "ethereumEndpointId_";
8
+ readonly type: "uint32";
9
+ }, {
6
10
  readonly internalType: "address";
7
11
  readonly name: "exchangeLayerZeroAdapter_";
8
12
  readonly type: "address";
13
+ }, {
14
+ readonly internalType: "uint128";
15
+ readonly name: "katanaComposeGasLimit_";
16
+ readonly type: "uint128";
17
+ }, {
18
+ readonly internalType: "uint32";
19
+ readonly name: "katanaEndpointId_";
20
+ readonly type: "uint32";
9
21
  }, {
10
22
  readonly internalType: "address";
11
23
  readonly name: "lzEndpoint_";
12
24
  readonly type: "address";
13
25
  }, {
14
26
  readonly internalType: "uint64";
15
- readonly name: "minimumForwardQuantityMultiplier_";
27
+ readonly name: "minimumDepositNativeDropQuantityMultiplier_";
16
28
  readonly type: "uint64";
17
29
  }, {
18
30
  readonly internalType: "uint64";
19
- readonly name: "minimumDepositNativeDropQuantityMultiplier_";
31
+ readonly name: "minimumForwardQuantityMultiplier_";
20
32
  readonly type: "uint64";
21
33
  }, {
22
34
  readonly internalType: "address";
23
- readonly name: "katanaOFT_";
35
+ readonly name: "stargate_";
24
36
  readonly type: "address";
25
37
  }, {
26
38
  readonly internalType: "address";
27
- readonly name: "stargate_";
39
+ readonly name: "usdc_";
28
40
  readonly type: "address";
29
41
  }, {
30
42
  readonly internalType: "address";
31
- readonly name: "usdc_";
43
+ readonly name: "vbUSDC_";
32
44
  readonly type: "address";
33
45
  }, {
34
- readonly internalType: "uint32";
35
- readonly name: "katanaEndpointId_";
36
- readonly type: "uint32";
46
+ readonly internalType: "address";
47
+ readonly name: "vbUSDCOFTAdapter_";
48
+ readonly type: "address";
37
49
  }];
38
50
  readonly stateMutability: "nonpayable";
39
51
  readonly type: "constructor";
52
+ }, {
53
+ readonly inputs: readonly [{
54
+ readonly internalType: "uint16";
55
+ readonly name: "optionType";
56
+ readonly type: "uint16";
57
+ }];
58
+ readonly name: "InvalidOptionType";
59
+ readonly type: "error";
40
60
  }, {
41
61
  readonly inputs: readonly [{
42
62
  readonly internalType: "address";
@@ -53,6 +73,18 @@ export declare class KatanaPerpsStargateForwarder_v1__factory {
53
73
  }];
54
74
  readonly name: "OwnableUnauthorizedAccount";
55
75
  readonly type: "error";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "uint8";
79
+ readonly name: "bits";
80
+ readonly type: "uint8";
81
+ }, {
82
+ readonly internalType: "uint256";
83
+ readonly name: "value";
84
+ readonly type: "uint256";
85
+ }];
86
+ readonly name: "SafeCastOverflowedUintDowncast";
87
+ readonly type: "error";
56
88
  }, {
57
89
  readonly anonymous: false;
58
90
  readonly inputs: readonly [{
@@ -134,6 +166,16 @@ export declare class KatanaPerpsStargateForwarder_v1__factory {
134
166
  readonly outputs: readonly [];
135
167
  readonly stateMutability: "nonpayable";
136
168
  readonly type: "function";
169
+ }, {
170
+ readonly inputs: readonly [];
171
+ readonly name: "ethereumEndpointId";
172
+ readonly outputs: readonly [{
173
+ readonly internalType: "uint32";
174
+ readonly name: "";
175
+ readonly type: "uint32";
176
+ }];
177
+ readonly stateMutability: "view";
178
+ readonly type: "function";
137
179
  }, {
138
180
  readonly inputs: readonly [];
139
181
  readonly name: "exchangeLayerZeroAdapter";
@@ -146,21 +188,21 @@ export declare class KatanaPerpsStargateForwarder_v1__factory {
146
188
  readonly type: "function";
147
189
  }, {
148
190
  readonly inputs: readonly [];
149
- readonly name: "katanaEndpointId";
191
+ readonly name: "katanaComposeGasLimit";
150
192
  readonly outputs: readonly [{
151
- readonly internalType: "uint32";
193
+ readonly internalType: "uint128";
152
194
  readonly name: "";
153
- readonly type: "uint32";
195
+ readonly type: "uint128";
154
196
  }];
155
197
  readonly stateMutability: "view";
156
198
  readonly type: "function";
157
199
  }, {
158
200
  readonly inputs: readonly [];
159
- readonly name: "katanaOFT";
201
+ readonly name: "katanaEndpointId";
160
202
  readonly outputs: readonly [{
161
- readonly internalType: "contract IOFT";
203
+ readonly internalType: "uint32";
162
204
  readonly name: "";
163
- readonly type: "address";
205
+ readonly type: "uint32";
164
206
  }];
165
207
  readonly stateMutability: "view";
166
208
  readonly type: "function";
@@ -296,6 +338,16 @@ export declare class KatanaPerpsStargateForwarder_v1__factory {
296
338
  readonly outputs: readonly [];
297
339
  readonly stateMutability: "nonpayable";
298
340
  readonly type: "function";
341
+ }, {
342
+ readonly inputs: readonly [{
343
+ readonly internalType: "uint128";
344
+ readonly name: "newKatanaComposeGasLimit";
345
+ readonly type: "uint128";
346
+ }];
347
+ readonly name: "setKatanaComposeGasLimit";
348
+ readonly outputs: readonly [];
349
+ readonly stateMutability: "nonpayable";
350
+ readonly type: "function";
299
351
  }, {
300
352
  readonly inputs: readonly [{
301
353
  readonly internalType: "uint64";
@@ -346,6 +398,26 @@ export declare class KatanaPerpsStargateForwarder_v1__factory {
346
398
  }];
347
399
  readonly stateMutability: "view";
348
400
  readonly type: "function";
401
+ }, {
402
+ readonly inputs: readonly [];
403
+ readonly name: "vbUSDC";
404
+ readonly outputs: readonly [{
405
+ readonly internalType: "contract IERC4626";
406
+ readonly name: "";
407
+ readonly type: "address";
408
+ }];
409
+ readonly stateMutability: "view";
410
+ readonly type: "function";
411
+ }, {
412
+ readonly inputs: readonly [];
413
+ readonly name: "vbUSDCOFTAdapter";
414
+ readonly outputs: readonly [{
415
+ readonly internalType: "contract IOFT";
416
+ readonly name: "";
417
+ readonly type: "address";
418
+ }];
419
+ readonly stateMutability: "view";
420
+ readonly type: "function";
349
421
  }, {
350
422
  readonly inputs: readonly [{
351
423
  readonly internalType: "address payable";
@@ -1 +1 @@
1
- {"version":3,"file":"KatanaPerpsStargateForwarder_v1__factory.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,+BAA+B,EAC/B,wCAAwC,EACzC,MAAM,oCAAoC,CAAC;AAwd5C,qBAAa,wCAAwC;IACnD,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wCAAwC;IAGlE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,+BAA+B;CAOnC"}
1
+ {"version":3,"file":"KatanaPerpsStargateForwarder_v1__factory.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,+BAA+B,EAC/B,wCAAwC,EACzC,MAAM,oCAAoC,CAAC;AAsjB5C,qBAAa,wCAAwC;IACnD,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wCAAwC;IAGlE,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,+BAA+B;CAOnC"}
@@ -8,11 +8,26 @@ const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
10
  inputs: [
11
+ {
12
+ internalType: 'uint32',
13
+ name: 'ethereumEndpointId_',
14
+ type: 'uint32',
15
+ },
11
16
  {
12
17
  internalType: 'address',
13
18
  name: 'exchangeLayerZeroAdapter_',
14
19
  type: 'address',
15
20
  },
21
+ {
22
+ internalType: 'uint128',
23
+ name: 'katanaComposeGasLimit_',
24
+ type: 'uint128',
25
+ },
26
+ {
27
+ internalType: 'uint32',
28
+ name: 'katanaEndpointId_',
29
+ type: 'uint32',
30
+ },
16
31
  {
17
32
  internalType: 'address',
18
33
  name: 'lzEndpoint_',
@@ -20,38 +35,49 @@ const _abi = [
20
35
  },
21
36
  {
22
37
  internalType: 'uint64',
23
- name: 'minimumForwardQuantityMultiplier_',
38
+ name: 'minimumDepositNativeDropQuantityMultiplier_',
24
39
  type: 'uint64',
25
40
  },
26
41
  {
27
42
  internalType: 'uint64',
28
- name: 'minimumDepositNativeDropQuantityMultiplier_',
43
+ name: 'minimumForwardQuantityMultiplier_',
29
44
  type: 'uint64',
30
45
  },
31
46
  {
32
47
  internalType: 'address',
33
- name: 'katanaOFT_',
48
+ name: 'stargate_',
34
49
  type: 'address',
35
50
  },
36
51
  {
37
52
  internalType: 'address',
38
- name: 'stargate_',
53
+ name: 'usdc_',
39
54
  type: 'address',
40
55
  },
41
56
  {
42
57
  internalType: 'address',
43
- name: 'usdc_',
58
+ name: 'vbUSDC_',
44
59
  type: 'address',
45
60
  },
46
61
  {
47
- internalType: 'uint32',
48
- name: 'katanaEndpointId_',
49
- type: 'uint32',
62
+ internalType: 'address',
63
+ name: 'vbUSDCOFTAdapter_',
64
+ type: 'address',
50
65
  },
51
66
  ],
52
67
  stateMutability: 'nonpayable',
53
68
  type: 'constructor',
54
69
  },
70
+ {
71
+ inputs: [
72
+ {
73
+ internalType: 'uint16',
74
+ name: 'optionType',
75
+ type: 'uint16',
76
+ },
77
+ ],
78
+ name: 'InvalidOptionType',
79
+ type: 'error',
80
+ },
55
81
  {
56
82
  inputs: [
57
83
  {
@@ -74,6 +100,22 @@ const _abi = [
74
100
  name: 'OwnableUnauthorizedAccount',
75
101
  type: 'error',
76
102
  },
103
+ {
104
+ inputs: [
105
+ {
106
+ internalType: 'uint8',
107
+ name: 'bits',
108
+ type: 'uint8',
109
+ },
110
+ {
111
+ internalType: 'uint256',
112
+ name: 'value',
113
+ type: 'uint256',
114
+ },
115
+ ],
116
+ name: 'SafeCastOverflowedUintDowncast',
117
+ type: 'error',
118
+ },
77
119
  {
78
120
  anonymous: false,
79
121
  inputs: [
@@ -176,6 +218,19 @@ const _abi = [
176
218
  stateMutability: 'nonpayable',
177
219
  type: 'function',
178
220
  },
221
+ {
222
+ inputs: [],
223
+ name: 'ethereumEndpointId',
224
+ outputs: [
225
+ {
226
+ internalType: 'uint32',
227
+ name: '',
228
+ type: 'uint32',
229
+ },
230
+ ],
231
+ stateMutability: 'view',
232
+ type: 'function',
233
+ },
179
234
  {
180
235
  inputs: [],
181
236
  name: 'exchangeLayerZeroAdapter',
@@ -191,12 +246,12 @@ const _abi = [
191
246
  },
192
247
  {
193
248
  inputs: [],
194
- name: 'katanaEndpointId',
249
+ name: 'katanaComposeGasLimit',
195
250
  outputs: [
196
251
  {
197
- internalType: 'uint32',
252
+ internalType: 'uint128',
198
253
  name: '',
199
- type: 'uint32',
254
+ type: 'uint128',
200
255
  },
201
256
  ],
202
257
  stateMutability: 'view',
@@ -204,12 +259,12 @@ const _abi = [
204
259
  },
205
260
  {
206
261
  inputs: [],
207
- name: 'katanaOFT',
262
+ name: 'katanaEndpointId',
208
263
  outputs: [
209
264
  {
210
- internalType: 'contract IOFT',
265
+ internalType: 'uint32',
211
266
  name: '',
212
- type: 'address',
267
+ type: 'uint32',
213
268
  },
214
269
  ],
215
270
  stateMutability: 'view',
@@ -386,6 +441,19 @@ const _abi = [
386
441
  stateMutability: 'nonpayable',
387
442
  type: 'function',
388
443
  },
444
+ {
445
+ inputs: [
446
+ {
447
+ internalType: 'uint128',
448
+ name: 'newKatanaComposeGasLimit',
449
+ type: 'uint128',
450
+ },
451
+ ],
452
+ name: 'setKatanaComposeGasLimit',
453
+ outputs: [],
454
+ stateMutability: 'nonpayable',
455
+ type: 'function',
456
+ },
389
457
  {
390
458
  inputs: [
391
459
  {
@@ -451,6 +519,32 @@ const _abi = [
451
519
  stateMutability: 'view',
452
520
  type: 'function',
453
521
  },
522
+ {
523
+ inputs: [],
524
+ name: 'vbUSDC',
525
+ outputs: [
526
+ {
527
+ internalType: 'contract IERC4626',
528
+ name: '',
529
+ type: 'address',
530
+ },
531
+ ],
532
+ stateMutability: 'view',
533
+ type: 'function',
534
+ },
535
+ {
536
+ inputs: [],
537
+ name: 'vbUSDCOFTAdapter',
538
+ outputs: [
539
+ {
540
+ internalType: 'contract IOFT',
541
+ name: '',
542
+ type: 'address',
543
+ },
544
+ ],
545
+ stateMutability: 'view',
546
+ type: 'function',
547
+ },
454
548
  {
455
549
  inputs: [
456
550
  {
@@ -1,7 +1,11 @@
1
1
  export { ERC20__factory } from './ERC20__factory';
2
2
  export { EarningsEscrow__factory } from './EarningsEscrow__factory';
3
3
  export { ExchangeLayerZeroAdapter_v1__factory } from './ExchangeLayerZeroAdapter_v1__factory';
4
+ export { ExchangeLocalDepositAdapter_v1__factory } from './ExchangeLocalDepositAdapter_v1__factory';
4
5
  export { Exchange_v1__factory } from './Exchange_v1__factory';
6
+ export { FixedIncomeVaultProviderStateAggregator_v1__factory } from './FixedIncomeVaultProviderStateAggregator_v1__factory';
7
+ export { FixedIncomeVaultProvider_v1__factory } from './FixedIncomeVaultProvider_v1__factory';
5
8
  export { IOFT__factory } from './IOFT__factory';
9
+ export { IVaultComposerSync__factory } from './IVaultComposerSync__factory';
6
10
  export { KatanaPerpsStargateForwarder_v1__factory } from './KatanaPerpsStargateForwarder_v1__factory';
7
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mDAAmD,EAAE,MAAM,uDAAuD,CAAC;AAC5H,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC"}
@@ -2,16 +2,24 @@
2
2
  /* Autogenerated file. Do not edit manually. */
3
3
  /* tslint:disable */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.KatanaPerpsStargateForwarder_v1__factory = exports.IOFT__factory = exports.Exchange_v1__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.EarningsEscrow__factory = exports.ERC20__factory = void 0;
5
+ exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.FixedIncomeVaultProvider_v1__factory = exports.FixedIncomeVaultProviderStateAggregator_v1__factory = exports.Exchange_v1__factory = exports.ExchangeLocalDepositAdapter_v1__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.EarningsEscrow__factory = exports.ERC20__factory = void 0;
6
6
  var ERC20__factory_1 = require("./ERC20__factory");
7
7
  Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
8
8
  var EarningsEscrow__factory_1 = require("./EarningsEscrow__factory");
9
9
  Object.defineProperty(exports, "EarningsEscrow__factory", { enumerable: true, get: function () { return EarningsEscrow__factory_1.EarningsEscrow__factory; } });
10
10
  var ExchangeLayerZeroAdapter_v1__factory_1 = require("./ExchangeLayerZeroAdapter_v1__factory");
11
11
  Object.defineProperty(exports, "ExchangeLayerZeroAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLayerZeroAdapter_v1__factory_1.ExchangeLayerZeroAdapter_v1__factory; } });
12
+ var ExchangeLocalDepositAdapter_v1__factory_1 = require("./ExchangeLocalDepositAdapter_v1__factory");
13
+ Object.defineProperty(exports, "ExchangeLocalDepositAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLocalDepositAdapter_v1__factory_1.ExchangeLocalDepositAdapter_v1__factory; } });
12
14
  var Exchange_v1__factory_1 = require("./Exchange_v1__factory");
13
15
  Object.defineProperty(exports, "Exchange_v1__factory", { enumerable: true, get: function () { return Exchange_v1__factory_1.Exchange_v1__factory; } });
16
+ var FixedIncomeVaultProviderStateAggregator_v1__factory_1 = require("./FixedIncomeVaultProviderStateAggregator_v1__factory");
17
+ Object.defineProperty(exports, "FixedIncomeVaultProviderStateAggregator_v1__factory", { enumerable: true, get: function () { return FixedIncomeVaultProviderStateAggregator_v1__factory_1.FixedIncomeVaultProviderStateAggregator_v1__factory; } });
18
+ var FixedIncomeVaultProvider_v1__factory_1 = require("./FixedIncomeVaultProvider_v1__factory");
19
+ Object.defineProperty(exports, "FixedIncomeVaultProvider_v1__factory", { enumerable: true, get: function () { return FixedIncomeVaultProvider_v1__factory_1.FixedIncomeVaultProvider_v1__factory; } });
14
20
  var IOFT__factory_1 = require("./IOFT__factory");
15
21
  Object.defineProperty(exports, "IOFT__factory", { enumerable: true, get: function () { return IOFT__factory_1.IOFT__factory; } });
22
+ var IVaultComposerSync__factory_1 = require("./IVaultComposerSync__factory");
23
+ Object.defineProperty(exports, "IVaultComposerSync__factory", { enumerable: true, get: function () { return IVaultComposerSync__factory_1.IVaultComposerSync__factory; } });
16
24
  var KatanaPerpsStargateForwarder_v1__factory_1 = require("./KatanaPerpsStargateForwarder_v1__factory");
17
25
  Object.defineProperty(exports, "KatanaPerpsStargateForwarder_v1__factory", { enumerable: true, get: function () { return KatanaPerpsStargateForwarder_v1__factory_1.KatanaPerpsStargateForwarder_v1__factory; } });
@@ -1,14 +1,22 @@
1
1
  export type { ERC20 } from './ERC20';
2
2
  export type { EarningsEscrow } from './EarningsEscrow';
3
3
  export type { ExchangeLayerZeroAdapter_v1 } from './ExchangeLayerZeroAdapter_v1';
4
+ export type { ExchangeLocalDepositAdapter_v1 } from './ExchangeLocalDepositAdapter_v1';
4
5
  export type { Exchange_v1 } from './Exchange_v1';
6
+ export type { FixedIncomeVaultProviderStateAggregator_v1 } from './FixedIncomeVaultProviderStateAggregator_v1';
7
+ export type { FixedIncomeVaultProvider_v1 } from './FixedIncomeVaultProvider_v1';
5
8
  export type { IOFT } from './IOFT';
9
+ export type { IVaultComposerSync } from './IVaultComposerSync';
6
10
  export type { KatanaPerpsStargateForwarder_v1 } from './KatanaPerpsStargateForwarder_v1';
7
11
  export * as factories from './factories';
8
12
  export { EarningsEscrow__factory } from './factories/EarningsEscrow__factory';
9
13
  export { ERC20__factory } from './factories/ERC20__factory';
10
14
  export { Exchange_v1__factory } from './factories/Exchange_v1__factory';
11
15
  export { ExchangeLayerZeroAdapter_v1__factory } from './factories/ExchangeLayerZeroAdapter_v1__factory';
16
+ export { ExchangeLocalDepositAdapter_v1__factory } from './factories/ExchangeLocalDepositAdapter_v1__factory';
17
+ export { FixedIncomeVaultProvider_v1__factory } from './factories/FixedIncomeVaultProvider_v1__factory';
18
+ export { FixedIncomeVaultProviderStateAggregator_v1__factory } from './factories/FixedIncomeVaultProviderStateAggregator_v1__factory';
12
19
  export { IOFT__factory } from './factories/IOFT__factory';
20
+ export { IVaultComposerSync__factory } from './factories/IVaultComposerSync__factory';
13
21
  export { KatanaPerpsStargateForwarder_v1__factory } from './factories/KatanaPerpsStargateForwarder_v1__factory';
14
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typechain-types/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typechain-types/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC/G,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,mDAAmD,EAAE,MAAM,iEAAiE,CAAC;AACtI,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* Autogenerated file. Do not edit manually. */
3
3
  /* tslint:disable */
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.KatanaPerpsStargateForwarder_v1__factory = exports.IOFT__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.Exchange_v1__factory = exports.ERC20__factory = exports.EarningsEscrow__factory = exports.factories = void 0;
5
+ exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.FixedIncomeVaultProviderStateAggregator_v1__factory = exports.FixedIncomeVaultProvider_v1__factory = exports.ExchangeLocalDepositAdapter_v1__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.Exchange_v1__factory = exports.ERC20__factory = exports.EarningsEscrow__factory = exports.factories = void 0;
6
6
  const tslib_1 = require("tslib");
7
7
  exports.factories = tslib_1.__importStar(require("./factories"));
8
8
  var EarningsEscrow__factory_1 = require("./factories/EarningsEscrow__factory");
@@ -13,7 +13,15 @@ var Exchange_v1__factory_1 = require("./factories/Exchange_v1__factory");
13
13
  Object.defineProperty(exports, "Exchange_v1__factory", { enumerable: true, get: function () { return Exchange_v1__factory_1.Exchange_v1__factory; } });
14
14
  var ExchangeLayerZeroAdapter_v1__factory_1 = require("./factories/ExchangeLayerZeroAdapter_v1__factory");
15
15
  Object.defineProperty(exports, "ExchangeLayerZeroAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLayerZeroAdapter_v1__factory_1.ExchangeLayerZeroAdapter_v1__factory; } });
16
+ var ExchangeLocalDepositAdapter_v1__factory_1 = require("./factories/ExchangeLocalDepositAdapter_v1__factory");
17
+ Object.defineProperty(exports, "ExchangeLocalDepositAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLocalDepositAdapter_v1__factory_1.ExchangeLocalDepositAdapter_v1__factory; } });
18
+ var FixedIncomeVaultProvider_v1__factory_1 = require("./factories/FixedIncomeVaultProvider_v1__factory");
19
+ Object.defineProperty(exports, "FixedIncomeVaultProvider_v1__factory", { enumerable: true, get: function () { return FixedIncomeVaultProvider_v1__factory_1.FixedIncomeVaultProvider_v1__factory; } });
20
+ var FixedIncomeVaultProviderStateAggregator_v1__factory_1 = require("./factories/FixedIncomeVaultProviderStateAggregator_v1__factory");
21
+ Object.defineProperty(exports, "FixedIncomeVaultProviderStateAggregator_v1__factory", { enumerable: true, get: function () { return FixedIncomeVaultProviderStateAggregator_v1__factory_1.FixedIncomeVaultProviderStateAggregator_v1__factory; } });
16
22
  var IOFT__factory_1 = require("./factories/IOFT__factory");
17
23
  Object.defineProperty(exports, "IOFT__factory", { enumerable: true, get: function () { return IOFT__factory_1.IOFT__factory; } });
24
+ var IVaultComposerSync__factory_1 = require("./factories/IVaultComposerSync__factory");
25
+ Object.defineProperty(exports, "IVaultComposerSync__factory", { enumerable: true, get: function () { return IVaultComposerSync__factory_1.IVaultComposerSync__factory; } });
18
26
  var KatanaPerpsStargateForwarder_v1__factory_1 = require("./factories/KatanaPerpsStargateForwarder_v1__factory");
19
27
  Object.defineProperty(exports, "KatanaPerpsStargateForwarder_v1__factory", { enumerable: true, get: function () { return KatanaPerpsStargateForwarder_v1__factory_1.KatanaPerpsStargateForwarder_v1__factory; } });
@@ -563,7 +563,7 @@ export declare const BridgeTarget: {
563
563
  readonly STARGATE_AURORA: "stargate.aurora";
564
564
  readonly STARGATE_AVALANCHE: "stargate.avalanche";
565
565
  readonly STARGATE_BASE: "stargate.base";
566
- readonly STARGATE_BNB: "stargate.bnb";
566
+ readonly STARGATE_BERACHAIN: "stargate.berachain";
567
567
  readonly STARGATE_ETHEREUM: "stargate.ethereum";
568
568
  readonly STARGATE_OPTIMISM: "stargate.optimism";
569
569
  readonly STARGATE_RARI: "stargate.rari";
@@ -586,7 +586,7 @@ export declare const DepositSource: {
586
586
  readonly STARGATE_AURORA: "stargate.aurora";
587
587
  readonly STARGATE_AVALANCHE: "stargate.avalanche";
588
588
  readonly STARGATE_BASE: "stargate.base";
589
- readonly STARGATE_BNB: "stargate.bnb";
589
+ readonly STARGATE_BERACHAIN: "stargate.berachain";
590
590
  readonly STARGATE_ETHEREUM: "stargate.ethereum";
591
591
  readonly STARGATE_OPTIMISM: "stargate.optimism";
592
592
  readonly STARGATE_RARI: "stargate.rari";
@@ -556,7 +556,7 @@ exports.BridgeTarget = {
556
556
  STARGATE_AURORA: 'stargate.aurora',
557
557
  STARGATE_AVALANCHE: 'stargate.avalanche',
558
558
  STARGATE_BASE: 'stargate.base',
559
- STARGATE_BNB: 'stargate.bnb',
559
+ STARGATE_BERACHAIN: 'stargate.berachain',
560
560
  STARGATE_ETHEREUM: 'stargate.ethereum',
561
561
  STARGATE_OPTIMISM: 'stargate.optimism',
562
562
  STARGATE_RARI: 'stargate.rari',
@@ -67,6 +67,60 @@ export interface KatanaPerpsExchange {
67
67
  * @internal
68
68
  */
69
69
  withdrawEnabled?: boolean;
70
+ bridgeAdapters: {
71
+ /** Address of the v1 local deposit adapter contract on Katana */
72
+ localDepositAdapterV1KatanaContractAddress: string;
73
+ /** Address of the v1 loopback adapter contract on Katana */
74
+ loopbackBridgeAdapterV1KatanaContractAddress: string;
75
+ /** Address of the v1 Stargate bridge adapter contract on Katana */
76
+ stargateBridgeAdapterV1KatanaContractAddress: string;
77
+ /** Address of the v1 Stargate cross-chain forwarder contract on Ethereum */
78
+ stargateBridgeForwarderV1EthereumContractAddress: string;
79
+ /** Address of the vbUSDC OFT adapter contract on Ethereum */
80
+ vbUsdcOFTAdapterEthereumContractAddress: string;
81
+ /** Address of the vbUSDC OVault composer contract on Ethereum */
82
+ vbUsdcVaultComposerSyncEthereumContractAddress: string;
83
+ };
84
+ vaults: {
85
+ /**
86
+ * Vault creation fee
87
+ * @internal
88
+ */
89
+ vaultCreationFee: string;
90
+ /**
91
+ * Vault deposit fee
92
+ * @internal
93
+ */
94
+ vaultDepositFee: string;
95
+ /**
96
+ * Vault withdrawal fee
97
+ * @internal
98
+ */
99
+ vaultWithdrawalFee: string;
100
+ /**
101
+ * Minimum deposit required to create a vault
102
+ * @internal
103
+ */
104
+ vaultCreationMinimum: string;
105
+ /**
106
+ * Minimum deposit quantity
107
+ * @internal
108
+ */
109
+ vaultDepositMinimum: string;
110
+ /**
111
+ * Minimum withdrawal and withdrawal dust quantity
112
+ * @internal
113
+ */
114
+ vaultWithdrawalMinimum: string;
115
+ /**
116
+ * Address of Fixed Income Vault Provider V1 contract
117
+ */
118
+ fixedIncomeVaultProviderV1ContractAddress: string;
119
+ /**
120
+ * Address of Fixed Income Vault Provider aggregator V1 contract
121
+ */
122
+ fixedIncomeVaultProviderStateAggregatorV1ContractAddress: string;
123
+ };
70
124
  }
71
125
  /**
72
126
  * @see docs [API Documentation](https://api-docs-v1-perps.katana.network/#get-exchange)
@@ -1 +1 @@
1
- {"version":3,"file":"GetExchange.d.ts","sourceRoot":"","sources":["../../../../src/types/rest/endpoints/GetExchange.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,sBAAsB;CAAG;AAE1C;;;;;;;;GAQG;AACH,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oDAAoD;IACpD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iDAAiD;IACjD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iDAAiD;IACjD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uCAAuC;IACvC,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC"}
1
+ {"version":3,"file":"GetExchange.d.ts","sourceRoot":"","sources":["../../../../src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GG;QACH,eAAe,EAAE,MAAM,CAAC;QACxB;;;WAGG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B;;;WAGG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAC7B;;;WAGG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAC5B;;;WAGG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAC/B;;WAEG;QACH,yCAAyC,EAAE,MAAM,CAAC;QAClD;;WAEG;QACH,wDAAwD,EAAE,MAAM,CAAC;KAClE,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC"}
@@ -11,6 +11,8 @@ import type { BridgeTarget } from '@katanaperps/katana-perps-sdk/types';
11
11
  export interface KatanaPerpsGasFees {
12
12
  withdrawal: {
13
13
  [K in BridgeTarget]?: string;
14
+ } & {
15
+ ['stargate.maximumWithdrawal']: string;
14
16
  };
15
17
  }
16
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"GetGasFees.d.ts","sourceRoot":"","sources":["../../../../src/types/rest/endpoints/GetGasFees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAExE;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE;SACT,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,MAAM;KAC7B,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CAAC"}
1
+ {"version":3,"file":"GetGasFees.d.ts","sourceRoot":"","sources":["../../../../src/types/rest/endpoints/GetGasFees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAExE;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE;SACT,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,MAAM;KAC7B,GAAG;QACF,CAAC,4BAA4B,CAAC,EAAE,MAAM,CAAC;KACxC,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CAAC"}
@@ -72,6 +72,14 @@ export interface KatanaPerpsVault {
72
72
  * Manager wallet address
73
73
  */
74
74
  manager: string;
75
+ /**
76
+ * true if vault was exited on-chain
77
+ */
78
+ isExited: boolean;
79
+ /**
80
+ * true if vault manager wallet was liquidated
81
+ */
82
+ isLiquidated: boolean;
75
83
  /**
76
84
  * true if a new configuration is awaiting application
77
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../src/types/rest/endpoints/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG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AAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../src/types/rest/endpoints/internal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;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