@@ -161,8 +161,8 @@ type ChainClientV2 interface {
161161 FetchAggregateVolumes (ctx context.Context , accounts []string , marketIDs []string ) (* exchangev2types.QueryAggregateVolumesResponse , error )
162162 FetchAggregateMarketVolume (ctx context.Context , marketId string ) (* exchangev2types.QueryAggregateMarketVolumeResponse , error )
163163 FetchAggregateMarketVolumes (ctx context.Context , marketIDs []string ) (* exchangev2types.QueryAggregateMarketVolumesResponse , error )
164- FetchDenomDecimal (ctx context.Context , denom string ) (* exchangev2types.QueryDenomDecimalResponse , error )
165- FetchDenomDecimals (ctx context.Context , denoms []string ) (* exchangev2types.QueryDenomDecimalsResponse , error )
164+ FetchDenomDecimal (ctx context.Context , denom string ) (* exchangev2types.QueryAuctionExchangeTransferDenomDecimalResponse , error )
165+ FetchDenomDecimals (ctx context.Context , denoms []string ) (* exchangev2types.QueryAuctionExchangeTransferDenomDecimalsResponse , error )
166166 FetchChainSpotMarkets (ctx context.Context , status string , marketIDs []string ) (* exchangev2types.QuerySpotMarketsResponse , error )
167167 FetchChainSpotMarket (ctx context.Context , marketId string ) (* exchangev2types.QuerySpotMarketResponse , error )
168168 FetchChainFullSpotMarkets (ctx context.Context , status string , marketIDs []string , withMidPriceAndTob bool ) (* exchangev2types.QueryFullSpotMarketsResponse , error )
@@ -1463,20 +1463,20 @@ func (c *chainClientV2) FetchAggregateMarketVolumes(ctx context.Context, marketI
14631463 return res , err
14641464}
14651465
1466- func (c * chainClientV2 ) FetchDenomDecimal (ctx context.Context , denom string ) (* exchangev2types.QueryDenomDecimalResponse , error ) {
1467- req := & exchangev2types.QueryDenomDecimalRequest {
1466+ func (c * chainClientV2 ) FetchDenomDecimal (ctx context.Context , denom string ) (* exchangev2types.QueryAuctionExchangeTransferDenomDecimalResponse , error ) {
1467+ req := & exchangev2types.QueryAuctionExchangeTransferDenomDecimalRequest {
14681468 Denom : denom ,
14691469 }
1470- res , err := common .ExecuteCall (ctx , c .network .ChainCookieAssistant , c .exchangeV2QueryClient .DenomDecimal , req )
1470+ res , err := common .ExecuteCall (ctx , c .network .ChainCookieAssistant , c .exchangeV2QueryClient .AuctionExchangeTransferDenomDecimal , req )
14711471
14721472 return res , err
14731473}
14741474
1475- func (c * chainClientV2 ) FetchDenomDecimals (ctx context.Context , denoms []string ) (* exchangev2types.QueryDenomDecimalsResponse , error ) {
1476- req := & exchangev2types.QueryDenomDecimalsRequest {
1475+ func (c * chainClientV2 ) FetchDenomDecimals (ctx context.Context , denoms []string ) (* exchangev2types.QueryAuctionExchangeTransferDenomDecimalsResponse , error ) {
1476+ req := & exchangev2types.QueryAuctionExchangeTransferDenomDecimalsRequest {
14771477 Denoms : denoms ,
14781478 }
1479- res , err := common .ExecuteCall (ctx , c .network .ChainCookieAssistant , c .exchangeV2QueryClient .DenomDecimals , req )
1479+ res , err := common .ExecuteCall (ctx , c .network .ChainCookieAssistant , c .exchangeV2QueryClient .AuctionExchangeTransferDenomDecimals , req )
14801480
14811481 return res , err
14821482}
0 commit comments