Anchor Protocol
  • Home
  • Security
  • Protocol
    • Overview
    • Bonded Assets (bAssets)
      • Bonded Luna (bLuna)
      • Bonded ETH (bETH)
    • Money Market
      • Deposit Rate Subsidization
    • Loan Liquidation
    • Anchor Token (ANC)
    • Anchor Governance
      • Modify Collateral Attributes
      • Modify Market Parameters
      • Modify Liquidation Parameters
      • Modify ANC Parameters
      • Modify Governance Parameters
      • Modify Borrow Interest
      • Modify ANC Distribution
      • Community Grants
      • Text Proposal
  • User Guide
    • Interchain Transfers
    • WebApp
      • EARN
      • BORROW
      • bASSET [bLUNA]
      • bASSET [bETH]
      • GOVERN
        • ANC - UST LP Staking
        • Anchor Governance Staking
        • Claiming ANC Rewards
        • Creating and voting on proposals
  • EthAnchor
    • EthAnchor
    • EthAnchor Contracts
      • Deployed Contracts
      • Router
      • ConversionPool
      • ExchangeRateFeeder
    • Fees
  • Developers - Earn
    • Anchor Earn SDK
    • Example Usage
    • Appendix
  • xAnchor
    • xAnchor
    • xAnchor Contracts
    • xAnchor Bridge (EVM Chains)
    • xAnchor Terra-side Contracts
      • xAnchor Core
      • xAnchor Wormhole Bridge
      • Address Proxy
  • Developers - Terra
    • Anchor.js
    • AnchorCLI
  • Smart Contracts
    • Deployed Contracts
    • bLuna
      • Hub
      • Reward
      • Rewards Dispatcher
      • Validators Registry
      • Airdrop Registry
      • Tokens: bLuna and stLuna
    • bETH
      • Reward
      • Token
      • Converter
    • Money Market
      • Overseer
      • Market
      • Custody [bLUNA]
      • Custody [bETH]
      • Interest Model
      • Distribution Model
      • Oracle
    • Liquidation
      • Liquidation Contract
      • Liquidation Queue Contract
    • Anchor Token (ANC)
      • Gov
      • Staking
      • Community
      • Collector
      • Distributor
  • Developers - Ethereum [Legacy]
    • EthAnchor
    • EthAnchor Account Contract
    • EthAnchor API
      • Getting Market Information
      • Depositing Stablecoins
      • Redeeming Stablecoins
    • Fees
  • External Resources
    • Anchor WebApp
    • Anchor Protocol GitHub
    • Terra Blockchain
Powered by GitBook
On this page
  • Operation
  • Router
  • ConversionPool
  • ExchangeRateFeeder

Was this helpful?

  1. EthAnchor

EthAnchor Contracts

PreviousEthAnchorNextDeployed Contracts

Last updated 3 years ago

Was this helpful?

EthAnchor is scheduled for deprecation and is to be replaced with xAnchor. It is highly recommended that new integrations are built with and not with EthAnchor.

EthAnchor contracts are Ethereum smart contracts that facilitate cross-chain Anchor deposits. They primarily consist of , , , and 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.

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.

ExchangeRateFeeder

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

xAnchor
Operation
Router
ConversionPool
ExchangeRateFeeder