> For the complete documentation index, see [llms.txt](https://docs.soroswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soroswap.finance/smart-contracts.md).

# Smart Contracts

- [Soroswap AMM (DEX)](https://docs.soroswap.finance/smart-contracts/01-protocol-overview.md): This is the DeFi primitive for liquidity pools. It allows swaps to happen
- [How Soroswap AMM works](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/01-how-soroswap-works.md)
- [Ecosystem Participants](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/02-ecosystem-participants.md)
- [Technical Reference](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference.md)
- [Smart contracts](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/03-smart-contracts.md)
- [SoroswapPair](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/03-smart-contracts/01-soroswappair.md)
- [SoroswapFactory](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/03-smart-contracts/02-soroswapfactory.md)
- [SoroswapRouter](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/03-smart-contracts/04-soroswaprouter.md)
- [SoroswapLibrary](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/03-smart-contracts/03-soroswaplibrary.md)
- [Deployed Addresses](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deployed-addresses.md)
- [Error Codes](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/error-codes.md)
- [Soroswap vs UniswapV2](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/06-soroswap-vs-uniswapv2.md)
- [SoroswapPair Comparison](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/06-soroswap-vs-uniswapv2/01-soroswappair-comparison.md)
- [SoroswapRouter Comparison](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/06-soroswap-vs-uniswapv2/02-soroswaprouter-comparison.md)
- [SoroswapLibrary Comparison](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/06-soroswap-vs-uniswapv2/03-soroswaplibrary-comparison.md)
- [Using Soroswap with TypeScript](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/09-using-soroswap-with-typescript.md)
- [Smart Contract Integration](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/smart-contract-integration.md)
- [Design Decisions](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/02-design-decisions.md)
- [Deploy Soroswap Yourself](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself.md)
- [Setup your environment.](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself/01-setup.md)
- [Experiment the Pair contract](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself/02-pair.md)
- [Experiment the Factory Contract.](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself/03-factory.md)
- [Deployments.](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself/04-deployments.md)
- [Using the Soroswap Testnet](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/03-technical-reference/deploy-soroswap-yourself/using-the-soroswap-testnet.md)
- [Audits](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/audits.md)
- [Glossary](https://docs.soroswap.finance/smart-contracts/01-protocol-overview/04-glossary.md)
- [Soroswap Aggregator](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator.md): An aggregator aggregates several Soroban-based AMMs (AMM based on Smart Contracts on the Stellar Blockchain)
- [Supported AMMs](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/supported-amms.md)
- [Audits](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/audits.md): The Soroswap Aggregator Smart Contracts are being audited by Runtime Verification
- [Technical Reference](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference.md)
- [How Soroswap Aggregator works](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/how-soroswap-aggregator-works.md)
- [Design](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/04-soroswapaggregator-design.md)
- [Technical Overview](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/05-soroswapaggregator-technical-overview.md)
- [Aggregator Operation](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/aggregator-operation.md)
- [Smart Contracts](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/smart-contracts.md)
- [SoroswapAggregator](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/smart-contracts/soroswapaggregator.md)
- [Adapter Trait](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/smart-contracts/adapter-trait.md)
- [SoroswapAdapter](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/smart-contracts/soroswapadapter.md)
- [Inspirations](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/inspirations.md)
- [1inch](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/inspirations/01-1inch.md)
- [Other AMMs in Soroban](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/other-amms-in-soroban.md)
- [Phoenix](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/other-amms-in-soroban/02-phoenix.md)
- [Cross-Contract Integration](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/technical-reference/cross-contract-integration.md)
- [Disclaimer](https://docs.soroswap.finance/smart-contracts/soroswap-aggregator/06-soroswapaggregatordisclaimer.md)
