class State : LinearState
<init> |
State(linearId: UniqueIdentifier = UniqueIdentifier(), contract: Contract = DummyLinearContract(), participants: List<PublicKey> = listOf(), nonce: SecureHash = SecureHash.randomSHA256()) |
contract |
val contract: Contract An instance of the contract class that will verify this state. |
linearId |
val linearId: UniqueIdentifier Unique 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>): Boolean True if this should be tracked by our wallet(s). |