LogoLogo
  • Bancor Basics
    • What is Bancor?
  • Bancor DAO
    • What is the Bancor DAO?
    • How do I join the Bancor DAO?
    • Creating a Bancor Improvement Proposal (BIP)
    • Bancor Governance Voting Guide
    • Quorum and supermajority requirements
    • What is the governance contract address?
  • Vortex
    • How do I trigger the BNT Vortex?
  • Bancor AMM
    • AMM: Automated Market Maker
    • Trade
      • What fees do I have to pay when I trade?
      • Price Impact
      • Do I need to own BNT tokens in order to make a trade?
      • Price slippage
      • Token approval: Approve vs Approve Limited Permission
    • Transactions & Metamask
      • Connect your Web3 Wallet to Bancor
      • MetaMask Setup Guide
      • Where can I view my transaction history for tax purposes?
      • Interacting with Bancor: associated gas fees breakdown
      • I'm getting a MetaMask "ALERT" error. Should I proceed?
      • My transaction is pending/ stuck for a long time. Is there anything I can do?
      • Why did my transaction complete but the trade or deposit did not finalize?
      • How do I import my existing wallet to MetaMask using my private key/JSON file?
    • Bancor 3 Mechanics
      • Bancor 3 Mechanics - #1 Swap
      • Bancor 3 Mechanics - #2 Withdrawal
      • Bancor 3 Mechanics - #3 Overview of Deficit and Surplus on Bancor 3
      • Pause of BNT Distribution
    • Portfolio
      • Withdrawal Guide
    • Can I sell my vBNT or transfer it to a different wallet?
  • Resources
    • DeFi 101
      • Ethereum/ Web3 wallets
      • Hardware wallets
    • Security
      • Access to the bancor.network Website
      • Bancor Bug Bounty
      • Security tips
    • Community
      • Communication channels
      • I have more questions, where can I go?
    • Research & Academic papers
  • Disclaimer
Powered by GitBook
On this page

Was this helpful?

  1. Bancor AMM
  2. Bancor 3 Mechanics

Bancor 3 Mechanics - #2 Withdrawal

PreviousBancor 3 Mechanics - #1 SwapNextBancor 3 Mechanics - #3 Overview of Deficit and Surplus on Bancor 3

Last updated 9 days ago

Was this helpful?

What happens during “Withdrawal”? - an overview of how “Surplus” and “Deficits” work within the protocol and a comparison with the traditional AMM model.

Continuing from the previous example, after the swap has occurred there is a deficit that has occurred in the Token A side.

If the LP were to remove his liquidity in the current state then the following series of steps would occur:

  1. LP provides his bnTokenA token to the protocol (e.g. 2 bnTokenA which has an underlying value of 2 Token A)

  2. The protocol withdraws 2 Token A tokens from the pool and burns the associated 6 BNT tokens that were paired.

  3. The LP receives 2 Token A tokens and the protocol mints the equivalent of 1 Token A token in BNT (three in our example) to cover the difference.

Note: A keen observer will realize that there is a key difference in that all BNT that is owned by the protocol is burned at withdrawal. The LP on the other hand, is receiving newly minted BNT that just came into existence.

Previously, the process by which BNT is distributed to cover deficits has been referred to as Bancor’s “Impermanent Loss Protection mechanism”. In reality, IL is a bit of a misnomer and IL may not be the best term for it due to the fact that the BNT distribution mechanism covered more than that.

Implication of withdrawal during the pause

Liquidity providers in Bancor 3 who withdraw from a pool that is in deficit (see example above) will not receive BNT as part of their withdrawal to compensate for pool deficit.

On June 19th, emergency actions were taken to intervene in what would have resulted in an irresponsible mass distribution of BNT tokens during a market panic. As discussed in the, the reason being, pending withdrawals in combination with the BNT distribution mechanism could have crashed the BNT price to essentially zero, leading to a situation in which the recovery of funds for all liquidity providers would have been in peril.

ratification proposal