Improper swap in sellPoolTokens
In function sellPoolTokens(), the expected behavior is that users sell pool tokens to exchange weth tokens. And the parameter is poolTokenAmount. Users expected to sell poolTokenAmount
pool token to swap weth. However we use swapExactOutput
function, aims to swap out poolTokenAmount
weth tokens.
Function sellPoolTokens() may be reverted because of insufficient approval or can be executed but is not users' expectation.
Manual
Should use swapExactInput()
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.