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.
Architecture
Factory Pattern
Related terms in Architecture
CREATE2
An EVM opcode that deploys contracts to deterministic addresses based on the deployer address, a salt, and the...
Proxy Pattern
A smart contract architecture where users interact with a proxy contract that delegates calls to a separate im...
Core vs Periphery
An architecture pattern separating immutable, security-critical logic (Core: Pair, Factory) from replaceable u...
Fee-on-Transfer Token
A token that deducts a fee on every transfer, meaning the recipient receives less than the sender sent. These ...