@across-protocol/contracts 4.0.0-beta.3 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@ exports.OP_STACK_ADDRESS_MAP = {
81
81
  L1CrossDomainMessenger: "0x5D4472f31Bd9385709ec61305AFc749F0fA8e9d0",
82
82
  L1StandardBridge: "0x697402166Fbf2F22E970df8a6486Ef171dbfc524",
83
83
  },
84
- [utils_1.CHAIN_IDs.DOCTOR_WHO]: {
84
+ [utils_1.CHAIN_IDs.UNICHAIN]: {
85
85
  L1CrossDomainMessenger: "0x9A3D64E386C18Cb1d6d5179a9596A4B5736e98A6",
86
86
  L1StandardBridge: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA",
87
87
  },
@@ -222,7 +222,7 @@ exports.L2_ADDRESS_MAP = {
222
222
  l2Weth: "0x3ab6C7AEb93A1CFC64AEEa8BF0f00c176EE42A2C",
223
223
  polygonZkEvmBridge: "0xF6BEEeBB578e214CA9E23B0e9683454Ff88Ed2A7",
224
224
  },
225
- [utils_1.CHAIN_IDs.DOCTOR_WHO]: {
225
+ [utils_1.CHAIN_IDs.UNICHAIN]: {
226
226
  cctpTokenMessenger: "0x4e744b28E787c3aD0e810eD65A24461D4ac5a762",
227
227
  cctpMessageTransmitter: "0x353bE9E2E38AB1D19104534e4edC21c643Df86f4",
228
228
  },
@@ -337,9 +337,9 @@ const config = {
337
337
  accounts: { mnemonic },
338
338
  companionNetworks: { l1: "mainnet" },
339
339
  },
340
- doctorwho: {
341
- chainId: constants_1.CHAIN_IDs.DOCTOR_WHO,
342
- url: "https://doctor-who-mainnet.g.alchemy.com/public",
340
+ unichain: {
341
+ chainId: constants_1.CHAIN_IDs.UNICHAIN,
342
+ url: "https://mainnet.unichain.org",
343
343
  saveDeployments: true,
344
344
  accounts: { mnemonic },
345
345
  companionNetworks: { l1: "mainnet" },
@@ -375,7 +375,7 @@ const config = {
375
375
  alephzero: "blockscout",
376
376
  ink: "blockscout",
377
377
  soneium: "blockscout",
378
- doctorwho: "blockscout",
378
+ unichain: process.env.UNISCAN_API_KEY,
379
379
  },
380
380
  customChains: [
381
381
  {
@@ -563,11 +563,11 @@ const config = {
563
563
  },
564
564
  },
565
565
  {
566
- network: "doctorwho",
567
- chainId: constants_1.CHAIN_IDs.DOCTOR_WHO,
566
+ network: "unichain",
567
+ chainId: constants_1.CHAIN_IDs.UNICHAIN,
568
568
  urls: {
569
- apiURL: "https://doctor-who.blockscout.com/api",
570
- browserURL: "https://doctorwho.blockscout.com",
569
+ apiURL: "https://api.uniscan.xyz/api",
570
+ browserURL: "https://uniscan.xyz",
571
571
  },
572
572
  },
573
573
  ],
@@ -1,4 +1,4 @@
1
- export { CHAIN_IDs, MAINNET_CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
1
+ export { CHAIN_IDs, MAINNET_CHAIN_IDs, PRODUCTION_NETWORKS, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
2
2
  export declare const FillStatus: {
3
3
  Unfilled: number;
4
4
  RequestedSlowFill: number;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FillStatus = exports.TOKEN_SYMBOLS_MAP = exports.MAINNET_CHAIN_IDs = exports.CHAIN_IDs = void 0;
3
+ exports.FillStatus = exports.TOKEN_SYMBOLS_MAP = exports.PRODUCTION_NETWORKS = exports.MAINNET_CHAIN_IDs = exports.CHAIN_IDs = void 0;
4
4
  var constants_1 = require("@across-protocol/constants");
5
5
  Object.defineProperty(exports, "CHAIN_IDs", { enumerable: true, get: function () { return constants_1.CHAIN_IDs; } });
6
6
  Object.defineProperty(exports, "MAINNET_CHAIN_IDs", { enumerable: true, get: function () { return constants_1.MAINNET_CHAIN_IDs; } });
7
+ Object.defineProperty(exports, "PRODUCTION_NETWORKS", { enumerable: true, get: function () { return constants_1.PRODUCTION_NETWORKS; } });
7
8
  Object.defineProperty(exports, "TOKEN_SYMBOLS_MAP", { enumerable: true, get: function () { return constants_1.TOKEN_SYMBOLS_MAP; } });
8
9
  exports.FillStatus = {
9
10
  Unfilled: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@across-protocol/contracts",
3
- "version": "4.0.0-beta.3",
3
+ "version": "4.0.1",
4
4
  "author": "UMA Team",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -42,7 +42,7 @@
42
42
  "pre-commit-hook": "sh scripts/preCommitHook.sh"
43
43
  },
44
44
  "dependencies": {
45
- "@across-protocol/constants": "^3.1.32",
45
+ "@across-protocol/constants": "^3.1.35",
46
46
  "@coral-xyz/anchor": "^0.30.1",
47
47
  "@defi-wonderland/smock": "^2.3.4",
48
48
  "@eth-optimism/contracts": "^0.5.40",