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 CodeInvalidInput + const CodeInvalidOutput + const DefaultCodespace + func ApproveCmd(cdc *wire.Codec) *cobra.Command + func ErrInvalidInput(codespace sdk.CodespaceType, msg string) sdk.Error + func ErrInvalidOutput(codespace sdk.CodespaceType, msg string) sdk.Error + func ErrNoInputs(codespace sdk.CodespaceType) sdk.Error + func ErrNoOutputs(codespace sdk.CodespaceType) sdk.Error + func GetResultKey(heigth1 string, tx1 string) string + func MustSortJSON(toSortJSON []byte) []byte + func NewSendBody(r *http.Request) (*sendBody, error) + func RegisterRoutes(cdc *wire.Codec, r *mux.Router) + func RegisterWire(cdc *wire.Codec) + func SendTxCmd(cdc *wire.Codec) *cobra.Command + func SortJSON(toSortJSON []byte) ([]byte, error) + type BankStub struct + func NewBankStub() BankStub + func (kv BankStub) CustomerQuery(ctx ctx.Context, route []string, req abci.RequestQuery) (res []byte, err types.Error) + func (kv BankStub) EndBlockNotify(ctx context.Context) + func (kv BankStub) Name() string + func (kv BankStub) RegisterCdc(cdc *go_amino.Codec) + func (kv BankStub) ResultNotify(ctx context.Context, txQcpResult interface{}) *types.Result + func (kv BankStub) StartX(base *baseapp.QstarsBaseApp) error + type Input struct + Address qbtype.Address + Coins sdk.Coins + func NewInput(addr qbtype.Address, coins sdk.Coins) Input + func (in Input) GetSignBytes() []byte + func (in Input) ValidateBasic() sdk.Error + type MsgSend struct + Inputs []Input + Outputs []Output + func NewMsgSend(in []Input, out []Output) MsgSend + type Output struct + Address qbtype.Address + Coins sdk.Coins + func NewOutput(addr qbtype.Address, coins sdk.Coins) Output + func (out Output) GetSignBytes() []byte + func (out Output) ValidateBasic() sdk.Error + type SendOptions struct + func NewSendOptions(opts ...func(*SendOptions)) *SendOptions + type SendResult struct + Code string + Error string + Hash string + Heigth string + Result string + func Approve(cdc *wire.Codec, command string, fromstr string, tostr string, ...) (*SendResult, error) + func Send(cdc *wire.Codec, fromstr string, to qbasetypes.Address, coins types.Coins, ...) (*SendResult, error) + func TxSend(cdc *wire.Codec, txb []byte) (*SendResult, error) + type WrapperSendTx struct + Wrapper *txs.TxStd + func NewWrapperSendTx(wrapper *txs.TxStd) WrapperSendTx + func (tx WrapperSendTx) CalcGas() btypes.BigInt + func (tx WrapperSendTx) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp) + func (tx WrapperSendTx) GetGasPayer() btypes.Address + func (tx WrapperSendTx) GetSignData() []byte + func (tx WrapperSendTx) GetSigner() []btypes.Address + func (tx WrapperSendTx) Name() string + func (tx WrapperSendTx) ValidateData(ctx context.Context) error