@chain-registry/types 2.0.251 → 2.0.281

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.
@@ -3,7 +3,7 @@ export interface Asset {
3
3
  description?: string;
4
4
  extendedDescription?: string;
5
5
  denomUnits: DenomUnit[];
6
- typeAsset: "sdk.coin" | "cw20" | "erc20" | "ics20" | "snip20" | "snip25" | "bitcoin-like" | "evm-base" | "svm-base" | "substrate" | "sdk.factory" | "bitsong" | "unknown";
6
+ typeAsset: "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;
@@ -24,18 +24,15 @@ export interface Asset {
24
24
  png?: string;
25
25
  svg?: string;
26
26
  theme?: {
27
- primaryColorHex?: string;
28
- backgroundColorHex?: string;
29
27
  circle?: boolean;
30
28
  darkMode?: boolean;
31
- monochrome?: boolean;
32
29
  };
33
30
  }[];
34
31
  coingeckoId?: string;
35
32
  keywords?: string[];
36
33
  socials?: {
37
34
  website?: string;
38
- twitter?: string;
35
+ x?: string;
39
36
  telegram?: string;
40
37
  discord?: string;
41
38
  github?: string;
@@ -61,7 +58,7 @@ export interface IbcTransition {
61
58
  };
62
59
  chain: {
63
60
  channelId: string;
64
- path?: string;
61
+ path: string;
65
62
  };
66
63
  }
67
64
  export interface IbcCw20Transition {
@@ -75,7 +72,7 @@ export interface IbcCw20Transition {
75
72
  chain: {
76
73
  port: string;
77
74
  channelId: string;
78
- path?: string;
75
+ path: string;
79
76
  };
80
77
  }
81
78
  export interface IbcBridgeTransition {
@@ -89,7 +86,7 @@ export interface IbcBridgeTransition {
89
86
  chain: {
90
87
  port?: string;
91
88
  channelId: string;
92
- path?: string;
89
+ path: string;
93
90
  };
94
91
  provider: string;
95
92
  }
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
+ latestUrl?: string;
15
+ type?: "pruned" | "archive";
16
+ dbBackend?: "goleveldb" | "pebbledb";
17
+ frequency?: string;
18
+ compression?: "lz4" | "zstd" | "gzip" | "tar" | "none";
19
+ checksumAvailable?: boolean;
20
+ }
11
21
  export interface Explorer {
12
22
  kind?: string;
13
23
  url?: string;
@@ -55,7 +65,7 @@ export interface Cosmwasm {
55
65
  path?: string;
56
66
  }
57
67
  export interface Consensus {
58
- type: "tendermint" | "cometbft" | "sei-tendermint";
68
+ type: "tendermint" | "cometbft" | "sei-tendermint" | "cometbls";
59
69
  version?: Version;
60
70
  repo?: Repo;
61
71
  tag?: Tag;
@@ -86,7 +96,7 @@ export interface Chain {
86
96
  preForkChainName?: string;
87
97
  prettyName?: string;
88
98
  website?: string;
89
- status?: "live" | "upcoming" | "killed";
99
+ status: "live" | "upcoming" | "killed";
90
100
  networkType?: "mainnet" | "testnet" | "devnet";
91
101
  bech32Prefix?: string;
92
102
  bech32Config?: {
@@ -116,14 +126,11 @@ export interface Chain {
116
126
  gitRepo?: string;
117
127
  recommendedVersion?: string;
118
128
  compatibleVersions?: string[];
129
+ tag?: Tag;
119
130
  language?: Language;
120
131
  binaries?: Binaries;
121
- cosmosSdkVersion?: string;
122
132
  sdk?: Sdk;
123
133
  consensus?: Consensus;
124
- cosmwasmVersion?: string;
125
- cosmwasmEnabled?: boolean;
126
- cosmwasmPath?: string;
127
134
  cosmwasm?: Cosmwasm;
128
135
  ibc?: Ibc;
129
136
  genesis?: {
@@ -131,37 +138,14 @@ export interface Chain {
131
138
  genesisUrl: string;
132
139
  icsCcvUrl?: string;
133
140
  };
134
- versions?: {
135
- name: string;
136
- tag?: string;
137
- height?: number;
138
- proposal?: number;
139
- previousVersionName?: string;
140
- nextVersionName?: string;
141
- recommendedVersion?: string;
142
- compatibleVersions?: string[];
143
- language?: Language;
144
- cosmosSdkVersion?: string;
145
- sdk?: Sdk;
146
- consensus?: Consensus;
147
- cosmwasmVersion?: string;
148
- cosmwasmEnabled?: boolean;
149
- cosmwasmPath?: string;
150
- cosmwasm?: Cosmwasm;
151
- ibc?: Ibc;
152
- binaries?: Binaries;
153
- }[];
154
141
  };
155
142
  images?: {
156
143
  imageSync?: Pointer;
157
144
  png?: string;
158
145
  svg?: string;
159
146
  theme?: {
160
- primaryColorHex?: string;
161
- backgroundColorHex?: string;
162
147
  circle?: boolean;
163
148
  darkMode?: boolean;
164
- monochrome?: boolean;
165
149
  };
166
150
  }[];
167
151
  logoURIs?: {
@@ -181,6 +165,7 @@ export interface Chain {
181
165
  grpcWeb?: Endpoint[];
182
166
  evmHttpJsonrpc?: Endpoint[];
183
167
  };
168
+ snapshots?: Snapshot[];
184
169
  explorers?: Explorer[];
185
170
  keywords?: string[];
186
171
  extraCodecs?: ("ethermint" | "injective")[];
@@ -3,6 +3,7 @@ export interface ChainOperatorInfo {
3
3
  }
4
4
  export interface ChainInfo {
5
5
  chainName: string;
6
+ chainId: string;
6
7
  clientId: string;
7
8
  connectionId: string;
8
9
  }
@@ -22,12 +23,9 @@ export interface IBCData {
22
23
  ordering: "ordered" | "unordered";
23
24
  version: string;
24
25
  feeVersion?: string;
25
- description?: string;
26
26
  tags?: {
27
- status?: "live" | "upcoming" | "killed";
28
27
  preferred?: boolean;
29
- dex?: string;
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": "2.0.251",
3
+ "version": "2.0.281",
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": "9de1ecbf1e724a8b1525ee73b9e6fef5bc331e77"
36
+ "gitHead": "f44d7d5a66fbdbb84947fcd68be481a13e9e11dc"
37
37
  }
@@ -22,7 +22,7 @@ export interface Cosmwasm {
22
22
  path?: string;
23
23
  }
24
24
  export interface Consensus {
25
- type: "tendermint" | "cometbft" | "sei-tendermint";
25
+ type: "tendermint" | "cometbft" | "sei-tendermint" | "cometbls";
26
26
  version?: Version;
27
27
  repo?: Repo;
28
28
  tag?: Tag;
@@ -53,17 +53,11 @@ export interface Versions {
53
53
  nextVersionName?: string;
54
54
  recommendedVersion?: string;
55
55
  compatibleVersions?: string[];
56
- cosmosSdkVersion?: string;
57
56
  sdk?: Sdk;
58
57
  consensus?: Consensus;
59
- cosmwasmVersion?: string;
60
- cosmwasmEnabled?: boolean;
61
- cosmwasmPath?: string;
62
58
  cosmwasm?: Cosmwasm;
63
- ibcGoVersion?: string;
64
59
  ibc?: Ibc;
65
60
  language?: Language;
66
- icsEnabled?: ("ics20-1" | "ics27-1" | "mauth")[];
67
61
  binaries?: Binaries;
68
62
  }[];
69
63
  }