Documentation
¶
Index ¶
- func Validate(exchange *oc.ExchangeConfig) error
- type Client
- func (c *Client) CreateAccountTransfer(args client.AccountTransferArgs) (*client.TransferStatus, error)
- func (c *Client) CreateWithdrawal(args client.WithdrawalArgs) (*client.WithdrawalResponse, error)
- func (c *Client) GetDepositAddress(args client.GetDepositAddressArgs) (oc.Address, error)
- func (c *Client) ListAssets() ([]*oc.Asset, error)
- func (c *Client) ListBalances(args client.GetBalanceArgs) ([]*client.BalanceDetail, error)
- func (c *Client) ListWithdrawalHistory(args client.WithdrawalHistoryArgs) ([]*client.WithdrawalHistory, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(exchange *oc.ExchangeConfig) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateAccountTransfer ¶
func (c *Client) CreateAccountTransfer(args client.AccountTransferArgs) (*client.TransferStatus, error)
Need some slight additions to Backpack exchange API to support this
func (*Client) CreateWithdrawal ¶
func (c *Client) CreateWithdrawal(args client.WithdrawalArgs) (*client.WithdrawalResponse, error)
func (*Client) GetDepositAddress ¶
func (*Client) ListBalances ¶
func (c *Client) ListBalances(args client.GetBalanceArgs) ([]*client.BalanceDetail, error)
func (*Client) ListWithdrawalHistory ¶
func (c *Client) ListWithdrawalHistory(args client.WithdrawalHistoryArgs) ([]*client.WithdrawalHistory, error)
Click to show internal directories.
Click to hide internal directories.