[][src]Trait sunshine_util::traits::CheckVoteStatus

pub trait CheckVoteStatus: ApplyVote {
    fn check_vote_outcome(
        state: Self::State
    ) -> Result<Self::Outcome, DispatchError>;
fn check_vote_expired(state: Self::State) -> bool; }

For the module to check the status of the vote in the context of the existing module instance

Required methods

fn check_vote_outcome(
    state: Self::State
) -> Result<Self::Outcome, DispatchError>

fn check_vote_expired(state: Self::State) -> bool

Loading content...

Implementors

Loading content...