Closed chasebrownn closed 5 months ago
The linked declaration style of a struct is using index-based argument initialization.
vestingSchedules[tokenId] = VestingSchedule(startTime, endTime, amount);
We advise the key-value declaration format to be utilized instead, greatly increasing the legibility of the codebase.
Resolved
VEV-04C: Suboptimal Struct Declaration Style
Description:
The linked declaration style of a struct is using index-based argument initialization.
Example:
Recommendation:
We advise the key-value declaration format to be utilized instead, greatly increasing the legibility of the codebase.