Trait noble_treasury::Config [−][src]
Associated Types
type ModuleId: Get<ModuleId>
[src]
The treasury’s module id, used for deriving its sovereign account ID.
type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>
[src]
The staking balance.
type ApproveOrigin: EnsureOrigin<Self::Origin>
[src]
Origin from which approvals must come.
type RejectOrigin: EnsureOrigin<Self::Origin>
[src]
Origin from which rejections must come.
type Event: From<Event<Self, I>> + Into<Self::Event>
[src]
The overarching event type.
type OnSlash: OnUnbalanced<NegativeImbalanceOf<Self, I>>
[src]
Handler for the unbalanced decrease when slashing for a rejected proposal or bounty.
type ProposalBond: Get<Permill>
[src]
Fraction of a proposal’s value that should be bonded in order to place the proposal. An accepted proposal gets these back. A rejected proposal does not.
type ProposalBondMinimum: Get<BalanceOf<Self, I>>
[src]
Minimum amount of funds that should be placed in a deposit for making a proposal.
type SpendPeriod: Get<Self::BlockNumber>
[src]
Period between successive spends.
type Burn: Get<Permill>
[src]
Percentage of spare funds (if any) that are burnt per spend period.
type BurnDestination: OnUnbalanced<NegativeImbalanceOf<Self, I>>
[src]
Handler for the unbalanced decrease when treasury funds are burned.
type WeightInfo: WeightInfo
[src]
Weight information for extrinsics in this noble.
type SpendFunds: SpendFunds<Self, I>
[src]
Runtime hooks to external noble using treasury to compute spend funds.