@rhinestone/shared-configs 1.11.0 → 1.11.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.
package/dist/configs/chains.json
CHANGED
|
@@ -1523,6 +1523,16 @@
|
|
|
1523
1523
|
"ECO"
|
|
1524
1524
|
],
|
|
1525
1525
|
"symbol": "WETH"
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"address": "0x768F42455A2D082E23ceeF7d51e5787C82d67a39",
|
|
1529
|
+
"approvalSlot": 1,
|
|
1530
|
+
"balanceSlot": 0,
|
|
1531
|
+
"decimals": 6,
|
|
1532
|
+
"pegGroup": "USD",
|
|
1533
|
+
"priceSymbol": "USDC",
|
|
1534
|
+
"symbol": "ensUSDC",
|
|
1535
|
+
"unpriced": true
|
|
1526
1536
|
}
|
|
1527
1537
|
],
|
|
1528
1538
|
"vmType": "evm",
|
|
@@ -3,16 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const bun_test_1 = require("bun:test");
|
|
4
4
|
const index_1 = require("../index");
|
|
5
5
|
(0, bun_test_1.describe)("chainHasUnpricedTokens", () => {
|
|
6
|
-
(0, bun_test_1.it)("returns true for chains that register an `unpriced` token (
|
|
6
|
+
(0, bun_test_1.it)("returns true for chains that register an `unpriced` token (MockUSD on Base Sepolia, ensUSDC on Sepolia)", () => {
|
|
7
7
|
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.TestnetNetwork.BASE_SEPOLIA)).toBe(true);
|
|
8
|
+
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.TestnetNetwork.ETHEREUM_SEPOLIA)).toBe(true);
|
|
8
9
|
});
|
|
9
10
|
(0, bun_test_1.it)("returns false for chains whose registered tokens are all priced", () => {
|
|
10
11
|
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.MainnetNetwork.ETHEREUM)).toBe(false);
|
|
11
12
|
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.MainnetNetwork.BASE)).toBe(false);
|
|
12
13
|
});
|
|
13
14
|
(0, bun_test_1.it)("returns false for testnet chains that have no `unpriced` tokens registered", () => {
|
|
14
|
-
//
|
|
15
|
-
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.TestnetNetwork.ETHEREUM_SEPOLIA)).toBe(false);
|
|
15
|
+
// Arb Sepolia / OP Sepolia register only real, priced tokens
|
|
16
16
|
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.TestnetNetwork.OPTIMISM_SEPOLIA)).toBe(false);
|
|
17
17
|
(0, bun_test_1.expect)((0, index_1.chainHasUnpricedTokens)(index_1.TestnetNetwork.ARBITRUM_SEPOLIA)).toBe(false);
|
|
18
18
|
});
|
package/dist/src/chains.js
CHANGED
|
@@ -1609,6 +1609,16 @@ const chains = {
|
|
|
1609
1609
|
"ECO"
|
|
1610
1610
|
],
|
|
1611
1611
|
"symbol": "WETH"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"address": "0x768F42455A2D082E23ceeF7d51e5787C82d67a39",
|
|
1615
|
+
"approvalSlot": 1,
|
|
1616
|
+
"balanceSlot": 0,
|
|
1617
|
+
"decimals": 6,
|
|
1618
|
+
"pegGroup": "USD",
|
|
1619
|
+
"priceSymbol": "USDC",
|
|
1620
|
+
"symbol": "ensUSDC",
|
|
1621
|
+
"unpriced": true
|
|
1612
1622
|
}
|
|
1613
1623
|
],
|
|
1614
1624
|
"vmType": "evm",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const PACKAGE_VERSION = "1.11.
|
|
1
|
+
declare const PACKAGE_VERSION = "1.11.1";
|
|
2
2
|
export { PACKAGE_VERSION };
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PACKAGE_VERSION = void 0;
|
|
4
4
|
// Auto-generated by scripts/generate.ts. Do not edit manually.
|
|
5
|
-
const PACKAGE_VERSION = "1.11.
|
|
5
|
+
const PACKAGE_VERSION = "1.11.1";
|
|
6
6
|
exports.PACKAGE_VERSION = PACKAGE_VERSION;
|