Index of every page on this site: llms.txt
All skills
whetstoneresearch avatar

/proceeds-split-migration

@4f654fe
Run it yourself

Configure and verify migration-time proceeds split flows using `ProceedsSplitter`, `TopUpDistributor`, `UniswapV4MigratorSplit`, and `UniswapV4MigratorSplitHook`.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/proceeds-split-migration

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈47 tokens for metadata: the name and description. ≈525 when used: this file. ≈312 more on demand in 2 files.

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

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.

Proceeds Split Migration

When to use

  • Launch uses UniswapV4MigratorSplit path
  • You need to configure a recipient proceeds share and top-up distribution
  • You are debugging migration payouts and split accounting

Prerequisites

  • Confirm migrator module and hook addresses
  • Confirm TopUpDistributor deployment and pull-up permissions
  • Confirm token ordering (token0 < token1) and asset orientation (isToken0 in split config)

Core workflow

  1. Configure migrator initialization data:
    • V4 pool params
    • locker settings / beneficiaries
    • proceeds split recipient and share
  2. If split enabled (proceedsShare > 0), migrator stores SplitConfiguration via _setSplit.
  3. Ensure migrator is pre-approved in TopUpDistributor via setPullUp(migrator, true) in deployment configuration.
  4. During migration:
    • compute balances
    • _distributeSplit(...) transfers split share to recipient
    • TOP_UP_DISTRIBUTOR.pullUp(...) forwards cumulative top-ups
  5. Verify final balances and DistributeSplit/PullUp events.

Critical constraints

  • MAX_SPLIT_SHARE = 0.5e18
  • split recipient must be nonzero
  • only approved migrators can call pullUp
  • top-ups are pair-specific and cumulative until migration pull-up

Failure modes

  • Migrator not approved in TopUpDistributor
  • Wrong isToken0 orientation causing split on wrong side
  • Share exceeds cap or recipient is zero
  • Assuming top-ups are recoverable without migration

References

  • CONFIG.md
  • FLOW.md
  • Source: doppler/src/base/ProceedsSplitter.sol, doppler/src/TopUpDistributor.sol, doppler/src/migrators/UniswapV4MigratorSplit.sol

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 warning1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is a documentation-only guide for configuring smart contract migration processes. It contains no executable code and no malicious patterns were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

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

README badge

README badge for whetstoneresearch/doppler-skills/proceeds-split-migration