Skip to content

Spec

Documentation for tests/amsterdam/eip7997_deterministic_factory_predeploy/spec.py@5fa5938b.

Reference spec for EIP-7997: Deterministic Factory Predeploy.

Spec dataclass

Constants from EIP-7997.

Source code in tests/amsterdam/eip7997_deterministic_factory_predeploy/spec.py
22
23
24
25
26
27
28
29
30
31
@dataclass(frozen=True)
class Spec:
    """Constants from EIP-7997."""

    FACTORY_ADDRESS: int = 0x4E59B44847B379578588920CA78FBF26C0B4956C
    FACTORY_BYTECODE: Bytes = Bytes(
        "7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"
        "3601600081602082378035828234f58015156039578182fd"
        "5b8082525050506014600cf3"
    )