Platform: Code4rena
Start Date: 21/06/2022
Pot Size: $50,000 USDC
Total HM: 31
Participants: 99
Period: 5 days
Judges: moose-code, JasoonS, denhampreen
Total Solo HM: 17
Id: 139
League: ETH
Rank: 71/99
Findings: 1
Award: $72.44
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: 0xDjango
Also found by: BowTiedWardens, Metatron, cccz, hansfriese, shung, ych18, zzzitron
https://github.com/code-423n4/2022-06-yieldy/blob/main/src/contracts/Staking.sol#L157
If the owner sets a new CURVE_POOL
, this latter cannot be used entirely and some transactions could be reverted ( e.g a call to the instantUnstakeCurve()
function ) because the function setCurvePool()
doesn't give the allowance to the new CURVE_POOL
IERC20(TOKE_POOL).approve(CURVE_POOL, type(uint256).max);
to setCurvePool()
function.#0 - toshiSat
2022-06-27T22:57:34Z
#165