Trait pallet_bounties::ChildBountyManager
source · pub trait ChildBountyManager<Balance> {
// Required methods
fn child_bounties_count(bounty_id: BountyIndex) -> BountyIndex;
fn children_curator_fees(bounty_id: BountyIndex) -> Balance;
fn bounty_removed(bounty_id: BountyIndex);
}
Expand description
The child bounty manager.
Required Methods§
sourcefn child_bounties_count(bounty_id: BountyIndex) -> BountyIndex
fn child_bounties_count(bounty_id: BountyIndex) -> BountyIndex
Get the active child bounties for a parent bounty.
sourcefn children_curator_fees(bounty_id: BountyIndex) -> Balance
fn children_curator_fees(bounty_id: BountyIndex) -> Balance
Take total curator fees of children-bounty curators.
sourcefn bounty_removed(bounty_id: BountyIndex)
fn bounty_removed(bounty_id: BountyIndex)
Hook called when a parent bounty is removed.
Object Safety§
This trait is not object safe.