referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_referenda::migration::v0::ReferendumInfoOf

source ·
pub type ReferendumInfoOf<T, I> = ReferendumInfo<TrackIdOf<T, I>, PalletsOriginOf<T>, BlockNumberFor<T>, BoundedCallOf<T, I>, BalanceOf<T, I>, TallyOf<T, I>, <T as Config>::AccountId, ScheduleAddressOf<T, I>>;

Aliased Type§

enum ReferendumInfoOf<T, I> {
    Ongoing(ReferendumStatus<<<T as Config<I>>::Tracks as TracksInfo<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>>::Id, <<T as Config>::RuntimeOrigin as OriginTrait>::PalletsOrigin, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Bounded<<T as Config<I>>::RuntimeCall, <T as Config>::Hashing>, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config<I>>::Tally, <T as Config>::AccountId, <<T as Config<I>>::Scheduler as Anon<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::RuntimeCall, <<T as Config>::RuntimeOrigin as OriginTrait>::PalletsOrigin>>::Address>),
    Approved(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>),
    Rejected(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>),
    Cancelled(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>),
    TimedOut(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>),
    Killed(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number),
}

Variants§

§

Ongoing(ReferendumStatus<<<T as Config<I>>::Tracks as TracksInfo<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>>::Id, <<T as Config>::RuntimeOrigin as OriginTrait>::PalletsOrigin, <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Bounded<<T as Config<I>>::RuntimeCall, <T as Config>::Hashing>, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config<I>>::Tally, <T as Config>::AccountId, <<T as Config<I>>::Scheduler as Anon<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, <T as Config<I>>::RuntimeCall, <<T as Config>::RuntimeOrigin as OriginTrait>::PalletsOrigin>>::Address>)

Referendum has been submitted and is being voted on.

§

Approved(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>)

Referendum finished with approval. Submission deposit is held.

§

Rejected(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>)

Referendum finished with rejection. Submission deposit is held.

§

Cancelled(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>)

Referendum finished with cancellation. Submission deposit is held.

§

TimedOut(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, Option<Deposit<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>>)

Referendum finished and was never decided. Submission deposit is held.

§

Killed(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number)

Referendum finished with a kill.