The tide and feed contracts are fork-tested; the Elysium deploy is next.Read the log ›
Docs / Mechanism

The range rule

Every number in this rule is a parameter in the tide contract. The owner can change them only inside hard bounds written in code.

  1. Take the reference price from SeleneFeed (HyperCore mid × (1 + measured basis)) and convert it to a pool tick.
  2. Round that tick to the pool's tick spacing (60). This is the centre.
  3. The range is centre − halfWidth to centre + halfWidth: 600 ticks for HYPE/USDC, 900 ticks for HYPE/KNTQ.
  4. The inner band is the middle 50 % of each half: ± 300 ticks on HYPE/USDC, ± 450 ticks on HYPE/KNTQ.
  5. While the reference stays inside the inner band, the range does not move. Once it leaves, rebalance() becomes callable.

One tick is a 0.01 % price step, so ± 600 ticks is a price range from about −5.82 % to +6.18 % around the centre. The inner band keeps the tide from paying swap costs for small moves: HYPE has to move about 3.05 % against the centre before anything happens.

ParameterHYPE/USDCHYPE/KNTQBound in code
halfWidth600 ticks900 ticks2 tick spacings to 4,000 ticks
innerBandBps500050001,000 to 9,000
maxRefAge900 s900 s60 to 3,600 s
maxDeviationTicks100150up to 300
minInterval1800 s1800 sat least 300 s
slippageBps5075up to 200
protocolFeeBps10001000up to 2,000
bountyBps500500up to 1,000

The range a tide would open right now, computed from this rule and the live reference, is on each tide page in the app and in /api/tides under plan.