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

@across-protocol/constants

Package Overview
Dependencies
Maintainers
0
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.6 to 3.1.7

4

dist/cjs/networks.d.ts

@@ -63,2 +63,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

};
declare enum ChainFamily {
OP_STACK = 0
}
interface PublicNetwork {

@@ -68,2 +71,3 @@ name: string;

blockExplorer: string;
family?: ChainFamily;
}

@@ -70,0 +74,0 @@ export declare const PRODUCTION_NETWORKS: {

@@ -34,29 +34,133 @@ "use strict";

exports.CHAIN_IDs = tslib_1.__assign(tslib_1.__assign({}, exports.MAINNET_CHAIN_IDs), exports.TESTNET_CHAIN_IDs);
var ChainFamily;
(function (ChainFamily) {
ChainFamily[ChainFamily["OP_STACK"] = 0] = "OP_STACK";
})(ChainFamily || (ChainFamily = {}));
;
var OP_STACK = ChainFamily.OP_STACK;
exports.PRODUCTION_NETWORKS = (_a = {},
_a[exports.CHAIN_IDs.ARBITRUM] = { name: "Arbitrum One", nativeToken: "ETH", blockExplorer: "https://arbiscan.io" },
_a[exports.CHAIN_IDs.BASE] = { name: "Base", nativeToken: "ETH", blockExplorer: "https://basescan.org" },
_a[exports.CHAIN_IDs.BLAST] = { name: "Blast", nativeToken: "ETH", blockExplorer: "https://blastscan.io" },
_a[exports.CHAIN_IDs.BOBA] = { name: "Boba", nativeToken: "ETH", blockExplorer: "https://blockexplorer.boba.network" },
_a[exports.CHAIN_IDs.LINEA] = { name: "Linea", nativeToken: "ETH", blockExplorer: "https://lineascan.build" },
_a[exports.CHAIN_IDs.LISK] = { name: "Lisk", nativeToken: "ETH", blockExplorer: "https://blockscout.lisk.com" },
_a[exports.CHAIN_IDs.MAINNET] = { name: "Mainnet", nativeToken: "ETH", blockExplorer: "https://etherscan.io" },
_a[exports.CHAIN_IDs.MODE] = { name: "Mode", nativeToken: "ETH", blockExplorer: "https://explorer.mode.network" },
_a[exports.CHAIN_IDs.OPTIMISM] = { name: "Optimism", nativeToken: "ETH", blockExplorer: "https://optimistic.etherscan.io" },
_a[exports.CHAIN_IDs.POLYGON] = { name: "Polygon", nativeToken: "MATIC", blockExplorer: "https://polygonscan.com" },
_a[exports.CHAIN_IDs.SCROLL] = { name: "Scroll", nativeToken: "ETH", blockExplorer: "https://scrollscan.com" },
_a[exports.CHAIN_IDs.ZK_SYNC] = { name: "zkSync", nativeToken: "ETH", blockExplorer: "https://era.zksync.network" },
_a[exports.CHAIN_IDs.ARBITRUM] = {
name: "Arbitrum One",
nativeToken: "ETH",
blockExplorer: "https://arbiscan.io"
},
_a[exports.CHAIN_IDs.BASE] = {
name: "Base",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://basescan.org"
},
_a[exports.CHAIN_IDs.BLAST] = {
name: "Blast",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://blastscan.io"
},
_a[exports.CHAIN_IDs.BOBA] = {
name: "Boba",
nativeToken: "ETH",
blockExplorer: "https://blockexplorer.boba.network"
},
_a[exports.CHAIN_IDs.LINEA] = {
name: "Linea",
nativeToken: "ETH",
blockExplorer: "https://lineascan.build"
},
_a[exports.CHAIN_IDs.LISK] = {
name: "Lisk",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://blockscout.lisk.com"
},
_a[exports.CHAIN_IDs.MAINNET] = {
name: "Mainnet",
nativeToken: "ETH",
blockExplorer: "https://etherscan.io"
},
_a[exports.CHAIN_IDs.MODE] = {
name: "Mode",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://explorer.mode.network"
},
_a[exports.CHAIN_IDs.OPTIMISM] = {
name: "Optimism",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://optimistic.etherscan.io"
},
_a[exports.CHAIN_IDs.POLYGON] = {
name: "Polygon",
nativeToken: "MATIC",
blockExplorer: "https://polygonscan.com"
},
_a[exports.CHAIN_IDs.SCROLL] = {
name: "Scroll",
nativeToken: "ETH",
blockExplorer: "https://scrollscan.com"
},
_a[exports.CHAIN_IDs.ZK_SYNC] = {
name: "zkSync",
nativeToken: "ETH",
blockExplorer: "https://era.zksync.network"
},
_a);
exports.TEST_NETWORKS = (_b = {},
_b[exports.CHAIN_IDs.ARBITRUM_SEPOLIA] = { name: "Arbitrum Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.arbiscan.io" },
_b[exports.CHAIN_IDs.BASE_SEPOLIA] = { name: "Base Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.basescan.org" },
_b[exports.CHAIN_IDs.BLAST_SEPOLIA] = { name: "Blast Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.blastscan.io" },
_b[exports.CHAIN_IDs.LISK_SEPOLIA] = { name: "Lisk Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-blockscout.lisk.com" },
_b[exports.CHAIN_IDs.MODE_SEPOLIA] = { name: "Mode Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.explorer.mode.network" },
_b[exports.CHAIN_IDs.OPTIMISM_SEPOLIA] = { name: "Optimism Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-optimism.etherscan.io" },
_b[exports.CHAIN_IDs.POLYGON_AMOY] = { name: "Polygon Amoy", nativeToken: "MATIC", blockExplorer: "https://amoy.polygonscan.com" },
_b[exports.CHAIN_IDs.SCROLL_SEPOLIA] = { name: "Scroll Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.scrollscan.com" },
_b[exports.CHAIN_IDs.SEPOLIA] = { name: "Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.etherscan.io" },
_b[exports.CHAIN_IDs.ZK_SYNC_SEPOLIA] = { name: "zkSync Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-era.zksync.network" },
_b[exports.CHAIN_IDs.ARBITRUM_SEPOLIA] = {
name: "Arbitrum Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.arbiscan.io"
},
_b[exports.CHAIN_IDs.BASE_SEPOLIA] = {
name: "Base Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.basescan.org"
},
_b[exports.CHAIN_IDs.BLAST_SEPOLIA] = {
name: "Blast Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.blastscan.io"
},
_b[exports.CHAIN_IDs.LISK_SEPOLIA] = {
name: "Lisk Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia-blockscout.lisk.com"
},
_b[exports.CHAIN_IDs.MODE_SEPOLIA] = {
name: "Mode Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.explorer.mode.network"
},
_b[exports.CHAIN_IDs.OPTIMISM_SEPOLIA] = {
name: "Optimism Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia-optimism.etherscan.io"
},
_b[exports.CHAIN_IDs.POLYGON_AMOY] = {
name: "Polygon Amoy",
nativeToken: "MATIC",
blockExplorer: "https://amoy.polygonscan.com"
},
_b[exports.CHAIN_IDs.SCROLL_SEPOLIA] = {
name: "Scroll Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.scrollscan.com"
},
_b[exports.CHAIN_IDs.SEPOLIA] = {
name: "Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.etherscan.io"
},
_b[exports.CHAIN_IDs.ZK_SYNC_SEPOLIA] = {
name: "zkSync Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia-era.zksync.network"
},
_b);
exports.PUBLIC_NETWORKS = tslib_1.__assign(tslib_1.__assign({}, exports.PRODUCTION_NETWORKS), exports.TEST_NETWORKS);
//# sourceMappingURL=networks.js.map

@@ -63,2 +63,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

};
declare enum ChainFamily {
OP_STACK = 0
}
interface PublicNetwork {

@@ -68,2 +71,3 @@ name: string;

blockExplorer: string;
family?: ChainFamily;
}

