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

Fields:
field components: list[Self] | None = None
field internalType: str | None = None
field name: str [Required]
field type: str [Required]
pydantic model erc7730.model.abi.Constructor[source]View on GitHub

Bases: Model

Fields:
field constant: bool | None = None
field gas: int | None = None
field inputs: list[InputOutput] | None = None
field name: str | None = None
field outputs: list[InputOutput] | None = None
field payable: bool | None = None
field signature: str | 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 signature: str | None = None
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 signature: str | None = None
field type: Literal['event'] = 'event'
pydantic model erc7730.model.abi.Fallback[source]View on GitHub

Bases: Model

Fields:
field constant: bool | None = None
field gas: int | None = None
field inputs: list[InputOutput] | None = None
field name: str | None = None
field outputs: list[InputOutput] | None = None
field payable: bool | None = None
field signature: str | 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 constant: bool | None = None
field gas: int | None = None
field inputs: list[InputOutput] | None = None
field name: str | None = None
field outputs: list[InputOutput] | None = None
field payable: bool | None = None
field signature: str | 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 components: list[Component] | None = None
field indexed: bool | None = None
field internalType: str | None = None
field name: str [Required]
field type: str [Required]
field unit: str | None = None
pydantic model erc7730.model.abi.Receive[source]View on GitHub

Bases: Model

Fields:
field constant: bool | None = None
field gas: int | None = None
field inputs: list[InputOutput] | None = None
field name: str | None = None
field outputs: list[InputOutput] | None = None
field payable: bool | None = None
field signature: str | 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

nonpayable = 'nonpayable'
payable = 'payable'
pure = 'pure'
view = 'view'