UNPKG

@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.

93 lines (44 loc) 1.27 kB
# FSushiCookV0 ## Methods ### cook ```solidity function cook(uint256 pid, uint256 amountLP, address[] path0, address[] path1, uint256 amountMin, address beneficiary, uint256 stakeDuration, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external nonpayable ``` #### Parameters | Name | Type | Description | |---|---|---| | pid | uint256 | undefined | | amountLP | uint256 | undefined | | path0 | address[] | undefined | | path1 | address[] | undefined | | amountMin | uint256 | undefined | | beneficiary | address | undefined | | stakeDuration | uint256 | undefined | | deadline | uint256 | undefined | | v | uint8 | undefined | | r | bytes32 | undefined | | s | bytes32 | undefined | ### flashStrategyFactory ```solidity function flashStrategyFactory() external view returns (address) ``` #### Returns | Name | Type | Description | |---|---|---| | _0 | address | undefined | ### flpTokenFactory ```solidity function flpTokenFactory() external view returns (address) ``` #### Returns | Name | Type | Description | |---|---|---| | _0 | address | undefined | ### sousChef ```solidity function sousChef() external view returns (address) ``` #### Returns | Name | Type | Description | |---|---|---| | _0 | address | undefined |