Skip to content

Commit

Permalink
feat: Add Zora definitions (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl authored Aug 6, 2024
1 parent d0344af commit 1803352
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
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.12",
"version": "3.1.13",
"description": "Export commonly re-used values for Across repositories",
"repository": "https://github.com/across-protocol/constants.git",
"author": "[email protected]",
Expand Down
9 changes: 8 additions & 1 deletion src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export const MAINNET_CHAIN_IDs = {
POLYGON: 137,
REDSTONE: 690,
SCROLL: 534352,
ZK_SYNC: 324
ZK_SYNC: 324,
ZORA: 7777777
};

export const CHAIN_IDs = {
Expand Down Expand Up @@ -120,6 +121,12 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
name: "zkSync",
nativeToken: "ETH",
blockExplorer: "https://era.zksync.network"
},
[CHAIN_IDs.ZORA]: {
name: "Zora",
nativeToken: "ETH",
blockExplorer: "https://zorascan.xyz",
family: OP_STACK
}
};

Expand Down
12 changes: 12 additions & 0 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
[CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
[CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
[CHAIN_IDs.ZORA]: "0x4200000000000000000000000000000000000006",
},
coingeckoId: "ethereum",
},
Expand Down Expand Up @@ -233,6 +234,16 @@ export const TOKEN_SYMBOLS_MAP = {
},
coingeckoId: "bridged-usd-coin-base",
},
USDzC: {
name: "USD Coin (bridged)",
symbol: "USDzC",
decimals: 6,
addresses: {
[CHAIN_IDs.MAINNET]: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
[CHAIN_IDs.ZORA]: "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4",
},
coingeckoId: "usd-coin-ethereum-bridged",
},
USDT: {
name: "Tether USD",
symbol: "USDT",
Expand Down Expand Up @@ -298,6 +309,7 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
[CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
[CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
[CHAIN_IDs.ZORA]: "0x4200000000000000000000000000000000000006",
},
coingeckoId: "weth",
},
Expand Down

0 comments on commit 1803352

Please sign in to comment.