Rigor Protocol contest - sikorico's results

Community lending and instant payments for new home construction.

General Information

Platform: Code4rena

Start Date: 01/08/2022

Pot Size: $50,000 USDC

Total HM: 26

Participants: 133

Period: 5 days

Judge: Jack the Pug

Total Solo HM: 6

Id: 151

League: ETH

Rigor Protocol

Findings Distribution

Researcher Performance

Rank: 75/133

Findings: 2

Award: $62.36

🌟 Selected for report: 0

🚀 Solo Findings: 0

[QA 01] Use safeTransfer instead transfer in the following locations

Proof of concept:

[HomeFiProxy.sol#L155](https://github.com/code-423n4/2022-08-rigor/tree/main/contracts/HomeFiProxy.sol#L155)

[QA 02] Mismatched solidity versions

The code is compiled with more than one solidity version which can cause undesired behavior.

[QA 03] Use two steps verification for the following contracts

Proof of concept:

[QA 04] Timelock is missing for the following functions

Proof of concept:

[QA 05] Magic number, consider using named constant instead.

Proof of concept:

[QA 06] Both return statement and named return

For readability purposes consider having one of the two return options (for the following functions)

Proof of concept:

[QA 07] Not emitted event for state changes

Proof of concept:

[QA 08] Remove the name from the following unused function parameters

Proof of concept:

GAS REPORT

[GAS 00] Cache the array size for the following loops over array

Proof of concept:

[GAS 01] Unnecessary caching of msg.sender

Proof of concept:

[GAS 02] Use > 0 instead != 0 to check if an unsigned int is not 0

Proof of concept:

[GAS 03] Use custom error instead string error for the following require statements

Proof of concept:

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