@@ -70,0 +74,0 @@ export declare const PRODUCTION_NETWORKS: {

@@ -32,29 +32,133 @@ var _a, _b;

export var CHAIN_IDs = __assign(__assign({}, MAINNET_CHAIN_IDs), TESTNET_CHAIN_IDs);
var ChainFamily;
(function (ChainFamily) {
ChainFamily[ChainFamily["OP_STACK"] = 0] = "OP_STACK";
})(ChainFamily || (ChainFamily = {}));
;
var OP_STACK = ChainFamily.OP_STACK;
export var PRODUCTION_NETWORKS = (_a = {},
_a[CHAIN_IDs.ARBITRUM] = { name: "Arbitrum One", nativeToken: "ETH", blockExplorer: "https://arbiscan.io" },
_a[CHAIN_IDs.BASE] = { name: "Base", nativeToken: "ETH", blockExplorer: "https://basescan.org" },
_a[CHAIN_IDs.BLAST] = { name: "Blast", nativeToken: "ETH", blockExplorer: "https://blastscan.io" },
_a[CHAIN_IDs.BOBA] = { name: "Boba", nativeToken: "ETH", blockExplorer: "https://blockexplorer.boba.network" },
_a[CHAIN_IDs.LINEA] = { name: "Linea", nativeToken: "ETH", blockExplorer: "https://lineascan.build" },
_a[CHAIN_IDs.LISK] = { name: "Lisk", nativeToken: "ETH", blockExplorer: "https://blockscout.lisk.com" },
_a[CHAIN_IDs.MAINNET] = { name: "Mainnet", nativeToken: "ETH", blockExplorer: "https://etherscan.io" },
_a[CHAIN_IDs.MODE] = { name: "Mode", nativeToken: "ETH", blockExplorer: "https://explorer.mode.network" },
_a[CHAIN_IDs.OPTIMISM] = { name: "Optimism", nativeToken: "ETH", blockExplorer: "https://optimistic.etherscan.io" },
_a[CHAIN_IDs.POLYGON] = { name: "Polygon", nativeToken: "MATIC", blockExplorer: "https://polygonscan.com" },
_a[CHAIN_IDs.SCROLL] = { name: "Scroll", nativeToken: "ETH", blockExplorer: "https://scrollscan.com" },
_a[CHAIN_IDs.ZK_SYNC] = { name: "zkSync", nativeToken: "ETH", blockExplorer: "https://era.zksync.network" },
_a[CHAIN_IDs.ARBITRUM] = {
name: "Arbitrum One",
nativeToken: "ETH",
blockExplorer: "https://arbiscan.io"
},
_a[CHAIN_IDs.BASE] = {
name: "Base",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://basescan.org"
},
_a[CHAIN_IDs.BLAST] = {
name: "Blast",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://blastscan.io"
},
_a[CHAIN_IDs.BOBA] = {
name: "Boba",
nativeToken: "ETH",
blockExplorer: "https://blockexplorer.boba.network"
},
_a[CHAIN_IDs.LINEA] = {
name: "Linea",
nativeToken: "ETH",
blockExplorer: "https://lineascan.build"
},
_a[CHAIN_IDs.LISK] = {
name: "Lisk",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://blockscout.lisk.com"
},
_a[CHAIN_IDs.MAINNET] = {
name: "Mainnet",
nativeToken: "ETH",
blockExplorer: "https://etherscan.io"
},
_a[CHAIN_IDs.MODE] = {
name: "Mode",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://explorer.mode.network"
},
_a[CHAIN_IDs.OPTIMISM] = {
name: "Optimism",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://optimistic.etherscan.io"
},
_a[CHAIN_IDs.POLYGON] = {
name: "Polygon",
nativeToken: "MATIC",
blockExplorer: "https://polygonscan.com"
},
_a[CHAIN_IDs.SCROLL] = {
name: "Scroll",
nativeToken: "ETH",
blockExplorer: "https://scrollscan.com"
},
_a[CHAIN_IDs.ZK_SYNC] = {
name: "zkSync",
nativeToken: "ETH",
blockExplorer: "https://era.zksync.network"
},
_a);
export var TEST_NETWORKS = (_b = {},
_b[CHAIN_IDs.ARBITRUM_SEPOLIA] = { name: "Arbitrum Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.arbiscan.io" },
_b[CHAIN_IDs.BASE_SEPOLIA] = { name: "Base Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.basescan.org" },
_b[CHAIN_IDs.BLAST_SEPOLIA] = { name: "Blast Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.blastscan.io" },
_b[CHAIN_IDs.LISK_SEPOLIA] = { name: "Lisk Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-blockscout.lisk.com" },
_b[CHAIN_IDs.MODE_SEPOLIA] = { name: "Mode Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.explorer.mode.network" },
_b[CHAIN_IDs.OPTIMISM_SEPOLIA] = { name: "Optimism Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-optimism.etherscan.io" },
_b[CHAIN_IDs.POLYGON_AMOY] = { name: "Polygon Amoy", nativeToken: "MATIC", blockExplorer: "https://amoy.polygonscan.com" },
_b[CHAIN_IDs.SCROLL_SEPOLIA] = { name: "Scroll Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.scrollscan.com" },
_b[CHAIN_IDs.SEPOLIA] = { name: "Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.etherscan.io" },
_b[CHAIN_IDs.ZK_SYNC_SEPOLIA] = { name: "zkSync Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-era.zksync.network" },
_b[CHAIN_IDs.ARBITRUM_SEPOLIA] = {
name: "Arbitrum Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.arbiscan.io"
},
_b[CHAIN_IDs.BASE_SEPOLIA] = {
name: "Base Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.basescan.org"
},
_b[CHAIN_IDs.BLAST_SEPOLIA] = {
name: "Blast Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.blastscan.io"
},
_b[CHAIN_IDs.LISK_SEPOLIA] = {
name: "Lisk Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia-blockscout.lisk.com"
},
_b[CHAIN_IDs.MODE_SEPOLIA] = {
name: "Mode Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia.explorer.mode.network"
},
_b[CHAIN_IDs.OPTIMISM_SEPOLIA] = {
name: "Optimism Sepolia",
family: OP_STACK,
nativeToken: "ETH",
blockExplorer: "https://sepolia-optimism.etherscan.io"
},
_b[CHAIN_IDs.POLYGON_AMOY] = {
name: "Polygon Amoy",
nativeToken: "MATIC",
blockExplorer: "https://amoy.polygonscan.com"
},
_b[CHAIN_IDs.SCROLL_SEPOLIA] = {
name: "Scroll Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.scrollscan.com"
},
_b[CHAIN_IDs.SEPOLIA] = {
name: "Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia.etherscan.io"
},
_b[CHAIN_IDs.ZK_SYNC_SEPOLIA] = {
name: "zkSync Sepolia",
nativeToken: "ETH",
blockExplorer: "https://sepolia-era.zksync.network"
},
_b);
export var PUBLIC_NETWORKS = __assign(__assign({}, PRODUCTION_NETWORKS), TEST_NETWORKS);
//# sourceMappingURL=networks.js.map

@@ -63,2 +63,5 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: {

};
declare enum ChainFamily {
OP_STACK = 0
}
interface PublicNetwork {

@@ -68,2 +71,3 @@ name: string;

blockExplorer: string;
family?: ChainFamily;
}

@@ -70,0 +74,0 @@ export declare const PRODUCTION_NETWORKS: {

2

package.json
{
"name": "@across-protocol/constants",
"version": "3.1.6",
"version": "3.1.7",
"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

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