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

#include <tx.hpp>

Inheritance diagram for bb::avm2::tx< FF >:
bb::Relation< txImpl< FF > > bb::avm2::txImpl< FF >

Static Public Member Functions

static std::string get_subrelation_label (size_t index)
 
- Static Public Member Functions inherited from bb::avm2::txImpl< FF >
static bool skip (const AllEntities &in)
 
static void accumulate (ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
 

Static Public Attributes

static constexpr const std::string_view NAME = "tx"
 
static constexpr size_t SR_NO_EXTRANEOUS_ROWS = 1
 
static constexpr size_t SR_SEL_ON_FIRST_ROW = 2
 
static constexpr size_t SR_NO_EARLY_END = 3
 
static constexpr size_t SR_START_WITH_SEL = 4
 
static constexpr size_t SR_START_FOLLOWS_END = 9
 
static constexpr size_t SR_END_PHASE_ON_REVERT = 11
 
static constexpr size_t SR_PHASE_VALUE_CONTINUITY = 12
 
static constexpr size_t SR_INCR_PHASE_VALUE_ON_END = 13
 
static constexpr size_t SR_REM_COUNT_IS_ZERO = 15
 
static constexpr size_t SR_REM_COUNT_IS_ONE = 16
 
static constexpr size_t SR_READ_PI_LENGTH_SEL = 17
 
static constexpr size_t SR_ONE_SHOT_REMAINING_PHASE_COUNTER_ONE = 18
 
static constexpr size_t SR_DECR_REM_PHASE_EVENTS = 19
 
static constexpr size_t SR_INCR_READ_PI_OFFSET = 20
 
static constexpr size_t SR_MAX_NOTE_HASH_WRITES_REACHED = 29
 
static constexpr size_t SR_MAX_NULLIFIER_WRITES_REACHED = 34
 
static constexpr size_t SR_MAX_L2_L1_MSG_WRITES_REACHED = 39
 
static constexpr size_t SR_UPDATE_NUM_L2_TO_L1_MSGS = 42
 
static constexpr size_t SR_COMPUTE_FEE = 44
 
static constexpr size_t SR_TEARDOWN_GETS_FEE = 45
 
static constexpr size_t SR_FEE_ZERO_UNLESS_COLLECT_FEE_OR_TEARDOWN = 46
 
static constexpr size_t SR_NOTE_HASH_TREE_ROOT_IMMUTABLE_IN_PADDING = 52
 
static constexpr size_t SR_PAD_NOTE_HASH_TREE = 53
 
static constexpr size_t SR_NOTE_HASHES_EMITTED_IMMUTABLE_IN_PADDING = 54
 
static constexpr size_t SR_NULLIFIER_TREE_ROOT_IMMUTABLE_IN_PADDING = 55
 
static constexpr size_t SR_PAD_NULLIFIER_TREE = 56
 
static constexpr size_t SR_NULLIFIERS_EMITTED_IMMUTABLE_IN_PADDING = 57
 
- Static Public Attributes inherited from bb::Relation< txImpl< FF > >
static constexpr std::array< size_t, RelationImpl::SUBRELATION_PARTIAL_LENGTHS.size()> SUBRELATION_TOTAL_LENGTHS
 
static constexpr size_t RELATION_LENGTH
 
static constexpr size_t TOTAL_RELATION_LENGTH
 
- Static Public Attributes inherited from bb::avm2::txImpl< FF >
static constexpr std::array< size_t, 58 > SUBRELATION_PARTIAL_LENGTHS
 

Additional Inherited Members

- Public Types inherited from bb::Relation< txImpl< FF > >
using FF = typename RelationImpl::FF
 
using ProtogalaxyTupleOfUnivariatesOverSubrelationsNoOptimisticSkipping = TupleOfUnivariates< FF, compute_composed_subrelation_partial_lengths< NUM_INSTANCES >(SUBRELATION_TOTAL_LENGTHS)>
 
using ProtogalaxyTupleOfUnivariatesOverSubrelations = TupleOfUnivariatesWithOptimisticSkipping< FF, compute_composed_subrelation_partial_lengths< NUM_INSTANCES >(SUBRELATION_TOTAL_LENGTHS), NUM_INSTANCES - 1 >
 
using SumcheckTupleOfUnivariatesOverSubrelations = TupleOfUnivariates< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS >
 
using SumcheckArrayOfValuesOverSubrelations = ArrayOfValues< FF, RelationImpl::SUBRELATION_PARTIAL_LENGTHS >
 
using UnivariateAccumulator0 = std::tuple_element_t< 0, SumcheckTupleOfUnivariatesOverSubrelations >
 
using ValueAccumulator0 = std::tuple_element_t< 0, SumcheckArrayOfValuesOverSubrelations >
 
- Public Types inherited from bb::avm2::txImpl< FF >
using FF = FF
 

Detailed Description

template<typename FF>
class bb::avm2::tx< FF >

Definition at line 36 of file tx.hpp.

Member Function Documentation

◆ get_subrelation_label()

template<typename FF >
static std::string bb::avm2::tx< FF >::get_subrelation_label ( size_t  index)
inlinestatic

Definition at line 69 of file tx.hpp.

Member Data Documentation

◆ NAME

template<typename FF >
constexpr const std::string_view bb::avm2::tx< FF >::NAME = "tx"
staticconstexpr

Definition at line 38 of file tx.hpp.

◆ SR_COMPUTE_FEE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_COMPUTE_FEE = 44
staticconstexpr

Definition at line 59 of file tx.hpp.

◆ SR_DECR_REM_PHASE_EVENTS

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_DECR_REM_PHASE_EVENTS = 19
staticconstexpr

Definition at line 53 of file tx.hpp.

◆ SR_END_PHASE_ON_REVERT

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_END_PHASE_ON_REVERT = 11
staticconstexpr

Definition at line 46 of file tx.hpp.

◆ SR_FEE_ZERO_UNLESS_COLLECT_FEE_OR_TEARDOWN

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_FEE_ZERO_UNLESS_COLLECT_FEE_OR_TEARDOWN = 46
staticconstexpr

Definition at line 61 of file tx.hpp.

◆ SR_INCR_PHASE_VALUE_ON_END

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_INCR_PHASE_VALUE_ON_END = 13
staticconstexpr

Definition at line 48 of file tx.hpp.

◆ SR_INCR_READ_PI_OFFSET

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_INCR_READ_PI_OFFSET = 20
staticconstexpr

Definition at line 54 of file tx.hpp.

◆ SR_MAX_L2_L1_MSG_WRITES_REACHED

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_MAX_L2_L1_MSG_WRITES_REACHED = 39
staticconstexpr

Definition at line 57 of file tx.hpp.

◆ SR_MAX_NOTE_HASH_WRITES_REACHED

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_MAX_NOTE_HASH_WRITES_REACHED = 29
staticconstexpr

Definition at line 55 of file tx.hpp.

◆ SR_MAX_NULLIFIER_WRITES_REACHED

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_MAX_NULLIFIER_WRITES_REACHED = 34
staticconstexpr

Definition at line 56 of file tx.hpp.

◆ SR_NO_EARLY_END

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NO_EARLY_END = 3
staticconstexpr

Definition at line 43 of file tx.hpp.

◆ SR_NO_EXTRANEOUS_ROWS

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NO_EXTRANEOUS_ROWS = 1
staticconstexpr

Definition at line 41 of file tx.hpp.

◆ SR_NOTE_HASH_TREE_ROOT_IMMUTABLE_IN_PADDING

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NOTE_HASH_TREE_ROOT_IMMUTABLE_IN_PADDING = 52
staticconstexpr

Definition at line 62 of file tx.hpp.

◆ SR_NOTE_HASHES_EMITTED_IMMUTABLE_IN_PADDING

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NOTE_HASHES_EMITTED_IMMUTABLE_IN_PADDING = 54
staticconstexpr

Definition at line 64 of file tx.hpp.

◆ SR_NULLIFIER_TREE_ROOT_IMMUTABLE_IN_PADDING

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NULLIFIER_TREE_ROOT_IMMUTABLE_IN_PADDING = 55
staticconstexpr

Definition at line 65 of file tx.hpp.

◆ SR_NULLIFIERS_EMITTED_IMMUTABLE_IN_PADDING

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_NULLIFIERS_EMITTED_IMMUTABLE_IN_PADDING = 57
staticconstexpr

Definition at line 67 of file tx.hpp.

◆ SR_ONE_SHOT_REMAINING_PHASE_COUNTER_ONE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_ONE_SHOT_REMAINING_PHASE_COUNTER_ONE = 18
staticconstexpr

Definition at line 52 of file tx.hpp.

◆ SR_PAD_NOTE_HASH_TREE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_PAD_NOTE_HASH_TREE = 53
staticconstexpr

Definition at line 63 of file tx.hpp.

◆ SR_PAD_NULLIFIER_TREE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_PAD_NULLIFIER_TREE = 56
staticconstexpr

Definition at line 66 of file tx.hpp.

◆ SR_PHASE_VALUE_CONTINUITY

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_PHASE_VALUE_CONTINUITY = 12
staticconstexpr

Definition at line 47 of file tx.hpp.

◆ SR_READ_PI_LENGTH_SEL

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_READ_PI_LENGTH_SEL = 17
staticconstexpr

Definition at line 51 of file tx.hpp.

◆ SR_REM_COUNT_IS_ONE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_REM_COUNT_IS_ONE = 16
staticconstexpr

Definition at line 50 of file tx.hpp.

◆ SR_REM_COUNT_IS_ZERO

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_REM_COUNT_IS_ZERO = 15
staticconstexpr

Definition at line 49 of file tx.hpp.

◆ SR_SEL_ON_FIRST_ROW

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_SEL_ON_FIRST_ROW = 2
staticconstexpr

Definition at line 42 of file tx.hpp.

◆ SR_START_FOLLOWS_END

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_START_FOLLOWS_END = 9
staticconstexpr

Definition at line 45 of file tx.hpp.

◆ SR_START_WITH_SEL

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_START_WITH_SEL = 4
staticconstexpr

Definition at line 44 of file tx.hpp.

◆ SR_TEARDOWN_GETS_FEE

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_TEARDOWN_GETS_FEE = 45
staticconstexpr

Definition at line 60 of file tx.hpp.

◆ SR_UPDATE_NUM_L2_TO_L1_MSGS

template<typename FF >
constexpr size_t bb::avm2::tx< FF >::SR_UPDATE_NUM_L2_TO_L1_MSGS = 42
staticconstexpr

Definition at line 58 of file tx.hpp.


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