From 5ef71ab816233dfd0133ad985a839fabe90cf194 Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Fri, 30 Aug 2024 10:07:12 +0700 Subject: [PATCH] chore: remove unused variable --- contracts/src/StabilityPool.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contracts/src/StabilityPool.sol b/contracts/src/StabilityPool.sol index 91927602..f22f1be9 100644 --- a/contracts/src/StabilityPool.sol +++ b/contracts/src/StabilityPool.sol @@ -136,8 +136,6 @@ contract StabilityPool is LiquityBase, IStabilityPool, IStabilityPoolEvents { IERC20 public immutable collToken; ITroveManager public immutable troveManager; IBoldToken public immutable boldToken; - // Needed to check if there are pending liquidations - ISortedTroves public immutable sortedTroves; uint256 internal collBalance; // deposited ether tracker @@ -205,17 +203,14 @@ contract StabilityPool is LiquityBase, IStabilityPool, IStabilityPoolEvents { event TroveManagerAddressChanged(address _newTroveManagerAddress); event BoldTokenAddressChanged(address _newBoldTokenAddress); - event SortedTrovesAddressChanged(address _newSortedTrovesAddress); constructor(IAddressesRegistry _addressesRegistry) LiquityBase(_addressesRegistry) { collToken = _addressesRegistry.collToken(); troveManager = _addressesRegistry.troveManager(); boldToken = _addressesRegistry.boldToken(); - sortedTroves = _addressesRegistry.sortedTroves(); emit TroveManagerAddressChanged(address(troveManager)); emit BoldTokenAddressChanged(address(boldToken)); - emit SortedTrovesAddressChanged(address(sortedTroves)); } // --- Getters for public variables. Required by IPool interface ---