diff --git a/src/consts/warpRouteWhitelist.ts b/src/consts/warpRouteWhitelist.ts index c09a874a9..af948bda9 100644 --- a/src/consts/warpRouteWhitelist.ts +++ b/src/consts/warpRouteWhitelist.ts @@ -3,20 +3,6 @@ // If left null, all warp routes in the configured registry will be included // If set to a list (including an empty list), only the specified routes will be included export const warpRouteWhitelist: Array | null = [ - // TIA routes - 'TIA/eclipsemainnet-stride', - - // TIA routes (cosmos-sdk) - 'TIA/abstract-celestia', - 'TIA/arbitrum', - 'TIA/base-celestia', - 'TIA/celestia-ethereum', - 'TIA/celestia-solanamainnet', - 'TIA/celestia-eclipsemainnet', - - // stTIA routes - 'stTIA/eclipsemainnet-stride', - // ETH routes 'ETH/ethereum-hyperevm', 'ETH/ethereum-viction', diff --git a/src/consts/warpRoutes.ts b/src/consts/warpRoutes.ts index 729eeea2f..244309a17 100644 --- a/src/consts/warpRoutes.ts +++ b/src/consts/warpRoutes.ts @@ -15,37 +15,33 @@ export const warpRouteConfigs: WarpCoreConfig = { addressOrDenom: 'utia', logoURI: '/deployments/warp_routes/TIA/logo.svg', connections: [ - // To Stride + // To Neutron { token: - 'cosmos|stride|ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801', + 'cosmos|neutron|ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7', type: TokenConnectionType.Ibc, sourcePort: 'transfer', - sourceChannel: 'channel-4', + sourceChannel: 'channel-8', }, - ], - }, - - // TIA Celestia to Eclipse via Stride - { - chainName: 'celestia', - standard: TokenStandard.CosmosIbc, - name: 'TIA.s', - symbol: 'TIA.s', - decimals: 6, - addressOrDenom: 'utia', - logoURI: '/deployments/warp_routes/TIA/logo.svg', - connections: [ + // To Arbitrum via Neutron { - token: 'sealevel|eclipsemainnet|BpXHAiktwjx7fN6M9ST9wr6qKAsH27wZFhdHEhReJsR6', + token: 'ethereum|arbitrum|0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C', type: TokenConnectionType.IbcHyperlane, sourcePort: 'transfer', - sourceChannel: 'channel-4', - intermediateChainName: 'stride', + sourceChannel: 'channel-8', + intermediateChainName: 'neutron', intermediateRouterAddress: - 'stride1pvtesu3ve7qn7ctll2x495mrqf2ysp6fws68grvcu6f7n2ajghgsh2jdj6', + 'neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq', intermediateIbcDenom: - 'ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801', + 'ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7', + }, + // To Stride + { + token: + 'cosmos|stride|ibc/BF3B4F53F3694B66E13C23107C84B6485BD2B96296BB7EC680EA77BBA75B4801', + type: TokenConnectionType.Ibc, + sourcePort: 'transfer', + sourceChannel: 'channel-4', }, ], }, diff --git a/src/consts/warpRoutes.yaml b/src/consts/warpRoutes.yaml index 090dcb3b9..9e159575d 100644 --- a/src/consts/warpRoutes.yaml +++ b/src/consts/warpRoutes.yaml @@ -1,6 +1,33 @@ -# A list of Warp Route token configs -# These configs will be merged with the warp routes in the configured registry -# The input here is typically the output of the Hyperlane CLI warp deploy command ---- -tokens: [] -options: {} +# yaml-language-server: $schema=../schema.json +options: + interchainFeeConstants: + - addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7 + amount: 270000 + destination: arbitrum + origin: neutron +tokens: + - addressOrDenom: "0xD56734d7f9979dD94FAE3d67C7e928234e71cD4C" + chainName: arbitrum + connections: + - token: cosmos|neutron|neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq + decimals: 6 + logoURI: /deployments/warp_routes/TIA/logo.svg + name: TIA.n + standard: EvmHypSynthetic + symbol: TIA.n + - addressOrDenom: neutron1jyyjd3x0jhgswgm6nnctxvzla8ypx50tew3ayxxwkrjfxhvje6kqzvzudq + chainName: neutron + coinGeckoId: celestia + collateralAddressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7 + decimals: 6 + logoURI: /deployments/warp_routes/TIA/logo.svg + name: TIA.n + standard: CwHypCollateral + symbol: TIA.n + - addressOrDenom: ibc/773B4D0A3CD667B2275D5A4A7A2F0909C0BA0F4059C0B9181E680DDF4965DCC7 + chainName: neutron + decimals: 6 + logoURI: /deployments/warp_routes/TIA/logo.svg + name: TIA.n + standard: CosmosIbc + symbol: TIA.n \ No newline at end of file diff --git a/src/features/warpCore/warpCoreConfig.ts b/src/features/warpCore/warpCoreConfig.ts index e3b70a5ca..8ffab7fce 100644 --- a/src/features/warpCore/warpCoreConfig.ts +++ b/src/features/warpCore/warpCoreConfig.ts @@ -122,7 +122,7 @@ function dedupeTokens(tokens: WarpCoreConfig['tokens']): WarpCoreConfig['tokens' if (token.standard === TokenStandard.EvmM0PortalLite) { id = `${token.chainName}|${token.symbol}|${token.addressOrDenom?.toLowerCase()}`; } else { - id = `${token.chainName}|${token.addressOrDenom?.toLowerCase()}`; + id = `${token.chainName}|${token.symbol}|${token.addressOrDenom?.toLowerCase()}`; } idToToken[id] = objMerge(idToToken[id] || {}, token); }