Package nxt.ae
Class AssetExchangeTransactionType<Att extends Attachment>
java.lang.Object
nxt.blockchain.TransactionType
nxt.blockchain.ChildTransactionType
nxt.ae.AssetExchangeTransactionType<Att>
public abstract class AssetExchangeTransactionType<Att extends Attachment>
extends ChildTransactionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypestatic final TransactionTypeFields inherited from class nxt.blockchain.ChildTransactionType
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckLiquid(ChildTransaction transaction) static TransactionTypefindTransactionType(byte subtype) abstract longgetAssetId(ChildTransaction transaction) final bytegetType()protected final voidvalidateAttachment(ChildTransactionImpl transaction) protected abstract voidvalidateAttachment(ChildTransactionImpl transaction, Att attachment) Methods inherited from class nxt.blockchain.ChildTransactionType
apply, applyAttachment, applyAttachment, applyAttachmentUnconfirmed, applyAttachmentUnconfirmed, applyUnconfirmed, findTransactionType, getBaselineFee, getInvolvedChildChains, getInvolvedChildChains, undoAttachmentUnconfirmed, undoAttachmentUnconfirmed, undoUnconfirmed, validateAttachment, validateId, validateIdMethods inherited from class nxt.blockchain.TransactionType
canHaveRecipient, getBaselineFeeHeight, getLedgerEvent, getName, getNextFee, getNextFeeHeight, getSubtype, isBlockDuplicate, isDuplicate, isDuplicate, isDuplicate, isGlobal, isPhasable, isPhasingSafe, isPruned, isUnconfirmedDuplicate, mustHaveRecipient, parseAttachment, parseAttachment, toString
-
Field Details
-
ASSET_ISSUANCE
-
ASSET_TRANSFER
-
ASSET_DELETE
-
ASSET_INCREASE
-
ASK_ORDER_PLACEMENT
-
BID_ORDER_PLACEMENT
-
ASK_ORDER_CANCELLATION
-
BID_ORDER_CANCELLATION
-
DIVIDEND_PAYMENT
-
SET_PHASING_CONTROL
-
ASSET_PROPERTY_SET
-
ASSET_PROPERTY_DELETE
-
SET_ASSET_TRADE_ROYALTIES
-
-
Method Details
-
findTransactionType
-
getType
public final byte getType()- Specified by:
getTypein classTransactionType
-
getAssetId
-
validateAttachment
protected final void validateAttachment(ChildTransactionImpl transaction) throws NxtException.ValidationException - Specified by:
validateAttachmentin classChildTransactionType- Throws:
NxtException.ValidationException
-
checkLiquid
protected void checkLiquid(ChildTransaction transaction) throws NxtException.NotCurrentlyValidException -
validateAttachment
protected abstract void validateAttachment(ChildTransactionImpl transaction, Att attachment) throws NxtException.ValidationException - Throws:
NxtException.ValidationException
-