pub fn update_pot_limits<T: Config>(
pot: T::PotId,
new_fee_quota: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
new_reserve_quota: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
)
Expand description
Update the pot details. Only the sponsor can do this. If the sponsor is lowering their support, it can work only if the corresponding fee or reserve balance has enough available margin. In other words, the sponsor cannot lower the limit for the fee below what users have already taken from the pot. Similarly, the sponsor cannot lower the reserve below what the users have already borrowed.
ยงWarning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_pot_limits
.