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.
RejectOrigin
Active
PayoutAttempted
check_status
retry_payment
parent_bounty_id
child_bounty_id
beneficiary
Emits [Event::BountyAwarded] and [Event::Paid] if successful.
Event::BountyAwarded
Event::Paid
Awards the child-/bounty to a beneficiary account/location, initiating the payout payments to both the beneficiary and the curator.
Dispatch Origin
This function can only be called by the
RejectOriginor the child-/bounty curator.Details
Activestate.PayoutAttempted.check_statuscall before retrying withretry_paymentcall.Parameters
parent_bounty_id: Index of parent bounty.child_bounty_id: Index of child-bounty.beneficiary: Account/location to be awarded the child-/bounty.Events
Emits [
Event::BountyAwarded] and [Event::Paid] if successful.