@chain-registry/types 0.13.1 → 0.15.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/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/types/assets.d.ts +8 -0
- package/types/chains.d.ts +108 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.15.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.14.0...@chain-registry/types@0.15.0) (2023-04-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @chain-registry/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.14.0](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.13.1...@chain-registry/types@0.14.0) (2022-12-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @chain-registry/types
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.13.1](https://github.com/cosmology-tech/chain-registry/compare/@chain-registry/types@0.13.0...@chain-registry/types@0.13.1) (2022-10-27)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @chain-registry/types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chain-registry/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Chain Registry types",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/cosmology-tech/chain-registry",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@babel/runtime": "^7.19.4"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "20fa47de0103e4a00dc20b88ce160e06e5bc7fea"
|
|
77
77
|
}
|
package/types/assets.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export interface BridgeTrace {
|
|
|
24
24
|
counterparty: {
|
|
25
25
|
chain_name: string;
|
|
26
26
|
base_denom: string;
|
|
27
|
+
contract?: string;
|
|
28
|
+
};
|
|
29
|
+
chain?: {
|
|
30
|
+
contract: string;
|
|
27
31
|
};
|
|
28
32
|
provider: string;
|
|
29
33
|
}
|
|
@@ -32,6 +36,10 @@ export interface WrapTrace {
|
|
|
32
36
|
counterparty: {
|
|
33
37
|
chain_name: string;
|
|
34
38
|
base_denom: string;
|
|
39
|
+
contract?: string;
|
|
40
|
+
};
|
|
41
|
+
chain?: {
|
|
42
|
+
contract: string;
|
|
35
43
|
};
|
|
36
44
|
provider: string;
|
|
37
45
|
}
|
package/types/chains.d.ts
CHANGED
|
@@ -7,17 +7,55 @@ export interface Chain {
|
|
|
7
7
|
pretty_name: string;
|
|
8
8
|
chain_id: string;
|
|
9
9
|
website?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The default prefix for the human-readable part of addresses that identifies the coin type. Must be registered with SLIP-0173. E.g., 'cosmos'
|
|
12
|
+
*/
|
|
10
13
|
bech32_prefix: string;
|
|
14
|
+
bech32_config?: {
|
|
15
|
+
/**
|
|
16
|
+
* e.g., 'cosmos'
|
|
17
|
+
*/
|
|
18
|
+
bech32PrefixAccAddr?: string;
|
|
19
|
+
/**
|
|
20
|
+
* e.g., 'cosmospub'
|
|
21
|
+
*/
|
|
22
|
+
bech32PrefixAccPub?: string;
|
|
23
|
+
/**
|
|
24
|
+
* e.g., 'cosmosvaloper'
|
|
25
|
+
*/
|
|
26
|
+
bech32PrefixValAddr?: string;
|
|
27
|
+
/**
|
|
28
|
+
* e.g., 'cosmosvaloperpub'
|
|
29
|
+
*/
|
|
30
|
+
bech32PrefixValPub?: string;
|
|
31
|
+
/**
|
|
32
|
+
* e.g., 'cosmosvalcons'
|
|
33
|
+
*/
|
|
34
|
+
bech32PrefixConsAddr?: string;
|
|
35
|
+
/**
|
|
36
|
+
* e.g., 'cosmosvalconspub'
|
|
37
|
+
*/
|
|
38
|
+
bech32PrefixConsPub?: string;
|
|
39
|
+
};
|
|
11
40
|
daemon_name?: string;
|
|
12
|
-
key_algos?: string[];
|
|
41
|
+
key_algos?: ('secp256k1' | 'ethsecp256k1' | 'ed25519' | 'sr25519' | string)[];
|
|
42
|
+
extra_codecs?: string[];
|
|
13
43
|
keywords?: string[];
|
|
14
44
|
node_home?: string;
|
|
15
45
|
slip44: number;
|
|
46
|
+
alternative_slip44s?: number[];
|
|
16
47
|
logo_URIs?: {
|
|
17
48
|
png?: string;
|
|
18
49
|
svg?: string;
|
|
19
50
|
jpeg?: string;
|
|
20
51
|
};
|
|
52
|
+
images?: {
|
|
53
|
+
png?: string;
|
|
54
|
+
svg?: string;
|
|
55
|
+
theme?: {
|
|
56
|
+
primary_color_hex?: string;
|
|
57
|
+
};
|
|
58
|
+
}[];
|
|
21
59
|
fees?: {
|
|
22
60
|
fee_tokens: {
|
|
23
61
|
denom: string;
|
|
@@ -25,12 +63,26 @@ export interface Chain {
|
|
|
25
63
|
low_gas_price?: number;
|
|
26
64
|
average_gas_price?: number;
|
|
27
65
|
high_gas_price?: number;
|
|
66
|
+
gas_costs?: {
|
|
67
|
+
cosmos_send?: number;
|
|
68
|
+
ibc_transfer?: number;
|
|
69
|
+
};
|
|
28
70
|
}[];
|
|
29
71
|
};
|
|
30
72
|
staking?: {
|
|
31
73
|
staking_tokens: {
|
|
32
74
|
denom: string;
|
|
33
75
|
}[];
|
|
76
|
+
lock_duration?: {
|
|
77
|
+
/**
|
|
78
|
+
* The number of blocks for which the staked tokens are locked.
|
|
79
|
+
*/
|
|
80
|
+
blocks?: number;
|
|
81
|
+
/**
|
|
82
|
+
* The approximate time for which the staked tokens are locked.
|
|
83
|
+
*/
|
|
84
|
+
time?: string;
|
|
85
|
+
};
|
|
34
86
|
};
|
|
35
87
|
explorers?: {
|
|
36
88
|
name?: string;
|
|
@@ -43,23 +95,67 @@ export interface Chain {
|
|
|
43
95
|
git_repo?: string;
|
|
44
96
|
recommended_version?: string;
|
|
45
97
|
compatible_versions?: string[];
|
|
46
|
-
binaries?:
|
|
98
|
+
binaries?: {
|
|
99
|
+
'linux/amd64'?: string;
|
|
100
|
+
'linux/arm64'?: string;
|
|
101
|
+
'darwin/amd64'?: string;
|
|
102
|
+
'darwin/arm64'?: string;
|
|
103
|
+
'windows/amd64'?: string;
|
|
104
|
+
};
|
|
47
105
|
cosmos_sdk_version?: string;
|
|
48
|
-
|
|
106
|
+
consensus?: {
|
|
107
|
+
type: 'tendermint' | 'cometbft';
|
|
108
|
+
version?: string;
|
|
109
|
+
};
|
|
49
110
|
cosmwasm_version?: string;
|
|
50
111
|
cosmwasm_enabled?: boolean;
|
|
51
112
|
ibc_go_version?: string;
|
|
52
|
-
|
|
113
|
+
/**
|
|
114
|
+
* List of IBC apps (usually corresponding to a ICS standard) which have been enabled on the network.
|
|
115
|
+
*/
|
|
116
|
+
ics_enabled?: ('ics20-1' | 'ics27-1' | 'mauth' | string)[];
|
|
53
117
|
genesis?: {
|
|
54
|
-
tag?: string;
|
|
55
118
|
name?: string;
|
|
56
|
-
genesis_url
|
|
119
|
+
genesis_url: string;
|
|
57
120
|
};
|
|
58
121
|
versions?: {
|
|
59
|
-
|
|
122
|
+
/**
|
|
123
|
+
* Official Upgrade Name
|
|
124
|
+
*/
|
|
125
|
+
name: string;
|
|
126
|
+
/**
|
|
127
|
+
* Git Upgrade Tag
|
|
128
|
+
*/
|
|
60
129
|
tag?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Block Height
|
|
132
|
+
*/
|
|
61
133
|
height?: number;
|
|
134
|
+
/**
|
|
135
|
+
* [Optional] Name of the following version
|
|
136
|
+
*/
|
|
62
137
|
next_version_name?: string;
|
|
138
|
+
recommended_version?: string;
|
|
139
|
+
compatible_versions?: string[];
|
|
140
|
+
cosmos_sdk_version?: string;
|
|
141
|
+
consensus?: {
|
|
142
|
+
type: 'tendermint' | 'cometbft';
|
|
143
|
+
version?: string;
|
|
144
|
+
};
|
|
145
|
+
cosmwasm_version?: string;
|
|
146
|
+
cosmwasm_enabled?: boolean;
|
|
147
|
+
ibc_go_version?: string;
|
|
148
|
+
/**
|
|
149
|
+
* List of IBC apps (usually corresponding to a ICS standard) which have been enabled on the network.
|
|
150
|
+
*/
|
|
151
|
+
ics_enabled?: ('ics20-1' | 'ics27-1' | 'mauth' | string)[];
|
|
152
|
+
binaries?: {
|
|
153
|
+
'linux/amd64'?: string;
|
|
154
|
+
'linux/arm64'?: string;
|
|
155
|
+
'darwin/amd64'?: string;
|
|
156
|
+
'darwin/arm64'?: string;
|
|
157
|
+
'windows/amd64'?: string;
|
|
158
|
+
};
|
|
63
159
|
}[];
|
|
64
160
|
};
|
|
65
161
|
peers?: {
|
|
@@ -96,6 +192,11 @@ export interface Chain {
|
|
|
96
192
|
provider?: string;
|
|
97
193
|
archive?: boolean;
|
|
98
194
|
}[];
|
|
195
|
+
wss?: {
|
|
196
|
+
address: string;
|
|
197
|
+
provider?: string;
|
|
198
|
+
archive?: boolean;
|
|
199
|
+
}[];
|
|
99
200
|
sidechains_rpc?: {
|
|
100
201
|
address: string;
|
|
101
202
|
provider?: string;
|