Skip to content

Commit

Permalink
fix: sync ext interfaces in Lido
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDZhon committed Mar 13, 2023
1 parent 3b7b384 commit 4ec32dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contracts/0.4.24/Lido.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface IWithdrawalVault {

interface IStakingRouter {
function deposit(
uint256 _maxDepositsCount,
uint256 _depositsCount,
uint256 _stakingModuleId,
bytes _depositCalldata
) external payable;
Expand All @@ -108,7 +108,7 @@ interface IStakingRouter {
uint16 modulesFee, uint16 treasuryFee
);

function getStakingModuleMaxDepositsCount(uint256 _stakingModuleId, uint256 _depositableEther)
function getStakingModuleMaxDepositsCount(uint256 _stakingModuleId, uint256 _maxDepositsValue)
external
view
returns (uint256);
Expand All @@ -117,6 +117,7 @@ interface IStakingRouter {
interface IWithdrawalQueue {
function prefinalize(uint256[] _batches, uint256 _maxShareRate)
external
view
returns (uint256 ethToLock, uint256 sharesToBurn);

function finalize(uint256[] _batches, uint256 _maxShareRate) external payable;
Expand Down Expand Up @@ -865,7 +866,7 @@ contract Lido is Versioned, StETHPermit, AragonApp {
function _calculateWithdrawals(
OracleReportContracts memory _contracts,
OracleReportedData memory _reportedData
) internal returns (
) internal view returns (
uint256 etherToLock, uint256 sharesToBurn
) {
IWithdrawalQueue withdrawalQueue = IWithdrawalQueue(_contracts.withdrawalQueue);
Expand Down

0 comments on commit 4ec32dc

Please sign in to comment.