erc7730.main module

erc7730.main.command_calldata(input_erc7730_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d89670>], source: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f17c1d89760>] = None, chain_id: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f17c1d89880>] = None, v2: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f17c1d89940>] = False) None[source]View on GitHub
erc7730.main.command_convert_eip712_to_erc7730(input_eip712_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d89a30>], output_erc7730_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d89af0>]) None[source]View on GitHub
erc7730.main.command_convert_erc7730_to_eip712(input_erc7730_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d89be0>], output_eip712_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d89ca0>]) None[source]View on GitHub
erc7730.main.command_format(paths: ~typing.Annotated[list[~pathlib.Path] | None, <typer.models.ArgumentInfo object at 0x7f17c1d88da0>] = None) None[source]View on GitHub
erc7730.main.command_generate(chain_id: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f17c1d89070>], address: ~typing.Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Contract Address', description='An Ethereum contract address (normalized to lowercase).', metadata=[MinLen(min_length=42), MaxLen(max_length=42), _PydanticGeneralMetadata(pattern='^0x[a-f0-9]+$')]), ~pydantic.functional_validators.BeforeValidator(func=~erc7730.model.types.<lambda>, json_schema_input_type=PydanticUndefined), ~erc7730.common.pydantic.ErrorTypeLabel(func=~erc7730.common.pydantic.ErrorTypeLabel._validator.<locals>.validate, json_schema_input_type=PydanticUndefined), <typer.models.OptionInfo object at 0x7f17c1d89130>], abi: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f17c1d891f0>] = None, schema: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f17c1d892b0>] = None, owner: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f17c1d893a0>] = None, legal_name: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f17c1d89490>] = None, url: ~typing.Annotated[str | None, <typer.models.OptionInfo object at 0x7f17c1d89580>] = None) None[source]View on GitHub
erc7730.main.command_lint(paths: ~typing.Annotated[list[~pathlib.Path], <typer.models.ArgumentInfo object at 0x7f17c1d88920>], gha: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f17c1d889b0>] = False, skip_abi_validation: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f17c1d88a70>] = False, v2: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f17c1d88b30>] = False) None[source]View on GitHub
erc7730.main.command_list(paths: ~typing.Annotated[list[~pathlib.Path] | None, <typer.models.ArgumentInfo object at 0x7f17c1d88c50>] = None) None[source]View on GitHub
erc7730.main.command_resolve(input_path: ~typing.Annotated[~pathlib.Path, <typer.models.ArgumentInfo object at 0x7f17c1d88ec0>], v2: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f17c1d88f80>] = False) None[source]View on GitHub
erc7730.main.command_schema(model_type: ~typing.Annotated[~erc7730.model.ERC7730ModelType, <typer.models.ArgumentInfo object at 0x7f17c1d88860>] = ERC7730ModelType.INPUT) None[source]View on GitHub