Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
contract_crypto.hpp File Reference
#include <cstdint>
#include <span>
#include "barretenberg/vm2/common/aztec_types.hpp"
#include "barretenberg/vm2/common/field.hpp"

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 
namespace  bb::avm2::simulation
 

Functions

std::vector< FFbb::avm2::simulation::encode_bytecode (std::span< const uint8_t > bytecode)
 
FF bb::avm2::simulation::compute_public_bytecode_commitment (std::span< const uint8_t > bytecode)
 
FF bb::avm2::simulation::compute_contract_class_id (const FF &artifact_hash, const FF &private_fn_root, const FF &public_bytecode_commitment)
 
FF bb::avm2::simulation::hash_public_keys (const PublicKeys &public_keys)
 
FF bb::avm2::simulation::compute_contract_address (const ContractInstance &contract_instance)