sigil-state · dao_validators::labor_release
Source declarations, signatures and documentation for dao_validators::labor_release.
Source: sigil/node/sigil-state/src/dao_validators/labor_release.rs. SHA-256: 885174b891c6cb24467c392c31829e431d7361ecc83c789756a1d618120b4d17.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
Module condition:
#[cfg(any(feature = "dao-validators", test))]dao_validators::labor_release::validate_labor_contract_release
Validate a milestone payment release.
Returns the [MandateClearance] for the spend the caller MUST then
atomically apply (decrement the mandate's remaining budget AND mark
the milestone Paid).
#[cfg(any(feature = "dao-validators", test))]
pub fn validate_labor_contract_release(
snapshot: &GalSnapshot,
contract: &LaborContract,
milestone_index: u32,
mandate: &Mandate,
spend: &SpendRequest<'_>,
) -> Result<MandateClearance, DaoValidatorError>;Source line: 36.