@skip-go/client 1.6.0-alpha.0 → 1.6.0-alpha.2
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/dist/cjs/{chunk-GDDD6R2X.cjs → chunk-25TA7Z7R.cjs} +1 -0
- package/dist/cjs/index.cjs +23 -23
- package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +2 -2
- package/dist/esm/api/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getBridges.d.ts +3 -3
- package/dist/esm/api/getChains.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postBalances.d.ts +2 -2
- package/dist/esm/api/postMessages.d.ts +2 -2
- package/dist/esm/api/postMessagesDirect.d.ts +24 -1
- package/dist/esm/api/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRoute.d.ts +25 -2
- package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTransactionStatus.d.ts +2 -2
- package/dist/esm/{callbacks-1e6BnDot.d.ts → callbacks-DdC6QMlE.d.ts} +3 -3
- package/dist/esm/{chunk-A4HQEGYV.js → chunk-RH7PDDI5.js} +2 -1
- package/dist/esm/{client-types-Bz-WqtM3.d.ts → client-types-D03Tellv.d.ts} +1 -1
- package/dist/esm/{generateApi-Bi3W_Sti.d.ts → generateApi-Bv02Xt5y.d.ts} +1 -1
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
- package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
- package/dist/esm/public-functions/getRouteWithGasOnReceive.js +1 -1
- package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
- package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/waitForTransaction.d.ts +4 -4
- package/dist/esm/{setClientOptions-QO8p3yRr.d.ts → setClientOptions-CTwe8YVX.d.ts} +3 -3
- package/dist/esm/{swaggerTypes-Cvh0GDv-.d.ts → swaggerTypes-CzGbnX_b.d.ts} +19 -2
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk25TA7Z7R_cjs = require('./chunk-25TA7Z7R.cjs');
|
|
4
4
|
var chunkAVWWCQ5P_cjs = require('./chunk-AVWWCQ5P.cjs');
|
|
5
5
|
var chunkCK6CQWQU_cjs = require('./chunk-CK6CQWQU.cjs');
|
|
6
6
|
var chunk4BWE7SOV_cjs = require('./chunk-4BWE7SOV.cjs');
|
|
@@ -37,91 +37,91 @@ var chunkLJV45UGL_cjs = require('./chunk-LJV45UGL.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "AutopilotActionJson", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk25TA7Z7R_cjs.AutopilotActionJson; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "AxelarTransferStateJson", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk25TA7Z7R_cjs.AxelarTransferStateJson; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "AxelarTransferTypeJson", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk25TA7Z7R_cjs.AxelarTransferTypeJson; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "BridgeTypeJson", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk25TA7Z7R_cjs.BridgeTypeJson; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "CCTPTransferStateJson", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk25TA7Z7R_cjs.CCTPTransferStateJson; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "ChainTypeJson", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk25TA7Z7R_cjs.ChainTypeJson; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "ContractCallWithTokenErrorTypeJson", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk25TA7Z7R_cjs.ContractCallWithTokenErrorTypeJson; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "FeeBehaviorJson", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk25TA7Z7R_cjs.FeeBehaviorJson; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "FeeTypeJson", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk25TA7Z7R_cjs.FeeTypeJson; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "GoFastTransferStateJson", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk25TA7Z7R_cjs.GoFastTransferStateJson; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "HyperlaneTransferStateJson", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk25TA7Z7R_cjs.HyperlaneTransferStateJson; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "LayerZeroTransferStateJson", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk25TA7Z7R_cjs.LayerZeroTransferStateJson; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "OPInitTransferStateJson", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk25TA7Z7R_cjs.OPInitTransferStateJson; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "PacketErrorTypeJson", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk25TA7Z7R_cjs.PacketErrorTypeJson; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "ReasonJson", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunk25TA7Z7R_cjs.ReasonJson; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "RoutePriceWarningTypeJson", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk25TA7Z7R_cjs.RoutePriceWarningTypeJson; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "SendTokenErrorTypeJson", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk25TA7Z7R_cjs.SendTokenErrorTypeJson; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "StargateTransferStateJson", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunk25TA7Z7R_cjs.StargateTransferStateJson; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "StatusErrorTypeJson", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunk25TA7Z7R_cjs.StatusErrorTypeJson; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "TransactionStateJson", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk25TA7Z7R_cjs.TransactionStateJson; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "TransferStateJson", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk25TA7Z7R_cjs.TransferStateJson; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "getRouteWithGasOnReceive", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk25TA7Z7R_cjs.getRouteWithGasOnReceive; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "setClientOptions", {
|
|
127
127
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk25TA7Z7R_cjs = require('../chunk-25TA7Z7R.cjs');
|
|
4
4
|
require('../chunk-AVWWCQ5P.cjs');
|
|
5
5
|
require('../chunk-CK6CQWQU.cjs');
|
|
6
6
|
require('../chunk-4BWE7SOV.cjs');
|
|
@@ -37,5 +37,5 @@ require('../chunk-LJV45UGL.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "getRouteWithGasOnReceive", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk25TA7Z7R_cjs.getRouteWithGasOnReceive; }
|
|
41
41
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import {
|
|
2
|
+
import { bI as ContentType, B as BridgeType } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
|
|
4
4
|
declare const bridges: (options?: ({
|
|
5
5
|
cache?: RequestCache | undefined;
|
|
6
6
|
credentials?: RequestCredentials | undefined;
|
|
7
|
-
headers?: {
|
|
7
|
+
headers?: string[][] | {
|
|
8
8
|
[x: string]: string;
|
|
9
|
-
} |
|
|
9
|
+
} | {
|
|
10
10
|
append: {};
|
|
11
11
|
delete: {};
|
|
12
12
|
get: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { d as Reason, m as Asset } from '../swaggerTypes-
|
|
2
|
+
import { d as Reason, m as Asset } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
|
|
4
4
|
declare const assetsFromSource: (options?: ({
|
|
5
5
|
sourceAssetDenom: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
|
|
3
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
4
4
|
|
|
5
5
|
declare const balances: (options?: ({
|
|
6
6
|
chains?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { a as FeeType, B as BridgeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
3
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (request: MessagesRequest) => Promise<{
|
|
6
6
|
msgs?: ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-
|
|
2
|
+
import { i as AutopilotAction, B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -215,6 +215,29 @@ declare const messagesDirect: (options?: ({
|
|
|
215
215
|
txIndex: number;
|
|
216
216
|
amountIn: string;
|
|
217
217
|
amountOut: string;
|
|
218
|
+
} | {
|
|
219
|
+
cctpTransferV2?: {
|
|
220
|
+
fromChainId?: string | undefined;
|
|
221
|
+
toChainId?: string | undefined;
|
|
222
|
+
burnToken?: string | undefined;
|
|
223
|
+
denomIn?: string | undefined;
|
|
224
|
+
denomOut?: string | undefined;
|
|
225
|
+
bridgeId?: BridgeType | undefined;
|
|
226
|
+
smartRelay?: boolean | undefined;
|
|
227
|
+
smartRelayFeeQuote?: {
|
|
228
|
+
feeAmount?: string | undefined;
|
|
229
|
+
relayerAddress?: string | undefined;
|
|
230
|
+
expiration?: string | undefined;
|
|
231
|
+
feeDenom?: string | undefined;
|
|
232
|
+
feePaymentAddress?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
destinationDomain?: number | undefined;
|
|
235
|
+
finalityThreshold?: number | undefined;
|
|
236
|
+
maxFee?: string | undefined;
|
|
237
|
+
} | undefined;
|
|
238
|
+
txIndex: number;
|
|
239
|
+
amountIn: string;
|
|
240
|
+
amountOut: string;
|
|
218
241
|
} | {
|
|
219
242
|
stargateTransfer?: {
|
|
220
243
|
fromChainId?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { B as BridgeType, R as RoutePriceWarningType, a as FeeType, F as FeeBehavior } from '../swaggerTypes-CzGbnX_b.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-Bv02Xt5y.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -103,6 +103,29 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
103
103
|
txIndex: number;
|
|
104
104
|
amountIn: string;
|
|
105
105
|
amountOut: string;
|
|
106
|
+
} | {
|
|
107
|
+
cctpTransferV2?: {
|
|
108
|
+
fromChainId?: string | undefined;
|
|
109
|
+
toChainId?: string | undefined;
|
|
110
|
+
burnToken?: string | undefined;
|
|
111
|
+
denomIn?: string | undefined;
|
|
112
|
+
denomOut?: string | undefined;
|
|
113
|
+
bridgeId?: BridgeType | undefined;
|
|
114
|
+
smartRelay?: boolean | undefined;
|
|
115
|
+
smartRelayFeeQuote?: {
|
|
116
|
+
feeAmount?: string | undefined;
|
|
117
|
+
relayerAddress?: string | undefined;
|
|
118
|
+
expiration?: string | undefined;
|
|
119
|
+
feeDenom?: string | undefined;
|
|
120
|
+
feePaymentAddress?: string | undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
destinationDomain?: number | undefined;
|
|
123
|
+
finalityThreshold?: number | undefined;
|
|
124
|
+
maxFee?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
txIndex: number;
|
|
127
|
+
amountIn: string;
|
|
128
|
+
amountOut: string;
|
|
106
129
|
} | {
|
|
107
130
|
stargateTransfer?: {
|
|
108
131
|
fromChainId?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
|
|
3
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
4
4
|
|
|
5
5
|
declare const submitTransaction: (options?: ({
|
|
6
6
|
tx?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import { A as ApiRequest, P as PollingProps } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, P as PollingProps } from '../generateApi-Bv02Xt5y.js';
|
|
3
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
4
4
|
|
|
5
5
|
type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps & SkipApiOptions;
|
|
6
6
|
type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-
|
|
2
|
-
import { a as ApiResponse } from '../generateApi-
|
|
1
|
+
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CzGbnX_b.js';
|
|
2
|
+
import { a as ApiResponse } from '../generateApi-Bv02Xt5y.js';
|
|
3
3
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TxStatusResponse } from './api/postTransactionStatus.js';
|
|
2
|
-
import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState,
|
|
3
|
-
import { A as ApiRequest } from './generateApi-
|
|
4
|
-
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-
|
|
2
|
+
import { T as TransferState, h as AxelarTransferState, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, G as GoFastTransferState, f as StargateTransferState, L as LayerZeroTransferState, b as TransactionState, bs as RouteResponse, a8 as CosmosMsg, az as PostHandler, aA as Route, aX as TransferAssetRelease, aY as TransferStatus, a5 as Erc20Approval } from './swaggerTypes-CzGbnX_b.js';
|
|
3
|
+
import { A as ApiRequest } from './generateApi-Bv02Xt5y.js';
|
|
4
|
+
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress, T as TxResult } from './client-types-D03Tellv.js';
|
|
5
5
|
|
|
6
6
|
type OverallStatus = "pending" | "success" | "failed";
|
|
7
7
|
declare function getTransferEventsFromTxStatusResponse(txStatusResponse?: TxStatusResponse[]): {
|
|
@@ -2,7 +2,7 @@ import { route } from './chunk-KZKAL5ZN.js';
|
|
|
2
2
|
import { ClientState, chains, assets } from './chunk-J24LYWJE.js';
|
|
3
3
|
import BigNumber2 from 'bignumber.js';
|
|
4
4
|
import { defineChain, createPublicClient, fallback, http } from 'viem';
|
|
5
|
-
import { arbitrum, avalanche, base, bsc, celo, fantom, filecoin, kava, linea, mainnet, manta, moonbeam, optimism, polygon, polygonMumbai, sepolia, avalancheFuji, baseSepolia, optimismSepolia, arbitrumSepolia, blast, blastSepolia, forma, sei, bscTestnet, fantomTestnet, kavaTestnet, lineaSepolia, mantaSepoliaTestnet, injective, injectiveTestnet } from 'viem/chains';
|
|
5
|
+
import { arbitrum, avalanche, base, bsc, celo, fantom, filecoin, kava, linea, mainnet, manta, moonbeam, optimism, polygon, polygonAmoy, polygonMumbai, sepolia, avalancheFuji, baseSepolia, optimismSepolia, arbitrumSepolia, blast, blastSepolia, forma, sei, bscTestnet, fantomTestnet, kavaTestnet, lineaSepolia, mantaSepoliaTestnet, injective, injectiveTestnet } from 'viem/chains';
|
|
6
6
|
|
|
7
7
|
// src/types/swaggerTypesJson.ts
|
|
8
8
|
var FeeBehaviorJson = /* @__PURE__ */ ((FeeBehaviorJson2) => {
|
|
@@ -199,6 +199,7 @@ var evmChains = [
|
|
|
199
199
|
moonbeam,
|
|
200
200
|
optimism,
|
|
201
201
|
polygon,
|
|
202
|
+
polygonAmoy,
|
|
202
203
|
polygonMumbai,
|
|
203
204
|
sepolia,
|
|
204
205
|
avalancheFuji,
|
|
@@ -3,7 +3,7 @@ import { OfflineDirectSigner } from '@cosmjs/proto-signing';
|
|
|
3
3
|
import { GasPrice, StdFee, SignerData } from '@cosmjs/stargate';
|
|
4
4
|
import { WalletClient } from 'viem';
|
|
5
5
|
import { Adapter } from '@solana/wallet-adapter-base';
|
|
6
|
-
import { e as ChainType,
|
|
6
|
+
import { e as ChainType, ah as FeeAsset, a8 as CosmosMsg } from './swaggerTypes-CzGbnX_b.js';
|
|
7
7
|
import { TrackTxPollingProps } from './api/postTrackTransaction.js';
|
|
8
8
|
|
|
9
9
|
/** Common Types */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bK as Api } from './swaggerTypes-CzGbnX_b.js';
|
|
2
2
|
|
|
3
3
|
type CamelKey<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelKey<U>>}` : S;
|
|
4
4
|
type Camel<T> = T extends (infer U)[] ? Camel<U>[] : T extends object ? {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { j as AcknowledgementErrorDetails, k as Affiliate,
|
|
2
|
-
export { C as ClientTransferEvent, E as ExecuteRouteOptions, O as OverallStatus, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-
|
|
3
|
-
export { B as BaseSettings, E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-
|
|
1
|
+
export { j as AcknowledgementErrorDetails, k as Affiliate, bK as Api, bG as ApiConfig, l as ApiError, m as Asset, n as AssetBetweenChains, o as AssetRecommendation, bc as AssetRecommendationsRequest, bv as AssetRecommendationsResponse, bi as AssetsBetweenChainsRequest, b9 as AssetsFromSourceRequest, br as AssetsFromSourceResponse, bp as AssetsRequest, bq as AssetsResponse, i as AutopilotAction, p as AutopilotMsg, q as AutopilotMsgWrapper, r as AxelarTransfer, s as AxelarTransferInfo, h as AxelarTransferState, A as AxelarTransferType, t as AxelarTransferWrapper, V as BalanceRequestChainEntry, X as BalanceResponseChainEntry, W as BalanceResponseDenomEntry, b8 as BalancesRequest, bl as BalancesResponse, Y as BankSend, Z as BankSendWrapper, _ as Bridge, B as BridgeType, bm as BridgesResponse, v as CCTPTransfer, w as CCTPTransferInfo, g as CCTPTransferState, x as CCTPTransferTxs, z as CCTPTransferV2, D as CCTPTransferV2Wrapper, y as CCTPTransferWrapper, $ as Chain, a0 as ChainAffiliates, ay as ChainTransaction, e as ChainType, bj as ChainsRequest, bk as ChainsResponse, bI as ContentType, a1 as ContractCallWithTokenError, C as ContractCallWithTokenErrorType, a2 as ContractCallWithTokenTxs, a3 as CosmWasmContractMsg, a4 as CosmWasmContractMsgWrapper, b5 as CosmosModuleSupport, a8 as CosmosMsg, a9 as CosmosTx, aa as CosmosTxWrapper, a5 as Erc20Approval, a7 as Error, a6 as ErrorDetail, a_ as EurekaTransfer, a$ as EurekaTransferInfo, b0 as EurekaTransferWrapper, ab as EvmSwap, ac as EvmSwapWrapper, ad as EvmTx, ae as EvmTxWrapper, b7 as Fee, ah as FeeAsset, F as FeeBehavior, a as FeeType, bE as FullRequestParams, bB as FungibleAssetsBetweenChainsCreateResponse, aj as GRPCStatusCode, ai as GoFastFee, M as GoFastTransfer, Q as GoFastTransferInfo, G as GoFastTransferState, N as GoFastTransferTxs, U as GoFastTransferWrapper, bJ as HttpClient, bH as HttpResponse, ak as HyperlaneTransfer, al as HyperlaneTransferInfo, H as HyperlaneTransferState, am as HyperlaneTransferTransactions, an as HyperlaneTransferWrapper, ao as IBCTransferInfo, b6 as IbcCapabilities, bh as IbcOriginAssetsRequest, bA as IbcOriginAssetsResponse, b1 as LayerZeroTransfer, b2 as LayerZeroTransferInfo, L as LayerZeroTransferState, av as LayerZeroTransferTransactions, b3 as LayerZeroTransferWrapper, ap as Msg, bb as MsgsDirectRequest, bu as MsgsDirectResponse, ba as MsgsRequest, bt as MsgsResponse, ar as MultiChainMsg, as as MultiChainMsgWrapper, aR as OPInitTransfer, aT as OPInitTransferInfo, O as OPInitTransferState, aU as OPInitTransferTxs, aS as OPInitTransferWrapper, at as Operation, au as OptionalAsset, aw as Packet, ax as PacketError, P as PacketErrorType, az as PostHandler, bC as QueryParamsType, d as Reason, b4 as RecommendationRequest, bF as RequestParams, bD as ResponseFormat, aA as Route, R as RoutePriceWarningType, bs as RouteResponse, aB as SendTokenError, c as SendTokenErrorType, aC as SendTokenTxs, u as SmartRelayFeeQuote, aL as SmartSwapExactCoinIn, aN as SmartSwapInWrapper, aM as SmartSwapOptions, E as StargateTransfer, J as StargateTransferInfo, f as StargateTransferState, I as StargateTransferTxs, K as StargateTransferWrapper, aD as StatusError, S as StatusErrorType, by as StatusRequest, bz as StatusResponse, bg as StatusTxResponse, bw as SubmitResponse, bd as SubmitTxRequest, af as SvmTx, ag as SvmTxWrapper, aE as Swap, aF as SwapExactCoinIn, aG as SwapExactCoinOut, aH as SwapInWrapper, aI as SwapOperation, aJ as SwapOutWrapper, aK as SwapRoute, aO as SwapVenue, aP as SwapWrapper, bx as TrackResponse, be as TrackTxRequest, bf as TrackTxResponse, aQ as TransactionExecutionErrorDetails, b as TransactionState, aV as Transfer, aX as TransferAssetRelease, aW as TransferEvent, T as TransferState, aY as TransferStatus, aZ as TransferWrapper, aq as Tx, bn as VenuesRequest, bo as VenuesResponse } from './swaggerTypes-CzGbnX_b.js';
|
|
2
|
+
export { C as ClientTransferEvent, E as ExecuteRouteOptions, O as OverallStatus, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-DdC6QMlE.js';
|
|
3
|
+
export { B as BaseSettings, E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-D03Tellv.js';
|
|
4
4
|
export { assets } from './api/getAssets.js';
|
|
5
5
|
export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
|
|
6
6
|
export { bridges } from './api/getBridges.js';
|
|
@@ -19,7 +19,7 @@ export { trackTransaction } from './api/postTrackTransaction.js';
|
|
|
19
19
|
export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
|
|
20
20
|
export { ExecuteMultipleRoutesOptions, executeMultipleRoutes } from './public-functions/executeMultipleRoutes.js';
|
|
21
21
|
export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
|
|
22
|
-
export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-
|
|
22
|
+
export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-CTwe8YVX.js';
|
|
23
23
|
export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
|
|
24
24
|
export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
|
|
25
25
|
export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
|
|
@@ -27,7 +27,7 @@ export { waitForTransaction, waitForTransactionWithCancel } from './public-funct
|
|
|
27
27
|
export { getCosmosGasAmountForMessage } from './public-functions/getCosmosGasAmountForMessage.js';
|
|
28
28
|
export { getEVMGasAmountForMessage } from './public-functions/getEvmGasAmountForMessage.js';
|
|
29
29
|
export { validateCosmosGasBalance } from './public-functions/validateCosmosGasBalance.js';
|
|
30
|
-
import './generateApi-
|
|
30
|
+
import './generateApi-Bv02Xt5y.js';
|
|
31
31
|
import '@cosmjs/amino';
|
|
32
32
|
import '@cosmjs/proto-signing';
|
|
33
33
|
import '@cosmjs/stargate';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-
|
|
1
|
+
export { AutopilotActionJson, AxelarTransferStateJson, AxelarTransferTypeJson, BridgeTypeJson, CCTPTransferStateJson, ChainTypeJson, ContractCallWithTokenErrorTypeJson, FeeBehaviorJson, FeeTypeJson, GoFastTransferStateJson, HyperlaneTransferStateJson, LayerZeroTransferStateJson, OPInitTransferStateJson, PacketErrorTypeJson, ReasonJson, RoutePriceWarningTypeJson, SendTokenErrorTypeJson, StargateTransferStateJson, StatusErrorTypeJson, TransactionStateJson, TransferStateJson, getRouteWithGasOnReceive } from './chunk-RH7PDDI5.js';
|
|
2
2
|
export { setClientOptions } from './chunk-GZJLX2CP.js';
|
|
3
3
|
export { setApiOptions } from './chunk-QYXGDTUU.js';
|
|
4
4
|
export { waitForTransaction, waitForTransactionWithCancel } from './chunk-E4NRDAVO.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as TransactionCallbacks } from '../callbacks-
|
|
2
|
-
import {
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
4
|
-
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress } from '../client-types-
|
|
1
|
+
import { h as TransactionCallbacks } from '../callbacks-DdC6QMlE.js';
|
|
2
|
+
import { bs as RouteResponse, a8 as CosmosMsg, az as PostHandler } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-Bv02Xt5y.js';
|
|
4
|
+
import { S as SignerGetters, b as GasOptions, B as BaseSettings, U as UserAddress } from '../client-types-D03Tellv.js';
|
|
5
5
|
import '../api/postTransactionStatus.js';
|
|
6
6
|
import '../apiState-1VvikVK-.js';
|
|
7
7
|
import '@cosmjs/amino';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { E as ExecuteRouteOptions, e as executeRoute } from '../callbacks-
|
|
2
|
-
import '../swaggerTypes-
|
|
3
|
-
import '../generateApi-
|
|
4
|
-
import '../client-types-
|
|
1
|
+
export { E as ExecuteRouteOptions, e as executeRoute } from '../callbacks-DdC6QMlE.js';
|
|
2
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
3
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
4
|
+
import '../client-types-D03Tellv.js';
|
|
5
5
|
import '../api/postTransactionStatus.js';
|
|
6
6
|
import '../apiState-1VvikVK-.js';
|
|
7
7
|
import '@cosmjs/amino';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
2
2
|
import { SigningStargateClient } from '@cosmjs/stargate';
|
|
3
|
-
import {
|
|
3
|
+
import { a8 as CosmosMsg } from '../swaggerTypes-CzGbnX_b.js';
|
|
4
4
|
|
|
5
5
|
declare const DEFAULT_GAS_MULTIPLIER = 1.5;
|
|
6
6
|
declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainId: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
2
|
-
import {
|
|
1
|
+
import { G as GetFallbackGasAmount } from '../client-types-D03Tellv.js';
|
|
2
|
+
import { ad as EvmTx } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
import { WalletClient } from 'viem';
|
|
4
4
|
import '@cosmjs/amino';
|
|
5
5
|
import '@cosmjs/proto-signing';
|
|
@@ -7,7 +7,7 @@ import '@cosmjs/stargate';
|
|
|
7
7
|
import '@solana/wallet-adapter-base';
|
|
8
8
|
import '../api/postTrackTransaction.js';
|
|
9
9
|
import '../apiState-1VvikVK-.js';
|
|
10
|
-
import '../generateApi-
|
|
10
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
11
11
|
|
|
12
12
|
declare function getEVMGasAmountForMessage(signer: WalletClient, tx: EvmTx, getFallbackGasAmount?: GetFallbackGasAmount): Promise<bigint>;
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-1VvikVK-.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as ChainAffiliates } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
|
|
4
4
|
type SetApiOptionsProps = {
|
|
5
5
|
chainIdsToAffiliates?: Record<string, ChainAffiliates>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { s as setClientOptions } from '../setClientOptions-
|
|
1
|
+
export { s as setClientOptions } from '../setClientOptions-CTwe8YVX.js';
|
|
2
2
|
import '@cosmjs/proto-signing';
|
|
3
3
|
import '@cosmjs/stargate';
|
|
4
|
-
import '../swaggerTypes-
|
|
5
|
-
import '../generateApi-
|
|
4
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
5
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
6
6
|
import '../apiState-1VvikVK-.js';
|
|
7
|
-
import '../client-types-
|
|
7
|
+
import '../client-types-D03Tellv.js';
|
|
8
8
|
import '@cosmjs/amino';
|
|
9
9
|
import 'viem';
|
|
10
10
|
import '@solana/wallet-adapter-base';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../api/postTransactionStatus.js';
|
|
2
|
-
import '../swaggerTypes-
|
|
3
|
-
export { R as RouteDetails, a as RouteStatus, T as TransactionDetails, b as TransactionStatus, l as executeAndSubscribeToRouteStatus, k as executeAndSubscribeToRouteStatusProps, i as getTransactionStatus, s as subscribeToRouteStatus, j as subscribeToRouteStatusProps, u as updateRouteDetails } from '../callbacks-
|
|
4
|
-
import '../client-types-
|
|
5
|
-
import '../generateApi-
|
|
2
|
+
import '../swaggerTypes-CzGbnX_b.js';
|
|
3
|
+
export { R as RouteDetails, a as RouteStatus, T as TransactionDetails, b as TransactionStatus, l as executeAndSubscribeToRouteStatus, k as executeAndSubscribeToRouteStatusProps, i as getTransactionStatus, s as subscribeToRouteStatus, j as subscribeToRouteStatusProps, u as updateRouteDetails } from '../callbacks-DdC6QMlE.js';
|
|
4
|
+
import '../client-types-D03Tellv.js';
|
|
5
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
6
6
|
import '../apiState-1VvikVK-.js';
|
|
7
7
|
import '@cosmjs/amino';
|
|
8
8
|
import '@cosmjs/proto-signing';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _cosmjs_stargate from '@cosmjs/stargate';
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as CosmosMsg, ah as FeeAsset } from '../swaggerTypes-CzGbnX_b.js';
|
|
3
3
|
import { OfflineSigner } from '@cosmjs/proto-signing';
|
|
4
|
-
import { E as ExecuteRouteOptions } from '../callbacks-
|
|
5
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
4
|
+
import { E as ExecuteRouteOptions } from '../callbacks-DdC6QMlE.js';
|
|
5
|
+
import { G as GetFallbackGasAmount } from '../client-types-D03Tellv.js';
|
|
6
6
|
import '../api/postTransactionStatus.js';
|
|
7
|
-
import '../generateApi-
|
|
7
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
8
8
|
import '../apiState-1VvikVK-.js';
|
|
9
9
|
import '@cosmjs/amino';
|
|
10
10
|
import 'viem';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-
|
|
2
|
-
import { h as TransactionCallbacks } from '../callbacks-
|
|
3
|
-
import { T as TxResult } from '../client-types-
|
|
1
|
+
import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CzGbnX_b.js';
|
|
2
|
+
import { h as TransactionCallbacks } from '../callbacks-DdC6QMlE.js';
|
|
3
|
+
import { T as TxResult } from '../client-types-D03Tellv.js';
|
|
4
4
|
import { TxStatusResponse } from '../api/postTransactionStatus.js';
|
|
5
|
-
import '../generateApi-
|
|
5
|
+
import '../generateApi-Bv02Xt5y.js';
|
|
6
6
|
import '@cosmjs/amino';
|
|
7
7
|
import '@cosmjs/proto-signing';
|
|
8
8
|
import '@cosmjs/stargate';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { GeneratedType, Registry } from '@cosmjs/proto-signing';
|
|
2
2
|
import { AminoConverters, AminoTypes, SigningStargateClient } from '@cosmjs/stargate';
|
|
3
|
-
import {
|
|
4
|
-
import { a as ApiResponse } from './generateApi-
|
|
3
|
+
import { $ as Chain, m as Asset } from './swaggerTypes-CzGbnX_b.js';
|
|
4
|
+
import { a as ApiResponse } from './generateApi-Bv02Xt5y.js';
|
|
5
5
|
import { S as SkipApiOptions } from './apiState-1VvikVK-.js';
|
|
6
|
-
import { E as EndpointOptions, V as ValidateGasResult } from './client-types-
|
|
6
|
+
import { E as EndpointOptions, V as ValidateGasResult } from './client-types-D03Tellv.js';
|
|
7
7
|
|
|
8
8
|
type GetMainnetAndTestnetAssetsProps = {
|
|
9
9
|
chainId?: string;
|
|
@@ -469,6 +469,23 @@ interface CCTPTransferWrapper {
|
|
|
469
469
|
/** A transfer facilitated by the CCTP bridge */
|
|
470
470
|
cctpTransfer?: CCTPTransfer;
|
|
471
471
|
}
|
|
472
|
+
interface CCTPTransferV2 {
|
|
473
|
+
fromChainId?: string;
|
|
474
|
+
toChainId?: string;
|
|
475
|
+
burnToken?: string;
|
|
476
|
+
denomIn?: string;
|
|
477
|
+
denomOut?: string;
|
|
478
|
+
bridgeId?: BridgeType;
|
|
479
|
+
smartRelay?: boolean;
|
|
480
|
+
smartRelayFeeQuote?: SmartRelayFeeQuote;
|
|
481
|
+
destinationDomain?: number;
|
|
482
|
+
finalityThreshold?: number;
|
|
483
|
+
maxFee?: string;
|
|
484
|
+
}
|
|
485
|
+
interface CCTPTransferV2Wrapper {
|
|
486
|
+
/** A transfer facilitated by the CCTP V2 bridge */
|
|
487
|
+
cctpTransferV2?: CCTPTransferV2;
|
|
488
|
+
}
|
|
472
489
|
/** A transfer facilitated by the Stargate bridge */
|
|
473
490
|
interface StargateTransfer {
|
|
474
491
|
/** Canonical chain-id of the source chain of the bridge transaction */
|
|
@@ -910,7 +927,7 @@ interface MultiChainMsgWrapper {
|
|
|
910
927
|
/** A message that interacts with multiple chains */
|
|
911
928
|
multiChainMsg?: MultiChainMsg;
|
|
912
929
|
}
|
|
913
|
-
type Operation = (TransferWrapper | SwapWrapper | AxelarTransferWrapper | BankSendWrapper | CCTPTransferWrapper | HyperlaneTransferWrapper | EvmSwapWrapper | OPInitTransferWrapper | GoFastTransferWrapper | StargateTransferWrapper | LayerZeroTransferWrapper | EurekaTransferWrapper) & {
|
|
930
|
+
type Operation = (TransferWrapper | SwapWrapper | AxelarTransferWrapper | BankSendWrapper | CCTPTransferWrapper | CCTPTransferV2Wrapper | HyperlaneTransferWrapper | EvmSwapWrapper | OPInitTransferWrapper | GoFastTransferWrapper | StargateTransferWrapper | LayerZeroTransferWrapper | EurekaTransferWrapper) & {
|
|
914
931
|
/** Index of the tx returned from Msgs that executes this operation */
|
|
915
932
|
txIndex: number;
|
|
916
933
|
/** Amount of input asset to this operation */
|
|
@@ -2047,4 +2064,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
2047
2064
|
fungibleAssetsBetweenChainsCreate: (data: AssetsBetweenChainsRequest, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
|
|
2048
2065
|
}
|
|
2049
2066
|
|
|
2050
|
-
export { type
|
|
2067
|
+
export { type Chain as $, AxelarTransferType as A, BridgeType as B, ContractCallWithTokenErrorType as C, type CCTPTransferV2Wrapper as D, type StargateTransfer as E, FeeBehavior as F, GoFastTransferState as G, HyperlaneTransferState as H, type StargateTransferTxs as I, type StargateTransferInfo as J, type StargateTransferWrapper as K, LayerZeroTransferState as L, type GoFastTransfer as M, type GoFastTransferTxs as N, OPInitTransferState as O, PacketErrorType as P, type GoFastTransferInfo as Q, RoutePriceWarningType as R, StatusErrorType as S, TransferState as T, type GoFastTransferWrapper as U, type BalanceRequestChainEntry as V, type BalanceResponseDenomEntry as W, type BalanceResponseChainEntry as X, type BankSend as Y, type BankSendWrapper as Z, type Bridge as _, FeeType as a, type EurekaTransferInfo as a$, type ChainAffiliates as a0, type ContractCallWithTokenError as a1, type ContractCallWithTokenTxs as a2, type CosmWasmContractMsg as a3, type CosmWasmContractMsgWrapper as a4, type Erc20Approval as a5, type ErrorDetail as a6, type Error as a7, type CosmosMsg as a8, type CosmosTx as a9, type Route as aA, type SendTokenError as aB, type SendTokenTxs as aC, type StatusError as aD, type Swap as aE, type SwapExactCoinIn as aF, type SwapExactCoinOut as aG, type SwapInWrapper as aH, type SwapOperation as aI, type SwapOutWrapper as aJ, type SwapRoute as aK, type SmartSwapExactCoinIn as aL, type SmartSwapOptions as aM, type SmartSwapInWrapper as aN, type SwapVenue as aO, type SwapWrapper as aP, type TransactionExecutionErrorDetails as aQ, type OPInitTransfer as aR, type OPInitTransferWrapper as aS, type OPInitTransferInfo as aT, type OPInitTransferTxs as aU, type Transfer as aV, type TransferEvent as aW, type TransferAssetRelease as aX, type TransferStatus as aY, type TransferWrapper as aZ, type EurekaTransfer as a_, type CosmosTxWrapper as aa, type EvmSwap as ab, type EvmSwapWrapper as ac, type EvmTx as ad, type EvmTxWrapper as ae, type SvmTx as af, type SvmTxWrapper as ag, type FeeAsset as ah, type GoFastFee as ai, type GRPCStatusCode as aj, type HyperlaneTransfer as ak, type HyperlaneTransferInfo as al, type HyperlaneTransferTransactions as am, type HyperlaneTransferWrapper as an, type IBCTransferInfo as ao, type Msg as ap, type Tx as aq, type MultiChainMsg as ar, type MultiChainMsgWrapper as as, type Operation as at, type OptionalAsset as au, type LayerZeroTransferTransactions as av, type Packet as aw, type PacketError as ax, type ChainTransaction as ay, type PostHandler as az, TransactionState as b, type EurekaTransferWrapper as b0, type LayerZeroTransfer as b1, type LayerZeroTransferInfo as b2, type LayerZeroTransferWrapper as b3, type RecommendationRequest as b4, type CosmosModuleSupport as b5, type IbcCapabilities as b6, type Fee as b7, type BalancesRequest as b8, type AssetsFromSourceRequest as b9, type IbcOriginAssetsResponse as bA, type FungibleAssetsBetweenChainsCreateResponse as bB, type QueryParamsType as bC, type ResponseFormat as bD, type FullRequestParams as bE, type RequestParams as bF, type ApiConfig as bG, type HttpResponse as bH, ContentType as bI, HttpClient as bJ, Api as bK, type RouteRequest as bL, type MsgsRequest as ba, type MsgsDirectRequest as bb, type AssetRecommendationsRequest as bc, type SubmitTxRequest as bd, type TrackTxRequest as be, type TrackTxResponse as bf, type StatusTxResponse as bg, type IbcOriginAssetsRequest as bh, type AssetsBetweenChainsRequest as bi, type ChainsRequest as bj, type ChainsResponse as bk, type BalancesResponse as bl, type BridgesResponse as bm, type VenuesRequest as bn, type VenuesResponse as bo, type AssetsRequest as bp, type AssetsResponse as bq, type AssetsFromSourceResponse as br, type RouteResponse as bs, type MsgsResponse as bt, type MsgsDirectResponse as bu, type AssetRecommendationsResponse as bv, type SubmitResponse as bw, type TrackResponse as bx, type StatusRequest as by, type StatusResponse as bz, SendTokenErrorType as c, Reason as d, ChainType as e, StargateTransferState as f, CCTPTransferState as g, AxelarTransferState as h, AutopilotAction as i, type AcknowledgementErrorDetails as j, type Affiliate as k, type ApiError as l, type Asset as m, type AssetBetweenChains as n, type AssetRecommendation as o, type AutopilotMsg as p, type AutopilotMsgWrapper as q, type AxelarTransfer as r, type AxelarTransferInfo as s, type AxelarTransferWrapper as t, type SmartRelayFeeQuote as u, type CCTPTransfer as v, type CCTPTransferInfo as w, type CCTPTransferTxs as x, type CCTPTransferWrapper as y, type CCTPTransferV2 as z };
|
package/package.json
CHANGED