> ## 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.

# Thena (thena)

> BSC-native liquidity layer with ve(3,3) tokenomics.

BSC-native liquidity layer with ve(3,3) tokenomics. Solidly-fork supporting both volatile (x\*y=k) and stable (Curve-like) AMM pools with gauge voting for directing emissions.

| Fact | Value |
| - | - |
| Category | DEX |
| Family | none |
| Namespace | `Thena` on bsc |
| Chains | bsc |

## 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, unlike Velodrome/Aerodrome)
* Two pool types: `stable=true` for correlated assets, `stable=false` for uncorrelated
* ve(3,3) model: THE token holders vote-lock to direct gauge emissions weekly
* BSC-only deployment; competes with PancakeSwap on BSC
* LP tokens can be staked in gauges for THE emissions
* Input token must be ERC20-approved to the Router

## Its names in a program

On BNB Chain, `Thena` is a namespace: its contracts need no import.

```ts theme={null}
function main() {
  // BNB Chain's routerV2, `0xd4ae6eCA985340Dd434D38F470aCCce4DC78D109`.
  require(Thena.RouterV2 != 0);
}
```

## Deployments

| Chain | Contract | Address | In a program |
| - | - | - | - |
| [BNB Chain](https://docs.eco.com/sauce-sdk/reference/chains/bsc.md) | routerV2 | `0xd4ae6eCA985340Dd434D38F470aCCce4DC78D109` | `Thena.RouterV2` |

## ABI

### `ThenaRouterABI`

`import ThenaRouterABI from "./protocols/thena/ThenaRouterABI.json";` Speaks for: routerV2.

* `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.