public abstract class MonetarySystemTransactionType<Att extends Attachment.AbstractAttachment> extends ChildTransactionType
| Modifier and Type | Field and Description |
|---|---|
static TransactionType |
CURRENCY_DELETION |
static TransactionType |
CURRENCY_ISSUANCE |
static TransactionType |
CURRENCY_MINTING |
static TransactionType |
CURRENCY_TRANSFER |
static TransactionType |
EXCHANGE_BUY |
static TransactionType |
EXCHANGE_SELL |
static TransactionType |
PUBLISH_EXCHANGE_OFFER |
static TransactionType |
RESERVE_CLAIM |
static TransactionType |
RESERVE_INCREASE |
TYPE_ACCOUNT_CONTROL, TYPE_ACCOUNT_PROPERTY, TYPE_ALIASES, TYPE_ASSET_EXCHANGE, TYPE_CHILD_CHAIN_CONTROL, TYPE_COIN_EXCHANGE, TYPE_DATA, TYPE_DIGITAL_GOODS, TYPE_LIGHT_CONTRACT, TYPE_MESSAGING, TYPE_MONETARY_SYSTEM, TYPE_PAYMENT, TYPE_SHUFFLING, TYPE_VOTING| Modifier and Type | Method and Description |
|---|---|
protected void |
checkLiquid(ChildTransactionImpl transaction) |
static TransactionType |
findTransactionType(byte subtype) |
byte |
getType() |
boolean |
isDuplicate(Transaction transaction,
java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates) |
boolean |
isGlobal() |
void |
validateAttachment(ChildTransactionImpl transaction) |
protected abstract void |
validateAttachment(ChildTransactionImpl transaction,
Att attachment) |
apply, applyAttachment, applyAttachment, applyAttachmentUnconfirmed, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateId, validateIdcanHaveRecipient, getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isPhasable, isPhasingSafe, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toStringpublic static final TransactionType CURRENCY_ISSUANCE
public static final TransactionType RESERVE_INCREASE
public static final TransactionType RESERVE_CLAIM
public static final TransactionType CURRENCY_TRANSFER
public static final TransactionType PUBLISH_EXCHANGE_OFFER
public static final TransactionType EXCHANGE_BUY
public static final TransactionType EXCHANGE_SELL
public static final TransactionType CURRENCY_MINTING
public static final TransactionType CURRENCY_DELETION
public static TransactionType findTransactionType(byte subtype)
public final void validateAttachment(ChildTransactionImpl transaction) throws NxtException.ValidationException
validateAttachment in class ChildTransactionTypeNxtException.ValidationExceptionprotected void checkLiquid(ChildTransactionImpl transaction) throws NxtException.NotCurrentlyValidException
protected abstract void validateAttachment(ChildTransactionImpl transaction, Att attachment) throws NxtException.ValidationException
NxtException.ValidationExceptionpublic final byte getType()
getType in class TransactionTypepublic boolean isDuplicate(Transaction transaction, java.util.Map<TransactionType,java.util.Map<java.lang.String,java.lang.Integer>> duplicates)
isDuplicate in class TransactionTypepublic final boolean isGlobal()
isGlobal in class TransactionType