Skip to content

Commit a896543

Browse files
nik-surievan-gray
authored andcommitted
dashboard: add NTT accountant section to mainnet and add new mainnet token config
1 parent 7ec332d commit a896543

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

common/src/nttConsts.ts

+21
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ export const NTT_MANAGER_CONTRACT: NTTContract = {
4141
Ethereum: '0xeBdCe9a913d9400EE75ef31Ce8bd34462D01a1c1',
4242
Fantom: '0x68dB2f05Aa2d77DEf981fd2be32661340c9222FB',
4343
},
44+
W: {
45+
Solana: 'NTtAaoDJhkeHeaVUHnyhwbPNAN6WgBpHkHBTc6d7vLK',
46+
Ethereum: '0xc072B1AEf336eDde59A049699Ef4e8Fa9D594A48',
47+
Arbitrum: '0x5333d0AcA64a450Add6FeF76D6D1375F726CB484',
48+
Optimism: '0x1a4F1a790f23Ffb9772966cB6F36dCd658033e13',
49+
Base: '0x5333d0AcA64a450Add6FeF76D6D1375F726CB484',
50+
},
4451
},
4552
Testnet: {
4653
TEST_NTT: {
@@ -60,6 +67,13 @@ export const NTT_TRANSCEIVER_CONTRACT: NTTContract = {
6067
Ethereum: '0x55f7820357FA17A1ECb48E959D5E637bFF956d6F',
6168
Fantom: '0x8b47f02E7E20174C76Af910adc0Ad8A4B0342f4c',
6269
},
70+
W: {
71+
Solana: 'ExVbjD8inGXkt7Cx8jVr4GF175sQy1MeqgfaY53Ah8as',
72+
Ethereum: '0xDb55492d7190D1baE8ACbE03911C4E3E7426870c',
73+
Arbitrum: '0xD1a8AB69e00266e8B791a15BC47514153A5045a6',
74+
Optimism: '0x9bD8b7b527CA4e6738cBDaBdF51C22466756073d',
75+
Base: '0xD1a8AB69e00266e8B791a15BC47514153A5045a6',
76+
},
6377
},
6478
Testnet: {
6579
TEST_NTT: {
@@ -79,6 +93,13 @@ export const NTT_TOKENS: NTTContract = {
7993
Ethereum: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
8094
Fantom: '0x2F733095B80A04b38b0D10cC884524a3d09b836a',
8195
},
96+
W: {
97+
Solana: '85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ',
98+
Ethereum: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
99+
Arbitrum: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
100+
Optimism: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
101+
Base: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
102+
},
82103
},
83104
Testnet: {
84105
TEST_NTT: {

dashboard/src/components/Home.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { ChainIdToHeartbeats } from '../hooks/useChainHeartbeats';
44
import useCloudGovernorInfo from '../hooks/useCloudGovernorInfo';
55
import {
66
ACCOUNTANT_CONTRACT_ADDRESS,
7+
NTT_ACCOUNTANT_CONTRACT_ADDRESS_MAINNET,
78
NTT_ACCOUNTANT_CONTRACT_ADDRESS_TESTNET,
89
} from '../utils/consts';
910
import { Heartbeat } from '../utils/getLastHeartbeats';
@@ -41,6 +42,12 @@ function Home({
4142
<Divider />
4243
<Accountant governorInfo={governorInfo} accountantAddress={ACCOUNTANT_CONTRACT_ADDRESS} />
4344
<Divider />
45+
<Accountant
46+
governorInfo={governorInfo}
47+
accountantAddress={NTT_ACCOUNTANT_CONTRACT_ADDRESS_MAINNET}
48+
isNTT
49+
/>
50+
<Divider />
4451
<Monitor governorInfo={governorInfo} />
4552
</>
4653
) : currentNetwork.name === 'Testnet' ? (

dashboard/src/utils/consts.ts

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ export const CHAIN_ICON_MAP: { [key: string]: string } = {
9494
export const JUMP_GUARDIAN_ADDRESS = '58cc3ae5c097b213ce3c81979e1b9f9570746aa5';
9595
export const ACCOUNTANT_CONTRACT_ADDRESS =
9696
'wormhole14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9srrg465';
97+
export const NTT_ACCOUNTANT_CONTRACT_ADDRESS_MAINNET =
98+
'wormhole1mc23vtzxh46e63vq22e8cnv23an06akvkqws04kghkrxrauzpgwq2hmwm7';
9799
export const NTT_ACCOUNTANT_CONTRACT_ADDRESS_TESTNET =
98100
'wormhole169tvyx49zmjqhlv7mzwj8j2weprascc0jq3rdglw9pynldqx34nscvhc7k';
99101

0 commit comments

Comments
 (0)