Currently, the application does not have a specific mechanism to handle cases where there are no funding tokens locked in the vaults. This can lead to unexpected behavior or errors like divide by zero error when interacting with empty vaults. We need to implement proper handling for this scenario to ensure expected operation and provide clear feedback to users.
Tasks:
Implement checks for zero balance in the relevant function inside the smart contract.
Decide on appropriate behavior for empty vaults (e.g., return zero, show a message, or prevent certain actions).
Currently, the application does not have a specific mechanism to handle cases where there are no funding tokens locked in the vaults. This can lead to unexpected behavior or errors like divide by zero error when interacting with empty vaults. We need to implement proper handling for this scenario to ensure expected operation and provide clear feedback to users. Tasks: