veRWA - p_crypt0'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: 100/125

Findings: 1

Award: $4.23

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

[QA report]

[Non-Critical] GaugeController.sol ToDos not implemented

Line 59 recommends changing _governance address to oracle, change not implemented yet.

Developers should consider either implementing change or removing the ToDo for QA purposes.

[Non-Critical] Use of Magic Numbers not recommended in GaugeController.sol

The use of magic numbers is bad practice across software development, since it makes code difficult to read and the intentions behind it impossible to understand at first glance.

Thus, I would recommend the removal of magic numbers from this contract.

Examples include:

  • Line 69 (uint256 i; i < 500; ++i).
    • Consider making 500 a constant variable denoting the upper limit of weeks to forward, as uint16 MAX_FORWARDING_WEEKS = 500

#0 - c4-judge

2023-08-22T14:00:11Z

alcueca marked the issue as grade-a

#1 - c4-judge

2023-08-22T14:00:16Z

alcueca marked the issue as grade-b

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