Trait pallet_local_treasury::pallet::Config [−][src]
pub trait Config: Config {
type AdminOrigin: EnsureOrigin<Self::Origin>;
type PalletId: Get<PalletId>;
type Currency: Currency<Self::AccountId>;
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type WeightInfo: WeightInfo;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
type AdminOrigin: EnsureOrigin<Self::Origin>
type AdminOrigin: EnsureOrigin<Self::Origin>
Origin that is allowed to manage the treasury balance and initiate withdrawals
PalletId used to generate the AccountId
which holds the balance of the
treasury.
The pallet to use as the base currency for this treasury
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
The weight for this pallet’s extrinsics.