proceeds-split-migration

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

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 "proceeds-split-migration" with this command: npx skills add rustydotwtf/doppler-skills/rustydotwtf-doppler-skills-proceeds-split-migration

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 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

v4-dynamic-auction

No summary provided by upstream source.

Repository SourceNeeds Review