degenbot.uniswap.deployments¶

Uniswap V2/V3/V4 deployment addresses and chain configuration.

The factory address / deployer / pool_init_hash for every V2/V3 *ExchangeDeployment are the single source of truth in registry/deployments.json (verified on-chain by the cast harness in tests/registry/test_deployment_onchain_verification.py, and cross-checked against these constants by tests/registry/test_deployments_single_source.py). The V2/V3 constants below are built from the loaded DeploymentRecord via _v2() / _v3(), so the deployer + init_hash can never drift from the JSON — only the factory address is a literal here, and it doubles as the (chain_id, factory) lookup key. A factory address absent from the JSON raises KeyError at import (fail-loud) rather than shipping a stray constant.

V4 pool_manager / state_view are singleton addresses with no factory path in the registry yet; they remain literals pending a V4 deployment-row epic.

Module Contents¶

class degenbot.uniswap.deployments.AbstractExchangeDeployment¶

AbstractExchangeDeployment class.

name: str¶
chain_id: degenbot.types.aliases.ChainId¶