6#ifndef VERIBLOCK_POP_CPP_C_ENTITIES_VTB_H
7#define VERIBLOCK_POP_CPP_C_ENTITIES_VTB_H
9#include "veriblock/pop/c/array.h"
10#include "veriblock/pop/c/entities/serde.h"
11#include "veriblock/pop/c/entities/vbkblock.h"
12#include "veriblock/pop/c/type_helpers.h"
18POP_DECLARE_ENTITY(vtb);
20POP_ENTITY_GETTER_FUNCTION(vtb, POP_ARRAY_NAME(u8),
id);
21POP_ENTITY_GETTER_FUNCTION(vtb,
22 const POP_ENTITY_NAME(vbk_block) *,
25POP_ENTITY_TO_JSON(vtb);
27POP_ENTITY_SERIALIZE_TO_VBK(vtb);
28POP_ENTITY_DESERIALIZE_FROM_VBK(vtb);
30POP_DECLARE_ARRAY(POP_ENTITY_NAME(vtb) *, vtb);
32POP_GENERATE_DEFAULT_VALUE(vtb);