bunker.finance contest - 0v3rf10w's results

The easiest way to borrow against your NFTs.

General Information

Platform: Code4rena

Start Date: 03/05/2022

Pot Size: $50,000 USDC

Total HM: 4

Participants: 46

Period: 5 days

Judge: gzeon

Total Solo HM: 2

Id: 117

League: ETH

bunker.finance

Findings Distribution

Researcher Performance

Rank: 40/46

Findings: 1

Award: $52.48

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

52.4836 USDC - $52.48

Labels

bug
G (Gas Optimization)

External Links

gas1:

changing visibility modifiers from public to external saves gas

gas2:

fix pragma, avoid floating pragma and better if atleast 0.8.4 to get compiler benefits and optimisations

gas3:

use indexed for address in events comptroller.sol #21-24

event MarketEntered(CToken cToken, address account); /// @notice Emitted when an account exits a market event MarketExited(CToken cToken, address account);

gas4:

use prefix ++i rather than suffix i++ to save gas and no need to init i, as done in other contracts comptroller.sol #119,199,591,949,1223

for (uint i = 0; i < cTokens.length; i++)
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