Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
fix
Signed-off-by: koushiro <[email protected]>
  • Loading branch information
koushiro committed Jun 24, 2021
commit 6a8b7c50fadfc5567ebda9ed8bec9ec005ae1678
10 changes: 5 additions & 5 deletions frame/treasury/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ pub mod pallet {

#[pallet::config]
pub trait Config<I: 'static = ()>: frame_system::Config {
/// The treasury's pallet id, used for deriving its sovereign account ID.
#[pallet::constant]
type PalletId: Get<PalletId>;

/// The staking balance.
type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>;

Expand Down Expand Up @@ -172,10 +168,14 @@ pub mod pallet {
#[pallet::constant]
type SpendPeriod: Get<Self::BlockNumber>;

/// Percentage of spare funds (if any) that are burnt per spend period.
/// Percentage of spare funds (if any) that are burnt per spend period.
#[pallet::constant]
type Burn: Get<Permill>;

/// The treasury's module id, used for deriving its sovereign account ID.
#[pallet::constant]
type PalletId: Get<PalletId>;

/// Handler for the unbalanced decrease when treasury funds are burned.
type BurnDestination: OnUnbalanced<NegativeImbalanceOf<Self, I>>;

Expand Down