rehype

Installation
SKILL.md

Source References: Code citations link to raw GitHub files pinned to commit 46bad16d.

Rehype Doppler Hook

When to use

  • Tasks mention Rehype, buybacks, fee distribution, or claimAirlockOwnerFees
  • You are working in src/dopplerHooks/RehypeDopplerHook.sol
  • You are troubleshooting hook-driven swap behavior for pools managed through DopplerHookInitializer

Prerequisites

  • Pool asset address
  • Access to DopplerHookInitializer.getState(asset)
  • Correct signer (buybackDst for fee distribution updates, airlock.owner() for owner-fee claims)

Core workflow

  1. Resolve pool context from initializer state and derive poolId.
  2. Read hook state:
    • getFeeDistributionInfo(poolId)
    • getHookFees(poolId)
Related skills
Installs
4
GitHub Stars
4
First Seen
Feb 3, 2026