How Does a Decentralized Exchange (DEX) Differ from a Centralized Exchange (CEX) in Terms of Liquidity Provision?
A CEX uses an order book model where liquidity is provided by buyers and sellers placing limit orders. A DEX, typically using an Automated Market Maker (AMM) model, relies on liquidity pools funded by users (Liquidity Providers or LPs).
LPs deposit assets into a smart contract to facilitate trading. This pool-based system is what a rug pull exploits, as the capital is locked in a contract, not held by a central authority.