referrerpolicy=no-referrer-when-downgrade
pallet_bounties

Trait 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.

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.

Implementations on Foreign Types§

Source§

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

Implementors§