BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Functions
util.cpp File Reference
#include <boost/multiprecision/cpp_int.hpp>
#include <graphene/app/util.hpp>
#include <graphene/protocol/asset.hpp>
#include <graphene/chain/asset_object.hpp>

Go to the source code of this file.

Namespaces

 graphene
 
 graphene::app
 

Functions

std::string graphene::app::uint128_amount_to_string (const fc::uint128_t &amount, const uint8_t precision)
 
std::string graphene::app::price_to_string (const graphene::protocol::price &_price, const uint8_t base_precision, const uint8_t quote_precision)
 
std::string graphene::app::price_to_string (const graphene::protocol::price &_price, const graphene::chain::asset_object &_base, const graphene::chain::asset_object &_quote)
 
std::string graphene::app::price_diff_percent_string (const graphene::protocol::price &old_price, const graphene::protocol::price &new_price)