Ammalgam is a decentralized lending exchange (DLEX) that integrates a Uniswap V2-style automated market maker (AMM) with a lending protocol on a single platform. Its core innovation is Dual-Purpose Pools (DP Pools), which allow the same liquidity to be used simultaneously for trading, lending, and leverage, thereby enhancing capital efficiency. The protocol does not rely on external oracles; instead, it manages risk through internal liquidity assessment, price range treatment, and stabilization requirements, ensuring autonomous operation.