All chains
    Preparing search index...
    award_bounty: TxDescriptor<
        {
            beneficiary: Enum<
                {
                    V4: {
                        account_id: { interior: XcmV3Junctions; parents: number };
                        location: { interior: XcmV3Junctions; parents: number };
                    };
                    V5: {
                        account_id: { interior: XcmV5Junctions; parents: number };
                        location: { interior: XcmV5Junctions; parents: number };
                    };
                },
            >;
            child_bounty_id?: number;
            parent_bounty_id: number;
        },
    >

    Awards the child-/bounty to a beneficiary account/location, initiating the payout payments to both the beneficiary and the curator.

    This function can only be called by the RejectOrigin or the child-/bounty curator.

    • The child-/bounty must be in the Active state.
    • if awarding a parent bounty it must not have active or funded child bounties.
    • Initiates payout payment from the child-/bounty to the beneficiary account/location.
    • If successful the child-/bounty status is updated to PayoutAttempted.
    • In case of a payout failure, the child-/bounty status must be updated with check_status call before retrying with retry_payment call.
    • parent_bounty_id: Index of parent bounty.
    • child_bounty_id: Index of child-bounty.
    • beneficiary: Account/location to be awarded the child-/bounty.

    Emits [Event::BountyAwarded] and [Event::Paid] if successful.