Skip to main content

delegation_in_force

Function delegation_in_force 

Source
pub fn delegation_in_force(from: u32, until: u32, now: u32) -> bool
Expand description

Is a delegation temporally in-force at now? [from, until] Unix-epoch bounds, where from == 0 means “no start bound” and until == 0 means “open-ended”.