pub fn process(&mut self, timestamp_millis: u64) -> bool {
        // Put timestamp-sensitive processing logic in here
        let staked_amount = self.staked_amount;
        let vesting_schedule = match self.vesting_schedule_mut() {
            Some(vesting_schedule) => vesting_schedule,
            None => return false,
        };
        if timestamp_millis < vesting_schedule.initial_release_timestamp_millis() {
            return false;
        }

        let mut initialized = false;

        if vesting_schedule.initialize(staked_amount) {
            initialized = true;
        }

        for delegator in self.delegators_mut().values_mut() {
            let staked_amount = *delegator.staked_amount();
            if let Some(vesting_schedule) = delegator.vesting_schedule_mut() {
                if timestamp_millis >= vesting_schedule.initial_release_timestamp_millis()
                    && vesting_schedule.initialize(staked_amount)
                {
                    initialized = true;
                }
            }
        }

        initialized
    }
/// Initializes the vesting schedule of provided bid if the provided timestamp is greater than
/// or equal to the bid's initial release timestamp and the bid is owned by a genesis
/// validator.
///
/// Returns `true` if the provided bid's vesting schedule was initialized.
Initializes the vesting schedule of provided bid if the provided timestamp is greater than
or equal to the bid's initial release timestamp and the bid is owned by a genesis
validator.

Returns `true` if the provided bid's vesting schedule was initialized.
Initializes the vesting schedule of provided bid if the provided timestamp is greater than or equal to the bid ' s initial release timestamp and the bid is owned by a genesis validator . Returns ` true ` if the provided bid ' s vesting schedule was initialized .
pub fn process(&mut self, timestamp_millis: u64) -> bool {
        // Put timestamp-sensitive processing logic in here
        let staked_amount = self.staked_amount;
        let vesting_schedule = match self.vesting_schedule_mut() {
            Some(vesting_schedule) => vesting_schedule,
            None => return false,
        };
        if timestamp_millis < vesting_schedule.initial_release_timestamp_millis() {
            return false;
        }
        let mut initialized = false;
        if vesting_schedule.initialize(staked_amount) {
            initialized = true;
        }
        for delegator in self.delegators_mut().values_mut() {
            let staked_amount = *delegator.staked_amount();
            if let Some(vesting_schedule) = delegator.vesting_schedule_mut() {
                if timestamp_millis >= vesting_schedule.initial_release_timestamp_millis()
                    && vesting_schedule.initialize(staked_amount)
                {
                    initialized = true;
                }
            }
        }
        initialized
    }
pub fn process ( & mut self , timestamp_millis : u64 ) -> bool { // Put timestamp-sensitive processing logic in here let staked_amount = self . staked_amount ; let vesting_schedule = match self . vesting_schedule_mut ( ) { Some ( vesting_schedule ) => vesting_schedule , None => return false , } ; if timestamp_millis < vesting_schedule . initial_release_timestamp_millis ( ) { return false ; } let mut initialized = false ; if vesting_schedule . initialize ( staked_amount ) { initialized = true ; } for delegator in self . delegators_mut ( ) . values_mut ( ) { let staked_amount = * delegator . staked_amount ( ) ; if let Some ( vesting_schedule ) = delegator . vesting_schedule_mut ( ) { if timestamp_millis >= vesting_schedule . initial_release_timestamp_millis ( ) && vesting_schedule . initialize ( staked_amount ) { initialized = true ; } } } initialized }
Initializes the vesting schedule of provided bid if the provided timestamp is greater than
or equal to the bid's initial release timestamp and the bid is owned by a genesis
validator.
Initializes the vesting schedule of provided bid if the provided timestamp is greater than or equal to the bid ' s initial release timestamp and the bid is owned by a genesis validator .
&mut self
timestamp_millis
u64
&mut self
timestamp_millis
u64