Dex Aggregator

Dex Aggregator Uniswap-v2

Solidity / Foundry / TWAP / Flash Swaps

Overview

The Dex-Aggregator Uniswap-v2 is a Solidity-based DeFi project that replicates core features of Uniswap V2. It supports token swaps, liquidity management, flash swaps, and TWAP price feeds — all tested and built using Foundry.

  • Swap tokens using custom router logic.
  • Add and remove liquidity across pools.
  • Perform flash swaps with no upfront collateral.
  • Calculate TWAP for on-chain price oracles.

Technologies

Solidity

Foundry

Uniswap V2

Chainlink

TWAP

Flash Swaps

Back