Ragequit (Emergency Exit)
Ragequit is ShieldFlow's emergency withdrawal mechanism. It allows the original depositor to reclaim their funds without ASP approval, at the cost of revealing their identity.
When to Use Ragequit
ASP Rejects Your Deposit Incorrectly
If the ASP flags your deposit as non-compliant due to a false positive, ragequit lets you reclaim your funds without waiting for manual review.
You Need Funds Urgently
When you cannot wait for ASP approval and need immediate access to your deposited assets, ragequit provides an instant exit path.
Compliance Provider Is Down
If the compliance screening provider or the ASP service itself is unavailable, ragequit ensures your funds are never permanently locked.
You Want to Exit the Protocol Entirely
If you decide to leave ShieldFlow completely, ragequit returns your full deposit amount directly to your original address.
Tradeoffs
Advantages
- Always accessible - cannot be censored
- No ASP approval needed
- No relayer needed - direct on-chain transaction
- Full deposit amount returned (no relay fee)
Tradeoffs
- Reveals original deposit address
- Breaks privacy guarantee
- On-chain link between deposit and withdrawal is visible
- Only available to original depositor
How It Differs from Normal Withdrawal
| Feature | Normal Withdrawal | Ragequit |
|---|---|---|
| Privacy | Full privacy - no link between deposit and withdrawal | No privacy - deposit address is revealed on-chain |
| ASP Requirement | Deposit must be approved by ASP and included in the Merkle tree | No ASP approval needed |
| Fee | Relayer fee deducted from withdrawal amount | No relay fee - only gas cost |
| Who Can Initiate | Anyone with the recovery phrase (via relayer) | Only the original depositor (msg.sender check) |
| Proof Type | ZK-SNARK proving state tree + ASP inclusion | Commitment proof (proves ownership of the deposit) |
Privacy Impact
Ragequit reveals your original deposit address on-chain. This permanently links your deposit to the withdrawal. Only use it as a last resort.
