Struct PublicLogs
pub struct PublicLogs {
pub length: u32,
pub payload: [Field; 4096],
}
Fields
length: u32payload: [Field; 4096]Implementations
impl PublicLogs
pub fn new(payload: [Field; 4096], length: u32) -> Self
pub fn add_log<let N: u32>(&mut self, contract_address: AztecAddress, log: Log<N>)
Trait implementations
impl Deserialize for PublicLogs
pub fn deserialize(fields: [Field; 4097]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
impl Empty for PublicLogs
pub fn empty() -> Self
pub fn is_empty(self) -> bool
pub fn assert_empty<let S: u32>(self, msg: str<S>)
impl Eq for PublicLogs
pub fn eq(_self: Self, _other: Self) -> bool
Public logs are added in the avm. This function is only for tests.