Skip to content

Commit a7b43e6

Browse files
authored
Merge pull request #13 from Renzo-Protocol/slashing
add: 2.0 slashing upgrade
2 parents 48b616a + 5ff4a44 commit a7b43e6

File tree

103 files changed

+20231
-8323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+20231
-8323
lines changed

contracts/Bridge/Connext/core/IConnext.sol

Lines changed: 0 additions & 142 deletions
This file was deleted.

contracts/Bridge/Connext/core/IXReceiver.sol

Lines changed: 0 additions & 13 deletions
This file was deleted.

contracts/Bridge/L1/IwstETH.sol

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// SPDX-License-Identifier: MIT AND GPL-3.0
2+
pragma solidity 0.8.27;
3+
4+
interface IwstETH {
5+
/**
6+
* @notice Exchanges wstETH to stETH
7+
* @param _wstETHAmount amount of wstETH to uwrap in exchange for stETH
8+
* @dev Requirements:
9+
* - `_wstETHAmount` must be non-zero
10+
* - msg.sender must have at least `_wstETHAmount` wstETH.
11+
* @return Amount of stETH user receives after unwrap
12+
*/
13+
function unwrap(uint256 _wstETHAmount) external returns (uint256);
14+
}

contracts/Bridge/L1/IxRenzoBridge.sol

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)