Skip to main content

set_cooldown

Function set_cooldown 

Source
pub fn set_cooldown(
    state: &mut Value,
    vault_key: &str,
    pool: &str,
    ck: &str,
    until_ts: Option<i64>,
)
Expand description

Put a member on cooldown until until_ts, or clear its cooldown with None.