Skip to main content

Migrating with same base token

Move your USDC lending position from Aave to Compound while keeping the same underlying asset. Route mechanics
  • redeem existing USDC collateral on AAVE
  • deposit retreived USDC to Compound CUSDC position

Migrating to different base position

Switch Aave lending position from USDC collateral to WETH collateral in a single transaction. Bundle design:
  • redeem existing USDC collateral on AAVE
  • swap USDC to WETH using route action
  • deposit resulting WETH to AAVE (using the {useOutputOfCallAt: 1} to reference the swap)