Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CAssetTransfer Class Reference

#include <assettypes.h>

Public Member Functions

 CAssetTransfer ()
 
void SetNull ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
 CAssetTransfer (const std::string &strAssetName, const CAmount &nAmount, const std::string &message="", const int64_t &nExpireTime=0)
 
bool IsValid (std::string &strError) const
 
void ConstructTransaction (CScript &script) const
 
bool ContextualCheckAgainstVerifyString (CAssetsCache *assetCache, const std::string &address, std::string &strError) const
 

Public Attributes

std::string strName
 
CAmount nAmount
 
std::string message
 
int64_t nExpireTime
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 187 of file assettypes.h.

Constructor & Destructor Documentation

◆ CAssetTransfer() [1/2]

CAssetTransfer::CAssetTransfer ( )
inline

Definition at line 195 of file assettypes.h.

◆ CAssetTransfer() [2/2]

CAssetTransfer::CAssetTransfer ( const std::string &  strAssetName,
const CAmount nAmount,
const std::string &  message = "",
const int64_t &  nExpireTime = 0 
)

Definition at line 1488 of file assets.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ConstructTransaction()

void CAssetTransfer::ConstructTransaction ( CScript script) const

Definition at line 1555 of file assets.cpp.

Here is the caller graph for this function:

◆ ContextualCheckAgainstVerifyString()

bool CAssetTransfer::ContextualCheckAgainstVerifyString ( CAssetsCache assetCache,
const std::string &  address,
std::string &  strError 
) const

Definition at line 1539 of file assets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsValid()

bool CAssetTransfer::IsValid ( std::string &  strError) const

Definition at line 1503 of file assets.cpp.

Here is the call graph for this function:

◆ SerializationOp()

template<typename Stream , typename Operation >
void CAssetTransfer::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 211 of file assettypes.h.

Here is the call graph for this function:

◆ SetNull()

void CAssetTransfer::SetNull ( )
inline

Definition at line 200 of file assettypes.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CAssetTransfer::ADD_SERIALIZE_METHODS

Definition at line 208 of file assettypes.h.

◆ message

std::string CAssetTransfer::message

Definition at line 192 of file assettypes.h.

◆ nAmount

CAmount CAssetTransfer::nAmount

Definition at line 191 of file assettypes.h.

◆ nExpireTime

int64_t CAssetTransfer::nExpireTime

Definition at line 193 of file assettypes.h.

◆ strName

std::string CAssetTransfer::strName

Definition at line 190 of file assettypes.h.


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