![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include <mastercore_sp.h>
Public Member Functions | |
CMPCrowd () | |
CMPCrowd (unsigned int pid, uint64_t nv, unsigned int cd, uint64_t dl, unsigned char eb, unsigned char per, uint64_t uct, uint64_t ict) | |
unsigned int | getPropertyId () const |
uint64_t | getDeadline () const |
uint64_t | getCurrDes () const |
void | incTokensUserCreated (uint64_t amount) |
void | incTokensIssuerCreated (uint64_t amount) |
uint64_t | getUserCreated () const |
uint64_t | getIssuerCreated () const |
void | insertDatabase (std::string txhash, std::vector< uint64_t > txdata) |
std::map< std::string, std::vector< uint64_t > > | getDatabase () const |
void | print (const string &address, FILE *fp=stdout) const |
void | saveCrowdSale (ofstream &file, SHA256_CTX *shaCtx, string const &addr) const |
Private Attributes | |
unsigned int | propertyId |
uint64_t | nValue |
unsigned int | property_desired |
uint64_t | deadline |
unsigned char | early_bird |
unsigned char | percentage |
uint64_t | u_created |
uint64_t | i_created |
uint256 | txid |
std::map< std::string, std::vector< uint64_t > > | txFundraiserData |
Definition at line 398 of file mastercore_sp.h.
|
inline |
Definition at line 417 of file mastercore_sp.h.
|
inline |
Definition at line 421 of file mastercore_sp.h.
|
inline |
Definition at line 429 of file mastercore_sp.h.
References property_desired.
Referenced by CMPTransaction::logicMath_SimpleSend().
|
inline |
Definition at line 438 of file mastercore_sp.h.
References txFundraiserData.
Referenced by mastercore::eraseExpiredCrowdsale(), mastercore::eraseMaxedCrowdsale(), getcrowdsale_MP(), CMPTransaction::interpretPacket(), and mastercore::isCrowdsalePurchase().
|
inline |
Definition at line 428 of file mastercore_sp.h.
References deadline.
Referenced by mastercore::eraseExpiredCrowdsale().
|
inline |
Definition at line 435 of file mastercore_sp.h.
References i_created.
Referenced by mastercore::eraseExpiredCrowdsale(), and CMPTransaction::interpretPacket().
|
inline |
Definition at line 426 of file mastercore_sp.h.
References propertyId.
Referenced by mastercore::eraseExpiredCrowdsale(), mastercore::eraseMaxedCrowdsale(), getactivecrowdsales_MP(), getcrowdsale_MP(), CMPTransaction::interpretPacket(), mastercore::isCrowdsaleActive(), mastercore::isCrowdsalePurchase(), and CMPTransaction::logicMath_SimpleSend().
|
inline |
Definition at line 434 of file mastercore_sp.h.
References u_created.
|
inline |
Definition at line 432 of file mastercore_sp.h.
Referenced by CMPTransaction::logicMath_SimpleSend().
|
inline |
Definition at line 431 of file mastercore_sp.h.
Referenced by CMPTransaction::logicMath_SimpleSend().
|
inline |
Definition at line 437 of file mastercore_sp.h.
Referenced by CMPTransaction::logicMath_SimpleSend().
|
inline |
Definition at line 440 of file mastercore_sp.h.
References DateTimeStrFormat(), deadline, nValue, property_desired, and propertyId.
Referenced by mastercore::dumpCrowdsaleInfo().
|
inline |
Definition at line 446 of file mastercore_sp.h.
References tinyformat::detail::format(), and i_created.
Referenced by write_mp_crowdsales().
|
private |
Definition at line 406 of file mastercore_sp.h.
Referenced by getDeadline(), and print().
|
private |
Definition at line 407 of file mastercore_sp.h.
|
private |
Definition at line 411 of file mastercore_sp.h.
Referenced by getIssuerCreated(), and saveCrowdSale().
|
private |
Definition at line 403 of file mastercore_sp.h.
Referenced by print().
|
private |
Definition at line 408 of file mastercore_sp.h.
|
private |
Definition at line 405 of file mastercore_sp.h.
Referenced by getCurrDes(), and print().
|
private |
Definition at line 401 of file mastercore_sp.h.
Referenced by getPropertyId(), and print().
|
private |
Definition at line 415 of file mastercore_sp.h.
Referenced by getDatabase().
|
private |
Definition at line 413 of file mastercore_sp.h.
|
private |
Definition at line 410 of file mastercore_sp.h.
Referenced by getUserCreated().