veRWA - Shubham's results

Incentivization Primitive for Real World Assets on Canto

General Information

Platform: Code4rena

Start Date: 07/08/2023

Pot Size: $36,500 USDC

Total HM: 11

Participants: 125

Period: 3 days

Judge: alcueca

Total Solo HM: 4

Id: 274

League: ETH

Canto

Findings Distribution

Researcher Performance

Rank: 72/125

Findings: 1

Award: $9.82

QA:
grade-a

🌟 Selected for report: 0

🚀 Solo Findings: 0

Low Risk Issue

IssueInstances
L-01Leap Year not accounted for in LOCKTIME1

[L-01] Leap Year not accounted for in LOCKTIME

The LOCKTIME global variable is calculated taking 365 days a year for 5 years into consideration. But Leap Year occurs every 4 years. So it has to occur atleast once in the duration of LOCKTIME. Therefore the value of LOCKTIME should be minimum 1826 instead of 1825.

Recommeded Step
File: VotingEscrow.sol

-        uint256 public constant LOCKTIME = 1825 days;
+        uint256 public constant LOCKTIME = 1826 days;

#0 - 141345

2023-08-13T08:02:43Z

#1 - c4-judge

2023-08-22T13:47:43Z

alcueca marked the issue as grade-a

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter