Skip to main content

all_granted

Function all_granted 

Source
pub fn all_granted(a: &Agreement) -> bool
Expand description

Is every party consented?

True iff a.parties is non-empty AND every party DID has a PartyConsent whose consent is ConsentState::Granted. An agreement with no parties is never “all granted”.