Versions in this module Expand all Collapse all v0 v0.6.2 Aug 29, 2017 Changes in this version + const FlagAmount + const FlagFee + const FlagGas + const FlagOutput + const FlagSequence + const FlagTo + var AccountQueryCmd = &cobra.Command + var AutoCompleteCmd = &cobra.Command + var SendTxCmd = &cobra.Command + func AddAppTxFlags(fs *flag.FlagSet) + func BroadcastAppTx(tx *btypes.AppTx) (*ctypes.ResultBroadcastTxCommit, error) + func ParseHexFlag(flag string) ([]byte, error) + func ReadAppTxFlags() (gas int64, fee btypes.Coin, txInput btypes.TxInput, err error) + type AppTx struct + Tx *bc.AppTx + func WrapAppTx(tx *btypes.AppTx) *AppTx + func (a *AppTx) ValidateBasic() error + func (s *AppTx) Sign(pubkey crypto.PubKey, sig crypto.Signature) error + func (s *AppTx) SignBytes() []byte + func (s *AppTx) Signers() ([]crypto.PubKey, error) + func (s *AppTx) TxBytes() ([]byte, error) + type BaseTxPresenter struct + func (_ BaseTxPresenter) ParseData(raw []byte) (interface{}, error) + type SendTx struct + Tx *bc.SendTx + func (s *SendTx) AddSigner(pk crypto.PubKey) + func (s *SendTx) Sign(pubkey crypto.PubKey, sig crypto.Signature) error + func (s *SendTx) SignBytes() []byte + func (s *SendTx) Signers() ([]crypto.PubKey, error) + func (s *SendTx) TxBytes() ([]byte, error) + func (s *SendTx) ValidateBasic() error