Simple Swap

Summary

Simple Swap is Odos’ easiest way to execute trades. Gone are the days when users worried about losing funds to slippage or needing native gas tokens in their wallets to execute a swap. With Simple Swap, users can execute their trades with an all-inclusive, guaranteed quote that doesn’t hide the final output. Orders are placed securely via EIP-712 signed data and support multiple inputs and outputs in a single transaction.

Slippage Details

With Simple Swap, Odos protects you from slippage. We provide a quote and honor that. If, on execution, there is negative slippage on the trade, we cover it. We’ve got you.

Gas Fee Details

One of Simple Swap’s core value adds is the new ability to pay gas as part of the transaction without native gas tokens. Keep your precious ETH staked or locked up somewhere safe. It’s important to note that this does not mean gas is free. We will front the ETH for you, making it much easier to swap on Odos, and then we will collect it from the output. Don’t worry, the quote already reflects this to prioritize transparency.

Odos Margin

To protect users against slippage and enable transactions that don’t require native gas tokens, Odos makes conservative estimates that include a small margin to ensure we don’t run out of ETH to cover the risks associated with blockchain transactions. Here is how we calculate that margin currently:

| Swap Type | Margin | | Volatile Tokens | 0.25% | | Stable Tokens | 0.05% | | Wrapping Tokens | 0.05% |

Please note that these may be subject to change, but any potential changes will be reflected here.

Deployments

ChainSimple Swap (Limit Order) Router Address
Optimism Logo
Optimism
0xafF142fBc8FA5B1885FE54E4C889985F8a579b24
Fantom Logo
Fantom
0x275278CEA8d36b879917B51d250F04Be95F905Ed
zkSync Era Logo
zkSync Era
0xa688F1d16b44b9A3110C3b4413b6081F271A643B
Mantle Logo
Mantle
0x51Ea3db8b67462b0A66b3F1fF50cA87C076Acc7a
Base Logo
Base
0x8c8c3E8465B911186aDeC83a53C7De8c587eDDaB
Mode Logo
Mode
0x65005f4Bea4005D48eE9Bdaae960832c6CECC557
Arbitrum Logo
Arbitrum
0x83564b903c0311877accEE8f99e6BEb712AD8E43
Avalanche Logo
Avalanche
0xD10634297961fEa132ac7b6e7451BC4E5B17359b
Linea Logo
Linea
0x5Ab73021e0648f46Da303cE7f5a0F2F15a3944c6
Scroll Logo
Scroll
0x014F335e0161B4EdDf3fF5b297BA6A31004Ca528

Source Code

Simple Swap uses the same underlying mechanism as Limit Orders. Source code for the contracts is verified on each chain’s respective block explorer and is available on the odos-xyz/odos-limit-orders github GitHub, along with a full test suite.

Audit

The Simple Swap (Limit Order) contract was audited by Halborn in April 2024. A link to the report is available on the Halborn Website.