Description:
Small deposits near minDepositAmount
(1000 USDC) may result in zero shares due to truncation in division (shares = amount * totalShares / totalAmount
).
Impact:
Depositors lose funds if shares round to zero.
Violates Depositor Share Value Preservation.
Affected Code:
PerpetualVault.sol#_mint()
calculates shares with integer division.
Recommendation:
Enforce a minimum share precision (e.g., 1e6) or use a shares model with higher decimals.
There is no real proof, concrete root cause, specific impact, or enough details in those submissions. Examples include: "It could happen" without specifying when, "If this impossible case happens," "Unexpected behavior," etc. Make a Proof of Concept (PoC) using external functions and realistic parameters. Do not test only the internal function where you think you found something.
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.