Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

assert_smartwage_employment_duration

Maps smartWage employment timeline fields to the generic duration+gap assertion.

Fully qualified path: smart_identity_proofs::adapters::assert_smartwage_employment_duration

pub fn assert_smartwage_employment_duration(
    active: bool,
    activated_at: u64,
    last_paid: u64,
    pay_frequency: u64,
    current_time: u64,
    min_duration_seconds: u64,
    max_gap_seconds: u64,
)