pub fn reclaim_bounty_funds<T: Config<I>, I: 'static>(bounty_id: BountyIndex)Expand description
Reclaim funds stranded in a closed bounty’s account back to the treasury.
Permissionless. Moves all remaining assets from a closed bounty’s account back to the
treasury in a single call. Which assets are swept depends on the TransferAllAssets
configuration.
The call is free if funds were reclaimed and paid otherwise, so no-op calls cannot be
used to grief the network. Emits BountyFundsReclaimed on success.
§Complexity
- O(A) where A is the number of relevant assets configured in
TransferAllAssets.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::reclaim_bounty_funds.