utils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIssueInfoTag

func AppendIssueInfoTag(issueID string) sdk.Tags

func BurnCheck

func BurnCheck(cdc *codec.Codec, cliCtx context.CLIContext, operator auth.Account, burnFrom sdk.AccAddress, issueID string, amount sdk.Int, burnType string) (sdk.Int, error)

func CheckIssueId

func CheckIssueId(issueID string) sdk.Error

func GetRandomString

func GetRandomString(l int) string

func IsIssueId

func IsIssueId(issueID string) bool

func IssueOwnerCheck

func IssueOwnerCheck(cdc *codec.Codec, cliCtx context.CLIContext, operator auth.Account, issueID string) (types.Issue, error)

func MulDecimals

func MulDecimals(totalSupply sdk.Int, decimals uint) sdk.Int

func QuoDecimals

func QuoDecimals(totalSupply sdk.Int, decimals uint) sdk.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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