6#ifndef VERIBLOCK_POP_CPP_C_ENTITIES_PUBLICATION_DATA_H
7#define VERIBLOCK_POP_CPP_C_ENTITIES_PUBLICATION_DATA_H
9#include "veriblock/pop/c/array.h"
10#include "veriblock/pop/c/entities/serde.h"
11#include "veriblock/pop/c/type_helpers.h"
17POP_DECLARE_ENTITY(publication_data);
19POP_ENTITY_SERIALIZE_TO_VBK(publication_data);
20POP_ENTITY_DESERIALIZE_FROM_VBK(publication_data);
22POP_ENTITY_GETTER_FUNCTION(publication_data, int64_t, identifier);
23POP_ENTITY_GETTER_FUNCTION(publication_data, POP_ARRAY_NAME(u8), header);
24POP_ENTITY_GETTER_FUNCTION(publication_data, POP_ARRAY_NAME(u8), payout_info);
25POP_ENTITY_GETTER_FUNCTION(publication_data, POP_ARRAY_NAME(u8), context_info);
27POP_ENTITY_TO_JSON(publication_data);