4 #ifndef DJINNI_GENERATED_TEZOSLIKETRANSACTIONBUILDER_HPP 5 #define DJINNI_GENERATED_TEZOSLIKETRANSACTIONBUILDER_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
23 class TezosLikeTransaction;
24 class TezosLikeTransactionCallback;
25 enum class TezosOperationTag;
36 virtual std::shared_ptr<TezosLikeTransactionBuilder> setType(TezosOperationTag type) = 0;
44 virtual std::shared_ptr<TezosLikeTransactionBuilder> sendToAddress(
const std::shared_ptr<Amount> & amount,
const std::string & address) = 0;
51 virtual std::shared_ptr<TezosLikeTransactionBuilder> wipeToAddress(
const std::string & address) = 0;
57 virtual std::shared_ptr<TezosLikeTransactionBuilder> setFees(
const std::shared_ptr<Amount> & fees) = 0;
63 virtual std::shared_ptr<TezosLikeTransactionBuilder> setGasLimit(
const std::shared_ptr<Amount> & gasLimit) = 0;
70 virtual std::shared_ptr<TezosLikeTransactionBuilder> setStorageLimit(
const std::shared_ptr<BigInt> & storageLimit) = 0;
73 virtual void build(
const std::shared_ptr<TezosLikeTransactionCallback> & callback) = 0;
79 virtual std::shared_ptr<TezosLikeTransactionBuilder> clone() = 0;
82 virtual void reset() = 0;
84 static std::shared_ptr<TezosLikeTransaction> parseRawUnsignedTransaction(
const Currency & currency,
const std::vector<uint8_t> & rawTransaction);
86 static std::shared_ptr<TezosLikeTransaction> parseRawSignedTransaction(
const Currency & currency,
const std::vector<uint8_t> & rawTransaction);
90 #endif //DJINNI_GENERATED_TEZOSLIKETRANSACTIONBUILDER_HPP Definition: Currency.hpp:23
Definition: Account.cpp:8
Definition: TezosLikeTransactionBuilder.hpp:28