//! [polkadot]: https://img.shields.io/badge/polkadot-E6007A?style=for-the-badge&logo=polkadot&logoColor=white
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
//! The Treasury pallet provides a "pot" of funds that can be managed by stakeholders in the system
//! propose and claim expenditures (aka spends). The chain will need to provide a method to approve
//! [`pallet::Config::SpendPeriod`]. On the other hand, the `spend` dispatchable allows spending of
//! [`pallet::Config::Paymaster`]. To claim these spends, the `payout` dispatchable should be called
/// * `budget_remaining`: How much available funds that can be spent by the treasury. As funds are
/// * `imbalance`: Any imbalances that you create should be subsumed in here to maximize efficiency
/// * `total_weight`: Track any weight that your `spend_fund` implementation uses by updating this
/// * `missed_any`: If there were items that you want to spend on, but there were not enough funds,
"`ProposalCount` should by strictly greater than any ProposalIndex used as a key for `Proposals`."