Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::PublicInputComponent< ComponentType > Class Template Reference

A wrapper class for deserializing objects from the public inputs of a circuit. More...

#include <public_input_component.hpp>

Public Types

using Key = PublicComponentKey
 

Static Public Member Functions

static ComponentType reconstruct (const std::vector< bb::fr > &public_inputs, const Key &key)
 

Static Private Attributes

static constexpr uint32_t COMPONENT_SIZE = ComponentType::PUBLIC_INPUTS_SIZE
 

Detailed Description

template<typename ComponentType>
requires IsDeserializableFromPublicInputs<ComponentType>
class bb::PublicInputComponent< ComponentType >

A wrapper class for deserializing objects from the public inputs of a circuit.

Template Parameters
ComponentTypeA type that satisfies the IsDeserializableFromPublicInputs concept

Definition at line 40 of file public_input_component.hpp.

Member Typedef Documentation

◆ Key

template<typename ComponentType >
using bb::PublicInputComponent< ComponentType >::Key = PublicComponentKey

Definition at line 44 of file public_input_component.hpp.

Member Function Documentation

◆ reconstruct()

template<typename ComponentType >
static ComponentType bb::PublicInputComponent< ComponentType >::reconstruct ( const std::vector< bb::fr > &  public_inputs,
const Key key 
)
inlinestatic

Definition at line 47 of file public_input_component.hpp.

Member Data Documentation

◆ COMPONENT_SIZE

template<typename ComponentType >
constexpr uint32_t bb::PublicInputComponent< ComponentType >::COMPONENT_SIZE = ComponentType::PUBLIC_INPUTS_SIZE
staticconstexprprivate

Definition at line 41 of file public_input_component.hpp.


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