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_PHASE_VALUE_CONTINUITY = 10
 
static constexpr size_t SR_INCR_PHASE_VALUE_ON_END = 11
 
static constexpr size_t SR_REM_COUNT_IS_ZERO = 13
 
static constexpr size_t SR_REM_COUNT_IS_ONE = 14
 
static constexpr size_t SR_READ_PI_LENGTH_SEL = 15
 
static constexpr size_t SR_ONE_SHOT_REMAINING_PHASE_COUNTER_ONE = 16
 
static constexpr size_t SR_DECR_REM_PHASE_EVENTS = 17
 
static constexpr size_t SR_INCR_READ_PI_OFFSET = 18
 
static constexpr size_t SR_MAX_NOTE_HASH_WRITES_REACHED = 27
 
static constexpr size_t SR_MAX_NULLIFIER_WRITES_REACHED = 32
 
static constexpr size_t SR_MAX_L2_L1_MSG_WRITES_REACHED = 37
 
static constexpr size_t SR_UPDATE_NUM_L2_TO_L1_MSGS = 40
 
static constexpr size_t SR_COMPUTE_FEE = 42
 
static constexpr size_t SR_TEARDOWN_GETS_FEE = 43
 
static constexpr size_t SR_FEE_ZERO_UNLESS_COLLECT_FEE_OR_TEARDOWN = 44
 
static constexpr size_t SR_NOTE_HASH_TREE_ROOT_IMMUTABLE_IN_PADDING = 50
 
static constexpr size_t SR_PAD_NOTE_HASH_TREE = 51
 
static constexpr size_t SR_NOTE_HASHES_EMITTED_IMMUTABLE_IN_PADDING = 52
 
static constexpr size_t SR_NULLIFIER_TREE_ROOT_IMMUTABLE_IN_PADDING = 53
 
static constexpr size_t SR_PAD_NULLIFIER_TREE = 54
 
static constexpr size_t SR_NULLIFIERS_EMITTED_IMMUTABLE_IN_PADDING = 55
 
- 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, 56 > 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_KEYS >(SUBRELATION_TOTAL_LENGTHS)>
 
using ProtogalaxyTupleOfUnivariatesOverSubrelations = TupleOfUnivariatesWithOptimisticSkipping< FF, compute_composed_subrelation_partial_lengths< NUM_KEYS >(SUBRELATION_TOTAL_LENGTHS), NUM_KEYS - 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 40 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 = 42
staticconstexpr

Definition at line 117 of file tx.hpp.

◆ SR_DECR_REM_PHASE_EVENTS

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

Definition at line 111 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 = 44
staticconstexpr

Definition at line 119 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 = 11
staticconstexpr

Definition at line 106 of file tx.hpp.

◆ SR_INCR_READ_PI_OFFSET

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

Definition at line 112 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 = 37
staticconstexpr

Definition at line 115 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 = 27
staticconstexpr

Definition at line 113 of file tx.hpp.

◆ SR_MAX_NULLIFIER_WRITES_REACHED

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

Definition at line 114 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 102 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 100 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 = 50
staticconstexpr

Definition at line 120 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 = 52
staticconstexpr

Definition at line 122 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 = 53
staticconstexpr

Definition at line 123 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 = 55
staticconstexpr

Definition at line 125 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 = 16
staticconstexpr

Definition at line 110 of file tx.hpp.

◆ SR_PAD_NOTE_HASH_TREE

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

Definition at line 121 of file tx.hpp.

◆ SR_PAD_NULLIFIER_TREE

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

Definition at line 124 of file tx.hpp.

◆ SR_PHASE_VALUE_CONTINUITY

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

Definition at line 105 of file tx.hpp.

◆ SR_READ_PI_LENGTH_SEL

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

Definition at line 109 of file tx.hpp.

◆ SR_REM_COUNT_IS_ONE

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

Definition at line 108 of file tx.hpp.

◆ SR_REM_COUNT_IS_ZERO

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

Definition at line 107 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 101 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 104 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 103 of file tx.hpp.

◆ SR_TEARDOWN_GETS_FEE

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

Definition at line 118 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 = 40
staticconstexpr

Definition at line 116 of file tx.hpp.


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