Documentation ¶
Index ¶
- func IsTestNet(dexHost string) bool
- type Binance
- func (b *Binance) BroadcastTx(hexTx []byte, param map[string]string) (*tx.TxCommitResult, error)
- func (b *Binance) GetAddress(poolPubKey common.PubKey) string
- func (b *Binance) GetPubKey() crypto.PubKey
- func (b *Binance) SignTx(tai stypes.TxArrayItem, height int64) ([]byte, map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binance ¶
func NewBinance ¶
func NewBinance(cfg config.BinanceConfiguration, useTSS bool, keySignCfg config.TSSConfiguration) (*Binance, error)
NewBinance create new instance of binance client
func (*Binance) BroadcastTx ¶
func (*Binance) GetAddress ¶
GetAddress return current signer address, it will be bech32 encoded address
Click to show internal directories.
Click to hide internal directories.