2#include "../../native/value/value_note.hpp"
3#include "barretenberg/join_split_example/types.hpp"
5namespace join_split_example::proofs::notes::circuit::value {
7using namespace proof_system::plonk::stdlib;
24 value =
suint_ct(
witness_ct(&builder, note.value), NOTE_VALUE_BIT_LENGTH,
"note_value");
25 asset_id =
suint_ct(
witness_ct(&builder, note.asset_id), ASSET_ID_BIT_LENGTH,
"asset_id");
27 creator_pubkey =
witness_ct(&builder, note.creator_pubkey);
28 input_nullifier =
witness_ct(&builder, note.input_nullifier);
Definition: ultra_circuit_builder.hpp:31
Definition: safe_uint.hpp:17
Definition: witness.hpp:10
Definition: witness_data.hpp:9
Definition: value_note.hpp:16