public static class Commands.Move implements Commands.Move, Cash.Commands
A command stating that money has been moved, optionally to fulfil another contract.
Commands.Exit, Commands.Issue, Commands.Move
Constructor and Description |
---|
Move(SecureHash contractHash)
A command stating that money has been moved, optionally to fulfil another contract.
|
Move()
A command stating that money has been moved, optionally to fulfil another contract.
|
Modifier and Type | Method and Description |
---|---|
SecureHash |
component1()
Contract code the moved state
|
Commands.Move |
copy(SecureHash contractHash)
A command stating that money has been moved, optionally to fulfil another contract.
|
boolean |
equals(java.lang.Object p) |
SecureHash |
getContractHash()
Contract code the moved state
|
int |
hashCode() |
java.lang.String |
toString() |
getContractHash
public Move(SecureHash contractHash)
A command stating that money has been moved, optionally to fulfil another contract.
contractHash
- Contract code the moved state(s)are for the attention of,for example to indicate that the states are moved inorder to settle an obligation contract's state object(s).contractHash
- the contract this move is for the attention of. Only that contract's verify function
should take the moved states into account when considering whether it is valid. Typically this will be
null.public Move()
A command stating that money has been moved, optionally to fulfil another contract.
public SecureHash getContractHash()
Contract code the moved state
(s)are for the attention of,for example to indicate that the states are moved inorder to settle an obligation contract's state object(s).
public SecureHash component1()
Contract code the moved state
(s)are for the attention of,for example to indicate that the states are moved inorder to settle an obligation contract's state object(s).
public Commands.Move copy(SecureHash contractHash)
A command stating that money has been moved, optionally to fulfil another contract.
contractHash
- the contract this move is for the attention of. Only that contract's verify function
should take the moved states into account when considering whether it is valid. Typically this will be
null.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)