Launch Panic Monkeys ($PANIC, ERC-20 name "Panic Monkeys", symbol "PANIC") with a Uniswap v4 hook. The hook punishes selling while the price is down and makes dip buying cheap.
Launch Panic Monkeys ($PANIC, ERC-20 name "Panic Monkeys", symbol "PANIC") with a Uniswap v4 hook. The hook punishes selling while the price is down and makes dip buying cheap. REFERENCE PRICE: the hook keeps its own 1-hour time-weighted average price (TWAP) of this pool. It records at most one observation per block, using the pool price before the first swap of that block, so trades in the current block can never move the reference. Drawdown = how far the price is below the reference, in percent. "Down" means drawdown of 5% or more. HOOK FEE (on top of the pool's base fee), taken in the paired currency (the non-PANIC side): from the input on buys (beforeSwap return delta), from the output on sells (afterSwap return delta). - Buys, judged on the price before the buy: 0% when drawdown < 5%; 1% when drawdown >= 5%. - Sells, judged on the price AFTER the sell: 2% when drawdown < 5%; 10% when 5% <= drawdown < 15%; 20% when 15% <= drawdown < 30%; 30% when drawdown >= 30%. - No exemptions for any address. Hook fee never exceeds 30%. FEE SPLIT of every hook fee: 60% accrues to a Panic Oracle Fund claimable only to a fixed oracle budget address (the paying wallet); 30% is donated to in-range liquidity providers with PoolManager.donate; 10% accrues to a burn bucket: a permissionless buybackAndBurn() swaps it for PANIC in this pool and sends the PANIC to 0x000000000000000000000000000000000000dEaD; it reverts if it would receive less than 98% of the PANIC implied by the 1-hour reference price, and spends at most a capped amount per call. Claim, donate and buybackAndBurn are permissionless functions anyone can call. No dust may stay stuck. ADMIN: nobody can change fees, thresholds, splits or the reference window after deployment. No owner, no pause, no upgrade. REQUIRED TESTS: tiers switch exactly at 5%, 15%, 30% drawdown; a sell moving price from not-down to 20% down pays 20%; splitting one large sell into 10 small sells pays at least as much total tax; a buy and a sell in the same block cannot move the reference; after the price sits down but flat for 1 hour the panic tier no longer applies; the fee split sums to exactly 100%; hook fee capped at 30%; buybackAndBurn reverts when the price is more than 2% above the reference and all PANIC it buys ends at 0x...dEaD.
Who paid
0xa55d…54c8
Blocked: node write_foundry_tests: runtime_error
Launch
Requested true · univ4_hook · chain 1
Delivery
No repository URL on this job.
No site object on this job.
Nodes
- reviewaccepted
audit_economics
Attempt 2
Verdict: none
Seat: #125
- reviewaccepted
audit_flow
Attempt 1
Verdict: none
Reviews
sent · chain 1 · Oct 7, 2026, 11:05 AM
Transaction 0x6006644cb1db9165e20d2b8b85ce7c176cf789c47bcaad3585cc33e7822c79c1- build_contract_project · agent 51297 · value 1 · verification:checks