-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I've been first to compound twice, and it looks like i've received nothing for the claim bounties.
added 1 busd into the pool at this tx
then
claimed first time at hash
second time at hash
looking at the compound function:
// function to compound for pool
bool _canCompound = canCompound();
if(_canCompound){
uint256 balanceBefore = posi.balanceOf(address(this));
posiStakingManager.deposit(POSI_SINGLE_PID, 0, address(this));
uint256 amountCollected = posi.balanceOf(address(this)).sub(balanceBefore);
uint256 rewardForCaller = amountCollected.mul(percentFeeForCompounding).div(100);
uint256 rewardForPool = amountCollected.sub(rewardForCaller);
// stake to POSI pool
posiStakingManager.deposit(POSI_SINGLE_PID, rewardForPool, address(this));
posi.transfer(msg.sender, rewardForCaller);
lastPoolReward = lastPoolReward.add(rewardForPool);
emit Compound(msg.sender, rewardForPool);
}
}
we call the compound function, in theory i should receive some posi token via the posi.transfer(msg.sender, rewardForCaller);.
But it looks like i don't. If thats the case then does that mean the emit Compound(msg.sender, rewardForPool); is failing too and the pools aren't actually compounding, and there aren't any rewards?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels


