binance

package
v0.0.0-...-855f576 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTestNet

func IsTestNet(dexHost string) bool

Types

type Binance

type Binance struct {
	Client sdk.DexClient
	// contains filtered or unexported fields
}

func NewBinance

func NewBinance(cfg config.BinanceConfiguration) (*Binance, error)

NewBinance create new instance of binance client

func (*Binance) BroadcastTx

func (b *Binance) BroadcastTx(hexTx []byte, param map[string]string) (*tx.TxCommitResult, error)

func (*Binance) GetAddress

func (b *Binance) GetAddress() string

GetAddress return current signer address

func (*Binance) Input

func (b *Binance) Input(addr types.AccAddress, coins types.Coins) msg.Input

func (*Binance) SignTx

func (b *Binance) SignTx(txOut stypes.TxOut) ([]byte, map[string]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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