pub fn create_make_proposal_payload(
    proposal: Proposal,
    proposer_neuron_id: &NeuronId,
) -> ManageNeuron {
    ManageNeuron {
        id: Some((*proposer_neuron_id).into()),
        neuron_id_or_subaccount: None,
        command: Some(Command::MakeProposal(Box::new(proposal))),
    }
}
/// Wraps the given proposal into a MakeProposal command, and wraps the command
/// into a payload to call `manage_neuron`.
Wraps the given proposal into a MakeProposal command, and wraps the command
into a payload to call `manage_neuron`.
Wraps the given proposal into a MakeProposal command and wraps the command into a payload to call ` manage_neuron ` .
pub fn create_make_proposal_payload(
    proposal: Proposal,
    proposer_neuron_id: &NeuronId,
) -> ManageNeuron {
    ManageNeuron {
        id: Some((*proposer_neuron_id).into()),
        neuron_id_or_subaccount: None,
        command: Some(Command::MakeProposal(Box::new(proposal))),
    }
}
pub fn create_make_proposal_payload ( proposal : Proposal , proposer_neuron_id : & NeuronId , ) -> ManageNeuron { ManageNeuron { id : Some ( ( * proposer_neuron_id ) . into ( ) ) , neuron_id_or_subaccount : None , command : Some ( Command :: MakeProposal ( Box :: new ( proposal ) ) ) , } }
Wraps the given proposal into a MakeProposal command, and wraps the command
into a payload to call `manage_neuron`.
Wraps the given proposal into a MakeProposal command and wraps the command into a payload to call ` manage_neuron ` .
proposal
Proposal
proposer_neuron_id
&NeuronId
proposal
Proposal
proposer_neuron_id
&NeuronId