Skip to content

Commit f39634e

Browse files
committed
feat: add total value remainder to quarantine log information
1 parent ba1aa86 commit f39634e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/utils/quarantine.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const checkQuarantine = async (vault: Address) => {
3939
const pendingTotalValueIncrease = formatEther(
4040
quarantine.pendingTotalValueIncrease,
4141
);
42+
const totalValueRemainder = formatEther(quarantine.totalValueRemainder);
4243

4344
logInfo('⚠️ Warning: Part of the vault capital on CL is in quarantine');
4445
logInfo(
@@ -49,6 +50,7 @@ export const checkQuarantine = async (vault: Address) => {
4950
['Vault', vault],
5051
['Quarantine status', quarantine.isActive ? 'Active' : 'Inactive'],
5152
['Pending total value increase, ETH', pendingTotalValueIncrease],
53+
['Total value remainder, ETH', totalValueRemainder],
5254
['Start timestamp', `${quarantine.startTimestamp} (${startTimestamp})`],
5355
['End timestamp', `${quarantine.endTimestamp} (${endTimestamp})`],
5456
],

0 commit comments

Comments
 (0)