Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@across-protocol/constants

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@across-protocol/constants - npm Package Compare versions

Comparing version 3.1.12 to 3.1.13

70

dist/cjs/networks.d.ts
export declare const TESTNET_SEPOLIA_CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
};
export declare const TESTNET_CHAIN_IDs: {
readonly ZK_SYNC_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly BASE_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly MODE_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly POLYGON_AMOY: number;
readonly BASE_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly SCROLL_SEPOLIA: number;
readonly SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly ZK_SYNC_SEPOLIA: number;
};
export declare const MAINNET_CHAIN_IDs: {
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};
export declare const CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};

@@ -65,0 +67,0 @@ export declare enum ChainFamily {

@@ -7,28 +7,29 @@ "use strict";

exports.TESTNET_SEPOLIA_CHAIN_IDs = {
ZK_SYNC_SEPOLIA: 300,
ARBITRUM_SEPOLIA: 421614,
BASE_SEPOLIA: 84532,
BLAST_SEPOLIA: 168587773,
LISK_SEPOLIA: 4202,
MODE_SEPOLIA: 919,
LISK_SEPOLIA: 4202,
OPTIMISM_SEPOLIA: 11155420,
POLYGON_AMOY: 80002,
BASE_SEPOLIA: 84532,
ARBITRUM_SEPOLIA: 421614,
SCROLL_SEPOLIA: 534351,
SEPOLIA: 11155111,
OPTIMISM_SEPOLIA: 11155420,
BLAST_SEPOLIA: 168587773,
ZK_SYNC_SEPOLIA: 300,
};
exports.TESTNET_CHAIN_IDs = tslib_1.__assign({}, exports.TESTNET_SEPOLIA_CHAIN_IDs);
exports.MAINNET_CHAIN_IDs = {
ARBITRUM: 42161,
BASE: 8453,
BLAST: 81457,
BOBA: 288,
LINEA: 59144,
LISK: 1135,
MAINNET: 1,
MODE: 34443,
OPTIMISM: 10,
POLYGON: 137,
BOBA: 288,
REDSTONE: 690,
SCROLL: 534352,
ZK_SYNC: 324,
LISK: 1135,
BASE: 8453,
MODE: 34443,
ARBITRUM: 42161,
LINEA: 59144,
BLAST: 81457,
REDSTONE: 690,
SCROLL: 534352
ZORA: 7777777
};

@@ -114,2 +115,8 @@ exports.CHAIN_IDs = tslib_1.__assign(tslib_1.__assign({}, exports.MAINNET_CHAIN_IDs), exports.TESTNET_CHAIN_IDs);

},
_a[exports.CHAIN_IDs.ZORA] = {
name: "Zora",
nativeToken: "ETH",
blockExplorer: "https://zorascan.xyz",
family: OP_STACK
},
_a);

