Volt Protocol contest - samruna's results

Inflation Protected Stablecoin.

General Information

Platform: Code4rena

Start Date: 31/03/2022

Pot Size: $75,000 USDC

Total HM: 7

Participants: 42

Period: 7 days

Judge: Jack the Pug

Total Solo HM: 5

Id: 102

League: ETH

Volt Protocol

Findings Distribution

Researcher Performance

Rank: 40/42

Findings: 1

Award: $78.91

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

78.9108 USDC - $78.91

Labels

bug
G (Gas Optimization)

External Links

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/volt/Volt.sol#L53 If not called inside the contract, function should be declared external. This avoid storing parmeters in memory, saving gas fees.

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/volt/Volt.sol#L63 Consider addin zero check for value

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/utils/Timed.sol#L71 Check if oldDuration and newDuration is different before raising event. This will save some as fee.

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/utils/RateLimited.sol#L141 Check if oldBufferCap and newBufferCap is different before raising event. This will save some as fee.

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/utils/RateLimited.sol#L132 Check if oldRateLimitPerSecond and newRateLimitPerSecond is different before raising event. This will save some as fee.

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/vcon/Vcon.sol#L124 Add zero check for rawAmount. there is no reason to mind 0 tokens

https://github.com/code-423n4/2022-03-volt/blob/main/contracts/vcon/Vcon.sol#L174 Add zero check for rawAmount. there is no reason to mind 0 tokens

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