Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
added missing file to mirror de404a3 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-zk authored Sep 5, 2023
1 parent af730ec commit 66899a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions contracts/interfaces/ISystemContextDeprecated.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
* @author Matter Labs
* @notice The interface with deprecated functions of the SystemContext contract. It is aimed for backward compatibility.
*/
interface ISystemContextDeprecated {
function currentBlockInfo() external view returns(uint256);

function getBlockNumberAndTimestamp() external view returns (uint256 blockNumber, uint256 blockTimestamp);

function blockHash(uint256 _blockNumber) external view returns (bytes32 hash);
}

0 comments on commit 66899a6

Please sign in to comment.