pub fn accept_curator<T: Config>(
    parent_bounty_id: BountyIndex,
    child_bounty_id: BountyIndex
)
Expand description

Accept the curator role for the child-bounty.

The dispatch origin for this call must be the curator of this child-bounty.

A deposit will be reserved from the curator and refund upon successful payout or cancellation.

Fee for curator is deducted from curator fee of parent bounty.

Parent bounty must be in active state, for this child-bounty call to work.

Child-bounty must be in “CuratorProposed” state, for processing the call. And state of child-bounty is moved to “Active” on successful call completion.

  • parent_bounty_id: Index of parent bounty.
  • child_bounty_id: Index of child bounty.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::accept_curator.