redline $REDLINE
Pre-launch · not deployed
Reference

Lap schedule

Every tier the pool can be in, in exact terms. Five percentages, four milestones between them, and one canonical pool. The percentages are compiled into the contract; the milestone sizes are chosen once at deployment and published here when they are.

Table
01

The five tiers

Uniswap V4 expresses fees in pips, where 1,000,000 pips is 100%. These are the exact values the hook returns for each lap.

Fee ladder · constants in src/RedlineHook.sol
LapFeePipsStatusLeaves this tier when
LAP 05.0%50,000 Opening tierCumulative ETH volume crosses milestone 1
LAP 13.0%30,000 Cumulative ETH volume crosses milestone 2
LAP 22.0%20,000 Cumulative ETH volume crosses milestone 3
LAP 31.0%10,000 Cumulative ETH volume crosses milestone 4
LAP 40.5%5,000 FloorNever. This is the last tier.
FEE_0…FEE_4 and LAST_LAP are internal constants. No function writes them.
Table
02

What a tier costs you

Straight arithmetic on the numbers above — the fee applied to a trade of a given size. Shown per 1 ETH of trade so the tiers are comparable; the fee is proportional, so scale it however you like.

Fee paid per 1 ETH traded · arithmetic on the ladder constants
LapFeePer 1 ETHRound trip (buy + sell)Relative to the floor
LAP 05.0%0.0500 ETH≈ 0.0975 ETH10×
LAP 13.0%0.0300 ETH≈ 0.0591 ETH
LAP 22.0%0.0200 ETH≈ 0.0396 ETH
LAP 31.0%0.0100 ETH≈ 0.0199 ETH
LAP 40.5%0.0050 ETH≈ 0.0100 ETH
Round-trip figures compound the same rate twice and ignore price movement, slippage and gas. They are there to size the gap between the tiers, not to predict a result.
Table
03

The four milestones

Each milestone is a cumulative ETH-volume figure. They are passed to the hook as constructor arguments and stored immutably — once the hook exists, they are part of it. The contract will not deploy unless they are strictly increasing.

Milestone structure · sizes set at deployment
MilestoneMoves the feeMeasured inValue
M15.0% → 3.0%Cumulative ETH through the poolset at deployment
M23.0% → 2.0%Cumulative ETH through the poolset at deployment
M32.0% → 1.0%Cumulative ETH through the poolset at deployment
M41.0% → 0.5%Cumulative ETH through the poolset at deployment
These four numbers are not chosen yet. They are the one thing on this page still to be decided, and they will be published here with the contract address before trading opens — readable on-chain from the hook, by anyone, at any time. Nothing on this site invents them in the meantime.
Example
04

A worked example

Illustrative only. The milestone column below uses made-up round numbers so the shape of the schedule is visible. These are not the deployed values and no pool exists yet.
Worked example · invented milestone sizes, for illustration
LapFeeExample milestoneExample fees collected in this tier
LAP 05.0%first 50 ETH2.50 ETH
LAP 13.0%next 70 ETH (to 120)2.10 ETH
LAP 22.0%next 130 ETH (to 250)2.60 ETH
LAP 31.0%next 250 ETH (to 500)2.50 ETH
LAP 40.5%everything after0.005 ETH per ETH, forever

Read the last column as the shape of the thing: the expensive tiers are short and the cheap tier is unbounded. The pool spends its early life charging a lot for a little volume, and the rest of its life charging very little for however much volume it ever sees.

Table
05

The canonical pool

The hook recognises exactly one pool. Every field below is checked on every call; a pool that differs in any one of them is not this pool and the ratchet does not apply to it.

Pool key · enforced by the hook on init, swap and settle
FieldValueNote
currency0native ETHNot WETH. The ETH side is the side that gets counted.
currency1$REDLINE · address pendingPublished when the token is deployed
feedynamic-fee flagRequired — the tier override only takes effect on a dynamic-fee pool
tickSpacing200Fixed constant in the hook
hooksaddress pendingPublished when the hook is deployed
venueUniswap V4 · Ethereum