erc7730.model.calldata.v1.struct module

Common data model for all calldata descriptor structs.

See documentation in https://github.com/LedgerHQ/app-ethereum for specifications of this protocol

class erc7730.model.calldata.v1.struct.CalldataDescriptorStructV1(*, version: Annotated[int, Ge(ge=0), Le(le=255)])[source]View on GitHub

Bases: Model, ABC

Base class for calldata descriptor structs.

model_config = {'allow_inf_nan': False, 'arbitrary_types_allowed': False, 'extra': 'forbid', 'frozen': True, 'strict': True, 'validate_assignment': True, 'validate_default': True, 'validate_return': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

version: int