Function pallet_bounties::pallet::dispatchables::approve_bounty_with_curator
source · pub fn approve_bounty_with_curator<T: Config<I>, I: 'static>(
bounty_id: BountyIndex,
curator: <<T as Config>::Lookup as StaticLookup>::Source,
fee: BalanceOf<T, I>,
)
Expand description
Approve bountry and propose a curator simultaneously.
This call is a shortcut to calling approve_bounty
and propose_curator
separately.
May only be called from T::SpendOrigin
.
bounty_id
: Bounty ID to approve.curator
: The curator account whom will manage this bounty.fee
: The curator fee.
§Complexity
- O(1).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::approve_bounty_with_curator
.