Documentation ¶
Index ¶
- func CompleteAndBroadcastTxCLI(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) (*sdk.TxResponse, error)
- func GenerateOrBroadcastMsgs(cliCtx context.CLIContext, txBldr authtypes.TxBuilder, msgs []sdk.Msg) (*sdk.TxResponse, error)
- func GetCmdBurnCoins(cdc *codec.Codec) *cobra.Command
- func GetCmdFindToken(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdFreezeCoins(cdc *codec.Codec) *cobra.Command
- func GetCmdIssueToken(cdc *codec.Codec) *cobra.Command
- func GetCmdMintCoins(cdc *codec.Codec) *cobra.Command
- func GetCmdSymbols(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdUnfreezeCoins(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteAndBroadcastTxCLI ¶
func CompleteAndBroadcastTxCLI(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) (*sdk.TxResponse, error)
CompleteAndBroadcastTxCLI implements a utility function that facilitates sending a series of messages in a signed transaction given a TxBuilder and a QueryContext. It ensures that the account exists, has a proper number and sequence set. In addition, it builds and signs a transaction with the supplied messages. Finally, it broadcasts the signed transaction to a node and returns the response and/or error
func GenerateOrBroadcastMsgs ¶
func GenerateOrBroadcastMsgs(cliCtx context.CLIContext, txBldr authtypes.TxBuilder, msgs []sdk.Msg) (*sdk.TxResponse, error)
GenerateOrBroadcastMsgs creates a StdTx given a series of messages. If the provided context has generate-only enabled, the tx will only be printed to STDOUT in a fully offline manner. Otherwise, the tx will be signed and broadcast.
func GetCmdBurnCoins ¶
GetCmdBurnCoins is the CLI command for sending a BurnCoins transaction
func GetCmdFindToken ¶
GetCmdFindToken queries information about a token through its unique symbol
func GetCmdFreezeCoins ¶
GetCmdFreezeCoins is the CLI command for sending a FreezeCoins transaction
func GetCmdIssueToken ¶
GetCmdIssueToken is the CLI command for sending a IssueToken transaction
func GetCmdMintCoins ¶
GetCmdMintCoins is the CLI command for sending a MintCoins transaction
func GetCmdSymbols ¶
GetCmdSymbols queries a list of all symbols
func GetCmdUnfreezeCoins ¶
GetCmdUnfreezeCoins is the CLI command for sending a FreezeCoins transaction
Types ¶
This section is empty.