|
@@ -26,6 +26,7 @@ pub type ProposalDetailsOf<T> = ProposalDetails<
|
|
working_group::ApplicationId<T>,
|
|
working_group::ApplicationId<T>,
|
|
crate::BalanceOf<T>,
|
|
crate::BalanceOf<T>,
|
|
working_group::WorkerId<T>,
|
|
working_group::WorkerId<T>,
|
|
|
|
+ crate::MemberId<T>,
|
|
>;
|
|
>;
|
|
|
|
|
|
/// Proposal details provide voters the information required for the perceived voting.
|
|
/// Proposal details provide voters the information required for the perceived voting.
|
|
@@ -40,6 +41,7 @@ pub enum ProposalDetails<
|
|
ApplicationId,
|
|
ApplicationId,
|
|
StakeBalance,
|
|
StakeBalance,
|
|
WorkerId,
|
|
WorkerId,
|
|
|
|
+ MemberId,
|
|
> {
|
|
> {
|
|
/// The text of the `text` proposal
|
|
/// The text of the `text` proposal
|
|
Text(Vec<u8>),
|
|
Text(Vec<u8>),
|
|
@@ -53,10 +55,20 @@ pub enum ProposalDetails<
|
|
/// Balance and destination account for the `spending` proposal
|
|
/// Balance and destination account for the `spending` proposal
|
|
Spending(MintedBalance, AccountId),
|
|
Spending(MintedBalance, AccountId),
|
|
|
|
|
|
|
|
+ /// ********** Deprecated during the Babylon release.
|
|
|
|
+ /// It is kept only for backward compatibility in the Pioneer. **********
|
|
|
|
+ /// New leader memberId and account_id for the `set lead` proposal
|
|
|
|
+ DeprecatedSetLead(Option<(MemberId, AccountId)>),
|
|
|
|
+
|
|
|
|
+ /// ********** Deprecated during the Babylon release.
|
|
|
|
+ /// It is kept only for backward compatibility in the Pioneer. **********
|
|
|
|
+ /// Balance for the `set content working group mint capacity` proposal
|
|
|
|
+ DeprecatedSetContentWorkingGroupMintCapacity(MintedBalance),
|
|
|
|
+
|
|
/// ********** Deprecated during the Nicaea release.
|
|
/// ********** Deprecated during the Nicaea release.
|
|
/// It is kept only for backward compatibility in the Pioneer. **********
|
|
/// It is kept only for backward compatibility in the Pioneer. **********
|
|
/// AccountId for the `evict storage provider` proposal
|
|
/// AccountId for the `evict storage provider` proposal
|
|
- EvictStorageProvider(AccountId),
|
|
|
|
|
|
+ DeprecatedEvictStorageProvider(AccountId),
|
|
|
|
|
|
/// Validator count for the `set validator count` proposal
|
|
/// Validator count for the `set validator count` proposal
|
|
SetValidatorCount(u32),
|
|
SetValidatorCount(u32),
|
|
@@ -64,7 +76,7 @@ pub enum ProposalDetails<
|
|
/// ********** Deprecated during the Nicaea release.
|
|
/// ********** Deprecated during the Nicaea release.
|
|
/// It is kept only for backward compatibility in the Pioneer. **********
|
|
/// It is kept only for backward compatibility in the Pioneer. **********
|
|
/// Role parameters for the `set storage role parameters` proposal
|
|
/// Role parameters for the `set storage role parameters` proposal
|
|
- SetStorageRoleParameters(RoleParameters<CurrencyBalance, BlockNumber>),
|
|
|
|
|
|
+ DeprecatedSetStorageRoleParameters(RoleParameters<CurrencyBalance, BlockNumber>),
|
|
|
|
|
|
/// Add opening for the working group leader position.
|
|
/// Add opening for the working group leader position.
|
|
AddWorkingGroupLeaderOpening(AddOpeningParameters<BlockNumber, CurrencyBalance>),
|
|
AddWorkingGroupLeaderOpening(AddOpeningParameters<BlockNumber, CurrencyBalance>),
|
|
@@ -102,6 +114,7 @@ impl<
|
|
ApplicationId,
|
|
ApplicationId,
|
|
StakeBalance,
|
|
StakeBalance,
|
|
WorkerId,
|
|
WorkerId,
|
|
|
|
+ MemberId,
|
|
> Default
|
|
> Default
|
|
for ProposalDetails<
|
|
for ProposalDetails<
|
|
MintedBalance,
|
|
MintedBalance,
|
|
@@ -112,6 +125,7 @@ impl<
|
|
ApplicationId,
|
|
ApplicationId,
|
|
StakeBalance,
|
|
StakeBalance,
|
|
WorkerId,
|
|
WorkerId,
|
|
|
|
+ MemberId,
|
|
>
|
|
>
|
|
{
|
|
{
|
|
fn default() -> Self {
|
|
fn default() -> Self {
|