Miso MasterChefV2 Contract
Address
Init Function
Deposits a dummy tokens to MasterChef contract. This is required because MasterChef holds the minting rights for SUSHI. Any balance of transaction sender from dummyToken is transferred. The allocation point for the pool on MCV1 is the total allocation point for all pools that receive double incentives.
Deposit and withdraw Functions
Parameter
Description
pid
The index number of the pool.
amount
Deposit amount number.
to
Address of the deposit owner.
Deposit LP tokens to MasterChef for SUSHI allocation.
Parameter
Description
pid
The index number of the pool.
amount
Withdraw amount number.
to
Address to withdraw to.
Withdraw LP tokens from MasterChef.
Read-Only Functions
View function to see pending SUSHI rewards for given pool Id and user.
Calculates and returns the amount of SUSHI per block.
Last updated