Documentation
¶
Index ¶
- func CheckAllowance(cdc *codec.Codec, cliCtx context.CLIContext, issueID string, ...) error
- func CheckFreeze(cdc *codec.Codec, cliCtx context.CLIContext, issueID string, ...) error
- func CheckIssueId(issueID string) sdk.Error
- func GetDecimalsInt(decimals uint) sdk.Int
- func GetIssueByID(cdc *codec.Codec, cliCtx context.CLIContext, issueID string) (types.Issue, error)
- func GetIssueTags(issueID string, sender sdk.AccAddress) sdk.Tags
- func GetRandomString(l int) string
- func IsIssueId(issueID string) bool
- func IssueOwnerCheck(cdc *codec.Codec, cliCtx context.CLIContext, sender auth.Account, ...) (types.Issue, error)
- func MulDecimals(totalSupply sdk.Int, decimals uint) sdk.Int
- func QuoDecimals(totalSupply sdk.Int, decimals uint) sdk.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAllowance ¶ added in v0.5.0
func CheckAllowance(cdc *codec.Codec, cliCtx context.CLIContext, issueID string, owner sdk.AccAddress, spender sdk.AccAddress, amount sdk.Int) error
func CheckFreeze ¶ added in v0.5.0
func CheckFreeze(cdc *codec.Codec, cliCtx context.CLIContext, issueID string, from sdk.AccAddress, to sdk.AccAddress) error
func CheckIssueId ¶
func GetDecimalsInt ¶ added in v0.5.0
func GetIssueByID ¶ added in v0.5.0
func GetIssueTags ¶ added in v0.5.0
func GetIssueTags(issueID string, sender sdk.AccAddress) sdk.Tags
func GetRandomString ¶
func IssueOwnerCheck ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.