> For the complete documentation index, see [llms.txt](https://docs.bancor.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bancor.network/developer-guides/write-functions/migrating-liquidity-to-v3/migrating-bancor-positions-to-v3/migratepooltokens.md).

# migratePoolTokens()

Migrate Bancor v1 pool tokens to Bancor v3

### 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                            |
