token

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package token implements the token-related parts of the staking API.

Index

Constants

View Source
const (
	// ModuleName is a unique module name for the staking/token module.
	ModuleName = "staking/token"

	// TokenSymbolMaxLength is the maximum length of the token symbol.
	TokenSymbolMaxLength = 8
	// TokenSymbolRegexp is the regular expression defining valid token symbol characters.
	TokenSymbolRegexp = "^[A-Z]+$" // nolint: gosec // Not that kind of token :).
	// TokenValueExponentMaxValue is the maximum value of token's value base-10 exponent.
	TokenValueExponentMaxValue = 20
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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