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

Reference for dynamic price discovery auctions. Use when working with epoch-based rebalancing, tick accumulator logic, slug placement, or proceeds-driven exit conditions.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈46 tokens for metadata: the name and description. ≈1k when used: this file. ≈9.9k more on demand in 4 files.

Description uses 2.3% 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 ≈184 characters, or 2.3%.

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.

Dynamic Price Discovery Auction

Suggested profile

  • Asset tier: high/ultra-high-value assets
  • Curve posture: maximally capital-efficient sale behavior
  • Governance: OpenZeppelin Governor: disabled
  • Migration: V4 migration path
  • Beneficiaries: custom fee beneficiary setup
  • Allocations: 3-6+ addresses
  • Market posture: best for serious launches, project coins, and protocol tokens; better fit for teams willing to experiment

When to use

  • You are launching a high-value asset and want active price adjustment through the sale
  • You need epoch rebalancing, gamma tuning, tick accumulator logic, or slug placement behavior
  • You are debugging why the auction rebalanced, exited early, or entered insufficient-proceeds mode

Prerequisites

  • Understand token0 < token1 ordering and tick direction
  • Know the sale asset and numeraire for the target pool
  • Set a pricing stance up front:
    • Start above expected fair value
    • Set endingTick to encode the lowest acceptable sale price floor
    • Prefer 6h-24h auction windows over multi-day durations
  • Have access to Foundry (forge, cast) and a compatible RPC endpoint

Core workflow

  1. Decode the initialization config (startingTick, endingTick, gamma, epochLength, numTokensToSell, proceeds bounds).
  2. Confirm epoch state (lastEpoch, tickAccumulator, totalTokensSold, totalProceeds).
  3. Evaluate rebalance mode for the current epoch:
    • Max adjustment (no/low sales)
    • Relative adjustment (behind schedule)
    • Oversold adjustment (ahead of schedule)
  4. Verify liquidity placement across slug classes:
    • Lower slug (refund support)
    • Upper slug (current epoch sales)
    • Price discovery slugs (future epochs)
  5. Determine exit path:
    • Early exit (maximumProceeds reached)
    • Success at end time (minimumProceeds reached)
    • Insufficient proceeds (refund path)
  6. Configure V4 migration path and verify migrator wiring for post-auction liquidity handoff.
  7. Confirm beneficiary fee setup and allocation recipients (3-6+ addresses for the standard high-value profile).

Price behavior and objective

  • The auction can move down in price when bidding interest is insufficient (Dutch-style behavior).
  • The auction can move up in price when demand is stronger than expected or oversubscribed.
  • Target objective: sell the fewest tokens at the best achievable price, maximizing capital efficiency.

Quick facts

Item Value
Main contract src/initializers/Doppler.sol
Precision constant WAD = 1e18
Rebalance trigger beforeSwap when entering a new epoch
Max price discovery slugs 15
Exit model Proceeds-driven (not far-tick-driven)
Recommended duration 6h-24h

Failure modes

  • Tick misinterpretation from wrong token ordering
  • Incorrect epoch assumptions when lastEpoch has not advanced
  • Invalid parameter tuning (gamma too aggressive, epoch too short)
  • Setting starting price too low for discovery or setting endingTick below the acceptable price floor
  • Misreading insufficient-proceeds behavior as a hard failure

Verification hooks

  • Auction state: see ../verification/references/CAST.md
  • Math conversions: see ../verification/references/VIEM.md
  • Event-driven analysis: see ../verification/references/EXPLORERS.md

References

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.

No alerts1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides a technical reference for dynamic price discovery auctions in Uniswap V4. It includes detailed explanations of hook lifecycles, mathematical formulas, and configuration parameters. All external links point to the author's official GitHub repository. No security risks were identified.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer8mo

    5 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 9 months ago
metadata
{
  "author": "doppler",
  "version": "2.0"
}

README badge

README badge for whetstoneresearch/doppler-skills/pda-dynamic