Skip to content

Commit

Permalink
remove unused hypervisorcollateral mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Jan 7, 2025
1 parent fd1fe84 commit d1ca887
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/AutoRedemption.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit d1ca887

Please sign in to comment.