# Unable to support Curve Pool with Native ETH

CurveConvex2Token rewrites native ETH sentinel 0xEeee to 0x0, so withdrawal/liquidation loops fail to find a WithdrawRequestManager and revert, locking funds.

- Payout: Audit contest
- Severity: medium
- Program: Notional
- Found by: auditgpt
- Disclosed: 2025-06-27
- Write-up quality: 6/10
- Original: https://github.com/sherlock-audit/2025-06-notional-exponent-judging/issues/717
- Library page: https://bugbountylibrary.com/r/sherlock%3A2025-06-notional-exponent%3AM-23
- Tags: area:web3 domain:web3 impact:dos impact:funds-loss kind:contest platform:sherlock sev:medium tech:evm tech:solidity technique:source-review vuln:accounting-error vuln:dos

**Target:** CurveConvex2Token / AbstractSingleSidedLP withdrawal logic
**Root cause:** _rewriteAltETH converts Curve's native ETH sentinel 0xEeee... to 0x0, but ADDRESS_REGISTRY has no WithdrawRequestManager registered for address(0), so token loops revert.
**Steps:**
1. Deploy a Curve pool whose coins(0) is native ETH (0xEeee...) and coins(1) is an ERC20.
2. Construct CurveConvex2Token; constructor sets TOKEN_1 = _rewriteAltETH(0xEeee...) = 0x0.
3. Call getWithdrawRequestValue/hasPendingWithdrawals/initiateWithdraw; loop hits tokens[0]=0x0.
4. ADDRESS_REGISTRY.getWithdrawRequestManager(address(0)) returns zero/no manager, causing revert or skipped handling.
5. Withdrawal, redemption, and liquidation paths for that vault revert, trapping user funds.
**How found:** Code reading of the constructor comment about rewriting ALT ETH to 0x0, then tracing TOKENS() consumers to see the registry lookup for address(0) fails.
**Insight:** When a protocol normalizes a sentinel address (e.g. 0xEeee to 0x0) for internal use, audit every downstream registry/mapping lookup keyed on that normalized address—internal sentinels often have no registered handler.

