Versions in this module Expand all Collapse all v0 v0.9.3 Nov 20, 2020 v0.9.0 Oct 19, 2020 Changes in this version + func CalculateGas(queryFunc func(string, []byte) ([]byte, int64, error), cdc *codec.Codec, ...) (estimate, adjusted uint64, err error) + func CompleteAndBroadcastTxCLI(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) error + func EnrichWithGas(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) (authtypes.TxBuilder, error) + func GenerateAndSaveMsgs(cliCtx context.CLIContext, txBldr authtypes.TxBuilder, msgs []sdk.Msg, ...) error + func GenerateOrBroadcastMsgs(cliCtx context.CLIContext, txBldr authtypes.TxBuilder, msgs []sdk.Msg) error + func GetCUCoinFromCu(cu exported.CustodianUnit, symbol string) (types.CUCoin, error) + func GetTxEncoder(cdc *codec.Codec) (encoder sdk.TxEncoder) + func PrepareTxBuilder(txBldr authtypes.TxBuilder, cliCtx context.CLIContext) (authtypes.TxBuilder, error) + func PrintUnsignedStdTx(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) error + func QueryTx(cliCtx context.CLIContext, hashHexStr string) (sdk.TxResponse, error) + func QueryTxsByEvents(cliCtx context.CLIContext, events []string, page, limit int) (*sdk.SearchTxsResult, error) + func ReadStdTxFromFile(cdc *codec.Codec, filename string) (stdTx authtypes.StdTx, err error) + func SignStdTx(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, name string, ...) (authtypes.StdTx, error) + func SignStdTxWithSignerAddress(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, addr sdk.CUAddress, ...) (signedStdTx authtypes.StdTx, err error) + func ValidateTxResult(cliCtx context.CLIContext, resTx *ctypes.ResultTx) error + func WriteGenerateStdTxResponse(w http.ResponseWriter, cliCtx context.CLIContext, br rest.BaseReq, ...) + type GasEstimateResponse struct + GasEstimate uint64 + func (gr GasEstimateResponse) String() string