Documentation ¶
Index ¶
- type FileSigner
- func (self FileSigner) BinanceSign(msg string) string
- func (self FileSigner) BitfinexSign(msg string) string
- func (self FileSigner) BittrexSign(msg string) string
- func (self FileSigner) GetAddress() ethereum.Address
- func (self FileSigner) GetBinanceKey() string
- func (self FileSigner) GetBitfinexKey() string
- func (self FileSigner) GetBittrexKey() string
- func (self FileSigner) GetLiquiKey() string
- func (self FileSigner) GetTransactOpts() *bind.TransactOpts
- func (self FileSigner) LiquiSign(msg string) string
- func (self FileSigner) Sign(address ethereum.Address, tx *types.Transaction) (*types.Transaction, error)
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)
Click to show internal directories.
Click to hide internal directories.