New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@across-protocol/constants

Package Overview
Dependencies
Maintainers
5
Versions
41
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

to
3.1.34

2

dist/cjs/networks.d.ts

@@ -97,3 +97,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

blockExplorer: string;
cctpDomain: number;
}
export declare const CCTP_NO_DOMAIN = -1;
export declare const PRODUCTION_NETWORKS: {

@@ -100,0 +102,0 @@ [chainId: number]: PublicNetwork;

94

dist/cjs/networks.js
"use strict";
var _a, _b;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PUBLIC_NETWORKS = exports.TEST_NETWORKS = exports.PRODUCTION_NETWORKS = exports.ChainFamily = exports.CHAIN_IDs = exports.MAINNET_CHAIN_IDs = exports.TESTNET_CHAIN_IDs = exports.TESTNET_SEPOLIA_CHAIN_IDs = void 0;
exports.PUBLIC_NETWORKS = exports.TEST_NETWORKS = exports.PRODUCTION_NETWORKS = exports.CCTP_NO_DOMAIN = exports.ChainFamily = exports.CHAIN_IDs = exports.MAINNET_CHAIN_IDs = exports.TESTNET_CHAIN_IDs = exports.TESTNET_SEPOLIA_CHAIN_IDs = void 0;
var tslib_1 = require("tslib");

@@ -52,2 +52,3 @@ exports.TESTNET_SEPOLIA_CHAIN_IDs = {

;
exports.CCTP_NO_DOMAIN = -1;
var NONE = ChainFamily.NONE, OP_STACK = ChainFamily.OP_STACK, ORBIT = ChainFamily.ORBIT;

@@ -61,2 +62,3 @@ exports.PRODUCTION_NETWORKS = (_a = {},

blockExplorer: "https://evm-explorer.alephzero.org",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -68,3 +70,4 @@ _a[exports.CHAIN_IDs.ARBITRUM] = {

publicRPC: "https://arb1.arbitrum.io/rpc",
blockExplorer: "https://arbiscan.io"
blockExplorer: "https://arbiscan.io",
cctpDomain: 3,
},

@@ -76,3 +79,4 @@ _a[exports.CHAIN_IDs.BASE] = {

publicRPC: "https://mainnet.base.org",
blockExplorer: "https://basescan.org"
blockExplorer: "https://basescan.org",
cctpDomain: 6,
},

@@ -84,3 +88,4 @@ _a[exports.CHAIN_IDs.BLAST] = {

publicRPC: "https://rpc.blast.io",
blockExplorer: "https://blastscan.io"
blockExplorer: "https://blastscan.io",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -92,10 +97,12 @@ _a[exports.CHAIN_IDs.BOBA] = {

publicRPC: "https://mainnet.boba.network",
blockExplorer: "https://blockexplorer.boba.network"
blockExplorer: "https://blockexplorer.boba.network",
cctpDomain: exports.CCTP_NO_DOMAIN,
},
_a[exports.CHAIN_IDs.UNICHAIN] = {
name: "Doctor Who",
name: "Unichain",
family: OP_STACK,
nativeToken: "ETH",
publicRPC: "https://mainnet.unichain.org/",
blockExplorer: "https://uniscan.xyz"
blockExplorer: "https://uniscan.xyz",
cctpDomain: 10,
},

@@ -107,3 +114,4 @@ _a[exports.CHAIN_IDs.INK] = {

publicRPC: "https://rpc-gel.inkonchain.com",
blockExplorer: "https://explorer.inkonchain.com"
blockExplorer: "https://explorer.inkonchain.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -115,3 +123,4 @@ _a[exports.CHAIN_IDs.LINEA] = {

publicRPC: "https://rpc.linea.build",
blockExplorer: "https://lineascan.build"
blockExplorer: "https://lineascan.build",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -123,3 +132,4 @@ _a[exports.CHAIN_IDs.LISK] = {

publicRPC: "https://rpc.api.lisk.com",
blockExplorer: "https://blockscout.lisk.com"
blockExplorer: "https://blockscout.lisk.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -131,3 +141,4 @@ _a[exports.CHAIN_IDs.MAINNET] = {

publicRPC: "https://eth.llamarpc.com",
blockExplorer: "https://etherscan.io"
blockExplorer: "https://etherscan.io",
cctpDomain: 0,
},

@@ -139,3 +150,4 @@ _a[exports.CHAIN_IDs.MODE] = {

publicRPC: "https://mainnet.mode.network",
blockExplorer: "https://explorer.mode.network"
blockExplorer: "https://explorer.mode.network",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -147,3 +159,4 @@ _a[exports.CHAIN_IDs.OPTIMISM] = {

publicRPC: "https://mainnet.optimism.io",
blockExplorer: "https://optimistic.etherscan.io"
blockExplorer: "https://optimistic.etherscan.io",
cctpDomain: 2,
},

@@ -155,3 +168,4 @@ _a[exports.CHAIN_IDs.POLYGON] = {

publicRPC: "https://polygon-rpc.com",
blockExplorer: "https://polygonscan.com"
blockExplorer: "https://polygonscan.com",
cctpDomain: 7,
},

@@ -162,4 +176,5 @@ _a[exports.CHAIN_IDs.REDSTONE] = {

nativeToken: "ETH",
publicRPC: "https://rpc.redstonechain.com ",
publicRPC: "https://rpc.redstonechain.com",
blockExplorer: "https://explorer.redstone.xyz",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -171,3 +186,4 @@ _a[exports.CHAIN_IDs.SCROLL] = {

publicRPC: "https://rpc.scroll.io",
blockExplorer: "https://scrollscan.com"
blockExplorer: "https://scrollscan.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -178,4 +194,5 @@ _a[exports.CHAIN_IDs.SONEIUM] = {

nativeToken: "ETH",
publicRPC: "https://rpc.soneium.org ",
blockExplorer: "https://soneium.blockscout.com"
publicRPC: "https://rpc.soneium.org",
blockExplorer: "https://soneium.blockscout.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -187,3 +204,4 @@ _a[exports.CHAIN_IDs.SUPERSEED] = {

publicRPC: "https://mainnet.superseed.xyz",
blockExplorer: ""
blockExplorer: "",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -196,2 +214,3 @@ _a[exports.CHAIN_IDs.WORLD_CHAIN] = {

blockExplorer: "https://worldchain-mainnet-explorer.alchemy.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -203,3 +222,4 @@ _a[exports.CHAIN_IDs.ZK_SYNC] = {

publicRPC: "https://mainnet.era.zksync.io",
blockExplorer: "https://era.zksync.network"
blockExplorer: "https://era.zksync.network",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -212,2 +232,3 @@ _a[exports.CHAIN_IDs.ZORA] = {

blockExplorer: "https://zorascan.xyz",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -221,3 +242,4 @@ _a);

publicRPC: "https://sepolia-rollup.arbitrum.io/rpc",
blockExplorer: "https://sepolia.arbiscan.io"
blockExplorer: "https://sepolia.arbiscan.io",
cctpDomain: 3,
},

@@ -229,3 +251,4 @@ _b[exports.CHAIN_IDs.BASE_SEPOLIA] = {

publicRPC: "https://sepolia.base.org",
blockExplorer: "https://sepolia.basescan.org"
blockExplorer: "https://sepolia.basescan.org",
cctpDomain: 6,
},

@@ -237,3 +260,4 @@ _b[exports.CHAIN_IDs.BLAST_SEPOLIA] = {

publicRPC: "https://sepolia.blast.io",
blockExplorer: "https://sepolia.blastscan.io"
blockExplorer: "https://sepolia.blastscan.io",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -245,3 +269,4 @@ _b[exports.CHAIN_IDs.LENS_SEPOLIA] = {

publicRPC: "https://rpc.testnet.lens.dev",
blockExplorer: "https://block-explorer.testnet.lens.dev"
blockExplorer: "https://block-explorer.testnet.lens.dev",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -253,3 +278,4 @@ _b[exports.CHAIN_IDs.LISK_SEPOLIA] = {

publicRPC: "https://rpc.sepolia-api.lisk.com",
blockExplorer: "https://sepolia-blockscout.lisk.com"
blockExplorer: "https://sepolia-blockscout.lisk.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -261,3 +287,4 @@ _b[exports.CHAIN_IDs.MODE_SEPOLIA] = {

publicRPC: "https://sepolia.mode.network",
blockExplorer: "https://sepolia.explorer.mode.network"
blockExplorer: "https://sepolia.explorer.mode.network",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -269,3 +296,4 @@ _b[exports.CHAIN_IDs.OPTIMISM_SEPOLIA] = {

publicRPC: "https://sepolia.optimism.io",
blockExplorer: "https://sepolia-optimism.etherscan.io"
blockExplorer: "https://sepolia-optimism.etherscan.io",
cctpDomain: 2,
},

@@ -277,3 +305,4 @@ _b[exports.CHAIN_IDs.POLYGON_AMOY] = {

publicRPC: "https://rpc-amoy.polygon.technology",
blockExplorer: "https://amoy.polygonscan.com"
blockExplorer: "https://amoy.polygonscan.com",
cctpDomain: 7,
},

@@ -285,3 +314,4 @@ _b[exports.CHAIN_IDs.SCROLL_SEPOLIA] = {

publicRPC: "https://sepolia-rpc.scroll.io",
blockExplorer: "https://sepolia.scrollscan.com"
blockExplorer: "https://sepolia.scrollscan.com",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -293,3 +323,4 @@ _b[exports.CHAIN_IDs.SEPOLIA] = {

publicRPC: "https://sepolia.drpc.org",
blockExplorer: "https://sepolia.etherscan.io"
blockExplorer: "https://sepolia.etherscan.io",
cctpDomain: 0,
},

@@ -301,3 +332,4 @@ _b[exports.CHAIN_IDs.ZK_SYNC_SEPOLIA] = {

publicRPC: "https://sepolia.era.zksync.dev",
blockExplorer: "https://sepolia-era.zksync.network"
blockExplorer: "https://sepolia-era.zksync.network",
cctpDomain: exports.CCTP_NO_DOMAIN,
},

@@ -304,0 +336,0 @@ _b);

@@ -97,3 +97,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

blockExplorer: string;
cctpDomain: number;
}
export declare const CCTP_NO_DOMAIN = -1;
export declare const PRODUCTION_NETWORKS: {

@@ -100,0 +102,0 @@ [chainId: number]: PublicNetwork;

@@ -50,2 +50,3 @@ var _a, _b;

;
export var CCTP_NO_DOMAIN = -1;
var NONE = ChainFamily.NONE, OP_STACK = ChainFamily.OP_STACK, ORBIT = ChainFamily.ORBIT;

@@ -59,2 +60,3 @@ export var PRODUCTION_NETWORKS = (_a = {},

blockExplorer: "https://evm-explorer.alephzero.org",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -66,3 +68,4 @@ _a[CHAIN_IDs.ARBITRUM] = {

publicRPC: "https://arb1.arbitrum.io/rpc",
blockExplorer: "https://arbiscan.io"
blockExplorer: "https://arbiscan.io",
cctpDomain: 3,
},

@@ -74,3 +77,4 @@ _a[CHAIN_IDs.BASE] = {

publicRPC: "https://mainnet.base.org",
blockExplorer: "https://basescan.org"
blockExplorer: "https://basescan.org",
cctpDomain: 6,
},

@@ -82,3 +86,4 @@ _a[CHAIN_IDs.BLAST] = {

publicRPC: "https://rpc.blast.io",
blockExplorer: "https://blastscan.io"
blockExplorer: "https://blastscan.io",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -90,10 +95,12 @@ _a[CHAIN_IDs.BOBA] = {

publicRPC: "https://mainnet.boba.network",
blockExplorer: "https://blockexplorer.boba.network"
blockExplorer: "https://blockexplorer.boba.network",
cctpDomain: CCTP_NO_DOMAIN,
},
_a[CHAIN_IDs.UNICHAIN] = {
name: "Doctor Who",
name: "Unichain",
family: OP_STACK,
nativeToken: "ETH",
publicRPC: "https://mainnet.unichain.org/",
blockExplorer: "https://uniscan.xyz"
blockExplorer: "https://uniscan.xyz",
cctpDomain: 10,
},

@@ -105,3 +112,4 @@ _a[CHAIN_IDs.INK] = {

publicRPC: "https://rpc-gel.inkonchain.com",
blockExplorer: "https://explorer.inkonchain.com"
blockExplorer: "https://explorer.inkonchain.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -113,3 +121,4 @@ _a[CHAIN_IDs.LINEA] = {

publicRPC: "https://rpc.linea.build",
blockExplorer: "https://lineascan.build"
blockExplorer: "https://lineascan.build",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -121,3 +130,4 @@ _a[CHAIN_IDs.LISK] = {

publicRPC: "https://rpc.api.lisk.com",
blockExplorer: "https://blockscout.lisk.com"
blockExplorer: "https://blockscout.lisk.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -129,3 +139,4 @@ _a[CHAIN_IDs.MAINNET] = {

publicRPC: "https://eth.llamarpc.com",
blockExplorer: "https://etherscan.io"
blockExplorer: "https://etherscan.io",
cctpDomain: 0,
},

@@ -137,3 +148,4 @@ _a[CHAIN_IDs.MODE] = {

publicRPC: "https://mainnet.mode.network",
blockExplorer: "https://explorer.mode.network"
blockExplorer: "https://explorer.mode.network",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -145,3 +157,4 @@ _a[CHAIN_IDs.OPTIMISM] = {

publicRPC: "https://mainnet.optimism.io",
blockExplorer: "https://optimistic.etherscan.io"
blockExplorer: "https://optimistic.etherscan.io",
cctpDomain: 2,
},

@@ -153,3 +166,4 @@ _a[CHAIN_IDs.POLYGON] = {

publicRPC: "https://polygon-rpc.com",
blockExplorer: "https://polygonscan.com"
blockExplorer: "https://polygonscan.com",
cctpDomain: 7,
},

@@ -160,4 +174,5 @@ _a[CHAIN_IDs.REDSTONE] = {

nativeToken: "ETH",
publicRPC: "https://rpc.redstonechain.com ",
publicRPC: "https://rpc.redstonechain.com",
blockExplorer: "https://explorer.redstone.xyz",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -169,3 +184,4 @@ _a[CHAIN_IDs.SCROLL] = {

publicRPC: "https://rpc.scroll.io",
blockExplorer: "https://scrollscan.com"
blockExplorer: "https://scrollscan.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -176,4 +192,5 @@ _a[CHAIN_IDs.SONEIUM] = {

nativeToken: "ETH",
publicRPC: "https://rpc.soneium.org ",
blockExplorer: "https://soneium.blockscout.com"
publicRPC: "https://rpc.soneium.org",
blockExplorer: "https://soneium.blockscout.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -185,3 +202,4 @@ _a[CHAIN_IDs.SUPERSEED] = {

publicRPC: "https://mainnet.superseed.xyz",
blockExplorer: "" // @todo: To be added later
blockExplorer: "",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -194,2 +212,3 @@ _a[CHAIN_IDs.WORLD_CHAIN] = {

blockExplorer: "https://worldchain-mainnet-explorer.alchemy.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -201,3 +220,4 @@ _a[CHAIN_IDs.ZK_SYNC] = {

publicRPC: "https://mainnet.era.zksync.io",
blockExplorer: "https://era.zksync.network"
blockExplorer: "https://era.zksync.network",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -210,2 +230,3 @@ _a[CHAIN_IDs.ZORA] = {

blockExplorer: "https://zorascan.xyz",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -219,3 +240,4 @@ _a);

publicRPC: "https://sepolia-rollup.arbitrum.io/rpc",
blockExplorer: "https://sepolia.arbiscan.io"
blockExplorer: "https://sepolia.arbiscan.io",
cctpDomain: 3,
},

@@ -227,3 +249,4 @@ _b[CHAIN_IDs.BASE_SEPOLIA] = {

publicRPC: "https://sepolia.base.org",
blockExplorer: "https://sepolia.basescan.org"
blockExplorer: "https://sepolia.basescan.org",
cctpDomain: 6,
},

@@ -235,3 +258,4 @@ _b[CHAIN_IDs.BLAST_SEPOLIA] = {

publicRPC: "https://sepolia.blast.io",
blockExplorer: "https://sepolia.blastscan.io"
blockExplorer: "https://sepolia.blastscan.io",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -243,3 +267,4 @@ _b[CHAIN_IDs.LENS_SEPOLIA] = {

publicRPC: "https://rpc.testnet.lens.dev",
blockExplorer: "https://block-explorer.testnet.lens.dev"
blockExplorer: "https://block-explorer.testnet.lens.dev",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -251,3 +276,4 @@ _b[CHAIN_IDs.LISK_SEPOLIA] = {

publicRPC: "https://rpc.sepolia-api.lisk.com",
blockExplorer: "https://sepolia-blockscout.lisk.com"
blockExplorer: "https://sepolia-blockscout.lisk.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -259,3 +285,4 @@ _b[CHAIN_IDs.MODE_SEPOLIA] = {

publicRPC: "https://sepolia.mode.network",
blockExplorer: "https://sepolia.explorer.mode.network"
blockExplorer: "https://sepolia.explorer.mode.network",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -267,3 +294,4 @@ _b[CHAIN_IDs.OPTIMISM_SEPOLIA] = {

publicRPC: "https://sepolia.optimism.io",
blockExplorer: "https://sepolia-optimism.etherscan.io"
blockExplorer: "https://sepolia-optimism.etherscan.io",
cctpDomain: 2,
},

@@ -275,3 +303,4 @@ _b[CHAIN_IDs.POLYGON_AMOY] = {

publicRPC: "https://rpc-amoy.polygon.technology",
blockExplorer: "https://amoy.polygonscan.com"
blockExplorer: "https://amoy.polygonscan.com",
cctpDomain: 7,
},

@@ -283,3 +312,4 @@ _b[CHAIN_IDs.SCROLL_SEPOLIA] = {

publicRPC: "https://sepolia-rpc.scroll.io",
blockExplorer: "https://sepolia.scrollscan.com"
blockExplorer: "https://sepolia.scrollscan.com",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -291,3 +321,4 @@ _b[CHAIN_IDs.SEPOLIA] = {

publicRPC: "https://sepolia.drpc.org",
blockExplorer: "https://sepolia.etherscan.io"
blockExplorer: "https://sepolia.etherscan.io",
cctpDomain: 0,
},

@@ -299,3 +330,4 @@ _b[CHAIN_IDs.ZK_SYNC_SEPOLIA] = {

publicRPC: "https://sepolia.era.zksync.dev",
blockExplorer: "https://sepolia-era.zksync.network"
blockExplorer: "https://sepolia-era.zksync.network",
cctpDomain: CCTP_NO_DOMAIN,
},

@@ -302,0 +334,0 @@ _b);

@@ -97,3 +97,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

blockExplorer: string;
cctpDomain: number;
}
export declare const CCTP_NO_DOMAIN = -1;
export declare const PRODUCTION_NETWORKS: {

@@ -100,0 +102,0 @@ [chainId: number]: PublicNetwork;

{
"name": "@across-protocol/constants",
"version": "3.1.33",
"version": "3.1.34",
"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