@rareprotocol/rare-cli 1.2.1 → 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/client.js +8 -2
- package/dist/contracts.js +11 -5
- package/dist/index.js +9 -3
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -53,12 +53,18 @@ var contractAddresses = {
|
|
|
53
53
|
base: {
|
|
54
54
|
factory: getAddress("0xf776204233bfb52ba0ddff24810cbdbf3dbf94dd"),
|
|
55
55
|
auction: getAddress("0x51c36ffb05e17ed80ee5c02fa83d7677c5613de2"),
|
|
56
|
-
rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae")
|
|
56
|
+
rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae"),
|
|
57
|
+
liquidFactory: getAddress("0x54016106A92895a38E54cA286216416750e517b1"),
|
|
58
|
+
swapRouter: getAddress("0x6d078A410ee2AD08cACD8d22b486365433e98b7b"),
|
|
59
|
+
v4Quoter: getAddress("0x0d5e0f971ed27fbff6c2837bf31316121532048d")
|
|
57
60
|
},
|
|
58
61
|
"base-sepolia": {
|
|
59
62
|
factory: getAddress("0x2b181ae0f1aea6fed75591b04991b1a3f9868d51"),
|
|
60
63
|
auction: getAddress("0x1f0c946f0ee87acb268d50ede6c9b4d010af65d2"),
|
|
61
|
-
rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229")
|
|
64
|
+
rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229"),
|
|
65
|
+
liquidFactory: getAddress("0x912ecC55445d87149d09d83426D0aC41379bB643"),
|
|
66
|
+
swapRouter: getAddress("0x92438008608949E2C7eCef34c474792bAFe8a971"),
|
|
67
|
+
v4Quoter: getAddress("0x4a6513c898fe1b2d0e78d3b0e0a4a151589b1cba")
|
|
62
68
|
}
|
|
63
69
|
};
|
|
64
70
|
var ccipChainSelectors = {
|
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
|
}
|
package/dist/index.js
CHANGED
|
@@ -374,12 +374,18 @@ var contractAddresses = {
|
|
|
374
374
|
base: {
|
|
375
375
|
factory: getAddress("0xf776204233bfb52ba0ddff24810cbdbf3dbf94dd"),
|
|
376
376
|
auction: getAddress("0x51c36ffb05e17ed80ee5c02fa83d7677c5613de2"),
|
|
377
|
-
rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae")
|
|
377
|
+
rareBridge: getAddress("0x3b41e21094611d152a08d3691a70837f1a077dae"),
|
|
378
|
+
liquidFactory: getAddress("0x54016106A92895a38E54cA286216416750e517b1"),
|
|
379
|
+
swapRouter: getAddress("0x6d078A410ee2AD08cACD8d22b486365433e98b7b"),
|
|
380
|
+
v4Quoter: getAddress("0x0d5e0f971ed27fbff6c2837bf31316121532048d")
|
|
378
381
|
},
|
|
379
382
|
"base-sepolia": {
|
|
380
383
|
factory: getAddress("0x2b181ae0f1aea6fed75591b04991b1a3f9868d51"),
|
|
381
384
|
auction: getAddress("0x1f0c946f0ee87acb268d50ede6c9b4d010af65d2"),
|
|
382
|
-
rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229")
|
|
385
|
+
rareBridge: getAddress("0xca491bb62A7730E97F500510132C47633DDD0229"),
|
|
386
|
+
liquidFactory: getAddress("0x912ecC55445d87149d09d83426D0aC41379bB643"),
|
|
387
|
+
swapRouter: getAddress("0x92438008608949E2C7eCef34c474792bAFe8a971"),
|
|
388
|
+
v4Quoter: getAddress("0x4a6513c898fe1b2d0e78d3b0e0a4a151589b1cba")
|
|
383
389
|
}
|
|
384
390
|
};
|
|
385
391
|
var ccipChainSelectors = {
|
|
@@ -21397,7 +21403,7 @@ function requiresExplicitConfirmation(commandPath2) {
|
|
|
21397
21403
|
// package.json
|
|
21398
21404
|
var package_default = {
|
|
21399
21405
|
name: "@rareprotocol/rare-cli",
|
|
21400
|
-
version: "1.2.
|
|
21406
|
+
version: "1.2.2",
|
|
21401
21407
|
description: "CLI tool for interacting with the RARE protocol smart contracts",
|
|
21402
21408
|
type: "module",
|
|
21403
21409
|
license: "MIT",
|