All glossary terms
Architecture

Factory Pattern

A design pattern where one contract (the Factory) creates and registers other contracts (Pairs/Pools). In Uniswap V2, the Factory uses CREATE2 to deploy Pair contracts with deterministic addresses, enabling gas-efficient address computation without on-chain lookups.

Related terms in Architecture