Check out our website and please join our community!
// @audit_1 GaugeLP.sol getReward call to BaseV2Voter
_unlocked = 1;
IGaugeVoterV2(registry.gaugeVoter()).distribute(address(this));
_unlocked = 2;
// @audit_2 BaseV2Voter.sol distribute call to GaugeLP
claimable[_gauge] = 0;
IGauge(_gauge).notifyRewardAmount(registry.maha(), _claimable);
emit DistributeReward(msg.sender, _gauge, _claimable);
_unlocked = 0;
IGaugeVoterV2(registry.gaugeVoter()).distribute(address(this));
_unlocked = 1;
Check out our website and please join our community!