Versions in this module Expand all Collapse all v0 v0.4.1 Dec 25, 2018 v0.4.0 Dec 24, 2018 Changes in this version + const ACCOUNT_NOT_EXIST + type CLIContext struct + AccountStore string + Async bool + Client rpcclient.Client + Codec *wire.Codec + FromAddressName string + Height int64 + JSON bool + KVStore string + Logger io.Writer + NodeURI string + PrintResponse bool + TrustNode bool + UseLedger bool + func NewCLIContext1(nodeURI string) CLIContext + func (ctx CLIContext) BroadcastTx(tx []byte) (*ctypes.ResultBroadcastTxCommit, error) + func (ctx CLIContext) BroadcastTxAsync(tx []byte) (*ctypes.ResultBroadcastTx, error) + func (ctx CLIContext) EnsureBroadcastTx(txBytes []byte) (*ctypes.ResultBroadcastTxCommit, error) + func (ctx CLIContext) GetAccount(address []byte, cdc *wire.Codec) (*account.QOSAccount, error) + func (ctx CLIContext) GetNode() (rpcclient.Client, error) + func (ctx CLIContext) Query(path string) (res []byte, err error) + func (ctx CLIContext) QueryInvestadCustom(key cmn.HexBytes) (res []byte, err error) + func (ctx CLIContext) QueryKV(key cmn.HexBytes) (res []byte, err error) + func (ctx CLIContext) QueryQOSAccount(key cmn.HexBytes) (res []byte, err error) + func (ctx CLIContext) QuerySequenceIn(chainid string) (in int64, err error) + func (ctx CLIContext) QuerySequenceOut(chainid string) (out int64, err error) + func (ctx CLIContext) QueryStore(key cmn.HexBytes, storeName string) (res []byte, err error) + func (ctx CLIContext) WithAccountStore(accountStore string) CLIContext + func (ctx CLIContext) WithClient(client rpcclient.Client) CLIContext + func (ctx CLIContext) WithCodec(cdc *wire.Codec) CLIContext + func (ctx CLIContext) WithFromAddressName(addrName string) CLIContext + func (ctx CLIContext) WithKVStore(kvStore string) CLIContext + func (ctx CLIContext) WithLogger(w io.Writer) CLIContext + func (ctx CLIContext) WithNodeURI(nodeURI string) CLIContext + func (ctx CLIContext) WithTrustNode(trustNode bool) CLIContext + func (ctx CLIContext) WithUseLedger(useLedger bool) CLIContext