Documentation
¶
Index ¶
- Variables
- func ErrExpectedRange(base error, expected int, actual int) error
- type Apis
- type Assets
- type ChainRegistryAssetsList
- type ChainRegistryFormat
- type Codebase
- type Consensus
- type DenomUnits
- type Explorers
- type FeeTokens
- type Fees
- type Genesis
- type Images
- type ImagesAssetLists
- type LockDuration
- type LogoURIs
- type Peers
- type PersistentPeers
- type RPC
- type Rest
- type Seeds
- type Socials
- type Staking
- type StakingTokens
- type Theme
- type Versions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCfgEmptyOrg = errors.New("github organization name cannot be empty") ErrCfgEmptyProject = errors.New("project name cannot be empty") ErrCfgProjSpecialChars = errors.New("project name cannot contain special characters") ErrCfgBinTooShort = errors.New("bin daemon name is too short") ErrCfgDenomTooShort = errors.New("token denom is too short") ErrCfgHomeDirTooShort = errors.New("home directory is too short") ErrCfgEmptyBech32 = errors.New("bech32 prefix cannot be empty") ErrCfgBech32Alpha = errors.New("bech32 prefix must only contain alphabetical characters") )
Functions ¶
Types ¶
type Assets ¶
type Assets struct {
Description string `json:"description"`
DenomUnits []DenomUnits `json:"denom_units"`
Base string `json:"base"`
Name string `json:"name"`
Display string `json:"display"`
Symbol string `json:"symbol"`
LogoURIs LogoURIs `json:"logo_URIs"`
Images []ImagesAssetLists `json:"images"`
Socials Socials `json:"socials,omitempty"`
}
type ChainRegistryAssetsList ¶
type ChainRegistryAssetsList struct {
Schema string `json:"$schema"`
ChainName string `json:"chain_name"`
Assets []Assets `json:"assets"`
}
func (ChainRegistryAssetsList) SaveJSON ¶
func (v ChainRegistryAssetsList) SaveJSON(loc string) error
type ChainRegistryFormat ¶
type ChainRegistryFormat struct {
Schema string `json:"$schema"`
ChainName string `json:"chain_name"`
ChainType string `json:"chain_type"`
Status string `json:"status"`
Website string `json:"website"`
NetworkType string `json:"network_type"`
PrettyName string `json:"pretty_name"`
ChainID string `json:"chain_id"`
Bech32Prefix string `json:"bech32_prefix"`
DaemonName string `json:"daemon_name"`
NodeHome string `json:"node_home"`
KeyAlgos []string `json:"key_algos"`
Slip44 int `json:"slip44"`
Fees Fees `json:"fees"`
Staking Staking `json:"staking"`
Codebase Codebase `json:"codebase"`
Images []Images `json:"images"`
Peers Peers `json:"peers"`
Apis Apis `json:"apis"`
Explorers []Explorers `json:"explorers"`
Keywords []string `json:"keywords"`
}
func (ChainRegistryFormat) SaveJSON ¶
func (v ChainRegistryFormat) SaveJSON(loc string) error
type Codebase ¶
type Codebase struct {
GitRepo string `json:"git_repo"`
RecommendedVersion string `json:"recommended_version"`
CompatibleVersions []string `json:"compatible_versions"`
CosmosSdkVersion string `json:"cosmos_sdk_version"`
Consensus Consensus `json:"consensus,omitempty"`
CosmwasmVersion string `json:"cosmwasm_version"`
CosmwasmEnabled bool `json:"cosmwasm_enabled"`
IbcGoVersion string `json:"ibc_go_version"`
IcsEnabled []string `json:"ics_enabled"`
Genesis Genesis `json:"genesis"`
Versions []Versions `json:"versions"`
}
type DenomUnits ¶
type ImagesAssetLists ¶
type LockDuration ¶
type LockDuration struct {
Time string `json:"time"`
}
type Peers ¶
type Peers struct {
Seeds []Seeds `json:"seeds,omitempty"`
PersistentPeers []PersistentPeers `json:"persistent_peers,omitempty"`
}
type PersistentPeers ¶
type Staking ¶
type Staking struct {
StakingTokens []StakingTokens `json:"staking_tokens"`
LockDuration LockDuration `json:"lock_duration"`
}
type StakingTokens ¶
type StakingTokens struct {
Denom string `json:"denom"`
}
type Versions ¶
type Versions struct {
Name string `json:"name"`
Tag string `json:"tag"`
Height int `json:"height"`
NextVersionName string `json:"next_version_name"`
Proposal int `json:"proposal,omitempty"`
RecommendedVersion string `json:"recommended_version,omitempty"`
CompatibleVersions []string `json:"compatible_versions,omitempty"`
CosmosSdkVersion string `json:"cosmos_sdk_version,omitempty"`
Consensus Consensus `json:"consensus,omitempty"`
CosmwasmVersion string `json:"cosmwasm_version,omitempty"`
CosmwasmEnabled bool `json:"cosmwasm_enabled,omitempty"`
IbcGoVersion string `json:"ibc_go_version,omitempty"`
IcsEnabled []string `json:"ics_enabled,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.