lib

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cdc = MakeCodec()

Functions

func MakeCodec

func MakeCodec() *amino.Codec

func TendermintClient

func TendermintClient(remote string) *client.HTTP

Types

type QstarsClient

type QstarsClient struct {
	// contains filtered or unexported fields
}

func NewQstarsClient

func NewQstarsClient(nodeURI string) *QstarsClient

func (QstarsClient) MarshalJSON

func (c QstarsClient) MarshalJSON(o interface{}) ([]byte, error)

func (QstarsClient) MarshalJSONIndent

func (c QstarsClient) MarshalJSONIndent(o interface{}, prefix, indent string) ([]byte, error)

func (QstarsClient) QueryAccount

func (c QstarsClient) QueryAccount(addr string) (*types.ResultAccount, error)

QueryAccount query account by addr

func (QstarsClient) SequenctIn

func (c QstarsClient) SequenctIn(chainID string) (int64, error)

QuerySequenceIn query sequence in

func (QstarsClient) SequenctOut

func (c QstarsClient) SequenctOut(chainID string) (int64, error)

QuerySequenceOut query sequence out

func (QstarsClient) UnmarshalBinaryBare

func (c QstarsClient) UnmarshalBinaryBare(bz []byte, ptr interface{}) error

func (QstarsClient) UnmarshalJSON

func (c QstarsClient) UnmarshalJSON(bz []byte, ptr interface{}) error

type TmClient added in v0.0.3

type TmClient struct {
	// contains filtered or unexported fields
}

func (*TmClient) Get added in v0.0.3

func (tc *TmClient) Get(remote string) *client.HTTP

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL