migrateSushiSwapV1Position()

Common errors for migrating SushiSwap positions to Bancor v3

Function migrateSushiSwapV1Position()

IBancorPortal.sol
   function migrateSushiSwapV1Position(
        Token token0,
        Token token1,
        uint256 amount
    ) external

This function migrates liquidity from a SushiSwap position to Bancor v3.

Name
Type
Description

Token

token0

Token being migrated from SushiSwap

Token

token1

Token being reserved on Bancor v3

uint256

amount

The amount to deposit

Last updated