[][src]Trait sunshine_util::traits::RequestChanges

pub trait RequestChanges<AccountId, Hash>: SignPetition<AccountId, Hash> {
    fn request_changes(
        organization: u32,
        share_id: u32,
        petition_id: u32,
        signer: AccountId,
        justification: Hash
    ) -> Result<Option<Self::Outcome>, DispatchError>;
fn accept_changes(
        organization: u32,
        share_id: u32,
        petition_id: u32,
        signer: AccountId
    ) -> Result<Option<Self::Outcome>, DispatchError>; }

Required methods

fn request_changes(
    organization: u32,
    share_id: u32,
    petition_id: u32,
    signer: AccountId,
    justification: Hash
) -> Result<Option<Self::Outcome>, DispatchError>

fn accept_changes(
    organization: u32,
    share_id: u32,
    petition_id: u32,
    signer: AccountId
) -> Result<Option<Self::Outcome>, DispatchError>

Loading content...

Implementors

Loading content...