@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,6 +1,6 @@
|
|
|
1
1
|
import { type ContractRunner } from 'ethers';
|
|
2
|
-
import type {
|
|
3
|
-
export declare class
|
|
2
|
+
import type { ExchangeLayerZeroAdapter_v1, ExchangeLayerZeroAdapter_v1Interface } from '../ExchangeLayerZeroAdapter_v1';
|
|
3
|
+
export declare class ExchangeLayerZeroAdapter_v1__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
5
|
readonly inputs: readonly [{
|
|
6
6
|
readonly internalType: "uint64";
|
|
@@ -10,9 +10,13 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
10
10
|
readonly internalType: "uint64";
|
|
11
11
|
readonly name: "addManagedAccountManagerWalletNativeDropQuantity_";
|
|
12
12
|
readonly type: "uint64";
|
|
13
|
+
}, {
|
|
14
|
+
readonly internalType: "uint128";
|
|
15
|
+
readonly name: "ethereumComposeGasLimit_";
|
|
16
|
+
readonly type: "uint128";
|
|
13
17
|
}, {
|
|
14
18
|
readonly internalType: "uint32";
|
|
15
|
-
readonly name: "
|
|
19
|
+
readonly name: "ethereumEndpointId_";
|
|
16
20
|
readonly type: "uint32";
|
|
17
21
|
}, {
|
|
18
22
|
readonly internalType: "uint64";
|
|
@@ -45,6 +49,14 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
45
49
|
}];
|
|
46
50
|
readonly stateMutability: "nonpayable";
|
|
47
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";
|
|
48
60
|
}, {
|
|
49
61
|
readonly inputs: readonly [{
|
|
50
62
|
readonly internalType: "address";
|
|
@@ -61,6 +73,18 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
61
73
|
}];
|
|
62
74
|
readonly name: "OwnableUnauthorizedAccount";
|
|
63
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";
|
|
64
88
|
}, {
|
|
65
89
|
readonly anonymous: false;
|
|
66
90
|
readonly inputs: readonly [{
|
|
@@ -176,16 +200,6 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
176
200
|
}];
|
|
177
201
|
readonly stateMutability: "view";
|
|
178
202
|
readonly type: "function";
|
|
179
|
-
}, {
|
|
180
|
-
readonly inputs: readonly [];
|
|
181
|
-
readonly name: "PIP_PRICE_MULTIPLIER";
|
|
182
|
-
readonly outputs: readonly [{
|
|
183
|
-
readonly internalType: "uint64";
|
|
184
|
-
readonly name: "";
|
|
185
|
-
readonly type: "uint64";
|
|
186
|
-
}];
|
|
187
|
-
readonly stateMutability: "view";
|
|
188
|
-
readonly type: "function";
|
|
189
203
|
}, {
|
|
190
204
|
readonly inputs: readonly [];
|
|
191
205
|
readonly name: "acceptOwnership";
|
|
@@ -212,16 +226,6 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
212
226
|
}];
|
|
213
227
|
readonly stateMutability: "view";
|
|
214
228
|
readonly type: "function";
|
|
215
|
-
}, {
|
|
216
|
-
readonly inputs: readonly [];
|
|
217
|
-
readonly name: "berachainEndpointId";
|
|
218
|
-
readonly outputs: readonly [{
|
|
219
|
-
readonly internalType: "uint32";
|
|
220
|
-
readonly name: "";
|
|
221
|
-
readonly type: "uint32";
|
|
222
|
-
}];
|
|
223
|
-
readonly stateMutability: "view";
|
|
224
|
-
readonly type: "function";
|
|
225
229
|
}, {
|
|
226
230
|
readonly inputs: readonly [];
|
|
227
231
|
readonly name: "depositToManagedAccountFeeQuantityInAssetUnits";
|
|
@@ -234,10 +238,6 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
234
238
|
readonly type: "function";
|
|
235
239
|
}, {
|
|
236
240
|
readonly inputs: readonly [{
|
|
237
|
-
readonly internalType: "uint32";
|
|
238
|
-
readonly name: "destinationEndpointId";
|
|
239
|
-
readonly type: "uint32";
|
|
240
|
-
}, {
|
|
241
241
|
readonly internalType: "uint64";
|
|
242
242
|
readonly name: "quantity";
|
|
243
243
|
readonly type: "uint64";
|
|
@@ -258,6 +258,26 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
258
258
|
}];
|
|
259
259
|
readonly stateMutability: "view";
|
|
260
260
|
readonly type: "function";
|
|
261
|
+
}, {
|
|
262
|
+
readonly inputs: readonly [];
|
|
263
|
+
readonly name: "ethereumComposeGasLimit";
|
|
264
|
+
readonly outputs: readonly [{
|
|
265
|
+
readonly internalType: "uint128";
|
|
266
|
+
readonly name: "";
|
|
267
|
+
readonly type: "uint128";
|
|
268
|
+
}];
|
|
269
|
+
readonly stateMutability: "view";
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
}, {
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly name: "ethereumEndpointId";
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly internalType: "uint32";
|
|
276
|
+
readonly name: "";
|
|
277
|
+
readonly type: "uint32";
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
readonly type: "function";
|
|
261
281
|
}, {
|
|
262
282
|
readonly inputs: readonly [];
|
|
263
283
|
readonly name: "exchange";
|
|
@@ -290,14 +310,10 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
290
310
|
readonly type: "function";
|
|
291
311
|
}, {
|
|
292
312
|
readonly inputs: readonly [];
|
|
293
|
-
readonly name: "
|
|
313
|
+
readonly name: "loadEthereumWithdrawalGasFeeInAssetUnits";
|
|
294
314
|
readonly outputs: readonly [{
|
|
295
315
|
readonly internalType: "uint256";
|
|
296
|
-
readonly name: "
|
|
297
|
-
readonly type: "uint256";
|
|
298
|
-
}, {
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
|
-
readonly name: "gasFeeWithForwardInAssetUnits";
|
|
316
|
+
readonly name: "";
|
|
301
317
|
readonly type: "uint256";
|
|
302
318
|
}];
|
|
303
319
|
readonly stateMutability: "view";
|
|
@@ -454,6 +470,16 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
454
470
|
readonly outputs: readonly [];
|
|
455
471
|
readonly stateMutability: "nonpayable";
|
|
456
472
|
readonly type: "function";
|
|
473
|
+
}, {
|
|
474
|
+
readonly inputs: readonly [{
|
|
475
|
+
readonly internalType: "uint128";
|
|
476
|
+
readonly name: "newEthereumComposeGasLimit";
|
|
477
|
+
readonly type: "uint128";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "setEthereumComposeGasLimit";
|
|
480
|
+
readonly outputs: readonly [];
|
|
481
|
+
readonly stateMutability: "nonpayable";
|
|
482
|
+
readonly type: "function";
|
|
457
483
|
}, {
|
|
458
484
|
readonly inputs: readonly [{
|
|
459
485
|
readonly internalType: "uint64";
|
|
@@ -540,7 +566,7 @@ export declare class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
540
566
|
readonly stateMutability: "payable";
|
|
541
567
|
readonly type: "receive";
|
|
542
568
|
}];
|
|
543
|
-
static createInterface():
|
|
544
|
-
static connect(address: string, runner?: ContractRunner | null):
|
|
569
|
+
static createInterface(): ExchangeLayerZeroAdapter_v1Interface;
|
|
570
|
+
static connect(address: string, runner?: ContractRunner | null): ExchangeLayerZeroAdapter_v1;
|
|
545
571
|
}
|
|
546
|
-
//# sourceMappingURL=
|
|
572
|
+
//# sourceMappingURL=ExchangeLayerZeroAdapter_v1__factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"ExchangeLayerZeroAdapter_v1__factory.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/ExchangeLayerZeroAdapter_v1__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,gCAAgC,CAAC;AA2tBxC,qBAAa,oCAAoC;IAC/C,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oCAAoC;IAG9D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,2BAA2B;CAO/B"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.ExchangeLayerZeroAdapter_v1__factory = void 0;
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
@@ -18,9 +18,14 @@ const _abi = [
|
|
|
18
18
|
name: 'addManagedAccountManagerWalletNativeDropQuantity_',
|
|
19
19
|
type: 'uint64',
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
internalType: 'uint128',
|
|
23
|
+
name: 'ethereumComposeGasLimit_',
|
|
24
|
+
type: 'uint128',
|
|
25
|
+
},
|
|
21
26
|
{
|
|
22
27
|
internalType: 'uint32',
|
|
23
|
-
name: '
|
|
28
|
+
name: 'ethereumEndpointId_',
|
|
24
29
|
type: 'uint32',
|
|
25
30
|
},
|
|
26
31
|
{
|
|
@@ -62,6 +67,17 @@ const _abi = [
|
|
|
62
67
|
stateMutability: 'nonpayable',
|
|
63
68
|
type: 'constructor',
|
|
64
69
|
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: 'uint16',
|
|
74
|
+
name: 'optionType',
|
|
75
|
+
type: 'uint16',
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: 'InvalidOptionType',
|
|
79
|
+
type: 'error',
|
|
80
|
+
},
|
|
65
81
|
{
|
|
66
82
|
inputs: [
|
|
67
83
|
{
|
|
@@ -84,6 +100,22 @@ const _abi = [
|
|
|
84
100
|
name: 'OwnableUnauthorizedAccount',
|
|
85
101
|
type: 'error',
|
|
86
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
|
+
},
|
|
87
119
|
{
|
|
88
120
|
anonymous: false,
|
|
89
121
|
inputs: [
|
|
@@ -229,19 +261,6 @@ const _abi = [
|
|
|
229
261
|
stateMutability: 'view',
|
|
230
262
|
type: 'function',
|
|
231
263
|
},
|
|
232
|
-
{
|
|
233
|
-
inputs: [],
|
|
234
|
-
name: 'PIP_PRICE_MULTIPLIER',
|
|
235
|
-
outputs: [
|
|
236
|
-
{
|
|
237
|
-
internalType: 'uint64',
|
|
238
|
-
name: '',
|
|
239
|
-
type: 'uint64',
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
stateMutability: 'view',
|
|
243
|
-
type: 'function',
|
|
244
|
-
},
|
|
245
264
|
{
|
|
246
265
|
inputs: [],
|
|
247
266
|
name: 'acceptOwnership',
|
|
@@ -275,19 +294,6 @@ const _abi = [
|
|
|
275
294
|
stateMutability: 'view',
|
|
276
295
|
type: 'function',
|
|
277
296
|
},
|
|
278
|
-
{
|
|
279
|
-
inputs: [],
|
|
280
|
-
name: 'berachainEndpointId',
|
|
281
|
-
outputs: [
|
|
282
|
-
{
|
|
283
|
-
internalType: 'uint32',
|
|
284
|
-
name: '',
|
|
285
|
-
type: 'uint32',
|
|
286
|
-
},
|
|
287
|
-
],
|
|
288
|
-
stateMutability: 'view',
|
|
289
|
-
type: 'function',
|
|
290
|
-
},
|
|
291
297
|
{
|
|
292
298
|
inputs: [],
|
|
293
299
|
name: 'depositToManagedAccountFeeQuantityInAssetUnits',
|
|
@@ -303,11 +309,6 @@ const _abi = [
|
|
|
303
309
|
},
|
|
304
310
|
{
|
|
305
311
|
inputs: [
|
|
306
|
-
{
|
|
307
|
-
internalType: 'uint32',
|
|
308
|
-
name: 'destinationEndpointId',
|
|
309
|
-
type: 'uint32',
|
|
310
|
-
},
|
|
311
312
|
{
|
|
312
313
|
internalType: 'uint64',
|
|
313
314
|
name: 'quantity',
|
|
@@ -335,6 +336,32 @@ const _abi = [
|
|
|
335
336
|
stateMutability: 'view',
|
|
336
337
|
type: 'function',
|
|
337
338
|
},
|
|
339
|
+
{
|
|
340
|
+
inputs: [],
|
|
341
|
+
name: 'ethereumComposeGasLimit',
|
|
342
|
+
outputs: [
|
|
343
|
+
{
|
|
344
|
+
internalType: 'uint128',
|
|
345
|
+
name: '',
|
|
346
|
+
type: 'uint128',
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
stateMutability: 'view',
|
|
350
|
+
type: 'function',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [],
|
|
354
|
+
name: 'ethereumEndpointId',
|
|
355
|
+
outputs: [
|
|
356
|
+
{
|
|
357
|
+
internalType: 'uint32',
|
|
358
|
+
name: '',
|
|
359
|
+
type: 'uint32',
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
stateMutability: 'view',
|
|
363
|
+
type: 'function',
|
|
364
|
+
},
|
|
338
365
|
{
|
|
339
366
|
inputs: [],
|
|
340
367
|
name: 'exchange',
|
|
@@ -376,16 +403,11 @@ const _abi = [
|
|
|
376
403
|
},
|
|
377
404
|
{
|
|
378
405
|
inputs: [],
|
|
379
|
-
name: '
|
|
406
|
+
name: 'loadEthereumWithdrawalGasFeeInAssetUnits',
|
|
380
407
|
outputs: [
|
|
381
408
|
{
|
|
382
409
|
internalType: 'uint256',
|
|
383
|
-
name: '
|
|
384
|
-
type: 'uint256',
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
internalType: 'uint256',
|
|
388
|
-
name: 'gasFeeWithForwardInAssetUnits',
|
|
410
|
+
name: '',
|
|
389
411
|
type: 'uint256',
|
|
390
412
|
},
|
|
391
413
|
],
|
|
@@ -587,6 +609,19 @@ const _abi = [
|
|
|
587
609
|
stateMutability: 'nonpayable',
|
|
588
610
|
type: 'function',
|
|
589
611
|
},
|
|
612
|
+
{
|
|
613
|
+
inputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: 'uint128',
|
|
616
|
+
name: 'newEthereumComposeGasLimit',
|
|
617
|
+
type: 'uint128',
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
name: 'setEthereumComposeGasLimit',
|
|
621
|
+
outputs: [],
|
|
622
|
+
stateMutability: 'nonpayable',
|
|
623
|
+
type: 'function',
|
|
624
|
+
},
|
|
590
625
|
{
|
|
591
626
|
inputs: [
|
|
592
627
|
{
|
|
@@ -698,7 +733,7 @@ const _abi = [
|
|
|
698
733
|
type: 'receive',
|
|
699
734
|
},
|
|
700
735
|
];
|
|
701
|
-
class
|
|
736
|
+
class ExchangeLayerZeroAdapter_v1__factory {
|
|
702
737
|
static abi = _abi;
|
|
703
738
|
static createInterface() {
|
|
704
739
|
return new ethers_1.Interface(_abi);
|
|
@@ -707,4 +742,4 @@ class ExchangeLayerZeroAdapter_v3__factory {
|
|
|
707
742
|
return new ethers_1.Contract(address, _abi, runner);
|
|
708
743
|
}
|
|
709
744
|
}
|
|
710
|
-
exports.
|
|
745
|
+
exports.ExchangeLayerZeroAdapter_v1__factory = ExchangeLayerZeroAdapter_v1__factory;
|