Skip to content

Commit f090a4e

Browse files
committed
watcher: add Mantle
1 parent 2d2f942 commit f090a4e

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

common/src/consts.ts

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: {
3535
Sui: '1485552', // https://explorer.sui.io/txblock/671SoTvVUvBZQWKXeameDvAwzHQvnr8Nj7dR9MUwm3CV?network=https%3A%2F%2Frpc.mainnet.sui.io
3636
Base: '1422314',
3737
Scroll: '4955534',
38+
Mantle: '64176265',
3839
Blast: '2375628',
3940
Sei: '238594',
4041
Wormchain: '4510119', // https://bigdipper.live/wormhole/transactions/4D861F1BE86325D227FA006CA2745BBC6748AF5B5E0811DE536D02792928472A },
@@ -63,6 +64,7 @@ export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: {
6364
Solana: '0',
6465
Sui: '0',
6566
Scroll: '0',
67+
Mantle: '0',
6668
Blast: '0',
6769
Base: '0',
6870
Sei: '0',
@@ -119,6 +121,7 @@ export const TOKEN_BRIDGE_EMITTERS: { [key in Chain]?: string } = {
119121
Sui: 'ccceeb29348f71bdd22ffef43a2a19c1f5b5e17c5cca5411529120182672ade5',
120122
Base: '0000000000000000000000008d2de8d2f73f1f4cab472ac9a881c9b123c79627',
121123
Scroll: '00000000000000000000000024850c6f61C438823F01B7A3BF2B89B72174Fa9d',
124+
Mantle: '00000000000000000000000024850c6f61C438823F01B7A3BF2B89B72174Fa9d',
122125
Blast: '00000000000000000000000024850c6f61C438823F01B7A3BF2B89B72174Fa9d',
123126
Xlayer: '0000000000000000000000005537857664B0f9eFe38C9f320F75fEf23234D904',
124127
Sei: '86c5fd957e2db8389553e1728f9c27964b22a8154091ccba54d75f4b10c61f5e',

watcher/src/consts.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const RPCS_BY_CHAIN: { [key in Network]: { [key in Chain]?: string } } =
5757
Sui: process.env.SUI_RPC || 'https://rpc.mainnet.sui.io',
5858
Base: process.env.BASE_RPC || 'https://developer-access-mainnet.base.org',
5959
Scroll: process.env.SCROLL_RPC || 'https://rpc.ankr.com/scroll',
60+
Mantle: process.env.MANTLE_RPC || 'https://mantle-rpc.publicnode.com',
6061
Blast: process.env.BLAST_RPC || 'https://rpc.ankr.com/blast',
6162
Sei: process.env.SEI_RPC || 'https://sei-rest.brocha.in', // https://docs.sei.io/develop/resources
6263
Wormchain: process.env.WORMCHAIN_RPC || 'https://wormchain-rpc.quickapi.com',

watcher/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const supportedChains: Chain[] =
8080
'Base',
8181
'Sei',
8282
'Scroll',
83+
'Mantle',
8384
'Blast',
8485
'Xlayer',
8586
'Wormchain',

watcher/src/watchers/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function makeFinalizedWatcher(network: Network, chainName: Chain): Watche
3434
chainName === 'Celo' ||
3535
chainName === 'Optimism' ||
3636
chainName === 'Scroll' ||
37+
chainName === 'Mantle' ||
3738
chainName === 'Blast' ||
3839
chainName === 'Xlayer' ||
3940
chainName === 'Base'

0 commit comments

Comments
 (0)