-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #879 from lidofinance/develop
SR 1.5
- Loading branch information
Showing
94 changed files
with
8,546 additions
and
2,918 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,26 @@ | ||
// SPDX-FileCopyrightText: 2024 Lido <[email protected]> | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
pragma solidity 0.8.9; | ||
|
||
/// @title Second Opinion Oracle interface for Lido. See LIP-23 for details. | ||
interface ISecondOpinionOracle { | ||
/// @notice Returns second opinion report for the given reference slot | ||
/// @param refSlot is a reference slot to return report for | ||
/// @return success shows whether the report was successfully generated | ||
/// @return clBalanceGwei is a balance of the consensus layer in Gwei for the ref slot | ||
/// @return withdrawalVaultBalanceWei is a balance of the withdrawal vault in Wei for the ref slot | ||
/// @return totalDepositedValidators is a total number of validators deposited with Lido | ||
/// @return totalExitedValidators is a total number of Lido validators in the EXITED state | ||
function getReport(uint256 refSlot) | ||
external | ||
view | ||
returns ( | ||
bool success, | ||
uint256 clBalanceGwei, | ||
uint256 withdrawalVaultBalanceWei, | ||
uint256 totalDepositedValidators, | ||
uint256 totalExitedValidators | ||
); | ||
} | ||
|
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.