exchange

package
v0.0.0-...-a01bbec Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package exchange is a generated protocol buffer package.

It is generated from these files:

exchange.proto

It has these top-level messages:

ExchangeAddress
ExchangeResponseV2
SignedExchangeResponse
ExchangeResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeAddress

type ExchangeAddress struct {
	CoinType         *string `protobuf:"bytes,1,opt,name=coin_type,json=coinType" json:"coin_type,omitempty"`
	Address          *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
	DestTag          *string `protobuf:"bytes,3,opt,name=dest_tag,json=destTag" json:"dest_tag,omitempty"`
	RsAddress        *string `protobuf:"bytes,4,opt,name=rs_address,json=rsAddress" json:"rs_address,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

* Structure representing address for various coin types (BTC, LTC, and etc). @used in ExchangeResponse

func (*ExchangeAddress) Descriptor

func (*ExchangeAddress) Descriptor() ([]byte, []int)

func (*ExchangeAddress) GetAddress

func (m *ExchangeAddress) GetAddress() string

func (*ExchangeAddress) GetCoinType

func (m *ExchangeAddress) GetCoinType() string

func (*ExchangeAddress) GetDestTag

func (m *ExchangeAddress) GetDestTag() string

func (*ExchangeAddress) GetRsAddress

func (m *ExchangeAddress) GetRsAddress() string

func (*ExchangeAddress) ProtoMessage

func (*ExchangeAddress) ProtoMessage()

func (*ExchangeAddress) Reset

func (m *ExchangeAddress) Reset()

func (*ExchangeAddress) String

func (m *ExchangeAddress) String() string

type ExchangeResponse

type ExchangeResponse struct {
	DepositAddress    *ExchangeAddress `protobuf:"bytes,1,opt,name=deposit_address,json=depositAddress" json:"deposit_address,omitempty"`
	DepositAmount     *uint64          `protobuf:"varint,2,opt,name=deposit_amount,json=depositAmount" json:"deposit_amount,omitempty"`
	Expiration        *int64           `protobuf:"varint,3,opt,name=expiration" json:"expiration,omitempty"`
	QuotedRate        *uint64          `protobuf:"varint,4,opt,name=quoted_rate,json=quotedRate" json:"quoted_rate,omitempty"`
	WithdrawalAddress *ExchangeAddress `protobuf:"bytes,5,opt,name=withdrawal_address,json=withdrawalAddress" json:"withdrawal_address,omitempty"`
	WithdrawalAmount  *uint64          `protobuf:"varint,6,opt,name=withdrawal_amount,json=withdrawalAmount" json:"withdrawal_amount,omitempty"`
	ReturnAddress     *ExchangeAddress `protobuf:"bytes,7,opt,name=return_address,json=returnAddress" json:"return_address,omitempty"`
	ApiKey            []byte           `protobuf:"bytes,8,opt,name=api_key,json=apiKey" json:"api_key,omitempty"`
	MinerFee          *uint64          `protobuf:"varint,9,opt,name=miner_fee,json=minerFee" json:"miner_fee,omitempty"`
	OrderId           []byte           `protobuf:"bytes,10,opt,name=order_id,json=orderId" json:"order_id,omitempty"`
	XXX_unrecognized  []byte           `json:"-"`
}

* Structure representing exchange response version 1 (deprecated)

func (*ExchangeResponse) Descriptor

func (*ExchangeResponse) Descriptor() ([]byte, []int)

func (*ExchangeResponse) GetApiKey

func (m *ExchangeResponse) GetApiKey() []byte

func (*ExchangeResponse) GetDepositAddress

func (m *ExchangeResponse) GetDepositAddress() *ExchangeAddress

func (*ExchangeResponse) GetDepositAmount

func (m *ExchangeResponse) GetDepositAmount() uint64

func (*ExchangeResponse) GetExpiration

func (m *ExchangeResponse) GetExpiration() int64

func (*ExchangeResponse) GetMinerFee

func (m *ExchangeResponse) GetMinerFee() uint64

func (*ExchangeResponse) GetOrderId

func (m *ExchangeResponse) GetOrderId() []byte

func (*ExchangeResponse) GetQuotedRate

func (m *ExchangeResponse) GetQuotedRate() uint64

func (*ExchangeResponse) GetReturnAddress

func (m *ExchangeResponse) GetReturnAddress() *ExchangeAddress

func (*ExchangeResponse) GetWithdrawalAddress

func (m *ExchangeResponse) GetWithdrawalAddress() *ExchangeAddress

func (*ExchangeResponse) GetWithdrawalAmount

func (m *ExchangeResponse) GetWithdrawalAmount() uint64

func (*ExchangeResponse) ProtoMessage

func (*ExchangeResponse) ProtoMessage()

func (*ExchangeResponse) Reset

func (m *ExchangeResponse) Reset()

func (*ExchangeResponse) String

func (m *ExchangeResponse) String() string

type ExchangeResponseV2

type ExchangeResponseV2 struct {
	DepositAddress    *ExchangeAddress `protobuf:"bytes,1,opt,name=deposit_address,json=depositAddress" json:"deposit_address,omitempty"`
	DepositAmount     []byte           `protobuf:"bytes,2,opt,name=deposit_amount,json=depositAmount" json:"deposit_amount,omitempty"`
	Expiration        *int64           `protobuf:"varint,3,opt,name=expiration" json:"expiration,omitempty"`
	QuotedRate        []byte           `protobuf:"bytes,4,opt,name=quoted_rate,json=quotedRate" json:"quoted_rate,omitempty"`
	WithdrawalAddress *ExchangeAddress `protobuf:"bytes,5,opt,name=withdrawal_address,json=withdrawalAddress" json:"withdrawal_address,omitempty"`
	WithdrawalAmount  []byte           `protobuf:"bytes,6,opt,name=withdrawal_amount,json=withdrawalAmount" json:"withdrawal_amount,omitempty"`
	ReturnAddress     *ExchangeAddress `protobuf:"bytes,7,opt,name=return_address,json=returnAddress" json:"return_address,omitempty"`
	ApiKey            []byte           `protobuf:"bytes,8,opt,name=api_key,json=apiKey" json:"api_key,omitempty"`
	MinerFee          []byte           `protobuf:"bytes,9,opt,name=miner_fee,json=minerFee" json:"miner_fee,omitempty"`
	OrderId           []byte           `protobuf:"bytes,10,opt,name=order_id,json=orderId" json:"order_id,omitempty"`
	XXX_unrecognized  []byte           `json:"-"`
}

* Structure representing exchange response version 2

func (*ExchangeResponseV2) Descriptor

func (*ExchangeResponseV2) Descriptor() ([]byte, []int)

func (*ExchangeResponseV2) GetApiKey

func (m *ExchangeResponseV2) GetApiKey() []byte

func (*ExchangeResponseV2) GetDepositAddress

func (m *ExchangeResponseV2) GetDepositAddress() *ExchangeAddress

func (*ExchangeResponseV2) GetDepositAmount

func (m *ExchangeResponseV2) GetDepositAmount() []byte

func (*ExchangeResponseV2) GetExpiration

func (m *ExchangeResponseV2) GetExpiration() int64

func (*ExchangeResponseV2) GetMinerFee

func (m *ExchangeResponseV2) GetMinerFee() []byte

func (*ExchangeResponseV2) GetOrderId

func (m *ExchangeResponseV2) GetOrderId() []byte

func (*ExchangeResponseV2) GetQuotedRate

func (m *ExchangeResponseV2) GetQuotedRate() []byte

func (*ExchangeResponseV2) GetReturnAddress

func (m *ExchangeResponseV2) GetReturnAddress() *ExchangeAddress

func (*ExchangeResponseV2) GetWithdrawalAddress

func (m *ExchangeResponseV2) GetWithdrawalAddress() *ExchangeAddress

func (*ExchangeResponseV2) GetWithdrawalAmount

func (m *ExchangeResponseV2) GetWithdrawalAmount() []byte

func (*ExchangeResponseV2) ProtoMessage

func (*ExchangeResponseV2) ProtoMessage()

func (*ExchangeResponseV2) Reset

func (m *ExchangeResponseV2) Reset()

func (*ExchangeResponseV2) String

func (m *ExchangeResponseV2) String() string

type SignedExchangeResponse

type SignedExchangeResponse struct {
	Response         *ExchangeResponse   `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
	Signature        []byte              `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	ResponseV2       *ExchangeResponseV2 `protobuf:"bytes,3,opt,name=responseV2" json:"responseV2,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*SignedExchangeResponse) Descriptor

func (*SignedExchangeResponse) Descriptor() ([]byte, []int)

func (*SignedExchangeResponse) GetResponse

func (m *SignedExchangeResponse) GetResponse() *ExchangeResponse

func (*SignedExchangeResponse) GetResponseV2

func (m *SignedExchangeResponse) GetResponseV2() *ExchangeResponseV2

func (*SignedExchangeResponse) GetSignature

func (m *SignedExchangeResponse) GetSignature() []byte

func (*SignedExchangeResponse) ProtoMessage

func (*SignedExchangeResponse) ProtoMessage()

func (*SignedExchangeResponse) Reset

func (m *SignedExchangeResponse) Reset()

func (*SignedExchangeResponse) String

func (m *SignedExchangeResponse) String() string

Jump to

Keyboard shortcuts

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