Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Sep 19, 2024
1 parent b33d7d8 commit 369d437
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/parachain-staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub mod pallet {
use crate::{set::BoundedOrderedSet, traits::*, types::*, InflationInfo, Range, WeightInfo};
use crate::{AutoCompoundConfig, AutoCompoundDelegations};
use frame_support::fail;
use frame_support::pallet_prelude::*;
use frame_support::pallet_prelude::{ValueQuery, *};
use frame_support::traits::{
tokens::WithdrawReasons, Currency, Get, Imbalance, LockIdentifier, LockableCurrency,
ReservableCurrency,
Expand Down
7 changes: 7 additions & 0 deletions pallets/parachain-staking/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,13 @@ impl<
}
}

#[derive(Clone, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo)]
pub enum InflationDistributionConfigId {
ParachainBondReserve,
Treasury,
Other([u8; 32]),
}

#[derive(Clone, PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo)]
/// Reserve information { account, percent_of_inflation }
pub struct ParachainBondConfig<AccountId> {
Expand Down

0 comments on commit 369d437

Please sign in to comment.