[][src]Trait sunshine_util::traits::PollActiveProposal

pub trait PollActiveProposal: ScheduleVoteSequence {
    type PollingOutcome;
    fn poll_active_proposal(
        organization: u32,
        proposal_index: u32
    ) -> Result<Self::PollingOutcome, DispatchError>; }

Checks the progress of a scheduled vote sequence and pushes the schedule along

  • this should be called every T::PollingFrequency::get() number of blocks in on_finalize

Associated Types

Loading content...

Required methods

fn poll_active_proposal(
    organization: u32,
    proposal_index: u32
) -> Result<Self::PollingOutcome, DispatchError>

Loading content...

Implementors

Loading content...