SmartVaultV3 utilizes a hard-coded pool fee of 3000 for the execution of exchange operations
SmartVaultV3 utilizes a hard-coded pool fee of 3000 for the execution of exchange operations.
There are several problems with the hardcoding of the 3000 as the fee.
1.Not all tokens have 3000 fee pools
2.The 3000 pool fee is not the optimal to execute the swap due to low volume
Specially as they are deploying in so many EVM chains, this will be a big problem pretty much in every transaction over there.
Pools with low liquidity will increase the risk of exchanges.
Vscode
Consider allowing the fees as an input and consider not even picking low TVL pools with no transations.
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.