WeightedThresholdParams

data class WeightedThresholdParams(val threshold: Int, val signerWeights: Map<SmartAccountSigner, Int>)

Parameters for weighted threshold policy.

Each signer has a weight, and authorization succeeds when the sum of weights of authenticated signers meets or exceeds the threshold.

Constructors

Link copied to clipboard
constructor(threshold: Int, signerWeights: Map<SmartAccountSigner, Int>)

Properties

Link copied to clipboard

Map of signers to their weights (all >= 1)

Link copied to clipboard

Total weight required for authorization (>= 1)