Skip to main content

Module event_fields

Module event_fields 

Source

Constantsยง

MAX_INDEXED_ANON ๐Ÿ”’
Maximum number of indexed parameters allowed by the EVM in an anonymous event.
MAX_INDEXED_NON_ANON ๐Ÿ”’
Maximum number of indexed parameters allowed by the EVM in a non-anonymous event.

Staticsยง

EVENT_FIELDS

Functionsยง

check_event ๐Ÿ”’
describe_param ๐Ÿ”’
Render a parameter as name (type) (or parameter #N (type) if unnamed) for the diagnostic.
has_id_like_name ๐Ÿ”’
Returns true when the parameter name matches id/ID, ends with Id, _id, _ID, or ends with ID preceded by a lowercase ASCII letter.
is_filterable_field ๐Ÿ”’
Returns true when the parameter is an address, an address payable, or a uint256/bytes32 whose name looks like an identifier (id-like).
type_str ๐Ÿ”’