doppler-hooks

Integrate and verify Doppler hook modules, including `DopplerHookInitializer` hook paths, callback flags, and hook-specific runtime behavior.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "doppler-hooks" with this command: npx skills add rustydotwtf/doppler-skills/rustydotwtf-doppler-skills-doppler-hooks

Source References: Use Doppler deployments as the contract source of truth for deployed addresses and revisions.

Doppler Hooks

When to use

  • You need a top-level hook integration path for a price discovery launch
  • You are using DopplerHookInitializer to register or manage hook callbacks
  • You are troubleshooting hook-enabled multicurve pools and lifecycle transitions

Prerequisites

  • Asset/numeraire addresses and expected pool mode (locked vs migrable)
  • Hook contract addresses and intended flags

Core workflow

  1. Initialize pool with InitData including optional dopplerHook and callback calldata.
  2. Confirm stored state via getState(asset):
    • pool key
    • far tick
    • status
    • selected hook
  3. Validate callback execution path by flag:
    • ON_INITIALIZATION_FLAG
    • ON_SWAP_FLAG
    • ON_GRADUATION_FLAG
  4. Verify graduation / migration behavior for the configured hook path.

Supported hook modules

  • Rehypothecation hook (RehypeDopplerHook) for buybacks and fee routing
  • ScheduledLaunchDopplerHook for start-time gates
  • SwapRestrictorDopplerHook for per-address amount ceilings

Quick facts

ItemDetail
Initializer contractDopplerHookInitializer
Base hook contractBaseDopplerHook
Core callback flagsON_INITIALIZATION_FLAG, ON_SWAP_FLAG, ON_GRADUATION_FLAG
Common moduleRehypothecation hook (RehypeDopplerHook)

Failure modes

  • Hook module not enabled for the target deployment
  • Incorrect callback calldata encoding
  • Status mismatch (WrongPoolStatus cases)
  • Attempting migration without graduation conditions met

References

  • WORKFLOWS.md
  • STATE-MAP.md
  • Source: doppler/src/initializers/DopplerHookInitializer.sol, doppler/src/base/BaseDopplerHook.sol, doppler/docs/DopplerHookInitializer.md

Related skills

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

uniswap-fundamentals

No summary provided by upstream source.

Repository SourceNeeds Review
General

fee-architecture

No summary provided by upstream source.

Repository SourceNeeds Review
General

verification

No summary provided by upstream source.

Repository SourceNeeds Review
General

proceeds-split-migration

No summary provided by upstream source.

Repository SourceNeeds Review