DeltaPrime
Launch App
  • introduction
    • Unlock the Blockchain
  • Protocol
    • Overview
    • Decentralization
    • Efficiency
    • Security
      • Liquidations
      • Solvency checks
      • Prime account separation
      • Protocol gatekeeping
      • Asset whitelisting
      • Withdrawal guard
      • Token exposure protection
      • Depositor exposure selector
      • Oracle price data
      • Third-party security protocols
      • Stability pools
      • Internal security
      • Audits
      • Bug bounty
    • Business Model
    • Roadmap
  • Tokenomics
    • Ethos
    • $PRIME
      • Distribution
      • Vesting schedule
    • $sPRIME
      • Locked $sPRIME airdrops
    • Governance Power
  • Liquidity pools
    • Savings
    • Borrowing
    • Interest
      • Reasoning
      • Calculations
  • Prime Brokerage Account
    • Prime Account
    • Account Overview
    • Portfolio
      • Zaps
      • Assets
      • Liquidity Pools
      • Farms
    • Health and Borrowing Power
      • Calculations
      • Interpretation
    • Taking Profit
      • Withdrawing & Health
      • Withdrawing & Withdrawal Guard
    • Strategies
      • Efficient OC
  • Integrations
    • Protocols
    • Tokens
  • Developers
    • Contracts
    • How to run your own liquidation bot
  • Community
    • Community Content
    • Socials
    • Brand Assets
Powered by GitBook
LogoLogo

DeltaPrime

  • Launch App
On this page

Was this helpful?

Export as PDF
  1. Prime Brokerage Account
  2. Taking Profit

Withdrawing & Withdrawal Guard

PreviousWithdrawing & HealthNextStrategies

Last updated 11 months ago

Was this helpful?

Withdrawal guard

The is one of DeltaPrime's main safety features, protecting depositor funds against known and unknown attacks. You can read more about the background of the withdrawal guard in . This segment discusses what to do if the withdrawal guard prevents withdrawing.

The origin

Not all 'borrowed' is covered by its 'balance'. Update missing balance(s) to withdraw. Read more.

When you get this message, it might help to see visually what this entails. If you were confused and pressed "Read more", you ended up here. Welcome! Here is what it means and how you solve it in order to withdraw:

Imagine you have 1000 USDC in your Prime Account with 300 borrowed USDt deposited in a farm:

If you try to withdraw any USDC, the withdrawal guard will prevent this. The following error message will be shown.

This happens because some assets have borrowed value larger than the balance. While USDC is covered, with a Balance (1000) larger than Borrowed (0), for USDT, this is not the case. USDT's Balance (0) is smaller than Borrowed (300).

How to solve this

To unlock withdrawing, the Balance must be larger than the Borrowed for every borrowed asset. In this case, only USDT has been borrowed, so that asset needs to cover its Balance value by at least its Borrowed value.

There are two ways to solve this.

  • Withdraw farmed or LP positions to increase the balance.

  • Swap any other asset to the borrowed asset to increase the balance.

In this example, we swap 301 USDC for 301 USDT. This brings our balances to the following values:

After the swap, we have USDC assets with a Balance (699) bigger than Borrowed (0), and we have USDT assets with Balance (301) bigger than Borrowed (300).

Success! Withdrawing is now unlocked.

Withdrawal Guard
here
There is 1000 USDC in the Prime Account, and $300 borrowed USDT farming. Withdrawing is unavailable right now.
The Borrowed 300 USDT is not in the Balance. The withdrawal guard locked withdrawing.
Now, all borrowed values are covered by all balances.
Where we could not withdraw any USDC before, we can now withdraw all of our USDC if we want to.