Skip to main content

Alchemix Liquidity Migration

Challenge

Alchemix has developed a liquidity migration tool. This tool seamlessly transitions liquidity from any Sushiswap or Uniswap V2 liquidity pool to its corresponding Balancer pool, and then stakes in Aura. It’s a general-purpose solution that supports the migration of any Sushi LP to a Balancer LP, allowing projects to leverage existing live contracts and eliminating the need for additional deployments.

Interaction Implementation

OKcontract features multi-step editor to facilitate creation of multiple interfaces required for liquidity migration process in chosen order. The widget calls both Sushi Farming contract and Alchemix Migrator contract to execute the migration of staked funds from 50/50 Sushi pool to 80/20 Balancer pool.

The interaction has three steps that enable users to:

  1. Withdraw SLP tokens and claim unclaimed rewards from Sushi pool
  2. Approve Migrator contract for spending X amount of LP tokens
  3. Migrate to Balancer (and optionally stake in Aura pool)

Results

With the OKcontract widget, Alchemix users can now easily migrate their liquidity from Sushi to Balancer, executing multiple transactions within a single interface that can be embedded into any web page. Our multi-step widget can significantly simplify complex blockchain operations, providing users with a seamless and integrated transactional experience.

Multi-step Alchemix Migrator