UNPKG

@chain-registry/types

Version:
70 lines (69 loc) 1.71 kB
export type Repo = string; export type Version = string; export type Tag = string; export interface Sdk { type: "cosmos" | "penumbra" | "other"; version?: Version; repo?: Repo; tag?: Tag; } export interface Ibc { type: "go" | "rust" | "other"; version?: Version; repo?: Repo; tag?: Tag; icsEnabled?: ("ics20-1" | "ics27-1" | "mauth")[]; } export interface Cosmwasm { version?: Version; repo?: Repo; tag?: Tag; enabled?: boolean; path?: string; } export interface Consensus { type: "tendermint" | "cometbft" | "sei-tendermint"; version?: Version; repo?: Repo; tag?: Tag; } export interface Language { type: "go" | "rust" | "solidity" | "other"; version?: Version; repo?: Repo; tag?: Tag; } export interface Binaries { "linux/amd64"?: string; "linux/arm64"?: string; "darwin/amd64"?: string; "darwin/arm64"?: string; "windows/amd64"?: string; "windows/arm64"?: string; } export interface Versions { $schema?: string; chainName: string; versions: { name: string; tag?: string; height?: number; proposal?: number; previousVersionName?: string; nextVersionName?: string; recommendedVersion?: string; compatibleVersions?: string[]; cosmosSdkVersion?: string; sdk?: Sdk; consensus?: Consensus; cosmwasmVersion?: string; cosmwasmEnabled?: boolean; cosmwasmPath?: string; cosmwasm?: Cosmwasm; ibcGoVersion?: string; ibc?: Ibc; language?: Language; icsEnabled?: ("ics20-1" | "ics27-1" | "mauth")[]; binaries?: Binaries; }[]; }