6#ifndef ALTINTEGRATION_COMMAND_HPP
7#define ALTINTEGRATION_COMMAND_HPP
10#include <veriblock/pop/uint.hpp>
11#include <veriblock/pop/validation_state.hpp>
17 virtual ~Command() =
default;
20 VBK_CHECK_RETURN
virtual bool Execute(ValidationState& state)
noexcept = 0;
21 virtual void UnExecute() noexcept = 0;
25using CommandPtr = std::shared_ptr<Command>;