params

package
v6.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Name defines the application name of the Umee network.
	Name = "umee"

	// BondDenom defines the native staking token denomination.
	// NOTE: it is used by IBC, and must not change to avoid token migration in all IBC chains.
	BondDenom      = "uumee"
	BaseExtraDenom = "uux"

	// DisplayDenom defines the name, symbol, and display value of the umee token.
	DisplayDenom = "UX"
	// Old display name. We renamed UMEE to UX.
	LegacyDisplayDenom = "UMEE"

	// DefaultGasLimit - set to the same value as cosmos-sdk flags.DefaultGasLimit
	// this value is currently only used in tests.
	DefaultGasLimit = 200000
)
View Source
const AccountAddressPrefix = "umee"

AccountAddressPrefix defines the Umee network's Bech32 address prefix. NOTE: this must not be changed.

Variables

View Source
var (
	AccountPubKeyPrefix    = AccountAddressPrefix + "pub"
	ValidatorAddressPrefix = AccountAddressPrefix + "valoper"
	ValidatorPubKeyPrefix  = AccountAddressPrefix + "valoperpub"
	ConsNodeAddressPrefix  = AccountAddressPrefix + "valcons"
	ConsNodePubKeyPrefix   = AccountAddressPrefix + "valconspub"
)

Account specific Bech32 prefixes.

View Source
var ProtocolMinGasPrice = sdk.NewDecCoinFromDec(BondDenom, sdk.MustNewDecFromStr("0.00"))

ProtocolMinGasPrice is a consensus controlled gas price. Each validator must set his `minimum-gas-prices` in app.toml config to value above ProtocolMinGasPrice. Transactions with gas-price smaller than ProtocolMinGasPrice will fail during DeliverTx.

Functions

func SetAddressConfig

func SetAddressConfig()

SetAddressConfig sets Umee's address configuration.

func UmeeTokenMetadata added in v6.4.0

func UmeeTokenMetadata() banktypes.Metadata

UmeeTokenMetadata creates bank Metadata for the UX token

Types

This section is empty.

Jump to

Keyboard shortcuts

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