Custom Fees
Arbitrary migration to Uniswap v4 pools with customizable fees
Overview
Usage with V3 SDK
Integration with CreateV3PoolParams
interface CreateV3PoolParams {
// ... other parameters ...
liquidityMigratorData?: Hex; // Encoded V4 migration configuration
}Step 1: Configure Beneficiaries
Step 2: Sort and Validate Beneficiaries
Step 3: Configure V4 Migrator
Step 4: Encode Configuration
Step 5: Create Pool with V4 Migration
Querying Migrator State
Important Considerations
Beneficiary Requirements
Fee Tiers and Tick Spacing
Lock Duration
Helper Functions
sortBeneficiaries
encodeV4MigratorData
Migration Flow
Example: Multi-Beneficiary Setup
See Also
Last updated