1
0
Fork 0
forked from lthn/blockchain
blockchain/src/currency_core/etc_custom_serialization.h
2018-12-27 18:50:45 +03:00

17 lines
549 B
C++

// Copyright (c) 2014-2018 Zano Project
// Copyright (c) 2014-2018 The Louisdor Project
// Copyright (c) 2014-2015 The Boolberry developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <string>
#define ETC_AMOUNT_DIVIDER 100000000
#define ETC_AMOUNT_DIVIDER_DECIMAL_POINT 8
namespace bc_services
{
std::string transform_amount_to_string(const uint64_t& a);
uint64_t transform_string_to_amount(const std::string& a);
}