Documentation ¶
Index ¶
- func BroadcastCmd(cdc *amino.Codec) *cobra.Command
- func BroadcastTx(cdc *amino.Codec, txBuilder ITxBuilder) (*ctypes.ResultBroadcastTxCommit, error)
- func BroadcastTxAndPrintResult(cdc *amino.Codec, txBuilder ITxBuilder) error
- func BroadcastTxs(cdc *amino.Codec, txsBuilder ITxsBuilder) (*ctypes.ResultBroadcastTxCommit, error)
- func BroadcastTxsAndPrintResult(cdc *amino.Codec, txsBuilder ITxsBuilder) error
- func BuildAndSignQcpTx(ctx context.CLIContext, tx txs.ITx, fromChainID, toChainID string) (*txs.TxQcp, error)
- func BuildAndSignStdTx(ctx context.CLIContext, tXs []txs.ITx, fromChainID, toChainID string) (*txs.TxStd, error)
- func SignDataFromAddress(ctx context.CLIContext, addr types.AccAddress, data []byte) ([]byte, crypto.PubKey)
- type ITxBuilder
- type ITxsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastCmd ¶ added in v0.2.4
func BroadcastTx ¶
func BroadcastTx(cdc *amino.Codec, txBuilder ITxBuilder) (*ctypes.ResultBroadcastTxCommit, error)
func BroadcastTxAndPrintResult ¶
func BroadcastTxAndPrintResult(cdc *amino.Codec, txBuilder ITxBuilder) error
func BroadcastTxs ¶ added in v0.2.0
func BroadcastTxs(cdc *amino.Codec, txsBuilder ITxsBuilder) (*ctypes.ResultBroadcastTxCommit, error)
func BroadcastTxsAndPrintResult ¶ added in v0.2.0
func BroadcastTxsAndPrintResult(cdc *amino.Codec, txsBuilder ITxsBuilder) error
func BuildAndSignQcpTx ¶
func BuildAndSignStdTx ¶
func SignDataFromAddress ¶ added in v0.2.4
func SignDataFromAddress(ctx context.CLIContext, addr types.AccAddress, data []byte) ([]byte, crypto.PubKey)
Types ¶
type ITxBuilder ¶
type ITxBuilder func(ctx context.CLIContext) (txs.ITx, error)
type ITxsBuilder ¶ added in v0.2.0
type ITxsBuilder func(ctx context.CLIContext) ([]txs.ITx, error)
Click to show internal directories.
Click to hide internal directories.