@ethereum-tag-service/contracts
Version:
Composable content tagging service for Web3
19 lines (16 loc) • 682 B
TypeScript
import { Chain } from 'viem/chains';
type MultiChainConfig = {
[chainId: string]: Chain;
} & {
readonly [K in "84532" | "31337"]: Chain;
};
declare const chains: MultiChainConfig;
type SupportedChainId = keyof typeof chains;
type SupportedChain = (typeof chains)[SupportedChainId];
declare const availableChainIds: SupportedChainId[];
declare const networkNames: {
[K in SupportedChainId]: string;
};
type NetworkName = (typeof networkNames)[SupportedChainId];
declare const availableNetworkNames: string[];
export { type MultiChainConfig, type NetworkName, type SupportedChain, type SupportedChainId, availableChainIds, availableNetworkNames, chains, networkNames };