-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/vaults' into feat/vaults-triggerable-exits
# Conflicts: # contracts/0.8.25/vaults/Dashboard.sol
- Loading branch information
Showing
22 changed files
with
1,875 additions
and
334 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.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
// SPDX-FileCopyrightText: 2024 Lido <[email protected]> | ||
// SPDX-FileCopyrightText: 2025 Lido <[email protected]> | ||
|
||
// See contracts/COMPILERS.md | ||
pragma solidity 0.8.25; | ||
|
@@ -126,11 +126,11 @@ abstract contract Permissions is AccessControlVoteable { | |
_unsafeWithdraw(_recipient, _ether); | ||
} | ||
|
||
function _mint(address _recipient, uint256 _shares) internal onlyRole(MINT_ROLE) { | ||
function _mintShares(address _recipient, uint256 _shares) internal onlyRole(MINT_ROLE) { | ||
vaultHub.mintSharesBackedByVault(address(stakingVault()), _recipient, _shares); | ||
} | ||
|
||
function _burn(uint256 _shares) internal onlyRole(BURN_ROLE) { | ||
function _burnShares(uint256 _shares) internal onlyRole(BURN_ROLE) { | ||
vaultHub.burnSharesBackedByVault(address(stakingVault()), _shares); | ||
} | ||
|
||
|
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.