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;
}
Expand description

The child bounty manager.

Required Methods§

source

fn child_bounties_count(bounty_id: BountyIndex) -> BountyIndex

Get the active child bounties for a parent bounty.

source

fn children_curator_fees(bounty_id: BountyIndex) -> Balance

Get total curator fees of children-bounty curators.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<Balance: Zero> ChildBountyManager<Balance> for ()

Implementors§