diff --git a/api_pb/api_grpc.pb.go b/api_pb/api_grpc.pb.go index 15d7630..027c304 100644 --- a/api_pb/api_grpc.pb.go +++ b/api_pb/api_grpc.pb.go @@ -141,7 +141,7 @@ type ApiServiceClient interface { TestBlock(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BlockResponse, error) // SwapPool // - // + // SwapPool returns total supply and reserves. SwapPool(ctx context.Context, in *SwapPoolRequest, opts ...grpc.CallOption) (*SwapPoolResponse, error) // SwapPools // @@ -149,39 +149,39 @@ type ApiServiceClient interface { SwapPools(ctx context.Context, in *SwapPoolsRequest, opts ...grpc.CallOption) (*SwapPoolsResponse, error) // SwapPoolProvider // - // + // SwapPoolProvider returns reserves and liquidity balance of provider. SwapPoolProvider(ctx context.Context, in *SwapPoolProviderRequest, opts ...grpc.CallOption) (*SwapPoolResponse, error) // PriceCommission // - // + // PriceCommission returns commissions. PriceCommission(ctx context.Context, in *PriceCommissionRequest, opts ...grpc.CallOption) (*PriceCommissionResponse, error) // VersionNetwork // - // + // VersionNetwork returns versions network. VersionNetwork(ctx context.Context, in *VersionNetworkRequest, opts ...grpc.CallOption) (*VersionNetworkResponse, error) // CommissionVotes // - // + // CommissionVotes returns votes for update commissions. CommissionVotes(ctx context.Context, in *CommissionVotesRequest, opts ...grpc.CallOption) (*CommissionVotesResponse, error) // UpdateVotes // - // + // UpdateVotes returns votes for update network. UpdateVotes(ctx context.Context, in *UpdateVotesRequest, opts ...grpc.CallOption) (*UpdateVotesResponse, error) // Blocks // - // + // Blocks returns blocks at given interval. Blocks(ctx context.Context, in *BlocksRequest, opts ...grpc.CallOption) (*BlocksResponse, error) // LimitOrder // - // + // LimitOrder returns order by ID. LimitOrder(ctx context.Context, in *LimitOrderRequest, opts ...grpc.CallOption) (*LimitOrderResponse, error) // LimitOrdersOfPool // - // + // LimitOrdersOfPool returns sell orders for a pair of coins. LimitOrdersOfPool(ctx context.Context, in *LimitOrdersOfPoolRequest, opts ...grpc.CallOption) (*LimitOrdersOfPoolResponse, error) // LimitOrders // - // + // LimitOrders returns orders by IDs. LimitOrders(ctx context.Context, in *LimitOrdersRequest, opts ...grpc.CallOption) (*LimitOrdersResponse, error) // BestTrade // @@ -715,7 +715,7 @@ type ApiServiceServer interface { TestBlock(context.Context, *emptypb.Empty) (*BlockResponse, error) // SwapPool // - // + // SwapPool returns total supply and reserves. SwapPool(context.Context, *SwapPoolRequest) (*SwapPoolResponse, error) // SwapPools // @@ -723,39 +723,39 @@ type ApiServiceServer interface { SwapPools(context.Context, *SwapPoolsRequest) (*SwapPoolsResponse, error) // SwapPoolProvider // - // + // SwapPoolProvider returns reserves and liquidity balance of provider. SwapPoolProvider(context.Context, *SwapPoolProviderRequest) (*SwapPoolResponse, error) // PriceCommission // - // + // PriceCommission returns commissions. PriceCommission(context.Context, *PriceCommissionRequest) (*PriceCommissionResponse, error) // VersionNetwork // - // + // VersionNetwork returns versions network. VersionNetwork(context.Context, *VersionNetworkRequest) (*VersionNetworkResponse, error) // CommissionVotes // - // + // CommissionVotes returns votes for update commissions. CommissionVotes(context.Context, *CommissionVotesRequest) (*CommissionVotesResponse, error) // UpdateVotes // - // + // UpdateVotes returns votes for update network. UpdateVotes(context.Context, *UpdateVotesRequest) (*UpdateVotesResponse, error) // Blocks // - // + // Blocks returns blocks at given interval. Blocks(context.Context, *BlocksRequest) (*BlocksResponse, error) // LimitOrder // - // + // LimitOrder returns order by ID. LimitOrder(context.Context, *LimitOrderRequest) (*LimitOrderResponse, error) // LimitOrdersOfPool // - // + // LimitOrdersOfPool returns sell orders for a pair of coins. LimitOrdersOfPool(context.Context, *LimitOrdersOfPoolRequest) (*LimitOrdersOfPoolResponse, error) // LimitOrders // - // + // LimitOrders returns orders by IDs. LimitOrders(context.Context, *LimitOrdersRequest) (*LimitOrdersResponse, error) // BestTrade // diff --git a/docs/api.swagger.json b/docs/api.swagger.json index 5ac793f..ea85f13 100644 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -298,6 +298,7 @@ "/blocks": { "get": { "summary": "Blocks", + "description": "Blocks returns blocks at given interval.", "operationId": "Blocks", "responses": { "200": { @@ -606,6 +607,7 @@ "/commission_votes/{target_version}": { "get": { "summary": "CommissionVotes", + "description": "CommissionVotes returns votes for update commissions.", "operationId": "CommissionVotes", "responses": { "200": { @@ -1287,6 +1289,7 @@ "/limit_order/{order_id}": { "get": { "summary": "LimitOrder", + "description": "LimitOrder returns order by ID.", "operationId": "LimitOrder", "responses": { "200": { @@ -1335,6 +1338,7 @@ "/limit_orders": { "get": { "summary": "LimitOrders", + "description": "LimitOrders returns orders by IDs.", "operationId": "LimitOrders", "responses": { "200": { @@ -1387,6 +1391,7 @@ "/limit_orders/{sell_coin}/{buy_coin}": { "get": { "summary": "LimitOrdersOfPool", + "description": "LimitOrdersOfPool returns sell orders for a pair of coins.", "operationId": "LimitOrdersOfPool", "responses": { "200": { @@ -1606,6 +1611,7 @@ "/price_commissions": { "get": { "summary": "PriceCommission", + "description": "PriceCommission returns commissions.", "operationId": "PriceCommission", "responses": { "200": { @@ -1823,6 +1829,7 @@ "/swap_pool/{coin0}/{coin1}": { "get": { "summary": "SwapPool", + "description": "SwapPool returns total supply and reserves.", "operationId": "SwapPool", "responses": { "200": { @@ -1878,6 +1885,7 @@ "/swap_pool/{coin0}/{coin1}/{provider}": { "get": { "summary": "SwapPoolProvider", + "description": "SwapPoolProvider returns reserves and liquidity balance of provider.", "operationId": "SwapPoolProvider", "responses": { "200": { @@ -2162,6 +2170,7 @@ "/update_votes/{target_version}": { "get": { "summary": "UpdateVotes", + "description": "UpdateVotes returns votes for update network.", "operationId": "UpdateVotes", "responses": { "200": { @@ -2252,6 +2261,7 @@ "/version_network": { "get": { "summary": "VersionNetwork", + "description": "VersionNetwork returns versions network.", "operationId": "VersionNetwork", "responses": { "200": {