> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fenix (fenix)

> Blast-native ve(3,3) DEX and liquidity hub.

Blast-native ve(3,3) DEX and liquidity hub. Solidly-fork with concentrated liquidity and gauge voting, leveraging Blast's native yield on ETH and USDB for enhanced LP returns.

| Fact | Value |
| - | - |
| Category | DEX |
| Family | none |
| Namespace | `Fenix` on blast |
| Chains | blast |

## What it offers

* **swap**: Swap tokens with route-based routing specifying stable or volatile pool type

## Notes

* Solidly-fork routes contain `{from, to, stable}` tuples (NO `factory` field)
* Two pool types: `stable=true` for correlated assets, `stable=false` for uncorrelated
* ve(3,3) model: FNX token holders vote-lock to direct gauge emissions
* Blast-only deployment; leverages Blast's native yield on ETH and USDB for additional LP returns
* For concentrated liquidity swaps on Blast, consider Thruster (Uniswap V3 fork)
* LP tokens can be staked in gauges for FNX emissions
* Input token must be ERC20-approved to the Router

## Its names in a program

On Blast, `Fenix` is a namespace: its contracts need no import.

```ts theme={null}
function main() {
  // Blast's router, `0xbD571125856975DBfC2E9b6d1DE496D614D7BAEE`.
  require(Fenix.Router != 0);
}
```

## Deployments

| Chain | Contract | Address | In a program |
| - | - | - | - |
| [Blast](https://docs.eco.com/sauce-sdk/reference/chains/blast.md) | router | `0xbD571125856975DBfC2E9b6d1DE496D614D7BAEE` | `Fenix.Router` |

## ABI

### `FenixRouterABI`

`import FenixRouterABI from "./protocols/fenix/FenixRouterABI.json";` Speaks for: router.

* `swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, (address from, address to, bool stable)[] routes, address to, uint256 deadline) returns (uint256[] amounts)`
* `addLiquidity(address tokenA, address tokenB, bool stable, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns (uint256 amountA, uint256 amountB, uint256 liquidity)`

## Next steps

* [Protocols](https://docs.eco.com/sauce-sdk/reference/protocols.md): the other protocols, by what they do.
* [Protocols and tokens](https://docs.eco.com/sauce/names.md): calling a contract by its namespace, or through its ABI.
* [Glossary](https://docs.eco.com/sauce/glossary.md): the words these pages use, in plain terms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.