class State : LinearState| <init> |
State(linearId: UniqueIdentifier = UniqueIdentifier(), contract: Contract = DummyLinearContract(), participants: List<PublicKey> = listOf(), nonce: SecureHash = SecureHash.randomSHA256()) |
| contract |
val contract: ContractAn instance of the contract class that will verify this state. |
| linearId |
val linearId: UniqueIdentifierUnique id shared by all LinearState states throughout history within the wallets of all parties. Verify methods should check that one input and one output share the id in a transaction, except at issuance/termination. |
| nonce |
val nonce: SecureHash |
| participants |
val participants: List<PublicKey>A |
| isRelevant |
fun isRelevant(ourKeys: Set<PublicKey>): BooleanTrue if this should be tracked by our wallet(s). |