public final class ShufflingCreationAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Constructor and Description |
|---|
ShufflingCreationAttachment(long holdingId,
HoldingType holdingType,
long amount,
byte participantCount,
short registrationPeriod) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAmount() |
long |
getHoldingId() |
HoldingType |
getHoldingType() |
protected int |
getMySize() |
byte |
getParticipantCount() |
short |
getRegistrationPeriod() |
TransactionType |
getTransactionType() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject attachment) |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdgetFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytespublic ShufflingCreationAttachment(long holdingId,
HoldingType holdingType,
long amount,
byte participantCount,
short registrationPeriod)
protected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON in class Appendix.AbstractAppendixpublic TransactionType getTransactionType()
public long getHoldingId()
public HoldingType getHoldingType()
public long getAmount()
public byte getParticipantCount()
public short getRegistrationPeriod()