Type Alias collectives_westend_runtime::ambassador::DemoteOrigin
source · pub type DemoteOrigin = EitherOf<EnsureRootWithSuccess<AccountId, ConstU16<65535>>, EitherOf<MapSuccess<EnsureXcm<IsVoiceOfBody<GovernanceLocation, FellowshipAdminBodyId>>, Replace<ConstU16<{ ranks::MASTER_AMBASSADOR_TIER_9 }>>>, TryMapSuccess<EnsureAmbassadorsVoiceFrom<ConstU16<{ ranks::SENIOR_AMBASSADOR_TIER_3 }>>, CheckedReduceBy<ConstU16<2>>>>>;
Expand description
Demotion is by any of:
- Root can demote arbitrarily.
- the FellowshipAdmin origin (i.e. token holder referendum);
- a senior members vote by the rank two above the current rank.
Aliased Type§
struct DemoteOrigin(/* private fields */);