Skip to content
erc7730.convert.resolved.parameters module
-
erc7730.convert.resolved.parameters.resolve_address_name_parameters(prefix: DataPath, params: InputAddressNameParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedAddressNameParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_calldata_parameters(prefix: DataPath, params: InputCallDataParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedCallDataParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_date_parameters(prefix: DataPath, params: InputDateParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedDateParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_enum_parameters(prefix: ~erc7730.model.paths.DataPath, params: ~erc7730.model.input.display.InputEnumParameters, enums: dict[~typing.Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Id', description='An internal identifier that can be used either for clarity specifying what the element is or as a reference in device specific sections.', examples=['some_identifier'], metadata=[MinLen(min_length=1)]), ~erc7730.common.pydantic.ErrorTypeLabel(func=~erc7730.common.pydantic.ErrorTypeLabel._validator.<locals>.validate, json_schema_input_type=PydanticUndefined)], ~typing.Annotated[dict[str, str], FieldInfo(annotation=NoneType, required=True, title='Enum Definition', description='A mapping of enum values to human readable strings.', examples=[{'1': 'stable', '2': 'variable'}], metadata=[MinLen(min_length=1), MaxLen(max_length=32)])]], constants: ~erc7730.convert.resolved.constants.ConstantProvider, out: ~erc7730.common.output.OutputAdder) → ResolvedEnumParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_field_parameters(prefix: ~erc7730.model.paths.DataPath, params: ~typing.Annotated[~typing.Annotated[~erc7730.model.input.display.InputAddressNameParameters, ~pydantic.types.Tag(tag=address_name)] | ~typing.Annotated[~erc7730.model.input.display.InputCallDataParameters, ~pydantic.types.Tag(tag=call_data)] | ~typing.Annotated[~erc7730.model.input.display.InputTokenAmountParameters, ~pydantic.types.Tag(tag=token_amount)] | ~typing.Annotated[~erc7730.model.input.display.InputNftNameParameters, ~pydantic.types.Tag(tag=nft_name)] | ~typing.Annotated[~erc7730.model.input.display.InputDateParameters, ~pydantic.types.Tag(tag=date)] | ~typing.Annotated[~erc7730.model.input.display.InputUnitParameters, ~pydantic.types.Tag(tag=unit)] | ~typing.Annotated[~erc7730.model.input.display.InputEnumParameters, ~pydantic.types.Tag(tag=enum)], ~pydantic.types.Discriminator(discriminator=~erc7730.model.unions.field_parameters_discriminator, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None, enums: dict[~typing.Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Id', description='An internal identifier that can be used either for clarity specifying what the element is or as a reference in device specific sections.', examples=['some_identifier'], metadata=[MinLen(min_length=1)]), ~erc7730.common.pydantic.ErrorTypeLabel(func=~erc7730.common.pydantic.ErrorTypeLabel._validator.<locals>.validate, json_schema_input_type=PydanticUndefined)], ~typing.Annotated[dict[str, str], FieldInfo(annotation=NoneType, required=True, title='Enum Definition', description='A mapping of enum values to human readable strings.', examples=[{'1': 'stable', '2': 'variable'}], metadata=[MinLen(min_length=1), MaxLen(max_length=32)])]], constants: ~erc7730.convert.resolved.constants.ConstantProvider, out: ~erc7730.common.output.OutputAdder) → Annotated[Annotated[ResolvedAddressNameParameters, Tag(tag=address_name)] | Annotated[ResolvedCallDataParameters, Tag(tag=call_data)] | Annotated[ResolvedTokenAmountParameters, Tag(tag=token_amount)] | Annotated[ResolvedNftNameParameters, Tag(tag=nft_name)] | Annotated[ResolvedDateParameters, Tag(tag=date)] | Annotated[ResolvedUnitParameters, Tag(tag=unit)] | Annotated[ResolvedEnumParameters, Tag(tag=enum)], Discriminator(discriminator=field_parameters_discriminator, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_nft_parameters(prefix: DataPath, params: InputNftNameParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedNftNameParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_token_amount_parameters(prefix: DataPath, params: InputTokenAmountParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedTokenAmountParameters | None[source]View on GitHub
-
erc7730.convert.resolved.parameters.resolve_unit_parameters(prefix: DataPath, params: InputUnitParameters, constants: ConstantProvider, out: OutputAdder) → ResolvedUnitParameters | None[source]View on GitHub