pub fn create_pot<T: Config>(
pot: T::PotId,
sponsorship_type: T::SponsorshipType,
fee_quota: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
reserve_quota: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
)
Expand description
Create a new sponsorship pot and set its limits. The pot id shouldn’t be in use.
Emits PotCreated(pot)
event when successful.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_pot
.