# migratePoolTokens()

### Function migratePoolTokens()

{% code title="BancorV1Migration.sol" %}

```javascript
function migratePoolTokens(IPoolToken poolToken, uint256 amount) external
```

{% endcode %}

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

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

### Function Arguments

| Name      | Type       | Description                                      |
| --------- | ---------- | ------------------------------------------------ |
| poolToken | IPoolToken | The address of the token deposited into the pool |
| amount    | uint256    | The amount to deposit                            |
