# 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](#operation), [Router](#router), [ConversionPool](#conversionpool), and [ExchangeRateFeeder](#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.

![](https://3491084666-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT-6Wb5pEQsulIrcwGJ%2F-Mbq6ECj4U0_GhgPfH_I%2F-Mbq8zqFKilmRTr0TeYj%2FEthAnchor_Router.png?alt=media\&token=322671ed-b796-40f9-bfcc-ff098e57fd0a)

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

![](https://3491084666-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MT-6Wb5pEQsulIrcwGJ%2F-Mbq6ECj4U0_GhgPfH_I%2F-Mbq99_VIkUYghbuGQFQ%2FConversionPool.png?alt=media\&token=b2f3daf9-bd73-4070-882f-58099715ab33)

## ExchangeRateFeeder

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