#include <assettypes.h>
Definition at line 97 of file assettypes.h.
◆ CNewAsset() [1/4]
◆ CNewAsset() [2/4]
CNewAsset::CNewAsset |
( |
const std::string & |
strName, |
|
|
const CAmount & |
nAmount, |
|
|
const int & |
units, |
|
|
const int & |
nReissuable, |
|
|
const int & |
nHasIPFS, |
|
|
const std::string & |
strIPFSHash |
|
) |
| |
◆ CNewAsset() [3/4]
CNewAsset::CNewAsset |
( |
const std::string & |
strName, |
|
|
const CAmount & |
nAmount |
|
) |
| |
◆ CNewAsset() [4/4]
CNewAsset::CNewAsset |
( |
const CNewAsset & |
asset | ) |
|
◆ ConstructOwnerTransaction()
void CNewAsset::ConstructOwnerTransaction |
( |
CScript & |
script | ) |
const |
◆ ConstructTransaction()
void CNewAsset::ConstructTransaction |
( |
CScript & |
script | ) |
const |
Constructs a CScript that carries the asset name and quantity and adds to to the end of the given script.
- Parameters
-
dest | - The destination that the asset will belong to |
script | - This script needs to be a pay to address script |
Definition at line 495 of file assets.cpp.
◆ IsNull()
bool CNewAsset::IsNull |
( |
| ) |
const |
◆ operator=()
◆ SerializationOp()
template<typename Stream , typename Operation >
void CNewAsset::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
◆ SetNull()
void CNewAsset::SetNull |
( |
| ) |
|
|
inline |
◆ ToString()
std::string CNewAsset::ToString |
( |
| ) |
|
◆ ADD_SERIALIZE_METHODS
CNewAsset::ADD_SERIALIZE_METHODS |
◆ nAmount
◆ nHasIPFS
int8_t CNewAsset::nHasIPFS |
◆ nReissuable
int8_t CNewAsset::nReissuable |
◆ strIPFSHash
std::string CNewAsset::strIPFSHash |
◆ strName
std::string CNewAsset::strName |
◆ units
The documentation for this class was generated from the following files: