Does anyone know why most people use V1 from the farming feature from pancake swap and not V2? is something wrong with the V2 contracts of farming from pancake swap?
Jul 7, 2021, 9:23 PM
I am trying to understand how this is working.
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
Jul 7, 2021, 10:49 PM
Maybe because that particular pool has more liquidity in V1 as compared to V2
Yes of course. Suppose the price of your token "TK" is $5 on eth. And it increases a little bit and goes to $5.5 on bsc. Then arbitragers can make a profit a by buying the token on eth, bridging them to bsc & selling them on bsc. They will do this untill the price equals on both chains and there is no more arbitrage opportunity. This simple arbitraging opportunity keeps the price same on both chains.
Jul 8, 2021, 4:00 AM
Im talking about the farming pools.
Afraid there are crucial bugs or something
Afraid there are crucial bugs or something
I am trying to understand how this is working.
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
How can we calculate the stake reward
Please we are willing to pay for some dude who knows how to set this algoritme correctly to the reward setup we have in mind
I am trying to understand how this is working.
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
In CAKE pool they by default add allocationpoint 1000
meaning
uint256 cakeReward = multiplier.mul(cakePerBlock).mul(pool.allocPoint).div(totalAllocPoint);
cakeReward = multiplier( which is last reward block sub current block ) * 1000 / 1000
// Total allocation poitns. Must be the sum of all allocation points in all pools.
uint256 public totalAllocPoint = 0;
Jul 8, 2021, 11:17 AM
What is it you want to know? And spamming it again and again won't be of much help🙂
Jul 8, 2021, 1:14 PM
Yeah your right
Jul 8, 2021, 1:42 PM