Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve: add testnet entries #12

Merged
merged 5 commits into from
Feb 7, 2024
Merged
Changes from 4 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
25 changes: 19 additions & 6 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
export const CHAIN_IDs = {
MAINNET: 1,
OPTIMISM: 10,
ARBITRUM: 42161,
BOBA: 288,
POLYGON: 137,
BOBA: 288,
ZK_SYNC: 324,
BASE: 8453,
ARBITRUM: 42161,
GOERLI: 5,
SEPOLIA: 11155111,
MUMBAI: 80001,
ARBITRUM_GOERLI: 421613,
OPTIMISM_GOERLI: 420,
ZK_SYNC_GOERLI: 280,
MUMBAI: 80001,
BASE_GOERLI: 84531,
ARBITRUM_GOERLI: 421613,
SEPOLIA: 11155111,
OPTIMISM_SEPOLIA: 11155420,
ZK_SYNC_SEPOLIA: 300,
POLYGON_AMOY: 80002,
BASE_SEPOLIA: 84532,
ARBITRUM_SEPOLIA: 421614,
};

// Information for the supported tokens on each chain.
Expand Down Expand Up @@ -98,6 +103,7 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.ZK_SYNC_GOERLI]: "0x20b28B1e4665FFf290650586ad76E977EAb90c5D",
[CHAIN_IDs.BASE]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BASE_GOERLI]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BASE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
},
},
MATIC: {
Expand Down Expand Up @@ -154,13 +160,15 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.POLYGON]: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
[CHAIN_IDs.BOBA]: "0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc",
[CHAIN_IDs.ARBITRUM]: "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
[CHAIN_IDs.SEPOLIA]: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
// [CHAIN_IDs.GOERLI]: "0xd35CCeEAD182dcee0F148EbaC9447DA2c4D449c4",
[CHAIN_IDs.GOERLI]: "0x07865c6E87B9F70255377e024ace6630C1Eaa37F", // Uncomment for Optimism/Base testnet usage.
[CHAIN_IDs.MUMBAI]: "0xe6b8a5CF854791412c1f6EFC7CAf629f5Df1c747",
[CHAIN_IDs.ZK_SYNC]: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4",
[CHAIN_IDs.ZK_SYNC_GOERLI]: "0x0faF6df7054946141266420b43783387A78d82A9",
[CHAIN_IDs.BASE]: "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA",
[CHAIN_IDs.BASE_GOERLI]: "0x853154e2A5604E5C74a2546E2871Ad44932eB92C",
[CHAIN_IDs.BASE_SEPOLIA]: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
},
},
USDT: {
Expand Down Expand Up @@ -198,16 +206,21 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.MAINNET]: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
[CHAIN_IDs.OPTIMISM]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.OPTIMISM_GOERLI]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.OPTIMISM_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
[CHAIN_IDs.POLYGON_AMOY]: "0x41Dc3C8eB8368bd9139Cec50434a0C294c8c1102",
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
[CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3",
[CHAIN_IDs.ARBITRUM_SEPOLIA]: "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
[CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
[CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
[CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
[CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
[CHAIN_IDs.ZK_SYNC_GOERLI]: "0x20b28B1e4665FFf290650586ad76E977EAb90c5D",
[CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
[CHAIN_IDs.BASE]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BASE_GOERLI]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BASE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
},
},
WMATIC: {
Expand Down