Phuture Finance contest - simon135's results

Crypto index platform, that simplifies your investments through automated, themed index products.

General Information

Platform: Code4rena

Start Date: 19/04/2022

Pot Size: $30,000 USDC

Total HM: 10

Participants: 43

Period: 3 days

Judges: moose-code, JasoonS

Total Solo HM: 7

Id: 90

League: ETH

Phuture Finance

Findings Distribution

Researcher Performance

Rank: 37/43

Findings: 1

Award: $29.26

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

29.2584 USDC - $29.26

Labels

bug
G (Gas Optimization)

External Links

gas ompimization in indexLayout.sol uint lastTransferTime : should become a uint96 to save gas because its at the it should be at the same slot as the address before bec the address above is 20 bytes which is 160 bits and every slot holds 256 bits.there are 96 bits left over to use So the thrid address varible is at 3 slot and can be packed together with uint96 to get 256 bits in that slot saving 1 slot of gas which is a sstore 50,000 gas.

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