ledger-core
TezosLikeAccount.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from tezos_like_wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_TEZOSLIKEACCOUNT_HPP
5 #define DJINNI_GENERATED_TEZOSLIKEACCOUNT_HPP
6 
7 #include <cstdint>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 #ifndef LIBCORE_EXPORT
12  #if defined(_MSC_VER)
13  #include <libcore_export.h>
14  #else
15  #define LIBCORE_EXPORT
16  #endif
17 #endif
18 
19 namespace ledger { namespace core { namespace api {
20 
21 class BigIntCallback;
22 class StringCallback;
23 class TezosLikeOriginatedAccount;
24 class TezosLikeTransaction;
25 class TezosLikeTransactionBuilder;
26 
28 class LIBCORE_EXPORT TezosLikeAccount {
29 public:
30  virtual ~TezosLikeAccount() {}
31 
32  virtual void broadcastRawTransaction(const std::vector<uint8_t> & transaction, const std::shared_ptr<StringCallback> & callback) = 0;
33 
34  virtual void broadcastTransaction(const std::shared_ptr<TezosLikeTransaction> & transaction, const std::shared_ptr<StringCallback> & callback) = 0;
35 
36  virtual std::shared_ptr<TezosLikeTransactionBuilder> buildTransaction() = 0;
37 
44  virtual void getStorage(const std::string & address, const std::shared_ptr<BigIntCallback> & callback) = 0;
45 
52  virtual void getEstimatedGasLimit(const std::string & address, const std::shared_ptr<BigIntCallback> & callback) = 0;
53 
55  virtual void getFees(const std::shared_ptr<BigIntCallback> & callback) = 0;
56 
58  virtual std::vector<std::shared_ptr<TezosLikeOriginatedAccount>> getOriginatedAccounts() = 0;
59 };
60 
61 } } } // namespace ledger::core::api
62 #endif //DJINNI_GENERATED_TEZOSLIKEACCOUNT_HPP
Definition: TezosLikeAccount.hpp:28
Definition: Account.cpp:8