@katanaperps/katana-perps-sdk 1.0.0 → 1.0.2-beta.1
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.
- package/README.md +1 -1
- package/dist/abis/ExchangeLayerZeroAdapter_v1.json +728 -0
- package/dist/abis/IVaultComposerSync.json +537 -0
- package/dist/abis/KatanaPerpsStargateForwarder_v1.json +563 -0
- package/dist/bridge/config.d.ts +46 -57
- package/dist/bridge/config.d.ts.map +1 -1
- package/dist/bridge/config.js +39 -48
- package/dist/bridge/deposit.d.ts +23 -3
- package/dist/bridge/deposit.d.ts.map +1 -1
- package/dist/bridge/deposit.js +114 -42
- package/dist/bridge/utils.d.ts +26 -32
- package/dist/bridge/utils.d.ts.map +1 -1
- package/dist/bridge/withdraw.d.ts +1 -1
- package/dist/bridge/withdraw.d.ts.map +1 -1
- package/dist/bridge/withdraw.js +13 -32
- package/dist/client/rest/authenticated.d.ts +1 -0
- package/dist/client/rest/authenticated.d.ts.map +1 -1
- package/dist/client/rest/authenticated.js +24 -13
- package/dist/client/rest/public.d.ts +23 -0
- package/dist/client/rest/public.d.ts.map +1 -1
- package/dist/client/rest/public.js +25 -0
- package/dist/typechain-types/{ExchangeLayerZeroAdapter_v3.d.ts → ExchangeLayerZeroAdapter_v1.d.ts} +32 -37
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v1.d.ts.map +1 -0
- package/dist/typechain-types/IVaultComposerSync.d.ts +247 -0
- package/dist/typechain-types/IVaultComposerSync.d.ts.map +1 -0
- package/dist/typechain-types/{KumaStargateForwarder_v2.d.ts → KatanaPerpsStargateForwarder_v1.d.ts} +38 -14
- package/dist/typechain-types/KatanaPerpsStargateForwarder_v1.d.ts.map +1 -0
- package/dist/typechain-types/factories/{ExchangeLayerZeroAdapter_v3__factory.d.ts → ExchangeLayerZeroAdapter_v1__factory.d.ts} +62 -36
- package/dist/typechain-types/factories/{ExchangeLayerZeroAdapter_v3__factory.d.ts.map → ExchangeLayerZeroAdapter_v1__factory.d.ts.map} +1 -1
- package/dist/typechain-types/factories/{ExchangeLayerZeroAdapter_v3__factory.js → ExchangeLayerZeroAdapter_v1__factory.js} +77 -42
- package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts +422 -0
- package/dist/typechain-types/factories/IVaultComposerSync__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/IVaultComposerSync__factory.js +554 -0
- package/dist/typechain-types/factories/{KumaStargateForwarder_v2__factory.d.ts → KatanaPerpsStargateForwarder_v1__factory.d.ts} +103 -31
- package/dist/typechain-types/factories/KatanaPerpsStargateForwarder_v1__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/{KumaStargateForwarder_v2__factory.js → KatanaPerpsStargateForwarder_v1__factory.js} +125 -31
- package/dist/typechain-types/factories/index.d.ts +3 -0
- package/dist/typechain-types/factories/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/index.js +7 -1
- package/dist/typechain-types/index.d.ts +6 -0
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +7 -1
- package/dist/types/enums/request.d.ts +2 -4
- package/dist/types/enums/request.d.ts.map +1 -1
- package/dist/types/enums/request.js +1 -2
- package/dist/types/rest/endpoints/GetExchange.d.ts +10 -0
- package/dist/types/rest/endpoints/GetExchange.d.ts.map +1 -1
- package/dist/types/rest/endpoints/GetFundingRateSamples.d.ts +40 -0
- package/dist/types/rest/endpoints/GetFundingRateSamples.d.ts.map +1 -0
- package/dist/types/rest/endpoints/GetGasFees.d.ts +2 -0
- package/dist/types/rest/endpoints/GetGasFees.d.ts.map +1 -1
- package/dist/types/rest/endpoints/index.d.ts +1 -0
- package/dist/types/rest/endpoints/index.d.ts.map +1 -1
- package/dist/types/rest/endpoints/index.js +1 -0
- package/dist/types/rest/endpoints/internal.d.ts +3 -2
- package/dist/types/rest/endpoints/internal.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts +0 -253
- package/dist/typechain-types/ExchangeLayerZeroAdapter.d.ts.map +0 -1
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts +0 -338
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v2.d.ts.map +0 -1
- package/dist/typechain-types/ExchangeLayerZeroAdapter_v3.d.ts.map +0 -1
- package/dist/typechain-types/Exchange_v2.d.ts +0 -2148
- package/dist/typechain-types/Exchange_v2.d.ts.map +0 -1
- package/dist/typechain-types/KumaStargateForwarder_v1.d.ts +0 -252
- package/dist/typechain-types/KumaStargateForwarder_v1.d.ts.map +0 -1
- package/dist/typechain-types/KumaStargateForwarder_v1.js +0 -2
- package/dist/typechain-types/KumaStargateForwarder_v2.d.ts.map +0 -1
- package/dist/typechain-types/KumaStargateForwarder_v2.js +0 -2
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts +0 -359
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter__factory.js +0 -471
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts +0 -419
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/ExchangeLayerZeroAdapter_v2__factory.js +0 -545
- package/dist/typechain-types/factories/Exchange_v2__factory.d.ts +0 -2832
- package/dist/typechain-types/factories/Exchange_v2__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/Exchange_v2__factory.js +0 -3636
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts +0 -354
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.d.ts.map +0 -1
- package/dist/typechain-types/factories/KumaStargateForwarder_v1__factory.js +0 -464
- package/dist/typechain-types/factories/KumaStargateForwarder_v2__factory.d.ts.map +0 -1
- /package/dist/typechain-types/{ExchangeLayerZeroAdapter.js → ExchangeLayerZeroAdapter_v1.js} +0 -0
- /package/dist/typechain-types/{ExchangeLayerZeroAdapter_v2.js → IVaultComposerSync.js} +0 -0
- /package/dist/typechain-types/{ExchangeLayerZeroAdapter_v3.js → KatanaPerpsStargateForwarder_v1.js} +0 -0
- /package/dist/{typechain-types/Exchange_v2.js → types/rest/endpoints/GetFundingRateSamples.js} +0 -0
|
@@ -1,42 +1,62 @@
|
|
|
1
1
|
import { type ContractRunner } from 'ethers';
|
|
2
|
-
import type {
|
|
3
|
-
export declare class
|
|
2
|
+
import type { KatanaPerpsStargateForwarder_v1, KatanaPerpsStargateForwarder_v1Interface } from '../KatanaPerpsStargateForwarder_v1';
|
|
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: "
|
|
27
|
+
readonly name: "minimumDepositNativeDropQuantityMultiplier_";
|
|
16
28
|
readonly type: "uint64";
|
|
17
29
|
}, {
|
|
18
30
|
readonly internalType: "uint64";
|
|
19
|
-
readonly name: "
|
|
31
|
+
readonly name: "minimumForwardQuantityMultiplier_";
|
|
20
32
|
readonly type: "uint64";
|
|
21
33
|
}, {
|
|
22
34
|
readonly internalType: "address";
|
|
23
|
-
readonly name: "
|
|
35
|
+
readonly name: "stargate_";
|
|
24
36
|
readonly type: "address";
|
|
25
37
|
}, {
|
|
26
38
|
readonly internalType: "address";
|
|
27
|
-
readonly name: "
|
|
39
|
+
readonly name: "usdc_";
|
|
28
40
|
readonly type: "address";
|
|
29
41
|
}, {
|
|
30
42
|
readonly internalType: "address";
|
|
31
|
-
readonly name: "
|
|
43
|
+
readonly name: "vbUSDC_";
|
|
32
44
|
readonly type: "address";
|
|
33
45
|
}, {
|
|
34
|
-
readonly internalType: "
|
|
35
|
-
readonly name: "
|
|
36
|
-
readonly type: "
|
|
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 KumaStargateForwarder_v2__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 KumaStargateForwarder_v2__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";
|
|
@@ -144,6 +186,26 @@ export declare class KumaStargateForwarder_v2__factory {
|
|
|
144
186
|
}];
|
|
145
187
|
readonly stateMutability: "view";
|
|
146
188
|
readonly type: "function";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [];
|
|
191
|
+
readonly name: "katanaComposeGasLimit";
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly internalType: "uint128";
|
|
194
|
+
readonly name: "";
|
|
195
|
+
readonly type: "uint128";
|
|
196
|
+
}];
|
|
197
|
+
readonly stateMutability: "view";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly name: "katanaEndpointId";
|
|
202
|
+
readonly outputs: readonly [{
|
|
203
|
+
readonly internalType: "uint32";
|
|
204
|
+
readonly name: "";
|
|
205
|
+
readonly type: "uint32";
|
|
206
|
+
}];
|
|
207
|
+
readonly stateMutability: "view";
|
|
208
|
+
readonly type: "function";
|
|
147
209
|
}, {
|
|
148
210
|
readonly inputs: readonly [];
|
|
149
211
|
readonly name: "loadDepositGasFeeInAssetUnits";
|
|
@@ -276,6 +338,16 @@ export declare class KumaStargateForwarder_v2__factory {
|
|
|
276
338
|
readonly outputs: readonly [];
|
|
277
339
|
readonly stateMutability: "nonpayable";
|
|
278
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";
|
|
279
351
|
}, {
|
|
280
352
|
readonly inputs: readonly [{
|
|
281
353
|
readonly internalType: "uint64";
|
|
@@ -326,33 +398,19 @@ export declare class KumaStargateForwarder_v2__factory {
|
|
|
326
398
|
}];
|
|
327
399
|
readonly stateMutability: "view";
|
|
328
400
|
readonly type: "function";
|
|
329
|
-
}, {
|
|
330
|
-
readonly inputs: readonly [{
|
|
331
|
-
readonly internalType: "address payable";
|
|
332
|
-
readonly name: "destinationWallet";
|
|
333
|
-
readonly type: "address";
|
|
334
|
-
}, {
|
|
335
|
-
readonly internalType: "uint256";
|
|
336
|
-
readonly name: "quantity";
|
|
337
|
-
readonly type: "uint256";
|
|
338
|
-
}];
|
|
339
|
-
readonly name: "withdrawNativeAsset";
|
|
340
|
-
readonly outputs: readonly [];
|
|
341
|
-
readonly stateMutability: "nonpayable";
|
|
342
|
-
readonly type: "function";
|
|
343
401
|
}, {
|
|
344
402
|
readonly inputs: readonly [];
|
|
345
|
-
readonly name: "
|
|
403
|
+
readonly name: "vbUSDC";
|
|
346
404
|
readonly outputs: readonly [{
|
|
347
|
-
readonly internalType: "
|
|
405
|
+
readonly internalType: "contract IERC4626";
|
|
348
406
|
readonly name: "";
|
|
349
|
-
readonly type: "
|
|
407
|
+
readonly type: "address";
|
|
350
408
|
}];
|
|
351
409
|
readonly stateMutability: "view";
|
|
352
410
|
readonly type: "function";
|
|
353
411
|
}, {
|
|
354
412
|
readonly inputs: readonly [];
|
|
355
|
-
readonly name: "
|
|
413
|
+
readonly name: "vbUSDCOFTAdapter";
|
|
356
414
|
readonly outputs: readonly [{
|
|
357
415
|
readonly internalType: "contract IOFT";
|
|
358
416
|
readonly name: "";
|
|
@@ -360,11 +418,25 @@ export declare class KumaStargateForwarder_v2__factory {
|
|
|
360
418
|
}];
|
|
361
419
|
readonly stateMutability: "view";
|
|
362
420
|
readonly type: "function";
|
|
421
|
+
}, {
|
|
422
|
+
readonly inputs: readonly [{
|
|
423
|
+
readonly internalType: "address payable";
|
|
424
|
+
readonly name: "destinationWallet";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}, {
|
|
427
|
+
readonly internalType: "uint256";
|
|
428
|
+
readonly name: "quantity";
|
|
429
|
+
readonly type: "uint256";
|
|
430
|
+
}];
|
|
431
|
+
readonly name: "withdrawNativeAsset";
|
|
432
|
+
readonly outputs: readonly [];
|
|
433
|
+
readonly stateMutability: "nonpayable";
|
|
434
|
+
readonly type: "function";
|
|
363
435
|
}, {
|
|
364
436
|
readonly stateMutability: "payable";
|
|
365
437
|
readonly type: "receive";
|
|
366
438
|
}];
|
|
367
|
-
static createInterface():
|
|
368
|
-
static connect(address: string, runner?: ContractRunner | null):
|
|
439
|
+
static createInterface(): KatanaPerpsStargateForwarder_v1Interface;
|
|
440
|
+
static connect(address: string, runner?: ContractRunner | null): KatanaPerpsStargateForwarder_v1;
|
|
369
441
|
}
|
|
370
|
-
//# sourceMappingURL=
|
|
442
|
+
//# sourceMappingURL=KatanaPerpsStargateForwarder_v1__factory.d.ts.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -3,16 +3,31 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.KatanaPerpsStargateForwarder_v1__factory = void 0;
|
|
7
7
|
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: '
|
|
38
|
+
name: 'minimumDepositNativeDropQuantityMultiplier_',
|
|
24
39
|
type: 'uint64',
|
|
25
40
|
},
|
|
26
41
|
{
|
|
27
42
|
internalType: 'uint64',
|
|
28
|
-
name: '
|
|
43
|
+
name: 'minimumForwardQuantityMultiplier_',
|
|
29
44
|
type: 'uint64',
|
|
30
45
|
},
|
|
31
46
|
{
|
|
32
47
|
internalType: 'address',
|
|
33
|
-
name: '
|
|
48
|
+
name: 'stargate_',
|
|
34
49
|
type: 'address',
|
|
35
50
|
},
|
|
36
51
|
{
|
|
37
52
|
internalType: 'address',
|
|
38
|
-
name: '
|
|
53
|
+
name: 'usdc_',
|
|
39
54
|
type: 'address',
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
57
|
internalType: 'address',
|
|
43
|
-
name: '
|
|
58
|
+
name: 'vbUSDC_',
|
|
44
59
|
type: 'address',
|
|
45
60
|
},
|
|
46
61
|
{
|
|
47
|
-
internalType: '
|
|
48
|
-
name: '
|
|
49
|
-
type: '
|
|
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',
|
|
@@ -189,6 +244,32 @@ const _abi = [
|
|
|
189
244
|
stateMutability: 'view',
|
|
190
245
|
type: 'function',
|
|
191
246
|
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [],
|
|
249
|
+
name: 'katanaComposeGasLimit',
|
|
250
|
+
outputs: [
|
|
251
|
+
{
|
|
252
|
+
internalType: 'uint128',
|
|
253
|
+
name: '',
|
|
254
|
+
type: 'uint128',
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
stateMutability: 'view',
|
|
258
|
+
type: 'function',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
inputs: [],
|
|
262
|
+
name: 'katanaEndpointId',
|
|
263
|
+
outputs: [
|
|
264
|
+
{
|
|
265
|
+
internalType: 'uint32',
|
|
266
|
+
name: '',
|
|
267
|
+
type: 'uint32',
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
stateMutability: 'view',
|
|
271
|
+
type: 'function',
|
|
272
|
+
},
|
|
192
273
|
{
|
|
193
274
|
inputs: [],
|
|
194
275
|
name: 'loadDepositGasFeeInAssetUnits',
|
|
@@ -360,6 +441,19 @@ const _abi = [
|
|
|
360
441
|
stateMutability: 'nonpayable',
|
|
361
442
|
type: 'function',
|
|
362
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
|
+
},
|
|
363
457
|
{
|
|
364
458
|
inputs: [
|
|
365
459
|
{
|
|
@@ -426,47 +520,47 @@ const _abi = [
|
|
|
426
520
|
type: 'function',
|
|
427
521
|
},
|
|
428
522
|
{
|
|
429
|
-
inputs: [
|
|
523
|
+
inputs: [],
|
|
524
|
+
name: 'vbUSDC',
|
|
525
|
+
outputs: [
|
|
430
526
|
{
|
|
431
|
-
internalType: '
|
|
432
|
-
name: '
|
|
527
|
+
internalType: 'contract IERC4626',
|
|
528
|
+
name: '',
|
|
433
529
|
type: 'address',
|
|
434
530
|
},
|
|
435
|
-
{
|
|
436
|
-
internalType: 'uint256',
|
|
437
|
-
name: 'quantity',
|
|
438
|
-
type: 'uint256',
|
|
439
|
-
},
|
|
440
531
|
],
|
|
441
|
-
|
|
442
|
-
outputs: [],
|
|
443
|
-
stateMutability: 'nonpayable',
|
|
532
|
+
stateMutability: 'view',
|
|
444
533
|
type: 'function',
|
|
445
534
|
},
|
|
446
535
|
{
|
|
447
536
|
inputs: [],
|
|
448
|
-
name: '
|
|
537
|
+
name: 'vbUSDCOFTAdapter',
|
|
449
538
|
outputs: [
|
|
450
539
|
{
|
|
451
|
-
internalType: '
|
|
540
|
+
internalType: 'contract IOFT',
|
|
452
541
|
name: '',
|
|
453
|
-
type: '
|
|
542
|
+
type: 'address',
|
|
454
543
|
},
|
|
455
544
|
],
|
|
456
545
|
stateMutability: 'view',
|
|
457
546
|
type: 'function',
|
|
458
547
|
},
|
|
459
548
|
{
|
|
460
|
-
inputs: [
|
|
461
|
-
name: 'xchainOFT',
|
|
462
|
-
outputs: [
|
|
549
|
+
inputs: [
|
|
463
550
|
{
|
|
464
|
-
internalType: '
|
|
465
|
-
name: '',
|
|
551
|
+
internalType: 'address payable',
|
|
552
|
+
name: 'destinationWallet',
|
|
466
553
|
type: 'address',
|
|
467
554
|
},
|
|
555
|
+
{
|
|
556
|
+
internalType: 'uint256',
|
|
557
|
+
name: 'quantity',
|
|
558
|
+
type: 'uint256',
|
|
559
|
+
},
|
|
468
560
|
],
|
|
469
|
-
|
|
561
|
+
name: 'withdrawNativeAsset',
|
|
562
|
+
outputs: [],
|
|
563
|
+
stateMutability: 'nonpayable',
|
|
470
564
|
type: 'function',
|
|
471
565
|
},
|
|
472
566
|
{
|
|
@@ -474,7 +568,7 @@ const _abi = [
|
|
|
474
568
|
type: 'receive',
|
|
475
569
|
},
|
|
476
570
|
];
|
|
477
|
-
class
|
|
571
|
+
class KatanaPerpsStargateForwarder_v1__factory {
|
|
478
572
|
static abi = _abi;
|
|
479
573
|
static createInterface() {
|
|
480
574
|
return new ethers_1.Interface(_abi);
|
|
@@ -483,4 +577,4 @@ class KumaStargateForwarder_v2__factory {
|
|
|
483
577
|
return new ethers_1.Contract(address, _abi, runner);
|
|
484
578
|
}
|
|
485
579
|
}
|
|
486
|
-
exports.
|
|
580
|
+
exports.KatanaPerpsStargateForwarder_v1__factory = KatanaPerpsStargateForwarder_v1__factory;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export { ERC20__factory } from './ERC20__factory';
|
|
2
2
|
export { EarningsEscrow__factory } from './EarningsEscrow__factory';
|
|
3
|
+
export { ExchangeLayerZeroAdapter_v1__factory } from './ExchangeLayerZeroAdapter_v1__factory';
|
|
3
4
|
export { Exchange_v1__factory } from './Exchange_v1__factory';
|
|
4
5
|
export { IOFT__factory } from './IOFT__factory';
|
|
6
|
+
export { IVaultComposerSync__factory } from './IVaultComposerSync__factory';
|
|
7
|
+
export { KatanaPerpsStargateForwarder_v1__factory } from './KatanaPerpsStargateForwarder_v1__factory';
|
|
5
8
|
//# 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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,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,12 +2,18 @@
|
|
|
2
2
|
/* Autogenerated file. Do not edit manually. */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.IOFT__factory = exports.Exchange_v1__factory = exports.EarningsEscrow__factory = exports.ERC20__factory = void 0;
|
|
5
|
+
exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.Exchange_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
|
+
var ExchangeLayerZeroAdapter_v1__factory_1 = require("./ExchangeLayerZeroAdapter_v1__factory");
|
|
11
|
+
Object.defineProperty(exports, "ExchangeLayerZeroAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLayerZeroAdapter_v1__factory_1.ExchangeLayerZeroAdapter_v1__factory; } });
|
|
10
12
|
var Exchange_v1__factory_1 = require("./Exchange_v1__factory");
|
|
11
13
|
Object.defineProperty(exports, "Exchange_v1__factory", { enumerable: true, get: function () { return Exchange_v1__factory_1.Exchange_v1__factory; } });
|
|
12
14
|
var IOFT__factory_1 = require("./IOFT__factory");
|
|
13
15
|
Object.defineProperty(exports, "IOFT__factory", { enumerable: true, get: function () { return IOFT__factory_1.IOFT__factory; } });
|
|
16
|
+
var IVaultComposerSync__factory_1 = require("./IVaultComposerSync__factory");
|
|
17
|
+
Object.defineProperty(exports, "IVaultComposerSync__factory", { enumerable: true, get: function () { return IVaultComposerSync__factory_1.IVaultComposerSync__factory; } });
|
|
18
|
+
var KatanaPerpsStargateForwarder_v1__factory_1 = require("./KatanaPerpsStargateForwarder_v1__factory");
|
|
19
|
+
Object.defineProperty(exports, "KatanaPerpsStargateForwarder_v1__factory", { enumerable: true, get: function () { return KatanaPerpsStargateForwarder_v1__factory_1.KatanaPerpsStargateForwarder_v1__factory; } });
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export type { ERC20 } from './ERC20';
|
|
2
2
|
export type { EarningsEscrow } from './EarningsEscrow';
|
|
3
|
+
export type { ExchangeLayerZeroAdapter_v1 } from './ExchangeLayerZeroAdapter_v1';
|
|
3
4
|
export type { Exchange_v1 } from './Exchange_v1';
|
|
4
5
|
export type { IOFT } from './IOFT';
|
|
6
|
+
export type { IVaultComposerSync } from './IVaultComposerSync';
|
|
7
|
+
export type { KatanaPerpsStargateForwarder_v1 } from './KatanaPerpsStargateForwarder_v1';
|
|
5
8
|
export * as factories from './factories';
|
|
6
9
|
export { EarningsEscrow__factory } from './factories/EarningsEscrow__factory';
|
|
7
10
|
export { ERC20__factory } from './factories/ERC20__factory';
|
|
8
11
|
export { Exchange_v1__factory } from './factories/Exchange_v1__factory';
|
|
12
|
+
export { ExchangeLayerZeroAdapter_v1__factory } from './factories/ExchangeLayerZeroAdapter_v1__factory';
|
|
9
13
|
export { IOFT__factory } from './factories/IOFT__factory';
|
|
14
|
+
export { IVaultComposerSync__factory } from './factories/IVaultComposerSync__factory';
|
|
15
|
+
export { KatanaPerpsStargateForwarder_v1__factory } from './factories/KatanaPerpsStargateForwarder_v1__factory';
|
|
10
16
|
//# 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,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,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,aAAa,EAAE,MAAM,2BAA2B,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,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,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,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.IOFT__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.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");
|
|
@@ -11,5 +11,11 @@ var ERC20__factory_1 = require("./factories/ERC20__factory");
|
|
|
11
11
|
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
12
12
|
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
|
+
var ExchangeLayerZeroAdapter_v1__factory_1 = require("./factories/ExchangeLayerZeroAdapter_v1__factory");
|
|
15
|
+
Object.defineProperty(exports, "ExchangeLayerZeroAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLayerZeroAdapter_v1__factory_1.ExchangeLayerZeroAdapter_v1__factory; } });
|
|
14
16
|
var IOFT__factory_1 = require("./factories/IOFT__factory");
|
|
15
17
|
Object.defineProperty(exports, "IOFT__factory", { enumerable: true, get: function () { return IOFT__factory_1.IOFT__factory; } });
|
|
18
|
+
var IVaultComposerSync__factory_1 = require("./factories/IVaultComposerSync__factory");
|
|
19
|
+
Object.defineProperty(exports, "IVaultComposerSync__factory", { enumerable: true, get: function () { return IVaultComposerSync__factory_1.IVaultComposerSync__factory; } });
|
|
20
|
+
var KatanaPerpsStargateForwarder_v1__factory_1 = require("./factories/KatanaPerpsStargateForwarder_v1__factory");
|
|
21
|
+
Object.defineProperty(exports, "KatanaPerpsStargateForwarder_v1__factory", { enumerable: true, get: function () { return KatanaPerpsStargateForwarder_v1__factory_1.KatanaPerpsStargateForwarder_v1__factory; } });
|
|
@@ -559,12 +559,11 @@ export type PayoutProgram = (typeof PayoutProgram)[keyof typeof PayoutProgram];
|
|
|
559
559
|
*/
|
|
560
560
|
export declare const BridgeTarget: {
|
|
561
561
|
readonly KATANA_KATANA: "katana.katana";
|
|
562
|
-
readonly LAYERZERO_BERACHAIN: "stargate.berachain";
|
|
563
562
|
readonly STARGATE_ARBITRUM: "stargate.arbitrum";
|
|
564
563
|
readonly STARGATE_AURORA: "stargate.aurora";
|
|
565
564
|
readonly STARGATE_AVALANCHE: "stargate.avalanche";
|
|
566
565
|
readonly STARGATE_BASE: "stargate.base";
|
|
567
|
-
readonly
|
|
566
|
+
readonly STARGATE_BERACHAIN: "stargate.berachain";
|
|
568
567
|
readonly STARGATE_ETHEREUM: "stargate.ethereum";
|
|
569
568
|
readonly STARGATE_OPTIMISM: "stargate.optimism";
|
|
570
569
|
readonly STARGATE_RARI: "stargate.rari";
|
|
@@ -583,12 +582,11 @@ export declare const DepositSource: {
|
|
|
583
582
|
readonly KATANA_REFERRAL_REWARD: "katana.referralReward";
|
|
584
583
|
readonly KATANA_WALLET_BANKROLL: "katana.walletBankroll";
|
|
585
584
|
readonly KATANA_KATANA: "katana.katana";
|
|
586
|
-
readonly LAYERZERO_BERACHAIN: "stargate.berachain";
|
|
587
585
|
readonly STARGATE_ARBITRUM: "stargate.arbitrum";
|
|
588
586
|
readonly STARGATE_AURORA: "stargate.aurora";
|
|
589
587
|
readonly STARGATE_AVALANCHE: "stargate.avalanche";
|
|
590
588
|
readonly STARGATE_BASE: "stargate.base";
|
|
591
|
-
readonly
|
|
589
|
+
readonly STARGATE_BERACHAIN: "stargate.berachain";
|
|
592
590
|
readonly STARGATE_ETHEREUM: "stargate.ethereum";
|
|
593
591
|
readonly STARGATE_OPTIMISM: "stargate.optimism";
|
|
594
592
|
readonly STARGATE_RARI: "stargate.rari";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/types/enums/request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,cAAc;IACzB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;EAEM,CAAC;AAEZ,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;IACtB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;;EAEM,CAAC;AAEZ,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE;;;;;;;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;OAQG;;IAEH;;;;;OAKG;;IAEH;;;;;;;;;;OAUG;;EAEM,CAAC;AAEZ,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -552,12 +552,11 @@ exports.PayoutProgram = Object.freeze({
|
|
|
552
552
|
*/
|
|
553
553
|
exports.BridgeTarget = {
|
|
554
554
|
KATANA_KATANA: 'katana.katana',
|
|
555
|
-
LAYERZERO_BERACHAIN: 'stargate.berachain',
|
|
556
555
|
STARGATE_ARBITRUM: 'stargate.arbitrum',
|
|
557
556
|
STARGATE_AURORA: 'stargate.aurora',
|
|
558
557
|
STARGATE_AVALANCHE: 'stargate.avalanche',
|
|
559
558
|
STARGATE_BASE: 'stargate.base',
|
|
560
|
-
|
|
559
|
+
STARGATE_BERACHAIN: 'stargate.berachain',
|
|
561
560
|
STARGATE_ETHEREUM: 'stargate.ethereum',
|
|
562
561
|
STARGATE_OPTIMISM: 'stargate.optimism',
|
|
563
562
|
STARGATE_RARI: 'stargate.rari',
|
|
@@ -67,6 +67,16 @@ export interface KatanaPerpsExchange {
|
|
|
67
67
|
* @internal
|
|
68
68
|
*/
|
|
69
69
|
withdrawEnabled?: boolean;
|
|
70
|
+
bridgeAdapters: {
|
|
71
|
+
/** Address of the v1 Stargate bridge adapter contract on Katana */
|
|
72
|
+
stargateBridgeAdapterV1KatanaContractAddress: string;
|
|
73
|
+
/** Address of the v1 Stargate cross-chain forwarder contract on Ethereum */
|
|
74
|
+
stargateBridgeForwarderV1EthereumContractAddress: string;
|
|
75
|
+
/** Address of the vbUSDC OFT adapter contract on Ethereum */
|
|
76
|
+
vbUsdcOFTAdapterEthereumContractAddress: string;
|
|
77
|
+
/** Address of the vbUSDC OVault composer contract on Ethereum */
|
|
78
|
+
vbUsdcVaultComposerSyncEthereumContractAddress: string;
|
|
79
|
+
};
|
|
70
80
|
}
|
|
71
81
|
/**
|
|
72
82
|
* @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;
|
|
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;IAC1B,cAAc,EAAE;QACd,mEAAmE;QACnE,4CAA4C,EAAE,MAAM,CAAC;QACrD,4EAA4E;QAC5E,gDAAgD,EAAE,MAAM,CAAC;QACzD,6DAA6D;QAC7D,uCAAuC,EAAE,MAAM,CAAC;QAChD,iEAAiE;QACjE,8CAA8C,EAAE,MAAM,CAAC;KACxD,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC"}
|