Skip to content

Commit

Permalink
impl new methods after update
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Nov 8, 2024
1 parent e089b2e commit 7e8be5c
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions basecoin/modules/src/bank/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ use basecoin_store::context::ProvableStore;
use ibc_proto::cosmos::bank::v1beta1::query_server::Query;
use ibc_proto::cosmos::bank::v1beta1::{
QueryAllBalancesRequest, QueryAllBalancesResponse, QueryBalanceRequest, QueryBalanceResponse,
QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomOwnersRequest,
QueryDenomOwnersResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse,
QueryParamsRequest, QueryParamsResponse, QuerySendEnabledRequest, QuerySendEnabledResponse,
QueryDenomMetadataByQueryStringRequest, QueryDenomMetadataByQueryStringResponse,
QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomOwnersByQueryRequest,
QueryDenomOwnersByQueryResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse,
QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryParamsRequest,
QueryParamsResponse, QuerySendEnabledRequest, QuerySendEnabledResponse,
QuerySpendableBalanceByDenomRequest, QuerySpendableBalanceByDenomResponse,
QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QuerySupplyOfRequest,
QuerySupplyOfResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse,
Expand Down Expand Up @@ -117,4 +119,18 @@ impl<S: ProvableStore> Query for BankService<S> {
) -> Result<Response<QuerySpendableBalanceByDenomResponse>, Status> {
unimplemented!()
}

async fn denom_metadata_by_query_string(
&self,
_request: Request<QueryDenomMetadataByQueryStringRequest>,
) -> Result<Response<QueryDenomMetadataByQueryStringResponse>, Status> {
unimplemented!()
}

async fn denom_owners_by_query(
&self,
_request: Request<QueryDenomOwnersByQueryRequest>,
) -> Result<Response<QueryDenomOwnersByQueryResponse>, Status> {
unimplemented!()
}
}

0 comments on commit 7e8be5c

Please sign in to comment.