Skip to content

Commit

Permalink
chore: change interface name for InterchainTokenInfoBaseAPIResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
canhtrinh committed Feb 4, 2024
1 parent 383635c commit e51dce9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/wizard/commands/list-squid-token/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function listSquidToken() {
});
}

export type InterchainTokenInfo = {
export type InterchainTokenInfoBaseAPIResponse = {
tokenId: string;
tokenAddress: string;
tokenManagerAddress: string;
Expand All @@ -136,8 +136,8 @@ export type InterchainTokenInfo = {
kind: "canonical" | "interchain" | "customInterchain";
};

export type InterchainTokenSearchResult = InterchainTokenInfo & {
matchingTokens: InterchainTokenInfo[];
export type InterchainTokenSearchResult = InterchainTokenInfoBaseAPIResponse & {
matchingTokens: InterchainTokenInfoBaseAPIResponse[];
};

export type RemoteInterchainTokenApiResponse = {
Expand Down

0 comments on commit e51dce9

Please sign in to comment.