Index of every page on this site: llms.txt
All skills
Run it yourself

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

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/doppler-hooks

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈39 tokens for metadata: the name and description. ≈545 when used: this file. ≈318 more on demand in 2 files.

Description uses 2.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈157 characters, or 2.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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 (RehypeDopplerHookInitializer) for buybacks, fee routing, and protocol-owner fee claims
  • ScheduledLaunchDopplerHook for start-time gates
  • SwapRestrictorDopplerHook for per-address amount ceilings

Quick facts

Item Detail
Initializer contract DopplerHookInitializer
Base hook contract BaseDopplerHook
Core callback flags ON_INITIALIZATION_FLAG, ON_SWAP_FLAG, ON_GRADUATION_FLAG
Common module Rehypothecation hook (RehypeDopplerHookInitializer)

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: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides instructions for integrating and verifying Doppler hook modules and pool state. It references the developer's official GitHub repository for source code and deployment verification. No security concerns were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    3 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4f654fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 8 months ago
metadata
{
  "author": "doppler",
  "version": "1.0"
}

README badge

README badge for whetstoneresearch/doppler-skills/doppler-hooks