referrerpolicy=no-referrer-when-downgrade

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§

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

Take total curator fees of children-bounty curators.

source

fn bounty_removed(bounty_id: BountyIndex)

Hook called when a parent bounty is removed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

Implementors§