Mimo DeFi contest - z3s's results

Bridging the chasm between the DeFi world and the world of regulated financial institutions.

General Information

Platform: Code4rena

Start Date: 28/04/2022

Pot Size: $50,000 USDC

Total HM: 7

Participants: 43

Period: 5 days

Judge: gzeon

Total Solo HM: 2

Id: 115

League: ETH

Mimo DeFi

Findings Distribution

Researcher Performance

Rank: 20/43

Findings: 2

Award: $155.98

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

104.9405 USDC - $104.94

Labels

bug
QA (Quality Assurance)

External Links

Non Critical

[N01] ABIEncoderV2 is activated by default from version 0.8.0:

These can be deleted:

supervaults/contracts/SuperVault.sol 3,1: pragma experimental ABIEncoderV2; supervaults/contracts/SuperVaultFactory.sol 3,1: pragma experimental ABIEncoderV2;

[N02] Visibility for constructor is ignored:

From solidity 0.7.0 constructor visibility has been removed. You can remove public.

supervaults/contracts/SuperVaultFactory.sol:17 - constructor(address _base) public { + constructor(address _base) {

[N03] Delete unused imports:

Unused imports make confusion. consider deleting them.

supervaults/contracts/SuperVault.sol 6,1: // import "@openzeppelin/contracts/utils/math/SafeMath.sol"; 13,1: // import "./interfaces/IVaultsCore.sol";

Awards

51.0404 USDC - $51.04

Labels

bug
G (Gas Optimization)

External Links

Gas Optimizations

Use Custom Errors to save Gas:

Custom errors from Solidity 0.8.4 are cheaper than require messages. https://blog.soliditylang.org/2021/04/21/custom-errors/

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