skills/rehypothecation-hook/SKILL.md
Operate and configure Doppler's Rehype initializer hook for buybacks, beneficiary fees, fee routing, and protocol-owner fee claims.
npx skillsauth add rustydotwtf/doppler-skills rehypothecation-hookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Source References: Use Doppler deployments as the contract source of truth for deployed addresses and revisions.
claimAirlockOwnerFeesDopplerHookInitializerDopplerHookInitializer.getState(asset)airlock.owner() for protocol-owner fee claims)poolId.
DopplerHookInitializer.getState(asset)getFeeDistributionInfo(poolId)getHookFees(poolId)getPoolInfo(poolId)getFeeRoutingMode(poolId)getFeeSchedule(poolId)collectFees(asset)claimAirlockOwnerFees(asset) from airlock.owner()| Item | Detail |
|---|---|
| Supported hook | RehypeDopplerHookInitializer |
| Fee model | Decaying fee schedule via getFeeSchedule(poolId) |
| Distribution authority | Configured at initialization |
| Fee routing modes | DirectBuyback, RouteToBeneficiaryFees |
| Airlock owner share | Fixed 5% of the raw hook fee |
| Protocol-owner fee bucket | Claimable via claimAirlockOwnerFees(asset) |
customFee hook instead of a fee-schedule hookWAD (1e18, or 100%)beneficiaryFees with initializer beneficiary-share accountingtesting
Verify on-chain Doppler behavior with cast, viem, RPC, and explorers for dynamic auctions, multicurve launches, hook initializer state, and migration flows.
development
Reference for Uniswap V3/V4 concepts used in Doppler development, including tick math, sqrtPriceX96, concentrated liquidity formulas, and V4 hooks/singleton architecture.
tools
Reference for Doppler token creation, vesting, inflation, and factory selection across DERC20, DERC2080, CloneERC20, and CloneDERC20VotesV2 paths.
testing
Configure and verify migration-time proceeds split flows using `ProceedsSplitter`, `TopUpDistributor`, `UniswapV4MigratorSplit`, and `UniswapV4MigratorSplitHook`.