SimpleThreshold

data class SimpleThreshold(val threshold: UInt) : PolicyInstallParams

Simple threshold policy requiring at least M-of-N signers to authorize.

All signers in the context rule have equal weight (1 vote each). The threshold specifies the minimum number of signers that must approve.

Constructors

Link copied to clipboard
constructor(threshold: UInt)

Properties

Link copied to clipboard

Number of signers required to authorize (must be > 0)

Functions

Link copied to clipboard
open override fun toScVal(): SCValXdr

Converts the simple threshold policy parameters to an ScVal map.