Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/vm2/simulation/lib/contract_crypto.hpp"
#include "barretenberg/crypto/poseidon2/poseidon2.hpp"
#include "barretenberg/crypto/poseidon2/poseidon2_params.hpp"
#include "barretenberg/vm2/common/aztec_constants.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 |
Typedefs | |
using | bb::avm2::simulation::poseidon2 = crypto::Poseidon2< crypto::Poseidon2Bn254ScalarFieldParams > |
Functions | |
std::vector< FF > | bb::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) |