Barretenberg
The ZK-SNARK library at the core of Aztec
|
#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< FF > | columns_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) |
Definition at line 27 of file avm_inputs.hpp.
|
static |
Definition at line 274 of file avm_inputs.cpp.
|
inlinestatic |
Definition at line 64 of file avm_inputs.hpp.
|
static |
Msgpack deserialization.
Definition at line 112 of file avm_inputs.cpp.
|
default |
std::vector< std::vector< FF > > bb::avm2::PublicInputs::to_columns | ( | ) | const |
Serialization to columns.
Definition at line 132 of file avm_inputs.cpp.
AvmAccumulatedData bb::avm2::PublicInputs::accumulatedData |
Definition at line 49 of file avm_inputs.hpp.
AvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::accumulatedDataArrayLengths |
Definition at line 48 of file avm_inputs.hpp.
GasFees bb::avm2::PublicInputs::effectiveGasFees |
Definition at line 34 of file avm_inputs.hpp.
Gas bb::avm2::PublicInputs::endGasUsed |
Definition at line 47 of file avm_inputs.hpp.
TreeSnapshots bb::avm2::PublicInputs::endTreeSnapshots |
Definition at line 46 of file avm_inputs.hpp.
AztecAddress bb::avm2::PublicInputs::feePayer |
Definition at line 35 of file avm_inputs.hpp.
GasSettings bb::avm2::PublicInputs::gasSettings |
Definition at line 33 of file avm_inputs.hpp.
GlobalVariables bb::avm2::PublicInputs::globalVariables |
Definition at line 30 of file avm_inputs.hpp.
PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previousNonRevertibleAccumulatedData |
Definition at line 42 of file avm_inputs.hpp.
PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previousNonRevertibleAccumulatedDataArrayLengths |
Definition at line 40 of file avm_inputs.hpp.
PrivateToAvmAccumulatedData bb::avm2::PublicInputs::previousRevertibleAccumulatedData |
Definition at line 43 of file avm_inputs.hpp.
PrivateToAvmAccumulatedDataArrayLengths bb::avm2::PublicInputs::previousRevertibleAccumulatedDataArrayLengths |
Definition at line 41 of file avm_inputs.hpp.
std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::publicAppLogicCallRequests |
Definition at line 38 of file avm_inputs.hpp.
PublicCallRequestArrayLengths bb::avm2::PublicInputs::publicCallRequestArrayLengths |
Definition at line 36 of file avm_inputs.hpp.
std::array<PublicCallRequest, MAX_ENQUEUED_CALLS_PER_TX> bb::avm2::PublicInputs::publicSetupCallRequests |
Definition at line 37 of file avm_inputs.hpp.
PublicCallRequest bb::avm2::PublicInputs::publicTeardownCallRequest |
Definition at line 39 of file avm_inputs.hpp.
bool bb::avm2::PublicInputs::reverted |
Definition at line 51 of file avm_inputs.hpp.
Gas bb::avm2::PublicInputs::startGasUsed |
Definition at line 32 of file avm_inputs.hpp.
TreeSnapshots bb::avm2::PublicInputs::startTreeSnapshots |
Definition at line 31 of file avm_inputs.hpp.
FF bb::avm2::PublicInputs::transactionFee |
Definition at line 50 of file avm_inputs.hpp.