utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecToBaseDenom

func DecToBaseDenom(decCoin sdk.DecCoin) (sdk.Coin, error)

func IsBaseDenom

func IsBaseDenom(denom string) bool

func ParseAndConvertCoins

func ParseAndConvertCoins(input string) (sdk.Coins, error)

usd -> din anatha, sense -> pin

func ToBaseDenom

func ToBaseDenom(coin sdk.Coin) (sdk.Coin, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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