Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DisplayDenom is the denomination used to display the amount of tokens held DisplayDenom = "dym" // BaseDenomUnit is the base denom unit for the Hub BaseDenom = "adym" // BaseDenomUnit defines the base denomination unit for Photons. // 1 DYM = 1x10^{BaseDenomUnit} adym BaseDenomUnit = 18 AccountAddressPrefix = "dym" Name = "dymension" )
Variables ¶
This section is empty.
Functions ¶
func RegisterDenoms ¶
func RegisterDenoms()
RegisterDenoms registers the base and display denominations to the SDK.
func SetAddressPrefixes ¶
func SetAddressPrefixes()
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.