Take a look at this section from distributeAssets()
Note that distributeAssets()
is one of the core fucntions present in the protocol, now based on discussion that's been had in the discord chat, protocol plans on accepting more tokens, the issue with this is that some tokens have more than 18 decimals, which would lead to a reversion on an attemot to distribute assets due to an underflow.
Low, since this depends on an attempt to add these tokens in the future, but currently if such tokens are added as accepted then an attempt to distributeAsset()
would always revert
Reimplement the logic and try supporting assets with more than 18 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.