Fund a new child-bounty with a proposed curator, initiating the payment from the parent
bounty to the child-bounty account/location.
Dispatch Origin
Must be signed by the parent curator.
Details
If curator is not provided, the child-bounty will default to using the parent
curator, allowing the parent curator to immediately call check_status and
award_bounty to payout the child-bounty.
In case of a funding failure, the child-/bounty status must be updated with the
check_status call before retrying with retry_payment call.
Parameters
parent_bounty_id: Index of parent bounty for which child-bounty is being added.
value: The payment amount of this child-bounty.
metadata: The hash of an on-chain stored preimage with child-bounty metadata.
curator: Address of child-bounty curator.
Events
Emits [Event::ChildBountyCreated] and [Event::Paid] if successful.
Fund a new child-bounty with a proposed curator, initiating the payment from the parent bounty to the child-bounty account/location.
Dispatch Origin
Must be signed by the parent curator.
Details
curatoris not provided, the child-bounty will default to using the parent curator, allowing the parent curator to immediately callcheck_statusandaward_bountyto payout the child-bounty.check_statuscall before retrying withretry_paymentcall.Parameters
parent_bounty_id: Index of parent bounty for which child-bounty is being added.value: The payment amount of this child-bounty.metadata: The hash of an on-chain stored preimage with child-bounty metadata.curator: Address of child-bounty curator.Events
Emits [
Event::ChildBountyCreated] and [Event::Paid] if successful.