Skip to content

Commit 94895c9

Browse files
committed
governor: Add initial token list for Unichain and Berachain
1 parent 2ea519c commit 94895c9

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

node/hack/governor/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ axios
289289
var tokenParts = token.split("-");
290290
var newTokenSymbol = newTokenKeys[tokenParts[0] + "-" + tokenParts[1]];
291291
if (!newTokenSymbol) {
292-
removedTokens.push(token + " (https://www.coingecko.com/en/coins/" + newTokenSymbol[1] + ")");
292+
removedTokens.push(token);
293293
}
294294
// The token symbol has changed
295295
// We take a substring of the symbol to cut the "=" character we added above

node/pkg/governor/mainnet_tokens_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ func TestGovernedChainHasGovernedAssets(t *testing.T) {
4242
ignoredChains := map[vaa.ChainID]bool{
4343
// TODO: Remove this once we have governed tokens for Snax.
4444
vaa.ChainIDSnaxchain: true,
45-
// TODO: Remove this once we have governed tokens for Berachain.
46-
vaa.ChainIDBerachain: true,
47-
// TODO: Remove this once we have governed tokens for Unichain.
48-
vaa.ChainIDUnichain: true,
49-
5045
// Wormchain is an abstraction over IBC-connected chains so no assets are "native" to it
5146
vaa.ChainIDWormchain: true,
5247
}

node/pkg/governor/manual_tokens.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ func manualTokenList() []tokenConfigEntry {
5858
{chain: 35, addr: "000000000000000000000000cDA86A272531e8640cD7F1a92c01839911B90bb0", symbol: "METH", coinGeckoId: "mantle-staked-ether", decimals: 18, price: 3934.06},
5959
{chain: 35, addr: "000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111", symbol: "WETH", coinGeckoId: "wrapped-ether-mantle-bridge", decimals: 18, price: 3825.65},
6060
{chain: 35, addr: "000000000000000000000000371c7ec6d8039ff7933a2aa28eb827ffe1f52f07", symbol: "JOE", coinGeckoId: "joe", decimals: 18, price: 0.4911},
61+
// BERACHAIN (non-bridged tokens over $1,000,000 24h volume)
62+
{chain: 39, addr: "0000000000000000000000006969696969696969696969696969696969696969", symbol: "WBERA", coinGeckoId: "wrapped-bera", decimals: 18, price: 6.62},
63+
{chain: 39, addr: "000000000000000000000000fcbd14dc51f0a4d49d5e53c2e0950e0bc26d0dce", symbol: "HONEY", coinGeckoId: "honey-3", decimals: 18, price: 0.9985},
64+
{chain: 39, addr: "0000000000000000000000006fc6545d5cde268d5c7f1e476d444f39c995120d", symbol: "BERAETH", coinGeckoId: "berachain-staked-eth", decimals: 18, price: 2713.26},
65+
{chain: 39, addr: "00000000000000000000000036e9fe653e673fda3857dbe5afbc884af8a316a2", symbol: "BERAFI", coinGeckoId: "berafi", decimals: 18, price: 0.00117},
66+
// UNICHAIN (tokens over $1,000,000 24h volume)
67+
{chain: 44, addr: "000000000000000000000000078D782b760474a361dDA0AF3839290b0EF57AD6", symbol: "USDC", coinGeckoId: "usd-coin", decimals: 6, price: 1.00},
68+
{chain: 44, addr: "0000000000000000000000004200000000000000000000000000000000000006", symbol: "WETH", coinGeckoId: "unichain-bridged-weth-unichain", decimals: 18, price: 2722.24},
69+
{chain: 44, addr: "0000000000000000000000008f187aA05619a017077f5308904739877ce9eA21", symbol: "UNI", coinGeckoId: "uniswap", decimals: 18, price: 9.43},
70+
{chain: 44, addr: "00000000000000000000000020CAb320A855b39F724131C69424240519573f81", symbol: "DAI", coinGeckoId: "dai", decimals: 18, price: 1.0},
6171
// WORLDCHAIN (tokens over $50,000 24h volume)
6272
{chain: 45, addr: "0000000000000000000000002cFc85d8E48F8EAB294be644d9E25C3030863003", symbol: "WLD", coinGeckoId: "worldcoin-wld", decimals: 18, price: 2.47},
6373
{chain: 45, addr: "00000000000000000000000003C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", symbol: "WBTC", coinGeckoId: "bridged-wrapped-bitcoin-worldchain", decimals: 8, price: 86683.84},

0 commit comments

Comments
 (0)