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

#include <avm_inputs.hpp>

Public Member Functions

std::vector< std::vector< FF > > to_columns () const
 Serialization to columns.
 
bool operator== (const PublicInputs &other) const =default
 
 MSGPACK_FIELDS (globalVariables, startTreeSnapshots, startGasUsed, gasSettings, effectiveGasFees, feePayer, publicCallRequestArrayLengths, publicSetupCallRequests, publicAppLogicCallRequests, publicTeardownCallRequest, previousNonRevertibleAccumulatedDataArrayLengths, previousRevertibleAccumulatedDataArrayLengths, previousNonRevertibleAccumulatedData, previousRevertibleAccumulatedData, endTreeSnapshots, endGasUsed, accumulatedDataArrayLengths, accumulatedData, transactionFee, 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 globalVariables
 
TreeSnapshots startTreeSnapshots
 
Gas startGasUsed
 
GasSettings gasSettings
 
GasFees effectiveGasFees
 
AztecAddress feePayer
 
PublicCallRequestArrayLengths publicCallRequestArrayLengths
 
std::array< PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TXpublicSetupCallRequests
 
std::array< PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TXpublicAppLogicCallRequests
 
PublicCallRequest publicTeardownCallRequest
 
PrivateToAvmAccumulatedDataArrayLengths previousNonRevertibleAccumulatedDataArrayLengths
 
PrivateToAvmAccumulatedDataArrayLengths previousRevertibleAccumulatedDataArrayLengths
 
PrivateToAvmAccumulatedData previousNonRevertibleAccumulatedData
 
PrivateToAvmAccumulatedData previousRevertibleAccumulatedData
 
TreeSnapshots endTreeSnapshots
 
Gas endGasUsed
 
AvmAccumulatedDataArrayLengths accumulatedDataArrayLengths
 
AvmAccumulatedData accumulatedData
 
FF transactionFee
 
bool reverted
 

Detailed Description

Definition at line 27 of file avm_inputs.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 274 of file avm_inputs.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 64 of file avm_inputs.hpp.

◆ from()

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

Msgpack deserialization.

Definition at line 112 of file avm_inputs.cpp.

◆ MSGPACK_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 132 of file avm_inputs.cpp.

Member Data Documentation

◆ accumulatedData

AvmAccumulatedData bb::avm2::PublicInputs::accumulatedData

Definition at line 49 of file avm_inputs.hpp.

◆ accumulatedDataArrayLengths

AvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::accumulatedDataArrayLengths

Definition at line 48 of file avm_inputs.hpp.

◆ effectiveGasFees

GasFees bb::avm2::PublicInputs::effectiveGasFees

Definition at line 34 of file avm_inputs.hpp.

◆ endGasUsed

Gas bb::avm2::PublicInputs::endGasUsed

Definition at line 47 of file avm_inputs.hpp.

◆ endTreeSnapshots

TreeSnapshots bb::avm2::PublicInputs::endTreeSnapshots

Definition at line 46 of file avm_inputs.hpp.

◆ feePayer

AztecAddress bb::avm2::PublicInputs::feePayer

Definition at line 35 of file avm_inputs.hpp.

◆ gasSettings

GasSettings bb::avm2::PublicInputs::gasSettings

Definition at line 33 of file avm_inputs.hpp.

◆ globalVariables

GlobalVariables bb::avm2::PublicInputs::globalVariables

Definition at line 30 of file avm_inputs.hpp.

◆ previousNonRevertibleAccumulatedData

PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previousNonRevertibleAccumulatedData

Definition at line 42 of file avm_inputs.hpp.

◆ previousNonRevertibleAccumulatedDataArrayLengths

PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previousNonRevertibleAccumulatedDataArrayLengths

Definition at line 40 of file avm_inputs.hpp.

◆ previousRevertibleAccumulatedData

PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previousRevertibleAccumulatedData

Definition at line 43 of file avm_inputs.hpp.

◆ previousRevertibleAccumulatedDataArrayLengths

PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previousRevertibleAccumulatedDataArrayLengths

Definition at line 41 of file avm_inputs.hpp.

◆ publicAppLogicCallRequests

std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::publicAppLogicCallRequests

Definition at line 38 of file avm_inputs.hpp.

◆ publicCallRequestArrayLengths

PublicCallRequestArrayLengths bb::avm2::PublicInputs::publicCallRequestArrayLengths

Definition at line 36 of file avm_inputs.hpp.

◆ publicSetupCallRequests

std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::publicSetupCallRequests

Definition at line 37 of file avm_inputs.hpp.

◆ publicTeardownCallRequest

PublicCallRequest bb::avm2::PublicInputs::publicTeardownCallRequest

Definition at line 39 of file avm_inputs.hpp.

◆ reverted

bool bb::avm2::PublicInputs::reverted

Definition at line 51 of file avm_inputs.hpp.

◆ startGasUsed

Gas bb::avm2::PublicInputs::startGasUsed

Definition at line 32 of file avm_inputs.hpp.

◆ startTreeSnapshots

TreeSnapshots bb::avm2::PublicInputs::startTreeSnapshots

Definition at line 31 of file avm_inputs.hpp.

◆ transactionFee

FF bb::avm2::PublicInputs::transactionFee

Definition at line 50 of file avm_inputs.hpp.


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