@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.
139 lines (62 loc) • 1.51 kB
Markdown
# IFSushiRestaurant
## Methods
### checkpoint
```solidity
function checkpoint() external nonpayable
```
### checkpointedTotalAssets
```solidity
function checkpointedTotalAssets() external nonpayable returns (uint256)
```
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
### checkpointedTotalAssetsDuring
```solidity
function checkpointedTotalAssetsDuring(uint256 week) external nonpayable returns (uint256)
```
#### Parameters
| Name | Type | Description |
|---|---|---|
| week | uint256 | undefined |
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
### lastCheckpoint
```solidity
function lastCheckpoint() external view returns (uint256)
```
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
### startWeek
```solidity
function startWeek() external view returns (uint256)
```
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
### totalAssets
```solidity
function totalAssets() external view returns (uint256)
```
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
### totalAssetsDuring
```solidity
function totalAssetsDuring(uint256 week) external view returns (uint256)
```
#### Parameters
| Name | Type | Description |
|---|---|---|
| week | uint256 | undefined |
#### Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |