From ec40839d6c7efffb381a5ab7682c17097d3ebc62 Mon Sep 17 00:00:00 2001 From: Le Yu <6251863+ltyu@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:03:12 -0400 Subject: [PATCH 1/2] Use warpRouteWhitelist.ts instead of warpRoute.yaml --- src/consts/warpRouteWhitelist.ts | 9 +- src/consts/warpRoutes.yaml | 270 +------------------------------ 2 files changed, 10 insertions(+), 269 deletions(-) diff --git a/src/consts/warpRouteWhitelist.ts b/src/consts/warpRouteWhitelist.ts index fa3ca69b..510f45ed 100644 --- a/src/consts/warpRouteWhitelist.ts +++ b/src/consts/warpRouteWhitelist.ts @@ -2,8 +2,7 @@ // Warp Route IDs use format `SYMBOL/chainname1-chainname2...` where chains are ordered alphabetically // 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 = []; -// Example: -// [ -// // 'ETH/ethereum-viction' -// ]; +export const warpRouteWhitelist: Array | null = [ + 'ezETH/arbitrum-base-blast-bsc-ethereum-fraxtal-linea-mode-optimism-sei-taiko-zircuit', + 'pzETH/ethereum-zircuit', +]; diff --git a/src/consts/warpRoutes.yaml b/src/consts/warpRoutes.yaml index 789d482f..5bcce7e3 100644 --- a/src/consts/warpRoutes.yaml +++ b/src/consts/warpRoutes.yaml @@ -1,264 +1,6 @@ -# yaml-language-server: $schema=../schema.json -tokens: - # ======== PZEth ======== - - chainName: ethereum - addressOrDenom: '0x0220b1EA1b56ECE8e2b62c8965659f0A621e9ebd' - collateralAddressOrDenom: '0xbC5511354C4A9a50DE928F56DB01DD327c4e56d5' - connections: - - token: ethereum|zircuit|0x8303Ce0E207BB44a3D3B2313AC219d0fC73b3764 - decimals: 18 - logoURI: /deployments/warp_routes/PZETH/logo.svg - name: 'Renzo Restaked LST ' - standard: EvmHypXERC20Lockbox - symbol: pzETH - - chainName: zircuit - addressOrDenom: '0x8303Ce0E207BB44a3D3B2313AC219d0fC73b3764' - collateralAddressOrDenom: '0x9cb41CD74D01ae4b4f640EC40f7A60cA1bCF83E7' - connections: - - token: ethereum|ethereum|0x0220b1EA1b56ECE8e2b62c8965659f0A621e9ebd - decimals: 18 - logoURI: /deployments/warp_routes/PZETH/logo.svg - name: 'Renzo Restaked LST ' - standard: EvmHypXERC20 - symbol: pzETH - # ======== EZEth ======== - - addressOrDenom: '0xB26bBfC6d1F469C821Ea25099017862e7368F4E8' - chainName: arbitrum - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2' - chainName: optimism - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0x2552516453368e42705D791F674b312b8b87CD9e' - chainName: base - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0x486b39378f99f073A3043C6Aabe8666876A8F3C5' - chainName: blast - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xE00C6185a5c19219F1FFeD213b4406a254968c26' - chainName: bsc - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xC59336D8edDa9722B4f1Ec104007191Ec16f7087' - chainName: mode - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xC59336D8edDa9722B4f1Ec104007191Ec16f7087' - chainName: linea - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xC59336D8edDa9722B4f1Ec104007191Ec16f7087' - chainName: ethereum - collateralAddressOrDenom: '0xC8140dA31E6bCa19b287cC35531c2212763C2059' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20Lockbox - symbol: ezETH - - addressOrDenom: '0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5' - chainName: fraxtal - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0x2552516453368e42705D791F674b312b8b87CD9e' - chainName: zircuit - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78' - chainName: taiko - collateralAddressOrDenom: '0x2416092f143378750bb29b79eD961ab195CcEea5' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|sei|0xE5163F148C82a0818545d5D34e30BC1EDA870cB9 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/logo.svg - name: Renzo Restaked ETH - standard: EvmHypXERC20 - symbol: ezETH - - addressOrDenom: '0xE5163F148C82a0818545d5D34e30BC1EDA870cB9' - chainName: sei - collateralAddressOrDenom: '0x6DCfbF4729890043DFd34A93A2694E5303BA2703' - connections: - - token: ethereum|arbitrum|0xB26bBfC6d1F469C821Ea25099017862e7368F4E8 - - token: ethereum|optimism|0xacEB607CdF59EB8022Cc0699eEF3eCF246d149e2 - - token: ethereum|base|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|blast|0x486b39378f99f073A3043C6Aabe8666876A8F3C5 - - token: ethereum|bsc|0xE00C6185a5c19219F1FFeD213b4406a254968c26 - - token: ethereum|mode|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|linea|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|ethereum|0xC59336D8edDa9722B4f1Ec104007191Ec16f7087 - - token: ethereum|fraxtal|0x3aE8635A4D581d40a6Edfb3f2ED480f9532994F5 - - token: ethereum|zircuit|0x2552516453368e42705D791F674b312b8b87CD9e - - token: ethereum|taiko|0x5eAFB1D4b5BDFaFE81715EeBcC7713e418C80E78 - decimals: 18 - logoURI: /deployments/warp_routes/EZETH/RedETH-logo.svg - name: Restaked ETH on Sei - standard: EvmHypXERC20 - symbol: redETH +# 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: {} \ No newline at end of file From 5e44b7f3ca067724634740bee481c97a081d3e80 Mon Sep 17 00:00:00 2001 From: Le Yu <6251863+ltyu@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:06:35 -0400 Subject: [PATCH 2/2] Add trailing whitespace --- src/consts/warpRoutes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts/warpRoutes.yaml b/src/consts/warpRoutes.yaml index 5bcce7e3..090dcb3b 100644 --- a/src/consts/warpRoutes.yaml +++ b/src/consts/warpRoutes.yaml @@ -3,4 +3,4 @@ # The input here is typically the output of the Hyperlane CLI warp deploy command --- tokens: [] -options: {} \ No newline at end of file +options: {}