According to the docs, the fixed token decimal is 18
, and there wierd ERC20s that are not 18
and might disrupt the function of the protocol leading to severe damage.
That gives rise for the need of allowlists.
High, as allowing incompatible tokens could lead to incorrect balance scaling, debt calculations, and other accounting issues, potentially breaking core protocol functionality.
Likelihood: High, especially in DeFi environments where a wide range of ERC20 tokens could be added by users.
Manual Review
This should be added in the SablierFlow.sol
contract creating an allowlist of token 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.