erc7730.model.abi module
Object model for Solidity ABIs.
See https://docs.soliditylang.org/en/latest/abi-spec.html
- pydantic model erc7730.model.abi.Component[source]View on GitHub
Bases:
Model
- field name: str [Required]
- field type: str [Required]
- pydantic model erc7730.model.abi.Constructor[source]View on GitHub
Bases:
Model
- Fields:
- field inputs: list[InputOutput] | None = None
- field outputs: list[InputOutput] | None = None
- field stateMutability: StateMutability | None = None
- field type: Literal['constructor'] = 'constructor'
- pydantic model erc7730.model.abi.Error[source]View on GitHub
Bases:
Model
- Fields:
- field inputs: list[InputOutput] [Required]
- field name: str [Required]
- field type: Literal['error'] = 'error'
- pydantic model erc7730.model.abi.Event[source]View on GitHub
Bases:
Model
- Fields:
- field anonymous: bool = False
- field inputs: list[InputOutput] [Required]
- field name: str [Required]
- field type: Literal['event'] = 'event'
- pydantic model erc7730.model.abi.Fallback[source]View on GitHub
Bases:
Model
- Fields:
- field inputs: list[InputOutput] | None = None
- field outputs: list[InputOutput] | None = None
- field stateMutability: StateMutability | None = None
- field type: Literal['fallback'] = 'fallback'
- pydantic model erc7730.model.abi.Function[source]View on GitHub
Bases:
Model
- Fields:
- field inputs: list[InputOutput] | None = None
- field outputs: list[InputOutput] | None = None
- field stateMutability: StateMutability | None = None
- field type: Literal['function'] = 'function'
- pydantic model erc7730.model.abi.InputOutput[source]View on GitHub
Bases:
Model
- Fields:
- field name: str [Required]
- field type: str [Required]
- pydantic model erc7730.model.abi.Receive[source]View on GitHub
Bases:
Model
- Fields:
- field inputs: list[InputOutput] | None = None
- field outputs: list[InputOutput] | None = None
- field stateMutability: StateMutability | None = None
- field type: Literal['receive'] = 'receive'
- class erc7730.model.abi.StateMutability(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]View on GitHub
Bases:
StrEnum