From d1ca88790b538988ecffbbabdf4293fc8bf68e27 Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Tue, 7 Jan 2025 09:34:34 +0100 Subject: [PATCH] remove unused hypervisorcollateral mapping --- contracts/AutoRedemption.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contracts/AutoRedemption.sol b/contracts/AutoRedemption.sol index 8b2cba8..3ee0a55 100644 --- a/contracts/AutoRedemption.sol +++ b/contracts/AutoRedemption.sol @@ -34,7 +34,6 @@ contract AutoRedemption is AutomationCompatibleInterface, FunctionsClient, Confi uint160 private immutable triggerPrice; uint64 public immutable subscriptionID; uint256 public immutable lastLegacyVaultID; - mapping(address => address) hypervisorCollaterals; mapping(address => SwapPath) swapPaths; struct SwapPath { @@ -200,10 +199,6 @@ contract AutoRedemption is AutomationCompatibleInterface, FunctionsClient, Confi lastRequestId = bytes32(0); } - function setHypervisorCollateral(address _hypervisor, address _collateral) external onlyOwner { - hypervisorCollaterals[_hypervisor] = _collateral; - } - function setSwapPath(address _token, bytes memory _inputPath, bytes memory _outputPath) external onlyOwner { swapPaths[_token] = SwapPath(_inputPath, _outputPath); }