Skip to content

Commit

Permalink
fix: swap responses in snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed Nov 30, 2023
1 parent 2c0f700 commit 79e4a1a
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions proto/elys/amm/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ message QuerySwapEstimationRequest {
message QuerySwapEstimationResponse {
string spot_price = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin token_out = 2 [(gogoproto.nullable) = false ] ;
string swapFee = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string swap_fee = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string discount = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin available_liquidity = 5 [(gogoproto.nullable) = false ] ;
}
Expand Down Expand Up @@ -197,7 +197,7 @@ message QuerySwapEstimationByDenomResponse {
repeated SwapAmountOutRoute out_route = 2;
string spot_price = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false];
string swapFee = 5 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string swap_fee = 5 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
string discount = 6 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false];
cosmos.base.v1beta1.Coin available_liquidity = 7 [(gogoproto.nullable) = false ] ;
}
Expand Down
Loading

0 comments on commit 79e4a1a

Please sign in to comment.