Miso MasterChef Contract
Address
Init Function
Parameter
Description
_rewards
Reward token address
_rewardsPerBlock
Number of rewards available per block.
_startBlock
Block number when rewards start to be distributed.
_devaddr
Developer address.
_admin
Admin address.
Initializes Farm with required variables.
Read-Only Functions
Returns the number of farming pools.
Parameter
Description
_from
Block number marking the begining of desired period.
_to
Block number marking the end of desired period.
Returns reward multiplier over the given _from to _to block.
Parameter
Description
_pid
Farming pool Id number.
_user
User address.
Function to display pending rewards for a user.
Returns the number of blocks remaining with the current rewards balance.
Last updated