// SPDX-License-Identifier: MIT // We use a floating point pragma here so it can be used within other projects that interact with the ZKsync ecosystem without using our exact pragma version. pragma solidity ^0.8.0; /** * @author Matter Labs * @custom:security-contact security@matterlabs.dev * @notice The interface for the KnownCodesStorage contract, which is responsible * for storing the hashes of the bytecodes that have been published to the network. */ interface IKnownCodesStorage { event MarkedAsKnown( bytes32 indexed bytecodeHash, bool indexed sendBytecodeToL1 ); function markFactoryDeps(bool _shouldSendToL1, bytes32[] calldata _hashes) external; function markBytecodeAsPublished(bytes32 _bytecodeHash) external; function getMarker(bytes32 _hash) external view returns (uint256); function publishEVMBytecode(uint256 evmBytecodeLen, bytes calldata bytecode) external payable returns (bytes32); }