enterStaking(uint256 _amount)
on the current PancakeSwap MasterChef. You need to migrate to the new CAKE pool contract. Check out the related documentation here.pid
, check out the list of farms for the list of new pids
on MasterChef v2.poolInfo(_pid).isRegular
to query the pool type. They share a different totalAllocPoint
, making them two sets of independent pools.leaveStaking(uint256 _amount)
on the current PancakeSwap MasterChef. You need to migrate to the new CAKE pool contract. Check out the related documentation here.pid
, check out the list of farms for the list of new pids
on MasterChef v2.userInfo[_pid][_user].amount
to query the staking balance.PoolInfo
struct does not contain the lp token address field, you will need to use lpToken(_pid)
to query any given pool's staking token. lpToken.balanceOf(MasterChef.address)
to get the total staking amount for any given farm pool.totalBoostedShare
field in PoolInfo
as each pool’s total shares. For example, if pool 0 has 2 users, user1 stake 100 LPs (without boost), user2 stake 100 (with boostMultiplier
being 1.05), then the totalBoostedShare
will become 205. Resulting in user2 gaining more rewards.cakePerBlock(bool _isRegular)
to query the CAKE reward per block that goes to all the PancakeSwap farms.0xa5f8C5Dbd5F286960b9d90548680aE5ebFf07652
0xFa60D973F7642B748046464e165A65B7323b0DEE
(mintable by using mint(address _to, uint256 _amount) public
)0x8516Fc284AEEaa0374E66037BD2309349FF728eA
(mintable by using mint(uint256 amount) public
)0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd
0x6725F303b657a9451d8BA641348b6761A6CC7a17
0xD99D1c33F9fC3444f8101754aBC46c52416550D1
0xa96818CA65B57bEc2155Ba5c81a70151f63300CD
0xb98C30fA9f5e9cf6749B7021b4DDc0DBFe73b73e
0x1ED62c7b76AD29Bfb80F3329d1ce7e760aAD153d
0xb98C30fA9f5e9cf6749B7021b4DDc0DBFe73b73e
0xa96818CA65B57bEc2155Ba5c81a70151f63300CD
0xB4A466911556e39210a6bB2FaECBB59E4eB7E43d
0xb98C30fA9f5e9cf6749B7021b4DDc0DBFe73b73e
0xa96818CA65B57bEc2155Ba5c81a70151f63300CD