data class State : OwnableState
<init> |
State(issuance: PartyReference, owner: PublicKey, faceValue: Amount, maturityDate: Instant) |
faceValue |
val faceValue: Amount |
issuance |
val issuance: PartyReference |
maturityDate |
val maturityDate: Instant |
owner |
val owner: PublicKey There must be a MoveCommand signed by this key to claim the amount |
programRef |
val programRef: <ERROR CLASS> Refers to a bytecode program that has previously been published to the network. This contract program will be executed any time this state is used in an input. It must accept in order for the transaction to proceed. |
toString |
fun toString(): String |
withFaceValue |
fun withFaceValue(newFaceValue: Amount): <ERROR CLASS> |
withIssuance |
fun withIssuance(newIssuance: PartyReference): <ERROR CLASS> |
withMaturityDate |
fun withMaturityDate(newMaturityDate: Instant): <ERROR CLASS> |
withNewOwner |
fun withNewOwner(newOwner: PublicKey): <ERROR CLASS> Copies the underlying data structure, replacing the owner field with this new value and leaving the rest alone |
withOwner |
fun withOwner(newOwner: PublicKey): <ERROR CLASS> |
withoutOwner |
fun withoutOwner(): State |