utils

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuraExponent = 6
	BaseCoinUnit = "ueaura"
)

Variables

View Source
var (
	// DevnetChainID defines the Aura chain ID for devnet
	DevnetChainID = "aura-testnet"

	// SerenityChainID defines the Aura chain ID for serenity testnet
	SerenityChainID = "serenity-testnet"

	// EuphoriaChainID defines the Aura chain ID for euphoria testnet
	EuphoriaChainID = "euphoria"
)

Functions

func IsDevnet

func IsDevnet(chainID string) bool

IsDevnet returns true if the chain-id has the Aura devnet chain prefix.

func IsEuphoria

func IsEuphoria(chainID string) bool

IsEuphoria returns true if the chain-id has the Aura euphoria network chain prefix.

func IsSerenity

func IsSerenity(chainID string) bool

IsSerenity returns true if the chain-id has the Aura serenity network chain prefix.

func RegisterDenoms

func RegisterDenoms()

RegisterDenoms registers token denoms.

Types

This section is empty.

Jump to

Keyboard shortcuts

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