# EthAnchor Contracts

{% hint style="danger" %}
EthAnchor is scheduled for deprecation and is to be replaced with xAnchor. It is highly recommended that new integrations are built with [xAnchor](https://docs.anchorprotocol.com/protocol/xanchor) and not with EthAnchor.
{% endhint %}

EthAnchor contracts are Ethereum smart contracts that facilitate cross-chain Anchor deposits. They primarily consist of [Operation](/anchor-2/ethanchor/ethanchor-contracts.md#operation), [Router](/anchor-2/ethanchor/ethanchor-contracts.md#router), [ConversionPool](/anchor-2/ethanchor/ethanchor-contracts.md#conversionpool), and [ExchangeRateFeeder](/anchor-2/ethanchor/ethanchor-contracts.md#exchangeratefeeder) contracts.

## Operation

Operation contracts are address-specifically generated smart contracts used to isolate individual EthAnchor deposit/redeem operations. They take in information about a specific request, later used to process the operation.

Operation contracts are crucial for distinguishing between operations requested by different users, and are structured to process a single request at a time.

## Router

The Router contract is responsible for routing incoming deposit/redeem operations to an available Operation contract. The Router owns multiple Operation contracts for processing user requests.

![](/files/-Mbq8zqFKilmRTr0TeYj)

## ConversionPool

ConversionPool contracts manage the conversion between non-UST stablecoins and UST, which are subsequently deposited to Anchor through the Router.

A proxy contract lies above the Router and ConversionPool contracts for routing requests to the most recent contract version.

![](/files/-Mbq99_VIkUYghbuGQFQ)

## ExchangeRateFeeder

The ExchangeRateFeeder contract calculates and determines the exchange rate between non-UST stablecoins and their aTerra counterparts.


---

# 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.anchorprotocol.com/anchor-2/ethanchor/ethanchor-contracts.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.
