Skip to main content

encode_event_topic_preimage

Function encode_event_topic_preimage 

Source
pub(crate) fn encode_event_topic_preimage(
    value: &DynSolValue,
    out: &mut Vec<u8>,
)
Expand description

Encodes a value into the in-place preimage of an indexed event parameter: words as-is, string/bytes right-padded to a multiple of 32 bytes, and sequences as the concatenation of their encoded members.