Skip to content

Commit

Permalink
chore: Adjust chain name
Browse files Browse the repository at this point in the history
  • Loading branch information
Halibao-Lala committed Dec 23, 2024
1 parent fc102d2 commit fe8b484
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 deletions apps/canonical-bridge-server/src/common/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,21 @@ export const STARGATE_CHAIN_INFO = [
chainName: 'Metis',
endpointID: 30151,
},
{
chainId: 1116,
chainName: 'coredao',
endpointID: 30153,
},
{
chainId: 1329,
chainName: 'Sei',
endpointID: 30280,
},
{
chainId: 1625,
chainName: 'Gravity',
endpointID: 30294,
},
{
chainId: 2222,
chainName: 'Kava',
Expand Down Expand Up @@ -144,7 +154,7 @@ export const STARGATE_CHAIN_INFO = [
},
{
chainId: 167000,
chainName: 'Taiko Mainnet',
chainName: 'Taiko',
endpointID: 30290,
},
{
Expand Down Expand Up @@ -177,7 +187,7 @@ export const STARGATE_CHAIN_INFO = [
},
{
chainId: 1380012617,
chainName: 'RARI Chain',
chainName: 'rarible',
endpointID: 30235,
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ export interface IStargateBridgeTokenInfo {
decimals: number;
symbol: string;
};
lpToken: {
lpToken?: {
address: `0x${string}`;
decimals: number;
symbol: string;
};
farm: {
farm?: {
stargateStaking: {
address: `0x${string}`;
rewardTokens: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Web3Service {
}
});
} catch (e) {
console.log('stargate api failed', e, new Date());
console.log(`Failed to retrieve Stargate API data at ${new Date().getTime()}`, e);
}
return processedTokenList;
}
Expand Down

0 comments on commit fe8b484

Please sign in to comment.