Malicious early user/attacker can malfunction the contract and even freeze users’ funds in edge cases
The contract's points-per-unit calculation could be manipulated by an early user locking a tiny amount, causing arithmetic overflow for later users and freezing funds. An attacker could lock 1 wei, then donate a large amount to inflate the points-per-unit, making future lock and unlock transactions fail.
XDEFI contest
High