text: /*
   * Copyright (c) 2018-2019, The Mybtcfx Developers.
   * Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
   *
   * This file is part of 4xBIT.
   *
   * This file is subject to the terms and conditions defined in the
   * file 'LICENSE', which is part of this source code package.
   */
  
  #pragma once
  
  #include <stdexcept>
  #include <algorithm>
  #include <string>
  
  #include "IWalletLegacy.h"
  
  namespace CryptoNote {
  class ISerializer;
  
  struct UnconfirmedTransferDetails;
  struct WalletLegacyTransaction;
  struct WalletLegacyTransfer;
  
  void serialize(UnconfirmedTransferDetails& utd, ISerializer& serializer);
  void serialize(WalletLegacyTransaction& txi, ISerializer& serializer);
  void serialize(WalletLegacyTransfer& tr, ISerializer& serializer);
  
  }
  