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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.