erc7730.model.calldata package

Subpackages

Submodules

Module contents

Data model for Ledger specific calldata descriptor (also referred to as “generic parser” descriptor).

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

This data model is exposed in the public API and used by client applications to interact with the Ethereum application using the generic parser protocol.

pydantic model erc7730.model.calldata.CalldataDescriptorBase[source]View on GitHub

Bases: Model, ABC

A clear signing descriptor for a smart contract function calldata or an EIP-712 message.

Note a calldata descriptor is bound to a single function (contract calldata) or message primary type (EIP-712).

Also referred to as a “generic parser descriptor”.

Fields:
field source: HttpUrl | None = None

The URL of the source of the descriptor (typically in clear-signing-erc7730-registry).

class erc7730.model.calldata.CalldataDescriptorVersion(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]View on GitHub

Bases: StrEnum

Version of the calldata descriptor.

v1 = 'v1'