-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
import type { | ||
EVM_CHAIN_ID, | ||
MAINNET_EVM_CHAIN_ID, | ||
TESTNET_EVM_CHAIN_ID, | ||
EVM_CHAIN_NAMES, | ||
MAINNET_EVM_CHAIN_NAMES, | ||
TESTNET_EVM_CHAIN_NAMES, | ||
EVM_FOLKS_CHAIN_ID, | ||
MAINNET_EVM_FOLKS_CHAIN_ID, | ||
TESTNET_EVM_FOLKS_CHAIN_ID, | ||
} from "../constants/chain.js"; | ||
|
||
export type MainnetEvmChainName = (typeof MAINNET_EVM_CHAIN_NAMES)[number]; | ||
export type TestnetEvmChainName = (typeof TESTNET_EVM_CHAIN_NAMES)[number]; | ||
export type EvmChainName = (typeof EVM_CHAIN_NAMES)[number]; | ||
|
||
export type MainnetEvmChainId = | ||
(typeof MAINNET_EVM_CHAIN_ID)[keyof typeof MAINNET_EVM_CHAIN_ID]; | ||
export type TestnetEvmChainId = | ||
(typeof TESTNET_EVM_CHAIN_ID)[keyof typeof TESTNET_EVM_CHAIN_ID]; | ||
export type EvmChainId = (typeof EVM_CHAIN_ID)[keyof typeof EVM_CHAIN_ID]; | ||
|
||
export type Mainnet = | ||
(typeof MAINNET_EVM_FOLKS_CHAIN_ID)[keyof typeof MAINNET_EVM_FOLKS_CHAIN_ID]; | ||
export type TestnetEvmFolksChainId = | ||
(typeof TESTNET_EVM_FOLKS_CHAIN_ID)[keyof typeof TESTNET_EVM_FOLKS_CHAIN_ID]; | ||
export type EvmFolksChainId = | ||
(typeof EVM_FOLKS_CHAIN_ID)[keyof typeof EVM_FOLKS_CHAIN_ID]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters