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

#include <aztec_types.hpp>

Public Member Functions

bool operator== (const ContractClass &other) const =default
 
void msgpack (auto pack_fn)
 
ContractClassWithCommitment with_commitment (const FF &public_bytecode_commitment) const
 

Public Attributes

FF id = 0
 
FF artifact_hash = 0
 
FF private_functions_root = 0
 
std::vector< uint8_t > packed_bytecode
 

Detailed Description

Definition at line 177 of file aztec_types.hpp.

Member Function Documentation

◆ msgpack()

void bb::avm2::ContractClass::msgpack ( auto  pack_fn)
inline

Definition at line 187 of file aztec_types.hpp.

◆ operator==()

bool bb::avm2::ContractClass::operator== ( const ContractClass other) const
default

◆ with_commitment()

ContractClassWithCommitment bb::avm2::ContractClass::with_commitment ( const FF public_bytecode_commitment) const
inline

Definition at line 198 of file aztec_types.hpp.

Member Data Documentation

◆ artifact_hash

FF bb::avm2::ContractClass::artifact_hash = 0

Definition at line 179 of file aztec_types.hpp.

◆ id

FF bb::avm2::ContractClass::id = 0

Definition at line 178 of file aztec_types.hpp.

◆ packed_bytecode

std::vector<uint8_t> bb::avm2::ContractClass::packed_bytecode

Definition at line 181 of file aztec_types.hpp.

◆ private_functions_root

FF bb::avm2::ContractClass::private_functions_root = 0

Definition at line 180 of file aztec_types.hpp.


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