All chains
    Preparing search index...
    check_status: TxDescriptor<
        { child_bounty_id?: number; parent_bounty_id: number },
    >

    Check and update the payment status of a child-/bounty.

    Must be signed.

    • If the child-/bounty status is FundingAttempted, it checks if the funding payment has succeeded. If successful, the bounty status becomes Funded.
    • If the child-/bounty status is RefundAttempted, it checks if the refund payment has succeeded. If successful, the child-/bounty is removed from storage.
    • If the child-/bounty status is PayoutAttempted, it checks if the payout payment has succeeded. If successful, the child-/bounty is removed from storage.
    • parent_bounty_id: Index of parent bounty.
    • child_bounty_id: Index of child-bounty.

    Emits [Event::BountyBecameActive] if the child/bounty status transitions to Active. Emits [Event::BountyRefundProcessed] if the refund payment has succeed. Emits [Event::BountyPayoutProcessed] if the payout payment has succeed. Emits [Event::PaymentFailed] if the funding, refund our payment payment has failed.