close_bounty: TxDescriptor<{
    bounty_id: number;
}>

Cancel a proposed or active bounty. All the funds will be sent to treasury and the curator deposit will be unreserved if possible.

Only T::RejectOrigin is able to cancel a bounty.

  • bounty_id: Bounty ID to cancel.
  • O(1).