Search…
migrateSushiSwapV1Position()
Common errors for migrating SushiSwap positions to Bancor v3

Function migrateSushiSwapV1Position()

IBancorPortal.sol
1
function migrateSushiSwapV1Position(
2
Token token0,
3
Token token1,
4
uint256 amount
5
) external
Copied!
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
Copy link