@chain-registry/types 0.50.409 → 0.50.441
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 +7 -10
- package/chain.schema.d.ts +31 -47
- package/esm/memo_keys.schema.js +1 -0
- package/esm/versions.schema.js +1 -0
- package/ibc_data.schema.d.ts +3 -5
- package/memo_keys.schema.d.ts +11 -0
- package/memo_keys.schema.js +2 -0
- package/package.json +2 -2
- package/versions.schema.d.ts +63 -0
- package/versions.schema.js +2 -0
package/assetlist.schema.d.ts
CHANGED
|
@@ -24,18 +24,15 @@ export interface Asset {
|
|
|
24
24
|
png?: string;
|
|
25
25
|
svg?: string;
|
|
26
26
|
theme?: {
|
|
27
|
-
primary_color_hex?: string;
|
|
28
|
-
background_color_hex?: string;
|
|
29
27
|
circle?: boolean;
|
|
30
28
|
dark_mode?: boolean;
|
|
31
|
-
monochrome?: boolean;
|
|
32
29
|
};
|
|
33
30
|
}[];
|
|
34
31
|
coingecko_id?: string;
|
|
35
32
|
keywords?: string[];
|
|
36
33
|
socials?: {
|
|
37
34
|
website?: string;
|
|
38
|
-
|
|
35
|
+
x?: string;
|
|
39
36
|
telegram?: string;
|
|
40
37
|
discord?: string;
|
|
41
38
|
github?: string;
|
|
@@ -61,11 +58,11 @@ export interface IbcTransition {
|
|
|
61
58
|
};
|
|
62
59
|
chain: {
|
|
63
60
|
channel_id: string;
|
|
64
|
-
path
|
|
61
|
+
path: string;
|
|
65
62
|
};
|
|
66
63
|
}
|
|
67
64
|
export interface IbcCw20Transition {
|
|
68
|
-
type:
|
|
65
|
+
type: "ibc-cw20";
|
|
69
66
|
counterparty: {
|
|
70
67
|
chain_name: string;
|
|
71
68
|
base_denom: string;
|
|
@@ -75,11 +72,11 @@ export interface IbcCw20Transition {
|
|
|
75
72
|
chain: {
|
|
76
73
|
port: string;
|
|
77
74
|
channel_id: string;
|
|
78
|
-
path
|
|
75
|
+
path: string;
|
|
79
76
|
};
|
|
80
77
|
}
|
|
81
78
|
export interface IbcBridgeTransition {
|
|
82
|
-
type:
|
|
79
|
+
type: "ibc-bridge";
|
|
83
80
|
counterparty: {
|
|
84
81
|
chain_name: string;
|
|
85
82
|
base_denom: string;
|
|
@@ -89,12 +86,12 @@ export interface IbcBridgeTransition {
|
|
|
89
86
|
chain: {
|
|
90
87
|
port?: string;
|
|
91
88
|
channel_id: string;
|
|
92
|
-
path
|
|
89
|
+
path: string;
|
|
93
90
|
};
|
|
94
91
|
provider: string;
|
|
95
92
|
}
|
|
96
93
|
export interface NonIbcTransition {
|
|
97
|
-
type:
|
|
94
|
+
type: "bridge" | "liquid-stake" | "synthetic" | "wrapped" | "additional-mintage" | "test-mintage" | "legacy-mintage";
|
|
98
95
|
counterparty: {
|
|
99
96
|
chain_name: string;
|
|
100
97
|
base_denom: string;
|
package/chain.schema.d.ts
CHANGED
|
@@ -8,6 +8,16 @@ export interface Endpoint {
|
|
|
8
8
|
provider?: string;
|
|
9
9
|
archive?: boolean;
|
|
10
10
|
}
|
|
11
|
+
export interface Snapshot {
|
|
12
|
+
provider: string;
|
|
13
|
+
url: string;
|
|
14
|
+
latest_url?: string;
|
|
15
|
+
type?: "pruned" | "archive";
|
|
16
|
+
db_backend?: "goleveldb" | "pebbledb";
|
|
17
|
+
frequency?: string;
|
|
18
|
+
compression?: "lz4" | "zstd" | "gzip" | "tar" | "none";
|
|
19
|
+
checksum_available?: boolean;
|
|
20
|
+
}
|
|
11
21
|
export interface Explorer {
|
|
12
22
|
kind?: string;
|
|
13
23
|
url?: string;
|
|
@@ -35,17 +45,17 @@ export type Repo = string;
|
|
|
35
45
|
export type Version = string;
|
|
36
46
|
export type Tag = string;
|
|
37
47
|
export interface Sdk {
|
|
38
|
-
type:
|
|
48
|
+
type: "cosmos" | "penumbra" | "other";
|
|
39
49
|
version?: Version;
|
|
40
50
|
repo?: Repo;
|
|
41
51
|
tag?: Tag;
|
|
42
52
|
}
|
|
43
53
|
export interface Ibc {
|
|
44
|
-
type:
|
|
54
|
+
type: "go" | "rust" | "other";
|
|
45
55
|
version?: Version;
|
|
46
56
|
repo?: Repo;
|
|
47
57
|
tag?: Tag;
|
|
48
|
-
ics_enabled?: (
|
|
58
|
+
ics_enabled?: ("ics20-1" | "ics27-1" | "mauth")[];
|
|
49
59
|
}
|
|
50
60
|
export interface Cosmwasm {
|
|
51
61
|
version?: Version;
|
|
@@ -55,24 +65,24 @@ export interface Cosmwasm {
|
|
|
55
65
|
path?: string;
|
|
56
66
|
}
|
|
57
67
|
export interface Consensus {
|
|
58
|
-
type:
|
|
68
|
+
type: "tendermint" | "cometbft" | "sei-tendermint" | "cometbls";
|
|
59
69
|
version?: Version;
|
|
60
70
|
repo?: Repo;
|
|
61
71
|
tag?: Tag;
|
|
62
72
|
}
|
|
63
73
|
export interface Language {
|
|
64
|
-
type:
|
|
74
|
+
type: "go" | "rust" | "solidity" | "other";
|
|
65
75
|
version?: Version;
|
|
66
76
|
repo?: Repo;
|
|
67
77
|
tag?: Tag;
|
|
68
78
|
}
|
|
69
79
|
export interface Binaries {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
80
|
+
"linux/amd64"?: string;
|
|
81
|
+
"linux/arm64"?: string;
|
|
82
|
+
"darwin/amd64"?: string;
|
|
83
|
+
"darwin/arm64"?: string;
|
|
84
|
+
"windows/amd64"?: string;
|
|
85
|
+
"windows/arm64"?: string;
|
|
76
86
|
}
|
|
77
87
|
export interface Pointer {
|
|
78
88
|
chain_name: string;
|
|
@@ -81,14 +91,13 @@ export interface Pointer {
|
|
|
81
91
|
export interface Chain {
|
|
82
92
|
$schema?: string;
|
|
83
93
|
chain_name: string;
|
|
84
|
-
chain_type:
|
|
85
|
-
chain_id
|
|
94
|
+
chain_type: "cosmos" | "eip155" | "bip122" | "polkadot" | "solana" | "algorand" | "arweave" | "ergo" | "fil" | "hedera" | "monero" | "reef" | "stacks" | "starknet" | "stellar" | "tezos" | "vechain" | "waves" | "xrpl" | "unknown";
|
|
95
|
+
chain_id?: string;
|
|
86
96
|
pre_fork_chain_name?: string;
|
|
87
97
|
pretty_name?: string;
|
|
88
98
|
website?: string;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
network_type?: 'mainnet' | 'testnet' | 'devnet';
|
|
99
|
+
status: "live" | "upcoming" | "killed";
|
|
100
|
+
network_type?: "mainnet" | "testnet" | "devnet";
|
|
92
101
|
bech32_prefix?: string;
|
|
93
102
|
bech32_config?: {
|
|
94
103
|
bech32PrefixAccAddr?: string;
|
|
@@ -100,7 +109,7 @@ export interface Chain {
|
|
|
100
109
|
};
|
|
101
110
|
daemon_name?: string;
|
|
102
111
|
node_home?: string;
|
|
103
|
-
key_algos?: (
|
|
112
|
+
key_algos?: ("secp256k1" | "ethsecp256k1" | "ed25519" | "sr25519" | "bn254")[];
|
|
104
113
|
slip44?: number;
|
|
105
114
|
alternative_slip44s?: number[];
|
|
106
115
|
fees?: {
|
|
@@ -117,14 +126,11 @@ export interface Chain {
|
|
|
117
126
|
git_repo?: string;
|
|
118
127
|
recommended_version?: string;
|
|
119
128
|
compatible_versions?: string[];
|
|
129
|
+
tag?: Tag;
|
|
120
130
|
language?: Language;
|
|
121
131
|
binaries?: Binaries;
|
|
122
|
-
cosmos_sdk_version?: string;
|
|
123
132
|
sdk?: Sdk;
|
|
124
133
|
consensus?: Consensus;
|
|
125
|
-
cosmwasm_version?: string;
|
|
126
|
-
cosmwasm_enabled?: boolean;
|
|
127
|
-
cosmwasm_path?: string;
|
|
128
134
|
cosmwasm?: Cosmwasm;
|
|
129
135
|
ibc?: Ibc;
|
|
130
136
|
genesis?: {
|
|
@@ -132,37 +138,14 @@ export interface Chain {
|
|
|
132
138
|
genesis_url: string;
|
|
133
139
|
ics_ccv_url?: string;
|
|
134
140
|
};
|
|
135
|
-
versions?: {
|
|
136
|
-
name: string;
|
|
137
|
-
tag?: string;
|
|
138
|
-
height?: number;
|
|
139
|
-
proposal?: number;
|
|
140
|
-
previous_version_name?: string;
|
|
141
|
-
next_version_name?: string;
|
|
142
|
-
recommended_version?: string;
|
|
143
|
-
compatible_versions?: string[];
|
|
144
|
-
language?: Language;
|
|
145
|
-
cosmos_sdk_version?: string;
|
|
146
|
-
sdk?: Sdk;
|
|
147
|
-
consensus?: Consensus;
|
|
148
|
-
cosmwasm_version?: string;
|
|
149
|
-
cosmwasm_enabled?: boolean;
|
|
150
|
-
cosmwasm_path?: string;
|
|
151
|
-
cosmwasm?: Cosmwasm;
|
|
152
|
-
ibc?: Ibc;
|
|
153
|
-
binaries?: Binaries;
|
|
154
|
-
}[];
|
|
155
141
|
};
|
|
156
142
|
images?: {
|
|
157
143
|
image_sync?: Pointer;
|
|
158
144
|
png?: string;
|
|
159
145
|
svg?: string;
|
|
160
146
|
theme?: {
|
|
161
|
-
primary_color_hex?: string;
|
|
162
|
-
background_color_hex?: string;
|
|
163
147
|
circle?: boolean;
|
|
164
148
|
dark_mode?: boolean;
|
|
165
|
-
monochrome?: boolean;
|
|
166
149
|
};
|
|
167
150
|
}[];
|
|
168
151
|
logo_URIs?: {
|
|
@@ -179,10 +162,11 @@ export interface Chain {
|
|
|
179
162
|
rest?: Endpoint[];
|
|
180
163
|
grpc?: Endpoint[];
|
|
181
164
|
wss?: Endpoint[];
|
|
182
|
-
|
|
183
|
-
|
|
165
|
+
"grpc-web"?: Endpoint[];
|
|
166
|
+
"evm-http-jsonrpc"?: Endpoint[];
|
|
184
167
|
};
|
|
168
|
+
snapshots?: Snapshot[];
|
|
185
169
|
explorers?: Explorer[];
|
|
186
170
|
keywords?: string[];
|
|
187
|
-
extra_codecs?: (
|
|
171
|
+
extra_codecs?: ("ethermint" | "injective")[];
|
|
188
172
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/ibc_data.schema.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export interface ChainOperatorInfo {
|
|
|
3
3
|
}
|
|
4
4
|
export interface ChainInfo {
|
|
5
5
|
chain_name: string;
|
|
6
|
+
chain_id: string;
|
|
6
7
|
client_id: string;
|
|
7
8
|
connection_id: string;
|
|
8
9
|
}
|
|
@@ -19,15 +20,12 @@ export interface IBCData {
|
|
|
19
20
|
channels: {
|
|
20
21
|
chain_1: ChannelInfo;
|
|
21
22
|
chain_2: ChannelInfo;
|
|
22
|
-
ordering:
|
|
23
|
+
ordering: "ordered" | "unordered";
|
|
23
24
|
version: string;
|
|
24
25
|
fee_version?: string;
|
|
25
|
-
description?: string;
|
|
26
26
|
tags?: {
|
|
27
|
-
status?: 'live' | 'upcoming' | 'killed';
|
|
28
27
|
preferred?: boolean;
|
|
29
|
-
|
|
30
|
-
properties?: string;
|
|
28
|
+
status?: "ACTIVE" | "INACTIVE" | "CLOSED" | "PENDING";
|
|
31
29
|
};
|
|
32
30
|
}[];
|
|
33
31
|
operators?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chain-registry/types",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.441",
|
|
4
4
|
"description": "Chain Registry types",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/hyperweb-io/chain-registry",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"cosmos",
|
|
34
34
|
"interchain"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "7b02437c701fb919afaeb7750bf5031a3d677fbe"
|
|
37
37
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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" | "cometbls";
|
|
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
|
+
}
|
|
44
|
+
export interface Versions {
|
|
45
|
+
$schema?: string;
|
|
46
|
+
chain_name: string;
|
|
47
|
+
versions: {
|
|
48
|
+
name: string;
|
|
49
|
+
tag?: string;
|
|
50
|
+
height?: number;
|
|
51
|
+
proposal?: number;
|
|
52
|
+
previous_version_name?: string;
|
|
53
|
+
next_version_name?: string;
|
|
54
|
+
recommended_version?: string;
|
|
55
|
+
compatible_versions?: string[];
|
|
56
|
+
sdk?: Sdk;
|
|
57
|
+
consensus?: Consensus;
|
|
58
|
+
cosmwasm?: Cosmwasm;
|
|
59
|
+
ibc?: Ibc;
|
|
60
|
+
language?: Language;
|
|
61
|
+
binaries?: Binaries;
|
|
62
|
+
}[];
|
|
63
|
+
}
|