[−][src]Trait sunshine_util::traits::SignPetition
Associated Types
type Petition: Approved + Rejected + UpdatePetitionTerms<Hash> + Apply<Self::SignerView>
type SignerView
Required methods
fn check_petition_outcome(
petition: Self::Petition
) -> Result<Self::Outcome, DispatchError>
petition: Self::Petition
) -> Result<Self::Outcome, DispatchError>
fn sign_petition(
petition_id: Self::VoteId,
signer: AccountId,
view: Self::SignerView
) -> Result<Self::Outcome, DispatchError>
petition_id: Self::VoteId,
signer: AccountId,
view: Self::SignerView
) -> Result<Self::Outcome, DispatchError>