IMiniChefV2
Methods
deposit
function deposit(uint256 pid, uint256 amount, address to) external nonpayableParameters
Name
Type
Description
pid
uint256
undefined
amount
uint256
undefined
to
address
undefined
emergencyWithdraw
function emergencyWithdraw(uint256 pid, address to) external nonpayableParameters
Name
Type
Description
pid
uint256
undefined
to
address
undefined
harvest
function harvest(uint256 pid, address to) external nonpayableParameters
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
Was this helpful?