tx

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 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 TxClient

type TxClient interface {
	keys.KeyManager
	SendToken(receiver string, coins []types.Coin, memo string, commit bool) (types.BroadcastTxResult, error)
	IPALClaim(Moniker, website, details string, endpoints ipal.Endpoints, bond sdk.Coin, commit bool) (types.BroadcastTxResult, error)
	CIPALClaim(req cipal.IPALUserRequest, memo string, commit bool) (types.BroadcastTxResult, error)
	ContractCall(contractBech32Addr string, payload []byte, amount sdk.Coin, commit bool) (r types.BroadcastTxResult, err error)
	QueryContractEvents(contractBech32Addr string, startBlockNum int64, endBlockNum int64) (result []string, err error)
}

func NewClient

func NewClient(chainId string, keyManager keys.KeyManager, liteClient lcd.LiteClient, rpcClient rpc.RPCClient) (TxClient, error)

Jump to

Keyboard shortcuts

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