Versions in this module Expand all Collapse all v0 v0.0.1 Jun 7, 2021 Changes in this version + func BroadcastTx(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error + func BuildSimTx(txf Factory, msgs ...sdk.Msg) ([]byte, error) + func BuildUnsignedTx(txf Factory, msgs ...sdk.Msg) (client.TxBuilder, error) + func CalculateGas(queryFunc func(string, []byte) ([]byte, int64, error), txf Factory, ...) (tx.SimulateResponse, uint64, error) + func ConvertAndEncodeStdTx(txConfig client.TxConfig, stdTx legacytx.StdTx) ([]byte, error) + func ConvertTxToStdTx(codec *codec.LegacyAmino, tx signing.Tx) (legacytx.StdTx, error) + func CopyTx(tx signing.Tx, builder client.TxBuilder, ignoreSignatureError bool) error + func GenerateOrBroadcastTxCLI(clientCtx client.Context, flagSet *pflag.FlagSet, msgs ...sdk.Msg) error + func GenerateOrBroadcastTxWithFactory(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error + func GenerateTx(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error + func Sign(txf Factory, name string, txBuilder client.TxBuilder, overwriteSig bool) error + func SignWithPrivKey(signMode signing.SignMode, signerData authsigning.SignerData, ...) (signing.SignatureV2, error) + func WriteGeneratedTxResponse(ctx client.Context, w http.ResponseWriter, br rest.BaseReq, msgs ...sdk.Msg) + type Factory struct + func NewFactoryCLI(clientCtx client.Context, flagSet *pflag.FlagSet) Factory + func PrepareFactory(clientCtx client.Context, txf Factory) (Factory, error) + func (f Factory) AccountNumber() uint64 + func (f Factory) AccountRetriever() client.AccountRetriever + func (f Factory) ChainID() string + func (f Factory) Fees() sdk.Coins + func (f Factory) Gas() uint64 + func (f Factory) GasAdjustment() float64 + func (f Factory) GasPrices() sdk.DecCoins + func (f Factory) Keybase() keyring.Keyring + func (f Factory) Memo() string + func (f Factory) Sequence() uint64 + func (f Factory) SignMode() signing.SignMode + func (f Factory) SimulateAndExecute() bool + func (f Factory) TimeoutHeight() uint64 + func (f Factory) WithAccountNumber(accnum uint64) Factory + func (f Factory) WithAccountRetriever(ar client.AccountRetriever) Factory + func (f Factory) WithChainID(chainID string) Factory + func (f Factory) WithFees(fees string) Factory + func (f Factory) WithGas(gas uint64) Factory + func (f Factory) WithGasAdjustment(gasAdj float64) Factory + func (f Factory) WithGasPrices(gasPrices string) Factory + func (f Factory) WithKeybase(keybase keyring.Keyring) Factory + func (f Factory) WithMemo(memo string) Factory + func (f Factory) WithSequence(sequence uint64) Factory + func (f Factory) WithSignMode(mode signing.SignMode) Factory + func (f Factory) WithSimulateAndExecute(sim bool) Factory + func (f Factory) WithTimeoutHeight(height uint64) Factory + func (f Factory) WithTxConfig(g client.TxConfig) Factory + type GasEstimateResponse struct + GasEstimate uint64 + func (gr GasEstimateResponse) String() string