Trait pallet_bounties::pallet::Config [−][src]
pub trait Config: Config + Config {
type BountyDepositBase: Get<BalanceOf<Self>>;
type BountyDepositPayoutDelay: Get<Self::BlockNumber>;
type BountyUpdatePeriod: Get<Self::BlockNumber>;
type BountyCuratorDeposit: Get<Permill>;
type BountyValueMinimum: Get<BalanceOf<Self>>;
type DataDepositPerByte: Get<BalanceOf<Self>>;
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type MaximumReasonLength: Get<u32>;
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 BountyDepositBase: Get<BalanceOf<Self>>
type BountyDepositBase: Get<BalanceOf<Self>>
The amount held on deposit for placing a bounty proposal.
type BountyDepositPayoutDelay: Get<Self::BlockNumber>
type BountyDepositPayoutDelay: Get<Self::BlockNumber>
The delay period for which a bounty beneficiary need to wait before claim the payout.
type BountyUpdatePeriod: Get<Self::BlockNumber>
type BountyUpdatePeriod: Get<Self::BlockNumber>
Bounty duration in blocks.
type BountyCuratorDeposit: Get<Permill>
type BountyCuratorDeposit: Get<Permill>
Percentage of the curator fee that will be reserved upfront as deposit for bounty curator.
type BountyValueMinimum: Get<BalanceOf<Self>>
type BountyValueMinimum: Get<BalanceOf<Self>>
Minimum value for a bounty.
type DataDepositPerByte: Get<BalanceOf<Self>>
type DataDepositPerByte: Get<BalanceOf<Self>>
The amount held on deposit per byte within the tip report reason or bounty description.
type MaximumReasonLength: Get<u32>
type MaximumReasonLength: Get<u32>
Maximum acceptable reason length.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.