Skip to content

Commit

Permalink
chore: rename property tokenManagerAddress -> tokenManager
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Feb 3, 2024
1 parent eca0ecd commit 88cfcff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions cli/wizard/commands/list-squid-token/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export async function listSquidToken() {
export type InterchainTokenInfo = {
tokenId: string;
tokenAddress: string;
tokenManagerAddress: string;
tokenManager: string;
tokenManagerType: string;
isOriginToken: boolean;
isRegistered: boolean;
Expand All @@ -143,7 +143,7 @@ export type InterchainTokenSearchResult = InterchainTokenInfo & {
export type RemoteInterchainToken = {
axelarChainId: string;
tokenAddress: string;
tokenManagerAddress: string;
tokenManager: string;
tokenManagerType: string;
deploymentStatus: string;
deploymentTxHash: string;
Expand All @@ -156,7 +156,7 @@ export type InterchainTokenDetails = {
tokenSymbol: string;
tokenDecimals: number;
tokenAddress: string;
tokenManagerAddress: string;
tokenManager: string;
tokenManagerType: string;
originalMinterAddress: string;
axelarChainId: string;
Expand All @@ -172,7 +172,7 @@ function parseAsInterchainTokenConfig(
return {
tokenId: hash.parse(data.tokenId),
tokenAddress: address.parse(data.tokenAddress),
tokenManager: address.parse(data.tokenManagerAddress),
tokenManager: address.parse(data.tokenManager),
tokenManagerType: convertCase(
"CONSTANT_CASE",
"camelCase"
Expand All @@ -195,7 +195,7 @@ function parseAsInterchainTokenConfig(
{
axelarChainId: data.axelarChainId,
tokenAddress: address.parse(data.tokenAddress),
tokenManager: address.parse(data.tokenManagerAddress),
tokenManager: address.parse(data.tokenManager),
tokenManagerType: convertCase(
"CONSTANT_CASE",
"camelCase"
Expand All @@ -205,7 +205,7 @@ function parseAsInterchainTokenConfig(
...data.remoteTokens.map((token) => ({
axelarChainId: token.axelarChainId,
tokenAddress: address.parse(token.tokenAddress),
tokenManager: address.parse(token.tokenManagerAddress),
tokenManager: address.parse(token.tokenManager),
tokenManagerType: convertCase(
"CONSTANT_CASE",
"camelCase"
Expand Down
10 changes: 5 additions & 5 deletions registry/mainnet/interchain/squid.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,31 @@
{
"axelarChainId": "moonbeam",
"tokenAddress": "0x524d524B4c9366be706D3A90dcf70076ca037aE3",
"tokenManagerAddress": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManager": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManagerType": "mintBurn"
},
{
"axelarChainId": "polygon",
"tokenAddress": "0x524d524B4c9366be706D3A90dcf70076ca037aE3",
"tokenManagerAddress": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManager": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManagerType": "mintBurn"
},
{
"axelarChainId": "ethereum",
"tokenAddress": "0x524d524B4c9366be706D3A90dcf70076ca037aE3",
"tokenManagerAddress": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManager": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManagerType": "mintBurn"
},
{
"axelarChainId": "base",
"tokenAddress": "0x524d524B4c9366be706D3A90dcf70076ca037aE3",
"tokenManagerAddress": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManager": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManagerType": "mintBurn"
},
{
"axelarChainId": "binance",
"tokenAddress": "0x524d524B4c9366be706D3A90dcf70076ca037aE3",
"tokenManagerAddress": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManager": "0x5F53895484af488e27fd33CE70a3dbD745aeAA52",
"tokenManagerType": "mintBurn"
}
]
Expand Down

0 comments on commit 88cfcff

Please sign in to comment.