Type Alias PolymeshCommitteeEvent

Source
pub type PolymeshCommitteeEvent = UpgradeCommitteeEvent<H256, u32, Instance1>;

Aliased Type§

enum PolymeshCommitteeEvent {
    Proposed(IdentityId, u32, H256),
    Voted(IdentityId, u32, H256, bool, u32, u32, u32),
    VoteRetracted(IdentityId, u32, H256, bool),
    FinalVotes(Option<IdentityId>, u32, H256, Vec<IdentityId>, Vec<IdentityId>),
    Approved(Option<IdentityId>, H256, u32, u32, u32),
    Rejected(Option<IdentityId>, H256, u32, u32, u32),
    Executed(Option<IdentityId>, H256, Result<(), DispatchError>),
    ReleaseCoordinatorUpdated(Option<IdentityId>),
    ExpiresAfterUpdated(IdentityId, MaybeBlock<u32>),
    VoteThresholdUpdated(IdentityId, u32, u32),
    PhantomDataVariant(PhantomData<Instance1>),
}

Variants§

§

Proposed(IdentityId, u32, H256)

A motion (given hash) has been proposed (by given account) with a threshold (given MemberCount). Parameters: caller DID, proposal index, proposal hash.

§

Voted(IdentityId, u32, H256, bool, u32, u32, u32)

A motion (given hash) has been voted on by given account, leaving a tally (yes votes, no votes and total seats given respectively as MemberCount). caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.

§

VoteRetracted(IdentityId, u32, H256, bool)

A vote on a motion (given hash) has been retracted. caller DID, ProposalIndex, Proposal hash, vote that was retracted

§

FinalVotes(Option<IdentityId>, u32, H256, Vec<IdentityId>, Vec<IdentityId>)

Final votes on a motion (given hash) caller DID, ProposalIndex, Proposal hash, yes voters, no voter

§

Approved(Option<IdentityId>, H256, u32, u32, u32)

A motion was approved by the required threshold with the following tally (yes votes, no votes and total seats given respectively as MemberCount). Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.

§

Rejected(Option<IdentityId>, H256, u32, u32, u32)

A motion was rejected by the required threshold with the following tally (yes votes, no votes and total seats given respectively as MemberCount). Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.

§

Executed(Option<IdentityId>, H256, Result<(), DispatchError>)

A motion was executed; DispatchResult is Ok(()) if returned without error. Parameters: caller DID, proposal hash, result of proposal dispatch.

§

ReleaseCoordinatorUpdated(Option<IdentityId>)

Release coordinator has been updated. Parameters: DID of the release coordinator.

§

ExpiresAfterUpdated(IdentityId, MaybeBlock<u32>)

Proposal expiry time has been updated. Parameters: caller DID, new expiry time (if any).

§

VoteThresholdUpdated(IdentityId, u32, u32)

Voting threshold has been updated Parameters: caller DID, numerator, denominator

§

PhantomDataVariant(PhantomData<Instance1>)