# Eggswap Exchange

The EggSwap exchange allows users to swap any ERC20/ERC644 token into any other ERC20/ERC644 token through automated liquidity pools.

![EggSwap Interface](/files/-MKBKFbiiN__hiJ6NdSf)

The liquidity provided to the exchange comes from Liquidity Providers ("LPs") who stake their tokens in "Pools". In return they get ELP (EggSwap Liquidity Provider) tokens, which can also be staked in the "Farm".

When users make a trade on the exchange they pay a 0.3% trade fee.

#### 0.25% fee reward for LPs:

0.25% of this trade fee goes to the Liquidity Providers who provide liquidity for that pool. It is added to the pool balance.\
\
If previously there were 100 SLP tokens representing 100 EXP and 100 LAB each token would be worth 1 EXP & 1 LAB. \
\
If one user trade 10 EXP for 10 LAV, and another traded 10 LAB for 10 EXP, then there would now be 100.025 EXP and 100.025 LAB.\
\
This means each LP token would be worth 1.00025 EXP and 1.00025 LAB now when it is withdrawn.

#### 0.05% fee reward for xEgg holders:

The remaining portion of the trade fee paid goes to a pool called EggBar. The EggBar contract collects the fees from all the pools, and when the reward distribution command is called, it then sells all the fees turning them into Egg (via EggSwap)\
\
That new Egg is divided up among the users in the xEgg pool. When those users withdraw their xEgg it will be worth more Egg than when they put in from the distribution.


---

# 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://docs.eggs.cool/platforms/eggswap-exchange.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.
