Open ryu9827 opened 6 years ago
https://github.com/tikonoff/staking-app/blob/8306bb8deebe0f554e99bf4e525ea4a3f5672397/contracts/Stake.sol#L24 Favor capitalization and a prefix in front of events (we suggest Log), to prevent the risk of confusion between functions and events:
event LogStakeEvent(address indexed user, uint levs, uint startBlock, uint endBlock); event LogRedeemEvent(address indexed user, uint levs, uint feeEarned, uint startBlock, uint endBlock); event LogFeeCalculated(uint feeCalculated, uint feeReceived, uint weiReceived, uint startBlock, uint endBlock); event LogStakingInterval(uint startBlock, uint endBlock);
https://github.com/tikonoff/staking-app/blob/8306bb8deebe0f554e99bf4e525ea4a3f5672397/contracts/Stake.sol#L24 Favor capitalization and a prefix in front of events (we suggest Log), to prevent the risk of confusion between functions and events: