Skip to content

Commit

Permalink
chore: proto semicolon fix (#1312)
Browse files Browse the repository at this point in the history
* semicolon fix

* make proto-gen
  • Loading branch information
toteki authored Aug 31, 2022
1 parent 4133eb1 commit 06424cd
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 29 deletions.
1 change: 0 additions & 1 deletion proto/umee/oracle/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ message QueryAggregatePrevoteResponse {
// in the current vote period
AggregateExchangeRatePrevote aggregate_prevote = 1
[(gogoproto.nullable) = false];
;
}

// QueryAggregatePrevotes is the request type for the
Expand Down
119 changes: 101 additions & 18 deletions swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,60 @@ paths:
type: string
tags:
- Query
/umee/leverage/v1/bad_debts:
get:
summary: >-
BadDebts queries a list of borrow positions that have been marked for
bad debt repayment.
operationId: BadDebts
responses:
'200':
description: A successful response.
schema:
type: object
properties:
targets:
type: array
items:
type: object
properties:
address:
type: string
denom:
type: string
description: >-
BadDebt is a bad debt instance used in the leverage module's
genesis state.
description: >-
Targets are borrow positions currently marked for bad debt
repayment. Each contains an Address and a Denom.
description: >-
QueryBadDebtsResponse defines the response structure for the
BedDebts gRPC service handler.
default:
description: An unexpected error response.
schema:
type: object
properties:
error:
type: string
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
type_url:
type: string
value:
type: string
format: byte
tags:
- Query
/umee/leverage/v1/liquidation_targets:
get:
summary: >-
Expand All @@ -205,9 +259,7 @@ paths:
liquidation.
description: >-
QueryLiquidationTargetsResponse defines the response structure for
the
LiquidationTargets gRPC service handler.
the LiquidationTargets gRPC service handler.
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -475,13 +527,13 @@ paths:
direct_liquidation_fee:
type: string
description: >-
Direct Liquidation Fee is the reduction in liquidation
incentive experienced
Direct Liquidation Fee is a reduction factor in
liquidation incentive
by liquidators who choose to receive base assets instead
of uTokens as
experienced by liquidators who choose to receive base
assets instead of
liquidation rewards.
uTokens as liquidation rewards.
description: Params defines the parameters for the leverage module.
description: >-
QueryParamsResponse defines the response structure for the Params
Expand Down Expand Up @@ -1368,6 +1420,16 @@ definitions:
value:
type: string
format: byte
umee.leverage.v1.BadDebt:
type: object
properties:
address:
type: string
denom:
type: string
description: >-
BadDebt is a bad debt instance used in the leverage module's genesis
state.
umee.leverage.v1.Params:
type: object
properties:
Expand Down Expand Up @@ -1403,12 +1465,12 @@ definitions:
direct_liquidation_fee:
type: string
description: >-
Direct Liquidation Fee is the reduction in liquidation incentive
experienced
Direct Liquidation Fee is a reduction factor in liquidation incentive
by liquidators who choose to receive base assets instead of uTokens as
experienced by liquidators who choose to receive base assets instead
of
liquidation rewards.
uTokens as liquidation rewards.
description: Params defines the parameters for the leverage module.
umee.leverage.v1.QueryAccountBalancesResponse:
type: object
Expand Down Expand Up @@ -1504,6 +1566,27 @@ definitions:
description: >-
QueryAccountSummaryResponse defines the response structure for the
AccountSummary gRPC service handler.
umee.leverage.v1.QueryBadDebtsResponse:
type: object
properties:
targets:
type: array
items:
type: object
properties:
address:
type: string
denom:
type: string
description: >-
BadDebt is a bad debt instance used in the leverage module's genesis
state.
description: >-
Targets are borrow positions currently marked for bad debt repayment.
Each contains an Address and a Denom.
description: >-
QueryBadDebtsResponse defines the response structure for the BedDebts gRPC
service handler.
umee.leverage.v1.QueryLiquidationTargetsResponse:
type: object
properties:
Expand All @@ -1512,7 +1595,7 @@ definitions:
items:
type: string
description: Targets are the addresses of borrowers eligible for liquidation.
description: |-
description: >-
QueryLiquidationTargetsResponse defines the response structure for the
LiquidationTargets gRPC service handler.
umee.leverage.v1.QueryMarketSummaryResponse:
Expand Down Expand Up @@ -1703,13 +1786,13 @@ definitions:
direct_liquidation_fee:
type: string
description: >-
Direct Liquidation Fee is the reduction in liquidation incentive
experienced
Direct Liquidation Fee is a reduction factor in liquidation
incentive
by liquidators who choose to receive base assets instead of
uTokens as
experienced by liquidators who choose to receive base assets
instead of
liquidation rewards.
uTokens as liquidation rewards.
description: Params defines the parameters for the leverage module.
description: |-
QueryParamsResponse defines the response structure for the Params gRPC
Expand Down
20 changes: 10 additions & 10 deletions x/oracle/types/query.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06424cd

Please sign in to comment.