@venusprotocol/chains 0.17.0 → 0.18.0
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/build/index.d.mts +2 -1
- package/build/index.mjs +3 -2
- package/package.json +1 -1
package/build/index.d.mts
CHANGED
|
@@ -79,6 +79,7 @@ declare const MS_PER_DAY: number;
|
|
|
79
79
|
declare const viemChains: Record<ChainId, Chain$1>;
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/chains/chainMetadata/index.d.ts
|
|
82
|
+
declare const bnbChainMainnetFermiUpgradeTimestampMs: number;
|
|
82
83
|
declare const chains: Record<ChainId, Chain>;
|
|
83
84
|
//#endregion
|
|
84
85
|
//#region src/tokens/underlyingTokens/index.d.ts
|
|
@@ -123,4 +124,4 @@ declare const getBlockTimeByChainId: ({
|
|
|
123
124
|
blocksPerDay: number;
|
|
124
125
|
} | undefined;
|
|
125
126
|
//#endregion
|
|
126
|
-
export { Chain, ChainId, GetTokenInput, Hardfork, IMAGES_DIR_NAME, IMAGES_DIR_PATH, MS_PER_DAY, MainnetChainId, NATIVE_TOKEN_ADDRESS, TestnetChainId, Token, VToken, bnb, chains, eth, getBlockTimeByChainId, getRpcUrls, getToken, tokens, vTokens, viemChains };
|
|
127
|
+
export { Chain, ChainId, GetTokenInput, Hardfork, IMAGES_DIR_NAME, IMAGES_DIR_PATH, MS_PER_DAY, MainnetChainId, NATIVE_TOKEN_ADDRESS, TestnetChainId, Token, VToken, bnb, bnbChainMainnetFermiUpgradeTimestampMs, chains, eth, getBlockTimeByChainId, getRpcUrls, getToken, tokens, vTokens, viemChains };
|
package/build/index.mjs
CHANGED
|
@@ -4261,6 +4261,7 @@ const bnb = {
|
|
|
4261
4261
|
|
|
4262
4262
|
//#endregion
|
|
4263
4263
|
//#region src/chains/chainMetadata/index.ts
|
|
4264
|
+
const bnbChainMainnetFermiUpgradeTimestampMs = (/* @__PURE__ */ new Date("2026-01-14T02:30:00Z")).getTime();
|
|
4264
4265
|
const chains = {
|
|
4265
4266
|
[ChainId.BSC_MAINNET]: {
|
|
4266
4267
|
name: "BNB Chain",
|
|
@@ -4282,7 +4283,7 @@ const chains = {
|
|
|
4282
4283
|
blockTimeMs: 750
|
|
4283
4284
|
},
|
|
4284
4285
|
{
|
|
4285
|
-
startTimestamp:
|
|
4286
|
+
startTimestamp: bnbChainMainnetFermiUpgradeTimestampMs,
|
|
4286
4287
|
blockTimeMs: 450
|
|
4287
4288
|
}
|
|
4288
4289
|
],
|
|
@@ -8455,4 +8456,4 @@ const getBlockTimeByChainId = ({ chainId, targetTimestamp = (/* @__PURE__ */ new
|
|
|
8455
8456
|
};
|
|
8456
8457
|
|
|
8457
8458
|
//#endregion
|
|
8458
|
-
export { ChainId, IMAGES_DIR_NAME, IMAGES_DIR_PATH, MS_PER_DAY, MainnetChainId, NATIVE_TOKEN_ADDRESS, TestnetChainId, bnb, chains, eth, getBlockTimeByChainId, getRpcUrls, getToken, tokens, vTokens, viemChains };
|
|
8459
|
+
export { ChainId, IMAGES_DIR_NAME, IMAGES_DIR_PATH, MS_PER_DAY, MainnetChainId, NATIVE_TOKEN_ADDRESS, TestnetChainId, bnb, bnbChainMainnetFermiUpgradeTimestampMs, chains, eth, getBlockTimeByChainId, getRpcUrls, getToken, tokens, vTokens, viemChains };
|