4 #ifndef DJINNI_GENERATED_RIPPLELIKETRANSACTION_HPP 5 #define DJINNI_GENERATED_RIPPLELIKETRANSACTION_HPP 7 #include "../utils/optional.hpp" 13 #ifndef LIBCORE_EXPORT 15 #include <libcore_export.h> 17 #define LIBCORE_EXPORT 21 namespace ledger {
namespace core {
namespace api {
25 class RippleLikeAddress;
26 struct RippleLikeMemo;
38 virtual std::string getHash() = 0;
41 virtual std::shared_ptr<Amount> getFees() = 0;
44 virtual std::shared_ptr<RippleLikeAddress> getReceiver() = 0;
47 virtual std::shared_ptr<RippleLikeAddress> getSender() = 0;
50 virtual std::shared_ptr<Amount> getValue() = 0;
53 virtual std::vector<uint8_t> serialize() = 0;
56 virtual void setSignature(
const std::vector<uint8_t> & rSignature,
const std::vector<uint8_t> & sSignature) = 0;
58 virtual void setDERSignature(
const std::vector<uint8_t> & signature) = 0;
64 virtual std::chrono::system_clock::time_point getDate() = 0;
71 virtual std::shared_ptr<BigInt> getSequence() = 0;
74 virtual std::shared_ptr<BigInt> getLedgerSequence() = 0;
77 virtual std::vector<uint8_t> getSigningPubKey() = 0;
80 virtual std::vector<RippleLikeMemo> getMemos() = 0;
90 #endif //DJINNI_GENERATED_RIPPLELIKETRANSACTION_HPP Definition: RippleLikeTransaction.hpp:33
Definition: Account.cpp:8
Definition: RippleLikeMemo.hpp:18