6 #ifndef FABCOIN_AMOUNT_H 7 #define FABCOIN_AMOUNT_H 17 static const CAmount COIN = 100000000;
18 static const CAmount CENT = 1000000;
23 static const CAmount MAX_MONEY = (168000000 + 32000000) * COIN;
24 inline bool MoneyRange(
const CAmount& nValue) {
return (nValue >= 0 && nValue <= MAX_MONEY); }
26 #endif // FABCOIN_AMOUNT_H const std::string CURRENCY_UNIT
bool MoneyRange(const CAmount &nValue)
int64_t CAmount
Amount in lius (Can be negative)