MultisigCommittee
open class MultisigCommittee : Disposable, AutoCloseable, MultisigCommitteeInterface
A multisig committee
A MultisigCommittee is a set of members who collectively control a single Address on the IOTA blockchain. The number of required signatures to authorize the execution of a transaction is determined by (signature_0_weight + signature_1_weight ..) >= threshold.
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| MultisigCommittee | constructor(members: List<MultisigMember>, threshold: UShort) Construct a MultisigCommittee and verify it via validate. |
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| deriveAddress | open override fun deriveAddress(): Address Derive an Address from this MultisigCommittee. |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| members | open override fun members(): List<MultisigMember> The members of the committee |
| scheme | open override fun scheme(): SignatureScheme Return the flag for this signature scheme |
| threshold | open override fun threshold(): UShort The total signature weight required to authorize a transaction for the address corresponding to this MultisigCommittee. |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
| toString | open override fun toString(): String |
| validate | open override fun validate() Checks if the Committee is valid. |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): MultisigCommittee Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): MultisigCommittee Create this type from a JSON encoded string. |