Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/consts/warpRouteWhitelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> | 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',
Expand Down
38 changes: 17 additions & 21 deletions src/consts/warpRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
},
Expand Down
39 changes: 33 additions & 6 deletions src/consts/warpRoutes.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/features/warpCore/warpCoreConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading