-
Notifications
You must be signed in to change notification settings - Fork 22
/
skip.ts
67 lines (63 loc) · 1.31 KB
/
skip.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
export type SkipChain = {
chain_name: string
chain_id: string
pfm_enabled: boolean
cosmos_module_support: Record<string, boolean | undefined>
supports_memo: boolean
logo_uri: string
bech32_prefix: string
fee_assets: {
denom: string
gas_price: {
low: string
average: string
high: string
}
}[]
chain_type: string
ibc_capabilities: Record<string, boolean | undefined>
is_testnet: boolean
pretty_name?: string
}
export type SkipAsset = {
denom: string
chain_id: string
origin_denom: string
origin_chain_id: string
trace: string
is_cw20: boolean
is_evm: boolean
symbol: string
name: string
logo_uri: string
decimals: number
description: string
coingecko_id?: string
token_contract?: string
recommended_symbol: string
}
export type SkipAssetRecommendation = {
asset: SkipAsset
reason: string
}
export type SkipRoute = {
source_asset_denom: string
source_asset_chain_id: string
dest_asset_denom: string
dest_asset_chain_id: string
amount_in: string
amount_out: string
operations: any[]
chain_ids: string[]
does_swap: boolean
estimated_amount_out: string
txs_required: number
usd_amount_in: string
usd_amount_out: string
}
export type SkipMultiChainMsg = {
chain_id: string
path: string[]
msg: string
msg_type_url: string
}