# Core Features

## Core features & design goals:

1. **Modular Extensibility**: Utilizes a flexible Adapter pattern, allowing seamless integration of new DEX protocols without altering the core router logic.
2. **Optimal Rate Discovery**: Employs sophisticated on-chain algorithms that rigorously search for swap paths maximizing the final output amount.
3. **Gas Cost Consideration**: Factors in the network transaction costs (gas fees) associated with different paths, optimizing for the *net* value received by the user.
4. **Multi-Hop Capability**: Intelligently routes trades through liquid intermediary ‘trusted tokens’ when direct liquidity between the desired pair is scarce or inefficient or when optimal.&#x20;
5. **Atomic Execution**: Ensures that multi-step swaps across different DEX adapters execute as a single, indivisible transaction, guaranteeing that either the entire sequence completes successfully or the whole operation reverts, protecting user funds from partial execution failures.
6. **User Experience Enhancement**: Simplifies interactions through a unified interface and reduce transaction costs via EIP-2612 permit support


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infi-1.gitbook.io/infi-litepaper/readme-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
