[][src]Trait sunshine_util::traits::ScheduleVoteSequence

pub trait ScheduleVoteSequence: VoteScheduleBuilder {
    fn schedule_default_vote_schedule_for_proposal_type(
        organization: u32,
        proposal_index: u32,
        proposal_type: Self::ProposalType,
        custom_share_ids: Option<Vec<u32>>
    ) -> Result<u32, DispatchError>; }

Default uses the default vote schedule configured in VoteBuilder to dispatch a VoteSchedule

  • if custom_share_ids.is_some() then this is used as the share approval order instead of the default share approval order

Required methods

fn schedule_default_vote_schedule_for_proposal_type(
    organization: u32,
    proposal_index: u32,
    proposal_type: Self::ProposalType,
    custom_share_ids: Option<Vec<u32>>
) -> Result<u32, DispatchError>

Loading content...

Implementors

Loading content...