_totalValue doesnt check for decimals, since any token can be sent to the contract they might also have different decimals changing the whole thing.
the _totalValue does not check for decimals which makes this issue different than the other one I sent before, even if that other one is fixed the decimals are still a problem if they are different making this _totalValue completelly useless
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/Treasury.sol#L41-L55
even if the other issue about spammy tokens being allowed is fixed and only selective tokens and people can deposit we still have to check the decimals either the _totalValue is useless.
manual
check for decimals
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.