Stable coins like USDC or USDT have have functions to turn on fees on transfers messing up all the calculations. it should account for that.
dealing with stable coins like USDC or USDT is tricky because they will have functions to trigger fees on transfer at any minute they want and this would set off all calculations in the code.
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/zeno/ZENO.sol
as certain as tomorrow will arrive USDC will be turning on their fees on transfer to mess all of your calculations on these functions. so calculate for that.
manual
calculate fee on transfer everywhere USDC is transfered.
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.