Platform: Code4rena
Start Date: 14/06/2022
Pot Size: $50,000 USDC
Total HM: 19
Participants: 99
Period: 5 days
Judge: HardlyDifficult
Total Solo HM: 4
Id: 136
League: ETH
Rank: 82/99
Findings: 1
Award: $48.98
π Selected for report: 0
π Solo Findings: 0
π Selected for report: joestakey
Also found by: 0x1f8b, 0x29A, 0x52, 0xDjango, 0xNazgul, 0xNineDec, 0xf15ers, 0xkowloon, 0xmint, 8olidity, BowTiedWardens, Chom, Cityscape, Czar102, ElKu, FSchmoede, Funen, GimelSec, GreyArt, IllIllI, KIntern, Kaiziron, Kenshin, Lambda, MadWookie, MiloTruck, PPrieditis, Picodes, Ruhum, Sm4rty, StErMi, TerrierLover, TomJ, Treasure-Seeker, VAD37, WatchPug, Wayne, _Adam, a12jmx, abhinavmir, antonttc, apostle0x01, asutorufos, berndartmueller, cccz, cloudjunky, codexploder, cryptphi, csanuragjain, defsec, delfin454000, fatherOfBlocks, georgypetrov, hake, hansfriese, horsefacts, hyh, k, kenta, nxrblsrpr, oyc_109, peritoflores, rajatbeladiya, reassor, rfa, robee, sach1r0, saian, samruna, shenwilly, simon135, sorrynotsorry, sseefried, throttle, unforgiven, wagmi, zzzitron
48.9813 USDC - $48.98
If accidentally set incorrectly, getUserStakeLevel will not work as intended
If a threshold is accidentally set higher than the tier higher or lower than the tier lower, then the if then else will not perform as expected and assign user incorrect level
Before setting a threshold in updateStakeLevelThreshold check that the new threshold is above the lower threshold and below the higher threshold
#0 - HardlyDifficult
2022-07-11T23:10:20Z
Agree that it would be good to validate the inputs are sorted correctly here. Lowering risk and converting this into a QA report for the warden.
#1 - HardlyDifficult
2022-07-11T23:14:29Z
#2 - HardlyDifficult
2022-07-11T23:15:51Z