Platform: Code4rena
Start Date: 24/03/2022
Pot Size: $75,000 USDC
Total HM: 15
Participants: 59
Period: 7 days
Judge: gzeon
Id: 103
League: ETH
Rank: 42/59
Findings: 2
Award: $177.72
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: hake
Also found by: 0v3rf10w, 0xDjango, 0xkatana, BouSalman, CertoraInc, Dravee, Hawkeye, IllIllI, JMukesh, Jujic, Kenshin, PPrieditis, Picodes, PranavG, Ruhum, SolidityScan, VAD37, WatchPug, aga7hokakological, catchup, csanuragjain, cthulhu_cult, defsec, dimitri, hickuphh3, hubble, hyh, kenta, kirk-baird, obront, peritoflores, rayn, robee, saian, samruna, shenwilly, shw, sorrynotsorry, tchkvsky, teryanarmen, ych18
116.1812 USDC - $116.18
Check that the array lengths are the same since it's the string that is the key that maps to the specific configs:
Consider emitting events for addDex() & removeDex(). Useful for user to be timely updated about the available Dexes:
Ensure that there's enough balance before making a swap:
For the aforementioned, require (postBalance>0, ‘’)
Check that the length of the array is >0:
the check in _executeSwap() is invalidated as there's no condition available since the array is empty.
#0 - H3xept
2022-04-01T09:20:56Z
Enough balance before swap is fixed by lifinance/lifi-contracts@91870a578e8dd315b057acc5eb3370ffa0186208
#1 - H3xept
2022-04-11T11:44:29Z
Duplicate of #76
🌟 Selected for report: Dravee
Also found by: 0v3rf10w, 0xDjango, 0xNazgul, 0xkatana, ACai, CertoraInc, FSchmoede, Funen, Hawkeye, IllIllI, Jujic, Kenshin, PPrieditis, Picodes, SolidityScan, TerrierLover, Tomio, WatchPug, catchup, csanuragjain, defsec, dimitri, hake, hickuphh3, kenta, minhquanym, obront, peritoflores, rayn, rfa, robee, saian, samruna, tchkvsky, teryanarmen, ych18
61.5429 USDC - $61.54
can use unchecked block since the prior ‘require ‘statement ensures that there is no underflow.
#0 - H3xept
2022-04-01T09:50:03Z
We internally decided to avoid unchecked statements for now.