-
Notifications
You must be signed in to change notification settings - Fork 9
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 #206 from lidofinance/fix/empty-unsteth-unlock
Fix/empty unsteth unlock
- Loading branch information
Showing
7 changed files
with
1,637 additions
and
35 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
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,20 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.26; | ||
|
||
import {ERC20Mock} from "@openzeppelin/contracts/mocks/token/ERC20Mock.sol"; | ||
import {IWstETH} from "contracts/interfaces/IWstETH.sol"; | ||
|
||
/* solhint-disable no-unused-vars,custom-errors */ | ||
contract WstETHMock is ERC20Mock, IWstETH { | ||
function wrap(uint256 /* stETHAmount */ ) external pure returns (uint256) { | ||
revert("Not Implemented"); | ||
} | ||
|
||
function unwrap(uint256 /* wstETHAmount */ ) external pure returns (uint256) { | ||
revert("Not Implemented"); | ||
} | ||
|
||
function getStETHByWstETH(uint256 /* wstethAmount */ ) external pure returns (uint256) { | ||
revert("Not Implemented"); | ||
} | ||
} |
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.