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
  • Swap Fees
  • Shuttle Fees
  • Terra Blockchain Tax

Was this helpful?

  1. EthAnchor

Fees

PreviousExchangeRateFeederNextAnchor Earn SDK

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 is built using various blockchain infrastructure that charges fees on their usage. Using EthAnchor incurs fees that are calculated based on the deposit / redeem amount. Fees listed at this section are applied independent of gas spent on Ethereum transactions.

Operation

# of Swap Fees

# of Shuttle Fees

# of Terra Tax

Deposit

Once

Once

Once

Withdraw (Redeem)

Once

Once

Twice

Swap Fees

Operations with non-UST stablecoins are automatically converted to UST via Curve. A 0.04% fee is applied by Curve on each swap.

In addition to Curve fees, the swap will incur slippage -- the difference between the current market price and the price at which the trade is effectively executed.

Shuttle Fees

Shuttle ignores transfer requests with a transfer value smaller than 1 UST.

Cross-chain transfers of Terra stablecoins and aTerra tokens between Ethereum and Terra are facilitated with the use of . Shuttle charges a fee only for cross-chain token transfers from Terra to Ethereum, with the fee amount being:

shuttleFee(transferAmount)=max(1 UST, transferAmount⋅0.25%)\text{shuttleFee(transferAmount)}=\text{max} (1\,\text{UST},\,\text{transferAmount} \cdot 0.25\% )shuttleFee(transferAmount)=max(1UST,transferAmount⋅0.25%)

0.25% of the transfer amount is charged as Shuttle fees, decreasing with the transfer amount until the fee reaches the 1 UST minimum. Amount received after fees will be:

receiveAmount=transferAmount−shuttleFee(transferAmount)\text{receiveAmount} = \text{transferAmount}-\text{shuttleFee}(\text{transferAmount})receiveAmount=transferAmount−shuttleFee(transferAmount)

Note that this fee will be applied once for both deposits and withdrawals.

Terra Blockchain Tax

Terra stablecoin transfers that occur on the Terra blockchain require tax (protocol fee) to be paid. Tax amount is dependent on the transfer amount, represented as:

terraTax(transferAmount)=min(taxCap,transferAmount⋅taxRate)\text{terraTax(transferAmount)} = {\text{min}(\text{taxCap}, \text{transferAmount}\cdot\text{taxRate})}terraTax(transferAmount)=min(taxCap,transferAmount⋅taxRate)

Tax amount increases as the transfer amount increases, until it reaches a cap of 1 TerraSDR (SDT), currently valued at around ~1.42 UST. Terra SDR is a Terra stablecoin pegged to the International Monetary Fund's Special Drawing Rights (SDR) and its value -- along with the tax cap -- may differ as exchange rates vary with time.

EthAnchor is configured to automatically deduct the amount of stablecoins required for tax before making Terra-side transfers. Thus the post-transfer receive amount will be:

receiveAmount=transferAmount−terraTax(receiveAmount)\text{receiveAmount} = \text{transferAmount} - \text{terraTax(receiveAmount)}receiveAmount=transferAmount−terraTax(receiveAmount)

Note that this tax fee is applied once for deposits and twice for withdrawals.

xAnchor
Shuttle