@@ -116,0 +123,0 @@ exports.TEST_NETWORKS = (_b = {},

@@ -155,2 +155,11 @@ export declare const TOKEN_SYMBOLS_MAP: {

};
USDzC: {
name: string;
symbol: string;
decimals: number;
addresses: {
[x: number]: string;
};
coingeckoId: string;
};
USDT: {

@@ -157,0 +166,0 @@ name: string;

"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -110,2 +110,3 @@ exports.TOKEN_EQUIVALENCE_REMAPPING = exports.TOKEN_SYMBOLS_MAP = void 0;

_g[networks_1.CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_g[networks_1.CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006",
_g),

@@ -237,2 +238,12 @@ coingeckoId: "ethereum",

},
USDzC: {
name: "USD Coin (bridged)",
symbol: "USDzC",
decimals: 6,
addresses: (_t = {},
_t[networks_1.CHAIN_IDs.MAINNET] = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
_t[networks_1.CHAIN_IDs.ZORA] = "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4",
_t),
coingeckoId: "usd-coin-ethereum-bridged",
},
USDT: {

@@ -242,15 +253,15 @@ name: "Tether USD",

decimals: 6,
addresses: (_t = {},
_t[networks_1.CHAIN_IDs.ARBITRUM] = "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
_t[networks_1.CHAIN_IDs.BOBA] = "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d",
_t[networks_1.CHAIN_IDs.LINEA] = "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
_t[networks_1.CHAIN_IDs.LISK] = "0x05D032ac25d322df992303dCa074EE7392C117b9",
_t[networks_1.CHAIN_IDs.MAINNET] = "0xdAC17F958D2ee523a2206206994597C13D831ec7",
_t[networks_1.CHAIN_IDs.MODE] = "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
_t[networks_1.CHAIN_IDs.OPTIMISM] = "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
_t[networks_1.CHAIN_IDs.POLYGON] = "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
_t[networks_1.CHAIN_IDs.SCROLL] = "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
_t[networks_1.CHAIN_IDs.SEPOLIA] = "0x7169D38820dfd117C3FA1f22a697dBA58d90BA06",
_t[networks_1.CHAIN_IDs.ZK_SYNC] = "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
_t),
addresses: (_u = {},
_u[networks_1.CHAIN_IDs.ARBITRUM] = "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
_u[networks_1.CHAIN_IDs.BOBA] = "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d",
_u[networks_1.CHAIN_IDs.LINEA] = "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
_u[networks_1.CHAIN_IDs.LISK] = "0x05D032ac25d322df992303dCa074EE7392C117b9",
_u[networks_1.CHAIN_IDs.MAINNET] = "0xdAC17F958D2ee523a2206206994597C13D831ec7",
_u[networks_1.CHAIN_IDs.MODE] = "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
_u[networks_1.CHAIN_IDs.OPTIMISM] = "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
_u[networks_1.CHAIN_IDs.POLYGON] = "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
_u[networks_1.CHAIN_IDs.SCROLL] = "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
_u[networks_1.CHAIN_IDs.SEPOLIA] = "0x7169D38820dfd117C3FA1f22a697dBA58d90BA06",
_u[networks_1.CHAIN_IDs.ZK_SYNC] = "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
_u),
coingeckoId: "tether",

@@ -262,14 +273,14 @@ },

decimals: 8,
addresses: (_u = {},
_u[networks_1.CHAIN_IDs.ARBITRUM] = "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
_u[networks_1.CHAIN_IDs.BOBA] = "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b",
_u[networks_1.CHAIN_IDs.BLAST] = "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692",
_u[networks_1.CHAIN_IDs.LINEA] = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",
_u[networks_1.CHAIN_IDs.MAINNET] = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
_u[networks_1.CHAIN_IDs.MODE] = "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF",
_u[networks_1.CHAIN_IDs.OPTIMISM] = "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
_u[networks_1.CHAIN_IDs.POLYGON] = "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
_u[networks_1.CHAIN_IDs.SCROLL] = "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
_u[networks_1.CHAIN_IDs.ZK_SYNC] = "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",
_u),
addresses: (_v = {},
_v[networks_1.CHAIN_IDs.ARBITRUM] = "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
_v[networks_1.CHAIN_IDs.BOBA] = "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b",
_v[networks_1.CHAIN_IDs.BLAST] = "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692",
_v[networks_1.CHAIN_IDs.LINEA] = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",
_v[networks_1.CHAIN_IDs.MAINNET] = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
_v[networks_1.CHAIN_IDs.MODE] = "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF",
_v[networks_1.CHAIN_IDs.OPTIMISM] = "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
_v[networks_1.CHAIN_IDs.POLYGON] = "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
_v[networks_1.CHAIN_IDs.SCROLL] = "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
_v[networks_1.CHAIN_IDs.ZK_SYNC] = "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",
_v),
coingeckoId: "wrapped-bitcoin",

@@ -281,27 +292,28 @@ },

decimals: 18,
addresses: (_v = {},
_v[networks_1.CHAIN_IDs.ARBITRUM] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
_v[networks_1.CHAIN_IDs.ARBITRUM_SEPOLIA] = "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
_v[networks_1.CHAIN_IDs.BASE] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.BASE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.BOBA] = "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
_v[networks_1.CHAIN_IDs.BLAST] = "0x4300000000000000000000000000000000000004",
_v[networks_1.CHAIN_IDs.BLAST_SEPOLIA] = "0x4200000000000000000000000000000000000023",
_v[networks_1.CHAIN_IDs.LINEA] = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
_v[networks_1.CHAIN_IDs.LISK] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.LISK_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.MAINNET] = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
_v[networks_1.CHAIN_IDs.MODE] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.MODE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.OPTIMISM] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.OPTIMISM_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.POLYGON] = "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
_v[networks_1.CHAIN_IDs.POLYGON_AMOY] = "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
_v[networks_1.CHAIN_IDs.REDSTONE] = "0x4200000000000000000000000000000000000006",
_v[networks_1.CHAIN_IDs.SCROLL] = "0x5300000000000000000000000000000000000004",
_v[networks_1.CHAIN_IDs.SCROLL_SEPOLIA] = "0x5300000000000000000000000000000000000004",
_v[networks_1.CHAIN_IDs.SEPOLIA] = "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
_v[networks_1.CHAIN_IDs.ZK_SYNC] = "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
_v[networks_1.CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_v),
addresses: (_w = {},
_w[networks_1.CHAIN_IDs.ARBITRUM] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
_w[networks_1.CHAIN_IDs.ARBITRUM_SEPOLIA] = "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
_w[networks_1.CHAIN_IDs.BASE] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.BASE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.BOBA] = "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
_w[networks_1.CHAIN_IDs.BLAST] = "0x4300000000000000000000000000000000000004",
_w[networks_1.CHAIN_IDs.BLAST_SEPOLIA] = "0x4200000000000000000000000000000000000023",
_w[networks_1.CHAIN_IDs.LINEA] = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
_w[networks_1.CHAIN_IDs.LISK] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.LISK_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.MAINNET] = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
_w[networks_1.CHAIN_IDs.MODE] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.MODE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.OPTIMISM] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.OPTIMISM_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.POLYGON] = "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
_w[networks_1.CHAIN_IDs.POLYGON_AMOY] = "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
_w[networks_1.CHAIN_IDs.REDSTONE] = "0x4200000000000000000000000000000000000006",
_w[networks_1.CHAIN_IDs.SCROLL] = "0x5300000000000000000000000000000000000004",
_w[networks_1.CHAIN_IDs.SCROLL_SEPOLIA] = "0x5300000000000000000000000000000000000004",
_w[networks_1.CHAIN_IDs.SEPOLIA] = "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
_w[networks_1.CHAIN_IDs.ZK_SYNC] = "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
_w[networks_1.CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_w[networks_1.CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006",
_w),
coingeckoId: "weth",

@@ -313,15 +325,15 @@ },

