BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Functions
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)