@cowprotocol/cow-sdk
Version:
## 📚 [Docs website](https://docs.cow.fi/)
5 lines (4 loc) • 368 B
TypeScript
import { SupportedChainId } from '../../chains/types';
export declare function mapSupportedNetworks<T>(value: (chainId: SupportedChainId) => T): Record<SupportedChainId, T>;
export declare function mapSupportedNetworks<T>(value: T): Record<SupportedChainId, T>;
export declare function mapAddressToSupportedNetworks(address: string): Record<SupportedChainId, string>;