Documentation
¶
Index ¶
- Constants
- func AddCommandExtractAddressInfo(networkMergeCmd *cobra.Command)
- func AddCommandManifestAddressInfo(networkMergeCmd *cobra.Command)
- func AddCommandVerify(networkMergeCmd *cobra.Command)
- func AddCudosFlags(startCmd *cobra.Command)
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisDelegationCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisWasmMsgCmd(defaultNodeHome string) *cobra.Command
- func ExtractAddressInfo(configFilePath string, GenesisFilePath string, address string, ...) error
- func LoadGenesisDataFromFile(GenesisFilePath string, cudosConfig *app.CudosMergeConfig, ...) (*app.GenesisData, error)
- func ManifestAddressInfo(manifestFilePath string, address string, ctx client.Context) error
- func NewRootCmd() (*cobra.Command, params.EncodingConfig)
- func NormaliseJsonFileContent(path string) (string, error)
- func NormaliseJsonFileContentSha256Hex(path string) (string, error)
- func NormalizeJSON(data interface{}) interface{}
- func NormalizeJSONString(input string) (string, error)
- func ReadJSONFile(filePath string) (string, error)
- func VerifyConfigFile(configFilePath string, GenesisFilePath string, ctx client.Context, ...) error
- type DelegationsAggrEntry
- type ManifestData
- type MigratedBalance
Constants ¶
View Source
const ( FlagCudosGenesisPath = "cudos-genesis-path" FlagCudosGenesisSha256 = "cudos-genesis-sha256" FlagCudosMigrationConfigPath = "cudos-migration-config-path" FlagCudosMigrationConfigSha256 = "cudos-migration-config-sha256" FlagManifestDestinationPath = "manifest-destination-path" )
Module init related flags
Variables ¶
This section is empty.
Functions ¶
func AddCommandExtractAddressInfo ¶ added in v0.14.0
func AddCommandManifestAddressInfo ¶ added in v0.14.0
func AddCommandVerify ¶ added in v0.14.0
func AddCudosFlags ¶ added in v0.14.0
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func AddGenesisDelegationCmd ¶
AddGenesisDelegationCmd returns a command to add delegations to genesis.
func AddGenesisWasmMsgCmd ¶
func ExtractAddressInfo ¶ added in v0.14.0
func LoadGenesisDataFromFile ¶ added in v0.14.0
func LoadGenesisDataFromFile(GenesisFilePath string, cudosConfig *app.CudosMergeConfig, manifest *app.UpgradeManifest) (*app.GenesisData, error)
func ManifestAddressInfo ¶ added in v0.14.0
func NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for simd. It is called once in the main function.
func NormaliseJsonFileContent ¶ added in v0.14.0
func NormaliseJsonFileContentSha256Hex ¶ added in v0.14.0
func NormalizeJSON ¶ added in v0.14.0
func NormalizeJSON(data interface{}) interface{}
NormalizeJSON recursively normalizes the JSON by sorting keys in maps and removing whitespace.
func NormalizeJSONString ¶ added in v0.14.0
NormalizeJSONString takes a JSON string, normalizes it, and returns the result as a minified string.
func ReadJSONFile ¶ added in v0.14.0
ReadJSONFile reads the content of a JSON file and returns it as a []byte.
Types ¶
type DelegationsAggrEntry ¶ added in v0.14.0
type ManifestData ¶ added in v0.14.0
type ManifestData struct { InitialBalances *app.OrderedMap[string, app.UpgradeBalances] MovedBalances *app.OrderedMap[string, app.UpgradeBalances] MigratedBalances *app.OrderedMap[string, []app.UpgradeBalanceMovement] MigratedBalancesAggr *app.OrderedMap[string, MigratedBalance] Delegations *app.OrderedMap[string, []app.UpgradeDelegation] DelegationsAggr *app.OrderedMap[string, DelegationsAggrEntry] // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.