pub type Event = Event;

Aliased Type§

enum Event {
    Proposed {
        account: AccountId32,
        proposal_index: u32,
        proposal_hash: H256,
        threshold: u32,
    },
    Voted {
        account: AccountId32,
        proposal_hash: H256,
        voted: bool,
        yes: u32,
        no: u32,
    },
    Approved {
        proposal_hash: H256,
    },
    Disapproved {
        proposal_hash: H256,
    },
    Executed {
        proposal_hash: H256,
        result: Result<(), DispatchError>,
    },
    MemberExecuted {
        proposal_hash: H256,
        result: Result<(), DispatchError>,
    },
    Closed {
        proposal_hash: H256,
        yes: u32,
        no: u32,
    },
}

Variants§

§

Proposed

Fields

§account: AccountId32
§proposal_index: u32
§proposal_hash: H256
§threshold: u32
§

Voted

Fields

§account: AccountId32
§proposal_hash: H256
§voted: bool
§yes: u32
§no: u32
§

Approved

Fields

§proposal_hash: H256
§

Disapproved

Fields

§proposal_hash: H256
§

Executed

Fields

§proposal_hash: H256
§

MemberExecuted

Fields

§proposal_hash: H256
§

Closed

Fields

§proposal_hash: H256
§yes: u32
§no: u32