Documentation ¶
Index ¶
Constants ¶
View Source
const ( C4eUnit = "c4e" MicroC4eUnit = "uc4e" Bech32PrefixAccAddr = "c4e" )
Variables ¶
View Source
var ( Bech32PrefixAccPub = Bech32PrefixAccAddr + "pub" Bech32PrefixValAddr = Bech32PrefixAccAddr + "valoper" Bech32PrefixValPub = Bech32PrefixAccAddr + "valoperpub" Bech32PrefixConsAddr = Bech32PrefixAccAddr + "valcons" Bech32PrefixConsPub = Bech32PrefixAccAddr + "valconspub" )
Functions ¶
func RegisterDenoms ¶
func RegisterDenoms()
func SetAddressPrefixes ¶
func SetAddressPrefixes()
func SetAuthorityAddress ¶
func SetAuthorityAddress()
SetAuthorityAddress set gov module authority address
Types ¶
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Codec codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
EncodingConfig specifies the concrete encoding types to use for a given app. This is provided for compatibility between protobuf and amino implementations.
Click to show internal directories.
Click to hide internal directories.