We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function setFees(uint256 _lockIncentive) ... if (_lockIncentive >= 0 && _lockIncentive <= 30)
if (_balance < _amount) { _amount = _withdrawSome(_gauge, _amount.sub(_balance));
function withdraw(IERC20 _asset) external returns (uint256 balance) { ... return balance;
uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public queuedRewards = 0; uint256 public currentRewards = 0; uint256 public historicalRewards = 0;
uint256 veAssetBalance = IERC20(veAsset).balanceOf(address(this)); if (veAssetBalance > 0) { IERC20(veAsset).safeTransfer(staker, veAssetBalance); } //increase ammount uint256 veAssetBalanceStaker = IERC20(veAsset).balanceOf(staker);
The text was updated successfully, but these errors were encountered:
pauliax issue #271
381402e
## No need for safe math where overflow/underflow is impossible, e.g.: Saves 20 gas
Saves 97 + 94 gas
Saves less than 500 gas
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: