@rhinestone/shared-configs 2.15.0 → 2.15.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 +24 -1
- package/dist/scripts/__tests__/validation.test.js +1 -0
- package/dist/src/__tests__/paymentTokens.test.js +10 -4
- package/dist/src/chains.js +24 -1
- package/dist/src/generated/packageVersion.d.ts +1 -1
- package/dist/src/generated/packageVersion.js +1 -1
- package/package.json +1 -1
package/dist/configs/chains.json
CHANGED
|
@@ -2874,7 +2874,6 @@
|
|
|
2874
2874
|
},
|
|
2875
2875
|
{
|
|
2876
2876
|
"address": "0x768F42455A2D082E23ceeF7d51e5787C82d67a39",
|
|
2877
|
-
"appFee": true,
|
|
2878
2877
|
"approvalSlot": 1,
|
|
2879
2878
|
"authorization": {
|
|
2880
2879
|
"domain": {
|
|
@@ -2896,6 +2895,30 @@
|
|
|
2896
2895
|
"priceSymbol": "USDC",
|
|
2897
2896
|
"symbol": "ensUSDC",
|
|
2898
2897
|
"unpriced": true
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"address": "0xcBFD80F74375c54E545AF34788Ff465F96F66F05",
|
|
2901
|
+
"approvalSlot": 1,
|
|
2902
|
+
"authorization": {
|
|
2903
|
+
"domain": {
|
|
2904
|
+
"chainId": 11155111,
|
|
2905
|
+
"name": "USDC",
|
|
2906
|
+
"verifyingContract": "0xcBFD80F74375c54E545AF34788Ff465F96F66F05",
|
|
2907
|
+
"version": "1"
|
|
2908
|
+
},
|
|
2909
|
+
"domainSeparator": "0x9ca6558c61a10bb82489cb06bbc485dfec461002acea9ee2e44a31fa9e4a3578",
|
|
2910
|
+
"eoaOnly": true,
|
|
2911
|
+
"standards": [
|
|
2912
|
+
"erc2612"
|
|
2913
|
+
]
|
|
2914
|
+
},
|
|
2915
|
+
"balanceSlot": 0,
|
|
2916
|
+
"decimals": 6,
|
|
2917
|
+
"gasRefund": true,
|
|
2918
|
+
"pegGroup": "USD",
|
|
2919
|
+
"priceSymbol": "USDC",
|
|
2920
|
+
"symbol": "ensUSDC2",
|
|
2921
|
+
"unpriced": true
|
|
2899
2922
|
}
|
|
2900
2923
|
],
|
|
2901
2924
|
"vmType": "evm",
|
|
@@ -94,6 +94,7 @@ function errorsFor(chain) {
|
|
|
94
94
|
["747474:0xee7d8bcfb72bc1880d0cf19822eb0a2e6577ab62", permitOnly],
|
|
95
95
|
["11155111:0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", both],
|
|
96
96
|
["11155111:0x768f42455a2d082e23ceef7d51e5787c82d67a39", permitOnly],
|
|
97
|
+
["11155111:0xcbfd80f74375c54e545af34788ff465f96f66f05", permitOnly],
|
|
97
98
|
["11155420:0x5fd84259d66cd46123540766be93dfe6d43130d7", both],
|
|
98
99
|
]);
|
|
99
100
|
const configured = new Map(Object.entries(index_1.chainRegistry).flatMap(([chainId, entry]) => entry.tokens.flatMap((token) => {
|
|
@@ -4,11 +4,17 @@ const bun_test_1 = require("bun:test");
|
|
|
4
4
|
const index_1 = require("../index");
|
|
5
5
|
const entries = Object.entries(index_1.chainRegistry);
|
|
6
6
|
/**
|
|
7
|
-
* `<chainId>:<symbol>` for a catalog token we have DECIDED not to accept
|
|
8
|
-
* payment.
|
|
9
|
-
*
|
|
7
|
+
* `<chainId>:<symbol>` for a catalog token we have DECIDED not to accept for
|
|
8
|
+
* every payment purpose. An entry here records a decision; it is not a backlog.
|
|
9
|
+
*
|
|
10
|
+
* The Sepolia ENS mocks carry `gasRefund` but deliberately not `appFee`: an
|
|
11
|
+
* app-fee carve credits a ledger that withdrawal pays out against in real
|
|
12
|
+
* stablecoin, and a freely-mintable mock must not be able to inflate it.
|
|
10
13
|
*/
|
|
11
|
-
const NOT_ACCEPTED_AS_PAYMENT = new Set(
|
|
14
|
+
const NOT_ACCEPTED_AS_PAYMENT = new Set([
|
|
15
|
+
"11155111:ensUSDC",
|
|
16
|
+
"11155111:ensUSDC2",
|
|
17
|
+
]);
|
|
12
18
|
(0, bun_test_1.describe)("payment-token eligibility", () => {
|
|
13
19
|
(0, bun_test_1.it)("is only ever present as `true`", () => {
|
|
14
20
|
// `false` and absent mean the same thing, so writing `false` would imply a
|
package/dist/src/chains.js
CHANGED
|
@@ -2968,7 +2968,6 @@ const chains = {
|
|
|
2968
2968
|
},
|
|
2969
2969
|
{
|
|
2970
2970
|
"address": "0x768F42455A2D082E23ceeF7d51e5787C82d67a39",
|
|
2971
|
-
"appFee": true,
|
|
2972
2971
|
"approvalSlot": 1,
|
|
2973
2972
|
"authorization": {
|
|
2974
2973
|
"domain": {
|
|
@@ -2990,6 +2989,30 @@ const chains = {
|
|
|
2990
2989
|
"priceSymbol": "USDC",
|
|
2991
2990
|
"symbol": "ensUSDC",
|
|
2992
2991
|
"unpriced": true
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"address": "0xcBFD80F74375c54E545AF34788Ff465F96F66F05",
|
|
2995
|
+
"approvalSlot": 1,
|
|
2996
|
+
"authorization": {
|
|
2997
|
+
"domain": {
|
|
2998
|
+
"chainId": 11155111,
|
|
2999
|
+
"name": "USDC",
|
|
3000
|
+
"verifyingContract": "0xcBFD80F74375c54E545AF34788Ff465F96F66F05",
|
|
3001
|
+
"version": "1"
|
|
3002
|
+
},
|
|
3003
|
+
"domainSeparator": "0x9ca6558c61a10bb82489cb06bbc485dfec461002acea9ee2e44a31fa9e4a3578",
|
|
3004
|
+
"eoaOnly": true,
|
|
3005
|
+
"standards": [
|
|
3006
|
+
"erc2612"
|
|
3007
|
+
]
|
|
3008
|
+
},
|
|
3009
|
+
"balanceSlot": 0,
|
|
3010
|
+
"decimals": 6,
|
|
3011
|
+
"gasRefund": true,
|
|
3012
|
+
"pegGroup": "USD",
|
|
3013
|
+
"priceSymbol": "USDC",
|
|
3014
|
+
"symbol": "ensUSDC2",
|
|
3015
|
+
"unpriced": true
|
|
2993
3016
|
}
|
|
2994
3017
|
],
|
|
2995
3018
|
"vmType": "evm",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const PACKAGE_VERSION = "2.15.
|
|
1
|
+
declare const PACKAGE_VERSION = "2.15.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 = "2.15.
|
|
5
|
+
const PACKAGE_VERSION = "2.15.1";
|
|
6
6
|
exports.PACKAGE_VERSION = PACKAGE_VERSION;
|