Skip to content
Draft
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/constants",
"version": "3.1.91",
"version": "3.1.92",
"description": "Export commonly re-used values for Across repositories",
"repository": "https://github.com/across-protocol/constants.git",
"author": "hello@umaproject.org",
Expand Down
12 changes: 12 additions & 0 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const MAINNET_CHAIN_IDs = {
LINEA: 59144,
LISK: 1135,
MAINNET: 1,
MEGAETH: 4326, // Do we want to go with MEGAETH or MEGA_ETH?
MODE: 34443,
MONAD: 143,
OPTIMISM: 10,
Expand Down Expand Up @@ -78,6 +79,7 @@ export const PRODUCTION_OFT_EIDs = {
HYPEREVM: 30367,
MAINNET: 30101,
MONAD: 30390,
// @TODO: Add MEGAETH EID
OPTIMISM: 30111,
PLASMA: 30383,
POLYGON: 30109,
Expand Down Expand Up @@ -274,6 +276,16 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
oftEid: PRODUCTION_OFT_EIDs.MAINNET,
hypDomainId: MAINNET_CHAIN_IDs.MAINNET,
},
[CHAIN_IDs.MEGAETH]: {
name: "MegaETH",
family: OP_STACK,
nativeToken: "ETH",
publicRPC: "", // @TODO: Add MegaETH RPC
blockExplorer: "https://megaeth-testnet-v3.blockscout.com/", // @TODO: Add MegaETH block explorer (this is testnet block explorer)
cctpDomain: CCTP_NO_DOMAIN,
oftEid: OFT_NO_EID, // @TODO: Add MegaETH EID
hypDomainId: MAINNET_CHAIN_IDs.MEGAETH, // @TODO: What is hypDomainId?
},
[CHAIN_IDs.MODE]: {
name: "Mode",
family: OP_STACK,
Expand Down
9 changes: 9 additions & 0 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,14 @@ export const TOKEN_SYMBOLS_MAP = {
},
coingeckoId: "usdh-2",
},
USDM: {
name: "MegaUSD",
symbol: "USDM",
decimals: 18,
addresses: {
[CHAIN_IDs.MEGAETH]: "0x6651573521BD0852e570ac7D1f530aC022279507" // @TODO: This is testnet address, change with mainnet
}
},
USDT: {
name: "Tether USD",
symbol: "USDT",
Expand All @@ -480,6 +488,7 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.LINEA]: "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
[CHAIN_IDs.LISK]: "0x05D032ac25d322df992303dCa074EE7392C117b9",
[CHAIN_IDs.MAINNET]: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
[CHAIN_IDs.MEGAETH]: "", // @TODO: Add USDT address
[CHAIN_IDs.MONAD]: "0xe7cd86e13AC4309349F30B3435a9d337750fC82D",
[CHAIN_IDs.MONAD_TESTNET]: "0x88b8E2161DEDC77EF4ab7585569D2415a1C1055D",
[CHAIN_IDs.MODE]: "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
Expand Down