looprpc: add cli commands to all calls

pull/149/head
Olaoluwa Osuntokun 4 years ago
parent 0dae5460e8
commit 39640d2465
No known key found for this signature in database
GPG Key ID: BC13F65E2DC84465

@ -22,7 +22,7 @@ service SwapClient {
}; };
} }
/** /** loop: `in`
LoopIn initiates a loop in swap with the given parameters. The call LoopIn initiates a loop in swap with the given parameters. The call
returns after the swap has been set up with the swap server. From that returns after the swap has been set up with the swap server. From that
point onwards, progress can be tracked via the SwapStatus stream point onwards, progress can be tracked via the SwapStatus stream
@ -44,7 +44,7 @@ service SwapClient {
}; };
} }
/** /** loop: `listswaps`
ListSwaps returns a list of all currently known swaps and their current ListSwaps returns a list of all currently known swaps and their current
status. status.
*/ */
@ -54,7 +54,7 @@ service SwapClient {
}; };
} }
/** /** loop: `swapinfo`
SwapInfo returns all known details about a single swap. SwapInfo returns all known details about a single swap.
*/ */
rpc SwapInfo (SwapInfoRequest) returns (SwapStatus) { rpc SwapInfo (SwapInfoRequest) returns (SwapStatus) {
@ -82,7 +82,7 @@ service SwapClient {
}; };
} }
/** /** loop: `terms`
GetTerms returns the terms that the server enforces for swaps. GetTerms returns the terms that the server enforces for swaps.
*/ */
rpc GetLoopInTerms (TermsRequest) returns (TermsResponse) { rpc GetLoopInTerms (TermsRequest) returns (TermsResponse) {
@ -91,7 +91,7 @@ service SwapClient {
}; };
} }
/** /** loop: `quote`
GetQuote returns a quote for a swap with the provided parameters. GetQuote returns a quote for a swap with the provided parameters.
*/ */
rpc GetLoopInQuote (QuoteRequest) returns (QuoteResponse) { rpc GetLoopInQuote (QuoteRequest) returns (QuoteResponse) {
@ -100,7 +100,7 @@ service SwapClient {
}; };
} }
/** /** loop: `listauth`
GetLsatTokens returns all LSAT tokens the daemon ever paid for. GetLsatTokens returns all LSAT tokens the daemon ever paid for.
*/ */
rpc GetLsatTokens (TokensRequest) returns (TokensResponse) { rpc GetLsatTokens (TokensRequest) returns (TokensResponse) {

Loading…
Cancel
Save