Barretenberg
The ZK-SNARK library at the core of Aztec
|
A wrapper class for serializing objects to and from the public inputs of a circuit. More...
#include <public_input_component.hpp>
Public Types | |
using | Key = PublicComponentKey |
Static Public Member Functions | |
static Key | set (const ComponentType &component) |
static ComponentType | reconstruct (const std::vector< Fr > &public_inputs, const Key &key) |
Private Types | |
using | Builder = ComponentType::Builder |
using | Fr = stdlib::field_t< Builder > |
Static Private Attributes | |
static constexpr uint32_t | COMPONENT_SIZE = ComponentType::PUBLIC_INPUTS_SIZE |
A wrapper class for serializing objects to and from the public inputs of a circuit.
ComponentType | A type that satisfies the IsSerializableToAndFromPublicInputs concept |
Definition at line 42 of file public_input_component.hpp.
|
private |
Definition at line 43 of file public_input_component.hpp.
|
private |
Definition at line 44 of file public_input_component.hpp.
using bb::stdlib::PublicInputComponent< ComponentType >::Key = PublicComponentKey |
Definition at line 49 of file public_input_component.hpp.
|
inlinestatic |
Definition at line 60 of file public_input_component.hpp.
|
inlinestatic |
Definition at line 52 of file public_input_component.hpp.
|
staticconstexprprivate |
Definition at line 46 of file public_input_component.hpp.