-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
1,269 additions
and
914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// SPDX-FileCopyrightText: 2023 Lido <[email protected]> | ||
|
||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
// See contracts/COMPILERS.md | ||
pragma solidity 0.8.9; | ||
|
||
contract LidoLocatorMock { | ||
address public immutable lido; | ||
address public immutable dsm; | ||
address public immutable elRewardsVault; | ||
address public immutable oracle; | ||
address public immutable postTokenRebaseReceiver; | ||
address public immutable safetyNetsRegestry; | ||
address public immutable selfOwnedStETHBurner; | ||
address public immutable stakingRouter; | ||
address public immutable treasury; | ||
address public immutable withdrawalQueue; | ||
address public immutable withdrawalVault; | ||
|
||
constructor ( | ||
address _lido, | ||
address _dsm, | ||
address _elRewardsVault, | ||
address _oracle, | ||
address _postTokenRebaseReceiver, | ||
address _safetyNetsRegestry, | ||
address _selfOwnedStETHBurner, | ||
address _stakingRouter, | ||
address _treasury, | ||
address _withdrawalQueue, | ||
address _withdrawalVault | ||
) { | ||
lido = _lido; | ||
dsm = _dsm; | ||
elRewardsVault = _elRewardsVault; | ||
oracle = _oracle; | ||
postTokenRebaseReceiver = _postTokenRebaseReceiver; | ||
safetyNetsRegestry = _safetyNetsRegestry; | ||
selfOwnedStETHBurner = _selfOwnedStETHBurner; | ||
stakingRouter = _stakingRouter; | ||
treasury = _treasury; | ||
withdrawalQueue = _withdrawalQueue; | ||
withdrawalVault = _withdrawalVault; | ||
} | ||
|
||
function getLido() external view returns (address){ | ||
return lido; | ||
} | ||
function getDepositSecurityModule() external view returns (address){ | ||
return dsm; | ||
} | ||
|
||
function getELRewardsVault() external view returns (address){ | ||
return elRewardsVault; | ||
} | ||
|
||
function getOracle() external view returns (address){ | ||
return oracle; | ||
} | ||
|
||
function getPostTokenRebaseReceiver() external view returns (address){ | ||
return postTokenRebaseReceiver; | ||
} | ||
|
||
function getSafetyNetsRegistry() external view returns (address){ | ||
return safetyNetsRegestry; | ||
} | ||
|
||
function getSelfOwnedStETHBurner() external view returns (address){ | ||
return selfOwnedStETHBurner; | ||
} | ||
|
||
function getStakingRouter() external view returns (address){ | ||
return stakingRouter; | ||
} | ||
|
||
function getTreasury() external view returns (address){ | ||
return treasury; | ||
} | ||
|
||
function getWithdrawalQueue() external view returns (address){ | ||
return withdrawalQueue; | ||
} | ||
|
||
function getWithdrawalVault() external view returns (address){ | ||
return withdrawalVault; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.