1
#pragma once
2

3
#include "../Data.h"
4
#include "proto/Tezos.pb.h"
5
#include "../PrivateKey.h"
6
#include <string>
7

8
using namespace TW::Tezos;
9
using namespace TW::Tezos::Proto;
10

11
namespace TW::Tezos {
12

13 1
class OperationList {
14
  public:
15
    std::string branch;
16
    std::vector<Operation> operation_list;
17
    OperationList(const std::string& string);
18
    void addOperation(const Operation& transaction);
19
    /// Returns a data representation of the operations.
20
    Data forge(const PrivateKey& privateKey) const;
21
    Data forgeBranch() const;
22
};
23

24
} // namespace TW::Tezos

Read our documentation on viewing source code .

Loading