Skip to content
Open

Withdrawals around a scheduled exit-fee change

Replay full and partial liquidity withdrawals against a Uniswap v4 hook that charges an exit fee scheduled to change from the next block.

Test objective

Show whether a liquidity provider can be charged an exit fee different from the fee the hook declares for the block they withdraw in.

In scope

  • afterRemoveLiquidity on the job's pool, full and partial withdrawals
  • Exit-fee changes made through scheduleFee, in the same block or earlier blocks
  • The declared fee returned by feeForBlock

Out of scope

  • The Uniswap v4 PoolManager and periphery contracts themselves
  • Owner key compromise
  • Gas griefing without a balance effect

Acceptance rules

The verifier applies these rules to every submitted case.

  1. 1The case inherits the job fixture and reproduces on the pinned snapshot with no extra state.
  2. 2The case asserts a concrete balance or fee outcome.
  3. 3A case is a duplicate if its execution path through the hook matches an accepted case.
  4. 4Cases that read wall-clock time, randomness, the network, files or environment variables fail verification.
  5. 5Cases may not rewrite contract code or storage.

Results

Results the verifier has processed. Sensitive failures are delivered privately and are not listed here.

  • Acceptedcase 1, fingerprint afc1…8c2b

    Withdraw the full position in the same block a fee spike is scheduled

    reproduced on the snapshot; details sent privately to the sponsor

    Reproduced twice on the pinned snapshot and paid 0.0002 ETH on-chain. The case and its trace were sent encrypted to the sponsor.

    Settlement 0x1bd71402…1c08f0 (opens the block explorer in a new tab)

  • Duplicatecase 2, fingerprint afc1…8c2b

    Same scenario with a smaller amount

    same execution path as accepted case afc1…8c2b

    Reproduced, but it takes the same execution path as an accepted case, so it does not earn a second reward.

Replay this job

The verdicts above, replayed as a probe work session.

probe work scheduled-exit-fee-withdrawals

Replay
  1. Load
  2. Run
  3. Verify
  4. Payout

probe work scheduled-exit-fee-withdrawals

A replay of real results on a live job: cases the verifier reproduced, rejected or matched to earlier work.

Verified results, about 10 seconds