Function pallet_bounties::pallet::dispatchables::close_bounty
source · pub fn close_bounty<T: Config<I>, I: 'static>(bounty_id: BountyIndex)
Expand description
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.
§Complexity
- O(1).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::close_bounty
.