BraceFeeHook on Robinhood Chain
Uniswap v4 Hook Contract 0xc96e57494daa62fcad0ef7a4deeb83d6a805e080 on Robinhood Chain · Dynamic fee · Verified contract
- Volume (24h)
- $18
- Value locked (TVL)
- <$0.01
- All-time volume
- $18
- Pools using this hook
- 1
- Swaps (24h)
- 2 (1 traders)
- Total swaps
- 2
What it does
BraceFeeHook charges traders a 1% fee when the coin trades at or below its launch price and 0.1% otherwise, so sellers of the coin and buyers of it below launch price pay more while other trades pay less.
How it works step by step
- Only sets the LP fee of each swap through beforeSwap; takes no tax and returns zero deltas
- Records the opening tick of each pool in beforeInitialize, callable only by the launcher that deployed the hook
- Charges BRACE_FEE (1%) when the pool tick is at or above the opening tick, i.e. the coin trades at or below its launch price
- Charges BASE_FEE (0.1%) at all other ticks; fees accrue to LP positions as normal
- Reverts on all liquidity, donate and afterSwap callbacks that are not enabled
- Swap behaviour
- Before each swap the hook reads the pool tick and returns an overridden fee. Swaps selling the coin (oneForZero) move the tick up into the bracing band and pay 1%. Buys (zeroForOne) pay 1% only when the tick is strictly above the opening tick, otherwise 0.1%. The hook does not alter amounts or deltas.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Dynamic LP fee overridden per swap: 10000 (1%) inside the bracing band, 1000 (0.1%) elsewhere, with the override flag set. Fees are retained by the pool for LPs.
- Owner & admin controls
- No owner, pause or upgrade functions found. The only privileged address is the immutable launcher, which is the only account allowed to initialise pools. BASE_FEE and BRACE_FEE are constants.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap
beforeInitialize records each pool's opening tick and marks the pool as known, restricted to the launcher. beforeSwap rejects unknown pools and returns the dynamic fee.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: No admin key can change fees or pause swaps. The launcher address controls which pools are initialised on this hook, and fee parameters are fixed at deployment.
Risk to user funds: The hook does not hold, move or block user funds. Its only effect is selecting the LP fee for each swap.
Security findings
- [info] Fee direction depends on pool tick: The 1% fee applies when the tick is at or above the stored opening tick, so the fee rises as the coin price falls below launch. Users should expect higher costs in that band.
- [info] Unknown pools revert on swap: beforeSwap reverts with WrongPool for any pool not initialised through the launcher, so swaps can only occur on pools the launcher created.
- [info] Hook does not take funds: Zero BeforeSwapDelta is returned and no afterSwap or liquidity deltas are applied, so the hook cannot move user or pool tokens.
Contract details
- Verified source
- Yes (BraceFeeHook)
- Compiler
- solc 0.8.30+commit.73712a01
- Bytecode size
- 4,452 bytes
- Upgradeable proxy
- No
- Detected patterns
- launchpad
Pools using BraceFeeHook
- ETH / PABOXO (Dynamic fee) — 24h volume $18, TVL <$0.01, 2 swaps today