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

#include <sendtocontract.h>

Inheritance diagram for SendToContract:
[legend]
Collaboration diagram for SendToContract:
[legend]

Public Slots

void on_clearAllClicked ()
 
void on_sendToContractClicked ()
 
void on_numBlocksChanged ()
 
void on_updateSendToContractButton ()
 
void on_newContractABI ()
 
void on_functionChanged ()
 
void on_saveInfoClicked ()
 
void on_loadInfoClicked ()
 
void on_pasteAddressClicked ()
 
void on_contractAddressChanged ()
 

Public Member Functions

 SendToContract (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~SendToContract ()
 
void setClientModel (ClientModel *clientModel)
 
void setModel (WalletModel *model)
 
bool isValidContractAddress ()
 
bool isValidInterfaceABI ()
 
bool isDataValid ()
 
void setContractAddress (const QString &address)
 

Private Member Functions

QString toDataHex (int func, QString &errorMessage)
 
bool isFunctionPayable ()
 

Private Attributes

Ui::SendToContractui
 
WalletModelm_model
 
ClientModelm_clientModel
 
ContractTableModelm_contractModel
 
ExecRPCCommandm_execRPCCommand
 
ABIFunctionFieldm_ABIFunctionField
 
ContractABIm_contractABI
 
TabBarInfom_tabInfo
 
const PlatformStylem_platformStyle
 
int m_results
 

Detailed Description

Definition at line 19 of file sendtocontract.h.

Constructor & Destructor Documentation

SendToContract::SendToContract ( const PlatformStyle platformStyle,
QWidget *  parent = 0 
)
explicit

Definition at line 41 of file sendtocontract.cpp.

Here is the call graph for this function:

SendToContract::~SendToContract ( )

Definition at line 124 of file sendtocontract.cpp.

Member Function Documentation

bool SendToContract::isDataValid ( )

Definition at line 148 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool SendToContract::isFunctionPayable ( )
private

Definition at line 405 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool SendToContract::isValidContractAddress ( )

Definition at line 136 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool SendToContract::isValidInterfaceABI ( )

Definition at line 142 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_clearAllClicked ( )
slot

Definition at line 178 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_contractAddressChanged ( )
slot

Definition at line 366 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_functionChanged ( )
slot

Definition at line 305 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_loadInfoClicked ( )
slot

Definition at line 350 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_newContractABI ( )
slot

Definition at line 288 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_numBlocksChanged ( )
slot

Definition at line 257 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_pasteAddressClicked ( )
slot

Definition at line 361 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_saveInfoClicked ( )
slot

Definition at line 315 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_sendToContractClicked ( )
slot

Definition at line 191 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::on_updateSendToContractButton ( )
slot

Definition at line 275 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::setClientModel ( ClientModel clientModel)

Definition at line 167 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendToContract::setContractAddress ( const QString &  address)

Definition at line 161 of file sendtocontract.cpp.

Here is the caller graph for this function:

void SendToContract::setModel ( WalletModel model)

Definition at line 130 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QString SendToContract::toDataHex ( int  func,
QString &  errorMessage 
)
private

Definition at line 382 of file sendtocontract.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ABIFunctionField* SendToContract::m_ABIFunctionField
private

Definition at line 58 of file sendtocontract.h.

ClientModel* SendToContract::m_clientModel
private

Definition at line 55 of file sendtocontract.h.

ContractABI* SendToContract::m_contractABI
private

Definition at line 59 of file sendtocontract.h.

ContractTableModel* SendToContract::m_contractModel
private

Definition at line 56 of file sendtocontract.h.

ExecRPCCommand* SendToContract::m_execRPCCommand
private

Definition at line 57 of file sendtocontract.h.

WalletModel* SendToContract::m_model
private

Definition at line 54 of file sendtocontract.h.

const PlatformStyle* SendToContract::m_platformStyle
private

Definition at line 61 of file sendtocontract.h.

int SendToContract::m_results
private

Definition at line 62 of file sendtocontract.h.

TabBarInfo* SendToContract::m_tabInfo
private

Definition at line 60 of file sendtocontract.h.

Ui::SendToContract* SendToContract::ui
private

Definition at line 53 of file sendtocontract.h.


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