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

Was this helpful?

  1. Developers - Ethereum [Legacy]

Fees

PreviousRedeeming Stablecoins

Last updated 4 years ago

Was this helpful?

EthAnchor is built using various blockchain infrastructure, which 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 Shuttle Fee

# of Terra Tax

deposit_stable

Once

Once

redeem_stable

Once

Twice

Shuttle Fee

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=max(1 UST, transferAmount⋅0.1%)\text{shuttleFee}=\text{max} (1\,\text{UST},\,\text{transferAmount} \cdot 0.1\% )shuttleFee=max(1UST,transferAmount⋅0.1%)

0.1% 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=(1−shuttleFee)⋅transferAmount\text{receiveAmount} = (1-\text{shuttleFee}) \cdot \text{transferAmount}receiveAmount=(1−shuttleFee)⋅transferAmount

Note that this fee will be applied once for both deposit_stable and redeem_stable.

Terra Blockchain Tax

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

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

Tax amount increases with as 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=11+terraTax⋅transferAmount\text{receiveAmount} = \frac{1}{1+\text{terraTax}}\cdot\text{transferAmount}receiveAmount=1+terraTax1​⋅transferAmount

Note that this tax fee is applied once for deposit_stable and twice for redeem_stable.

Shuttle