params

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL