Derive Macro ToLog

Source
#[derive(ToLog)]
{
    // Attributes available to this derive:
    #[indexed]
}
Expand description

Derives ToLog for enum

Selectors will be derived from variant names, there is currently no way to have custom naming for them

#[indexed] Marks this field as indexed, so it will appear in ethereum::Log topics instead of data See documentation for this proc-macro reexported in evm-coder crate