tx

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	keys.KeyManager
	SendToken(toAddrBech32 string, amount []types.Coin, memo string, commit bool) (types.BroadcastTxResult, error)
	ContractCall(contractAddrBech32 string, payload []byte, amount sdk.Coin, commit bool) (types.BroadcastTxResult, error)
	QueryContractEvents(contractBech32Addr string, startBlockNum int64, endBlockNum int64) ([]string, error)
	SubVmEventWithTopic(ctx context.Context, subscriber, contractAddr, topic string) (out <-chan interface{}, err error)
}

func NewClient

func NewClient(chainId string, keyManager keys.KeyManager, liteClient lcd.LcdClient, rpcClient rpc.RpcClient) Client

Jump to

Keyboard shortcuts

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