Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::PublicLogs Struct Reference

#include <aztec_types.hpp>

Public Member Functions

bool operator== (const PublicLogs &other) const =default
 
 PublicLogs ()=default
 
 PublicLogs (uint32_t length, const std::array< FF, FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH > &payload)
 
 PublicLogs (const std::vector< PublicLog > &logs)
 
void add_log (const PublicLog &log)
 
std::vector< PublicLogto_logs () const
 
 MSGPACK_FIELDS (length, payload)
 

Static Public Member Functions

static PublicLogs from_logs (const std::vector< PublicLog > &logs)
 

Public Attributes

uint32_t length = 0
 
std::array< FF, FLAT_PUBLIC_LOGS_PAYLOAD_LENGTHpayload {}
 

Detailed Description

Definition at line 241 of file aztec_types.hpp.

Constructor & Destructor Documentation

◆ PublicLogs() [1/3]

bb::avm2::PublicLogs::PublicLogs ( )
default

◆ PublicLogs() [2/3]

bb::avm2::PublicLogs::PublicLogs ( uint32_t  length,
const std::array< FF, FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH > &  payload 
)
inline

Definition at line 247 of file aztec_types.hpp.

◆ PublicLogs() [3/3]

bb::avm2::PublicLogs::PublicLogs ( const std::vector< PublicLog > &  logs)
inline

Definition at line 251 of file aztec_types.hpp.

Member Function Documentation

◆ add_log()

void bb::avm2::PublicLogs::add_log ( const PublicLog log)
inline

Definition at line 255 of file aztec_types.hpp.

◆ from_logs()

static PublicLogs bb::avm2::PublicLogs::from_logs ( const std::vector< PublicLog > &  logs)
inlinestatic

Definition at line 267 of file aztec_types.hpp.

◆ MSGPACK_FIELDS()

bb::avm2::PublicLogs::MSGPACK_FIELDS ( length  ,
payload   
)

◆ operator==()

bool bb::avm2::PublicLogs::operator== ( const PublicLogs other) const
default

◆ to_logs()

std::vector< PublicLog > bb::avm2::PublicLogs::to_logs ( ) const
inline

Definition at line 276 of file aztec_types.hpp.

Member Data Documentation

◆ length

uint32_t bb::avm2::PublicLogs::length = 0

Definition at line 242 of file aztec_types.hpp.

◆ payload

std::array<FF, FLAT_PUBLIC_LOGS_PAYLOAD_LENGTH> bb::avm2::PublicLogs::payload {}

Definition at line 243 of file aztec_types.hpp.


The documentation for this struct was generated from the following file: