@skip-go/client 0.4.3
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 +55 -0
- package/dist/chunk-6AMBIQDN.js +1868 -0
- package/dist/chunk-6FNC3XMI.js +45 -0
- package/dist/chunk-JRIEAGIQ.js +10 -0
- package/dist/chunk-PV2ELBDQ.js +3248 -0
- package/dist/index.d.ts +307 -0
- package/dist/index.js +2874 -0
- package/dist/parser.d.ts +1 -0
- package/dist/parser.js +11 -0
- package/dist/shared-UW-rSz3r.d.ts +943 -0
- package/dist/transactions.d.ts +11 -0
- package/dist/transactions.js +23 -0
- package/dist/types.d.ts +565 -0
- package/dist/types.js +639 -0
- package/package.json +38 -0
- package/parser.d.ts +1 -0
- package/parser.js +1 -0
- package/transactions.d.ts +1 -0
- package/transactions.js +1 -0
- package/types.d.ts +1 -0
- package/types.js +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
2
|
+
import { Msgs } from '@injectivelabs/sdk-ts/dist/cjs/core/modules/msgs';
|
|
3
|
+
import { C as CosmosMsg } from './shared-UW-rSz3r.js';
|
|
4
|
+
import { SigningStargateClient } from '@cosmjs/stargate';
|
|
5
|
+
|
|
6
|
+
declare const DEFAULT_GAS_MULTIPLIER = 1.5;
|
|
7
|
+
declare function getEncodeObjectFromCosmosMessage(message: CosmosMsg): EncodeObject;
|
|
8
|
+
declare function getEncodeObjectFromCosmosMessageInjective(message: CosmosMsg): Msgs;
|
|
9
|
+
declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainID: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
|
|
10
|
+
|
|
11
|
+
export { DEFAULT_GAS_MULTIPLIER, getCosmosGasAmountForMessage, getEncodeObjectFromCosmosMessage, getEncodeObjectFromCosmosMessageInjective };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkPV2ELBDQ_js = require('./chunk-PV2ELBDQ.js');
|
|
4
|
+
require('./chunk-6FNC3XMI.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "DEFAULT_GAS_MULTIPLIER", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkPV2ELBDQ_js.DEFAULT_GAS_MULTIPLIER; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "getCosmosGasAmountForMessage", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkPV2ELBDQ_js.getCosmosGasAmountForMessage; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "getEncodeObjectFromCosmosMessage", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkPV2ELBDQ_js.getEncodeObjectFromCosmosMessage; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "getEncodeObjectFromCosmosMessageInjective", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkPV2ELBDQ_js.getEncodeObjectFromCosmosMessageInjective; }
|
|
23
|
+
});
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,565 @@
|
|
|
1
|
+
import { a4 as AffiliateJSON, a5 as Affiliate, o as AssetJSON, a as Asset, av as AssetRecommendationJSON, au as AssetRecommendation, at as AssetsFromSourceRequestJSON, b as AssetsFromSourceRequest, as as AssetsRequestJSON, A as AssetsRequest, ax as RecommendAssetsRequestJSON, ay as RecommendAssetsRequest, az as RecommendAssetsResponseJSON, aA as RecommendAssetsResponse, aB as RecommendationEntryJSON, k as RecommendationEntry, aR as EstimatedFeeJSON, aQ as EstimatedFee, K as SwapVenueJSON, m as SwapVenue, L as SwapVenueRequestJSON, N as SwapVenueRequest, aF as RouteRequestJSON, g as RouteRequest, p as TransferJSON, q as Transfer, P as SwapOperationJSON, Q as SwapOperation, Y as SwapRouteJSON, Z as SwapRoute, W as SwapExactCoinInJSON, X as SwapExactCoinIn, _ as SmartSwapExactCoinInJSON, $ as SmartSwapExactCoinIn, U as SwapExactCoinOutJSON, V as SwapExactCoinOut, a0 as SwapJSON, a1 as Swap, a2 as EvmSwapJSON, a3 as EvmSwap, aS as OperationJSON, aT as Operation, aU as RouteResponseJSON, R as RouteResponse, a9 as CosmWasmContractMsgJSON, aa as CosmWasmContractMsg, ad as PostHandlerJSON, ae as PostHandler, aV as MsgsRequestJSON, e as MsgsRequest, v as MultiChainMsgJSON, M as MultiChainMsg, w as CosmosMsgJSON, C as CosmosMsg, I as IBCAddressJSON, n as IBCAddress, r as AxelarTransferJSON, s as AxelarTransfer, t as BankSendJSON, u as BankSend, z as CCTPTransferJSON, F as CCTPTransfer, H as HyperlaneTransferJSON, G as HyperlaneTransfer, O as OPInitTransferJSON, J as OPInitTransfer, af as ERC20ApprovalJSON, ag as ERC20Approval, ah as SvmTxJSON, S as SvmTx, ai as EvmTxJSON, E as EvmTx, x as CosmosTxJSON, y as CosmosTx, aZ as TxJSON, T as Tx, aX as MsgJSON, aY as Msg, a_ as MsgsResponseJSON, f as MsgsResponse, aj as DenomWithChainIDJSON, D as DenomWithChainID, al as AssetOrErrorJSON, l as AssetOrError, am as OriginAssetsRequestJSON, an as OriginAssetsRequest, ao as OriginAssetsResponseJSON, ap as OriginAssetsResponse, b0 as AssetBetweenChainsJSON, d as AssetBetweenChains, b1 as AssetsBetweenChainsRequestJSON, c as AssetsBetweenChainsRequest, b2 as AssetsBetweenChainsResponseJSON, b3 as AssetsBetweenChainsResponse, aw as AssetRecommendationRequestJSON, j as AssetRecommendationRequest, b4 as BridgesResponseJSON, b5 as BridgesResponse, b6 as BridgeJSON, B as Bridge, aW as MsgsDirectRequestJSON, h as MsgsDirectRequest, aq as SmartSwapOptionsJSON, ar as SmartSwapOptions, a6 as ChainAffiliatesJSON, a7 as ChainAffiliates } from './shared-UW-rSz3r.js';
|
|
2
|
+
export { ak as ApiError, ab as AutopilotAction, ac as AutopilotMsg, a$ as BridgeType, aM as ExperimentalFeature, aP as FeeType, i as MsgsDirectResponse, aG as MsgsDirectResponseJSON, aO as MsgsWarning, aL as MsgsWarningType, a8 as Reason, aH as RouteRequestBase, aC as RouteRequestBaseJSON, aI as RouteRequestGivenIn, aD as RouteRequestGivenInJSON, aJ as RouteRequestGivenOut, aE as RouteRequestGivenOutJSON, aN as RouteWarning, aK as RouteWarningType } from './shared-UW-rSz3r.js';
|
|
3
|
+
|
|
4
|
+
type SubmitTxRequestJSON = {
|
|
5
|
+
tx: string;
|
|
6
|
+
chain_id: string;
|
|
7
|
+
};
|
|
8
|
+
type SubmitTxRequest = {
|
|
9
|
+
tx: string;
|
|
10
|
+
chainID: string;
|
|
11
|
+
};
|
|
12
|
+
type SubmitTxResponseJSON = {
|
|
13
|
+
tx_hash: string;
|
|
14
|
+
};
|
|
15
|
+
type SubmitTxResponse = {
|
|
16
|
+
txHash: string;
|
|
17
|
+
};
|
|
18
|
+
type StatusState = 'STATE_UNKNOWN' | 'STATE_SUBMITTED' | 'STATE_PENDING' | 'STATE_RECEIVED' | 'STATE_COMPLETED' | 'STATE_ABANDONED' | 'STATE_COMPLETED_SUCCESS' | 'STATE_COMPLETED_ERROR' | 'STATE_PENDING_ERROR';
|
|
19
|
+
type NextBlockingTransferJSON = {
|
|
20
|
+
transfer_sequence_index: number;
|
|
21
|
+
};
|
|
22
|
+
type NextBlockingTransfer = {
|
|
23
|
+
transferSequenceIndex: number;
|
|
24
|
+
};
|
|
25
|
+
type StatusRequestJSON = {
|
|
26
|
+
tx_hash: string;
|
|
27
|
+
chain_id: string;
|
|
28
|
+
};
|
|
29
|
+
type StatusRequest = {
|
|
30
|
+
txHash: string;
|
|
31
|
+
chainID: string;
|
|
32
|
+
};
|
|
33
|
+
type TransferState = 'TRANSFER_UNKNOWN' | 'TRANSFER_PENDING' | 'TRANSFER_RECEIVED' | 'TRANSFER_SUCCESS' | 'TRANSFER_FAILURE';
|
|
34
|
+
type TransferInfoJSON = {
|
|
35
|
+
from_chain_id: string;
|
|
36
|
+
to_chain_id: string;
|
|
37
|
+
state: TransferState;
|
|
38
|
+
packet_txs: PacketJSON;
|
|
39
|
+
src_chain_id: string;
|
|
40
|
+
dst_chain_id: string;
|
|
41
|
+
};
|
|
42
|
+
type TransferInfo = {
|
|
43
|
+
fromChainID: string;
|
|
44
|
+
toChainID: string;
|
|
45
|
+
state: TransferState;
|
|
46
|
+
packetTXs: Packet;
|
|
47
|
+
srcChainID: string;
|
|
48
|
+
dstChainID: string;
|
|
49
|
+
};
|
|
50
|
+
type TransferAssetReleaseJSON = {
|
|
51
|
+
chain_id: string;
|
|
52
|
+
denom: string;
|
|
53
|
+
released: boolean;
|
|
54
|
+
};
|
|
55
|
+
type TransferAssetRelease = {
|
|
56
|
+
chainID: string;
|
|
57
|
+
denom: string;
|
|
58
|
+
released: boolean;
|
|
59
|
+
};
|
|
60
|
+
type TxStatusResponseJSON = {
|
|
61
|
+
status: StatusState;
|
|
62
|
+
transfer_sequence: TransferEventJSON[];
|
|
63
|
+
next_blocking_transfer: NextBlockingTransferJSON | null;
|
|
64
|
+
transfer_asset_release: TransferAssetReleaseJSON | null;
|
|
65
|
+
error: StatusError | null;
|
|
66
|
+
state: StatusState;
|
|
67
|
+
transfers: TransferStatusJSON[];
|
|
68
|
+
};
|
|
69
|
+
type TxStatusResponse = {
|
|
70
|
+
status: StatusState;
|
|
71
|
+
transferSequence: TransferEvent[];
|
|
72
|
+
nextBlockingTransfer: NextBlockingTransfer | null;
|
|
73
|
+
transferAssetRelease: TransferAssetRelease | null;
|
|
74
|
+
error: StatusError | null;
|
|
75
|
+
state: StatusState;
|
|
76
|
+
transfers: TransferStatus[];
|
|
77
|
+
};
|
|
78
|
+
type TransferStatusJSON = {
|
|
79
|
+
state: StatusState;
|
|
80
|
+
transfer_sequence: TransferEventJSON[];
|
|
81
|
+
next_blocking_transfer: NextBlockingTransferJSON | null;
|
|
82
|
+
transfer_asset_release: TransferAssetReleaseJSON | null;
|
|
83
|
+
error: StatusError | null;
|
|
84
|
+
};
|
|
85
|
+
type TransferStatus = {
|
|
86
|
+
state: StatusState;
|
|
87
|
+
transferSequence: TransferEvent[];
|
|
88
|
+
nextBlockingTransfer: NextBlockingTransfer | null;
|
|
89
|
+
transferAssetRelease: TransferAssetRelease | null;
|
|
90
|
+
error: StatusError | null;
|
|
91
|
+
};
|
|
92
|
+
type PacketJSON = {
|
|
93
|
+
send_tx: ChainTransactionJSON | null;
|
|
94
|
+
receive_tx: ChainTransactionJSON | null;
|
|
95
|
+
acknowledge_tx: ChainTransactionJSON | null;
|
|
96
|
+
timeout_tx: ChainTransactionJSON | null;
|
|
97
|
+
error: PacketError | null;
|
|
98
|
+
};
|
|
99
|
+
type Packet = {
|
|
100
|
+
sendTx: ChainTransaction | null;
|
|
101
|
+
receiveTx: ChainTransaction | null;
|
|
102
|
+
acknowledgeTx: ChainTransaction | null;
|
|
103
|
+
timeoutTx: ChainTransaction | null;
|
|
104
|
+
error: PacketError | null;
|
|
105
|
+
};
|
|
106
|
+
type StatusErrorType = 'STATUS_ERROR_UNKNOWN' | 'STATUS_ERROR_TRANSACTION_EXECUTION' | 'STATUS_ERROR_INDEXING';
|
|
107
|
+
type TransactionExecutionError = {
|
|
108
|
+
code: number;
|
|
109
|
+
message: string;
|
|
110
|
+
};
|
|
111
|
+
type StatusErrorJSON = {
|
|
112
|
+
code: number;
|
|
113
|
+
message: string;
|
|
114
|
+
type: StatusErrorType;
|
|
115
|
+
details: {
|
|
116
|
+
transaction_execution_error: TransactionExecutionError;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
type StatusError = {
|
|
120
|
+
code: number;
|
|
121
|
+
message: string;
|
|
122
|
+
type: StatusErrorType;
|
|
123
|
+
details: {
|
|
124
|
+
transactionExecutionError: TransactionExecutionError;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
type PacketErrorType = 'PACKET_ERROR_UNKNOWN' | 'PACKET_ERROR_ACKNOWLEDGEMENT' | 'PACKET_ERROR_TIMEOUT';
|
|
128
|
+
type AcknowledgementError = {
|
|
129
|
+
message: string;
|
|
130
|
+
code: number;
|
|
131
|
+
};
|
|
132
|
+
type PacketErrorJSON = {
|
|
133
|
+
code: number;
|
|
134
|
+
message: string;
|
|
135
|
+
type: PacketErrorType;
|
|
136
|
+
details: {
|
|
137
|
+
acknowledgement_error: AcknowledgementError;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
type PacketError = {
|
|
141
|
+
code: number;
|
|
142
|
+
message: string;
|
|
143
|
+
type: PacketErrorType;
|
|
144
|
+
details: {
|
|
145
|
+
acknowledgementError: AcknowledgementError;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
type ChainTransactionJSON = {
|
|
149
|
+
chain_id: string;
|
|
150
|
+
tx_hash: string;
|
|
151
|
+
explorer_link: string;
|
|
152
|
+
};
|
|
153
|
+
type ChainTransaction = {
|
|
154
|
+
chainID: string;
|
|
155
|
+
txHash: string;
|
|
156
|
+
explorerLink: string;
|
|
157
|
+
};
|
|
158
|
+
type TrackTxRequestJSON = {
|
|
159
|
+
tx_hash: string;
|
|
160
|
+
chain_id: string;
|
|
161
|
+
};
|
|
162
|
+
type TrackTxRequest = {
|
|
163
|
+
txHash: string;
|
|
164
|
+
chainID: string;
|
|
165
|
+
};
|
|
166
|
+
type TrackTxResponseJSON = {
|
|
167
|
+
tx_hash: string;
|
|
168
|
+
explorer_link: string;
|
|
169
|
+
};
|
|
170
|
+
type TrackTxResponse = {
|
|
171
|
+
txHash: string;
|
|
172
|
+
explorerLink: string;
|
|
173
|
+
};
|
|
174
|
+
type AxelarTransferType = 'AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN' | 'AXELAR_TRANSFER_SEND_TOKEN';
|
|
175
|
+
type AxelarTransferState = 'AXELAR_TRANSFER_UNKNOWN' | 'AXELAR_TRANSFER_PENDING_CONFIRMATION' | 'AXELAR_TRANSFER_PENDING_RECEIPT' | 'AXELAR_TRANSFER_SUCCESS' | 'AXELAR_TRANSFER_FAILURE';
|
|
176
|
+
type AxelarTransferInfoJSON = {
|
|
177
|
+
from_chain_id: string;
|
|
178
|
+
to_chain_id: string;
|
|
179
|
+
type: AxelarTransferType;
|
|
180
|
+
state: AxelarTransferState;
|
|
181
|
+
txs: AxelarTransferTransactionsJSON;
|
|
182
|
+
axelar_scan_link: string;
|
|
183
|
+
src_chain_id: string;
|
|
184
|
+
dst_chain_id: string;
|
|
185
|
+
};
|
|
186
|
+
type AxelarTransferInfo = {
|
|
187
|
+
fromChainID: string;
|
|
188
|
+
toChainID: string;
|
|
189
|
+
type: AxelarTransferType;
|
|
190
|
+
state: AxelarTransferState;
|
|
191
|
+
txs: AxelarTransferTransactions;
|
|
192
|
+
axelarScanLink: string;
|
|
193
|
+
srcChainID: string;
|
|
194
|
+
dstChainID: string;
|
|
195
|
+
};
|
|
196
|
+
type AxelarTransferTransactionsJSON = {
|
|
197
|
+
contract_call_with_token_txs: ContractCallWithTokenTransactionsJSON;
|
|
198
|
+
} | {
|
|
199
|
+
send_token_txs: SendTokenTransactionsJSON;
|
|
200
|
+
};
|
|
201
|
+
type AxelarTransferTransactions = {
|
|
202
|
+
contractCallWithTokenTxs: ContractCallWithTokenTransactions;
|
|
203
|
+
} | {
|
|
204
|
+
sendTokenTxs: SendTokenTransactions;
|
|
205
|
+
};
|
|
206
|
+
type ContractCallWithTokenTransactionsJSON = {
|
|
207
|
+
send_tx: ChainTransactionJSON | null;
|
|
208
|
+
gas_paid_tx: ChainTransactionJSON | null;
|
|
209
|
+
confirm_tx: ChainTransactionJSON | null;
|
|
210
|
+
approve_tx: ChainTransactionJSON | null;
|
|
211
|
+
execute_tx: ChainTransactionJSON | null;
|
|
212
|
+
error: ContractCallWithTokenError | null;
|
|
213
|
+
};
|
|
214
|
+
type ContractCallWithTokenTransactions = {
|
|
215
|
+
sendTx: ChainTransaction | null;
|
|
216
|
+
gasPaidTx: ChainTransaction | null;
|
|
217
|
+
confirmTx: ChainTransaction | null;
|
|
218
|
+
approveTx: ChainTransaction | null;
|
|
219
|
+
executeTx: ChainTransaction | null;
|
|
220
|
+
error: ContractCallWithTokenError | null;
|
|
221
|
+
};
|
|
222
|
+
type ContractCallWithTokenError = {
|
|
223
|
+
message: string;
|
|
224
|
+
type: ContractCallWithTokenErrorType;
|
|
225
|
+
};
|
|
226
|
+
type ContractCallWithTokenErrorType = 'CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR';
|
|
227
|
+
type SendTokenTransactionsJSON = {
|
|
228
|
+
send_tx: ChainTransactionJSON | null;
|
|
229
|
+
confirm_tx: ChainTransactionJSON | null;
|
|
230
|
+
execute_tx: ChainTransactionJSON | null;
|
|
231
|
+
error: SendTokenError | null;
|
|
232
|
+
};
|
|
233
|
+
type SendTokenTransactions = {
|
|
234
|
+
sendTx: ChainTransaction | null;
|
|
235
|
+
confirmTx: ChainTransaction | null;
|
|
236
|
+
executeTx: ChainTransaction | null;
|
|
237
|
+
error: SendTokenError | null;
|
|
238
|
+
};
|
|
239
|
+
type SendTokenErrorType = 'SEND_TOKEN_EXECUTION_ERROR';
|
|
240
|
+
type SendTokenError = {
|
|
241
|
+
message: string;
|
|
242
|
+
type: SendTokenErrorType;
|
|
243
|
+
};
|
|
244
|
+
type CCTPTransferState = 'CCTP_TRANSFER_UNKNOWN' | 'CCTP_TRANSFER_SENT' | 'CCTP_TRANSFER_PENDING_CONFIRMATION' | 'CCTP_TRANSFER_CONFIRMED' | 'CCTP_TRANSFER_RECEIVED';
|
|
245
|
+
type CCTPTransferTransactionsJSON = {
|
|
246
|
+
send_tx: ChainTransactionJSON | null;
|
|
247
|
+
receive_tx: ChainTransactionJSON | null;
|
|
248
|
+
};
|
|
249
|
+
type CCTPTransferTransactions = {
|
|
250
|
+
sendTx: ChainTransaction | null;
|
|
251
|
+
receiveTx: ChainTransaction | null;
|
|
252
|
+
};
|
|
253
|
+
type CCTPTransferInfoJSON = {
|
|
254
|
+
from_chain_id: string;
|
|
255
|
+
to_chain_id: string;
|
|
256
|
+
state: CCTPTransferState;
|
|
257
|
+
txs: CCTPTransferTransactionsJSON;
|
|
258
|
+
src_chain_id: string;
|
|
259
|
+
dst_chain_id: string;
|
|
260
|
+
};
|
|
261
|
+
type CCTPTransferInfo = {
|
|
262
|
+
fromChainID: string;
|
|
263
|
+
toChainID: string;
|
|
264
|
+
state: CCTPTransferState;
|
|
265
|
+
txs: CCTPTransferTransactions;
|
|
266
|
+
srcChainID: string;
|
|
267
|
+
dstChainID: string;
|
|
268
|
+
};
|
|
269
|
+
type HyperlaneTransferState = 'HYPERLANE_TRANSFER_UNKNOWN' | 'HYPERLANE_TRANSFER_SENT' | 'HYPERLANE_TRANSFER_FAILED' | 'HYPERLANE_TRANSFER_RECEIVED';
|
|
270
|
+
type HyperlaneTransferTransactionsJSON = {
|
|
271
|
+
send_tx: ChainTransactionJSON | null;
|
|
272
|
+
receive_tx: ChainTransactionJSON | null;
|
|
273
|
+
};
|
|
274
|
+
type HyperlaneTransferTransactions = {
|
|
275
|
+
sendTx: ChainTransaction | null;
|
|
276
|
+
receiveTx: ChainTransaction | null;
|
|
277
|
+
};
|
|
278
|
+
type HyperlaneTransferInfoJSON = {
|
|
279
|
+
from_chain_id: string;
|
|
280
|
+
to_chain_id: string;
|
|
281
|
+
state: HyperlaneTransferState;
|
|
282
|
+
txs: HyperlaneTransferTransactionsJSON;
|
|
283
|
+
};
|
|
284
|
+
type HyperlaneTransferInfo = {
|
|
285
|
+
fromChainID: string;
|
|
286
|
+
toChainID: string;
|
|
287
|
+
state: HyperlaneTransferState;
|
|
288
|
+
txs: HyperlaneTransferTransactions;
|
|
289
|
+
};
|
|
290
|
+
type OPInitTransferState = 'OPINIT_TRANSFER_UNKNOWN' | 'OPINIT_TRANSFER_SENT' | 'OPINIT_TRANSFER_RECEIVED';
|
|
291
|
+
type OPInitTransferTransactionsJSON = {
|
|
292
|
+
send_tx: ChainTransactionJSON | null;
|
|
293
|
+
receive_tx: ChainTransactionJSON | null;
|
|
294
|
+
};
|
|
295
|
+
type OPInitTransferTransactions = {
|
|
296
|
+
sendTx: ChainTransaction | null;
|
|
297
|
+
receiveTx: ChainTransaction | null;
|
|
298
|
+
};
|
|
299
|
+
type OPInitTransferInfoJSON = {
|
|
300
|
+
from_chain_id: string;
|
|
301
|
+
to_chain_id: string;
|
|
302
|
+
state: OPInitTransferState;
|
|
303
|
+
txs: OPInitTransferTransactionsJSON;
|
|
304
|
+
};
|
|
305
|
+
type OPInitTransferInfo = {
|
|
306
|
+
fromChainID: string;
|
|
307
|
+
toChainID: string;
|
|
308
|
+
state: OPInitTransferState;
|
|
309
|
+
txs: OPInitTransferTransactions;
|
|
310
|
+
};
|
|
311
|
+
type TransferEventJSON = {
|
|
312
|
+
ibc_transfer: TransferInfoJSON;
|
|
313
|
+
} | {
|
|
314
|
+
axelar_transfer: AxelarTransferInfoJSON;
|
|
315
|
+
} | {
|
|
316
|
+
cctp_transfer: CCTPTransferInfoJSON;
|
|
317
|
+
} | {
|
|
318
|
+
hyperlane_transfer: HyperlaneTransferInfoJSON;
|
|
319
|
+
} | {
|
|
320
|
+
op_init_transfer: OPInitTransferInfoJSON;
|
|
321
|
+
};
|
|
322
|
+
type TransferEvent = {
|
|
323
|
+
ibcTransfer: TransferInfo;
|
|
324
|
+
} | {
|
|
325
|
+
axelarTransfer: AxelarTransferInfo;
|
|
326
|
+
} | {
|
|
327
|
+
cctpTransfer: CCTPTransferInfo;
|
|
328
|
+
} | {
|
|
329
|
+
hyperlaneTransfer: HyperlaneTransferInfo;
|
|
330
|
+
} | {
|
|
331
|
+
opInitTransfer: OPInitTransferInfo;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
type ModuleSupport = {
|
|
335
|
+
authz: boolean;
|
|
336
|
+
feegrant: boolean;
|
|
337
|
+
};
|
|
338
|
+
type GasPriceInfo = {
|
|
339
|
+
low: string;
|
|
340
|
+
average: string;
|
|
341
|
+
high: string;
|
|
342
|
+
};
|
|
343
|
+
type FeeAsset = {
|
|
344
|
+
denom: string;
|
|
345
|
+
gasPrice: GasPriceInfo | null;
|
|
346
|
+
};
|
|
347
|
+
type FeeAssetJSON = {
|
|
348
|
+
denom: string;
|
|
349
|
+
gas_price: GasPriceInfo | null;
|
|
350
|
+
};
|
|
351
|
+
type IbcCapabilities = {
|
|
352
|
+
cosmosPfm: boolean;
|
|
353
|
+
cosmosIbcHooks: boolean;
|
|
354
|
+
cosmosMemo: boolean;
|
|
355
|
+
cosmosAutopilot: boolean;
|
|
356
|
+
};
|
|
357
|
+
type IbcCapabilitiesJSON = {
|
|
358
|
+
cosmos_pfm: boolean;
|
|
359
|
+
cosmos_ibc_hooks: boolean;
|
|
360
|
+
cosmos_memo: boolean;
|
|
361
|
+
cosmos_autopilot: boolean;
|
|
362
|
+
};
|
|
363
|
+
type Chain = {
|
|
364
|
+
chainName: string;
|
|
365
|
+
chainID: string;
|
|
366
|
+
pfmEnabled: boolean;
|
|
367
|
+
cosmosSDKVersion?: string;
|
|
368
|
+
modules?: Record<string, ModuleVersionInfo>;
|
|
369
|
+
cosmosModuleSupport: ModuleSupport;
|
|
370
|
+
supportsMemo: boolean;
|
|
371
|
+
logoURI?: string;
|
|
372
|
+
bech32Prefix: string;
|
|
373
|
+
feeAssets: FeeAsset[];
|
|
374
|
+
chainType: string;
|
|
375
|
+
ibcCapabilities: IbcCapabilities;
|
|
376
|
+
isTestnet: boolean;
|
|
377
|
+
prettyName: string;
|
|
378
|
+
};
|
|
379
|
+
type Venue = {
|
|
380
|
+
name: string;
|
|
381
|
+
chainID: string;
|
|
382
|
+
logoURI: string;
|
|
383
|
+
};
|
|
384
|
+
type ChainJSON = {
|
|
385
|
+
chain_name: string;
|
|
386
|
+
chain_id: string;
|
|
387
|
+
pfm_enabled: boolean;
|
|
388
|
+
cosmos_sdk_version?: string;
|
|
389
|
+
modules?: Record<string, ModuleVersionInfo>;
|
|
390
|
+
cosmos_module_support: ModuleSupport;
|
|
391
|
+
supports_memo: boolean;
|
|
392
|
+
logo_uri?: string;
|
|
393
|
+
bech32_prefix: string;
|
|
394
|
+
fee_assets: FeeAssetJSON[];
|
|
395
|
+
chain_type: string;
|
|
396
|
+
ibc_capabilities: IbcCapabilitiesJSON;
|
|
397
|
+
is_testnet: boolean;
|
|
398
|
+
pretty_name: string;
|
|
399
|
+
};
|
|
400
|
+
type ModuleVersionInfo = {
|
|
401
|
+
path: string;
|
|
402
|
+
version: string;
|
|
403
|
+
sum: string;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
declare function affiliateFromJSON(affiliateJSON: AffiliateJSON): Affiliate;
|
|
407
|
+
declare function affiliateToJSON(affiliate: Affiliate): AffiliateJSON;
|
|
408
|
+
declare function assetFromJSON(assetJSON: AssetJSON): Asset;
|
|
409
|
+
declare function assetToJSON(asset: Asset): AssetJSON;
|
|
410
|
+
declare function assetRecommendationFromJSON(assetRecommendationJSON: AssetRecommendationJSON): AssetRecommendation;
|
|
411
|
+
declare function assetRecommendationToJSON(assetRecommendation: AssetRecommendation): AssetRecommendationJSON;
|
|
412
|
+
declare function assetsFromSourceRequestFromJSON(assetsFromSourceRequestJSON: AssetsFromSourceRequestJSON): AssetsFromSourceRequest;
|
|
413
|
+
declare function assetsFromSourceRequestToJSON(assetsFromSourceRequest: AssetsFromSourceRequest): AssetsFromSourceRequestJSON;
|
|
414
|
+
declare function assetsRequestFromJSON(assetsRequestJSON: AssetsRequestJSON): AssetsRequest;
|
|
415
|
+
declare function assetsRequestToJSON(assetsRequest: AssetsRequest): AssetsRequestJSON;
|
|
416
|
+
declare function chainFromJSON(chainJSON: ChainJSON): Chain;
|
|
417
|
+
declare function chainToJSON(chain: Chain): ChainJSON;
|
|
418
|
+
declare function feeAssetFromJSON(feeAssetJSON: FeeAssetJSON): FeeAsset;
|
|
419
|
+
declare function feeAssetToJSON(feeAsset: FeeAsset): FeeAssetJSON;
|
|
420
|
+
declare function ibcCapabilitiesFromJSON(ibcCapabilitiesJSON: IbcCapabilitiesJSON): IbcCapabilities;
|
|
421
|
+
declare function ibcCapabilitiesToJSON(ibcCapabilities: IbcCapabilities): IbcCapabilitiesJSON;
|
|
422
|
+
declare function recommendAssetsRequestFromJSON(recommendAssetsRequestJSON: RecommendAssetsRequestJSON): RecommendAssetsRequest;
|
|
423
|
+
declare function recommendAssetsRequestToJSON(recommendAssetsRequest: RecommendAssetsRequest): RecommendAssetsRequestJSON;
|
|
424
|
+
declare function recommendAssetsResponseFromJSON(value: RecommendAssetsResponseJSON): RecommendAssetsResponse;
|
|
425
|
+
declare function recommendAssetsResponseToJSON(value: RecommendAssetsResponse): RecommendAssetsResponseJSON;
|
|
426
|
+
declare function recommendationEntryFromJSON(value: RecommendationEntryJSON): RecommendationEntry;
|
|
427
|
+
declare function recommendationEntryToJSON(value: RecommendationEntry): RecommendationEntryJSON;
|
|
428
|
+
declare function estimatedFeeFromJSON(estimatedFeeJSON: EstimatedFeeJSON): EstimatedFee;
|
|
429
|
+
declare function estimatedFeeToJSON(estimatedFee: EstimatedFee): EstimatedFeeJSON;
|
|
430
|
+
declare function swapVenueFromJSON(swapVenueJSON: SwapVenueJSON): SwapVenue;
|
|
431
|
+
declare function swapVenueToJSON(swapVenue: SwapVenue): SwapVenueJSON;
|
|
432
|
+
declare function swapVenueRequestFromJSON(SwapVenueRequestJSON: SwapVenueRequestJSON): SwapVenueRequest;
|
|
433
|
+
declare function swapVenueRequestToJSON(swapVenueRequest: SwapVenueRequest): SwapVenueRequestJSON;
|
|
434
|
+
declare function routeRequestFromJSON(routeRequestJSON: RouteRequestJSON): RouteRequest;
|
|
435
|
+
declare function routeRequestToJSON(routeRequest: RouteRequest): RouteRequestJSON;
|
|
436
|
+
declare function transferFromJSON(transferJSON: TransferJSON): Transfer;
|
|
437
|
+
declare function transferToJSON(transfer: Transfer): TransferJSON;
|
|
438
|
+
declare function swapOperationFromJSON(swapOperationJSON: SwapOperationJSON): SwapOperation;
|
|
439
|
+
declare function swapOperationToJSON(swapOperation: SwapOperation): SwapOperationJSON;
|
|
440
|
+
declare function swapRouteFromJSON(swapRouteJSON: SwapRouteJSON): SwapRoute;
|
|
441
|
+
declare function swapRouteToJSON(swapRoute: SwapRoute): SwapRouteJSON;
|
|
442
|
+
declare function swapExactCoinInFromJSON(swapExactCoinInJSON: SwapExactCoinInJSON): SwapExactCoinIn;
|
|
443
|
+
declare function swapExactCoinInToJSON(swapExactCoinIn: SwapExactCoinIn): SwapExactCoinInJSON;
|
|
444
|
+
declare function smartSwapExactCoinInFromJSON(smartSwapExactCoinInJSON: SmartSwapExactCoinInJSON): SmartSwapExactCoinIn;
|
|
445
|
+
declare function smartSwapExactCoinInToJSON(smartSwapExactCoinIn: SmartSwapExactCoinIn): SmartSwapExactCoinInJSON;
|
|
446
|
+
declare function swapExactCoinOutFromJSON(swapExactCoinOutJSON: SwapExactCoinOutJSON): SwapExactCoinOut;
|
|
447
|
+
declare function swapExactCoinOutToJSON(swapExactCoinOut: SwapExactCoinOut): SwapExactCoinOutJSON;
|
|
448
|
+
declare function swapFromJSON(swapJSON: SwapJSON): Swap;
|
|
449
|
+
declare function swapToJSON(swap: Swap): SwapJSON;
|
|
450
|
+
declare function evmSwapFromJSON(evmSwapJSON: EvmSwapJSON): EvmSwap;
|
|
451
|
+
declare function evmSwapToJSON(evmSwap: EvmSwap): EvmSwapJSON;
|
|
452
|
+
declare function operationFromJSON(operationJSON: OperationJSON): Operation;
|
|
453
|
+
declare function operationToJSON(operation: Operation): OperationJSON;
|
|
454
|
+
declare function routeResponseFromJSON(routeResponseJSON: RouteResponseJSON): RouteResponse;
|
|
455
|
+
declare function routeResponseToJSON(routeResponse: RouteResponse): RouteResponseJSON;
|
|
456
|
+
declare function cosmWasmContractMsgFromJSON(cosmWasmContractMsgJSON: CosmWasmContractMsgJSON): CosmWasmContractMsg;
|
|
457
|
+
declare function cosmWasmContractMsgToJSON(cosmWasmContractMsg: CosmWasmContractMsg): CosmWasmContractMsgJSON;
|
|
458
|
+
declare function postHandlerFromJSON(postHandlerJSON: PostHandlerJSON): PostHandler;
|
|
459
|
+
declare function postHandlerToJSON(postHandler: PostHandler): PostHandlerJSON;
|
|
460
|
+
declare function msgsRequestFromJSON(msgsRequestJSON: MsgsRequestJSON): MsgsRequest;
|
|
461
|
+
declare function msgsRequestToJSON(msgsRequest: MsgsRequest): MsgsRequestJSON;
|
|
462
|
+
declare function multiChainMsgFromJSON(multiChainMsgJSON: MultiChainMsgJSON): MultiChainMsg;
|
|
463
|
+
declare function multiChainMsgToJSON(multiChainMsg: MultiChainMsg): MultiChainMsgJSON;
|
|
464
|
+
declare function cosmosMsgFromJSON(cosmosMsgJSON: CosmosMsgJSON): CosmosMsg;
|
|
465
|
+
declare function cosmosMsgToJSON(cosmosMsg: CosmosMsg): CosmosMsgJSON;
|
|
466
|
+
declare function submitTxRequestFromJSON(submitTxRequestJSON: SubmitTxRequestJSON): SubmitTxRequest;
|
|
467
|
+
declare function submitTxRequestToJSON(submitTxRequest: SubmitTxRequest): SubmitTxRequestJSON;
|
|
468
|
+
declare function submitTxResponseFromJSON(submitTxResponseJSON: SubmitTxResponseJSON): SubmitTxResponse;
|
|
469
|
+
declare function submitTxResponseToJSON(submitTxResponse: SubmitTxResponse): SubmitTxResponseJSON;
|
|
470
|
+
declare function trackTxRequestFromJSON(trackRequestJSON: TrackTxRequestJSON): TrackTxRequest;
|
|
471
|
+
declare function trackTxRequestToJSON(trackRequest: TrackTxRequest): TrackTxRequestJSON;
|
|
472
|
+
declare function trackTxResponseFromJSON(trackResponseJSON: TrackTxResponseJSON): TrackTxResponse;
|
|
473
|
+
declare function trackTxResponseToJSON(trackResponse: TrackTxResponse): TrackTxResponseJSON;
|
|
474
|
+
declare function txStatusRequestFromJSON(txStatusRequestJSON: StatusRequestJSON): StatusRequest;
|
|
475
|
+
declare function txStatusRequestToJSON(txStatusRequest: StatusRequest): StatusRequestJSON;
|
|
476
|
+
declare function chainTransactionFromJSON(chainTransactionJSON: ChainTransactionJSON): ChainTransaction;
|
|
477
|
+
declare function chainTransactionToJSON(chainTransaction: ChainTransaction): ChainTransactionJSON;
|
|
478
|
+
declare function packetFromJSON(packetJSON: PacketJSON): Packet;
|
|
479
|
+
declare function packetToJSON(packet: Packet): PacketJSON;
|
|
480
|
+
declare function transferInfoFromJSON(transferInfoJSON: TransferInfoJSON): TransferInfo;
|
|
481
|
+
declare function transferInfoToJSON(transferInfo: TransferInfo): TransferInfoJSON;
|
|
482
|
+
declare function nextBlockingTransferFromJSON(nextBlockingTransferJSON: NextBlockingTransferJSON): NextBlockingTransfer;
|
|
483
|
+
declare function nextBlockingTransferToJSON(nextBlockingTransfer: NextBlockingTransfer): NextBlockingTransferJSON;
|
|
484
|
+
declare function transferAssetReleaseFromJSON(transferAssetReleaseJSON: TransferAssetReleaseJSON): TransferAssetRelease;
|
|
485
|
+
declare function transferAssetReleaseToJSON(transferAssetRelease: TransferAssetRelease): TransferAssetReleaseJSON;
|
|
486
|
+
declare function txStatusResponseFromJSON(statusResponseJSON: TxStatusResponseJSON): TxStatusResponse;
|
|
487
|
+
declare function txStatusResponseToJSON(statusResponse: TxStatusResponse): TxStatusResponseJSON;
|
|
488
|
+
declare function ibcAddressFromJSON(ibcAddressJSON: IBCAddressJSON): IBCAddress;
|
|
489
|
+
declare function ibcAddressToJSON(ibcAddress: IBCAddress): IBCAddressJSON;
|
|
490
|
+
declare function axelarTransferFromJSON(axelarTransferJSON: AxelarTransferJSON): AxelarTransfer;
|
|
491
|
+
declare function axelarTransferToJSON(axelarTransfer: AxelarTransfer): AxelarTransferJSON;
|
|
492
|
+
declare function bankSendFromJSON(value: BankSendJSON): BankSend;
|
|
493
|
+
declare function bankSendToJSON(value: BankSend): BankSendJSON;
|
|
494
|
+
declare function cctpTransferFromJSON(value: CCTPTransferJSON): CCTPTransfer;
|
|
495
|
+
declare function cctpTransferToJSON(value: CCTPTransfer): CCTPTransferJSON;
|
|
496
|
+
declare function hyperlaneTransferFromJSON(value: HyperlaneTransferJSON): HyperlaneTransfer;
|
|
497
|
+
declare function hyperlaneTransferToJSON(value: HyperlaneTransfer): HyperlaneTransferJSON;
|
|
498
|
+
declare function opInitTransferFromJSON(value: OPInitTransferJSON): OPInitTransfer;
|
|
499
|
+
declare function opInitTransferToJSON(value: OPInitTransfer): OPInitTransferJSON;
|
|
500
|
+
declare function erc20ApprovalFromJSON(erc20ApprovalJSON: ERC20ApprovalJSON): ERC20Approval;
|
|
501
|
+
declare function erc20ApprovalToJSON(erc20Approval: ERC20Approval): ERC20ApprovalJSON;
|
|
502
|
+
declare function svmTxFromJSON(svmTxJSON: SvmTxJSON): SvmTx;
|
|
503
|
+
declare function svmTxToJSON(svmTx: SvmTx): SvmTxJSON;
|
|
504
|
+
declare function evmTxFromJSON(evmTxJSON: EvmTxJSON): EvmTx;
|
|
505
|
+
declare function evmTxToJSON(evmTx: EvmTx): EvmTxJSON;
|
|
506
|
+
declare function cosmosTxFromJSON(cosmosTxJSON: CosmosTxJSON): CosmosTx;
|
|
507
|
+
declare function cosmosTxToJSON(cosmosTx: CosmosTx): CosmosTxJSON;
|
|
508
|
+
declare function txFromJSON(txJSON: TxJSON): Tx;
|
|
509
|
+
declare function txToJSON(tx: Tx): TxJSON;
|
|
510
|
+
declare function msgFromJSON(msgJSON: MsgJSON): Msg;
|
|
511
|
+
declare function msgToJSON(msg: Msg): MsgJSON;
|
|
512
|
+
declare function messageResponseFromJSON(response: MsgsResponseJSON): MsgsResponse;
|
|
513
|
+
declare function sendTokenTransactionsFromJSON(sendTokenTransactionsJSON: SendTokenTransactionsJSON): SendTokenTransactions;
|
|
514
|
+
declare function sendTokenTransactionsToJSON(sendTokenTransactions: SendTokenTransactions): SendTokenTransactionsJSON;
|
|
515
|
+
declare function contractCallWithTokenTransactionsFromJSON(value: ContractCallWithTokenTransactionsJSON): ContractCallWithTokenTransactions;
|
|
516
|
+
declare function contractCallWithTokenTransactionsToJSON(value: ContractCallWithTokenTransactions): ContractCallWithTokenTransactionsJSON;
|
|
517
|
+
declare function axelarTransferTransactionsFromJSON(value: AxelarTransferTransactionsJSON): AxelarTransferTransactions;
|
|
518
|
+
declare function axelarTransferTransactionsToJSON(value: AxelarTransferTransactions): AxelarTransferTransactionsJSON;
|
|
519
|
+
declare function axelarTransferInfoFromJSON(value: AxelarTransferInfoJSON): AxelarTransferInfo;
|
|
520
|
+
declare function axelarTransferInfoToJSON(value: AxelarTransferInfo): AxelarTransferInfoJSON;
|
|
521
|
+
declare function transferEventFromJSON(value: TransferEventJSON): TransferEvent;
|
|
522
|
+
declare function transferEventToJSON(value: TransferEvent): TransferEventJSON;
|
|
523
|
+
declare function transferStatusFromJSON(value: TransferStatusJSON): TransferStatus;
|
|
524
|
+
declare function transferStatusToJSON(value: TransferStatus): TransferStatusJSON;
|
|
525
|
+
declare function denomWithChainIDFromJSON(value: DenomWithChainIDJSON): DenomWithChainID;
|
|
526
|
+
declare function denomWithChainIDToJSON(value: DenomWithChainID): DenomWithChainIDJSON;
|
|
527
|
+
declare function assetOrErrorFromJSON(value: AssetOrErrorJSON): AssetOrError;
|
|
528
|
+
declare function assetOrErrorToJSON(value: AssetOrError): AssetOrErrorJSON;
|
|
529
|
+
declare function originAssetsRequestFromJSON(value: OriginAssetsRequestJSON): OriginAssetsRequest;
|
|
530
|
+
declare function originAssetsRequestToJSON(value: OriginAssetsRequest): OriginAssetsRequestJSON;
|
|
531
|
+
declare function originAssetsResponseFromJSON(value: OriginAssetsResponseJSON): OriginAssetsResponse;
|
|
532
|
+
declare function originAssetsResponseToJSON(value: OriginAssetsResponse): OriginAssetsResponseJSON;
|
|
533
|
+
declare function assetBetweenChainsFromJSON(value: AssetBetweenChainsJSON): AssetBetweenChains;
|
|
534
|
+
declare function assetBetweenChainsToJSON(value: AssetBetweenChains): AssetBetweenChainsJSON;
|
|
535
|
+
declare function assetsBetweenChainsRequestFromJSON(value: AssetsBetweenChainsRequestJSON): AssetsBetweenChainsRequest;
|
|
536
|
+
declare function assetsBetweenChainsRequestToJSON(value: AssetsBetweenChainsRequest): AssetsBetweenChainsRequestJSON;
|
|
537
|
+
declare function assetsBetweenChainsResponseFromJSON(value: AssetsBetweenChainsResponseJSON): AssetsBetweenChainsResponse;
|
|
538
|
+
declare function assetRecommendationRequestFromJSON(value: AssetRecommendationRequestJSON): AssetRecommendationRequest;
|
|
539
|
+
declare function assetRecommendationRequestToJSON(value: AssetRecommendationRequest): AssetRecommendationRequestJSON;
|
|
540
|
+
declare function bridgesResponseFromJSON(value: BridgesResponseJSON): BridgesResponse;
|
|
541
|
+
declare function bridgesResponseToJSON(value: BridgesResponse): BridgesResponseJSON;
|
|
542
|
+
declare function bridgeFromJSON(value: BridgeJSON): Bridge;
|
|
543
|
+
declare function bridgeToJSON(value: Bridge): BridgeJSON;
|
|
544
|
+
declare function cctpTransferTransactionsFromJSON(value: CCTPTransferTransactionsJSON): CCTPTransferTransactions;
|
|
545
|
+
declare function cctpTransferTransactionsToJSON(value: CCTPTransferTransactions): CCTPTransferTransactionsJSON;
|
|
546
|
+
declare function cctpTransferInfoFromJSON(value: CCTPTransferInfoJSON): CCTPTransferInfo;
|
|
547
|
+
declare function cctpTransferInfoToJSON(value: CCTPTransferInfo): CCTPTransferInfoJSON;
|
|
548
|
+
declare function hyperlaneTransferTransactionsFromJSON(value: HyperlaneTransferTransactionsJSON): HyperlaneTransferTransactions;
|
|
549
|
+
declare function hyperlaneTransferTransactionsToJSON(value: HyperlaneTransferTransactions): HyperlaneTransferTransactionsJSON;
|
|
550
|
+
declare function hyperlaneTransferInfoFromJSON(value: HyperlaneTransferInfoJSON): HyperlaneTransferInfo;
|
|
551
|
+
declare function hyperlaneTransferInfoToJSON(value: HyperlaneTransferInfo): HyperlaneTransferInfoJSON;
|
|
552
|
+
declare function opInitTransferTransactionsFromJSON(value: OPInitTransferTransactionsJSON): OPInitTransferTransactions;
|
|
553
|
+
declare function opInitTransferTransactionsToJSON(value: OPInitTransferTransactions): OPInitTransferTransactionsJSON;
|
|
554
|
+
declare function opInitTransferInfoFromJSON(value: OPInitTransferInfoJSON): OPInitTransferInfo;
|
|
555
|
+
declare function opInitTransferInfoToJSON(value: OPInitTransferInfo): OPInitTransferInfoJSON;
|
|
556
|
+
declare function msgsDirectRequestFromJSON(msgDirectRequestJSON: MsgsDirectRequestJSON): MsgsDirectRequest;
|
|
557
|
+
declare function msgsDirectRequestToJSON(msgDirectRequest: MsgsDirectRequest): MsgsDirectRequestJSON;
|
|
558
|
+
declare function smartSwapOptionsFromJSON(smartSwapOptionsJSON: SmartSwapOptionsJSON): SmartSwapOptions;
|
|
559
|
+
declare function smartSwapOptionsToJSON(smartSwapOptions: SmartSwapOptions): SmartSwapOptionsJSON;
|
|
560
|
+
declare function chainIDsToAffiliatesMapFromJSON(value: Record<string, ChainAffiliatesJSON>): Record<string, ChainAffiliates>;
|
|
561
|
+
declare function chainIDsToAffiliatesMapToJSON(value: Record<string, ChainAffiliates>): Record<string, ChainAffiliatesJSON>;
|
|
562
|
+
declare function chainAffiliatesFromJSON(value: ChainAffiliatesJSON): ChainAffiliates;
|
|
563
|
+
declare function chainAffiliatesToJSON(value: ChainAffiliates): ChainAffiliatesJSON;
|
|
564
|
+
|
|
565
|
+
export { type AcknowledgementError, Affiliate, AffiliateJSON, Asset, AssetBetweenChains, AssetBetweenChainsJSON, AssetJSON, AssetOrError, AssetOrErrorJSON, AssetRecommendation, AssetRecommendationJSON, AssetRecommendationRequest, AssetRecommendationRequestJSON, AssetsBetweenChainsRequest, AssetsBetweenChainsRequestJSON, AssetsBetweenChainsResponse, AssetsBetweenChainsResponseJSON, AssetsFromSourceRequest, AssetsFromSourceRequestJSON, AssetsRequest, AssetsRequestJSON, AxelarTransfer, type AxelarTransferInfo, type AxelarTransferInfoJSON, AxelarTransferJSON, type AxelarTransferState, type AxelarTransferTransactions, type AxelarTransferTransactionsJSON, type AxelarTransferType, BankSend, BankSendJSON, Bridge, BridgeJSON, BridgesResponse, BridgesResponseJSON, CCTPTransfer, type CCTPTransferInfo, type CCTPTransferInfoJSON, CCTPTransferJSON, type CCTPTransferState, type CCTPTransferTransactions, type CCTPTransferTransactionsJSON, type Chain, ChainAffiliates, ChainAffiliatesJSON, type ChainJSON, type ChainTransaction, type ChainTransactionJSON, type ContractCallWithTokenError, type ContractCallWithTokenErrorType, type ContractCallWithTokenTransactions, type ContractCallWithTokenTransactionsJSON, CosmWasmContractMsg, CosmWasmContractMsgJSON, CosmosMsg, CosmosMsgJSON, CosmosTx, CosmosTxJSON, DenomWithChainID, DenomWithChainIDJSON, ERC20Approval, ERC20ApprovalJSON, EstimatedFee, EstimatedFeeJSON, EvmSwap, EvmSwapJSON, EvmTx, EvmTxJSON, type FeeAsset, type FeeAssetJSON, type GasPriceInfo, HyperlaneTransfer, type HyperlaneTransferInfo, type HyperlaneTransferInfoJSON, HyperlaneTransferJSON, type HyperlaneTransferState, type HyperlaneTransferTransactions, type HyperlaneTransferTransactionsJSON, IBCAddress, IBCAddressJSON, type IbcCapabilities, type IbcCapabilitiesJSON, type ModuleSupport, type ModuleVersionInfo, Msg, MsgJSON, MsgsDirectRequest, MsgsDirectRequestJSON, MsgsRequest, MsgsRequestJSON, MsgsResponse, MsgsResponseJSON, MultiChainMsg, MultiChainMsgJSON, type NextBlockingTransfer, type NextBlockingTransferJSON, OPInitTransfer, type OPInitTransferInfo, type OPInitTransferInfoJSON, OPInitTransferJSON, type OPInitTransferState, type OPInitTransferTransactions, type OPInitTransferTransactionsJSON, Operation, OperationJSON, OriginAssetsRequest, OriginAssetsRequestJSON, OriginAssetsResponse, OriginAssetsResponseJSON, type Packet, type PacketError, type PacketErrorJSON, type PacketErrorType, type PacketJSON, PostHandler, PostHandlerJSON, RecommendAssetsRequest, RecommendAssetsRequestJSON, RecommendAssetsResponse, RecommendAssetsResponseJSON, RecommendationEntry, RecommendationEntryJSON, RouteRequest, RouteRequestJSON, RouteResponse, RouteResponseJSON, type SendTokenError, type SendTokenErrorType, type SendTokenTransactions, type SendTokenTransactionsJSON, SmartSwapExactCoinIn, SmartSwapExactCoinInJSON, SmartSwapOptions, SmartSwapOptionsJSON, type StatusError, type StatusErrorJSON, type StatusErrorType, type StatusRequest, type StatusRequestJSON, type StatusState, type SubmitTxRequest, type SubmitTxRequestJSON, type SubmitTxResponse, type SubmitTxResponseJSON, SvmTx, SvmTxJSON, Swap, SwapExactCoinIn, SwapExactCoinInJSON, SwapExactCoinOut, SwapExactCoinOutJSON, SwapJSON, SwapOperation, SwapOperationJSON, SwapRoute, SwapRouteJSON, SwapVenue, SwapVenueJSON, SwapVenueRequest, SwapVenueRequestJSON, type TrackTxRequest, type TrackTxRequestJSON, type TrackTxResponse, type TrackTxResponseJSON, type TransactionExecutionError, Transfer, type TransferAssetRelease, type TransferAssetReleaseJSON, type TransferEvent, type TransferEventJSON, type TransferInfo, type TransferInfoJSON, TransferJSON, type TransferState, type TransferStatus, type TransferStatusJSON, Tx, TxJSON, type TxStatusResponse, type TxStatusResponseJSON, type Venue, affiliateFromJSON, affiliateToJSON, assetBetweenChainsFromJSON, assetBetweenChainsToJSON, assetFromJSON, assetOrErrorFromJSON, assetOrErrorToJSON, assetRecommendationFromJSON, assetRecommendationRequestFromJSON, assetRecommendationRequestToJSON, assetRecommendationToJSON, assetToJSON, assetsBetweenChainsRequestFromJSON, assetsBetweenChainsRequestToJSON, assetsBetweenChainsResponseFromJSON, assetsFromSourceRequestFromJSON, assetsFromSourceRequestToJSON, assetsRequestFromJSON, assetsRequestToJSON, axelarTransferFromJSON, axelarTransferInfoFromJSON, axelarTransferInfoToJSON, axelarTransferToJSON, axelarTransferTransactionsFromJSON, axelarTransferTransactionsToJSON, bankSendFromJSON, bankSendToJSON, bridgeFromJSON, bridgeToJSON, bridgesResponseFromJSON, bridgesResponseToJSON, cctpTransferFromJSON, cctpTransferInfoFromJSON, cctpTransferInfoToJSON, cctpTransferToJSON, cctpTransferTransactionsFromJSON, cctpTransferTransactionsToJSON, chainAffiliatesFromJSON, chainAffiliatesToJSON, chainFromJSON, chainIDsToAffiliatesMapFromJSON, chainIDsToAffiliatesMapToJSON, chainToJSON, chainTransactionFromJSON, chainTransactionToJSON, contractCallWithTokenTransactionsFromJSON, contractCallWithTokenTransactionsToJSON, cosmWasmContractMsgFromJSON, cosmWasmContractMsgToJSON, cosmosMsgFromJSON, cosmosMsgToJSON, cosmosTxFromJSON, cosmosTxToJSON, denomWithChainIDFromJSON, denomWithChainIDToJSON, erc20ApprovalFromJSON, erc20ApprovalToJSON, estimatedFeeFromJSON, estimatedFeeToJSON, evmSwapFromJSON, evmSwapToJSON, evmTxFromJSON, evmTxToJSON, feeAssetFromJSON, feeAssetToJSON, hyperlaneTransferFromJSON, hyperlaneTransferInfoFromJSON, hyperlaneTransferInfoToJSON, hyperlaneTransferToJSON, hyperlaneTransferTransactionsFromJSON, hyperlaneTransferTransactionsToJSON, ibcAddressFromJSON, ibcAddressToJSON, ibcCapabilitiesFromJSON, ibcCapabilitiesToJSON, messageResponseFromJSON, msgFromJSON, msgToJSON, msgsDirectRequestFromJSON, msgsDirectRequestToJSON, msgsRequestFromJSON, msgsRequestToJSON, multiChainMsgFromJSON, multiChainMsgToJSON, nextBlockingTransferFromJSON, nextBlockingTransferToJSON, opInitTransferFromJSON, opInitTransferInfoFromJSON, opInitTransferInfoToJSON, opInitTransferToJSON, opInitTransferTransactionsFromJSON, opInitTransferTransactionsToJSON, operationFromJSON, operationToJSON, originAssetsRequestFromJSON, originAssetsRequestToJSON, originAssetsResponseFromJSON, originAssetsResponseToJSON, packetFromJSON, packetToJSON, postHandlerFromJSON, postHandlerToJSON, recommendAssetsRequestFromJSON, recommendAssetsRequestToJSON, recommendAssetsResponseFromJSON, recommendAssetsResponseToJSON, recommendationEntryFromJSON, recommendationEntryToJSON, routeRequestFromJSON, routeRequestToJSON, routeResponseFromJSON, routeResponseToJSON, sendTokenTransactionsFromJSON, sendTokenTransactionsToJSON, smartSwapExactCoinInFromJSON, smartSwapExactCoinInToJSON, smartSwapOptionsFromJSON, smartSwapOptionsToJSON, submitTxRequestFromJSON, submitTxRequestToJSON, submitTxResponseFromJSON, submitTxResponseToJSON, svmTxFromJSON, svmTxToJSON, swapExactCoinInFromJSON, swapExactCoinInToJSON, swapExactCoinOutFromJSON, swapExactCoinOutToJSON, swapFromJSON, swapOperationFromJSON, swapOperationToJSON, swapRouteFromJSON, swapRouteToJSON, swapToJSON, swapVenueFromJSON, swapVenueRequestFromJSON, swapVenueRequestToJSON, swapVenueToJSON, trackTxRequestFromJSON, trackTxRequestToJSON, trackTxResponseFromJSON, trackTxResponseToJSON, transferAssetReleaseFromJSON, transferAssetReleaseToJSON, transferEventFromJSON, transferEventToJSON, transferFromJSON, transferInfoFromJSON, transferInfoToJSON, transferStatusFromJSON, transferStatusToJSON, transferToJSON, txFromJSON, txStatusRequestFromJSON, txStatusRequestToJSON, txStatusResponseFromJSON, txStatusResponseToJSON, txToJSON };
|