Expand description
Set of utility functions to read contracts both in Yul and Sol format.
Careful: some of the methods are reading the contracts based on the workspace environment variable.
Modules§
Structs§
- Base
System Contracts - Base
System Contracts Hashes - System
Contract Code - Hash of code and code which consists of 32 bytes words
- System
Contracts Repo - Structure representing a system contract repository - that allows fetching contracts that are located there. As most of the static methods in this file, is loading data based on the Cargo workspace location.
- Test
Contract
Enums§
Statics§
- ADMIN_
EXECUTE_ UPGRADE_ FUNCTION - ADMIN_
UPGRADE_ CHAIN_ FROM_ VERSION_ FUNCTION - DIAMOND_
CUT - PRE_
BOOJUM_ COMMIT_ FUNCTION - SET_
CHAIN_ ID_ EVENT
Functions§
- bridgehub_
contract - chain_
admin_ contract - deployer_
contract - diamond_
init_ contract - eth_
contract - get_
loadnext_ contract - Reads test contract bytecode and its ABI.
- governance_
contract - hyperchain_
contract - known_
codes_ contract - l1_
messenger_ contract - load_
contract - load_
sys_ contract - multicall_
contract - read_
bootloader_ code - read_
bytecode - Reads bytecode from the path RELATIVE to the Cargo workspace location.
- read_
contract_ abi - read_
sys_ contract_ bytecode - read_
zbin_ bytecode - Reads zbin bytecode from a given path, relative to workspace location.
- state_
transition_ manager_ contract - verifier_
contract