← Files AgentBrokoARCHIVED FILE
.venv/Lib/site-packages/eth_typing/encoding.py
285 Bytes · Sep 30, 2026 · 23:15 UTC
"""
Types for encoding and decoding data.
"""
from typing import (
NewType,
Union,
)
HexStr = NewType("HexStr", str)
"""
A string that represents a hex encoded value.
"""
Primitives = Union[bytes, int, bool]
"""
A type that represents bytes, int or bool primitive types.
"""
SHA-256: 09840363d857ae2683513ecee210c5d5b7ad110caafdac71f1d4b5aab8a1764f