// @todo evaluate how loss of precision can impact here
vaults[assetId][msg.sender].normEquity -= interestAmount / equityAccumulator;
This line can create a situation where normEquity * equityAccumulator != initialEquity. This is an issue because user will never be able to fully close their equity position.
This line can create a situation where
normEquity * equityAccumulator != initialEquity
. This is an issue because user will never be able to fully close their equity position.