pub fn query_unbond_handler_expiration_time(storage: &dyn Storage) -> VaultResult<u64> {
    let expiration_time = UNBOND_HANDLER_EXPIRATION_TIME.may_load(storage)?;

    if let Some(expiration_time) = expiration_time {
        Ok(expiration_time)
    } else {
        Ok(DEFAULT_UNBOND_EXPIRATION_TIME)
    }
}
/// Queries the unbond handler expiration time if set, returns the default value otherwise
Queries the unbond handler expiration time if set, returns the default value otherwise
Queries the unbond handler expiration time if set returns the default value otherwise
pub fn query_unbond_handler_expiration_time(storage: &dyn Storage) -> VaultResult<u64> {
    let expiration_time = UNBOND_HANDLER_EXPIRATION_TIME.may_load(storage)?;
    if let Some(expiration_time) = expiration_time {
        Ok(expiration_time)
    } else {
        Ok(DEFAULT_UNBOND_EXPIRATION_TIME)
    }
}
pub fn query_unbond_handler_expiration_time ( storage : & dyn Storage ) -> VaultResult < u64 > { let expiration_time = UNBOND_HANDLER_EXPIRATION_TIME . may_load ( storage ) ? ; if let Some ( expiration_time ) = expiration_time { Ok ( expiration_time ) } else { Ok ( DEFAULT_UNBOND_EXPIRATION_TIME ) } }
Queries the unbond handler expiration time if set, returns the default value otherwise
Queries the unbond handler expiration time if set returns the default value otherwise
storage
&dyn Storage
storage
&dyn Storage