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
UniswapV4MigratorSplitpath - 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
TopUpDistributordeployment and pull-up permissions - Confirm token ordering (
token0 < token1) and asset orientation (isToken0in split config)
Core workflow
- Configure migrator initialization data:
- V4 pool params
- locker settings / beneficiaries
- proceeds split recipient and share
- If split enabled (
proceedsShare > 0), migrator storesSplitConfigurationvia_setSplit. - Ensure migrator is pre-approved in
TopUpDistributorviasetPullUp(migrator, true)in deployment configuration. - During migration:
- compute balances
_distributeSplit(...)transfers split share to recipientTOP_UP_DISTRIBUTOR.pullUp(...)forwards cumulative top-ups
- Verify final balances and
DistributeSplit/PullUpevents.
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
isToken0orientation 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
More from rustydotwtf/doppler-skills
fee-architecture
Reference for Doppler fee collection, distribution, and configuration across Airlock, FeesManager, locker contracts, and hook-based fee paths.
9token-lifecycle
Reference for Doppler token creation, vesting, inflation, and factory selection across DERC20, DERC2080, CloneERC20, and CloneDERC20VotesV2 paths.
9uniswap-fundamentals
Reference for Uniswap V3/V4 concepts used in Doppler development, including tick math, sqrtPriceX96, concentrated liquidity formulas, and V4 hooks/singleton architecture.
9verification
Verify on-chain Doppler behavior with cast, viem, RPC, and explorers for dynamic auctions, multicurve launches, hook initializer state, and migration flows.
8rehype
Operate, configure, test, and deploy Doppler's Rehype V4 hook for buybacks, beneficiary fees, and airlock-owner fee claims.
4pda-multicurve
Reference for multicurve price discovery auctions with scheduled multicurve as the canonical default; covers shares-based curve allocation, deployment modes, and lifecycle constraints.
4