veRWA - jat'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: 67/125

Findings: 1

Award: $9.82

QA:
grade-a

🌟 Selected for report: 0

🚀 Solo Findings: 0

1/ QUIT value in the LockAction enum is not used anywhere, so remove it. https://github.com/code-423n4/2023-08-verwa/blob/main/src/VotingEscrow.sol#L64

2/ natspec incorrect : implementation shows lock becomes inactive either when lock.amount==0 OR lock.end<=block.timestamp (not AND) see https://github.com/code-423n4/2023-08-verwa/blob/main/src/VotingEscrow.sol#L287

3/ We have 3 useless lines of code around https://github.com/code-423n4/2023-08-verwa/blob/main/src/VotingEscrow.sol#L142-L144 : if (uEpoch == 0) { userPointHistory[_addr][uEpoch + 1] = userOldPoint; } remove them because this value is overwritten 4 lines after.

#0 - c4-judge

2023-08-22T13:41:29Z

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