@chain-registry/interfaces 0.48.85 → 0.49.0
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/assetlist.schema.d.ts +20 -3
- package/chain.schema.d.ts +63 -30
- package/package.json +2 -2
- package/versions.schema.d.ts +49 -13
package/assetlist.schema.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ export interface Asset {
|
|
|
3
3
|
description?: string;
|
|
4
4
|
extended_description?: string;
|
|
5
5
|
denom_units: DenomUnit[];
|
|
6
|
-
type_asset?: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate";
|
|
6
|
+
type_asset?: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate" | "unknown";
|
|
7
7
|
address?: string;
|
|
8
8
|
base: string;
|
|
9
9
|
name: string;
|
|
10
10
|
display: string;
|
|
11
11
|
symbol: string;
|
|
12
|
-
traces?: (IbcTransition | IbcCw20Transition | NonIbcTransition)[];
|
|
12
|
+
traces?: (IbcTransition | IbcCw20Transition | IbcBridgeTransition | NonIbcTransition)[];
|
|
13
13
|
ibc?: {
|
|
14
14
|
source_channel: string;
|
|
15
15
|
dst_channel: string;
|
|
@@ -25,8 +25,10 @@ export interface Asset {
|
|
|
25
25
|
svg?: string;
|
|
26
26
|
theme?: {
|
|
27
27
|
primary_color_hex?: string;
|
|
28
|
+
background_color_hex?: string;
|
|
28
29
|
circle?: boolean;
|
|
29
30
|
dark_mode?: boolean;
|
|
31
|
+
monochrome?: boolean;
|
|
30
32
|
};
|
|
31
33
|
}[];
|
|
32
34
|
coingecko_id?: string;
|
|
@@ -71,8 +73,23 @@ export interface IbcCw20Transition {
|
|
|
71
73
|
path: string;
|
|
72
74
|
};
|
|
73
75
|
}
|
|
76
|
+
export interface IbcBridgeTransition {
|
|
77
|
+
type: "ibc-bridge";
|
|
78
|
+
counterparty: {
|
|
79
|
+
chain_name: string;
|
|
80
|
+
base_denom: string;
|
|
81
|
+
port?: string;
|
|
82
|
+
channel_id: string;
|
|
83
|
+
};
|
|
84
|
+
chain: {
|
|
85
|
+
port?: string;
|
|
86
|
+
channel_id: string;
|
|
87
|
+
path: string;
|
|
88
|
+
};
|
|
89
|
+
provider: string;
|
|
90
|
+
}
|
|
74
91
|
export interface NonIbcTransition {
|
|
75
|
-
type: "bridge" | "liquid-stake" | "synthetic" | "wrapped" | "additional-mintage" | "test-mintage";
|
|
92
|
+
type: "bridge" | "liquid-stake" | "synthetic" | "wrapped" | "additional-mintage" | "test-mintage" | "legacy-mintage";
|
|
76
93
|
counterparty: {
|
|
77
94
|
chain_name: string;
|
|
78
95
|
base_denom: string;
|
package/chain.schema.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ export interface Explorer {
|
|
|
13
13
|
url?: string;
|
|
14
14
|
tx_page?: string;
|
|
15
15
|
account_page?: string;
|
|
16
|
+
validator_page?: string;
|
|
17
|
+
proposal_page?: string;
|
|
18
|
+
block_page?: string;
|
|
16
19
|
}
|
|
17
20
|
export interface FeeToken {
|
|
18
21
|
denom: string;
|
|
@@ -28,6 +31,49 @@ export interface FeeToken {
|
|
|
28
31
|
export interface StakingToken {
|
|
29
32
|
denom: string;
|
|
30
33
|
}
|
|
34
|
+
export type Repo = string;
|
|
35
|
+
export type Version = string;
|
|
36
|
+
export type Tag = string;
|
|
37
|
+
export interface Sdk {
|
|
38
|
+
type: "cosmos" | "penumbra" | "other";
|
|
39
|
+
version?: Version;
|
|
40
|
+
repo?: Repo;
|
|
41
|
+
tag?: Tag;
|
|
42
|
+
}
|
|
43
|
+
export interface Ibc {
|
|
44
|
+
type: "go" | "rust" | "other";
|
|
45
|
+
version?: Version;
|
|
46
|
+
repo?: Repo;
|
|
47
|
+
tag?: Tag;
|
|
48
|
+
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
49
|
+
}
|
|
50
|
+
export interface Cosmwasm {
|
|
51
|
+
version?: Version;
|
|
52
|
+
repo?: Repo;
|
|
53
|
+
tag?: Tag;
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
path?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface Consensus {
|
|
58
|
+
type: "tendermint" | "cometbft" | "sei-tendermint";
|
|
59
|
+
version?: Version;
|
|
60
|
+
repo?: Repo;
|
|
61
|
+
tag?: Tag;
|
|
62
|
+
}
|
|
63
|
+
export interface Language {
|
|
64
|
+
type: "go" | "rust" | "solidity" | "other";
|
|
65
|
+
version?: Version;
|
|
66
|
+
repo?: Repo;
|
|
67
|
+
tag?: Tag;
|
|
68
|
+
}
|
|
69
|
+
export interface Binaries {
|
|
70
|
+
"linux/amd64"?: string;
|
|
71
|
+
"linux/arm64"?: string;
|
|
72
|
+
"darwin/amd64"?: string;
|
|
73
|
+
"darwin/arm64"?: string;
|
|
74
|
+
"windows/amd64"?: string;
|
|
75
|
+
"windows/arm64"?: string;
|
|
76
|
+
}
|
|
31
77
|
export interface Pointer {
|
|
32
78
|
chain_name: string;
|
|
33
79
|
base_denom?: string;
|
|
@@ -35,14 +81,15 @@ export interface Pointer {
|
|
|
35
81
|
export interface Chain {
|
|
36
82
|
$schema?: string;
|
|
37
83
|
chain_name: string;
|
|
38
|
-
|
|
84
|
+
chain_type: "cosmos" | "eip155" | "bip122" | "polkadot" | "solana" | "algorand" | "arweave" | "ergo" | "fil" | "hedera" | "monero" | "reef" | "stacks" | "starknet" | "stellar" | "tezos" | "vechain" | "waves" | "xrpl" | "unknown";
|
|
85
|
+
chain_id?: string;
|
|
39
86
|
pre_fork_chain_name?: string;
|
|
40
87
|
pretty_name?: string;
|
|
41
88
|
website?: string;
|
|
42
89
|
update_link?: string;
|
|
43
90
|
status?: "live" | "upcoming" | "killed";
|
|
44
91
|
network_type?: "mainnet" | "testnet" | "devnet";
|
|
45
|
-
bech32_prefix
|
|
92
|
+
bech32_prefix?: string;
|
|
46
93
|
bech32_config?: {
|
|
47
94
|
bech32PrefixAccAddr?: string;
|
|
48
95
|
bech32PrefixAccPub?: string;
|
|
@@ -69,26 +116,19 @@ export interface Chain {
|
|
|
69
116
|
codebase?: {
|
|
70
117
|
git_repo?: string;
|
|
71
118
|
recommended_version?: string;
|
|
72
|
-
go_version?: string;
|
|
73
119
|
compatible_versions?: string[];
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"linux/arm64"?: string;
|
|
77
|
-
"darwin/amd64"?: string;
|
|
78
|
-
"darwin/arm64"?: string;
|
|
79
|
-
"windows/amd64"?: string;
|
|
80
|
-
"windows/arm64"?: string;
|
|
81
|
-
};
|
|
120
|
+
language?: Language;
|
|
121
|
+
binaries?: Binaries;
|
|
82
122
|
cosmos_sdk_version?: string;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
version?: string;
|
|
86
|
-
};
|
|
123
|
+
sdk?: Sdk;
|
|
124
|
+
consensus?: Consensus;
|
|
87
125
|
cosmwasm_version?: string;
|
|
88
126
|
cosmwasm_enabled?: boolean;
|
|
89
127
|
cosmwasm_path?: string;
|
|
128
|
+
cosmwasm?: Cosmwasm;
|
|
90
129
|
ibc_go_version?: string;
|
|
91
130
|
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
131
|
+
ibc?: Ibc;
|
|
92
132
|
genesis?: {
|
|
93
133
|
name?: string;
|
|
94
134
|
genesis_url: string;
|
|
@@ -102,26 +142,19 @@ export interface Chain {
|
|
|
102
142
|
previous_version_name?: string;
|
|
103
143
|
next_version_name?: string;
|
|
104
144
|
recommended_version?: string;
|
|
105
|
-
go_version?: string;
|
|
106
145
|
compatible_versions?: string[];
|
|
146
|
+
language?: Language;
|
|
107
147
|
cosmos_sdk_version?: string;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
version?: string;
|
|
111
|
-
};
|
|
148
|
+
sdk?: Sdk;
|
|
149
|
+
consensus?: Consensus;
|
|
112
150
|
cosmwasm_version?: string;
|
|
113
151
|
cosmwasm_enabled?: boolean;
|
|
114
152
|
cosmwasm_path?: string;
|
|
153
|
+
cosmwasm?: Cosmwasm;
|
|
115
154
|
ibc_go_version?: string;
|
|
116
155
|
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"linux/arm64"?: string;
|
|
120
|
-
"darwin/amd64"?: string;
|
|
121
|
-
"darwin/arm64"?: string;
|
|
122
|
-
"windows/amd64"?: string;
|
|
123
|
-
"windows/arm64"?: string;
|
|
124
|
-
};
|
|
156
|
+
ibc?: Ibc;
|
|
157
|
+
binaries?: Binaries;
|
|
125
158
|
}[];
|
|
126
159
|
};
|
|
127
160
|
images?: {
|
|
@@ -130,11 +163,11 @@ export interface Chain {
|
|
|
130
163
|
svg?: string;
|
|
131
164
|
theme?: {
|
|
132
165
|
primary_color_hex?: string;
|
|
166
|
+
background_color_hex?: string;
|
|
133
167
|
circle?: boolean;
|
|
134
168
|
dark_mode?: boolean;
|
|
169
|
+
monochrome?: boolean;
|
|
135
170
|
};
|
|
136
|
-
layout?: "logo" | "logomark" | "logotype";
|
|
137
|
-
text_position?: "top" | "bottom" | "left" | "right" | "integrated";
|
|
138
171
|
}[];
|
|
139
172
|
logo_URIs?: {
|
|
140
173
|
png?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chain-registry/interfaces",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"description": "Chain Registry interfaces",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"cosmos",
|
|
34
34
|
"interchain"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "fbd284ef1c6ac649534c53c1a62f085cc20fe181"
|
|
37
37
|
}
|
package/versions.schema.d.ts
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
export type Repo = string;
|
|
2
|
+
export type Version = string;
|
|
3
|
+
export type Tag = string;
|
|
4
|
+
export interface Sdk {
|
|
5
|
+
type: "cosmos" | "penumbra" | "other";
|
|
6
|
+
version?: Version;
|
|
7
|
+
repo?: Repo;
|
|
8
|
+
tag?: Tag;
|
|
9
|
+
}
|
|
10
|
+
export interface Ibc {
|
|
11
|
+
type: "go" | "rust" | "other";
|
|
12
|
+
version?: Version;
|
|
13
|
+
repo?: Repo;
|
|
14
|
+
tag?: Tag;
|
|
15
|
+
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
16
|
+
}
|
|
17
|
+
export interface Cosmwasm {
|
|
18
|
+
version?: Version;
|
|
19
|
+
repo?: Repo;
|
|
20
|
+
tag?: Tag;
|
|
21
|
+
enabled?: boolean;
|
|
22
|
+
path?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface Consensus {
|
|
25
|
+
type: "tendermint" | "cometbft" | "sei-tendermint";
|
|
26
|
+
version?: Version;
|
|
27
|
+
repo?: Repo;
|
|
28
|
+
tag?: Tag;
|
|
29
|
+
}
|
|
30
|
+
export interface Language {
|
|
31
|
+
type: "go" | "rust" | "solidity" | "other";
|
|
32
|
+
version?: Version;
|
|
33
|
+
repo?: Repo;
|
|
34
|
+
tag?: Tag;
|
|
35
|
+
}
|
|
36
|
+
export interface Binaries {
|
|
37
|
+
"linux/amd64"?: string;
|
|
38
|
+
"linux/arm64"?: string;
|
|
39
|
+
"darwin/amd64"?: string;
|
|
40
|
+
"darwin/arm64"?: string;
|
|
41
|
+
"windows/amd64"?: string;
|
|
42
|
+
"windows/arm64"?: string;
|
|
43
|
+
}
|
|
1
44
|
export interface Versions {
|
|
2
45
|
$schema?: string;
|
|
3
46
|
chain_name: string;
|
|
@@ -11,23 +54,16 @@ export interface Versions {
|
|
|
11
54
|
recommended_version?: string;
|
|
12
55
|
compatible_versions?: string[];
|
|
13
56
|
cosmos_sdk_version?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
version?: string;
|
|
17
|
-
};
|
|
57
|
+
sdk?: Sdk;
|
|
58
|
+
consensus?: Consensus;
|
|
18
59
|
cosmwasm_version?: string;
|
|
19
60
|
cosmwasm_enabled?: boolean;
|
|
20
61
|
cosmwasm_path?: string;
|
|
62
|
+
cosmwasm?: Cosmwasm;
|
|
21
63
|
ibc_go_version?: string;
|
|
22
|
-
|
|
64
|
+
ibc?: Ibc;
|
|
65
|
+
language?: Language;
|
|
23
66
|
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
24
|
-
binaries?:
|
|
25
|
-
"linux/amd64"?: string;
|
|
26
|
-
"linux/arm64"?: string;
|
|
27
|
-
"darwin/amd64"?: string;
|
|
28
|
-
"darwin/arm64"?: string;
|
|
29
|
-
"windows/amd64"?: string;
|
|
30
|
-
"windows/arm64"?: string;
|
|
31
|
-
};
|
|
67
|
+
binaries?: Binaries;
|
|
32
68
|
}[];
|
|
33
69
|
}
|