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

#include <get_contract_instance_spec.hpp>

Classes

struct  Table
 

Static Public Member Functions

static Table get_table (uint8_t member_enum)
 Look up the precomputed table entry for a given member enum value.
 

Private Member Functions

 GetContractInstanceSpec ()
 

Detailed Description

Definition at line 7 of file get_contract_instance_spec.hpp.

Constructor & Destructor Documentation

◆ GetContractInstanceSpec()

bb::avm2::tracegen::GetContractInstanceSpec::GetContractInstanceSpec ( )
private

Member Function Documentation

◆ get_table()

GetContractInstanceSpec::Table bb::avm2::tracegen::GetContractInstanceSpec::get_table ( uint8_t  member_enum)
static

Look up the precomputed table entry for a given member enum value.

Returns boolean selectors indicating whether the enum is valid and which member it selects. See the ASCII table in get_contract_instance.pil for the full mapping.

Parameters
member_enumThe member enum value (0=deployer, 1=class_id, 2=init_hash, 3+=invalid).
Returns
A Table struct with is_valid_member_enum and the per-member selector flags.

Definition at line 15 of file get_contract_instance_spec.cpp.


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