decimals: 18,
addresses: (_w = {},
_w[networks_1.CHAIN_IDs.MAINNET] = "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
_w[networks_1.CHAIN_IDs.POLYGON_AMOY] = "0x360ad4f9a9A8EFe9A8DCB5f461c4Cc1047E1Dcf9",
_w[networks_1.CHAIN_IDs.SEPOLIA] = "0x3fd0A53F4Bf853985a95F4Eb3F9C9FDE1F8e2b53",
_w),
addresses: (_x = {},
_x[networks_1.CHAIN_IDs.MAINNET] = "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
_x[networks_1.CHAIN_IDs.POLYGON_AMOY] = "0x360ad4f9a9A8EFe9A8DCB5f461c4Cc1047E1Dcf9",
_x[networks_1.CHAIN_IDs.SEPOLIA] = "0x3fd0A53F4Bf853985a95F4Eb3F9C9FDE1F8e2b53",
_x),
coingeckoId: "wmatic",
},
};
exports.TOKEN_EQUIVALENCE_REMAPPING = (_x = {},
_x[exports.TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol,
_x[exports.TOKEN_SYMBOLS_MAP["USDbC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol,
_x[exports.TOKEN_SYMBOLS_MAP["USDB"].symbol] = exports.TOKEN_SYMBOLS_MAP["DAI"].symbol,
_x);
exports.TOKEN_EQUIVALENCE_REMAPPING = (_y = {},
_y[exports.TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol,
_y[exports.TOKEN_SYMBOLS_MAP["USDbC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol,
_y[exports.TOKEN_SYMBOLS_MAP["USDB"].symbol] = exports.TOKEN_SYMBOLS_MAP["DAI"].symbol,
_y);
//# sourceMappingURL=tokens.js.map
export declare const TESTNET_SEPOLIA_CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
};
export declare const TESTNET_CHAIN_IDs: {
readonly ZK_SYNC_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly BASE_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly MODE_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly POLYGON_AMOY: number;
readonly BASE_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly SCROLL_SEPOLIA: number;
readonly SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly ZK_SYNC_SEPOLIA: number;
};
export declare const MAINNET_CHAIN_IDs: {
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};
export declare const CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};

@@ -65,0 +67,0 @@ export declare enum ChainFamily {

@@ -5,28 +5,29 @@ var _a, _b;

export var TESTNET_SEPOLIA_CHAIN_IDs = {
ZK_SYNC_SEPOLIA: 300,
ARBITRUM_SEPOLIA: 421614,
BASE_SEPOLIA: 84532,
BLAST_SEPOLIA: 168587773,
LISK_SEPOLIA: 4202,
MODE_SEPOLIA: 919,
LISK_SEPOLIA: 4202,
OPTIMISM_SEPOLIA: 11155420,
POLYGON_AMOY: 80002,
BASE_SEPOLIA: 84532,
ARBITRUM_SEPOLIA: 421614,
SCROLL_SEPOLIA: 534351,
SEPOLIA: 11155111,
OPTIMISM_SEPOLIA: 11155420,
BLAST_SEPOLIA: 168587773,
ZK_SYNC_SEPOLIA: 300,
};
export var TESTNET_CHAIN_IDs = __assign({}, TESTNET_SEPOLIA_CHAIN_IDs);
export var MAINNET_CHAIN_IDs = {
ARBITRUM: 42161,
BASE: 8453,
BLAST: 81457,
BOBA: 288,
LINEA: 59144,
LISK: 1135,
MAINNET: 1,
MODE: 34443,
OPTIMISM: 10,
POLYGON: 137,
BOBA: 288,
REDSTONE: 690,
SCROLL: 534352,
ZK_SYNC: 324,
LISK: 1135,
BASE: 8453,
MODE: 34443,
ARBITRUM: 42161,
LINEA: 59144,
BLAST: 81457,
REDSTONE: 690,
SCROLL: 534352
ZORA: 7777777
};

@@ -112,2 +113,8 @@ export var CHAIN_IDs = __assign(__assign({}, MAINNET_CHAIN_IDs), TESTNET_CHAIN_IDs);

},
_a[CHAIN_IDs.ZORA] = {
name: "Zora",
nativeToken: "ETH",
blockExplorer: "https://zorascan.xyz",
family: OP_STACK
},
_a);

@@ -114,0 +121,0 @@ export var TEST_NETWORKS = (_b = {},

@@ -155,2 +155,11 @@ export declare const TOKEN_SYMBOLS_MAP: {

};
USDzC: {
name: string;
symbol: string;
decimals: number;
addresses: {
[x: number]: string;
};
coingeckoId: string;
};
USDT: {

@@ -157,0 +166,0 @@ name: string;

@@ -1,2 +0,2 @@

var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
import { CHAIN_IDs } from "./networks";

@@ -109,2 +109,3 @@ // Information for the supported tokens on each chain.

_g[CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_g[CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006",
_g),

@@ -237,2 +238,12 @@ coingeckoId: "ethereum",

},
USDzC: {
name: "USD Coin (bridged)",
symbol: "USDzC",
decimals: 6,
addresses: (_t = {},
_t[CHAIN_IDs.MAINNET] = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
_t[CHAIN_IDs.ZORA] = "0xCccCCccc7021b32EBb4e8C08314bD62F7c653EC4",
_t),
coingeckoId: "usd-coin-ethereum-bridged",
},
USDT: {

@@ -242,15 +253,15 @@ name: "Tether USD",

decimals: 6,
addresses: (_t = {},
_t[CHAIN_IDs.ARBITRUM] = "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
_t[CHAIN_IDs.BOBA] = "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d",
_t[CHAIN_IDs.LINEA] = "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
_t[CHAIN_IDs.LISK] = "0x05D032ac25d322df992303dCa074EE7392C117b9",
_t[CHAIN_IDs.MAINNET] = "0xdAC17F958D2ee523a2206206994597C13D831ec7",
_t[CHAIN_IDs.MODE] = "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
_t[CHAIN_IDs.OPTIMISM] = "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
_t[CHAIN_IDs.POLYGON] = "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
_t[CHAIN_IDs.SCROLL] = "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
_t[CHAIN_IDs.SEPOLIA] = "0x7169D38820dfd117C3FA1f22a697dBA58d90BA06",
_t[CHAIN_IDs.ZK_SYNC] = "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
_t),
addresses: (_u = {},
_u[CHAIN_IDs.ARBITRUM] = "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
_u[CHAIN_IDs.BOBA] = "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d",
_u[CHAIN_IDs.LINEA] = "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
_u[CHAIN_IDs.LISK] = "0x05D032ac25d322df992303dCa074EE7392C117b9",
_u[CHAIN_IDs.MAINNET] = "0xdAC17F958D2ee523a2206206994597C13D831ec7",
_u[CHAIN_IDs.MODE] = "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
_u[CHAIN_IDs.OPTIMISM] = "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
_u[CHAIN_IDs.POLYGON] = "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
_u[CHAIN_IDs.SCROLL] = "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
_u[CHAIN_IDs.SEPOLIA] = "0x7169D38820dfd117C3FA1f22a697dBA58d90BA06",
_u[CHAIN_IDs.ZK_SYNC] = "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
_u),
coingeckoId: "tether",

@@ -262,14 +273,14 @@ },

decimals: 8,
addresses: (_u = {},
_u[CHAIN_IDs.ARBITRUM] = "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
_u[CHAIN_IDs.BOBA] = "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b",
_u[CHAIN_IDs.BLAST] = "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692",
_u[CHAIN_IDs.LINEA] = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",
_u[CHAIN_IDs.MAINNET] = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
_u[CHAIN_IDs.MODE] = "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF",
_u[CHAIN_IDs.OPTIMISM] = "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
_u[CHAIN_IDs.POLYGON] = "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
_u[CHAIN_IDs.SCROLL] = "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
_u[CHAIN_IDs.ZK_SYNC] = "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",
_u),
addresses: (_v = {},
_v[CHAIN_IDs.ARBITRUM] = "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
_v[CHAIN_IDs.BOBA] = "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b",
_v[CHAIN_IDs.BLAST] = "0xF7bc58b8D8f97ADC129cfC4c9f45Ce3C0E1D2692",
_v[CHAIN_IDs.LINEA] = "0x3aAB2285ddcDdaD8edf438C1bAB47e1a9D05a9b4",
_v[CHAIN_IDs.MAINNET] = "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
_v[CHAIN_IDs.MODE] = "0xcDd475325D6F564d27247D1DddBb0DAc6fA0a5CF",
_v[CHAIN_IDs.OPTIMISM] = "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
_v[CHAIN_IDs.POLYGON] = "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
_v[CHAIN_IDs.SCROLL] = "0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
_v[CHAIN_IDs.ZK_SYNC] = "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011",
_v),
coingeckoId: "wrapped-bitcoin",

@@ -281,27 +292,28 @@ },

decimals: 18,
addresses: (_v = {},
_v[CHAIN_IDs.ARBITRUM] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
_v[CHAIN_IDs.ARBITRUM_SEPOLIA] = "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
_v[CHAIN_IDs.BASE] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.BASE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.BOBA] = "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
_v[CHAIN_IDs.BLAST] = "0x4300000000000000000000000000000000000004",
_v[CHAIN_IDs.BLAST_SEPOLIA] = "0x4200000000000000000000000000000000000023",
_v[CHAIN_IDs.LINEA] = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
_v[CHAIN_IDs.LISK] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.LISK_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.MAINNET] = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
_v[CHAIN_IDs.MODE] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.MODE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.OPTIMISM] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.OPTIMISM_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.POLYGON] = "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
_v[CHAIN_IDs.POLYGON_AMOY] = "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
_v[CHAIN_IDs.REDSTONE] = "0x4200000000000000000000000000000000000006",
_v[CHAIN_IDs.SCROLL] = "0x5300000000000000000000000000000000000004",
_v[CHAIN_IDs.SCROLL_SEPOLIA] = "0x5300000000000000000000000000000000000004",
_v[CHAIN_IDs.SEPOLIA] = "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
_v[CHAIN_IDs.ZK_SYNC] = "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
_v[CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_v),
addresses: (_w = {},
_w[CHAIN_IDs.ARBITRUM] = "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
_w[CHAIN_IDs.ARBITRUM_SEPOLIA] = "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",
_w[CHAIN_IDs.BASE] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.BASE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.BOBA] = "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
_w[CHAIN_IDs.BLAST] = "0x4300000000000000000000000000000000000004",
_w[CHAIN_IDs.BLAST_SEPOLIA] = "0x4200000000000000000000000000000000000023",
_w[CHAIN_IDs.LINEA] = "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
_w[CHAIN_IDs.LISK] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.LISK_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.MAINNET] = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
_w[CHAIN_IDs.MODE] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.MODE_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.OPTIMISM] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.OPTIMISM_SEPOLIA] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.POLYGON] = "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
_w[CHAIN_IDs.POLYGON_AMOY] = "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E",
_w[CHAIN_IDs.REDSTONE] = "0x4200000000000000000000000000000000000006",
_w[CHAIN_IDs.SCROLL] = "0x5300000000000000000000000000000000000004",
_w[CHAIN_IDs.SCROLL_SEPOLIA] = "0x5300000000000000000000000000000000000004",
_w[CHAIN_IDs.SEPOLIA] = "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
_w[CHAIN_IDs.ZK_SYNC] = "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
_w[CHAIN_IDs.ZK_SYNC_SEPOLIA] = "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",
_w[CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006",
_w),
coingeckoId: "weth",

