> For the complete documentation index, see [llms.txt](https://docs.base.meme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.base.meme/for-developers/migrating-coins.md).

# Migrating Coins

This guide covers how to migrate graduated coins to Liquidity pool (DEX) using the **Basememe Factory** contract.

## Migrate Graduated Coin

To migrate a graduated coin, you send a transaction to call the `migrate` method.

### Method Interface

```solidity
// solidity interface 

/// @notice Migrate a graduated token to Liquidity pool (DEX)
///
/// @param _token The graduated token address

function migrate(address _token) external nonReentrant;
```

### Events

Successful migration will emit a `Migrated` event.

```solidity
/// @notice emitted when a graduated token is migrated
///
/// @param addr The token contract address
event Migrated(
    address token,
    uint256 tokenId,
    uint128 liquidity,
    uint256 amount0,
    uint256 amount1,
    uint256 migrationFee
);
```
