IKnownCodesStorage
Author: Matter Labs
The interface for the KnownCodesStorage contract, which is responsible for storing the hashes of the bytecodes that have been published to the network.
Note: security-contact: security@matterlabs.dev
Functions
markFactoryDeps
function markFactoryDeps(bool _shouldSendToL1, bytes32[] calldata _hashes)
external;
markBytecodeAsPublished
function markBytecodeAsPublished(bytes32 _bytecodeHash) external;
getMarker
function getMarker(bytes32 _hash) external view returns (uint256);
publishEVMBytecode
function publishEVMBytecode(uint256 evmBytecodeLen, bytes calldata bytecode)
external
payable
returns (bytes32);
Events
MarkedAsKnown
event MarkedAsKnown(
bytes32 indexed bytecodeHash, bool indexed sendBytecodeToL1
);