Type Alias Topic

Source
pub type Topic = FilterSet<B256>;
Expand description

A single topic

Aliased Type§

struct Topic { /* private fields */ }

Implementations§

Source§

impl Topic

Source

pub fn extend<T: Into<Self>>(self, value: T) -> Self

Extends the topic with a value that can be converted into a Topic

Trait Implementations§

Source§

impl From<[u8; 32]> for Topic

Source§

fn from(bytes: [u8; 32]) -> Self

Converts to this type from the input type.
Source§

impl From<Address> for Topic

Source§

fn from(address: Address) -> Self

Converts to this type from the input type.
Source§

impl From<Uint<256, 4>> for Topic

Source§

fn from(src: U256) -> Self

Converts to this type from the input type.
Source§

impl From<bool> for Topic

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.