@ -26,22 +26,22 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type SwapType int32
const (
// UNCHARGE indicates an uncharge swap (off-chain to on-chain)
SwapType_ UNCHARGE SwapType = 0
// LOOP_OUT indicates an loop out swap (off-chain to on-chain)
SwapType_ LOOP_OUT SwapType = 0
)
var SwapType_name = map [ int32 ] string {
0 : " UNCHARGE ",
0 : " LOOP_OUT ",
}
var SwapType_value = map [ string ] int32 {
" UNCHARGE ": 0 ,
" LOOP_OUT ": 0 ,
}
func ( x SwapType ) String ( ) string {
return proto . EnumName ( SwapType_name , int32 ( x ) )
}
func ( SwapType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 0 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 0 }
}
type SwapState int32
@ -86,13 +86,12 @@ func (x SwapState) String() string {
return proto . EnumName ( SwapState_name , int32 ( x ) )
}
func ( SwapState ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 1 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 1 }
}
type Uncharge Request struct {
type LoopOut Request struct {
// *
// Requested swap amount in sat. This does not include the swap and miner
// fee.
// Requested swap amount in sat. This does not include the swap and miner fee.
Amt int64 ` protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty" `
// *
// Base58 encoded destination address for the swap.
@ -122,101 +121,101 @@ type UnchargeRequest struct {
// value, we cancel the swap. If the fee estimate is lower, we publish the
// sweep tx.
//
// If the sweep tx is n' t confirmed, we are forced to ratchet up fees until
// i t i s swept. Possibly even exceeding max_miner_fee if we get close to the
// htlc timeout. Because the initial publication revealed the preimage, we
// have no other choice. The server may already have pulled the off-chain
// htlc. Only when the fee becomes higher than the swap amount, we can only
// wait for fees to come down and hope - if we are past the timeout - that
// the server isn't publishing the revocation.
// If the sweep tx is no t confirmed, we are forced to ratchet up fees until it
// i s swept. Possibly even exceeding max_miner_fee if we get close to the htlc
// timeout. Because the initial publication revealed the preimage, we have no
// other choice. The server may already have pulled the off-chain htlc. Only
// when the fee becomes higher than the swap amount, we can only wait for fees
// to come down and hope - if we are past the timeout - that the server is no t
// publishing the revocation.
//
// max_miner_fee is typically taken from the response of the GetQuote call.
MaxMinerFee int64 ` protobuf:"varint,7,opt,name=max_miner_fee,json=maxMinerFee,proto3" json:"max_miner_fee,omitempty" `
// *
// The channel to uncharge. If zero, the channel to uncharge is selected based
// on the lowest routing fee for the swap payment to the server.
UnchargeChannel uint64 ` protobuf:"varint,8,opt,name=uncharge_channel,json=unchargeChannel,proto3" json:"uncharge _channel,omitempty"`
// The channel to loop out, the channel to loop out is selected based on the
// lowest routing fee for the swap payment to the server.
LoopOutChannel uint64 ` protobuf:"varint,8,opt,name=loop_out_channel,json=loopOutChannel,proto3" json:"loop_out _channel,omitempty"`
XXX_NoUnkeyedLiteral struct { } ` json:"-" `
XXX_unrecognized [ ] byte ` json:"-" `
XXX_sizecache int32 ` json:"-" `
}
func ( m * Uncharge Request) Reset ( ) { * m = Uncharge Request{ } }
func ( m * Uncharge Request) String ( ) string { return proto . CompactTextString ( m ) }
func ( * Uncharge Request) ProtoMessage ( ) { }
func ( * Uncharge Request) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 0 }
func ( m * LoopOut Request) Reset ( ) { * m = LoopOut Request{ } }
func ( m * LoopOut Request) String ( ) string { return proto . CompactTextString ( m ) }
func ( * LoopOut Request) ProtoMessage ( ) { }
func ( * LoopOut Request) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 0 }
}
func ( m * Uncharge Request) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ Uncharge Request. Unmarshal ( m , b )
func ( m * LoopOut Request) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_ LoopOut Request. Unmarshal ( m , b )
}
func ( m * Uncharge Request) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ Uncharge Request. Marshal ( b , m , deterministic )
func ( m * LoopOut Request) XXX_Marshal ( b [ ] byte , deterministic bool ) ( [ ] byte , error ) {
return xxx_messageInfo_ LoopOut Request. Marshal ( b , m , deterministic )
}
func ( dst * Uncharge Request) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ Uncharge Request. Merge ( dst , src )
func ( dst * LoopOut Request) XXX_Merge ( src proto . Message ) {
xxx_messageInfo_ LoopOut Request. Merge ( dst , src )
}
func ( m * Uncharge Request) XXX_Size ( ) int {
return xxx_messageInfo_ Uncharge Request. Size ( m )
func ( m * LoopOut Request) XXX_Size ( ) int {
return xxx_messageInfo_ LoopOut Request. Size ( m )
}
func ( m * Uncharge Request) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ Uncharge Request. DiscardUnknown ( m )
func ( m * LoopOut Request) XXX_DiscardUnknown ( ) {
xxx_messageInfo_ LoopOut Request. DiscardUnknown ( m )
}
var xxx_messageInfo_ Uncharge Request proto . InternalMessageInfo
var xxx_messageInfo_ LoopOut Request proto . InternalMessageInfo
func ( m * Uncharge Request) GetAmt ( ) int64 {
func ( m * LoopOut Request) GetAmt ( ) int64 {
if m != nil {
return m . Amt
}
return 0
}
func ( m * Uncharge Request) GetDest ( ) string {
func ( m * LoopOut Request) GetDest ( ) string {
if m != nil {
return m . Dest
}
return ""
}
func ( m * Uncharge Request) GetMaxSwapRoutingFee ( ) int64 {
func ( m * LoopOut Request) GetMaxSwapRoutingFee ( ) int64 {
if m != nil {
return m . MaxSwapRoutingFee
}
return 0
}
func ( m * Uncharge Request) GetMaxPrepayRoutingFee ( ) int64 {
func ( m * LoopOut Request) GetMaxPrepayRoutingFee ( ) int64 {
if m != nil {
return m . MaxPrepayRoutingFee
}
return 0
}
func ( m * Uncharge Request) GetMaxSwapFee ( ) int64 {
func ( m * LoopOut Request) GetMaxSwapFee ( ) int64 {
if m != nil {
return m . MaxSwapFee
}
return 0
}
func ( m * Uncharge Request) GetMaxPrepayAmt ( ) int64 {
func ( m * LoopOut Request) GetMaxPrepayAmt ( ) int64 {
if m != nil {
return m . MaxPrepayAmt
}
return 0
}
func ( m * Uncharge Request) GetMaxMinerFee ( ) int64 {
func ( m * LoopOut Request) GetMaxMinerFee ( ) int64 {
if m != nil {
return m . MaxMinerFee
}
return 0
}
func ( m * UnchargeRequest) GetUncharge Channel( ) uint64 {
func ( m * LoopOutRequest) GetLoopOut Channel( ) uint64 {
if m != nil {
return m . Uncharge Channel
return m . LoopOut Channel
}
return 0
}
@ -235,7 +234,7 @@ func (m *SwapResponse) Reset() { *m = SwapResponse{} }
func ( m * SwapResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SwapResponse ) ProtoMessage ( ) { }
func ( * SwapResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 1 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 1 }
}
func ( m * SwapResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_SwapResponse . Unmarshal ( m , b )
@ -272,7 +271,7 @@ func (m *MonitorRequest) Reset() { *m = MonitorRequest{} }
func ( m * MonitorRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * MonitorRequest ) ProtoMessage ( ) { }
func ( * MonitorRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 2 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 2 }
}
func ( m * MonitorRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_MonitorRequest . Unmarshal ( m , b )
@ -325,7 +324,7 @@ func (m *SwapStatus) Reset() { *m = SwapStatus{} }
func ( m * SwapStatus ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * SwapStatus ) ProtoMessage ( ) { }
func ( * SwapStatus ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 3 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 3 }
}
func ( m * SwapStatus ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_SwapStatus . Unmarshal ( m , b )
@ -363,7 +362,7 @@ func (m *SwapStatus) GetType() SwapType {
if m != nil {
return m . Type
}
return SwapType_ UNCHARGE
return SwapType_ LOOP_OUT
}
func ( m * SwapStatus ) GetState ( ) SwapState {
@ -404,7 +403,7 @@ func (m *TermsRequest) Reset() { *m = TermsRequest{} }
func ( m * TermsRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * TermsRequest ) ProtoMessage ( ) { }
func ( * TermsRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 4 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 4 }
}
func ( m * TermsRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_TermsRequest . Unmarshal ( m , b )
@ -459,7 +458,7 @@ func (m *TermsResponse) Reset() { *m = TermsResponse{} }
func ( m * TermsResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * TermsResponse ) ProtoMessage ( ) { }
func ( * TermsResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 5 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 5 }
}
func ( m * TermsResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_TermsResponse . Unmarshal ( m , b )
@ -548,7 +547,7 @@ func (m *QuoteRequest) Reset() { *m = QuoteRequest{} }
func ( m * QuoteRequest ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * QuoteRequest ) ProtoMessage ( ) { }
func ( * QuoteRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 6 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 6 }
}
func ( m * QuoteRequest ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_QuoteRequest . Unmarshal ( m , b )
@ -596,7 +595,7 @@ func (m *QuoteResponse) Reset() { *m = QuoteResponse{} }
func ( m * QuoteResponse ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * QuoteResponse ) ProtoMessage ( ) { }
func ( * QuoteResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return fileDescriptor_client_ 55d0482164e13e67 , [ ] int { 7 }
return fileDescriptor_client_ e8e8b003a83cbb2b , [ ] int { 7 }
}
func ( m * QuoteResponse ) XXX_Unmarshal ( b [ ] byte ) error {
return xxx_messageInfo_QuoteResponse . Unmarshal ( m , b )
@ -638,7 +637,7 @@ func (m *QuoteResponse) GetMinerFee() int64 {
}
func init ( ) {
proto . RegisterType ( ( * UnchargeRequest) ( nil ) , "looprpc.Uncharge Request")
proto . RegisterType ( ( * LoopOutRequest) ( nil ) , "looprpc.LoopOut Request")
proto . RegisterType ( ( * SwapResponse ) ( nil ) , "looprpc.SwapResponse" )
proto . RegisterType ( ( * MonitorRequest ) ( nil ) , "looprpc.MonitorRequest" )
proto . RegisterType ( ( * SwapStatus ) ( nil ) , "looprpc.SwapStatus" )
@ -663,20 +662,20 @@ const _ = grpc.SupportPackageIsVersion4
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type SwapClientClient interface {
// *
// Uncharge initiates an uncharge swap with the given parameters. The call
// LoopOut initiates an loop out swap with the given parameters. The call
// returns after the swap has been set up with the swap server. From that
// point onwards, progress can be tracked via the SwapStatus stream
// that is returned from Monitor().
Uncharge( ctx context . Context , in * Uncharge Request, opts ... grpc . CallOption ) ( * SwapResponse , error )
// point onwards, progress can be tracked via the SwapStatus stream that is
// returned from Monitor().
LoopOut( ctx context . Context , in * LoopOut Request, opts ... grpc . CallOption ) ( * SwapResponse , error )
// *
// Monitor will return a stream of swap updates for currently active swaps.
Monitor ( ctx context . Context , in * MonitorRequest , opts ... grpc . CallOption ) ( SwapClient_MonitorClient , error )
// *
// Get Terms returns the terms that the server enforces for swaps.
Get Uncharge Terms( ctx context . Context , in * TermsRequest , opts ... grpc . CallOption ) ( * TermsResponse , error )
// Get LoopOut Terms returns the terms that the server enforces for swaps.
Get LoopOut Terms( ctx context . Context , in * TermsRequest , opts ... grpc . CallOption ) ( * TermsResponse , error )
// *
// Get Quote returns a quote for a swap with the provided parameters.
Get Uncharge Quote( ctx context . Context , in * QuoteRequest , opts ... grpc . CallOption ) ( * QuoteResponse , error )
// Get LoopOut Quote returns a quote for a swap with the provided parameters.
Get LoopOut Quote( ctx context . Context , in * QuoteRequest , opts ... grpc . CallOption ) ( * QuoteResponse , error )
}
type swapClientClient struct {
@ -687,9 +686,9 @@ func NewSwapClientClient(cc *grpc.ClientConn) SwapClientClient {
return & swapClientClient { cc }
}
func ( c * swapClientClient ) Uncharge( ctx context . Context , in * Uncharge Request, opts ... grpc . CallOption ) ( * SwapResponse , error ) {
func ( c * swapClientClient ) LoopOut( ctx context . Context , in * LoopOut Request, opts ... grpc . CallOption ) ( * SwapResponse , error ) {
out := new ( SwapResponse )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/ Uncharge ", in , out , opts ... )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/ LoopOut ", in , out , opts ... )
if err != nil {
return nil , err
}
@ -728,18 +727,18 @@ func (x *swapClientMonitorClient) Recv() (*SwapStatus, error) {
return m , nil
}
func ( c * swapClientClient ) Get Uncharge Terms( ctx context . Context , in * TermsRequest , opts ... grpc . CallOption ) ( * TermsResponse , error ) {
func ( c * swapClientClient ) Get LoopOut Terms( ctx context . Context , in * TermsRequest , opts ... grpc . CallOption ) ( * TermsResponse , error ) {
out := new ( TermsResponse )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/Get Uncharge Terms", in , out , opts ... )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/Get LoopOut Terms", in , out , opts ... )
if err != nil {
return nil , err
}
return out , nil
}
func ( c * swapClientClient ) Get Uncharge Quote( ctx context . Context , in * QuoteRequest , opts ... grpc . CallOption ) ( * QuoteResponse , error ) {
func ( c * swapClientClient ) Get LoopOut Quote( ctx context . Context , in * QuoteRequest , opts ... grpc . CallOption ) ( * QuoteResponse , error ) {
out := new ( QuoteResponse )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/Get Uncharge Quote", in , out , opts ... )
err := c . cc . Invoke ( ctx , "/looprpc.SwapClient/Get LoopOut Quote", in , out , opts ... )
if err != nil {
return nil , err
}
@ -749,40 +748,40 @@ func (c *swapClientClient) GetUnchargeQuote(ctx context.Context, in *QuoteReques
// SwapClientServer is the server API for SwapClient service.
type SwapClientServer interface {
// *
// Uncharge initiates an uncharge swap with the given parameters. The call
// LoopOut initiates an loop out swap with the given parameters. The call
// returns after the swap has been set up with the swap server. From that
// point onwards, progress can be tracked via the SwapStatus stream
// that is returned from Monitor().
Uncharge( context . Context , * Uncharge Request) ( * SwapResponse , error )
// point onwards, progress can be tracked via the SwapStatus stream that is
// returned from Monitor().
LoopOut( context . Context , * LoopOut Request) ( * SwapResponse , error )
// *
// Monitor will return a stream of swap updates for currently active swaps.
Monitor ( * MonitorRequest , SwapClient_MonitorServer ) error
// *
// Get Terms returns the terms that the server enforces for swaps.
Get Uncharge Terms( context . Context , * TermsRequest ) ( * TermsResponse , error )
// Get LoopOut Terms returns the terms that the server enforces for swaps.
Get LoopOut Terms( context . Context , * TermsRequest ) ( * TermsResponse , error )
// *
// Get Quote returns a quote for a swap with the provided parameters.
Get Uncharge Quote( context . Context , * QuoteRequest ) ( * QuoteResponse , error )
// Get LoopOut Quote returns a quote for a swap with the provided parameters.
Get LoopOut Quote( context . Context , * QuoteRequest ) ( * QuoteResponse , error )
}
func RegisterSwapClientServer ( s * grpc . Server , srv SwapClientServer ) {
s . RegisterService ( & _SwapClient_serviceDesc , srv )
}
func _SwapClient_ Uncharge _Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( Uncharge Request)
func _SwapClient_ LoopOut _Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( LoopOut Request)
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( SwapClientServer ) . Uncharge ( ctx , in )
return srv . ( SwapClientServer ) . LoopOut ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/looprpc.SwapClient/ Uncharge ",
FullMethod : "/looprpc.SwapClient/ LoopOut ",
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( SwapClientServer ) . Uncharge( ctx , req . ( * Uncharge Request) )
return srv . ( SwapClientServer ) . LoopOut( ctx , req . ( * LoopOut Request) )
}
return interceptor ( ctx , in , info , handler )
}
@ -808,38 +807,38 @@ func (x *swapClientMonitorServer) Send(m *SwapStatus) error {
return x . ServerStream . SendMsg ( m )
}
func _SwapClient_Get Uncharge Terms_Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _SwapClient_Get LoopOut Terms_Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( TermsRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( SwapClientServer ) . Get Uncharge Terms( ctx , in )
return srv . ( SwapClientServer ) . Get LoopOut Terms( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/looprpc.SwapClient/Get Uncharge Terms",
FullMethod : "/looprpc.SwapClient/Get LoopOut Terms",
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( SwapClientServer ) . Get Uncharge Terms( ctx , req . ( * TermsRequest ) )
return srv . ( SwapClientServer ) . Get LoopOut Terms( ctx , req . ( * TermsRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
func _SwapClient_Get Uncharge Quote_Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _SwapClient_Get LoopOut Quote_Handler( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( QuoteRequest )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( SwapClientServer ) . Get Uncharge Quote( ctx , in )
return srv . ( SwapClientServer ) . Get LoopOut Quote( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/looprpc.SwapClient/Get Uncharge Quote",
FullMethod : "/looprpc.SwapClient/Get LoopOut Quote",
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( SwapClientServer ) . Get Uncharge Quote( ctx , req . ( * QuoteRequest ) )
return srv . ( SwapClientServer ) . Get LoopOut Quote( ctx , req . ( * QuoteRequest ) )
}
return interceptor ( ctx , in , info , handler )
}
@ -849,16 +848,16 @@ var _SwapClient_serviceDesc = grpc.ServiceDesc{
HandlerType : ( * SwapClientServer ) ( nil ) ,
Methods : [ ] grpc . MethodDesc {
{
MethodName : " Uncharge ",
Handler : _SwapClient_ Uncharge _Handler,
MethodName : " LoopOut ",
Handler : _SwapClient_ LoopOut _Handler,
} ,
{
MethodName : "Get Uncharge Terms",
Handler : _SwapClient_Get Uncharge Terms_Handler,
MethodName : "Get LoopOut Terms",
Handler : _SwapClient_Get LoopOut Terms_Handler,
} ,
{
MethodName : "Get Uncharge Quote",
Handler : _SwapClient_Get Uncharge Quote_Handler,
MethodName : "Get LoopOut Quote",
Handler : _SwapClient_Get LoopOut Quote_Handler,
} ,
} ,
Streams : [ ] grpc . StreamDesc {
@ -871,55 +870,55 @@ var _SwapClient_serviceDesc = grpc.ServiceDesc{
Metadata : "client.proto" ,
}
func init ( ) { proto . RegisterFile ( "client.proto" , fileDescriptor_client_ 55d0482164e13e67 ) }
func init ( ) { proto . RegisterFile ( "client.proto" , fileDescriptor_client_ e8e8b003a83cbb2b ) }
var fileDescriptor_client_ 55d0482164e13e67 = [ ] byte {
var fileDescriptor_client_ e8e8b003a83cbb2b = [ ] byte {
// 749 bytes of a gzipped FileDescriptorProto
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0x74 , 0x 54, 0x4d , 0x6f , 0xeb , 0x44 ,
0x14 , 0x 7d, 0x71 , 0x3e , 0x7d , 0xe3 , 0x38 , 0xce , 0x3c , 0xde , 0x23 , 0xaf , 0xa8 , 0x28 , 0x58 , 0x7c ,
0x 84, 0x2e , 0x0a , 0x6a , 0x57 , 0x88 , 0x95 , 0x49 , 0xdc , 0x12 , 0x44 , 0xab , 0x32 , 0x49 , 0xd8 , 0x5a ,
0x d3, 0x64 , 0xda , 0x5a , 0xf2 , 0xd8 , 0xc6 , 0x1e , 0xb7 , 0xc9 , 0x5f , 0xe0 , 0xb7 , 0xb0 , 0xe4 , 0xaf ,
0x b1, 0x47 , 0xf3 , 0x61 , 0x37 , 0x0e , 0xbc , 0x9d , 0x75 , 0xe6 , 0xdc , 0x73 , 0x3d , 0xe7 , 0x9e , 0x3b ,
0x 60, 0x6d , 0xa2 , 0x90 , 0xc6 , 0xfc , 0x3c , 0xcd , 0x12 , 0x9e , 0xa0 , 0x6e , 0x94 , 0x24 , 0x69 , 0x96 ,
0x 6e, 0xdc , 0xbf , 0x0d , 0x18 , 0xae , 0xe3 , 0xcd , 0x13 , 0xc9 , 0x1e , 0x29 , 0xa6 , 0x7f , 0x14 , 0x34 ,
0x e7, 0xc8 , 0x81 , 0x26 , 0x61 , 0x7c , 0xdc , 0x98 , 0x34 , 0xa6 , 0x4d , 0x2c , 0x3e , 0x11 , 0x82 , 0xd6 ,
0x 96, 0xe6 , 0x7c , 0x6c , 0x4c , 0x1a , 0x53 , 0x13 , 0xcb , 0x6f , 0xf4 , 0x1d , 0x7c , 0xc2 , 0xc8 , 0x2e ,
0x c8, 0x5f , 0x48 , 0x1a , 0x64 , 0x49 , 0xc1 , 0xc3 , 0xf8 , 0x31 , 0x78 , 0xa0 , 0x74 , 0xdc , 0x94 , 0x65 ,
0x 23, 0x46 , 0x76 , 0xcb , 0x17 , 0x92 , 0x62 , 0x75 , 0x72 , 0x45 , 0x29 , 0xba , 0x84 , 0xf7 , 0xa2 , 0x20 ,
0x cd, 0x68 , 0x4a , 0xf6 , 0xb5 , 0x92 , 0x96 , 0x2c , 0x79 , 0xcb , 0xc8 , 0xee , 0x4e , 0x1e , 0x1e , 0x14 ,
0x 4d, 0xc0 , 0xaa , 0xba , 0x08 , 0x6a , 0x5b , 0x52 , 0x41 , 0xab , 0x0b , 0xc6 , 0x97 , 0x60 , 0x1f , 0xc8 ,
0x 8a, 0x1f , 0xef , 0x48 , 0x8e , 0x55 , 0xc9 , 0x79 , 0x8c , 0x23 , 0x17 , 0x06 , 0x82 , 0xc5 , 0xc2 , 0x9 8,
0x 66, 0x52 , 0xa8 , 0x2b , 0x49 , 0x7d , 0x46 , 0x76 , 0x37 , 0x02 , 0x13 , 0x4a , 0xdf , 0x82 , 0x53 , 0x68 ,
0x 2b, 0x82 , 0xcd , 0x13 , 0x89 , 0x63 , 0x1a , 0x8d , 0x7b , 0x93 , 0xc6 , 0xb4 , 0x85 , 0x87 , 0x25 , 0x3e ,
0x 53, 0xb0 , 0xfb , 0x39 , 0x58 , 0xf2 , 0x76 , 0x34 , 0x4f , 0x93 , 0x38 , 0xa7 , 0xc8 , 0x06 , 0x23 , 0xdc ,
0x 4a, 0xc7 , 0x4c , 0x6c , 0x84 , 0x5b , 0xd7 , 0x01 , 0xfb , 0x26 , 0x89 , 0x43 , 0x9e , 0x64 , 0xda , 0x54 ,
0x f7, 0x9f , 0x06 , 0x80 , 0x28 , 0x59 , 0x72 , 0xc2 , 0x8b , 0xfc , 0x7f , 0x3c , 0x56 , 0x12 , 0x46 , 0x29 ,
0x 81, 0xbe , 0x82 , 0x16 , 0xdf , 0xa7 , 0xca , 0x4f , 0xfb , 0x62 , 0x74 , 0xae , 0x27 , 0x76 , 0x2e , 0x44 ,
0x 56, 0xfb , 0x94 , 0x62 , 0x79 , 0x8c , 0xa6 , 0xd0 , 0xce , 0x39 , 0xe1 , 0xca , 0x44 , 0xfb , 0x02 , 0xd5 ,
0x 78, 0xa2 , 0x19 , 0xc5 , 0x8a , 0x80 , 0xbe , 0x81 , 0x61 , 0x18 , 0x87 , 0x3c , 0x24 , 0x3c , 0x4c , 0xe2 ,
0x 80, 0x87 , 0xac , 0x74 , 0xd3 , 0x7e , 0x85 , 0x57 , 0x21 , 0x13 , 0x92 , 0x4e , 0x44 , 0x72 , 0x1e , 0x14 ,
0x e9, 0x96 , 0x70 , 0xaa , 0x98 , 0xca , 0x53 , 0x5b , 0xe0 , 0x6b , 0x09 , 0x4b , 0xe6 , 0x17 , 0x60 , 0x3d ,
0x f1, 0x68 , 0x13 , 0x90 , 0xed , 0x36 , 0xa3 , 0x79 , 0x2e , 0x4d , 0x35 , 0x71 , 0x5f , 0x60 , 0x9e , 0x82 ,
0x 5c, 0x1b , 0xac , 0x15 , 0xcd , 0x58 , 0x5e , 0xfa , 0xf0 , 0x97 , 0x01 , 0x03 , 0x0d , 0x68 , 0xef , 0xc e,
0x 60, 0x24 , 0xc7 , 0x9b , 0x92 , 0x3d , 0xa3 , 0x31 , 0x0f , 0x64 , 0xd2 , 0x94 , 0x95 , 0x43 , 0x71 , 0x70 ,
0x a7, 0xf0 , 0xb9 , 0x08 , 0x9d , 0x0b , 0x83 , 0x32 , 0x0a , 0xc1 , 0x3d , 0xc9 , 0xa9 , 0xf4 , 0xab , 0x89 ,
0x fb, 0xb9 , 0x0a , 0xc3 , 0x4f , 0x24 , 0xa7 , 0x35 , 0x4e , 0x26 , 0x9c , 0x69 , 0xd6 , 0x38 , 0x58 , 0x78 ,
0x 71, 0x0a , 0x70 , 0x10 , 0x18 , 0x95 , 0x3f , 0x33 , 0xad , 0xd2 , 0xf2 , 0x35 , 0x0c , 0x59 , 0x18 , 0xab ,
0x d4, 0x11 , 0x96 , 0x14 , 0x31 , 0xd7 , 0x56 , 0x0d , 0x58 , 0x18 , 0x0b , 0x63 , 0x3d , 0x09 , 0x4a , 0x5e ,
0x 99, 0x4e , 0xcd , 0xeb , 0x68 , 0x9e , 0x0a , 0xa8 , 0xe6 , 0x9d , 0x02 , 0x6c , 0x22 , 0xfe , 0x1c , 0x6c ,
0x 69, 0xc4 , 0x89 , 0x74 , 0xa9 , 0x8d , 0x4d , 0x81 , 0xcc , 0x05 , 0x80 , 0x3e , 0x40 , 0x4f , 0xc8 , 0x08 ,
0x 40, 0x06 , 0xae , 0x8d , 0xbb , 0x8c , 0xec , 0x66 , 0x11 , 0x7f , 0x76 , 0x27 , 0x60 , 0xfd , 0x56 , 0x24 ,
0x fc, 0xe3 , 0xbb , 0xe9 , 0x3e , 0xc0 , 0x40 , 0x33 , 0xb4 , 0x9f , 0x1f , 0xa0 , 0x57 , 0xad , 0x8b , 0xe2 ,
0x 75, 0xf5 , 0xd5 , 0x8f , 0xae , 0x6d , 0x1c , 0x5f , 0xfb , 0x33 , 0x30 , 0x5f , 0x17 , 0x44 , 0xb9 , 0xd6 ,
0x 63, 0x7a , 0x3b , 0xce , 0xc6 , 0xd0 , 0x2b , 0xa3 , 0x87 , 0x2c , 0xe8 , 0xad , 0x6f , 0x67 , 0x3f , 0x7b ,
0x f8, 0xda , 0x77 , 0xde , 0x9c , 0xfd , 0x02 , 0x66 , 0x15 , 0x36 , 0x34 , 0x00 , 0x73 , 0x71 , 0xbb , 0x58 ,
0x 2d, 0xbc , 0x95 , 0x3f , 0x77 , 0xde , 0xa0 , 0x77 , 0x30 , 0xba , 0xc3 , 0xfe , 0xe2 , 0xc6 , 0xbb , 0xf6 ,
0x 03, 0xec , 0xff , 0xee , 0x7b , 0xbf , 0xfa , 0x73 , 0xa7 , 0x81 , 0xfa , 0xd0 , 0x5d , 0xae , 0x67 , 0x33 ,
0x 7f, 0xb9 , 0x74 , 0x9a , 0x08 , 0xa0 , 0x73 , 0xe5 , 0x2d , 0xc4 , 0x41 , 0xeb , 0xe2 , 0x4f , 0x43 , 0xad ,
0x c9, 0x4c , 0xbe , 0x56 , 0xe8 , 0x47 , 0xe8 , 0x95 , 0xaf , 0x13 , 0x1a , 0x57 , 0xd1 , 0x3e , 0x7a , 0xb0 ,
0x 4e, 0xde , 0xd5 , 0x42 , 0x5f , 0x19 , 0xf1 , 0x03 , 0x74 , 0xf5 , 0x12 , 0xa2 , 0x4f , 0x2b , 0x46 , 0x7d ,
0x 2d, 0x4f , 0xde , 0xfe , 0x67 , 0x5f , 0x8a , 0xfc , 0xfb , 0x06 , 0xf2 , 0xc0 , 0xb9 , 0xa6 , 0xbc , 0xec ,
0x 23, 0xf3 , 0x8a , 0x5e , 0xbb , 0x1c , 0x06 , 0xfa , 0xe4 , 0xfd , 0x31 , 0xac , 0xbb , 0xd7 , 0x25 , 0xe4 ,
0x 88, 0x0e , 0x24 , 0x0e , 0x87 , 0x7a , 0x20 , 0x51 , 0x9b , 0xe4 , 0x7d , 0x47 , 0x3e , 0xd6 , 0x97 , 0xff ,
0x 06 , 0x00 , 0x00 , 0xff , 0xff , 0x d4, 0x03 , 0x9d , 0x1d , 0xbc , 0x05 , 0x00 , 0x00 ,
0x1f , 0x8b , 0x08 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x02 , 0xff , 0x74 , 0x 94, 0xcf , 0x72 , 0xda , 0x3a ,
0x14 , 0x c6, 0x83 , 0xf9 , 0xeb , 0x83 , 0x31 , 0xa0 , 0xdc , 0xe4 , 0x92 , 0xdc , 0xc9 , 0x1d , 0xae , 0xe7 ,
0x b6, 0x65 , 0xb2 , 0x48 , 0x3b , 0xc9 , 0x2a , 0xbb , 0x52 , 0x20 , 0x19 , 0x3a , 0x49 , 0xa1 , 0x86 , 0x74 ,
0x eb, 0x51 , 0x40 , 0x69 , 0x3c , 0x63 , 0xd9 , 0xae , 0x25 , 0x27 , 0xf0 , 0x02 , 0x7d , 0x9a , 0xae , 0xfa ,
0x 6e, 0xdd , 0x77 , 0xf4 , 0x07 , 0x62 , 0xa7 , 0xed , 0xce , 0xf3 , 0xe9 , 0x3b , 0x47 , 0xd6 , 0x4f , 0xdf ,
0x 11, 0x58 , 0x8b , 0xc0 , 0x27 , 0x21 , 0x3f , 0x89 , 0x93 , 0x88 , 0x47 , 0xa8 , 0x1a , 0x44 , 0x51 , 0x9c ,
0x c4, 0x0b , 0xe7 , 0xbb , 0x01 , 0xf6 , 0x55 , 0x14 , 0xc5 , 0x93 , 0x94 , 0xbb , 0xe4 , 0x4b , 0x4a , 0x18 ,
0x 47, 0x2d , 0x28 , 0x62 , 0xca , 0x3b , 0x85 , 0x6e , 0xa1 , 0x57 , 0x74 , 0xc5 , 0x27 , 0x42 , 0x50 , 0x5a ,
0x 12, 0xc6 , 0x3b , 0x46 , 0xb7 , 0xd0 , 0x33 , 0x5d , 0xf9 , 0x8d , 0x5e , 0xc3 , 0x5f , 0x14 , 0xaf , 0x3c ,
0x f6, 0x88 , 0x63 , 0x2f , 0x89 , 0x52 , 0xee , 0x87 , 0x9f , 0xbd , 0x3b , 0x42 , 0x3a , 0x45 , 0x59 , 0xd6 ,
0x a6, 0x78 , 0x35 , 0x7b , 0xc4 , 0xb1 , 0xab , 0x56 , 0x2e , 0x08 , 0x41 , 0x67 , 0xb0 , 0x2f , 0x0a , 0xe2 ,
0x 84, 0xc4 , 0x78 , 0x9d , 0x2b , 0x29 , 0xc9 , 0x92 , 0x5d , 0x8a , 0x57 , 0x53 , 0xb9 , 0x98 , 0x29 , 0xea ,
0x 82, 0xb5 , 0xdd , 0x45 , 0x58 , 0xcb , 0xd2 , 0x0a , 0xba , 0xbb , 0x70 , 0xfc , 0x0f , 0x76 , 0xa6 , 0xad ,
0x f8, 0xf1 , 0x8a , 0xf4 , 0x58 , 0xdb , 0x76 , 0x7d , 0xca , 0x91 , 0x03 , 0x0d , 0xe1 , 0xa2 , 0x7e , 0x4 8,
0x 12, 0xd9 , 0xa8 , 0x2a , 0x4d , 0x75 , 0x8a , 0x57 , 0xd7 , 0x42 , 0x13 , 0x9d , 0x7a , 0xd0 , 0x12 , 0x54 ,
0x bc, 0x28 , 0xe5 , 0xde , 0xe2 , 0x1e , 0x87 , 0x21 , 0x09 , 0x3a , 0xb5 , 0x6e , 0xa1 , 0x57 , 0x72 , 0xed ,
0x 40, 0x11 , 0x1a , 0x28 , 0xd5 , 0xf9 , 0x17 , 0x2c , 0x79 , 0x38 , 0xc2 , 0xe2 , 0x28 , 0x64 , 0x04 , 0xd9 ,
0x 60, 0xf8 , 0x4b , 0x09 , 0xcc , 0x74 , 0x0d , 0x7f , 0xe9 , 0xb4 , 0xc0 , 0xbe , 0x8e , 0x42 , 0x9f , 0x47 ,
0x 89, 0x66 , 0xea , 0xfc , 0x28 , 0x00 , 0x88 , 0x92 , 0x19 , 0xc7 , 0x3c , 0x65 , 0xbf , 0x41 , 0xac , 0x5a ,
0x 18, 0x9b , 0x16 , 0xe8 , 0x05 , 0x94 , 0xf8 , 0x3a , 0x56 , 0x38 , 0xed , 0xd3 , 0xf6 , 0x89 , 0xbe , 0xaf ,
0x 13, 0xd1 , 0x64 , 0xbe , 0x8e , 0x89 , 0x2b , 0x97 , 0x51 , 0x0f , 0xca , 0x8c , 0x63 , 0xae , 0x18 , 0xda ,
0x a7, 0x28 , 0xe7 , 0x13 , 0x9b , 0x11 , 0x57 , 0x19 , 0xd0 , 0x2b , 0x68 , 0xfa , 0xa1 , 0xcf , 0x7d , 0xcc ,
0x fd, 0x28 , 0xf4 , 0xb8 , 0x4f , 0x37 , 0x30 , 0xed , 0x27 , 0x79 , 0xee , 0x53 , 0x85 , 0x01 , 0x33 , 0xee ,
0x a5, 0xf1 , 0x12 , 0x73 , 0xa2 , 0x9c , 0x0a , 0xa9 , 0x2d , 0xf4 , 0x1b , 0x29 , 0x4b , 0xe7 , 0x7f , 0x60 ,
0x dd, 0xf3 , 0x60 , 0xe1 , 0xe1 , 0xe5 , 0x32 , 0x21 , 0x8c , 0x49 , 0xa6 , 0xa6 , 0x5b , 0x17 , 0x5a , 0x5f ,
0x 49, 0x8e , 0x0d , 0xd6 , 0x9c , 0x24 , 0x94 , 0x6d , 0x38 , 0x7c , 0x33 , 0xa0 , 0xa1 , 0x05 , 0xcd , 0xe e,
0x 18, 0xda , 0xf2 , 0x76 , 0x63 , 0xbc , 0xa6 , 0x24 , 0xe4 , 0x9e , 0x0c , 0x9a , 0x42 , 0xd9 , 0x14 , 0x0b ,
0x 53, 0xa5 , 0x0f , 0x45 , 0xe6 , 0x1c , 0x68 , 0x6c , 0x92 , 0xe0 , 0xdd , 0x62 , 0x46 , 0x24 , 0xaf , 0xa2 ,
0x 5b, 0x67 , 0x2a , 0x0b , 0xef , 0x30 , 0x23 , 0x39 , 0x4f , 0x22 , 0xc8 , 0x14 , 0x73 , 0x1e , 0x57 , 0xb0 ,
0x 38, 0x02 , 0xc8 , 0xe4 , 0x45 , 0xc5 , 0xcf , 0x8c , 0xb7 , 0x61 , 0x79 , 0x09 , 0x4d , 0xea , 0x87 , 0x2a ,
0x 74, 0x98 , 0x46 , 0x69 , 0xc8 , 0x35 , 0xaa , 0x06 , 0xf5 , 0x43 , 0x01 , 0xb6 , 0x2f , 0x45 , 0xe9 , 0xdb ,
0x 84, 0x53 , 0xfb , 0x2a , 0xda , 0xa7 , 0xf2 , 0xa9 , 0x7d , 0x47 , 0x00 , 0x8b , 0x80 , 0x3f , 0x78 , 0x4b ,
0x 12, 0x70 , 0x2c , 0x29 , 0x95 , 0x5d , 0x53 , 0x28 , 0x43 , 0x21 , 0xa0 , 0x03 , 0xa8 , 0x89 , 0x36 , 0x42 ,
0x 90, 0x79 , 0x2b , 0xbb , 0x55 , 0x8a , 0x57 , 0x83 , 0x80 , 0x3f , 0x38 , 0x5d , 0xb0 , 0x3e , 0xa6 , 0x11 ,
0x 27, 0x7f , 0x1c , 0x4d , 0xe7 , 0x0e , 0x1a , 0xda , 0xa1 , 0x79 , 0x1e , 0x40 , 0x6d , 0x3b , 0x2d , 0xca ,
0x 57, 0xd5 , 0x47 , 0x7f , 0x76 , 0x6c , 0xe3 , 0xf9 , 0xb1 , 0xff , 0x01 , 0xf3 , 0x69 , 0x3e , 0x14 , 0xb5 ,
0x 1a, 0xd5 , 0xc3 , 0x71 , 0xdc , 0x81 , 0xda , 0x26 , 0x7a , 0xc8 , 0x82 , 0xda , 0xd5 , 0x64 , 0x32 , 0xf5 ,
0x 26, 0x37 , 0xf3 , 0xd6 , 0xce , 0xf1 , 0x7b , 0x30 , 0xb7 , 0x61 , 0x43 , 0x0d , 0x30 , 0xc7 , 0x1f , 0xc6 ,
0x f3, 0x71 , 0x7f , 0x3e , 0x1a , 0xb6 , 0x76 , 0xd0 , 0x1e , 0xb4 , 0xa7 , 0xee , 0x68 , 0x7c , 0xdd , 0xbf ,
0x 1c, 0x79 , 0xee , 0xe8 , 0xd3 , 0xa8 , 0x7f , 0x35 , 0x1a , 0xb6 , 0x0a , 0xa8 , 0x0e , 0xd5 , 0xd9 , 0xcd ,
0x 60, 0x30 , 0x9a , 0xcd , 0x5a , 0x45 , 0x04 , 0x50 , 0xb9 , 0xe8 , 0x8f , 0xc5 , 0x42 , 0xe9 , 0xf4 , 0xab ,
0x a1, 0xc6 , 0x64 , 0x20 , 0xdf , 0x2a , 0x74 , 0x0e , 0x55 , 0xfd , 0x36 , 0xa1 , 0xbf , 0xb7 , 0xc9 , 0xce ,
0x bf, 0x56 , 0x87 , 0x7b , 0xb9 , 0xc8 , 0x6f , 0x31 , 0x9c , 0x43 , 0x55 , 0x8f , 0x60 , 0xa6 , 0x34 , 0x3f ,
0x 94, 0x87 , 0xbb , 0xbf , 0x4c , 0x4b , 0xca , 0xde , 0x14 , 0xd0 , 0x5b , 0x68 , 0x5e , 0x12 , 0xae , 0xb7 ,
0x 91, 0x61 , 0x45 , 0x4f , 0x9b , 0x64 , 0xd3 , 0x7c , 0xb8 , 0xff , 0x5c , 0xd6 , 0x9b , 0xe7 , 0x3a , 0xc8 ,
0x eb, 0xc9 , 0x74 , 0xc8 , 0x5e , 0x68 , 0xa6 , 0x43 , 0xee , 0x16 , 0x6f , 0x2b , 0xf2 , 0x99 , 0x3e , 0xfb ,
0x 19 , 0x00 , 0x00 , 0xff , 0xff , 0x c5, 0x15 , 0xc0 , 0x11 , 0xb6 , 0x05 , 0x00 , 0x00 ,
}