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
Rank: 40/42
Findings: 1
Award: $78.91
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: IllIllI
Also found by: 0v3rf10w, 0xNazgul, 0xkatana, 0xkowloon, CertoraInc, Dravee, Funen, Hawkeye, Jujic, Kenshin, Meta0xNull, Sleepy, TerrierLover, catchup, csanuragjain, defsec, georgypetrov, kenta, okkothejawa, rayn, rfa, robee, saian, samruna
78.9108 USDC - $78.91
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