[][src]Trait sunshine_util::traits::SetDefaultShareIdThreshold

pub trait SetDefaultShareIdThreshold: SetDefaultShareApprovalOrder {
    type ThresholdConfig;
    fn set_share_id_proposal_type_to_threshold(
        organization: u32,
        share_id: u32,
        proposal_type: Self::ProposalType,
        threshold: Self::ThresholdConfig
    ) -> DispatchResult; }

Set the default passage, turnout thresholds for each share group

  • the second first step to set up a default vote schedule for a proposal type

Associated Types

Loading content...

Required methods

fn set_share_id_proposal_type_to_threshold(
    organization: u32,
    share_id: u32,
    proposal_type: Self::ProposalType,
    threshold: Self::ThresholdConfig
) -> DispatchResult

Loading content...

Implementors

Loading content...