Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
data_copy.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
7
8namespace bb::avm2::simulation {
9
10// Forward declarations
11class ContextInterface;
12
14 public:
15 virtual ~DataCopyInterface() = default;
17 const uint32_t cd_copy_size,
18 const uint32_t cd_offset,
19 const MemoryAddress dst_addr) = 0;
21 const uint32_t rd_copy_size,
22 const uint32_t rd_offset,
23 const MemoryAddress dst_addr) = 0;
24};
25
26} // namespace bb::avm2::simulation
virtual void rd_copy(ContextInterface &context, const uint32_t rd_copy_size, const uint32_t rd_offset, const MemoryAddress dst_addr)=0
virtual void cd_copy(ContextInterface &context, const uint32_t cd_copy_size, const uint32_t cd_offset, const MemoryAddress dst_addr)=0
uint32_t dst_addr
uint32_t MemoryAddress
uint32_t cd_offset