public class SetPhasingAssetControlAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable
Constructor and Description |
---|
SetPhasingAssetControlAttachment(long assetId,
PhasingParams phasingParams) |
SetPhasingAssetControlAttachment(long assetId,
java.util.Set<AssetControlTxTypesEnum> transactionTypes,
PhasingParams phasingParams) |
Modifier and Type | Method and Description |
---|---|
long |
getAssetId() |
protected int |
getMySize() |
PhasingParams |
getPhasingParams() |
TransactionType |
getTransactionType() |
java.util.Set<AssetControlTxTypesEnum> |
getTransactionTypes() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject json) |
boolean |
verifyVersion() |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateId
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytes
public SetPhasingAssetControlAttachment(long assetId, PhasingParams phasingParams)
public SetPhasingAssetControlAttachment(long assetId, java.util.Set<AssetControlTxTypesEnum> transactionTypes, PhasingParams phasingParams)
protected int getMySize()
getMySize
in class Appendix.AbstractAppendix
protected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes
in class Appendix.AbstractAppendix
protected void putMyJSON(org.json.simple.JSONObject json)
putMyJSON
in class Appendix.AbstractAppendix
public boolean verifyVersion()
verifyVersion
in class Appendix.AbstractAppendix
public TransactionType getTransactionType()
public long getAssetId()
public java.util.Set<AssetControlTxTypesEnum> getTransactionTypes()
public PhasingParams getPhasingParams()