Skip to main content

threshold_authorized

Function threshold_authorized 

Source
pub fn threshold_authorized(approvals: usize, m: usize) -> bool
Expand description

A multi-stakeholder governance decision is authorized iff at least m stakeholders approved (an M-of-N threshold; approvals is the count of approving stakeholders). m == 0 is never authorized (a decision needs at least one approver).