Fixed fee level is used when swap tokens on Uniswap.
swap()
function in SmartVaultV3.sol
using hardcoded pool fee 3000:
The problem is not all pools in Uniswap are created with a fee being 3000. When this does not match then the function cannot be executed.
The swap will fail when the pool fee is not 3000
Visual Studio Code
Allow poolFee to be passed in as a parameter so that the correct pool will be used for the swap.
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.