@@ -313,7 +325,7 @@ },

decimals: 18,
addresses: (_w = {},
_w[CHAIN_IDs.MAINNET] = "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
_w[CHAIN_IDs.POLYGON_AMOY] = "0x360ad4f9a9A8EFe9A8DCB5f461c4Cc1047E1Dcf9",
_w[CHAIN_IDs.SEPOLIA] = "0x3fd0A53F4Bf853985a95F4Eb3F9C9FDE1F8e2b53",
_w),
addresses: (_x = {},
_x[CHAIN_IDs.MAINNET] = "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
_x[CHAIN_IDs.POLYGON_AMOY] = "0x360ad4f9a9A8EFe9A8DCB5f461c4Cc1047E1Dcf9",
_x[CHAIN_IDs.SEPOLIA] = "0x3fd0A53F4Bf853985a95F4Eb3F9C9FDE1F8e2b53",
_x),
coingeckoId: "wmatic",

@@ -324,7 +336,7 @@ },

// prices. The right-hand side should map to a token symbol in TOKEN_SYMBOLS_MAP.
export var TOKEN_EQUIVALENCE_REMAPPING = (_x = {},
_x[TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol,
_x[TOKEN_SYMBOLS_MAP["USDbC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol,
_x[TOKEN_SYMBOLS_MAP["USDB"].symbol] = TOKEN_SYMBOLS_MAP["DAI"].symbol,
_x);
export var TOKEN_EQUIVALENCE_REMAPPING = (_y = {},
_y[TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol,
_y[TOKEN_SYMBOLS_MAP["USDbC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol,
_y[TOKEN_SYMBOLS_MAP["USDB"].symbol] = TOKEN_SYMBOLS_MAP["DAI"].symbol,
_y);
//# sourceMappingURL=tokens.js.map
export declare const TESTNET_SEPOLIA_CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
};
export declare const TESTNET_CHAIN_IDs: {
readonly ZK_SYNC_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly BASE_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly MODE_SEPOLIA: number;
readonly LISK_SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly POLYGON_AMOY: number;
readonly BASE_SEPOLIA: number;
readonly ARBITRUM_SEPOLIA: number;
readonly SCROLL_SEPOLIA: number;
readonly SEPOLIA: number;
readonly OPTIMISM_SEPOLIA: number;
readonly BLAST_SEPOLIA: number;
readonly ZK_SYNC_SEPOLIA: number;
};
export declare const MAINNET_CHAIN_IDs: {
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};
export declare const CHAIN_IDs: {
ZK_SYNC_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
BASE_SEPOLIA: number;
BLAST_SEPOLIA: number;
LISK_SEPOLIA: number;
MODE_SEPOLIA: number;
LISK_SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
POLYGON_AMOY: number;
BASE_SEPOLIA: number;
ARBITRUM_SEPOLIA: number;
SCROLL_SEPOLIA: number;
SEPOLIA: number;
OPTIMISM_SEPOLIA: number;
BLAST_SEPOLIA: number;
ZK_SYNC_SEPOLIA: number;
ARBITRUM: number;
BASE: number;
BLAST: number;
BOBA: number;
LINEA: number;
LISK: number;
MAINNET: number;
MODE: number;
OPTIMISM: number;
POLYGON: number;
BOBA: number;
ZK_SYNC: number;
LISK: number;
BASE: number;
MODE: number;
ARBITRUM: number;
LINEA: number;
BLAST: number;
REDSTONE: number;
SCROLL: number;
ZK_SYNC: number;
ZORA: number;
};

@@ -65,0 +67,0 @@ export declare enum ChainFamily {

@@ -155,2 +155,11 @@ export declare const TOKEN_SYMBOLS_MAP: {

};
USDzC: {
name: string;
symbol: string;
decimals: number;
addresses: {
[x: number]: string;
};
coingeckoId: string;
};
USDT: {

@@ -157,0 +166,0 @@ name: string;

{
"name": "@across-protocol/constants",
"version": "3.1.12",
"version": "3.1.13",
"description": "Export commonly re-used values for Across repositories",

@@ -5,0 +5,0 @@ "repository": "https://github.com/across-protocol/constants.git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc