Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
phase_spec.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
barretenberg/vm2/common/aztec_types.hpp
"
6
7
namespace
bb::avm2::tracegen
{
8
9
class
TxPhaseOffsetsTable
{
10
public
:
11
struct
Offsets
{
12
uint32_t
read_pi_offset
;
13
uint32_t
write_pi_offset
;
14
uint32_t
read_pi_length_offset
;
15
};
16
17
static
const
Offsets
&
get_offsets
(
TransactionPhase
phase);
18
19
private
:
20
TxPhaseOffsetsTable
();
21
};
22
23
}
// namespace bb::avm2::tracegen
aztec_types.hpp
bb::avm2::tracegen::TxPhaseOffsetsTable
Definition
phase_spec.hpp:9
bb::avm2::tracegen::TxPhaseOffsetsTable::get_offsets
static const Offsets & get_offsets(TransactionPhase phase)
Definition
phase_spec.cpp:98
bb::avm2::tracegen::TxPhaseOffsetsTable::TxPhaseOffsetsTable
TxPhaseOffsetsTable()
bb::avm2::tracegen
Definition
full_row.hpp:10
bb::avm2::TransactionPhase
TransactionPhase
Definition
aztec_types.hpp:19
bb::avm2::tracegen::TxPhaseOffsetsTable::Offsets
Definition
phase_spec.hpp:11
bb::avm2::tracegen::TxPhaseOffsetsTable::Offsets::write_pi_offset
uint32_t write_pi_offset
Definition
phase_spec.hpp:13
bb::avm2::tracegen::TxPhaseOffsetsTable::Offsets::read_pi_offset
uint32_t read_pi_offset
Definition
phase_spec.hpp:12
bb::avm2::tracegen::TxPhaseOffsetsTable::Offsets::read_pi_length_offset
uint32_t read_pi_length_offset
Definition
phase_spec.hpp:14
src
barretenberg
vm2
tracegen
lib
phase_spec.hpp
Generated by
1.9.8