A modular and gas-efficient router that facilitates token and ether swaps through multiple protocols via swappers. Designed for DEX aggregators to perform multi-route swaps.
- 🛠️ - Still in making
- ✔ - Finished
src
├─ Serpent 🛠️ — "Serpent DEX Aggregation Router contract"
├─ WrapperFactory ✔ — "Allows deployment of new wrappers for protocols using Uniswap V2 & V3 Router interfaces to be used in Serpent"
└─ interfaces
└─ ISerpent ✔ — "Interface of Serpent contract"
└─ wrappers
└─ V2Wrapper 🛠️ — "Acts as a wrapper for routers of protocols using UniswapV2Router interfaces to be used in Serpent"
└─ V3Wrapper 🛠️ — "Acts as a wrapper for routers of protocols using SwapRouter (Uniswap V3) interfaces to be used in Serpent"