@chorus-one/ethereum
Version:
All-in-one toolkit for building staking dApps on Ethereum network
18 lines (17 loc) • 617 B
TypeScript
import { Hex } from 'viem';
import { Networks } from '../types/networks';
export interface NetworkConfig {
depositContractAddress: Hex;
withdrawalContractAddress: Hex;
excessInhibitor: Hex;
compoundingFeeAddition: bigint;
excessWithdrawalRequestsStorageSlot: bigint;
consolidationRequestFeeAddition: bigint;
minConsolidationRequestFee: bigint;
}
/**
* Gets the network configuration based on the network name
* @param network - The network name ('ethereum' or 'hoodi')
* @returns The network configuration
*/
export declare function getNetworkConfig(network: Networks): NetworkConfig;