@rareprotocol/rare-cli 1.2.0 → 1.2.2

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.
package/dist/contracts.js CHANGED
@@ -65,12 +65,18 @@ var contractAddresses = {
65
65
  base: {
66
66
  factory: getAddress("0xf776204233bfb52ba0ddff24810cbdbf3dbf94dd"),
67
67
  auction: getAddress("0x51c36ffb05e17ed80ee5c02fa83d7677c5613de2"),
68
- rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae")
68
+ rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae"),
69
+ liquidFactory: getAddress("0x54016106A92895a38E54cA286216416750e517b1"),
70
+ swapRouter: getAddress("0x6d078A410ee2AD08cACD8d22b486365433e98b7b"),
71
+ v4Quoter: getAddress("0x0d5e0f971ed27fbff6c2837bf31316121532048d")
69
72
  },
70
73
  "base-sepolia": {
71
74
  factory: getAddress("0x2b181ae0f1aea6fed75591b04991b1a3f9868d51"),
72
75
  auction: getAddress("0x1f0c946f0ee87acb268d50ede6c9b4d010af65d2"),
73
- rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229")
76
+ rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229"),
77
+ liquidFactory: getAddress("0x912ecC55445d87149d09d83426D0aC41379bB643"),
78
+ swapRouter: getAddress("0x92438008608949E2C7eCef34c474792bAFe8a971"),
79
+ v4Quoter: getAddress("0x4a6513c898fe1b2d0e78d3b0e0a4a151589b1cba")
74
80
  }
75
81
  };
76
82
  var ccipChainSelectors = {
@@ -273,21 +279,21 @@ function isSupportedChain(value) {
273
279
  function getLiquidFactoryAddress(chain) {
274
280
  const address = getContractAddresses(chain).liquidFactory;
275
281
  if (!address) {
276
- throw new Error(`Liquid Editions factory is not configured for "${chain}". Supported chains: mainnet, sepolia`);
282
+ throw new Error(`Liquid Editions factory is not configured for "${chain}". Supported chains: mainnet, sepolia, base, base-sepolia`);
277
283
  }
278
284
  return address;
279
285
  }
280
286
  function getSwapRouterAddress(chain) {
281
287
  const address = getContractAddresses(chain).swapRouter;
282
288
  if (!address) {
283
- throw new Error(`Liquid router is not configured for "${chain}". Supported chains: mainnet, sepolia`);
289
+ throw new Error(`Liquid router is not configured for "${chain}". Supported chains: mainnet, sepolia, base, base-sepolia`);
284
290
  }
285
291
  return address;
286
292
  }
287
293
  function getV4QuoterAddress(chain) {
288
294
  const address = getContractAddresses(chain).v4Quoter;
289
295
  if (!address) {
290
- throw new Error(`Uniswap V4 quoter is not configured for "${chain}". Supported chains: mainnet, sepolia`);
296
+ throw new Error(`Uniswap V4 quoter is not configured for "${chain}". Supported chains: mainnet, sepolia, base, base-sepolia`);
291
297
  }
292
298
  return address;
293
299
  }