-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e0734b
commit c6ed3fa
Showing
5 changed files
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
|
||
pragma solidity 0.8.20; | ||
|
||
/// @title L1 Bridge contract interface | ||
/// @author Matter Labs | ||
/// @custom:security-contact [email protected] | ||
interface IL1Bridge { | ||
event DepositInitiated( | ||
bytes32 indexed l2DepositTxHash, | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
|
||
pragma solidity 0.8.20; | ||
|
||
/// @title L1 Bridge contract legacy interface | ||
/// @author Matter Labs | ||
/// @custom:security-contact [email protected] | ||
interface IL1BridgeLegacy { | ||
function deposit( | ||
address _l2Receiver, | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
|
||
pragma solidity 0.8.20; | ||
|
||
/// @title Governance contract interface | ||
/// @author Matter Labs | ||
/// @custom:security-contact [email protected] | ||
interface IGovernance { | ||
/// @dev This enumeration includes the following states: | ||
/// @param Unset Default state, indicating the operation has not been set. | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ pragma solidity 0.8.20; | |
|
||
/// @notice Library for storage of packed unsigned integers. | ||
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibMap.sol) | ||
/// @custom:security-contact [email protected] | ||
library LibMap { | ||
/// @dev A uint32 map in storage. | ||
struct Uint32Map { | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
|
||
pragma solidity 0.8.20; | ||
|
||
/// @title L1 Bridge contract interface | ||
/// @author Matter Labs | ||
/// @custom:security-contact [email protected] | ||
interface IL1Bridge { | ||
function finalizeWithdrawal( | ||
uint256 _l2BatchNumber, | ||
|