Versions in this module Expand all Collapse all v0 v0.1.1 Jan 8, 2019 v0.1.0 Dec 6, 2017 Changes in this version + type DevInterface struct + func NewDevInterface() *DevInterface + func (self *DevInterface) AuthenticatedEndpoint(timepoint uint64) string + func (self *DevInterface) PublicEndpoint(timepoint uint64) string + type Interface interface + AuthenticatedEndpoint func(timepoint uint64) string + PublicEndpoint func(timepoint uint64) string + type KovanInterface struct + func NewKovanInterface() *KovanInterface + func (self *KovanInterface) AuthenticatedEndpoint(timepoint uint64) string + func (self *KovanInterface) PublicEndpoint(timepoint uint64) string + type LiquiEndpoint struct + func NewDevLiquiEndpoint(signer Signer) *LiquiEndpoint + func NewKovanLiquiEndpoint(signer Signer) *LiquiEndpoint + func NewLiquiEndpoint(signer Signer, interf Interface) *LiquiEndpoint + func NewRealLiquiEndpoint(signer Signer) *LiquiEndpoint + func NewSimulatedLiquiEndpoint(signer Signer) *LiquiEndpoint + func (self *LiquiEndpoint) ActiveOrders(timepoint uint64) (exchange.Liqorders, error) + func (self *LiquiEndpoint) CancelOrder(id string) (exchange.Liqcancel, error) + func (self *LiquiEndpoint) Depth(tokens string, timepoint uint64) (exchange.Liqresp, error) + func (self *LiquiEndpoint) GetInfo(timepoint uint64) (exchange.Liqinfo, error) + func (self *LiquiEndpoint) OrderInfo(orderID string, timepoint uint64) (exchange.Liqorderinfo, error) + func (self *LiquiEndpoint) Trade(tradeType string, base, quote common.Token, rate, amount float64, ...) (id string, done float64, remaining float64, finished bool, err error) + func (self *LiquiEndpoint) Withdraw(token common.Token, amount *big.Int, address ethereum.Address, ...) error + type RealInterface struct + func NewRealInterface() *RealInterface + func (self *RealInterface) AuthenticatedEndpoint(timepoint uint64) string + func (self *RealInterface) PublicEndpoint(timepoint uint64) string + type Signer interface + GetLiquiKey func() string + LiquiSign func(msg string) string + type SimulatedInterface struct + func NewSimulatedInterface() *SimulatedInterface + func (self *SimulatedInterface) AuthenticatedEndpoint(timepoint uint64) string + func (self *SimulatedInterface) PublicEndpoint(timepoint uint64) string