In the current code flow, the assumption is made such that all the ERC20 assets will have 18 decimal.
But this is not valid for all the scenario. for example the following token will have less than 18 decimal.
USDC (USD Coin), USDT (Tether) , GUSD (Gemini Dollar), TUSD (TrueUSD).
In the current code, the broker fee percentages is decided with 18 decimal values.
More amount of base token have to be deposited by the stream sender when they consider the broker fee.
in other words, they have to pay hefty amount of broken fee.
Manual review.
We would suggest to set the MAX_BROKER_FEE inside the constructor based on base asset decimal.
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.