migratePoolTokens()

Migrate Bancor v1 pool tokens to Bancor v3

Function migratePoolTokens()

BancorV1Migration.sol
function migratePoolTokens(IPoolToken poolToken, uint256 amount) external

This function migrates Bancor v1 pool tokens to Bancor v3. Use this function for non-whitelisted pools on the Bancor network.

You can trigger this function on any Bancor pool tokens that exist in your wallet.

Function Arguments

NameTypeDescription

poolToken

IPoolToken

The address of the token deposited into the pool

amount

uint256

The amount to deposit

Last updated