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(serialized: [Field; 4097]) -> 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
impl Serialize for PublicLogs
pub fn serialize(self) -> [Field; 4097]
Public logs are added in the avm. This function is only for tests.