Skip to content

Commit

Permalink
chore: updated types
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeloni committed Feb 22, 2023
1 parent 25cc13e commit 734fdcf
Show file tree
Hide file tree
Showing 15 changed files with 2,397 additions and 2,310 deletions.
136 changes: 69 additions & 67 deletions exchange/accounts_rpc/pb/injective_accounts_rpc.pb.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions exchange/accounts_rpc/pb/injective_accounts_rpc.pb.gw.go

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

8 changes: 4 additions & 4 deletions exchange/accounts_rpc/pb/injective_accounts_rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package injective_accounts_rpc;

option go_package = "/injective_accounts_rpcpb";

// InjectiveAccountsRPC defines gRPC API of Exchange Accounts provider.
// InjectiveAccountsRPC defines API of Exchange Accounts provider.
service InjectiveAccountsRPC {
// Provide the account's portfolio value in USD.
rpc Portfolio (PortfolioRequest) returns (PortfolioResponse);
Expand All @@ -22,7 +22,7 @@ service InjectiveAccountsRPC {
// List subaccount balances for the provided denoms.
rpc SubaccountBalancesList (SubaccountBalancesListRequest) returns (SubaccountBalancesListResponse);
// Gets a balance for specific coin denom
rpc SubaccountBalanceEndpoint (SubaccountBalanceRequest) returns (SubaccountBalanceResponse);
rpc SubaccountBalanceEndpoint (SubaccountBalanceEndpointRequest) returns (SubaccountBalanceEndpointResponse);
// StreamSubaccountBalance streams new balance changes for a specified
// subaccount and denoms. If no denoms are provided, all denom changes are
// streamed.
Expand Down Expand Up @@ -141,14 +141,14 @@ message SubaccountDeposit {
string available_balance = 2;
}

message SubaccountBalanceRequest {
message SubaccountBalanceEndpointRequest {
// SubaccountId of the trader we want to get the trades from
string subaccount_id = 1;
// Specify denom to get balance
string denom = 2;
}

message SubaccountBalanceResponse {
message SubaccountBalanceEndpointResponse {
// Subaccount balance
SubaccountBalance balance = 1;
}
Expand Down
14 changes: 7 additions & 7 deletions exchange/accounts_rpc/pb/injective_accounts_rpc_grpc.pb.go

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

Loading

0 comments on commit 734fdcf

Please sign in to comment.