[−][src]Trait sunshine_util::traits::OpenShareGroupVote
Open a new vote for the organization, share_id and a custom threshold requirement
Associated Types
type ThresholdConfig: DeriveThresholdRequirement<Self::Signal> + ConsistentThresholdStructure + From<ThresholdConfig<Self::Signal, FineArithmetic>> + From<ThresholdConfigBuilder<FineArithmetic>>
type VoteType: Default + From<SupportedVoteTypes>
Required methods
fn open_share_group_vote(
organization: u32,
share_id: u32,
vote_type: Self::VoteType,
threshold_config: Self::ThresholdConfig,
duration: Option<BlockNumber>
) -> Result<Self::VoteId, DispatchError>
organization: u32,
share_id: u32,
vote_type: Self::VoteType,
threshold_config: Self::ThresholdConfig,
duration: Option<BlockNumber>
) -> Result<Self::VoteId, DispatchError>