Hardcoded MINIUM_AMOUNT Is Insigificant In Some Token Cases
Summary
refer Details section
Vulnerability Detail
MINIUM_AMOUNT is hardcoded with 1000_000
uint256 public constant MINIMUM_AMOUNT = 1000_000;
And protocol supports multiple tokens, like WBTC which have less Decimals 8 compair to other ERC20 token 18 and even some other tokens have less decimal but high in market price.
0xhacksmithh
medium
Hardcoded
MINIUM_AMOUNT
Is Insigificant In Some Token CasesSummary
refer Details section
Vulnerability Detail
MINIUM_AMOUNT is hardcoded with 1000_000
And protocol supports multiple tokens, like
WBTC
which have less Decimals8
compair to other ERC20 token18
and even some other tokens have less decimal but high in market price.In that case this assumption will Insignificant.
Impact
refer Vulnerability Detail
Code Snippet
https://github.com/sherlock-audit/2023-06-real-wagmi/blob/main/concentrator/contracts/Multipool.sol#L74
Tool used
Manual Review
Recommendation
Consider this senario again
Duplicate of #90