/// Return a list of neurons that contain the stakes given in `stakes` and
/// dissolve at monotonically increasing months.
///
/// The first neuron's dissolve delay will be set to 0, the following neurons
/// will dissolve at a random time in the month after the previous neuron.
Return a list of neurons that contain the stakes given in `stakes` and
dissolve at monotonically increasing months.

The first neuron's dissolve delay will be set to 0, the following neurons
will dissolve at a random time in the month after the previous neuron.
Return a list of neurons that contain the stakes given in ` stakes ` and dissolve at monotonically increasing months . The first neuron ' s dissolve delay will be set to 0 the following neurons will dissolve at a random time in the month after the previous neuron .
fn make_neurons(
    address: &str,
    investor_type: &str,
    stakes: Vec<u64>,
    rng: &mut StdRng,
    aging_since_timestamp_seconds: u64,
) -> Vec<Neuron> {
    stakes
        .into_iter()
        .enumerate()
        .map(|(month_i, stake_e8s)| {
            let random_offset_within_one_month_seconds = rng.next_u64() % ONE_MONTH_SECONDS;
            let dissolve_delay_seconds = if month_i == 0 {
                0
            } else {
                ((month_i as u64) * ONE_MONTH_SECONDS) + random_offset_within_one_month_seconds
            };
            make_neuron(
                address,
                investor_type,
                stake_e8s,
                dissolve_delay_seconds,
                aging_since_timestamp_seconds,
            )
        })
        .collect()
}
fn make_neurons ( address : & str , investor_type : & str , stakes : Vec < u64 > , rng : & mut StdRng , aging_since_timestamp_seconds : u64 , ) -> Vec < Neuron > { stakes . into_iter ( ) . enumerate ( ) . map ( | ( month_i , stake_e8s ) | { let random_offset_within_one_month_seconds = rng . next_u64 ( ) % ONE_MONTH_SECONDS ; let dissolve_delay_seconds = if month_i == 0 { 0 } else { ( ( month_i as u64 ) * ONE_MONTH_SECONDS ) + random_offset_within_one_month_seconds } ; make_neuron ( address , investor_type , stake_e8s , dissolve_delay_seconds , aging_since_timestamp_seconds , ) } ) . collect ( ) }
Return a list of neurons that contain the stakes given in `stakes` and
dissolve at monotonically increasing months.
Return a list of neurons that contain the stakes given in ` stakes ` and dissolve at monotonically increasing months .
address
&str
investor_type
&str
stakes
Vec<u64>
rng
&mut StdRng
aging_since_timestamp_seconds
u64