KnownCodesStorage

Abstract

0x0000000000000000000000000000000000008004

Solidity v0.8.20+commit.a1b79de6

🤖
Query this contract from your AI
Reference: 0x0000000000000000000000000000000000008004
Sample prompt: "Tell me the current state of abstract/0x0000000000000000000000000000000000008004"
No AI wired up yet? → mcp.smarts.md
Abstract is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.

Overview

Read Functions
1
Write Functions
2
Events
1

Read Functions

getMarker(_hash: bytes32) view

Returns the marker stored for a bytecode hash. 1 means that the bytecode hash is known and can be used for deploying contracts. 0 otherwise.

Parameters

Name Type Description
_hash bytes32

Returns

Name Type Description
marker uint256

Write Functions

markBytecodeAsPublished(_bytecodeHash: bytes32) nonpayable

The method used to mark a single bytecode hash as known.

dev: Only trusted contacts can call this method, currently only the bytecode compressor.

Parameters

Name Type Description
_bytecodeHash bytes32 The hash of the bytecode that is marked as known.
markFactoryDeps(_shouldSendToL1: bool, _hashes: bytes32[]) nonpayable

The method that is used by the bootloader to mark several bytecode hashes as known.

Parameters

Name Type Description
_shouldSendToL1 bool Whether the bytecode should be sent on L1.
_hashes bytes32[] Hashes of the bytecodes to be marked as known.

Events

MarkedAsKnown(bytecodeHash: bytes32, sendBytecodeToL1: bool)
Name Type Indexed Description
bytecodeHash bytes32
sendBytecodeToL1 bool