50 std::array<std::optional<std::string>, 4>
topics;
59 virtual std::string_view
id()
const = 0;
60 virtual std::int64_t
cursor()
const = 0;
61 virtual asio::awaitable<std::size_t>
projectBatch(std::size_t limit, std::int64_t now_ms) = 0;
Definition event_projector.hpp:56
virtual asio::awaitable< std::size_t > projectBatch(std::size_t limit, std::int64_t now_ms)=0
virtual std::int64_t cursor() const =0
virtual std::string_view id() const =0
virtual ~IEventProjector()=default
Definition decoded_event.hpp:11
constexpr std::string_view FEED_PROJECTOR_ID
Definition event_projector.hpp:15
constexpr std::string_view REGISTRY_PROJECTOR_ID
Definition event_projector.hpp:16
constexpr int FEED_DEAD_LETTER_BIT
Definition event_projector.hpp:22
constexpr int REGISTRY_DEAD_LETTER_BIT
Definition event_projector.hpp:23
Definition event_projector.hpp:38
std::int64_t block_number
Definition event_projector.hpp:51
std::int64_t change_seq
Definition event_projector.hpp:42
std::string name
Definition event_projector.hpp:45
std::string block_hash
Definition event_projector.hpp:40
std::string event_type
Definition event_projector.hpp:43
std::optional< std::int64_t > block_time
Definition event_projector.hpp:48
std::array< std::optional< std::string >, 4 > topics
Definition event_projector.hpp:50
std::string tx_hash
Definition event_projector.hpp:47
std::string state
Definition event_projector.hpp:44
std::int64_t log_index
Definition event_projector.hpp:41
int chain_id
Definition event_projector.hpp:39
std::int64_t tx_index
Definition event_projector.hpp:52
std::string owner
Definition event_projector.hpp:46
std::string data_hex
Definition event_projector.hpp:49
Definition event_projector.hpp:27
std::size_t max_attempts
Definition event_projector.hpp:30
std::int64_t sweep_interval_ms
Definition event_projector.hpp:34