require(amount % allocatedTokensPerEpoch == 0,"Not multiple");
require(amount % allocatedTokensPerEpoch == 0,"Not multiple");
if (`endEpoch` != 0) {
...
uint128 futureRewards = ...
require(futureRewards % amount ==0,"Not multiple");
...\
} else { // to prevent issues with \_stake()
require(rewardsLocked % allocatedTokensPerEpoch==0,"Not multiple");
}
