current position:Home>Find sushiswap LP mining reward principle and calculation process masterchefv2

Find sushiswap LP mining reward principle and calculation process masterchefv2

2022-02-03 23:54:25 Q & A of Denglian community

Contract source code

https://github.com/sushiswap/sushiswap/blob/master/contracts/MasterChefV2.sol

Ask for the guidance of the great God




Take the answer 1:

sushiswap lp dig Mainly in the MasterChef In the contract .

The principle of mining reward is roughly like this :MasterChef The contract specifies what can be dug up in each block sushi Number , In the code :sushiPerBlock( Seems to be 40 individual ).

then , Different LP Divide according to the set proportion sushiPerBlock, for example :ETH-WBTC lp Occupy 10% The proportion of , that ETH-WBTC This pool , Each block can be excavated 4 individual sushi.

Each pledged user also allocates the of the pool in proportion sushi, Join in A Users pledge ETH-WBTC lp The quantity accounts for... Of the total pool 5%, be A Each block can get 4 * 0.05 individual sushi .

You sent it MasterChefV2 , I haven't seen it before , Just a moment ago , I didn't get it wrong , It's in MasterChef A quadratic distribution is made on the basis of , Multiple MasterChefV2 The pool is closed , To dig MasterChef A pool in .






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032354232931.html

Random recommended