Skip to content
docs

LIDO_ADDRESS_MAP

const LIDO_ADDRESS_MAP: Record<number, LidoDeployment>

Defined in: protocol-staking-lido-evm/src/lido-address-map.ts:26

Lido contract addresses and EIP-2612 permit domains, keyed by chain id.

The permit domain versions are NOT guessable from the token names: they were verified against each token’s on-chain DOMAIN_SEPARATOR (stETH signs as version “2”, wstETH as version “1”). A wrong version produces a signature that recovers to a different address — the permit call reverts with no useful message, and the protocol silently falls back to the two-transaction approve + request path.

Only mainnet ships as a default: other deployments (e.g. the Hoodi testnet) must be passed explicitly through the protocol’s config.addresses / config.permitDomains so that nobody stakes against an unverified address that a default quietly supplied.