Type Alias pallet_society::pallet::RawEvent

source ·
pub type RawEvent<T, I = ()> = Event<T, I>;
👎Deprecated: use Event instead
Expand description

Old name generated by decl_event.

Aliased Type§

enum RawEvent<T, I = ()> {
Show 17 variants Founded { founder: <T as Config>::AccountId, }, Bid { candidate_id: <T as Config>::AccountId, offer: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, }, Vouch { candidate_id: <T as Config>::AccountId, offer: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, vouching: <T as Config>::AccountId, }, AutoUnbid { candidate: <T as Config>::AccountId, }, Unbid { candidate: <T as Config>::AccountId, }, Unvouch { candidate: <T as Config>::AccountId, }, Inducted { primary: <T as Config>::AccountId, candidates: Vec<<T as Config>::AccountId>, }, SuspendedMemberJudgement { who: <T as Config>::AccountId, judged: bool, }, CandidateSuspended { candidate: <T as Config>::AccountId, }, MemberSuspended { member: <T as Config>::AccountId, }, Challenged { member: <T as Config>::AccountId, }, Vote { candidate: <T as Config>::AccountId, voter: <T as Config>::AccountId, vote: bool, }, DefenderVote { voter: <T as Config>::AccountId, vote: bool, }, NewParams { params: GroupParams<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, }, Unfounded { founder: <T as Config>::AccountId, }, Deposit { value: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, }, Elevated { member: <T as Config>::AccountId, rank: u32, }, // some variants omitted
}

Variants§

§

Founded

Fields

§founder: <T as Config>::AccountId

The society is founded by the given identity.

§

Bid

Fields

§candidate_id: <T as Config>::AccountId
§offer: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

A membership bid just happened. The given account is the candidate’s ID and their offer is the second.

§

Vouch

Fields

§candidate_id: <T as Config>::AccountId
§offer: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance
§vouching: <T as Config>::AccountId

A membership bid just happened by vouching. The given account is the candidate’s ID and their offer is the second. The vouching party is the third.

§

AutoUnbid

Fields

§candidate: <T as Config>::AccountId

A candidate was dropped (due to an excess of bids in the system).

§

Unbid

Fields

§candidate: <T as Config>::AccountId

A candidate was dropped (by their request).

§

Unvouch

Fields

§candidate: <T as Config>::AccountId

A candidate was dropped (by request of who vouched for them).

§

Inducted

Fields

§primary: <T as Config>::AccountId
§candidates: Vec<<T as Config>::AccountId>

A group of candidates have been inducted. The batch’s primary is the first value, the batch in full is the second.

§

SuspendedMemberJudgement

Fields

§who: <T as Config>::AccountId
§judged: bool

A suspended member has been judged.

§

CandidateSuspended

Fields

§candidate: <T as Config>::AccountId

A candidate has been suspended

§

MemberSuspended

Fields

§member: <T as Config>::AccountId

A member has been suspended

§

Challenged

Fields

§member: <T as Config>::AccountId

A member has been challenged

§

Vote

Fields

§candidate: <T as Config>::AccountId
§voter: <T as Config>::AccountId
§vote: bool

A vote has been placed

§

DefenderVote

Fields

§voter: <T as Config>::AccountId
§vote: bool

A vote has been placed for a defending member

§

NewParams

Fields

§params: GroupParams<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>

A new set of [params] has been set for the group.

§

Unfounded

Fields

§founder: <T as Config>::AccountId

Society is unfounded.

§

Deposit

Fields

§value: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance

Some funds were deposited into the society account.

§

Elevated

Fields

§member: <T as Config>::AccountId
§rank: u32

A [member] got elevated to [rank].