# IFarmingLPTokenMigrator









## Methods

### factoryLegacy

```solidity
function factoryLegacy() external view returns (address)
```



*address of legacy FarmingLPTokenFactory*


#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |

### onMigrate

```solidity
function onMigrate(address account, uint256 pid, address lpToken, uint256 shares, uint256 amountLP, address beneficiary, bytes params) external nonpayable
```



*msg.sender MUST be factoryLegacy.getFarmingLPToken(lpToken)*

#### Parameters

| Name | Type | Description |
|---|---|---|
| account | address | undefined |
| pid | uint256 | undefined |
| lpToken | address | undefined |
| shares | uint256 | undefined |
| amountLP | uint256 | undefined |
| beneficiary | address | undefined |
| params | bytes | undefined |




