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

#include <avm_io.hpp>

Public Member Functions

std::vector< std::vector< FF > > to_columns () const
 Serialization to columns.
 
bool operator== (const PublicInputs &other) const =default
 
 MSGPACK_CAMEL_CASE_FIELDS (global_variables, protocol_contracts, start_tree_snapshots, start_gas_used, gas_settings, effective_gas_fees, fee_payer, prover_id, public_call_request_array_lengths, public_setup_call_requests, public_app_logic_call_requests, public_teardown_call_request, previous_non_revertible_accumulated_data_array_lengths, previous_revertible_accumulated_data_array_lengths, previous_non_revertible_accumulated_data, previous_revertible_accumulated_data, end_tree_snapshots, end_gas_used, accumulated_data_array_lengths, accumulated_data, transaction_fee, reverted)
 

Static Public Member Functions

static PublicInputs from (const std::vector< uint8_t > &data)
 Msgpack deserialization.
 
static std::vector< FFcolumns_to_flat (std::vector< std::vector< FF > > const &columns)
 
template<typename FF_ >
static std::vector< std::vector< FF_ > > flat_to_columns (const std::vector< FF_ > &input)
 

Public Attributes

GlobalVariables global_variables
 
ProtocolContracts protocol_contracts
 
TreeSnapshots start_tree_snapshots
 
Gas start_gas_used
 
GasSettings gas_settings
 
GasFees effective_gas_fees
 
AztecAddress fee_payer
 
FF prover_id
 
PublicCallRequestArrayLengths public_call_request_array_lengths
 
std::array< PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TXpublic_setup_call_requests {}
 
std::array< PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TXpublic_app_logic_call_requests {}
 
PublicCallRequest public_teardown_call_request
 
PrivateToAvmAccumulatedDataArrayLengths previous_non_revertible_accumulated_data_array_lengths
 
PrivateToAvmAccumulatedDataArrayLengths previous_revertible_accumulated_data_array_lengths
 
PrivateToAvmAccumulatedData previous_non_revertible_accumulated_data
 
PrivateToAvmAccumulatedData previous_revertible_accumulated_data
 
TreeSnapshots end_tree_snapshots
 
Gas end_gas_used
 
AvmAccumulatedDataArrayLengths accumulated_data_array_lengths
 
AvmAccumulatedData accumulated_data
 
FF transaction_fee
 
bool reverted
 

Detailed Description

Definition at line 26 of file avm_io.hpp.

Member Function Documentation

◆ columns_to_flat()

std::vector< FF > bb::avm2::PublicInputs::columns_to_flat ( std::vector< std::vector< FF > > const &  columns)
static

Definition at line 289 of file avm_io.cpp.

◆ flat_to_columns()

template<typename FF_ >
static std::vector< std::vector< FF_ > > bb::avm2::PublicInputs::flat_to_columns ( const std::vector< FF_ > &  input)
inlinestatic

Definition at line 65 of file avm_io.hpp.

◆ from()

PublicInputs bb::avm2::PublicInputs::from ( const std::vector< uint8_t > &  data)
static

Msgpack deserialization.

Definition at line 115 of file avm_io.cpp.

◆ MSGPACK_CAMEL_CASE_FIELDS()

◆ operator==()

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

◆ to_columns()

std::vector< std::vector< FF > > bb::avm2::PublicInputs::to_columns ( ) const

Serialization to columns.

Definition at line 142 of file avm_io.cpp.

Member Data Documentation

◆ accumulated_data

AvmAccumulatedData bb::avm2::PublicInputs::accumulated_data

Definition at line 50 of file avm_io.hpp.

◆ accumulated_data_array_lengths

AvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::accumulated_data_array_lengths

Definition at line 49 of file avm_io.hpp.

◆ effective_gas_fees

GasFees bb::avm2::PublicInputs::effective_gas_fees

Definition at line 34 of file avm_io.hpp.

◆ end_gas_used

Gas bb::avm2::PublicInputs::end_gas_used

Definition at line 48 of file avm_io.hpp.

◆ end_tree_snapshots

TreeSnapshots bb::avm2::PublicInputs::end_tree_snapshots

Definition at line 47 of file avm_io.hpp.

◆ fee_payer

AztecAddress bb::avm2::PublicInputs::fee_payer

Definition at line 35 of file avm_io.hpp.

◆ gas_settings

GasSettings bb::avm2::PublicInputs::gas_settings

Definition at line 33 of file avm_io.hpp.

◆ global_variables

GlobalVariables bb::avm2::PublicInputs::global_variables

Definition at line 29 of file avm_io.hpp.

◆ previous_non_revertible_accumulated_data

PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previous_non_revertible_accumulated_data

Definition at line 43 of file avm_io.hpp.

◆ previous_non_revertible_accumulated_data_array_lengths

PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previous_non_revertible_accumulated_data_array_lengths

Definition at line 41 of file avm_io.hpp.

◆ previous_revertible_accumulated_data

PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previous_revertible_accumulated_data

Definition at line 44 of file avm_io.hpp.

◆ previous_revertible_accumulated_data_array_lengths

PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previous_revertible_accumulated_data_array_lengths

Definition at line 42 of file avm_io.hpp.

◆ protocol_contracts

ProtocolContracts bb::avm2::PublicInputs::protocol_contracts

Definition at line 30 of file avm_io.hpp.

◆ prover_id

FF bb::avm2::PublicInputs::prover_id

Definition at line 36 of file avm_io.hpp.

◆ public_app_logic_call_requests

std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::public_app_logic_call_requests {}

Definition at line 39 of file avm_io.hpp.

◆ public_call_request_array_lengths

PublicCallRequestArrayLengths bb::avm2::PublicInputs::public_call_request_array_lengths

Definition at line 37 of file avm_io.hpp.

◆ public_setup_call_requests

std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::public_setup_call_requests {}

Definition at line 38 of file avm_io.hpp.

◆ public_teardown_call_request

PublicCallRequest bb::avm2::PublicInputs::public_teardown_call_request

Definition at line 40 of file avm_io.hpp.

◆ reverted

bool bb::avm2::PublicInputs::reverted

Definition at line 52 of file avm_io.hpp.

◆ start_gas_used

Gas bb::avm2::PublicInputs::start_gas_used

Definition at line 32 of file avm_io.hpp.

◆ start_tree_snapshots

TreeSnapshots bb::avm2::PublicInputs::start_tree_snapshots

Definition at line 31 of file avm_io.hpp.

◆ transaction_fee

FF bb::avm2::PublicInputs::transaction_fee

Definition at line 51 of file avm_io.hpp.


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