Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::CalldataHashingProvider Class Reference

#include <calldata_hashing.hpp>

Inheritance diagram for bb::avm2::simulation::CalldataHashingProvider:
bb::avm2::simulation::CalldataHashingProviderInterface

Public Member Functions

 CalldataHashingProvider (Poseidon2Interface &hasher, EventEmitterInterface< CalldataEvent > &event_emitter)
 
std::unique_ptr< CalldataHashingInterfacemake_cd_hasher (uint32_t context_id) override
 
- Public Member Functions inherited from bb::avm2::simulation::CalldataHashingProviderInterface
virtual ~CalldataHashingProviderInterface ()=default
 

Private Attributes

Poseidon2Interfacehasher
 
EventEmitterInterface< CalldataEvent > & events
 

Detailed Description

Definition at line 40 of file calldata_hashing.hpp.

Constructor & Destructor Documentation

◆ CalldataHashingProvider()

bb::avm2::simulation::CalldataHashingProvider::CalldataHashingProvider ( Poseidon2Interface hasher,
EventEmitterInterface< CalldataEvent > &  event_emitter 
)
inline

Definition at line 42 of file calldata_hashing.hpp.

Member Function Documentation

◆ make_cd_hasher()

std::unique_ptr< CalldataHashingInterface > bb::avm2::simulation::CalldataHashingProvider::make_cd_hasher ( uint32_t  context_id)
inlineoverridevirtual

Member Data Documentation

◆ events

EventEmitterInterface<CalldataEvent>& bb::avm2::simulation::CalldataHashingProvider::events
private

Definition at line 54 of file calldata_hashing.hpp.

◆ hasher

Poseidon2Interface& bb::avm2::simulation::CalldataHashingProvider::hasher
private

Definition at line 53 of file calldata_hashing.hpp.


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