N0Vault on Base
Uniswap v4 Hook Contract 0x56a093d4fad95ed4e5dfa2a921cc5837bd8f6aec on Base · Launchpad · Verified contract
- Volume (24h)
- $5.32K
- Value locked (TVL)
- $0
- All-time volume
- $5.32K
- Pools using this hook
- 2
- Swaps (24h)
- 96 (31 traders)
- Total swaps
- 96
What it does
A NeverZero launchpad hook that charges every buy and sell a fixed 2% ETH fee, splitting it between a token-backing floor vault, the creator and the protocol, while permanently locking launch liquidity and letting holders redeem for 98% of the floor value, which the owner can sweep via emergency withdrawal until that power is renounced.
How it works step by step
- Acts as the hook and ETH vault for every NeverZero launchpad token, whose pools pair ETH with the token.
- Charges a fixed 2% fee on the ETH side of every buy and sell, split at a ratio frozen at launch between the token's floor vault, its creator and the protocol.
- Lets holders redeem tokens at any time, even during a pause, for 98% of their floor value (vault ETH divided by supply). The tokens are burned, so the floor rises.
- Permanently locks the launch liquidity: only the launchpad can add it, nobody can remove it, and donations are blocked.
- Blocks swaps that would push the price past the launch price, and blocks partial fills on trades where ETH is the specified amount.
- Swap behaviour
- Each swap pays a 2% fee on its ETH amount, taken from the ETH input on buys or from the ETH output on sells. Buys can be paused by the launchpad, but sells cannot, and any swap that would end above the launch price or partially fill an ETH-specified trade reverts.
- Liquidity behaviour
- Only the launchpad can add liquidity, once per token, and every liquidity removal always reverts. The launch position is locked forever, but this is a protocol-owned position, not deposits from outside LPs.
- Fee behaviour
- A fixed 2% fee is charged on the ETH side of every trade. It is split by a per-token ratio frozen at launch into a floor vault share, a creator share (claimable by the creator) and a protocol share (claimable by the launchpad owner).
- Owner & admin controls
- The launchpad owner can pause buys (sells and redemptions keep working) and claim protocol fees. Until the owner renounces it, the owner can also emergency-withdraw a token's entire floor vault to a recovery address fixed at deployment; fee rates cannot be changed.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeDonate, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: only the launchpad can create pools, with fixed parameters and launch price; beforeAddLiquidity: only the launchpad can add liquidity; beforeRemoveLiquidity: always reverts, locking liquidity; beforeSwap: pauses buys and takes the 2% fee when ETH is the specified amount; afterSwap: takes the 2% fee otherwise, enforces the launch price ceiling and the no-partial-fill rule; beforeDonate: blocks donations; return deltas: collect the 2% fee.
Security & trust assessment
Risk level: high (verified source, high confidence).
Who controls it: The launchpad owner can pause buys, claim protocol fees, and, until they renounce it, move every token's floor vault ETH to the fixed recovery address. They cannot change fees or touch the locked pool liquidity.
Risk to user funds: Traders pay a fixed 2% of the ETH side per swap. The hook holds the vault ETH that backs redemptions, which the owner can sweep via the emergency withdrawal until it is renounced. Pool liquidity is permanently locked by design.
Security findings
- [high] Emergency withdrawal of floor vault: Until renounceEmergency is called, the launchpad owner can send all of a token's backing ETH to a fixed recovery address. This drops that token's redemption floor to zero; creator and protocol fees are not affected.
- [medium] Liquidity permanently locked: Every liquidity removal reverts, so the launch position can never be withdrawn. Only the launchpad can add liquidity, so third-party LPs cannot join and get trapped.
- [medium] Buys can be paused: When the launchpad is paused, buys revert. Sells and redemptions remain available.
- [info] Fixed 2% fee: The fee is hard-coded at 2% of the ETH side, and the split ratio is frozen at token registration.
Contract details
- Verified source
- Yes (N0Vault)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 10,945 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, erc6909-claims, fee-sharing, launchpad, liquidity-management, moves-currency, ownable, pausable, return-delta, self-unlock
Pools using N0Vault
- ETH / N0 (0.00% fee) — 24h volume $5.32K, TVL $0, 96 swaps today
- ETH / SIX (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today