coins

package
v2.0.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCoin

func ParseCoin(input string) (*basev1beta1.Coin, error)

ParseCoin parses a coin from a string. The string must be in the format <amount><denom>, where <amount> is a number and <denom> is a valid denom.

func ParseDecCoin

func ParseDecCoin(input string) (*basev1beta1.DecCoin, error)

ParseDecCoin parses a decCoin from a string. The string must be in the format <amount><denom>, where <amount> is a number and <denom> is a valid denom.

Types

This section is empty.

Jump to

Keyboard shortcuts

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