[][src]Trait sunshine_bounty_client::Vote

pub trait Vote: System + Org {
    type VoteId: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug;
    type Signal: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + Zero;
}

The subset of the vote::Trait that a client must implement.

Associated Types

type VoteId: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug

The identifier for each vote; ProposalId => Vec s.t. sum(VoteId::Outcomes) => ProposalId::Outcome

type Signal: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + Zero

The native type for vote strength

Loading content...

Implementors

impl Vote for Runtime[src]

type VoteId = u64

type Signal = u64

Loading content...