Uniswap logo
Uniswap logo.Credit: Copyright Uniswap Labs / Wikimedia CommonsOriginal sourceLicenseAll image credits

Uniswap is a family of decentralized exchange protocols. Its automated market makers use smart contracts and liquidity pools to support token swaps. A trader interacts with the pool’s reserves rather than directly matching a posted order from another user.

Liquidity providers and pools

Liquidity providers supply tokens to pools. The way their positions are represented and the prices at which liquidity is active depend on the protocol version. A liquidity position is therefore different from merely keeping the same tokens in a wallet.

Pools calculate prices from available liquidity

A swap changes the token balances in a liquidity pool. Larger trades move those balances further, which can increase price impact.

Why the trade size matters

A swap changes the relative reserves of the tokens in a pool. A large trade compared with available liquidity can move the execution price significantly. This price impact is separate from the network fee needed to submit a transaction.

Open access is not asset approval

Permissionless markets can be created without a central listing committee. That openness is not a safety review of each token. Verify contract addresses and understand spending approvals before signing; smart-contract bugs and malicious tokens remain risks.

Permissionless access does not verify every token

A token can be tradable without being reviewed or endorsed. Confirm the contract address and understand the asset before approving or swapping it.

Sources

  1. Uniswap Developers — How Uniswap works
  2. Ethereum.org — Smart contract security
  3. MetaMask — Token approvals and spending permissions