mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-20 13:27:51 +02:00
1293 lines
47 KiB
Go
1293 lines
47 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: client.proto
|
|
|
|
package clmrpc
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type AccountState int32
|
|
|
|
const (
|
|
AccountState_PENDING_OPEN AccountState = 0
|
|
AccountState_OPEN AccountState = 1
|
|
)
|
|
|
|
var AccountState_name = map[int32]string{
|
|
0: "PENDING_OPEN",
|
|
1: "OPEN",
|
|
}
|
|
|
|
var AccountState_value = map[string]int32{
|
|
"PENDING_OPEN": 0,
|
|
"OPEN": 1,
|
|
}
|
|
|
|
func (x AccountState) String() string {
|
|
return proto.EnumName(AccountState_name, int32(x))
|
|
}
|
|
|
|
func (AccountState) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{0}
|
|
}
|
|
|
|
type InitAccountRequest struct {
|
|
AccountValue uint32 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
|
|
AccountExpiry uint32 `protobuf:"varint,2,opt,name=account_expiry,json=accountExpiry,proto3" json:"account_expiry,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InitAccountRequest) Reset() { *m = InitAccountRequest{} }
|
|
func (m *InitAccountRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InitAccountRequest) ProtoMessage() {}
|
|
func (*InitAccountRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{0}
|
|
}
|
|
|
|
func (m *InitAccountRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InitAccountRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InitAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InitAccountRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InitAccountRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InitAccountRequest.Merge(m, src)
|
|
}
|
|
func (m *InitAccountRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InitAccountRequest.Size(m)
|
|
}
|
|
func (m *InitAccountRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InitAccountRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InitAccountRequest proto.InternalMessageInfo
|
|
|
|
func (m *InitAccountRequest) GetAccountValue() uint32 {
|
|
if m != nil {
|
|
return m.AccountValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *InitAccountRequest) GetAccountExpiry() uint32 {
|
|
if m != nil {
|
|
return m.AccountExpiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListAccountsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListAccountsRequest) Reset() { *m = ListAccountsRequest{} }
|
|
func (m *ListAccountsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListAccountsRequest) ProtoMessage() {}
|
|
func (*ListAccountsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{1}
|
|
}
|
|
|
|
func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListAccountsRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListAccountsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListAccountsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListAccountsRequest.Merge(m, src)
|
|
}
|
|
func (m *ListAccountsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListAccountsRequest.Size(m)
|
|
}
|
|
func (m *ListAccountsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListAccountsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListAccountsRequest proto.InternalMessageInfo
|
|
|
|
type ListAccountsResponse struct {
|
|
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListAccountsResponse) Reset() { *m = ListAccountsResponse{} }
|
|
func (m *ListAccountsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListAccountsResponse) ProtoMessage() {}
|
|
func (*ListAccountsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{2}
|
|
}
|
|
|
|
func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListAccountsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListAccountsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListAccountsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListAccountsResponse.Merge(m, src)
|
|
}
|
|
func (m *ListAccountsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListAccountsResponse.Size(m)
|
|
}
|
|
func (m *ListAccountsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListAccountsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListAccountsResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListAccountsResponse) GetAccounts() []*Account {
|
|
if m != nil {
|
|
return m.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CloseAccountRequest struct {
|
|
AccountSubKeyHex string `protobuf:"bytes,1,opt,name=account_sub_key_hex,json=accountSubKeyHex,proto3" json:"account_sub_key_hex,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CloseAccountRequest) Reset() { *m = CloseAccountRequest{} }
|
|
func (m *CloseAccountRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CloseAccountRequest) ProtoMessage() {}
|
|
func (*CloseAccountRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{3}
|
|
}
|
|
|
|
func (m *CloseAccountRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CloseAccountRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CloseAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CloseAccountRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CloseAccountRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CloseAccountRequest.Merge(m, src)
|
|
}
|
|
func (m *CloseAccountRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CloseAccountRequest.Size(m)
|
|
}
|
|
func (m *CloseAccountRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CloseAccountRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CloseAccountRequest proto.InternalMessageInfo
|
|
|
|
func (m *CloseAccountRequest) GetAccountSubKeyHex() string {
|
|
if m != nil {
|
|
return m.AccountSubKeyHex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CloseAccountResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CloseAccountResponse) Reset() { *m = CloseAccountResponse{} }
|
|
func (m *CloseAccountResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CloseAccountResponse) ProtoMessage() {}
|
|
func (*CloseAccountResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{4}
|
|
}
|
|
|
|
func (m *CloseAccountResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CloseAccountResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CloseAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CloseAccountResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CloseAccountResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CloseAccountResponse.Merge(m, src)
|
|
}
|
|
func (m *CloseAccountResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CloseAccountResponse.Size(m)
|
|
}
|
|
func (m *CloseAccountResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CloseAccountResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CloseAccountResponse proto.InternalMessageInfo
|
|
|
|
type ModifyAccountRequest struct {
|
|
AccountSubKeyHex string `protobuf:"bytes,1,opt,name=account_sub_key_hex,json=accountSubKeyHex,proto3" json:"account_sub_key_hex,omitempty"`
|
|
NewAccountBalance int64 `protobuf:"varint,2,opt,name=new_account_balance,json=newAccountBalance,proto3" json:"new_account_balance,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyAccountRequest) Reset() { *m = ModifyAccountRequest{} }
|
|
func (m *ModifyAccountRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyAccountRequest) ProtoMessage() {}
|
|
func (*ModifyAccountRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{5}
|
|
}
|
|
|
|
func (m *ModifyAccountRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyAccountRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyAccountRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyAccountRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyAccountRequest.Merge(m, src)
|
|
}
|
|
func (m *ModifyAccountRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyAccountRequest.Size(m)
|
|
}
|
|
func (m *ModifyAccountRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyAccountRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyAccountRequest proto.InternalMessageInfo
|
|
|
|
func (m *ModifyAccountRequest) GetAccountSubKeyHex() string {
|
|
if m != nil {
|
|
return m.AccountSubKeyHex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ModifyAccountRequest) GetNewAccountBalance() int64 {
|
|
if m != nil {
|
|
return m.NewAccountBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ModifyAccountResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ModifyAccountResponse) Reset() { *m = ModifyAccountResponse{} }
|
|
func (m *ModifyAccountResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ModifyAccountResponse) ProtoMessage() {}
|
|
func (*ModifyAccountResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{6}
|
|
}
|
|
|
|
func (m *ModifyAccountResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ModifyAccountResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ModifyAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ModifyAccountResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ModifyAccountResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ModifyAccountResponse.Merge(m, src)
|
|
}
|
|
func (m *ModifyAccountResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ModifyAccountResponse.Size(m)
|
|
}
|
|
func (m *ModifyAccountResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ModifyAccountResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ModifyAccountResponse proto.InternalMessageInfo
|
|
|
|
type Account struct {
|
|
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
|
|
Outpoint *OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
Value uint32 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
ExpirationHeight uint32 `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
|
|
State AccountState `protobuf:"varint,5,opt,name=state,proto3,enum=clmrpc.AccountState" json:"state,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Account) Reset() { *m = Account{} }
|
|
func (m *Account) String() string { return proto.CompactTextString(m) }
|
|
func (*Account) ProtoMessage() {}
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{7}
|
|
}
|
|
|
|
func (m *Account) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Account.Unmarshal(m, b)
|
|
}
|
|
func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Account.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Account) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Account.Merge(m, src)
|
|
}
|
|
func (m *Account) XXX_Size() int {
|
|
return xxx_messageInfo_Account.Size(m)
|
|
}
|
|
func (m *Account) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Account.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Account proto.InternalMessageInfo
|
|
|
|
func (m *Account) GetTraderKey() []byte {
|
|
if m != nil {
|
|
return m.TraderKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Account) GetOutpoint() *OutPoint {
|
|
if m != nil {
|
|
return m.Outpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Account) GetValue() uint32 {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Account) GetExpirationHeight() uint32 {
|
|
if m != nil {
|
|
return m.ExpirationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Account) GetState() AccountState {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return AccountState_PENDING_OPEN
|
|
}
|
|
|
|
type SubmitOrderRequest struct {
|
|
// Types that are valid to be assigned to Details:
|
|
// *SubmitOrderRequest_Ask
|
|
// *SubmitOrderRequest_Bid
|
|
Details isSubmitOrderRequest_Details `protobuf_oneof:"details"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) Reset() { *m = SubmitOrderRequest{} }
|
|
func (m *SubmitOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitOrderRequest) ProtoMessage() {}
|
|
func (*SubmitOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{8}
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitOrderRequest.Size(m)
|
|
}
|
|
func (m *SubmitOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitOrderRequest proto.InternalMessageInfo
|
|
|
|
type isSubmitOrderRequest_Details interface {
|
|
isSubmitOrderRequest_Details()
|
|
}
|
|
|
|
type SubmitOrderRequest_Ask struct {
|
|
Ask *Ask `protobuf:"bytes,1,opt,name=ask,proto3,oneof"`
|
|
}
|
|
|
|
type SubmitOrderRequest_Bid struct {
|
|
Bid *Bid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubmitOrderRequest_Ask) isSubmitOrderRequest_Details() {}
|
|
|
|
func (*SubmitOrderRequest_Bid) isSubmitOrderRequest_Details() {}
|
|
|
|
func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetAsk() *Ask {
|
|
if x, ok := m.GetDetails().(*SubmitOrderRequest_Ask); ok {
|
|
return x.Ask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitOrderRequest) GetBid() *Bid {
|
|
if x, ok := m.GetDetails().(*SubmitOrderRequest_Bid); ok {
|
|
return x.Bid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*SubmitOrderRequest) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*SubmitOrderRequest_Ask)(nil),
|
|
(*SubmitOrderRequest_Bid)(nil),
|
|
}
|
|
}
|
|
|
|
type SubmitOrderResponse struct {
|
|
// Types that are valid to be assigned to Details:
|
|
// *SubmitOrderResponse_InvalidOrder
|
|
// *SubmitOrderResponse_Accepted
|
|
Details isSubmitOrderResponse_Details `protobuf_oneof:"details"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) Reset() { *m = SubmitOrderResponse{} }
|
|
func (m *SubmitOrderResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitOrderResponse) ProtoMessage() {}
|
|
func (*SubmitOrderResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{9}
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitOrderResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitOrderResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitOrderResponse.Merge(m, src)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitOrderResponse.Size(m)
|
|
}
|
|
func (m *SubmitOrderResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitOrderResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitOrderResponse proto.InternalMessageInfo
|
|
|
|
type isSubmitOrderResponse_Details interface {
|
|
isSubmitOrderResponse_Details()
|
|
}
|
|
|
|
type SubmitOrderResponse_InvalidOrder struct {
|
|
InvalidOrder *InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"`
|
|
}
|
|
|
|
type SubmitOrderResponse_Accepted struct {
|
|
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubmitOrderResponse_InvalidOrder) isSubmitOrderResponse_Details() {}
|
|
|
|
func (*SubmitOrderResponse_Accepted) isSubmitOrderResponse_Details() {}
|
|
|
|
func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) GetInvalidOrder() *InvalidOrder {
|
|
if x, ok := m.GetDetails().(*SubmitOrderResponse_InvalidOrder); ok {
|
|
return x.InvalidOrder
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitOrderResponse) GetAccepted() bool {
|
|
if x, ok := m.GetDetails().(*SubmitOrderResponse_Accepted); ok {
|
|
return x.Accepted
|
|
}
|
|
return false
|
|
}
|
|
|
|
// XXX_OneofWrappers is for the internal use of the proto package.
|
|
func (*SubmitOrderResponse) XXX_OneofWrappers() []interface{} {
|
|
return []interface{}{
|
|
(*SubmitOrderResponse_InvalidOrder)(nil),
|
|
(*SubmitOrderResponse_Accepted)(nil),
|
|
}
|
|
}
|
|
|
|
type ListOrdersRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListOrdersRequest) Reset() { *m = ListOrdersRequest{} }
|
|
func (m *ListOrdersRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListOrdersRequest) ProtoMessage() {}
|
|
func (*ListOrdersRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{10}
|
|
}
|
|
|
|
func (m *ListOrdersRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListOrdersRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListOrdersRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListOrdersRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListOrdersRequest.Merge(m, src)
|
|
}
|
|
func (m *ListOrdersRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListOrdersRequest.Size(m)
|
|
}
|
|
func (m *ListOrdersRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListOrdersRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListOrdersRequest proto.InternalMessageInfo
|
|
|
|
type ListOrdersResponse struct {
|
|
Asks []*Ask `protobuf:"bytes,1,rep,name=asks,proto3" json:"asks,omitempty"`
|
|
Bids []*Bid `protobuf:"bytes,2,rep,name=bids,proto3" json:"bids,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListOrdersResponse) Reset() { *m = ListOrdersResponse{} }
|
|
func (m *ListOrdersResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListOrdersResponse) ProtoMessage() {}
|
|
func (*ListOrdersResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{11}
|
|
}
|
|
|
|
func (m *ListOrdersResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListOrdersResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListOrdersResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListOrdersResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListOrdersResponse.Merge(m, src)
|
|
}
|
|
func (m *ListOrdersResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListOrdersResponse.Size(m)
|
|
}
|
|
func (m *ListOrdersResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListOrdersResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListOrdersResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListOrdersResponse) GetAsks() []*Ask {
|
|
if m != nil {
|
|
return m.Asks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ListOrdersResponse) GetBids() []*Bid {
|
|
if m != nil {
|
|
return m.Bids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelOrderRequest struct {
|
|
OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelOrderRequest) Reset() { *m = CancelOrderRequest{} }
|
|
func (m *CancelOrderRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelOrderRequest) ProtoMessage() {}
|
|
func (*CancelOrderRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{12}
|
|
}
|
|
|
|
func (m *CancelOrderRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelOrderRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelOrderRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelOrderRequest.Merge(m, src)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CancelOrderRequest.Size(m)
|
|
}
|
|
func (m *CancelOrderRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelOrderRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelOrderRequest proto.InternalMessageInfo
|
|
|
|
func (m *CancelOrderRequest) GetOrderNonce() []byte {
|
|
if m != nil {
|
|
return m.OrderNonce
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelOrderResponse struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CancelOrderResponse) Reset() { *m = CancelOrderResponse{} }
|
|
func (m *CancelOrderResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*CancelOrderResponse) ProtoMessage() {}
|
|
func (*CancelOrderResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{13}
|
|
}
|
|
|
|
func (m *CancelOrderResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CancelOrderResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CancelOrderResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CancelOrderResponse.Merge(m, src)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_Size() int {
|
|
return xxx_messageInfo_CancelOrderResponse.Size(m)
|
|
}
|
|
func (m *CancelOrderResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CancelOrderResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CancelOrderResponse proto.InternalMessageInfo
|
|
|
|
type Order struct {
|
|
//*
|
|
//The user's sub key of the account that is used for the order.
|
|
UserSubKey []byte `protobuf:"bytes,1,opt,name=user_sub_key,proto3" json:"user_sub_key,omitempty"`
|
|
//*
|
|
//Fixed order rate in parts per million.
|
|
RateFixed int64 `protobuf:"varint,2,opt,name=rate_fixed,proto3" json:"rate_fixed,omitempty"`
|
|
//*
|
|
//Order amount in satoshis.
|
|
Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
|
|
//*
|
|
//Preferred fee rate to be used for the channel funding transaction, expressed
|
|
//in satoshis per 1000 weight units (sat/kW).
|
|
FundingFeeRate int64 `protobuf:"varint,4,opt,name=funding_fee_rate,proto3" json:"funding_fee_rate,omitempty"`
|
|
//*
|
|
//Order nonce, acts as unique order identifier.
|
|
OrderNonce []byte `protobuf:"bytes,5,opt,name=order_nonce,proto3" json:"order_nonce,omitempty"`
|
|
//*
|
|
//The state the order currently is in.
|
|
State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
|
|
//*
|
|
//The number of order units the amount corresponds to.
|
|
Units uint32 `protobuf:"varint,7,opt,name=units,proto3" json:"units,omitempty"`
|
|
//*
|
|
//The number of currently unfilled units of this order. This will be equal to
|
|
//the total amount of units until the order has reached the state PARTIAL_FILL
|
|
//or EXECUTED.
|
|
UnitsUnfulfilled uint32 `protobuf:"varint,8,opt,name=units_unfulfilled,proto3" json:"units_unfulfilled,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Order) Reset() { *m = Order{} }
|
|
func (m *Order) String() string { return proto.CompactTextString(m) }
|
|
func (*Order) ProtoMessage() {}
|
|
func (*Order) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{14}
|
|
}
|
|
|
|
func (m *Order) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Order.Unmarshal(m, b)
|
|
}
|
|
func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Order.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Order) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Order.Merge(m, src)
|
|
}
|
|
func (m *Order) XXX_Size() int {
|
|
return xxx_messageInfo_Order.Size(m)
|
|
}
|
|
func (m *Order) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Order.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Order proto.InternalMessageInfo
|
|
|
|
func (m *Order) GetUserSubKey() []byte {
|
|
if m != nil {
|
|
return m.UserSubKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Order) GetRateFixed() int64 {
|
|
if m != nil {
|
|
return m.RateFixed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Order) GetAmt() int64 {
|
|
if m != nil {
|
|
return m.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Order) GetFundingFeeRate() int64 {
|
|
if m != nil {
|
|
return m.FundingFeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Order) GetOrderNonce() []byte {
|
|
if m != nil {
|
|
return m.OrderNonce
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Order) GetState() string {
|
|
if m != nil {
|
|
return m.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Order) GetUnits() uint32 {
|
|
if m != nil {
|
|
return m.Units
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Order) GetUnitsUnfulfilled() uint32 {
|
|
if m != nil {
|
|
return m.UnitsUnfulfilled
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Bid struct {
|
|
//*
|
|
//The common fields shared between both ask and bid order types.
|
|
Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
|
|
//*
|
|
//Required minimum number of blocks that a channel opened as a result of this
|
|
//bid should be kept open.
|
|
MinDurationBlocks int64 `protobuf:"varint,2,opt,name=min_duration_blocks,proto3" json:"min_duration_blocks,omitempty"`
|
|
//*
|
|
//The version of the order format that is used. Will be increased once new
|
|
//features are added.
|
|
Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Bid) Reset() { *m = Bid{} }
|
|
func (m *Bid) String() string { return proto.CompactTextString(m) }
|
|
func (*Bid) ProtoMessage() {}
|
|
func (*Bid) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{15}
|
|
}
|
|
|
|
func (m *Bid) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Bid.Unmarshal(m, b)
|
|
}
|
|
func (m *Bid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Bid.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Bid) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Bid.Merge(m, src)
|
|
}
|
|
func (m *Bid) XXX_Size() int {
|
|
return xxx_messageInfo_Bid.Size(m)
|
|
}
|
|
func (m *Bid) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Bid.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Bid proto.InternalMessageInfo
|
|
|
|
func (m *Bid) GetDetails() *Order {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Bid) GetMinDurationBlocks() int64 {
|
|
if m != nil {
|
|
return m.MinDurationBlocks
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Bid) GetVersion() uint32 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Ask struct {
|
|
//*
|
|
//The common fields shared between both ask and bid order types.
|
|
Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
|
|
//*
|
|
//The maximum number of blocks the liquidity provider is willing to provide
|
|
//the channel funds for.
|
|
MaxDurationBlocks int64 `protobuf:"varint,2,opt,name=max_duration_blocks,proto3" json:"max_duration_blocks,omitempty"`
|
|
//*
|
|
//The version of the order format that is used. Will be increased once new
|
|
//features are added.
|
|
Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Ask) Reset() { *m = Ask{} }
|
|
func (m *Ask) String() string { return proto.CompactTextString(m) }
|
|
func (*Ask) ProtoMessage() {}
|
|
func (*Ask) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_014de31d7ac8c57c, []int{16}
|
|
}
|
|
|
|
func (m *Ask) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Ask.Unmarshal(m, b)
|
|
}
|
|
func (m *Ask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Ask.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Ask) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Ask.Merge(m, src)
|
|
}
|
|
func (m *Ask) XXX_Size() int {
|
|
return xxx_messageInfo_Ask.Size(m)
|
|
}
|
|
func (m *Ask) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Ask.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Ask proto.InternalMessageInfo
|
|
|
|
func (m *Ask) GetDetails() *Order {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Ask) GetMaxDurationBlocks() int64 {
|
|
if m != nil {
|
|
return m.MaxDurationBlocks
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Ask) GetVersion() uint32 {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("clmrpc.AccountState", AccountState_name, AccountState_value)
|
|
proto.RegisterType((*InitAccountRequest)(nil), "clmrpc.InitAccountRequest")
|
|
proto.RegisterType((*ListAccountsRequest)(nil), "clmrpc.ListAccountsRequest")
|
|
proto.RegisterType((*ListAccountsResponse)(nil), "clmrpc.ListAccountsResponse")
|
|
proto.RegisterType((*CloseAccountRequest)(nil), "clmrpc.CloseAccountRequest")
|
|
proto.RegisterType((*CloseAccountResponse)(nil), "clmrpc.CloseAccountResponse")
|
|
proto.RegisterType((*ModifyAccountRequest)(nil), "clmrpc.ModifyAccountRequest")
|
|
proto.RegisterType((*ModifyAccountResponse)(nil), "clmrpc.ModifyAccountResponse")
|
|
proto.RegisterType((*Account)(nil), "clmrpc.Account")
|
|
proto.RegisterType((*SubmitOrderRequest)(nil), "clmrpc.SubmitOrderRequest")
|
|
proto.RegisterType((*SubmitOrderResponse)(nil), "clmrpc.SubmitOrderResponse")
|
|
proto.RegisterType((*ListOrdersRequest)(nil), "clmrpc.ListOrdersRequest")
|
|
proto.RegisterType((*ListOrdersResponse)(nil), "clmrpc.ListOrdersResponse")
|
|
proto.RegisterType((*CancelOrderRequest)(nil), "clmrpc.CancelOrderRequest")
|
|
proto.RegisterType((*CancelOrderResponse)(nil), "clmrpc.CancelOrderResponse")
|
|
proto.RegisterType((*Order)(nil), "clmrpc.Order")
|
|
proto.RegisterType((*Bid)(nil), "clmrpc.Bid")
|
|
proto.RegisterType((*Ask)(nil), "clmrpc.Ask")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) }
|
|
|
|
var fileDescriptor_014de31d7ac8c57c = []byte{
|
|
// 1005 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
|
|
0x14, 0x6e, 0x9a, 0xa6, 0x4d, 0x4f, 0x9c, 0x92, 0x4e, 0xd2, 0x5d, 0x6f, 0xda, 0xdd, 0xad, 0xcc,
|
|
0x5f, 0x95, 0x2e, 0x09, 0x1b, 0xc4, 0x0d, 0x5c, 0x35, 0xd9, 0x8a, 0x54, 0x0b, 0x6d, 0xe5, 0x4a,
|
|
0xcb, 0x05, 0x17, 0xc6, 0xb1, 0x27, 0xed, 0x28, 0xce, 0x38, 0x78, 0xc6, 0xd9, 0x84, 0xaa, 0x42,
|
|
0x20, 0xf1, 0x04, 0x3c, 0x13, 0x4f, 0xc0, 0x2b, 0xf0, 0x20, 0x68, 0xc6, 0x63, 0xc7, 0x4e, 0x5c,
|
|
0x09, 0xc4, 0x9d, 0xe7, 0x3b, 0x67, 0xce, 0x77, 0x66, 0xe6, 0x3b, 0xe7, 0x18, 0x34, 0xc7, 0x23,
|
|
0x98, 0xf2, 0xf6, 0x34, 0xf0, 0xb9, 0x8f, 0xb6, 0x1d, 0x6f, 0x12, 0x4c, 0x9d, 0xe6, 0xd1, 0xad,
|
|
0xef, 0xdf, 0x7a, 0xb8, 0x63, 0x4f, 0x49, 0xc7, 0xa6, 0xd4, 0xe7, 0x36, 0x27, 0x3e, 0x65, 0x91,
|
|
0x57, 0x53, 0x63, 0x38, 0x98, 0xe1, 0x20, 0x5a, 0x19, 0x3f, 0x02, 0xba, 0xa0, 0x84, 0x9f, 0x39,
|
|
0x8e, 0x1f, 0x52, 0x6e, 0xe2, 0x9f, 0x42, 0xcc, 0x38, 0xfa, 0x10, 0xaa, 0x76, 0x84, 0x58, 0x33,
|
|
0xdb, 0x0b, 0xb1, 0x5e, 0x38, 0x2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0xe4, 0xa4, 0xf5, 0xc9, 0x2a, 0x49, 0xe7, 0x3e, 0x67, 0x86,
|
|
0x3c, 0xa0, 0x5f, 0xa0, 0x9a, 0x69, 0xfe, 0x28, 0x09, 0x9f, 0x37, 0x8a, 0x9a, 0xcf, 0x1f, 0xb1,
|
|
0x2a, 0xf6, 0xd7, 0x92, 0xfd, 0xd4, 0xf8, 0x97, 0xec, 0xe2, 0x82, 0x6d, 0xa8, 0xa4, 0x3a, 0xe7,
|
|
0xf2, 0xe5, 0xd6, 0x3b, 0x76, 0xf3, 0x30, 0xd7, 0xa6, 0xa8, 0x9f, 0x49, 0xea, 0xba, 0xb1, 0x17,
|
|
0x53, 0xcb, 0xc2, 0x95, 0x6f, 0xf8, 0x03, 0xc0, 0xb2, 0x15, 0xa2, 0x67, 0xe9, 0x47, 0xca, 0xf4,
|
|
0xcc, 0x66, 0x33, 0xcf, 0xa4, 0xe2, 0x3f, 0x91, 0xf1, 0x6b, 0x68, 0x25, 0x3e, 0xf2, 0xa0, 0x92,
|
|
0x6a, 0x6c, 0xcb, 0xfc, 0xd7, 0x9b, 0xe4, 0x32, 0xff, 0xbc, 0x4e, 0xf8, 0x91, 0x8c, 0xff, 0xa2,
|
|
0x75, 0x94, 0x8d, 0xdf, 0xb9, 0x4f, 0x35, 0xa0, 0x87, 0xe1, 0xb6, 0xfc, 0x8b, 0xfa, 0xe2, 0x9f,
|
|
0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x1b, 0xb0, 0x9c, 0x89, 0x09, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// ChannelAuctioneerClientClient is the client API for ChannelAuctioneerClient service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type ChannelAuctioneerClientClient interface {
|
|
InitAccount(ctx context.Context, in *InitAccountRequest, opts ...grpc.CallOption) (*Account, error)
|
|
ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
|
|
CloseAccount(ctx context.Context, in *CloseAccountRequest, opts ...grpc.CallOption) (*CloseAccountResponse, error)
|
|
ModifyAccount(ctx context.Context, in *ModifyAccountRequest, opts ...grpc.CallOption) (*ModifyAccountResponse, error)
|
|
SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error)
|
|
ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
|
|
CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
|
|
}
|
|
|
|
type channelAuctioneerClientClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewChannelAuctioneerClientClient(cc *grpc.ClientConn) ChannelAuctioneerClientClient {
|
|
return &channelAuctioneerClientClient{cc}
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) InitAccount(ctx context.Context, in *InitAccountRequest, opts ...grpc.CallOption) (*Account, error) {
|
|
out := new(Account)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/InitAccount", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) {
|
|
out := new(ListAccountsResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/ListAccounts", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) CloseAccount(ctx context.Context, in *CloseAccountRequest, opts ...grpc.CallOption) (*CloseAccountResponse, error) {
|
|
out := new(CloseAccountResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/CloseAccount", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) ModifyAccount(ctx context.Context, in *ModifyAccountRequest, opts ...grpc.CallOption) (*ModifyAccountResponse, error) {
|
|
out := new(ModifyAccountResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/ModifyAccount", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error) {
|
|
out := new(SubmitOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/SubmitOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error) {
|
|
out := new(ListOrdersResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/ListOrders", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *channelAuctioneerClientClient) CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error) {
|
|
out := new(CancelOrderResponse)
|
|
err := c.cc.Invoke(ctx, "/clmrpc.ChannelAuctioneerClient/CancelOrder", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// ChannelAuctioneerClientServer is the server API for ChannelAuctioneerClient service.
|
|
type ChannelAuctioneerClientServer interface {
|
|
InitAccount(context.Context, *InitAccountRequest) (*Account, error)
|
|
ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
|
|
CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error)
|
|
ModifyAccount(context.Context, *ModifyAccountRequest) (*ModifyAccountResponse, error)
|
|
SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
|
|
ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
|
|
CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
|
|
}
|
|
|
|
func RegisterChannelAuctioneerClientServer(s *grpc.Server, srv ChannelAuctioneerClientServer) {
|
|
s.RegisterService(&_ChannelAuctioneerClient_serviceDesc, srv)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_InitAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(InitAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).InitAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/InitAccount",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).InitAccount(ctx, req.(*InitAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_ListAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListAccountsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).ListAccounts(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/ListAccounts",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).ListAccounts(ctx, req.(*ListAccountsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_CloseAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CloseAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).CloseAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/CloseAccount",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).CloseAccount(ctx, req.(*CloseAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_ModifyAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ModifyAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).ModifyAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/ModifyAccount",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).ModifyAccount(ctx, req.(*ModifyAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_SubmitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SubmitOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).SubmitOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/SubmitOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).SubmitOrder(ctx, req.(*SubmitOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_ListOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListOrdersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).ListOrders(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/ListOrders",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).ListOrders(ctx, req.(*ListOrdersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ChannelAuctioneerClient_CancelOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CancelOrderRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(ChannelAuctioneerClientServer).CancelOrder(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/clmrpc.ChannelAuctioneerClient/CancelOrder",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(ChannelAuctioneerClientServer).CancelOrder(ctx, req.(*CancelOrderRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _ChannelAuctioneerClient_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "clmrpc.ChannelAuctioneerClient",
|
|
HandlerType: (*ChannelAuctioneerClientServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "InitAccount",
|
|
Handler: _ChannelAuctioneerClient_InitAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListAccounts",
|
|
Handler: _ChannelAuctioneerClient_ListAccounts_Handler,
|
|
},
|
|
{
|
|
MethodName: "CloseAccount",
|
|
Handler: _ChannelAuctioneerClient_CloseAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "ModifyAccount",
|
|
Handler: _ChannelAuctioneerClient_ModifyAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "SubmitOrder",
|
|
Handler: _ChannelAuctioneerClient_SubmitOrder_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListOrders",
|
|
Handler: _ChannelAuctioneerClient_ListOrders_Handler,
|
|
},
|
|
{
|
|
MethodName: "CancelOrder",
|
|
Handler: _ChannelAuctioneerClient_CancelOrder_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "client.proto",
|
|
}
|