2#include "../bridge_call_data.hpp"
3#include "barretenberg/common/serialize.hpp"
4#include "barretenberg/crypto/pedersen_commitment/pedersen.hpp"
5#include "barretenberg/ecc/curves/grumpkin/grumpkin.hpp"
7namespace join_split_example {
24 return os <<
"{ value: " << note.deposit_value <<
", bridge_call_data: " << note.bridge_call_data
25 <<
", secret: " << note.note_secret <<
", input_nullifier: " << note.input_nullifier <<
" }";
28inline void read(uint8_t
const*& it, partial_claim_note_data& note)
30 using serialize::read;
31 read(it, note.deposit_value);
32 read(it, note.bridge_call_data);
33 read(it, note.note_secret);
34 read(it, note.input_nullifier);
37inline void write(std::vector<uint8_t>& buf, partial_claim_note_data
const& note)
39 using serialize::write;
40 write(buf, note.deposit_value);
41 write(buf, note.bridge_call_data);
42 write(buf, note.note_secret);
43 write(buf, note.input_nullifier);
Definition: uint256.hpp:25
Definition: bridge_call_data.hpp:27
Definition: claim_note_tx_data.hpp:13