Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EventLog Class Reference

#include <eventlog.h>

Collaboration diagram for EventLog:
[legend]

Public Member Functions

 EventLog ()
 EventLog Constructor. More...
 
 ~EventLog ()
 ~EventLog Destructor More...
 
bool searchTokenTx (int64_t fromBlock, int64_t toBlock, std::string strContractAddress, std::string strSenderAddress, QVariant &result)
 searchTokenTx Search the event log for token transactions More...
 
bool search (int64_t fromBlock, int64_t toBlock, const std::vector< std::string > addresses, const std::vector< std::string > topics, QVariant &result)
 search Search for log events More...
 

Private Member Functions

void setStartBlock (int64_t fromBlock)
 
void setEndBlock (int64_t toBlock)
 
void setAddresses (const std::vector< std::string > addresses)
 
void setTopics (const std::vector< std::string > topics)
 

Private Attributes

ExecRPCCommandm_RPCCommand
 
QMap< QString, QString > m_lstParams
 

Detailed Description

Definition at line 10 of file eventlog.h.

Constructor & Destructor Documentation

EventLog::EventLog ( )

EventLog Constructor.

Definition at line 36 of file eventlog.cpp.

EventLog::~EventLog ( )

~EventLog Destructor

Definition at line 49 of file eventlog.cpp.

Member Function Documentation

bool EventLog::search ( int64_t  fromBlock,
int64_t  toBlock,
const std::vector< std::string >  addresses,
const std::vector< std::string >  topics,
QVariant &  result 
)

search Search for log events

Parameters
fromBlockBegin from block
toBlockEnd to block
addressesContract address
topicsEvent topics
resultResult of the performed call
Returns
success of the operation

Definition at line 75 of file eventlog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool EventLog::searchTokenTx ( int64_t  fromBlock,
int64_t  toBlock,
std::string  strContractAddress,
std::string  strSenderAddress,
QVariant &  result 
)

searchTokenTx Search the event log for token transactions

Parameters
fromBlockBegin from block
toBlockEnd to block
strContractAddressToken contract address
strSenderAddressToken sender address
resultResult of the performed call
Returns
success of the operation

Definition at line 58 of file eventlog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void EventLog::setAddresses ( const std::vector< std::string >  addresses)
private

Definition at line 99 of file eventlog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void EventLog::setEndBlock ( int64_t  toBlock)
private

Definition at line 94 of file eventlog.cpp.

Here is the caller graph for this function:

void EventLog::setStartBlock ( int64_t  fromBlock)
private

Definition at line 89 of file eventlog.cpp.

Here is the caller graph for this function:

void EventLog::setTopics ( const std::vector< std::string >  topics)
private

Definition at line 104 of file eventlog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QMap<QString, QString> EventLog::m_lstParams
private

Definition at line 53 of file eventlog.h.

ExecRPCCommand* EventLog::m_RPCCommand
private

Definition at line 52 of file eventlog.h.


The documentation for this class was generated from the following files: