BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Functions | Variables
asset.cpp File Reference
#include <graphene/protocol/asset.hpp>
#include <boost/rational.hpp>
#include <boost/multiprecision/cpp_int.hpp>
#include <fc/io/raw.hpp>
#include <fc/uint128.hpp>

Go to the source code of this file.

Classes

struct  graphene::protocol::p10< N >
 
struct  graphene::protocol::p10< 0 >
 

Namespaces

 graphene
 
 graphene::protocol
 

Functions

bool graphene::protocol::operator== (const price &a, const price &b)
 
bool graphene::protocol::operator< (const price &a, const price &b)
 
asset graphene::protocol::operator* (const asset &a, const price &b)
 Multiply and round down. More...
 
price graphene::protocol::operator/ (const asset &base, const asset &quote)
 
price graphene::protocol::operator* (const price &p, const ratio_type &r)
 
price graphene::protocol::operator/ (const price &p, const ratio_type &r)
 

Variables

const int64_t graphene::protocol::scaled_precision_lut [19]