#include <string>
#include <sstream>
#include <list>
#include <unordered_map>
#include "amount.h"
#include "script/standard.h"
#include "primitives/transaction.h"
Go to the source code of this file.
|
enum | AssetType {
AssetType::ROOT = 0,
AssetType::SUB = 1,
AssetType::UNIQUE = 2,
AssetType::OWNER = 3,
AssetType::MSGCHANNEL = 4,
AssetType::VOTE = 5,
AssetType::REISSUE = 6,
AssetType::QUALIFIER = 7,
AssetType::SUB_QUALIFIER = 8,
AssetType::RESTRICTED = 9,
AssetType::NULL_ADD_QUALIFIER = 10,
AssetType::INVALID = 11
} |
|
enum | QualifierType { QualifierType::REMOVE_QUALIFIER = 0,
QualifierType::ADD_QUALIFIER = 1
} |
|
enum | RestrictedType { RestrictedType::UNFREEZE_ADDRESS = 0,
RestrictedType::FREEZE_ADDRESS = 1,
RestrictedType::GLOBAL_UNFREEZE = 2,
RestrictedType::GLOBAL_FREEZE = 3
} |
|
◆ MAX_UNIT
◆ MIN_UNIT
◆ AssetType
Enumerator |
---|
ROOT | |
SUB | |
UNIQUE | |
OWNER | |
MSGCHANNEL | |
VOTE | |
REISSUE | |
QUALIFIER | |
SUB_QUALIFIER | |
RESTRICTED | |
NULL_ADD_QUALIFIER | |
INVALID | |
Definition at line 21 of file assettypes.h.
◆ QualifierType
Enumerator |
---|
REMOVE_QUALIFIER | |
ADD_QUALIFIER | |
Definition at line 37 of file assettypes.h.
◆ RestrictedType
Enumerator |
---|
UNFREEZE_ADDRESS | |
FREEZE_ADDRESS | |
GLOBAL_UNFREEZE | |
GLOBAL_FREEZE | |
Definition at line 43 of file assettypes.h.
◆ AssetTypeFromInt()
◆ IntFromAssetType()
◆ ReadWriteAssetHash()
template<typename Stream , typename Operation >
bool ReadWriteAssetHash |
( |
Stream & |
s, |
|
|
Operation |
ser_action, |
|
|
std::string & |
strIPFSHash |
|
) |
| |
◆ IPFS_SHA2_256
const char IPFS_SHA2_256 = 0x12 |
◆ IPFS_SHA2_256_LEN
const char IPFS_SHA2_256_LEN = 0x20 |
◆ TXID_NOTIFIER
const char TXID_NOTIFIER = 0x54 |