@across-protocol/constants
Advanced tools
Comparing version 3.1.25 to 3.1.26
@@ -13,2 +13,3 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
}; | ||
@@ -27,2 +28,3 @@ export declare const TESTNET_CHAIN_IDs: { | ||
readonly ZK_SYNC_SEPOLIA: number; | ||
readonly LENS_SEPOLIA: number; | ||
}; | ||
@@ -61,2 +63,3 @@ export declare const MAINNET_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
ALEPH_ZERO: number; | ||
@@ -84,3 +87,4 @@ ARBITRUM: number; | ||
OP_STACK = 1, | ||
ORBIT = 2 | ||
ORBIT = 2, | ||
ZK_STACK = 3 | ||
} | ||
@@ -87,0 +91,0 @@ interface PublicNetwork { |
@@ -18,2 +18,3 @@ "use strict"; | ||
ZK_SYNC_SEPOLIA: 300, | ||
LENS_SEPOLIA: 37111, | ||
}; | ||
@@ -47,2 +48,3 @@ exports.TESTNET_CHAIN_IDs = tslib_1.__assign({}, exports.TESTNET_SEPOLIA_CHAIN_IDs); | ||
ChainFamily[ChainFamily["ORBIT"] = 2] = "ORBIT"; | ||
ChainFamily[ChainFamily["ZK_STACK"] = 3] = "ZK_STACK"; | ||
})(ChainFamily || (exports.ChainFamily = ChainFamily = {})); | ||
@@ -222,4 +224,10 @@ ; | ||
}, | ||
_b[exports.CHAIN_IDs.LENS_SEPOLIA] = { | ||
name: "Lens Sepolia", | ||
family: ChainFamily.ZK_STACK, | ||
nativeToken: "GRASS", | ||
blockExplorer: "https://block-explorer.testnet.lens.dev" | ||
}, | ||
_b); | ||
exports.PUBLIC_NETWORKS = tslib_1.__assign(tslib_1.__assign({}, exports.PRODUCTION_NETWORKS), exports.TEST_NETWORKS); | ||
//# sourceMappingURL=networks.js.map |
@@ -227,2 +227,20 @@ export declare const TOKEN_SYMBOLS_MAP: { | ||
}; | ||
GRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
WGRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
}; | ||
@@ -229,0 +247,0 @@ export declare const TOKEN_EQUIVALENCE_REMAPPING: { |
"use strict"; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -125,2 +125,3 @@ exports.TOKEN_EQUIVALENCE_REMAPPING = exports.TOKEN_SYMBOLS_MAP = void 0; | ||
_h[networks_1.CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006", | ||
_h[networks_1.CHAIN_IDs.LENS_SEPOLIA] = "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", | ||
_h), | ||
@@ -363,2 +364,3 @@ coingeckoId: "ethereum", | ||
_z[networks_1.CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006", | ||
_z[networks_1.CHAIN_IDs.LENS_SEPOLIA] = "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", | ||
_z), | ||
@@ -379,9 +381,29 @@ coingeckoId: "weth", | ||
}, | ||
GRASS: { | ||
name: "Grass", | ||
symbol: "GRASS", | ||
decimals: 18, | ||
addresses: (_1 = {}, | ||
_1[networks_1.CHAIN_IDs.LENS_SEPOLIA] = "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8", | ||
_1[networks_1.CHAIN_IDs.SEPOLIA] = "0x8D725d9dBBb5E0667efeDC833D6A9e8C6cA02C68", | ||
_1), | ||
coingeckoId: "grass" | ||
}, | ||
WGRASS: { | ||
name: "Wrapped Grass", | ||
symbol: "WGRASS", | ||
decimals: 18, | ||
addresses: (_2 = {}, | ||
_2[networks_1.CHAIN_IDs.LENS_SEPOLIA] = "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8", | ||
_2[networks_1.CHAIN_IDs.SEPOLIA] = "0x8D725d9dBBb5E0667efeDC833D6A9e8C6cA02C68", | ||
_2), | ||
coingeckoId: "wgrass" | ||
}, | ||
}; | ||
exports.TOKEN_EQUIVALENCE_REMAPPING = (_1 = {}, | ||
_1[exports.TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[exports.TOKEN_SYMBOLS_MAP["USDbC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[exports.TOKEN_SYMBOLS_MAP["USDzC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[exports.TOKEN_SYMBOLS_MAP["USDB"].symbol] = exports.TOKEN_SYMBOLS_MAP["DAI"].symbol, | ||
_1); | ||
exports.TOKEN_EQUIVALENCE_REMAPPING = (_3 = {}, | ||
_3[exports.TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[exports.TOKEN_SYMBOLS_MAP["USDbC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[exports.TOKEN_SYMBOLS_MAP["USDzC"].symbol] = exports.TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[exports.TOKEN_SYMBOLS_MAP["USDB"].symbol] = exports.TOKEN_SYMBOLS_MAP["DAI"].symbol, | ||
_3); | ||
//# sourceMappingURL=tokens.js.map |
@@ -13,2 +13,3 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
}; | ||
@@ -27,2 +28,3 @@ export declare const TESTNET_CHAIN_IDs: { | ||
readonly ZK_SYNC_SEPOLIA: number; | ||
readonly LENS_SEPOLIA: number; | ||
}; | ||
@@ -61,2 +63,3 @@ export declare const MAINNET_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
ALEPH_ZERO: number; | ||
@@ -84,3 +87,4 @@ ARBITRUM: number; | ||
OP_STACK = 1, | ||
ORBIT = 2 | ||
ORBIT = 2, | ||
ZK_STACK = 3 | ||
} | ||
@@ -87,0 +91,0 @@ interface PublicNetwork { |
@@ -16,2 +16,3 @@ var _a, _b; | ||
ZK_SYNC_SEPOLIA: 300, | ||
LENS_SEPOLIA: 37111, | ||
}; | ||
@@ -45,2 +46,3 @@ export var TESTNET_CHAIN_IDs = __assign({}, TESTNET_SEPOLIA_CHAIN_IDs); | ||
ChainFamily[ChainFamily["ORBIT"] = 2] = "ORBIT"; | ||
ChainFamily[ChainFamily["ZK_STACK"] = 3] = "ZK_STACK"; | ||
})(ChainFamily || (ChainFamily = {})); | ||
@@ -220,4 +222,10 @@ ; | ||
}, | ||
_b[CHAIN_IDs.LENS_SEPOLIA] = { | ||
name: "Lens Sepolia", | ||
family: ChainFamily.ZK_STACK, | ||
nativeToken: "GRASS", | ||
blockExplorer: "https://block-explorer.testnet.lens.dev" | ||
}, | ||
_b); | ||
export var PUBLIC_NETWORKS = __assign(__assign({}, PRODUCTION_NETWORKS), TEST_NETWORKS); | ||
//# sourceMappingURL=networks.js.map |
@@ -227,2 +227,20 @@ export declare const TOKEN_SYMBOLS_MAP: { | ||
}; | ||
GRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
WGRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
}; | ||
@@ -229,0 +247,0 @@ export declare const TOKEN_EQUIVALENCE_REMAPPING: { |
@@ -1,2 +0,2 @@ | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3; | ||
import { CHAIN_IDs } from "./networks"; | ||
@@ -124,2 +124,3 @@ // Information for the supported tokens on each chain. | ||
_h[CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006", | ||
_h[CHAIN_IDs.LENS_SEPOLIA] = "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", | ||
_h), | ||
@@ -363,2 +364,3 @@ coingeckoId: "ethereum", | ||
_z[CHAIN_IDs.ZORA] = "0x4200000000000000000000000000000000000006", | ||
_z[CHAIN_IDs.LENS_SEPOLIA] = "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", | ||
_z), | ||
@@ -379,11 +381,31 @@ coingeckoId: "weth", | ||
}, | ||
GRASS: { | ||
name: "Grass", | ||
symbol: "GRASS", | ||
decimals: 18, | ||
addresses: (_1 = {}, | ||
_1[CHAIN_IDs.LENS_SEPOLIA] = "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8", | ||
_1[CHAIN_IDs.SEPOLIA] = "0x8D725d9dBBb5E0667efeDC833D6A9e8C6cA02C68", | ||
_1), | ||
coingeckoId: "grass" // TODO: verify when listed | ||
}, | ||
WGRASS: { | ||
name: "Wrapped Grass", | ||
symbol: "WGRASS", | ||
decimals: 18, | ||
addresses: (_2 = {}, | ||
_2[CHAIN_IDs.LENS_SEPOLIA] = "0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8", | ||
_2[CHAIN_IDs.SEPOLIA] = "0x8D725d9dBBb5E0667efeDC833D6A9e8C6cA02C68", | ||
_2), | ||
coingeckoId: "wgrass" // TODO: verify when listed | ||
}, | ||
}; | ||
// Hard-coded mapping of token symbols that should be treated as having equivalent | ||
// prices. The right-hand side should map to a token symbol in TOKEN_SYMBOLS_MAP. | ||
export var TOKEN_EQUIVALENCE_REMAPPING = (_1 = {}, | ||
_1[TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[TOKEN_SYMBOLS_MAP["USDbC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[TOKEN_SYMBOLS_MAP["USDzC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_1[TOKEN_SYMBOLS_MAP["USDB"].symbol] = TOKEN_SYMBOLS_MAP["DAI"].symbol, | ||
_1); | ||
export var TOKEN_EQUIVALENCE_REMAPPING = (_3 = {}, | ||
_3[TOKEN_SYMBOLS_MAP["USDC.e"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[TOKEN_SYMBOLS_MAP["USDbC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[TOKEN_SYMBOLS_MAP["USDzC"].symbol] = TOKEN_SYMBOLS_MAP["USDC"].symbol, | ||
_3[TOKEN_SYMBOLS_MAP["USDB"].symbol] = TOKEN_SYMBOLS_MAP["DAI"].symbol, | ||
_3); | ||
//# sourceMappingURL=tokens.js.map |
@@ -13,2 +13,3 @@ export declare const TESTNET_SEPOLIA_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
}; | ||
@@ -27,2 +28,3 @@ export declare const TESTNET_CHAIN_IDs: { | ||
readonly ZK_SYNC_SEPOLIA: number; | ||
readonly LENS_SEPOLIA: number; | ||
}; | ||
@@ -61,2 +63,3 @@ export declare const MAINNET_CHAIN_IDs: { | ||
ZK_SYNC_SEPOLIA: number; | ||
LENS_SEPOLIA: number; | ||
ALEPH_ZERO: number; | ||
@@ -84,3 +87,4 @@ ARBITRUM: number; | ||
OP_STACK = 1, | ||
ORBIT = 2 | ||
ORBIT = 2, | ||
ZK_STACK = 3 | ||
} | ||
@@ -87,0 +91,0 @@ interface PublicNetwork { |
@@ -227,2 +227,20 @@ export declare const TOKEN_SYMBOLS_MAP: { | ||
}; | ||
GRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
WGRASS: { | ||
name: string; | ||
symbol: string; | ||
decimals: number; | ||
addresses: { | ||
[x: number]: string; | ||
}; | ||
coingeckoId: string; | ||
}; | ||
}; | ||
@@ -229,0 +247,0 @@ export declare const TOKEN_EQUIVALENCE_REMAPPING: { |
{ | ||
"name": "@across-protocol/constants", | ||
"version": "3.1.25", | ||
"version": "3.1.26", | ||
"description": "Export commonly re-used values for Across repositories", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/across-protocol/constants.git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
114228
2331