The returned price from getPriceOfOnePoolTokenInWeth() may be wrong.
In getPriceOfOnePoolTokenInWeth(), we will calculate one pool token's price.
Here, we make one assumption that the pool token's decimal is 18. However, sometimes the token's decimal is not 18, this will return one wrong pool token price.
If someone wants the pool token's price as the reference or some other dapps want to intergate with T-Swap, they may get the wrong price.
Manual
Take pool tokens' decimal into the consideration.
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.