LogoLogo
  • 📐Asymmetry
    • What is Asymmetry?
  • 🌐Ecosystem
    • Asymmetry Product Overview
  • 🏁$ASF - Asymmetry Finance Token
    • $ASF Overview
    • veASF (Governance)
    • Why $ASF?
    • $ASF Tokenomics
  • 💠The Gem Rush
    • The Gem Rush ($ASF Airdrop)
  • ⚪USDaf - STABLECOIN
  • ⚪AmpUSD - STABLECOIN
    • How does AmpUSD work?
    • The Market Opportunity
    • Why borrow against AMPL/SPOT?
    • How does AmpUSD generate yield?
  • 🗝️AFCVX - ASYMMETRY FINANCE CONVEX
    • afCVX: Asymmetry Finance Convex
    • The afCVX Token
    • Yield Accrual
    • Staking Guide
    • afCVX Integrations
    • The Migrator, Gems, & CLEV Bonus
  • 🔸afETH - Asymmetry Finance ETH
    • afETH: Asymmetry Finance Ethereum
    • afETH (sfrxETH + vlCVX)
    • afETH Functionality
    • afETH Integrations
    • What makes afETH unique?
    • Staking Guide
    • Locking
  • ⁉️FAQ
    • FAQ (Frequently Asked Questions)
  • 👨‍💻Developers
    • Contracts
  • 🔒Security
    • Audits/Bug Bounties
  • 🔗Links
    • Asymmetry Site
    • Twitter
    • Discord
    • Telegram
    • Medium
  • ⏳Legal
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  1. afETH - Asymmetry Finance ETH

Locking

PreviousStaking GuideNextFAQ (Frequently Asked Questions)

Last updated 2 months ago

As afETH is composed of 70% sfrxETH and 30% vlCVX, 30% of user deposits are locked for up to 16 weeks.

When a deposit is made the incoming ETH is swapped for CVX and locked. When a withdrawal is requested the contract first checks whether sufficient CVX is unlocked to cover other pending withdrawals plus the new request, if so the CVX is immediately swapped for ETH and given to the user. Otherwise, a pending withdrawal is created.

Before locking new CVX the contract checks that it's not locking any CVX that is needed to cover pending withdrawals.

To efficiently track the priority of different withdrawals and provide unique IDs for different withdrawals the strategy tracks cumulative unlocked and unlock obligation amounts. The current total obligations is the difference between the two values. Unlike the total obligations the cumulative total obligations never goes down, meaning it can act as a useful pending withdrawal ID and indicate the ordering of when a withdrawal can be processed, independently of whether higher priority withdrawals have been processed.

🔸