@ohgeez/fsushi
Version:
fSUSHI is a protocol built on top of [FlashStake](http://flashstake.io/) and [SushiSwap](https://sushi.com) that enables stakers to get instant, upfront yield without waiting for it to accrue.
55 lines (26 loc) • 826 B
Markdown
# 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 |