# IMasterChef









## Methods

### deposit

```solidity
function deposit(uint256 _pid, uint256 _amount) external nonpayable
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _pid | uint256 | undefined |
| _amount | uint256 | undefined |

### pendingSushi

```solidity
function pendingSushi(uint256 _pid, address _user) external view returns (uint256)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _pid | uint256 | undefined |
| _user | address | undefined |

#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |

### poolInfo

```solidity
function poolInfo(uint256 _pid) external view returns (address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accSushiPerShare)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _pid | uint256 | undefined |

#### Returns

| Name | Type | Description |
|---|---|---|
| lpToken | address | undefined |
| allocPoint | uint256 | undefined |
| lastRewardBlock | uint256 | undefined |
| accSushiPerShare | uint256 | undefined |

### sushi

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






#### Returns

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

### userInfo

```solidity
function userInfo(uint256 _pid, address user) external view returns (uint256 amount, uint256 rewardDebt)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _pid | uint256 | undefined |
| user | address | undefined |

#### Returns

| Name | Type | Description |
|---|---|---|
| amount | uint256 | undefined |
| rewardDebt | uint256 | undefined |

### withdraw

```solidity
function withdraw(uint256 _pid, uint256 _amount) external nonpayable
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _pid | uint256 | undefined |
| _amount | uint256 | undefined |




