Holoride: DeFi Token
In solidity, all variables defaults to the 0 value. There is no need to explicitly set them to 0 since they have an addtional gas cost.
Consider making the below changes in farming contract.
Consider making the below changes in farming contract.
- uint256 public paidOut = 0;
+ uint256 public paidOut;
- uint256 public totalAllocPoint = 0;
+ uint256 public totalAllocPoint;
Holoride: DeFi Token