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

/migrator-uniswap-v2

@4f654fe
Run it yourself

Document and verify Doppler's Uniswap V2 liquidity migrator path used during `Airlock.migrate(asset)`.

Use this Skill: https://skilld.dev/gh/whetstoneresearch/doppler-skills/migrator-uniswap-v2

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈31 tokens for metadata: the name and description. ≈460 when used: this file. ≈510 more on demand in 3 files.

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

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.

Uniswap V2 Migrator

When to use

  • You are integrating a legacy migration destination based on Uniswap V2 pools.
  • You need to verify Airlock-to-migrator handoff behavior for the V2 path.
  • You are auditing compatibility behavior on networks where V4 migration is not used.

Prerequisites

  • Confirm liquidityMigrator is configured to the V2 migrator implementation.
  • Confirm migration policy allows V2 for this launch.
  • Confirm asset/numeraire token ordering and destination recipient assumptions.

Core workflow

  1. Trace Airlock.migrate(asset) up to migrator handoff.
  2. Verify post-fee balances sent by Airlock to the V2 migrator path.
  3. Verify V2 destination liquidity state after migration.
  4. Validate recipient/locker ownership of migrated liquidity.

Quick facts

Item Detail
Entrypoint caller Airlock.migrate(asset)
Handoff call liquidityMigrator.migrate(...)
Canonical source file doppler/src/migrators/UniswapV2Migrator.sol
Policy posture Compatibility path, not the preferred default

Failure modes

  • Wrong liquidityMigrator wiring for a V2 target.
  • Migrating to V2 when a preferred V4 path is available for the same launch policy.
  • Token orientation mismatch between Airlock output and destination pool assumptions.
  • Assuming V4-only features (split/top-up hooks) exist on the V2 path.

References

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

    The skill is a documentation and verification guide for a Uniswap V2 liquidity migrator contract. It provides technical instructions for auditing migration flows and includes standard development commands for extracting contract ABIs using Foundry and jq. All external references point to the author's official GitHub repository.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · 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/migrator-uniswap-v2