IMiniChefV2
Methods
deposit
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
amount | uint256 | undefined |
to | address | undefined |
emergencyWithdraw
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
to | address | undefined |
harvest
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
to | address | undefined |
poolLength
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
updatePool
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | IMiniChefV2.PoolInfo | undefined |
userInfo
Parameters
Name | Type | Description |
---|---|---|
_pid | uint256 | undefined |
_user | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
_1 | uint256 | undefined |
withdraw
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
amount | uint256 | undefined |
to | address | undefined |
withdrawAndHarvest
Parameters
Name | Type | Description |
---|---|---|
pid | uint256 | undefined |
amount | uint256 | undefined |
to | address | undefined |
Last updated