Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + func BroadcastTx(ctx context.CLIContext, txf Factory, msgs ...sdk.Msg) error + func BuildSimTx(txf Factory, msgs ...sdk.Msg) ([]byte, error) + func BuildUnsignedTx(txf Factory, msgs ...sdk.Msg) (context.TxBuilder, error) + func CalculateGas(queryFunc func(string, []byte) ([]byte, int64, error), txf Factory, ...) (sdk.SimulationResponse, uint64, error) + func GenerateOrBroadcastTx(ctx context.CLIContext, msgs ...sdk.Msg) error + func GenerateOrBroadcastTxWithFactory(ctx context.CLIContext, txf Factory, msgs ...sdk.Msg) error + func GenerateTx(ctx context.CLIContext, txf Factory, msgs ...sdk.Msg) error + func Sign(txf Factory, name, passphrase string, tx context.TxBuilder) ([]byte, error) + func WriteGeneratedTxResponse(ctx context.CLIContext, w http.ResponseWriter, br rest.BaseReq, ...) + type Factory struct + func NewFactoryFromCLI(input io.Reader) Factory + func PrepareFactory(ctx context.CLIContext, txf Factory) (Factory, error) + func (f Factory) AccountNumber() uint64 + func (f Factory) AccountRetriever() context.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) SimulateAndExecute() bool + func (f Factory) WithAccountNumber(accnum uint64) Factory + func (f Factory) WithAccountRetriever(ar context.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) WithSimulateAndExecute(sim bool) Factory + func (f Factory) WithTxGenerator(g context.TxGenerator) Factory + type GasEstimateResponse struct + GasEstimate uint64 + func (gr GasEstimateResponse) String() string