public final class ContractReferenceAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Modifier and Type | Field and Description |
|---|---|
static StringRw |
NAME_RW |
static StringRw |
PARAMS_RW |
| Constructor and Description |
|---|
ContractReferenceAttachment(java.lang.String contractName,
java.lang.String contractParams,
ChainTransactionId contractId) |
| Modifier and Type | Method and Description |
|---|---|
ChainTransactionId |
getContractId() |
java.lang.String |
getContractName() |
java.lang.String |
getContractParams() |
protected int |
getMySize() |
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 static final StringRw NAME_RW
public static final StringRw PARAMS_RW
public ContractReferenceAttachment(java.lang.String contractName,
java.lang.String contractParams,
ChainTransactionId contractId)
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 java.lang.String getContractName()
public java.lang.String getContractParams()
public ChainTransactionId getContractId()