signer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSigner

type FileSigner struct {
	LiquiKey       string `json:"liqui_key"`
	LiquiSecret    string `json:"liqui_secret"`
	BinanceKey     string `json:"binance_key"`
	BinanceSecret  string `json:"binance_secret"`
	BittrexKey     string `json:"bittrex_key"`
	BittrexSecret  string `json:"bittrex_secret"`
	BitfinexKey    string `json:"bitfinex_key"`
	BitfinexSecret string `json:"bitfinex_secret"`
	Keystore       string `json:"keystore_path"`
	Passphrase     string `json:"passphrase"`
	// contains filtered or unexported fields
}

func NewFileSigner

func NewFileSigner(file string) *FileSigner

func (FileSigner) BinanceSign

func (self FileSigner) BinanceSign(msg string) string

func (FileSigner) BitfinexSign

func (self FileSigner) BitfinexSign(msg string) string

func (FileSigner) BittrexSign

func (self FileSigner) BittrexSign(msg string) string

func (FileSigner) GetAddress

func (self FileSigner) GetAddress() ethereum.Address

func (FileSigner) GetBinanceKey

func (self FileSigner) GetBinanceKey() string

func (FileSigner) GetBitfinexKey

func (self FileSigner) GetBitfinexKey() string

func (FileSigner) GetBittrexKey

func (self FileSigner) GetBittrexKey() string

func (FileSigner) GetLiquiKey

func (self FileSigner) GetLiquiKey() string

func (FileSigner) GetTransactOpts

func (self FileSigner) GetTransactOpts() *bind.TransactOpts

func (FileSigner) LiquiSign

func (self FileSigner) LiquiSign(msg string) string

func (FileSigner) Sign

func (self FileSigner) Sign(address ethereum.Address, tx *types.Transaction) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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